SlideShare a Scribd company logo
Find a Basis and Dimension of a Subspace
Find a basis and the dimension of the subspace
3 6
5 4
: , , , in
2
5
a b c
a d
H a b c d
b c d
d
   
      
   
    
Find a Basis and Dimension of a Subspace
H is the set of all linear combinations of the vectors
1
1
5
v
0
0
 
 
 
 
 
 
2
3
0
v
1
0
 
 
 
 
 
 
3
6
0
v
2
0
 
 
 
 
 
 
4
0
4
v
1
5
 
 
 
 
 
 
v3 = -2 v2
v1, v2, v4 are linearly independent
Find a Basis and Dimension of a Subspace
Therefore, {v1, v2, v4} is a set of linearly
independent vectors.
Also, H = span {v1, v2, v4}.
Hence {v1, v2, v4} is a basis for H.
Thus dim H =3.
4. Vector Spaces
ROW and COLUMN
SPACES of a MATRIX
and
RANK of a MATRIX
 Defn - Let A be an m x n matrix. The rows of A,
considered as vectors in Rn , span a subspace of Rn
called the row space of A.
Each row has n entries, so Row A is a subspace of Rn.
11 12 1
21 22 2
1 2
n
n
mnm m
a a a
a a a
a a a
 
 
 
 
 
  
A
Row Space of a Matrix : RowA
 Defn - Let A be an m x n matrix. The columns of
A, considered as vectors in Rm, span a subspace of
Rm called the column space of A
 The system Ax = b has a solution if and only if b
is in the column space of A.
 Each column has m entries, so Col A is a subspace
of Rm.
11 12 1
21 22 2
1 2
n
n
mnm m
a a a
a a a
a a a
 
 
 
 
 
  
A
Column Space of a Matrix : Col A
 Theorem - If A and B are mxn row (column)
equivalent matrices, then the row (column) spaces
of A and B are equal (the same).
 Recall: If A and B are row equivalent when the
rows of B are obtained from the rows of A by a
finite number of the three elementary row
operations.
Equality of Spaces
 Defn - The dimension of the row space of a matrix
A is called the row rank of A
 Defn - The dimension of the column space of a
matrix A is called the column rank of A
 Theorem - The row rank and the column rank of
an mxn matrix A = [ aij ] are equal.
Rank of A
 The rank of A corresponds to the number of linearly
independent rows (columns) of A.
 If A is an n x n matrix, then rank A = n if and only if A is
row equivalent to In
 Let A be an n x n matrix. A is nonsingular if and only if
rank A = n
 If A is an n x n matrix, then rank A = n if and only if
det(A) ≠ 0.
 The homogeneous system Ax = 0 where A is an n x n
matrix has a nontrivial solution if and only if rank A < n
 Let A be an n x n matrix. The linear system Ax = b has a
unique solution if and only if rank A = n.
Rank of A
Equivalent statements for nxn matrix A
 A is nonsingular
 AX  0 has the trivial solution only
 A is row equivalent to In
 The system AX  b has a unique solution
 A has rank n
 The rows (columns) of A form a linearly independent
set of vectors in Rn
Rank of A
Let A be an mxn matrix.
Then
rank A + nullity A = n.
Nullity A = dim Null(A)
Rank + Nullity Theorem
 Example:
a. If A is a matrix with a two-dimensional
null space, what is the rank of A?
b. Could a matrix have a two-dimensional
null space?
 Solution:
a. Since A has 9 columns, , and
hence rank .
b. No. If a matrix, call it B, has a two-
dimensional null space, it would have to have
rank 7, by the Rank Theorem.
7 9
6 9
(rank ) 2 9A  
7A 
6 9
Rank + Nullity Theorem
To identify the basis for Row A and Col A
1. Reduce A to echelon form E
2. The nonzero rows of E form a basis for Row A
3. The columns of A that correspond to the columns of E
containing the leading entries form a basis for Col A
Note: The same is true if the matrix E is in reduced
echelon form.
For a matrix A, the number of linearly independent rows
is equal to the number of linearly independent columns.
Bases for Row A and Col A
has m = n = 2 and rank r = 1
Column space contains all multiples of
Row space consists of all multiples of [ 1 2 ]
Null space consists of all multiples of
1 2
3 6
 
 
 
A
1
3
 
 
 
1
2
 
 
 
Example
Example - Find a basis for the subspace V of R3
spanned by the rows of the matrix A
Row Space of a Matrix : RowA
1 2 1
1 1 1
1 3 3
3 5 1
1 4 5
 
 
 
 
 
 
 
 


 


A
 Example (continued) - Apply elementary row
operations to A to reduce it to B, in echelon form
1 0 3
0 1 2
0 0 0
0 0 0
0 0 0
 
 
 
 
 
 
 
 


B
A basis for the row space of B
consists of the vectors
w1 = [ 1 0 3 ] and w2 = [ 0 1 2 ].
So { w1, w2 } is a basis for V
v1 = w1  2w2, v2 = w1 + w2,
v3 = w1  3w2, v4 = 3w1  5w2,
v5 = w1  4w2
Row Space of a Matrix : RowA
Example (continued) - Since a matrix A is row
equivalent to a matrix B that is in row echelon form,
then
the nonzero rows of B form a basis for the row space
of A and the row space of B.
Row Space of a Matrix : RowA
w1 = [ 1 0 3 ] and w2 = [ 0 1 2 ].
DIMENSIONS OF NUL A AND COL A
 Let A be an matrix, and suppose the equation
has k free variables.
 A spanning set for Nul A will produce exactly k
linearly independent vectors—say, —one for
each free variable.
 So is a basis for Nul A, and the number of
free variables determines the size of the basis.
m n
x 0A 
1
u ,...,uk
1
{u ,...,u }k
DIMENSIONS OF NUL A AND COL A
 The dimension of Nul A is the number of free
variables in the equation , and the dimension
of Col A is the number of pivot columns in A.
 Example: Find the dimensions of the null space and
the column space of
x 0A 
3 6 1 1 7
1 2 2 3 1
2 4 5 8 4
A
   
   
 
   
DIMENSIONS OF NUL A AND COL A
 Solution: Row reduce the matrix to echelon form:
 There are three free variable—x2, x4 and x5.
 Hence the dimension of Nul A is 3.
 Also dim Col A = 2 because A has two pivot
columns (column 1 of A and column 3 of A).
1 2 2 3 1
0 0 1 2 2
0 0 0 0 0
  
 
 
  
Find bases for the row space, the column space, and the
null space of the matrix
2 5 8 0 17
1 3 5 1 5
3 11 19 7 1
1 7 13 5 3
   
 
 
 
   
Example
To find bases for the row space and the column space,
row reduce A to an echelon form:
 The first three rows of B form a basis for the row
space of A (as well as for the row space of B).
 Basis for Row A:
Example (cont) : Row space
1 3 5 1 5
0 1 2 2 7
0 0 0 4 20
0 0 0 0 0
A B
 
  
 
 
 
 
{(1,3, 5,1,5),(0,1, 2,2, 7),(0,0,0, 4,20)}   
 For the column space, observe from B that the pivots
are in columns 1, 2, and 4.
 Hence columns 1, 2, and 4 of A (not B) form a basis
for Col A:
Basis for Col
 Notice that any echelon form of A provides (in its
nonzero rows) a basis for Row A and also identifies
the pivot columns of A for Col A.
Example (cont) : Column space
2 5 0
1 3 1
: , ,
3 11 7
1 7 5
A
       
      
       
      
            
 However, for Nul A, we need the reduced echelon
form.
 Further row operations on B yield
Example (cont) : Null space
1 0 1 0 1
0 1 2 0 3
0 0 0 1 5
0 0 0 0 0
A B C
 
 
 
 
 
 
 The equation is equivalent to , that is,
 So , , , with x3
and x5 free variables.
x 0A  x 0C 
1 3 5
2 3 5
4 5
0
2 3 0
5 0
x x x
x x x
x x
  
  
 
1 3 5
x x x   2 3 5
2 3x x x  4 5
5x x
Example (cont) : Null space
 The calculations show that
Basis for Nul A
 Observe that, unlike the basis for Col A, the bases for
Row A and Nul A have no simple connection with the
entries in A itself.
Example (cont) : Null space
1 1
2 3
: ,1 0
0 5
0 1
     
         
    
    
    
        
Section 4.5
p.268, p.269
1 to 16
Problems

More Related Content

PPTX
Linear dependence(ld) &amp;linear independence(li)
PPTX
Principal of duality
PPTX
Infinite Series Presentation by Jatin Dhola
PPTX
Fourier Series - Engineering Mathematics
PPTX
Row space | Column Space | Null space | Rank | Nullity
PPTX
Maths-->>Eigenvalues and eigenvectors
PPTX
Cauchy integral theorem &amp; formula (complex variable & numerical method )
PDF
Eigenvalues and eigenvectors
Linear dependence(ld) &amp;linear independence(li)
Principal of duality
Infinite Series Presentation by Jatin Dhola
Fourier Series - Engineering Mathematics
Row space | Column Space | Null space | Rank | Nullity
Maths-->>Eigenvalues and eigenvectors
Cauchy integral theorem &amp; formula (complex variable & numerical method )
Eigenvalues and eigenvectors

What's hot (20)

DOCX
What is analytic functions
PPTX
Week 16 controllability and observability june 1 final
PPTX
Complex variables
PPTX
Eigenvalue problems .ppt
PDF
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
PPTX
Linear dependence & independence vectors
PPTX
Vector spaces
PPTX
Linear transformation and application
PPTX
Eigen value and eigen vector
PPT
Linearization
DOCX
Gauss elimination method
PDF
Tora (2 phase itteration, simplex method)
PPTX
Rank nullity theorem
PPT
Gauss elimination
PPTX
Lti and z transform
PPTX
TRACING OF CURVE (CARTESIAN AND POLAR)
PPTX
System of linear equations
PPTX
Matrices and System of Linear Equations ppt
PPTX
Applications of analytic functions and vector calculus
PDF
Matrix.
What is analytic functions
Week 16 controllability and observability june 1 final
Complex variables
Eigenvalue problems .ppt
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Linear dependence & independence vectors
Vector spaces
Linear transformation and application
Eigen value and eigen vector
Linearization
Gauss elimination method
Tora (2 phase itteration, simplex method)
Rank nullity theorem
Gauss elimination
Lti and z transform
TRACING OF CURVE (CARTESIAN AND POLAR)
System of linear equations
Matrices and System of Linear Equations ppt
Applications of analytic functions and vector calculus
Matrix.
Ad

Similar to Chapter 4: Vector Spaces - Part 4/Slides By Pearson (20)

PDF
Row space, column space, null space And Rank, Nullity and Rank-Nullity theore...
PPT
Null space, Rank and nullity theorem
PDF
Null space Presentation is given here.pdf
PPTX
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
PPTX
Lecture 9 dim & rank - 4-5 & 4-6
PPTX
Rank, Nullity, and Fundamental Matrix Spaces.pptx
PPTX
Independence, basis and dimension
PDF
vector spaces notes.pdf
PPTX
Row Space,Column Space and Null Space & Rank and Nullity
DOCX
Vectors and Matrices: basis and dimension
PDF
PPTX
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
PPTX
My Lecture Notes from Linear Algebra
PPTX
Linear Algebra.pptx
PDF
For the following matrices, determine a cot of basis vectors for the.pdf
PPTX
Matrix and linear algebra Introduced by: Khalid Jawad Kadhim
PPTX
associated.pptx for the vector spaces and subspaes
PPTX
Linear algebra
PPTX
system linear equations and matrices
PPTX
vector space and subspace
Row space, column space, null space And Rank, Nullity and Rank-Nullity theore...
Null space, Rank and nullity theorem
Null space Presentation is given here.pdf
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 9 dim & rank - 4-5 & 4-6
Rank, Nullity, and Fundamental Matrix Spaces.pptx
Independence, basis and dimension
vector spaces notes.pdf
Row Space,Column Space and Null Space & Rank and Nullity
Vectors and Matrices: basis and dimension
Unlock Your Mathematical Potential with MathAssignmentHelp.com! 🧮✨
My Lecture Notes from Linear Algebra
Linear Algebra.pptx
For the following matrices, determine a cot of basis vectors for the.pdf
Matrix and linear algebra Introduced by: Khalid Jawad Kadhim
associated.pptx for the vector spaces and subspaes
Linear algebra
system linear equations and matrices
vector space and subspace
Ad

More from Chaimae Baroudi (11)

PDF
Chapter 4: Vector Spaces - Part 5/Slides By Pearson
PDF
Chapter 4: Vector Spaces - Part 3/Slides By Pearson
PDF
Chapter 4: Vector Spaces - Part 2/Slides By Pearson
PDF
Chapter 3: Linear Systems and Matrices - Part 3/Slides
PDF
Chapter 3: Linear Systems and Matrices - Part 2/Slides
PDF
Chapter 3: Linear Systems and Matrices - Part 1/Slides
PDF
Chapter 2: Mathematical Models & Numerical Models/Slides
PDF
Chapter 1: First-Order Ordinary Differential Equations/Slides
PDF
Linear Algebra and Differential Equations by Pearson - Chapter 4
PDF
Linear Algebra and Differential Equations by Pearson - Chapter 3
PDF
Linear Algebra and Differential Equations by Pearson - Chapter 1
Chapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 3/Slides By Pearson
Chapter 4: Vector Spaces - Part 2/Slides By Pearson
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 2: Mathematical Models & Numerical Models/Slides
Chapter 1: First-Order Ordinary Differential Equations/Slides
Linear Algebra and Differential Equations by Pearson - Chapter 4
Linear Algebra and Differential Equations by Pearson - Chapter 3
Linear Algebra and Differential Equations by Pearson - Chapter 1

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Insiders guide to clinical Medicine.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Classroom Observation Tools for Teachers
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Insiders guide to clinical Medicine.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
RMMM.pdf make it easy to upload and study
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Classroom Observation Tools for Teachers
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
Supply Chain Operations Speaking Notes -ICLT Program
Anesthesia in Laparoscopic Surgery in India
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH

Chapter 4: Vector Spaces - Part 4/Slides By Pearson

  • 1. Find a Basis and Dimension of a Subspace Find a basis and the dimension of the subspace 3 6 5 4 : , , , in 2 5 a b c a d H a b c d b c d d                    
  • 2. Find a Basis and Dimension of a Subspace H is the set of all linear combinations of the vectors 1 1 5 v 0 0             2 3 0 v 1 0             3 6 0 v 2 0             4 0 4 v 1 5             v3 = -2 v2 v1, v2, v4 are linearly independent
  • 3. Find a Basis and Dimension of a Subspace Therefore, {v1, v2, v4} is a set of linearly independent vectors. Also, H = span {v1, v2, v4}. Hence {v1, v2, v4} is a basis for H. Thus dim H =3.
  • 4. 4. Vector Spaces ROW and COLUMN SPACES of a MATRIX and RANK of a MATRIX
  • 5.  Defn - Let A be an m x n matrix. The rows of A, considered as vectors in Rn , span a subspace of Rn called the row space of A. Each row has n entries, so Row A is a subspace of Rn. 11 12 1 21 22 2 1 2 n n mnm m a a a a a a a a a              A Row Space of a Matrix : RowA
  • 6.  Defn - Let A be an m x n matrix. The columns of A, considered as vectors in Rm, span a subspace of Rm called the column space of A  The system Ax = b has a solution if and only if b is in the column space of A.  Each column has m entries, so Col A is a subspace of Rm. 11 12 1 21 22 2 1 2 n n mnm m a a a a a a a a a              A Column Space of a Matrix : Col A
  • 7.  Theorem - If A and B are mxn row (column) equivalent matrices, then the row (column) spaces of A and B are equal (the same).  Recall: If A and B are row equivalent when the rows of B are obtained from the rows of A by a finite number of the three elementary row operations. Equality of Spaces
  • 8.  Defn - The dimension of the row space of a matrix A is called the row rank of A  Defn - The dimension of the column space of a matrix A is called the column rank of A  Theorem - The row rank and the column rank of an mxn matrix A = [ aij ] are equal. Rank of A
  • 9.  The rank of A corresponds to the number of linearly independent rows (columns) of A.  If A is an n x n matrix, then rank A = n if and only if A is row equivalent to In  Let A be an n x n matrix. A is nonsingular if and only if rank A = n  If A is an n x n matrix, then rank A = n if and only if det(A) ≠ 0.  The homogeneous system Ax = 0 where A is an n x n matrix has a nontrivial solution if and only if rank A < n  Let A be an n x n matrix. The linear system Ax = b has a unique solution if and only if rank A = n. Rank of A
  • 10. Equivalent statements for nxn matrix A  A is nonsingular  AX  0 has the trivial solution only  A is row equivalent to In  The system AX  b has a unique solution  A has rank n  The rows (columns) of A form a linearly independent set of vectors in Rn Rank of A
  • 11. Let A be an mxn matrix. Then rank A + nullity A = n. Nullity A = dim Null(A) Rank + Nullity Theorem
  • 12.  Example: a. If A is a matrix with a two-dimensional null space, what is the rank of A? b. Could a matrix have a two-dimensional null space?  Solution: a. Since A has 9 columns, , and hence rank . b. No. If a matrix, call it B, has a two- dimensional null space, it would have to have rank 7, by the Rank Theorem. 7 9 6 9 (rank ) 2 9A   7A  6 9 Rank + Nullity Theorem
  • 13. To identify the basis for Row A and Col A 1. Reduce A to echelon form E 2. The nonzero rows of E form a basis for Row A 3. The columns of A that correspond to the columns of E containing the leading entries form a basis for Col A Note: The same is true if the matrix E is in reduced echelon form. For a matrix A, the number of linearly independent rows is equal to the number of linearly independent columns. Bases for Row A and Col A
  • 14. has m = n = 2 and rank r = 1 Column space contains all multiples of Row space consists of all multiples of [ 1 2 ] Null space consists of all multiples of 1 2 3 6       A 1 3       1 2       Example
  • 15. Example - Find a basis for the subspace V of R3 spanned by the rows of the matrix A Row Space of a Matrix : RowA 1 2 1 1 1 1 1 3 3 3 5 1 1 4 5                       A
  • 16.  Example (continued) - Apply elementary row operations to A to reduce it to B, in echelon form 1 0 3 0 1 2 0 0 0 0 0 0 0 0 0                   B A basis for the row space of B consists of the vectors w1 = [ 1 0 3 ] and w2 = [ 0 1 2 ]. So { w1, w2 } is a basis for V v1 = w1  2w2, v2 = w1 + w2, v3 = w1  3w2, v4 = 3w1  5w2, v5 = w1  4w2 Row Space of a Matrix : RowA
  • 17. Example (continued) - Since a matrix A is row equivalent to a matrix B that is in row echelon form, then the nonzero rows of B form a basis for the row space of A and the row space of B. Row Space of a Matrix : RowA w1 = [ 1 0 3 ] and w2 = [ 0 1 2 ].
  • 18. DIMENSIONS OF NUL A AND COL A  Let A be an matrix, and suppose the equation has k free variables.  A spanning set for Nul A will produce exactly k linearly independent vectors—say, —one for each free variable.  So is a basis for Nul A, and the number of free variables determines the size of the basis. m n x 0A  1 u ,...,uk 1 {u ,...,u }k
  • 19. DIMENSIONS OF NUL A AND COL A  The dimension of Nul A is the number of free variables in the equation , and the dimension of Col A is the number of pivot columns in A.  Example: Find the dimensions of the null space and the column space of x 0A  3 6 1 1 7 1 2 2 3 1 2 4 5 8 4 A              
  • 20. DIMENSIONS OF NUL A AND COL A  Solution: Row reduce the matrix to echelon form:  There are three free variable—x2, x4 and x5.  Hence the dimension of Nul A is 3.  Also dim Col A = 2 because A has two pivot columns (column 1 of A and column 3 of A). 1 2 2 3 1 0 0 1 2 2 0 0 0 0 0          
  • 21. Find bases for the row space, the column space, and the null space of the matrix 2 5 8 0 17 1 3 5 1 5 3 11 19 7 1 1 7 13 5 3               Example
  • 22. To find bases for the row space and the column space, row reduce A to an echelon form:  The first three rows of B form a basis for the row space of A (as well as for the row space of B).  Basis for Row A: Example (cont) : Row space 1 3 5 1 5 0 1 2 2 7 0 0 0 4 20 0 0 0 0 0 A B              {(1,3, 5,1,5),(0,1, 2,2, 7),(0,0,0, 4,20)}   
  • 23.  For the column space, observe from B that the pivots are in columns 1, 2, and 4.  Hence columns 1, 2, and 4 of A (not B) form a basis for Col A: Basis for Col  Notice that any echelon form of A provides (in its nonzero rows) a basis for Row A and also identifies the pivot columns of A for Col A. Example (cont) : Column space 2 5 0 1 3 1 : , , 3 11 7 1 7 5 A                                           
  • 24.  However, for Nul A, we need the reduced echelon form.  Further row operations on B yield Example (cont) : Null space 1 0 1 0 1 0 1 2 0 3 0 0 0 1 5 0 0 0 0 0 A B C            
  • 25.  The equation is equivalent to , that is,  So , , , with x3 and x5 free variables. x 0A  x 0C  1 3 5 2 3 5 4 5 0 2 3 0 5 0 x x x x x x x x         1 3 5 x x x   2 3 5 2 3x x x  4 5 5x x Example (cont) : Null space
  • 26.  The calculations show that Basis for Nul A  Observe that, unlike the basis for Col A, the bases for Row A and Nul A have no simple connection with the entries in A itself. Example (cont) : Null space 1 1 2 3 : ,1 0 0 5 0 1                                        
  • 27. Section 4.5 p.268, p.269 1 to 16 Problems