math 211 math 211
play

Math 211 Math 211 Lecture #19 Nullspaces and Subspaces October 9, - PDF document

1 Math 211 Math 211 Lecture #19 Nullspaces and Subspaces October 9, 2002 2 Homogeneous Systems Homogeneous Systems A homogeneous system has the form A x = 0 . The augmented matrix M = [ A, 0 ] has all zeros in the last column.


  1. 1 Math 211 Math 211 Lecture #19 Nullspaces and Subspaces October 9, 2002 2 Homogeneous Systems Homogeneous Systems A homogeneous system has the form A x = 0 . • The augmented matrix M = [ A, 0 ] has all zeros in the last column. • During elimination the column of zeros is unchanged. � It is not really necessary to augment a homogeneous system. • A homogeneous system is always consistent. � The zero vector 0 is always a solution. Return Solution method 3 Homogeneous Systems (cont.) Homogeneous Systems (cont.) • When does a homogeneous system have a nonzero solution? � A homogeneous system A x = 0 has a nonzero solution if and only if the row echelon form of A has a free column. • A homogeneous system of n equations and m unknowns with n < m always has a nonzero solution. Return 1 John C. Polking

  2. 4 Example 1 Example 1 1 0 3   A = 2 − 1 4   1 1 5 • The solution set to A x = 0 is x = t ( − 3 , − 2 , 1) T for −∞ < t < ∞ . � There are nonzero solutions because the reduced echelon form of A has a free column. • The system A x = (1 , 1 , 0) T has no solutions. � The reduced echelon form of M = [ A, b ] has a pivot in the last column. Return 5 Example 2 Example 2 1 0 3   B = 2 − 1 4   1 1 4 • The reduced echelon form of B has no free columns. • The solution set for the homogeneous system B x = 0 has no nonzero solutions. • The inhomogeneous system B x = b has a unique solution for any vector b . Return Example 1 6 Square Homogenous Systems Square Homogenous Systems Suppose that A is a square ( n × n ) matrix. • If the homogeneous system A x = 0 has a nonzero solution then there are vectors b for which the system A x = b has no solutions. • If the homogeneous system A x = 0 has no nonzero solutions then the system A x = b has a unique solution for every vector b . Return Example 1 Example 2 2 John C. Polking

  3. 7 Singular and Nonsingular Matrices Singular and Nonsingular Matrices The n × n matrix A is nonsingular if the equation A x = b has a solution for any choice of right hand side b . The n × n matrix A is nonsingular if and Proposition: only if the row echelon form of A has only nonzero entries along the diagonal. • A is nonsingular ⇔ the reduced row echelon form of A is the identity matrix I . Return Example 1 Example 2 8 Properties of Singular and Nonsingular Properties of Singular and Nonsingular Matrices Matrices Proposition: If the n × n matrix A is nonsingular then the equation A x = b has a unique solution for any right hand side b . The n × n matrix A is singular if and only Proposition: if the homogeneous equation A x = 0 has a non-zero solution. • This is a result that we will use repeatedly. Return Example 1 Example 2 9 Invertible Matrices Invertible Matrices An n × n matrix A is invertible if there is an n × n matrix B such that AB = BA = I . The matrix B is called an inverse of A . • If B 1 and B 2 are both inverses of A , then B 1 = B 2 . • The inverse of A is denoted by A − 1 . • Invertible ⇒ nonsingular. • Nonsingular ⇒ invertible. Return 3 John C. Polking

  4. 10 Computing the inverse A − 1 Computing the inverse A − 1 • Form the matrix [ A, I ] . • Do elimination until the matrix is in reduced row echelon form. � If A is invertible this will have the form [ I, B ] . • Then A − 1 = B . � 1 1 0 3 � a   2 � b � • Examples: , , B = 2 − 1 4   2 3 c d 1 1 4 • In M ATLAB use inv. 11 The Solution Set of A x = b The Solution Set of A x = b • Example: The matrix A from Example 1 with b = (7 , 13 , 8) T . x = (7 , 1 , 0) T + t ( − 3 , − 2 , 1) T . Theorem: Let x p be a particular solution to A x p = b . 1. If A x h = 0 then x = x p + x h also satisfies A x = b . 2. If A x = b , then there is a vector x h such that A x h = 0 and x = x p + x h . • Thus, the solution set for A x = b is known if we know one particular solution x p and the solution set for the homogeneous system A x h = 0 . Return 12 Solution Set of a Homogeneous System Solution Set of a Homogeneous System • The solution set for the homogeneous system A x = 0 is called the nullspace of the matrix A . It is denoted by null( A ) . Thus null( A ) = { x | A x = 0 } . • What are the properties of nullspaces? • Is there a convenient way to describe them? Return Solution set 4 John C. Polking

  5. 13 Properties of Nullspaces Properties of Nullspaces Proposition: Let A be a matrix. 1. If x and y are in null( A ) , then x + y is in null( A ) . 2. If a is a scalar and x is in null( A ) , then a x is in null( A ) . A nonempty subset V of R n that has the Definition: properties 1. if x and y are vectors in V , x + y is in V , 2. if a is a scalar, and x is in V , then a x is in V , is called a subspace of R n . Return 14 Examples of Subspaces Examples of Subspaces • The nullspace of a matrix is a subspace. • A line through 0 , V = { t v | t ∈ R } , is a subspace. • A plane through 0 , V = { a v + b w | a, b ∈ R } , is a subspace. • { 0 } and R n are subspaces of R n . � These are called the trivial subspaces. Return 15 Linear Combinations Linear Combinations Proposition: Any linear combination of vectors in a subspace V is also in V . • Subspaces of R n have the same linear structure as R n itself. • The nullspace of a matrix is a subspace, so it has the same linear structure as R n . Return 5 John C. Polking

  6. 16 Example Example  4 3 − 1  A = − 3 − 2 1   1 2 1 The nullspace of A is the set null( A ) = { a v | a ∈ R } , where v = (1 , − 1 , 1) T . Return 17 Example Example 4 3 − 1 6   B = − 3 − 2 1 − 4   1 2 1 4 The nullspace of B is the set null( B ) = { a v + b w | a, b ∈ R } , where v = (1 , − 1 , 1 , 0) T and w = (0 , − 2 , 0 , 1) T . • null( B ) consists of all linear combinations of v and w . Return Previous example 18 The Span of a Set of Vectors The Span of a Set of Vectors In every example the subspace has been the set of all linear combinations of a few vectors. Definition: The span of a set of vectors is the set of all linear combinations of those vectors. The span of the vectors v 1 , v 2 , . . . , and v k is denoted by span( v 1 , v 2 , . . . , v k ) . If v 1 , v 2 , . . . , and v k are all vectors in Proposition: R n , then V = span( v 1 , v 2 , . . . , v k ) is a subspace of R n . Return null( A ) null( B ) Examples 6 John C. Polking

  7. 19 How do we know if w is in How do we know if w is in span( v 1 , v 2 , . . . , v k ) ? span( v 1 , v 2 , . . . , v k ) ? 1. Form the matrix V = [ v 1 , v 2 , · · · . v k ] which has the vectors v 1 , v 2 , . . . , and v k as its columns. 2. Solve the system V a = w . a. If there are no solutions, w is NOT in span( v 1 , v 2 , . . . , v k ) ? If there is a solution a = ( a 1 , a 2 , · · · , a k ) T , then b. w = a 1 v 1 + a 2 v 2 + . . . + a k v k . Return Span 20 Examples Examples Let v 1 = (1 , 2) T , v 2 = (1 , 0) T , and v 3 = (2 , 0) T . • span( v 1 , v 2 ) = R 2 . (Proof?) • span( v 1 , v 3 ) = R 2 . (Proof?) • span( v 2 , v 3 ) = span( v 2 ) . (Proof?) � span( v 2 , v 3 ) = { t v 2 | t ∈ R } . � v 2 and v 3 have the same direction. Return Span 21 Row operations Row operations The permissable operations on the rows of the augmented matrix are called row operations . • Add a multiple of one row to another. • Interchange two rows. • Multiply a row by a non-zero number. Return 7 John C. Polking

  8. 22 Row Echelon Form Row Echelon Form A matrix is in row echelon form if every pivot lies strictly to the right of those in rows above. P ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗   0 P ∗ ∗ ∗ ∗ ∗ ∗ ∗     0 0 0 P ∗ ∗ ∗ ∗ ∗     0 0 0 0 P ∗ ∗ ∗ ∗       0 0 0 0 0 0 P ∗ ∗     0 0 0 0 0 0 0 P ∗   0 0 0 0 0 0 0 0 0 • P is a pivot, ∗ is any number. Return 23 Method of Solution for A x = b Method of Solution for A x = b The method is called elimination and backsolving , or Gaussian elimination. There are four steps: 1. Use the augmented matrix M = [ A, b ] . 2. Use row operations to reduce the augmented matrix to row echelon form. 3. Write down the simplified system. 4. Backsolve. � Assign arbitrary values to the free variables. � Backsolve for the pivot variables. Return 8 John C. Polking

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend