Lecture 14 Simplex, Hyper-Cube, Convex Hull and their Volumes

Slides:



Advertisements
Similar presentations
Applied Informatics Štefan BEREŽNÝ
Advertisements

Chapter 6 Eigenvalues and Eigenvectors
ENGG2013 Unit 15 Rank, determinant, dimension, and the links between them Mar, 2011.
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Lecture 6 Matrix Operations and Gaussian Elimination for Solving Linear Systems Shang-Hua Teng.
3_3 An Useful Overview of Matrix Algebra
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
Maths for Computer Graphics
Linear Systems of Equations Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
Lecture 6 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Chapter 2 Basic Linear Algebra
Lecture 9 Symmetric Matrices Subspaces and Nullspaces Shang-Hua Teng.
Lecture 15 Recursive and Iterative Formula for Determinants Shang-Hua Teng.
Matrix Operations. Matrix Notation Example Equality of Matrices.
Linear Algebra---Meiling CHEN
Lecture # 9 Matrix Representation of Symmetry Groups
CS232.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Lecture 13 Operations in Graphics and Geometric Modeling I: Projection, Rotation, and Reflection Shang-Hua Teng.
Lecture 20 SVD and Its Applications Shang-Hua Teng.
Lecture 7 Hyper-planes, Matrices, and Linear Systems Shang-Hua Teng.
Lecture 10 Dimensions, Independence, Basis and Complete Solution of Linear Systems Shang-Hua Teng.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices
Matrices and Determinants
Intro to Matrices Don’t be scared….
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
ECON 1150 Matrix Operations Special Matrices
Recap of linear algebra: vectors, matrices, transformations, … Background knowledge for 3DM Marc van Kreveld.
Solving Systems of Equations and Inequalities Section 3.1A-B Two variable linear equations Section 3.1C Matrices Resolution of linear systems Section 3.1D.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
MA2213 Lecture 5 Linear Equations (Direct Solvers)
Matrix Algebra. Quick Review Quick Review Solutions.
CALCULUS – II Inverse Matrix by Dr. Eman Saad & Dr. Shorouk Ossama.
Chapter Content Real Vector Spaces Subspaces Linear Independence
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
CHAPTER 2 MATRICES 2.1 Operations with Matrices Matrix
Lecture 8 Matrix Inverse and LU Decomposition
MAT211 Lecture 17 Determinants.. Recall that a 2 x 2 matrix A is invertible If and only if a.d-b.c ≠ 0. The number a.d-b.c is the the determinant of A.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
2.5 – Determinants and Multiplicative Inverses of Matrices.
3.6 Multiplying Matrices Homework 3-17odd and odd.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
Matrices.
MTH108 Business Math I Lecture 20.
Determinants 林育崧 蘇育劭.
Matrices and Vector Concepts
Linear Algebra review (optional)
Linear Algebra Lecture 2.
Lecture 2 Matrices Lat Time - Course Overview
Elementary Linear Algebra Anton & Rorres, 9th Edition
What we’re learning today:
Matrix Operations Add and Subtract Matrices Multiply Matrices
CSC461: Lecture 12 Geometry Objectives
1.3 Vector Equations.
Objectives Multiply two matrices.
Linear Algebra Lecture 18.
Mathematics for Signals and Systems
Maths for Signals and Systems Linear Algebra in Engineering Lectures 9, Friday 28th October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Basics of Linear Algebra
3.5 Perform Basic Matrix Operations
3.6 Multiply Matrices.
Lecture 8 Matrix Inverse and LU Decomposition
Lecture 9 Symmetric Matrices Subspaces and Nullspaces
Presentation transcript:

Lecture 14 Simplex, Hyper-Cube, Convex Hull and their Volumes Shang-Hua Teng

Linear Combination and Subspaces in m-D Linear combination of v1 (line) {c v1 : c is a real number} Linear combination of v1 and v2 (plane) {c1 v1 + c2 v2 : c1 ,c2 are real numbers} Linear combination of n vectors v1 , v2 ,…, vn (n Space) {c1v1 +c2v2+…+ cnvn : c1,c2 ,…,cn are real numbers} Span(v1 , v2 ,…, vn)

Affine Combination in m-D

Convex Combination in m-D p1 y p2 p3

Simplex n dimensional simplex in m dimensions (n < m) is the set of all convex combinations of n + 1 affinely independent vectors

Parallelogram

Parallelogram

Hypercube (1,1,1) (0,1) (0,0,1) (1,0,0) (1,0) n-cube

Pseudo-Hypercube or Pseudo-Box n-Pseudo-Hypercube For any n affinely independent vectors

Convex Set

Non Convex Set

Convex Set A set is convex if the line-segment between any two points in the set is also in the set

Non Convex Set A set is not convex if there exists a pair of points whose line segment is not completely in the set

Convex Hull Smallest convex set that contains all points

Convex Hull

Volume of Pseudo-Hypercube n-Pseudo-Hypercube For any n affinely independent vectors

Properties of Volume of n-D Pseudo-Hypercube in n-D

Signed Area and Volume volume( cube(p1,p2) ) = - volume( cube(p2,p1) ) (0,0) p1 volume( cube(p1,p2) ) = - volume( cube(p2,p1) )

Rule of Signed Volume n-D Pseudo-Hypercube in n-D

Determinant of Square Matrix How to compute determinant or the volume of pseudo-cube?

Determinant in 2D Why? p2 =[b,d]T (0,0) p1 =[a,c]T Invertible if and only if the determinant is not zero if and only if the two columns are not linearly dependent

Determinant of Square Matrix How to compute determinant or the volume of pseudo-cube?

Properties of Determinant det I = 1 The determinant changes sign when sign when two rows are changed (sign reversal) Determinant of permutation matrices are 1 or -1 The determinant is a linear function of each row separately det [a1 , …,tai ,…, an] = t det [a1 , …,ai ,…, an] det [a1 , …, ai + bi ,…, an] = det [a1 , …,ai ,…, an] + det [a1 , …, bi ,…, an] [Show the 2D geometric argument on the board]

Properties of Determinant and Algorithm for Computing it [4] If two rows of A are equal, then det A = 0 Proof: det […, ai ,…, aj …] = - det […, aj ,…, ai …] If ai = aj then det […, ai ,…, aj …] = -det […, ai ,…, aj …]

Properties of Determinant and Algorithm for Computing it [5] Subtracting a multiple of one row from another row leaves det A unchanged det […, ai ,…, aj - t ai …] = det […, ai ,…, aj …] + det […, ai ,…, - t ai …] One can compute determinant by elimination PA = LU then det A = det U

Properties of Determinant and Algorithm for Computing it [6] A matrix with a row of zeros has det A = 0 [7] If A is triangular, then det [A] = a11 a22 … ann The determinant can be computed in O(n3) time

Determinant and Inverse [8] If A is singular then det A = 0. If A is invertible, then det A is not 0

Determinant and Matrix Product [9] det AB = det A det B (|AB| = |A| |B|) Proof: consider D(A) = |AB| / |B| (Determinant of I) A = I, then D(A) = 1. (Sign Reversal): When two rows of A are exchanged, so are the same two rows of AB. Therefore |AB| only changes sign, so is D(A) (Linearity) when row 1 of A is multiplied by t, so is row 1 of AB. This multiplies |AB| by t and multiplies the ratio by t – as desired.