 #jsDisabledContent { display:none; } My Account |  Register |  Help Flag as Inappropriate This article will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this article is inappropriate?          Excessive Violence          Sexual Content          Political / Social Email this Article Email Address:

# Row space

Article Id: WHEBN0001633839
Reproduction Date:

 Title: Row space Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Row space

In linear algebra, the row space of a matrix is the set of all possible linear combinations of its row vectors. Let K be a field (such as real or complex numbers). The row space of an m × n matrix with components from K is a linear subspace of the n-space Kn. The dimension of the row space is called the row rank of the matrix.

A definition for matrices over a ring K (such as integers) is also possible.

## Definition

Let K be a field of scalars. Let A be an m × n matrix, with row vectors r1, r2, ... , rm. A linear combination of these vectors is any vector of the form

$c_1 \mathbf\left\{r\right\}_1 + c_2 \mathbf\left\{r\right\}_2 + \cdots + c_m \mathbf\left\{r\right\}_m,$

where c1, c2, ... , cm are scalars. The set of all possible linear combinations of r1, ... , rm is called the row space of A. That is, the row space of A is the span of the vectors r1, ... , rm.

For example, if

$A = \begin\left\{bmatrix\right\} 1 & 0 & 2 \\ 0 & 1 & 0 \end\left\{bmatrix\right\},$

then the row vectors are r1 = (1, 0, 2) and r2 = (0, 1, 0). A linear combination of r1 and r2 is any vector of the form

$c_1 \left(1,0,2\right) + c_2 \left(0,1,0\right) = \left(c_1,c_2,2c_1\right).\,$

The set of all such vectors is the row space of A. In this case, the row space is precisely the set of vectors (x, y, z) ∈ K3 satisfying the equation z = 2x (using Cartesian coordinates, this set is a plane through the origin in three-dimensional space).

For a matrix that represents a homogeneous system of linear equations, the row space consists of all linear equations that follow from those in the system.

The column space of A is equal to the row space of AT.

## Basis

The row space is not affected by elementary row operations. This makes it possible to use row reduction to find a basis for the row space.

For example, consider the matrix

$A = \begin\left\{bmatrix\right\} 1 & 3 & 2 \\ 2 & 7 & 4 \\ 1 & 5 & 2\end\left\{bmatrix\right\}.$

The rows of this matrix span the row space, but they may not be linearly independent, in which case the rows will not be a basis. To find a basis, we reduce A to row echelon form:

r1, r2, r3 represents the rows.



\begin{bmatrix} 1 & 3 & 2 \\ 2 & 7 & 4 \\ 1 & 5 & 2\end{bmatrix} \underbrace{\sim}_{r_2-2r_1} \begin{bmatrix} 1 & 3 & 2 \\ 0 & 1 & 0 \\ 1 & 5 & 2\end{bmatrix} \underbrace{\sim}_{r_3-r_1} \begin{bmatrix} 1 & 3 & 2 \\ 0 & 1 & 0 \\ 0 & 2 & 0\end{bmatrix} \underbrace{\sim}_{r_3-2r_2} \begin{bmatrix} 1 & 3 & 2 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{bmatrix} \underbrace{\sim}_{r_1-3r_2} \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{bmatrix}. Once the matrix is in echelon form, the nonzero rows are a basis for the row space. In this case, the basis is { (1, 3, 2), (0, 1, 0) }. Another possible basis { (1, 0, 2), (0, 1, 0) } comes from a further reduction.

This algorithm can be used in general to find a basis for the span of a set of vectors. If the matrix is further simplified to reduced row echelon form, then the resulting basis is uniquely determined by the row space.

## Dimension

Main article: Rank (linear algebra)

The dimension of the row space is called the rank of the matrix. This is the same as the maximum number of linearly independent rows that can be chosen from the matrix. For example, the 3 × 3 matrix in the example above has rank two.

The rank of a matrix is also equal to the dimension of the column space. The dimension of the null space is called the nullity of the matrix, and is related to the rank by the following equation:

$\operatorname\left\{rank\right\}\left(A\right) + \operatorname\left\{nullity\right\}\left(A\right) = n,$

where n is the number of columns of the matrix A. The equation above is known as the rank-nullity theorem.

## Relation to the null space

The null space of matrix A is the set of all vectors x for which Ax = 0. The product of the matrix A and the vector x can be written in terms of the dot product of vectors:

$A\mathbf\left\{x\right\} = \begin\left\{bmatrix\right\} \mathbf\left\{r\right\}_1 \cdot \mathbf\left\{x\right\} \\ \mathbf\left\{r\right\}_2 \cdot \mathbf\left\{x\right\} \\ \vdots \\ \mathbf\left\{r\right\}_m \cdot \mathbf\left\{x\right\} \end\left\{bmatrix\right\},$

where r1, ... , rm are the row vectors of A. Thus Ax = 0 if and only if x is orthogonal (perpendicular) to each of the row vectors of A.

It follows that the null space of A is the orthogonal complement to the row space. For example, if the row space is a plane through the origin in three dimensions, then the null space will be the perpendicular line through the origin. This provides a proof of the rank-nullity theorem (see dimension above).

The row space and null space are two of the four fundamental subspaces associated with a matrix A (the other two being the column space and left null space).

## Relation to coimage

If V and W are vector spaces, then the kernel of a linear transformation TV → W is the set of vectors v ∈ V for which T(v) = 0. The kernel of a linear transformation is analogous to the null space of a matrix.

If V is an inner product space, then the orthogonal complement to the kernel can be thought of as a generalization of the row space. This is sometimes called the coimage of T. The transformation T is one-to-one on its coimage, and the coimage maps isomorphically onto the image of T.

When V is not an inner product space, the coimage of T can be defined as the quotient space V / ker(T).