158 CHAPTER 8. RANK OF A MATRIX

The row reduced echelon form is1 0 0 0 13

20 1 0 2 − 5

20 0 1 −1 1

20 0 0 0 0

 .

and so the rank is 3, the row space is the span of the vectors,(0 0 1 −1 1

2

),(

0 1 0 2 − 52

),(

1 0 0 0 132

),

and the column space is the span of the first three columns in the original matrix,

span



1111

 ,

2323

 ,

1612

 .

Example 8.3.8 Find the rank of the following matrix and describe the column and rowspaces efficiently.  1 2 3 0 1

2 1 3 2 4−1 2 1 3 1

 .

The row reduced echelon form is 1 0 1 0 2117

0 1 1 0 − 217

0 0 0 1 1417

 .

It follows the rank is three and the column space is the span of the first, second and fourthcolumns of the original matrix.

span

 1

2−1

 ,

 212

 ,

 023



while the row space is the span of the vectors(0 0 0 1 14

17

),(

0 1 1 0 − 217

),(

1 0 1 0 2117

).

Procedure 8.3.9 To find the rank of a matrix, obtain the row reduced echelon form forthe matrix. Then count the number of nonzero rows or equivalently the number of pivotcolumns. This is the rank. The row space is the span of the nonzero rows in the rowreduced echelon form and the column space is the span of the pivot columns of the originalmatrix.

158 CHAPTER 8. RANK OF A MATRIXThe row reduced echelon form is1000 4010 2 -3001 -1 $000 0 0and so the rank is 3, the row space is the span of the vectors,(001-1 $),(0 102 -13(1000 #8),and the column space is the span of the first three columns in the original matrix,),NInspanawn WwW WdYo FS OAExample 8.3.8 Find the rank of the following matrix and describe the column and rowspaces efficiently.1 22 1—-1 2m= WwW WwWWw nN ©= fheThe row reduced echelon form isoOo Froroor- Co OoIz osieSIs<It follows the rank is three and the column space is the span of the first, second and fourthcolumns of the original matrix.1 2 0span 2 >} i yo] 2—1 2 3while the row space is the span of the vectors(0001 #)(0110 -<i)nN_———_So—CoaltnS”Procedure 8.3.9 To find the rank of a matrix, obtain the row reduced echelon form forthe matrix. Then count the number of nonzero rows or equivalently the number of pivotcolumns. This is the rank. The row space is the span of the nonzero rows in the rowreduced echelon form and the column space is the span of the pivot columns of the originalmatrix.