251 likes | 622 Views
Lecture 9 Symmetric Matrices Subspaces and Nullspaces. Shang-Hua Teng. Matrix Transpose. Addition: A+B Multiplication: AB Inverse: A -1 Transpose : A -T. Transpose. Inner Product and Outer Product. Properties of Transpose. End of Page 109: for a transparent proof. 0. R. r.
E N D
Lecture 9Symmetric MatricesSubspaces and Nullspaces Shang-Hua Teng
Matrix Transpose • Addition: A+B • Multiplication: AB • Inverse: A-1 • Transpose : A-T
Properties of Transpose End of Page 109: for a transparent proof
0 R r Ellipses and Ellipsoids
0 r R Later Relating to
Symmetric Matrix • Symmetric Matrix: A= AT Graph of who is friend with whom and its matrix 1;John 2:Alice 4:Anu 3:Feng
Symmetric Matrix B is an m by n matrix
Elimination on Symmetric Matrices • If A = AT can be factored into LDU with no row exchange, then U = LT. In other words The symmetric factorization of a symmetric matrix is A = LDLT
So we know Everything about Solving a Linear System • Not quite but Almost • Need to deal with degeneracy (e.g., when A is singular) • Let us examine a bigger issues: Vector Spaces and Subspaces
What Vector Spaces Do We Know So Far • Rn: the space consists of all column (row) vectors with n components
Vector Spaces Defined by a Matrix For any m by n matrix A • Column Space: • Null Space:
General Linear System The system Ax =b is solvable if and only if b is in C(A)
Subspaces • A subspace of a vector space is a set of vectors (including 0) that satisfies two requirements: if v and w are vectors in the subspace and c is any scalar, then • v+w is in the subspace • cv is in the subspace
Subspace of R3 • (Z): {(0,0,0)} • (L): any line through (0,0,0) • (P): any plane through (0,0,0) • (R3) the whole space A subspace containing v and w must contain all linear combination cv+dw.
Subspace of Rn • (Z): {(0,0,…,0)} • (L): any line through (0,0,…,0) • (P): any plane through (0,0,…,0) • … • (k-subspace): linear combination of any k independent vectors • (Rn) the whole space
Express Null Space by Linear Combination • A = [1 1 –2]: x + y -2z = 0 x = -y +2z Pivot variable Free variables • Set free variables to typical values (1,0),(0,1) • Solve for pivot variable: (-1,1,0),(2,0,1) {a(-1,1,0)+b(2,0,1)}
Express Null Space by Linear Combination Guassian Elimination for finding the linear combination: find an elimination matrix E such that pivot EA = free
Theorem If Ax = 0 has more have more unknown than equations (m > n: more columns than rows), then it has nonzero solutions. There must be free variables.
Echelon Matrices Free variables