SlideShare a Scribd company logo
Announcements




     Quiz 2 after lecture.
     Test 1 will be on Feb 1, Monday in class on sections 1.1-1.5,
     1.7-1.8, 2.1-2.3 and 2.8-2.9
     Sample Exam 1 will be on the website by Thursday evening
     Review for Exam 1 after tomorrow's lecture
     I will be in oce all day friday. Feel free to stop by any time if
     you have questions.
Tips for Exam




      Do your homework problems including T/F questions (Check
      whether you have the latest homework set, I did some
      trimming)
      Do the examples we did in class
      Planning to have problems worth 20 points from chapter 1 and
      80 points from chapter 2.
      Do the sample exam yourself with a 50 min time limit. I will
      post the solutions only by Saturday noon so that you will do it
      yourself rst.
      Not an exam with lots of tedious calculations.
Section 2.8 Subspaces of       Rn



   Consider any set of vectors H in Rn . This set can be called a
   subspace of Rn if it satises the following properties.
Section 2.8 Subspaces of       Rn



   Consider any set of vectors H in Rn . This set can be called a
   subspace of Rn if it satises the following properties.
     1. The zero vector 0 should be in H .
Section 2.8 Subspaces of      Rn



   Consider any set of vectors H in Rn . This set can be called a
   subspace of Rn if it satises the following properties.
     1. The zero vector 0 should be in H .
     2. H must be closed under addition. This means, if u and v are 2
        vectors in H , then their sum u + v must be in H .
Section 2.8 Subspaces of       Rn



   Consider any set of vectors H in Rn . This set can be called a
   subspace of Rn if it satises the following properties.
     1. The zero vector 0 should be in H .
     2. H must be closed under addition. This means, if u and v are 2
        vectors in H , then their sum u + v must be in H .
     3. H must be closed under scalar multiplication. This means, if u
        is a vector in H and c is any scalar, the product c u must be in
        H.
Important Example of Subspace




   Consider 2 vectors u and v in Rn . Let H be the set of all linear
   combinations (or span) of u and v.
     1. The vector 0u + 0v is a linear combination of u and v. So the
        zero vector is in H .
Important Example of Subspace




   Consider 2 vectors u and v in Rn . Let H be the set of all linear
   combinations (or span) of u and v.
     1. The vector 0u + 0v is a linear combination of u and v. So the
        zero vector is in H .
     2. Consider 2 dierent linear combinations of u and v.
        For example, c1 u + c2 v and c3 u + c4 v.
Important Example of Subspace




   Consider 2 vectors u and v in Rn . Let H be the set of all linear
   combinations (or span) of u and v.
     1. The vector 0u + 0v is a linear combination of u and v. So the
        zero vector is in H .
     2. Consider 2 dierent linear combinations of u and v.
        For example, c1 u + c2 v and c3 u + c4 v.
        Their sum will be c1 u + c2 v + c3 u + c4 v = (c1 + c3 )u + (c2 + c4 )v.
        This is again a linear combination of u and v which means the
        sum belongs to H .
Important Example of Subspace




   Consider 2 vectors u and v in Rn . Let H be the set of all linear
   combinations (or span) of u and v.
     1. The vector 0u + 0v is a linear combination of u and v. So the
        zero vector is in H .
     2. Consider 2 dierent linear combinations of u and v.
        For example, c1 u + c2 v and c3 u + c4 v.
        Their sum will be c1 u + c2 v + c3 u + c4 v = (c1 + c3 )u + (c2 + c4 )v.
        This is again a linear combination of u and v which means the
        sum belongs to H .
     3. Also consider r (c1 u + c2 v) = (rc1 )u + (rc2 )v. The scalar product
        of a linear combination is also a linear combination.
   Thus H =Span{u, v} is a subspace of Rn .
Column Space of a Matrix




   The column space of a matrix A is the set of all linear
   combinations of the columns of A. It is denoted by Col A.

   Checking whether a vector b is in Col A for any matrix A is same
   as
Column Space of a Matrix




   The column space of a matrix A is the set of all linear
   combinations of the columns of A. It is denoted by Col A.

   Checking whether a vector b is in Col A for any matrix A is same
   as
     1. Checking whether b is a linear combination of the columns of
        A which is same as
Column Space of a Matrix




   The column space of a matrix A is the set of all linear
   combinations of the columns of A. It is denoted by Col A.

   Checking whether a vector b is in Col A for any matrix A is same
   as
     1. Checking whether b is a linear combination of the columns of
        A which is same as
     2. Checking whether the system Ax = b is consistent (one or
        many solutions)
Example 8, section 2.8



            −3          −2           0            1
                                             

   Letv1 =  0 , v2 =  2 , v3 = −6and p =  14 .
           6            3          3             −9
   How many vectors are in Col A? Determine if p is in Col A where
   A = v1 v2 v3 .
Example 8, section 2.8



            −3          −2           0            1
                                             

   Letv1 =  0 , v2 =  2 , v3 = −6and p =  14 .
           6            3          3             −9
   How many vectors are in Col A? Determine if p is in Col A where
   A = v1 v2 v3 .
   Solution: Remember Col A is the set of all possible linear
   combinations of the columns of A. So there are innitely many
   vectors in it.
Example 8, section 2.8



             −3          −2           0           1
                                               

   Let v1 =  0 , v2 =  2 , v3 = −6
                                       and p =  14 .
           6            3          3             −9
   How many vectors are in Col A? Determine if p is in Col A where
   A = v1 v2 v3 .
   Solution: Remember Col A is the set of all possible linear
   combinations of the columns of A. So there are innitely many
   vectors in it.
   To determine if p is in Col A, write the augmented matrix and
   check the consistency. This also determines whether p is in the
   subspace of R3 generated (spanned) by v1 , v2 and v3 . (See
   Problem 5 in your homework)
Example 8, section 2.8



   Solution: Start with the augmented matrix
                                           
                       −3 −2 0        1    
                                           
                                           
                       0  2 −6        14
                                           
                                            
                                           
                                           
                         6    3   3    −9
                                           

   Divide R2 by 2 andalso                  
                      −3 −2 0         1    
                                           
                                           
                      0  2 −6         14       R3+2R1
                                           
                                            
                                           
                                           
                          6   3   3   −9
                                           
Example 8, section 2.8



                                        
                   −3 −2 0  1           
                                        
                                        
                   0  1 −3 7
                                        
                                         
                                             R3+R2
                                        
                                        
                     0 −1 3 −7
                                        



                          −3 −2   0 1
                                        
                         0   1   −3 7   
                          0   0    0 0
Example 8, section 2.8



                                            
                       −3 −2 0  1           
                                            
                                            
                       0  1 −3 7
                                            
                                             
                                                    R3+R2
                                            
                                            
                         0 −1 3 −7
                                            



                              −3 −2   0 1
                                             
                             0   1   −3 7    
                              0   0    0 0
   The system is consistent and so p is in Col A.
Null Space of a Matrix




   The null space of a matrix A is the set of all solutions of the
   homogeneous equation Ax = 0. It is denoted by Nul A.

   Finding the vectors in Nul A is same as
     1. Solving Ax = 0 which means
Null Space of a Matrix




   The null space of a matrix A is the set of all solutions of the
   homogeneous equation Ax = 0. It is denoted by Nul A.

   Finding the vectors in Nul A is same as
     1. Solving Ax = 0 which means
     2. Finding the basic variables and free variables, then
Null Space of a Matrix




   The null space of a matrix A is the set of all solutions of the
   homogeneous equation Ax = 0. It is denoted by Nul A.

   Finding the vectors in Nul A is same as
     1. Solving Ax = 0 which means
     2. Finding the basic variables and free variables, then
     3. Expressing the basic in terms of free variables, then
Null Space of a Matrix




   The null space of a matrix A is the set of all solutions of the
   homogeneous equation Ax = 0. It is denoted by Nul A.

   Finding the vectors in Nul A is same as
     1. Solving Ax = 0 which means
     2. Finding the basic variables and free variables, then
     3. Expressing the basic in terms of free variables, then
     4. Writing the solution in the vector form.
Basis




   Denition
   A basis of any subspace H of Rn is a
    1. linearly independent set in H
Basis




   Denition
   A basis of any subspace H of Rn is a
    1. linearly independent set in H
    2. that spans H
Simplest Example




   Example
                               1     0
   Consider the vectors e1 =     ,e = .
                               0 2 1
                                                         1 0
   These vectors are linearly independent because I2 =       has 2
                                                         0 1
   pivot columns (no free variables).
   Consider any point in R2 , say (3,2). We can write
    3      1      0
      =3      +2
    2      0      1
   We have a linear combination (span) of the given vectors.
   This is true for ANY point (vector) in R2 .
Simplest Example




                       1             0
   The vectors e1 =       and e2 =      are called the Standard Basis
                       0             1
   Vectors of R2   In general, the vectors


         1         0                 0
                               
        0       1               0
                                 
   e1 = 0, e2 = 0, . . . , en = 0 forms the standard basis for Rn .
                                 
        .       .               .
        .       .               .
        .       .               .
         0         0                 1
Simplest Example




                       1             0
   The vectors e1 =       and e2 =      are called the Standard Basis
                       0             1
   Vectors of R2   In general, the vectors


          1         0                0
                               
        0        1              0
                                 
   e1 = 0, e2 = 0, . . . , en = 0 forms the standard basis for Rn .
                                 
        .        .              .
        .        .              .
        .        .              .
          0         0                1
   Look Carefully: These vectors are the columns of the respective
   identity matrix.
Finding Basis for Col    A




   This is easy!!!
    1. Look for the pivot columns in the echelon form of A
    2. Pick the corresponding columns from A
Finding Basis for Nul    A



   This is easy but takes more steps!!!
    1. Express the basic variables in terms of free variables
    2. Write the solution in the vector form
    3. The vector multiplying each free variable belongs to Nul A.
Example 24, section 2.8




   Given A and an echelon form of A. Find a basis for Col A and Nul
   A.
                  −3 9 −2 −7               1 −3 6 9
                                                       

            A =  2 −6 4 8  ∼  0 0 4 5 
                   3 −9 −2 2               0 0 0 0
            Here columns and 3 are pivot columns. So a basis for
   Solution:             1
             −3      −2 
                

   Col A is  2  ,  4 .
               3      −2

   To nd a basis for Nul A, write the system of equations, express the
   basic variables x1 and x3 in terms of the free variables x2 and x4 .
Example 24, section 2.8




                  x1   −   3x2   +   6x3   +   9x4   =   0
                                     4x3   +   5x4   =   0


   Thus we have
Example 24, section 2.8




                 x1   −   3x2   +   6x3   +   9x4   =   0
                                    4x3   +   5x4   =   0


   Thus we have x3 = − 5 x4 and
                       4
Example 24, section 2.8




                   x1   −   3x2   +   6x3      +   9x4   =   0
                                      4x3      +   5x4   =   0


   Thus we have x3 = − 5 x4 and
                         4
   x1 = 3x2 − 6x3 − 9x4 = 3x2 − 6(− 5 x4 ) − 9x4
                                     4
   =3x2 + 30 x4 − 9x4 = 3x2 − 6 x4 .
            4                 4
Example 24, section 2.8




        x1    3x2 − 6 x4     3       −1.5
                                         
                     4
       x       x2  = x 1 + x  0 .
        2 
   So,   =  5
       x3   − 4 x4     2 
                            0 4 −1.25
                                      
                                        
        x4        x4         0        1


                                3    −1.5 
                                      
                                1
                                   0 
                               
                                       
                                          
   A basis for Nul A is thus
                                           
                                 ,      .
                               0 −1.25
                                 0     1
                               
                                          
                                           
                                          
Example 26, section 2.8



   Given A and an echelon form of A. Find a basis for Col A and Nul
   A.
                 3 −1 7 3 9               3 −1 7 0 6
                                                         

          A =  −2 2 −2 7 4  ∼  0 2 4 0 3 
                                  5 
                                                           
               −5 9      3 3         0 0 0 1 1 
                                                         
                −2 6      6 3 7           0 0 0 0 0
   Solution:    1, 2  4 are pivot columns. So a basis for
            Here columns   and
             3      −1   3 
             −2
                2  7
            
                    
   Col A is   ,   ,  .
                            

            −5  9  3
             −2
            
                      6   3 
                            


   To nd a basis for Nul A, write the system of equations, express the
   basic variables x1 , x2 and x4 in terms of the free variables x3 and x5 .
Example 26, section 2.8




             3x1       x2       7x3            6x5       0
             
                    −        +              +         =
                        x2   +   4x3        +   3x5   =   0
                                       x4       x5        0
             
                                            +         =



   Thus we have
   x4 = −x5 ,
Example 26, section 2.8




              3x1          x2       7x3              6x5       0
              
                        −        +               +          =
                            x2   +   4x3         +    3x5   =   0
                                           x4         x5        0
              
                                                 +          =



   Thus we have
   x4 = −x5 ,
   2x2 = −4x3 − 3x5   =⇒ x2 = −2x3 − 1.5x5      and
Example 26, section 2.8




               3x1        x2       7x3            6x5       0
               
                       −        +              +         =
                           x2   +   4x3        +   3x5   =   0
                                          x4       x5        0
               
                                               +         =



   Thus we have
   x4 = −x5 ,
   2x2 = −4x3 − 3x5 =⇒ x2 = −2x3 − 1.5x5 and
   3x1 = x2 − 7x3 − 6x5 =−2x3 − 1.5x5 −7x3 − 6x5 =−9x3 − 7.5x5 .
   x1 =−3x3 − 2.5x5
Example 26, section 2.8




        x1      −3x3 − 2.5x5         −3         −2.5
                                              
       x  −2x − 1.5x            2        −1.5
        2       3       5
   So, x3  =      x3       = x3  1  + x5  0 .
                                                  
                                                 
         
       x4       −x5              0         −1 
                                              
                             
        x5           x5               0           1


                                −3      −2.5
                                          
                                2  −1.5
   A basis for Nul A is thus
                                          
                                1  ,  0 .
                                          
                                0   −1 
                                          

                                   0       1
Example 16, section 2.8




            −4         2
   Does ,        and        form a basis for R2 . Why(not)?
            6          −3



   Solution: Remember the 2 conditions for a set to be basis?
     1. linearly independent
     2. span
   Here the rst vector is -2 times the second vector. (Or, the
   determinant of the matrix formed by these 2 vectors as columns is
   0). So it is a linearly dependent set and hence not a basis
Example 18, section 2.8



            1      −5       7
                               

   Does ,  1  , −1 and 0form a basis for R3 . Why(not)?
           −2       2       5


   Solution: Idea: Check whether the matrix formed by these vectors
   is invertible. (3 pivot columns and rows)
                                            
                              1     −5   7
                                                 R2-R1
                                            
                                                            R3+2R1
                                            
                                            
                              1     −1   0
                                            
                                            
                                            
                                            
                              −2    2    5
                                            
Example 18, section 2.8



                                          
                       1   −5        7    
                                          
                                          
                        0   4     −7
                                          
                                          
                                                   R3+2R2
                                          
                                          
                        0   −8    19
                                          



                            1    −5       7
                                              
                           0    4        −7   
                            0    0         5
Example 18, section 2.8



                                               
                            1   −5        7    
                                               
                                               
                             0   4     −7
                                               
                                               
                                                        R3+2R2
                                               
                                               
                             0   −8    19
                                               



                                 1    −5       7
                                                   
                                0    4        −7   
                                 0    0         5
   We have 3 pivot positions and hence this matrix is invertible
   (columns linearly independent). So the 3 given vectors form a basis.

More Related Content

What's hot

Hyperbolic functions dfs
Hyperbolic functions dfsHyperbolic functions dfs
Hyperbolic functions dfs
Farhana Shaheen
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Matthew Leingang
 
THE BINOMIAL THEOREM
THE BINOMIAL THEOREM THE BINOMIAL THEOREM
THE BINOMIAL THEOREM
τυσηαρ ηαβιβ
 
Lesson14: Derivatives of Trigonometric Functions
Lesson14: Derivatives of Trigonometric FunctionsLesson14: Derivatives of Trigonometric Functions
Lesson14: Derivatives of Trigonometric Functions
Matthew Leingang
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
Ceni Babaoglu, PhD
 
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS
Rc Os
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics)
Dhrumil Maniar
 
Coordinate geometry
Coordinate geometryCoordinate geometry
Coordinate geometry
Ravichandran Keerthi
 
Regression
RegressionRegression
Regression
Sauravurp
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
Ceni Babaoglu, PhD
 
Quadratic Equation
Quadratic EquationQuadratic Equation
Quadratic Equation
itutor
 
Chap14 multiple regression model building
Chap14 multiple regression model buildingChap14 multiple regression model building
Chap14 multiple regression model building
Uni Azza Aunillah
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
Meenakshisundaram N
 
Curve fitting
Curve fittingCurve fitting
Curve fitting
JULIO GONZALEZ SANZ
 
Walpole ch03 edit
Walpole ch03 editWalpole ch03 edit
Walpole ch03 edit
SHALINIAPVIJAYAKUMAR
 
1602 parametric equations
1602 parametric equations1602 parametric equations
1602 parametric equations
Dr Fereidoun Dejahang
 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and series
Bhavik A Shah
 
Ppt on trignometry by damini
Ppt on trignometry by daminiPpt on trignometry by damini
Ppt on trignometry by damini
Damini1899
 
Functions
FunctionsFunctions
Functions
Ankit Bhandari
 
Logarithms
LogarithmsLogarithms
Logarithms
siking26
 

What's hot (20)

Hyperbolic functions dfs
Hyperbolic functions dfsHyperbolic functions dfs
Hyperbolic functions dfs
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
 
THE BINOMIAL THEOREM
THE BINOMIAL THEOREM THE BINOMIAL THEOREM
THE BINOMIAL THEOREM
 
Lesson14: Derivatives of Trigonometric Functions
Lesson14: Derivatives of Trigonometric FunctionsLesson14: Derivatives of Trigonometric Functions
Lesson14: Derivatives of Trigonometric Functions
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics)
 
Coordinate geometry
Coordinate geometryCoordinate geometry
Coordinate geometry
 
Regression
RegressionRegression
Regression
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
 
Quadratic Equation
Quadratic EquationQuadratic Equation
Quadratic Equation
 
Chap14 multiple regression model building
Chap14 multiple regression model buildingChap14 multiple regression model building
Chap14 multiple regression model building
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
 
Curve fitting
Curve fittingCurve fitting
Curve fitting
 
Walpole ch03 edit
Walpole ch03 editWalpole ch03 edit
Walpole ch03 edit
 
1602 parametric equations
1602 parametric equations1602 parametric equations
1602 parametric equations
 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and series
 
Ppt on trignometry by damini
Ppt on trignometry by daminiPpt on trignometry by damini
Ppt on trignometry by damini
 
Functions
FunctionsFunctions
Functions
 
Logarithms
LogarithmsLogarithms
Logarithms
 

Similar to Subspace, Col Space, basis

Linear Combination, Matrix Equations
Linear Combination, Matrix EquationsLinear Combination, Matrix Equations
Linear Combination, Matrix Equations
Prasanth George
 
Linear Algebra
Linear AlgebraLinear Algebra
Linear Algebra
Maths Tutoring
 
Mat 223_Ch4-VectorSpaces.ppt
Mat 223_Ch4-VectorSpaces.pptMat 223_Ch4-VectorSpaces.ppt
Mat 223_Ch4-VectorSpaces.ppt
abidraufv
 
IMT, col space again
IMT, col space againIMT, col space again
IMT, col space again
Prasanth George
 
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docxMATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
wkyra78
 
dot product of vectors
dot product of vectorsdot product of vectors
dot product of vectors
Elias Dinsa
 
Notes
NotesNotes
Embedding and np-Complete Problems for 3-Equitable Graphs
Embedding and np-Complete Problems for 3-Equitable GraphsEmbedding and np-Complete Problems for 3-Equitable Graphs
Embedding and np-Complete Problems for 3-Equitable Graphs
Waqas Tariq
 
real vector space
real vector spacereal vector space
real vector space
Asyraf Ghani
 
Vector space
Vector spaceVector space
Vector space
Jaimin Patel
 
Vector Space.pptx
Vector Space.pptxVector Space.pptx
Vector Space.pptx
Dr Ashok Tiwari
 
Linear algebra
Linear algebraLinear algebra
Linear algebra
nagathangaraj
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
njit-ronbrown
 
Mathematical Foundations for Machine Learning and Data Mining
Mathematical Foundations for Machine Learning and Data MiningMathematical Foundations for Machine Learning and Data Mining
Mathematical Foundations for Machine Learning and Data Mining
MadhavRao65
 
Vectors mod-1-part-2
Vectors mod-1-part-2Vectors mod-1-part-2
Vectors mod-1-part-2
Asmita Bhagdikar
 
Control and Instrumentation.pdf.pdf
Control and Instrumentation.pdf.pdfControl and Instrumentation.pdf.pdf
Control and Instrumentation.pdf.pdf
Mahamad Jawhar
 
Vector
VectorVector
1-11.pdf
1-11.pdf1-11.pdf
1-11.pdf
ssusere3d41b
 
Routh
RouthRouth
Teknik menjawab soalan kertas 3
Teknik menjawab soalan kertas 3Teknik menjawab soalan kertas 3
Teknik menjawab soalan kertas 3
Sekolah Menengah Agama Sains Kuala Pilah (SMASKP)
 

Similar to Subspace, Col Space, basis (20)

Linear Combination, Matrix Equations
Linear Combination, Matrix EquationsLinear Combination, Matrix Equations
Linear Combination, Matrix Equations
 
Linear Algebra
Linear AlgebraLinear Algebra
Linear Algebra
 
Mat 223_Ch4-VectorSpaces.ppt
Mat 223_Ch4-VectorSpaces.pptMat 223_Ch4-VectorSpaces.ppt
Mat 223_Ch4-VectorSpaces.ppt
 
IMT, col space again
IMT, col space againIMT, col space again
IMT, col space again
 
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docxMATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
MATH 270 TEST 3 REVIEW1. Given subspaces H and K of a vect.docx
 
dot product of vectors
dot product of vectorsdot product of vectors
dot product of vectors
 
Notes
NotesNotes
Notes
 
Embedding and np-Complete Problems for 3-Equitable Graphs
Embedding and np-Complete Problems for 3-Equitable GraphsEmbedding and np-Complete Problems for 3-Equitable Graphs
Embedding and np-Complete Problems for 3-Equitable Graphs
 
real vector space
real vector spacereal vector space
real vector space
 
Vector space
Vector spaceVector space
Vector space
 
Vector Space.pptx
Vector Space.pptxVector Space.pptx
Vector Space.pptx
 
Linear algebra
Linear algebraLinear algebra
Linear algebra
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
 
Mathematical Foundations for Machine Learning and Data Mining
Mathematical Foundations for Machine Learning and Data MiningMathematical Foundations for Machine Learning and Data Mining
Mathematical Foundations for Machine Learning and Data Mining
 
Vectors mod-1-part-2
Vectors mod-1-part-2Vectors mod-1-part-2
Vectors mod-1-part-2
 
Control and Instrumentation.pdf.pdf
Control and Instrumentation.pdf.pdfControl and Instrumentation.pdf.pdf
Control and Instrumentation.pdf.pdf
 
Vector
VectorVector
Vector
 
1-11.pdf
1-11.pdf1-11.pdf
1-11.pdf
 
Routh
RouthRouth
Routh
 
Teknik menjawab soalan kertas 3
Teknik menjawab soalan kertas 3Teknik menjawab soalan kertas 3
Teknik menjawab soalan kertas 3
 

More from Prasanth George

Complex Eigenvalues
Complex EigenvaluesComplex Eigenvalues
Complex Eigenvalues
Prasanth George
 
Orthogonal Decomp. Thm
Orthogonal Decomp. ThmOrthogonal Decomp. Thm
Orthogonal Decomp. Thm
Prasanth George
 
Orthogonal Projection
Orthogonal ProjectionOrthogonal Projection
Orthogonal Projection
Prasanth George
 
Orthogonal sets and basis
Orthogonal sets and basisOrthogonal sets and basis
Orthogonal sets and basis
Prasanth George
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
Prasanth George
 
Determinants, Properties and IMT
Determinants, Properties and IMTDeterminants, Properties and IMT
Determinants, Properties and IMT
Prasanth George
 
Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char poly
Prasanth George
 
Eigenvalues - Contd
Eigenvalues - ContdEigenvalues - Contd
Eigenvalues - Contd
Prasanth George
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Prasanth George
 
Cofactors, Applications
Cofactors, ApplicationsCofactors, Applications
Cofactors, Applications
Prasanth George
 
Linear (in)dependence
Linear (in)dependenceLinear (in)dependence
Linear (in)dependence
Prasanth George
 
Matrix Inverse, IMT
Matrix Inverse, IMTMatrix Inverse, IMT
Matrix Inverse, IMT
Prasanth George
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inverse
Prasanth George
 
Linear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraLinear Transformations, Matrix Algebra
Linear Transformations, Matrix Algebra
Prasanth George
 
Linear Transformations
Linear TransformationsLinear Transformations
Linear Transformations
Prasanth George
 
Systems of Linear Equations, RREF
Systems of Linear Equations, RREFSystems of Linear Equations, RREF
Systems of Linear Equations, RREF
Prasanth George
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
Prasanth George
 

More from Prasanth George (17)

Complex Eigenvalues
Complex EigenvaluesComplex Eigenvalues
Complex Eigenvalues
 
Orthogonal Decomp. Thm
Orthogonal Decomp. ThmOrthogonal Decomp. Thm
Orthogonal Decomp. Thm
 
Orthogonal Projection
Orthogonal ProjectionOrthogonal Projection
Orthogonal Projection
 
Orthogonal sets and basis
Orthogonal sets and basisOrthogonal sets and basis
Orthogonal sets and basis
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
 
Determinants, Properties and IMT
Determinants, Properties and IMTDeterminants, Properties and IMT
Determinants, Properties and IMT
 
Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char poly
 
Eigenvalues - Contd
Eigenvalues - ContdEigenvalues - Contd
Eigenvalues - Contd
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
 
Cofactors, Applications
Cofactors, ApplicationsCofactors, Applications
Cofactors, Applications
 
Linear (in)dependence
Linear (in)dependenceLinear (in)dependence
Linear (in)dependence
 
Matrix Inverse, IMT
Matrix Inverse, IMTMatrix Inverse, IMT
Matrix Inverse, IMT
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inverse
 
Linear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraLinear Transformations, Matrix Algebra
Linear Transformations, Matrix Algebra
 
Linear Transformations
Linear TransformationsLinear Transformations
Linear Transformations
 
Systems of Linear Equations, RREF
Systems of Linear Equations, RREFSystems of Linear Equations, RREF
Systems of Linear Equations, RREF
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
 

Recently uploaded

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 

Recently uploaded (20)

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 

Subspace, Col Space, basis

  • 1. Announcements Quiz 2 after lecture. Test 1 will be on Feb 1, Monday in class on sections 1.1-1.5, 1.7-1.8, 2.1-2.3 and 2.8-2.9 Sample Exam 1 will be on the website by Thursday evening Review for Exam 1 after tomorrow's lecture I will be in oce all day friday. Feel free to stop by any time if you have questions.
  • 2. Tips for Exam Do your homework problems including T/F questions (Check whether you have the latest homework set, I did some trimming) Do the examples we did in class Planning to have problems worth 20 points from chapter 1 and 80 points from chapter 2. Do the sample exam yourself with a 50 min time limit. I will post the solutions only by Saturday noon so that you will do it yourself rst. Not an exam with lots of tedious calculations.
  • 3. Section 2.8 Subspaces of Rn Consider any set of vectors H in Rn . This set can be called a subspace of Rn if it satises the following properties.
  • 4. Section 2.8 Subspaces of Rn Consider any set of vectors H in Rn . This set can be called a subspace of Rn if it satises the following properties. 1. The zero vector 0 should be in H .
  • 5. Section 2.8 Subspaces of Rn Consider any set of vectors H in Rn . This set can be called a subspace of Rn if it satises the following properties. 1. The zero vector 0 should be in H . 2. H must be closed under addition. This means, if u and v are 2 vectors in H , then their sum u + v must be in H .
  • 6. Section 2.8 Subspaces of Rn Consider any set of vectors H in Rn . This set can be called a subspace of Rn if it satises the following properties. 1. The zero vector 0 should be in H . 2. H must be closed under addition. This means, if u and v are 2 vectors in H , then their sum u + v must be in H . 3. H must be closed under scalar multiplication. This means, if u is a vector in H and c is any scalar, the product c u must be in H.
  • 7. Important Example of Subspace Consider 2 vectors u and v in Rn . Let H be the set of all linear combinations (or span) of u and v. 1. The vector 0u + 0v is a linear combination of u and v. So the zero vector is in H .
  • 8. Important Example of Subspace Consider 2 vectors u and v in Rn . Let H be the set of all linear combinations (or span) of u and v. 1. The vector 0u + 0v is a linear combination of u and v. So the zero vector is in H . 2. Consider 2 dierent linear combinations of u and v. For example, c1 u + c2 v and c3 u + c4 v.
  • 9. Important Example of Subspace Consider 2 vectors u and v in Rn . Let H be the set of all linear combinations (or span) of u and v. 1. The vector 0u + 0v is a linear combination of u and v. So the zero vector is in H . 2. Consider 2 dierent linear combinations of u and v. For example, c1 u + c2 v and c3 u + c4 v. Their sum will be c1 u + c2 v + c3 u + c4 v = (c1 + c3 )u + (c2 + c4 )v. This is again a linear combination of u and v which means the sum belongs to H .
  • 10. Important Example of Subspace Consider 2 vectors u and v in Rn . Let H be the set of all linear combinations (or span) of u and v. 1. The vector 0u + 0v is a linear combination of u and v. So the zero vector is in H . 2. Consider 2 dierent linear combinations of u and v. For example, c1 u + c2 v and c3 u + c4 v. Their sum will be c1 u + c2 v + c3 u + c4 v = (c1 + c3 )u + (c2 + c4 )v. This is again a linear combination of u and v which means the sum belongs to H . 3. Also consider r (c1 u + c2 v) = (rc1 )u + (rc2 )v. The scalar product of a linear combination is also a linear combination. Thus H =Span{u, v} is a subspace of Rn .
  • 11. Column Space of a Matrix The column space of a matrix A is the set of all linear combinations of the columns of A. It is denoted by Col A. Checking whether a vector b is in Col A for any matrix A is same as
  • 12. Column Space of a Matrix The column space of a matrix A is the set of all linear combinations of the columns of A. It is denoted by Col A. Checking whether a vector b is in Col A for any matrix A is same as 1. Checking whether b is a linear combination of the columns of A which is same as
  • 13. Column Space of a Matrix The column space of a matrix A is the set of all linear combinations of the columns of A. It is denoted by Col A. Checking whether a vector b is in Col A for any matrix A is same as 1. Checking whether b is a linear combination of the columns of A which is same as 2. Checking whether the system Ax = b is consistent (one or many solutions)
  • 14. Example 8, section 2.8 −3 −2 0 1         Letv1 =  0 , v2 =  2 , v3 = −6and p =  14 . 6 3 3 −9 How many vectors are in Col A? Determine if p is in Col A where A = v1 v2 v3 .
  • 15. Example 8, section 2.8 −3 −2 0 1         Letv1 =  0 , v2 =  2 , v3 = −6and p =  14 . 6 3 3 −9 How many vectors are in Col A? Determine if p is in Col A where A = v1 v2 v3 . Solution: Remember Col A is the set of all possible linear combinations of the columns of A. So there are innitely many vectors in it.
  • 16. Example 8, section 2.8 −3 −2 0 1         Let v1 =  0 , v2 =  2 , v3 = −6 and p =  14 . 6 3 3 −9 How many vectors are in Col A? Determine if p is in Col A where A = v1 v2 v3 . Solution: Remember Col A is the set of all possible linear combinations of the columns of A. So there are innitely many vectors in it. To determine if p is in Col A, write the augmented matrix and check the consistency. This also determines whether p is in the subspace of R3 generated (spanned) by v1 , v2 and v3 . (See Problem 5 in your homework)
  • 17. Example 8, section 2.8 Solution: Start with the augmented matrix    −3 −2 0 1       0 2 −6 14        6 3 3 −9   Divide R2 by 2 andalso   −3 −2 0 1       0 2 −6 14 R3+2R1        6 3 3 −9  
  • 18. Example 8, section 2.8    −3 −2 0 1       0 1 −3 7    R3+R2     0 −1 3 −7   −3 −2 0 1    0 1 −3 7  0 0 0 0
  • 19. Example 8, section 2.8    −3 −2 0 1       0 1 −3 7    R3+R2     0 −1 3 −7   −3 −2 0 1    0 1 −3 7  0 0 0 0 The system is consistent and so p is in Col A.
  • 20. Null Space of a Matrix The null space of a matrix A is the set of all solutions of the homogeneous equation Ax = 0. It is denoted by Nul A. Finding the vectors in Nul A is same as 1. Solving Ax = 0 which means
  • 21. Null Space of a Matrix The null space of a matrix A is the set of all solutions of the homogeneous equation Ax = 0. It is denoted by Nul A. Finding the vectors in Nul A is same as 1. Solving Ax = 0 which means 2. Finding the basic variables and free variables, then
  • 22. Null Space of a Matrix The null space of a matrix A is the set of all solutions of the homogeneous equation Ax = 0. It is denoted by Nul A. Finding the vectors in Nul A is same as 1. Solving Ax = 0 which means 2. Finding the basic variables and free variables, then 3. Expressing the basic in terms of free variables, then
  • 23. Null Space of a Matrix The null space of a matrix A is the set of all solutions of the homogeneous equation Ax = 0. It is denoted by Nul A. Finding the vectors in Nul A is same as 1. Solving Ax = 0 which means 2. Finding the basic variables and free variables, then 3. Expressing the basic in terms of free variables, then 4. Writing the solution in the vector form.
  • 24. Basis Denition A basis of any subspace H of Rn is a 1. linearly independent set in H
  • 25. Basis Denition A basis of any subspace H of Rn is a 1. linearly independent set in H 2. that spans H
  • 26. Simplest Example Example 1 0 Consider the vectors e1 = ,e = . 0 2 1 1 0 These vectors are linearly independent because I2 = has 2 0 1 pivot columns (no free variables). Consider any point in R2 , say (3,2). We can write 3 1 0 =3 +2 2 0 1 We have a linear combination (span) of the given vectors. This is true for ANY point (vector) in R2 .
  • 27. Simplest Example 1 0 The vectors e1 = and e2 = are called the Standard Basis 0 1 Vectors of R2 In general, the vectors 1 0 0       0 1 0       e1 = 0, e2 = 0, . . . , en = 0 forms the standard basis for Rn .       . . . . . . . . . 0 0 1
  • 28. Simplest Example 1 0 The vectors e1 = and e2 = are called the Standard Basis 0 1 Vectors of R2 In general, the vectors 1 0 0       0 1 0       e1 = 0, e2 = 0, . . . , en = 0 forms the standard basis for Rn .       . . . . . . . . . 0 0 1 Look Carefully: These vectors are the columns of the respective identity matrix.
  • 29. Finding Basis for Col A This is easy!!! 1. Look for the pivot columns in the echelon form of A 2. Pick the corresponding columns from A
  • 30. Finding Basis for Nul A This is easy but takes more steps!!! 1. Express the basic variables in terms of free variables 2. Write the solution in the vector form 3. The vector multiplying each free variable belongs to Nul A.
  • 31. Example 24, section 2.8 Given A and an echelon form of A. Find a basis for Col A and Nul A. −3 9 −2 −7 1 −3 6 9     A =  2 −6 4 8  ∼  0 0 4 5  3 −9 −2 2 0 0 0 0 Here columns and 3 are pivot columns. So a basis for Solution: 1  −3 −2      Col A is  2  ,  4 . 3 −2 To nd a basis for Nul A, write the system of equations, express the basic variables x1 and x3 in terms of the free variables x2 and x4 .
  • 32. Example 24, section 2.8 x1 − 3x2 + 6x3 + 9x4 = 0 4x3 + 5x4 = 0 Thus we have
  • 33. Example 24, section 2.8 x1 − 3x2 + 6x3 + 9x4 = 0 4x3 + 5x4 = 0 Thus we have x3 = − 5 x4 and 4
  • 34. Example 24, section 2.8 x1 − 3x2 + 6x3 + 9x4 = 0 4x3 + 5x4 = 0 Thus we have x3 = − 5 x4 and 4 x1 = 3x2 − 6x3 − 9x4 = 3x2 − 6(− 5 x4 ) − 9x4 4 =3x2 + 30 x4 − 9x4 = 3x2 − 6 x4 . 4 4
  • 35. Example 24, section 2.8 x1 3x2 − 6 x4 3 −1.5         4 x   x2  = x 1 + x  0 .  2  So,   =  5 x3   − 4 x4  2  0 4 −1.25         x4 x4 0 1  3 −1.5       1    0        A basis for Nul A is thus   ,  . 0 −1.25 0 1      
  • 36. Example 26, section 2.8 Given A and an echelon form of A. Find a basis for Col A and Nul A. 3 −1 7 3 9 3 −1 7 0 6     A =  −2 2 −2 7 4  ∼  0 2 4 0 3  5     −5 9 3 3   0 0 0 1 1      −2 6 6 3 7 0 0 0 0 0 Solution:    1, 2  4 are pivot columns. So a basis for Here columns   and  3 −1 3   −2    2  7         Col A is   ,   ,  .  −5  9  3  −2  6 3   To nd a basis for Nul A, write the system of equations, express the basic variables x1 , x2 and x4 in terms of the free variables x3 and x5 .
  • 37. Example 26, section 2.8 3x1 x2 7x3 6x5 0  − + + = x2 + 4x3 + 3x5 = 0 x4 x5 0  + = Thus we have x4 = −x5 ,
  • 38. Example 26, section 2.8 3x1 x2 7x3 6x5 0  − + + = x2 + 4x3 + 3x5 = 0 x4 x5 0  + = Thus we have x4 = −x5 , 2x2 = −4x3 − 3x5 =⇒ x2 = −2x3 − 1.5x5 and
  • 39. Example 26, section 2.8 3x1 x2 7x3 6x5 0  − + + = x2 + 4x3 + 3x5 = 0 x4 x5 0  + = Thus we have x4 = −x5 , 2x2 = −4x3 − 3x5 =⇒ x2 = −2x3 − 1.5x5 and 3x1 = x2 − 7x3 − 6x5 =−2x3 − 1.5x5 −7x3 − 6x5 =−9x3 − 7.5x5 . x1 =−3x3 − 2.5x5
  • 40. Example 26, section 2.8 x1 −3x3 − 2.5x5 −3 −2.5         x  −2x − 1.5x  2 −1.5  2  3 5 So, x3  =  x3  = x3  1  + x5  0 .             x4   −x5 0  −1           x5 x5 0 1 −3 −2.5      2  −1.5 A basis for Nul A is thus      1  ,  0 .      0   −1      0 1
  • 41. Example 16, section 2.8 −4 2 Does , and form a basis for R2 . Why(not)? 6 −3 Solution: Remember the 2 conditions for a set to be basis? 1. linearly independent 2. span Here the rst vector is -2 times the second vector. (Or, the determinant of the matrix formed by these 2 vectors as columns is 0). So it is a linearly dependent set and hence not a basis
  • 42. Example 18, section 2.8 1 −5 7       Does ,  1  , −1 and 0form a basis for R3 . Why(not)? −2 2 5 Solution: Idea: Check whether the matrix formed by these vectors is invertible. (3 pivot columns and rows)   1 −5 7 R2-R1   R3+2R1     1 −1 0         −2 2 5  
  • 43. Example 18, section 2.8    1 −5 7      0 4 −7     R3+2R2     0 −8 19   1 −5 7    0 4 −7  0 0 5
  • 44. Example 18, section 2.8    1 −5 7      0 4 −7     R3+2R2     0 −8 19   1 −5 7    0 4 −7  0 0 5 We have 3 pivot positions and hence this matrix is invertible (columns linearly independent). So the 3 given vectors form a basis.