Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views

Row and column spaces

Definition: Let AA be n×mn\times m matrix. Then

  • The row space, denoted row(A)row(A), of AA is the subspace of Rm\mathbb{R}^m given by the span of the rows of AA.

  • The column space, denoted col(A)col(A), of AA is the subspace of Rn\mathbb{R}^n given by the span of the columns of AA.

Theorem: Let AA be a matrix and BB an echelon form of AA.

  • The nonzero rows of BB form a basis for row(A)row(A).

  • The columns of AA corresponding to the pivot columns of BB form a basis for col(A)col(A).

Consequently, the dimension of the row space and the columns space of AA are the same. We call this the rank of AA, denoted rank(A)rank(A).

Example: Let AA be [123431215011]\begin{bmatrix} 1 & 2 & 3 & 4 \\ 3 & -1 & 2 & 1 \\ 5 & 0 & 1 & -1 \end{bmatrix} Find a basis for the row space. Find a basis for the column space. Determine the rank of AA.

# We compute the rref of A and stare at it A = matrix([[1,2,3,4],[3,-1,2,1],[5,0,1,-1]]) B = A.rref(); B # The first 3 columns of A form a basis (so does the standard basis) for the column space # The rows of B form a basis for the row space
[ 1 0 0 -13/28] [ 0 1 0 1/4] [ 0 0 1 37/28]

Definition: The nullity of a matrix AA, denoted null(A)null(A), is the dimension of the solution space to Ax=0Ax=0.

Example: What is the nullity of the previous AA? (It is 1).

Theorem: (Rank-Nullity Theorem) Let AA be a n×mn\times m matrix. Then rank(A)+nullity(A)=mrank(A)+nullity(A)=m.

Linear transform perspective

Let T:RnRmT:\mathbb{R}^n \to \mathbb{R}^m be a linear transform. Let AA be the matrix so that T(x)=AxT(x)=Ax. Then range(T)=col(A)range(T)=col(A) so we know that hte rank of AA is the dimension of the range. We know that the nullity is the dimension of the kernel. So dimension of range + dimension of kernel is the dimension of the domain.