Skip to content

Row Space


Definition

Let AA be a real m×nm\times n matrix with rows r1⊤,…,rm⊤\boldsymbol{r}_1^{\top},\ldots,\boldsymbol{r}_m^{\top}, so that each ri∈Rn\boldsymbol{r}_i\in\mathbb{R}^n. The row space of AA is the span of its rows,

Row⁡(A)=span⁡{r1,…,rm}={A⊤y ⁣:y∈Rm}⊆Rn.\operatorname{Row}(A)=\operatorname{span}\{\boldsymbol{r}_1,\ldots,\boldsymbol{r}_m\} =\{A^{\top}\boldsymbol{y}\colon\boldsymbol{y}\in\mathbb{R}^m\}\subseteq\mathbb{R}^n.

It is the column space (range) of the transpose A⊤A^{\top}: Row⁡(A)=Col⁡(A⊤)\operatorname{Row}(A)=\operatorname{Col}(A^{\top}). Math V writes Col⁡(A)\operatorname{Col}(A), Row⁡(A)\operatorname{Row}(A) and Null⁡(A)\operatorname{Null}(A) for the column space, row space and null space.


Interpretation

Each row of AA is the coefficient vector of one equation of Ax=bA\boldsymbol{x}=\boldsymbol{b}. The row space therefore contains the coefficient vectors of all equations that follow from the system by taking linear combinations of its equations.

Row operations take the example matrix A, whose pivot columns 1 and 3 are shaded, to its echelon form R, whose two shaded nonzero rows carry the circled pivots.

The figure uses the example below. Row operations replace rows by combinations of rows, so AA and RR have the same row space, and the two nonzero rows of RR (blue) are a basis of Row⁡(A)\operatorname{Row}(A); row 3 of AA, which is row 1 plus row 2, becomes a zero row. The pivots of RR (circled) sit in columns 1 and 3, and it is these columns of the original AA (red), not of RR, that form a basis of the column space.

The row space lives in the domain Rn\mathbb{R}^n, alongside the null space; the column space lives in the codomain Rm\mathbb{R}^m. Only the component of x\boldsymbol{x} in the row space affects AxA\boldsymbol{x}.

Row operations and column bases behave differently. Elementary row operations replace rows by combinations of rows, so they keep the row space but usually change the column space. Hence a basis of the row space is read off from the nonzero rows of the echelon form, while a basis of the column space consists of the pivot columns of the original matrix.


Key Results

  • Row-equivalent matrices have the same row space.
  • The nonzero rows of any row echelon form of AA, in particular of its reduced row echelon form, form a basis of the row space.
  • dim⁡Row⁡(A)=rank⁡A\dim\operatorname{Row}(A)=\operatorname{rank}A: row rank equals column rank.
  • Row⁡(A)=Null⁡(A)⊥\operatorname{Row}(A)=\operatorname{Null}(A)^\perp, the orthogonal complement of the null space (kernel), so dim⁡Row⁡(A)+dim⁡Null⁡(A)=n\dim\operatorname{Row}(A)+\dim\operatorname{Null}(A)=n (Fundamental Theorem of Linear Algebra).
  • AA restricted to Row⁡(A)\operatorname{Row}(A) is a bijection onto the column space Col⁡(A)\operatorname{Col}(A).

Examples

Let

A=(120124133614)⟶R=(120100110000)A=\begin{pmatrix}1&2&0&1\\2&4&1&3\\3&6&1&4\end{pmatrix} \longrightarrow\quad R=\begin{pmatrix}1&2&0&1\\0&0&1&1\\0&0&0&0\end{pmatrix}

by R2−2R1R_2-2R_1, R3−3R1R_3-3R_1, then R3−R2R_3-R_2. A basis of the row space is (1,2,0,1)⊤,(0,0,1,1)⊤(1,2,0,1)^{\top},(0,0,1,1)^{\top}, so rank⁡A=2\operatorname{rank}A=2 (row 3 of AA is row 1 plus row 2).

Orthogonality check. Solving Rx=0R\boldsymbol{x}=\boldsymbol{0} gives the null-space basis (−2,1,0,0)⊤,(−1,0,−1,1)⊤(-2,1,0,0)^{\top},(-1,0,-1,1)^{\top}. Each is orthogonal to both row-space basis vectors, for instance (1,2,0,1)⋅(−1,0,−1,1)=−1+1=0(1,2,0,1)\cdot(-1,0,-1,1)=-1+1=0, and 2+2=4=n2+2=4=n.

Membership. (1,2,1,2)⊤=(1,2,0,1)⊤+(0,0,1,1)⊤(1,2,1,2)^{\top}=(1,2,0,1)^{\top}+(0,0,1,1)^{\top} lies in the row space. (1,0,0,0)⊤(1,0,0,0)^{\top} does not, since its dot product with (−2,1,0,0)⊤(-2,1,0,0)^{\top} is −2≠0-2\neq0.

Column space is different. The pivot columns are columns 1 and 3, so Col⁡(A)=span⁡{(1,2,3)⊤,(0,1,1)⊤}⊆R3\operatorname{Col}(A)=\operatorname{span}\{(1,2,3)^{\top},(0,1,1)^{\top}\}\subseteq\mathbb{R}^3, whereas the columns of RR all have third entry 00.


Prerequisites



Sources

Aliases: row space of a matrix, column space of the transpose, range of the transpose Keywords: Row(A), Col(A^T), range of A^T, row rank, basis from echelon form Symbols: element of, real numbers, subset

Last updated: 22 October 2026 19:04