ArticleslgStudy

mathematics

Row and column spaces

Row and column spaces is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Row and column spaces rather than just read about it. In short: In linear algebra, the column space (also called the range or image) of a matrix ⁠A⁠ is the span (set of all possible linear combinations) of its column vectors. The column space of a matrix is the image or range of the corresponding matrix transformation.

Row and column spaces — main illustration
Row and column spaces — illustration

Key takeaways

  • Row and column spaces belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Row and column spaces to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Row and column spaces from memory before moving on to harder problems.

Reference excerpt

In linear algebra, the column space (also called the range or image) of a matrix ⁠A⁠ is the span (set of all possible linear combinations) of its column vectors. The column space of a matrix is the image or range of the corresponding matrix transformation. Let F be a field. The column space of an ⁠m×n⁠ matrix with components from F is a linear subspace of the m-space ⁠Fm⁠. The dimension of the column space is called the rank of the matrix and is at most ⁠min⁡{m,n}⁠. A definition for matrices over a ring R (i.e., with components from ⁠R⁠) is also possible. The row space is defined similarly. The row space and the column space of a matrix ⁠A⁠ are sometimes denoted as ⁠C⁡(A𝖳)⁠ and ⁠C⁡(A)⁠, respectively. This article considers matrices of real numbers. The row and column spaces are subspaces of the real coordinate spaces ℝn and ⁠ℝm⁠, respectively.

Overview Let A be an m-by-n matrix. Then

rank(A) = dim(rowsp(A)) = dim(colsp(A)), rank(A) = number of pivots in any echelon form of A, rank(A) = the maximum number of linearly independent rows or columns of A. If the matrix represents a linear transformation, the column space of the matrix equals the image of this linear transformation. The column space of a matrix A is the set of all linear combinations of the columns in A. If A = [a1 ⋯ an], then colsp(A) = span({a1, ..., an}). Given a matrix A, the action of the matrix A on a vector x returns a linear combination of the columns of A with the coordinates of x as coefficients; that is, the columns of the matrix generate the column space.

Example Given a matrix J:

J=[24132−1−21051622236251] the rows are 𝐫1=[24132], 𝐫2=[−1−2105], 𝐫3=[16222], 𝐫4=[36251]. Consequently, the row space of J is the subspace of ℝ5 spanned by { r1, r2, r3, r4 }. Since these four row vectors are linearly independent, the row space is 4-dimensional. Moreover, in this case it can be seen that they are all orthogonal to the vector n = [6, −1, 4, −4, 0] (n is an element of the kernel of J ), so it can be deduced that the row space consists of all vectors in ℝ5 that are orthogonal to n.

Column space

Definition Let K be a field of scalars. Let A be an m × n matrix, with column vectors v1, v2, ..., vn. A linear combination of these vectors is any vector of the form

c1𝐯1+c2𝐯2+⋯+cn𝐯n, where c1, c2, ..., cn are scalars. The set of all possible linear combinations of v1, ..., vn is called the column space of A. That is, the column space of A is the span of the vectors v1, ..., vn. Any linear combination of the column vectors of a matrix A can be written as the product of A with a column vector:

A[c1⋮cn]=[a11⋯a1n⋮⋱⋮am1⋯amn][c1⋮cn]=[c1a11+⋯+cna1n⋮c1am1+⋯+cnamn]=c1[a11⋮am1]+⋯+cn[a1n⋮amn]=c1𝐯1+⋯+cn𝐯n Therefore, the column space of A consists of all possible products Ax, for x ∈ Kn. This is the same as the image (or range) of the corresponding matrix transformation.

Example If A=[100120], then the column vectors are v1 = [1, 0, 2]T and v2 = [0, 1, 0]T. A linear combination of v1 and v2 is any vector of the form c1[102]+c2[010]=[c1c22c1] The set of all such vectors is the column space of A. In this case, the column space is precisely the set of vectors (x, y, z) ∈ R3 satisfying the equation z = 2x (using Cartesian coordinates, this set is a plane through the origin in three-dimensional space).

Basis The columns of A span the column space, but they may not form a basis if the column vectors are not linearly independent. Fortunately, elementary row operations do not affect the dependence relations between the column vectors. This makes it possible to use row reduction to find a basis for the column space. For example, consider the matrix

A=[1314273915311208]. The columns of this matrix span the column space, but they may not be linearly independent, in which case some subset of them will form a basis. To find this basis, we reduce A to reduced row echelon form:

[1314273915311208]∼[13140111022−30−1−14]∼[10−210111000−50005]∼[10−20011000010000]. At this point, it is clear that the first, second, and fourth columns are linearly independent, while the third column is a linear combination of the first two. (Specifically, v3 = −2v1 + v2.) Therefore, the first, second, and fourth columns of the original matrix are a basis for the column space:

[1211],[3752],[4918]. Note that the independent columns of the reduced row echelon form are precisely the columns with pivots. This makes it possible to determine which columns are linearly independent by reducing only to echelon form. The above algorithm can be used in general to find the dependence relations between any set of vectors, and to pick out a basis from any spanning set. Also finding a basis for the column space of A is equivalent to finding a basis for the row space of the transpose matrix AT. To find the basis in a practical setting (e.g., for large matrices), the singular-value decomposition is typically used.

Dimension

The dimension of the column space is called the rank of the matrix. The rank is equal to the number of pivots in the reduced row echelon form, and is the maximum number of linearly independent columns that can be chosen from the matrix. For example, the 4 × 4 matrix in the example above has rank three. Because the column space is the image of the corresponding matrix transformation, the rank of a matrix is the same as the dimension of the image. For example, the transformation ℝ4→ℝ4 described by the matrix above maps all of ℝ4 to some three-dimensional subspace. The nullity of a matrix is the dimension of the null space, and is equal to the number of columns in the reduced row echelon form that do not have pivots. The rank and nullity of a matrix A with n columns are related by the equation:

rank⁡(A)+nullity⁡(A)=n. This is known as the rank–nullity theorem.

Relation to the left null space The left null space of A is the set of all vectors x such that xTA = 0T. It is the same as the null space of the transpose of A. The product of the matrix AT and the vector x can be written in terms of the dot product of vectors:

A𝖳𝐱=[𝐯1⋅𝐱𝐯2⋅𝐱⋮𝐯n⋅𝐱], because row vectors of AT are transposes of column vectors vk of A. Thus ATx = 0 if and only if x is orthogonal (perpendicular) to each of the column vectors of A. It follows that the left null space (the null space of AT) is the orthogonal complement to the column space of A. For a matrix A, the column space, row space, null space, and left null space are sometimes referred to as the four fundamental subspaces.

… excerpt ends here. Continue reading the full article.

Illustrations

Row and column spaces: The row vectors of a matrix. The row space of this matrix is the vector space spanned by these row vectors.
The row vectors of a matrix. The row space of this matrix is the vector space spanned by these row vectors.
Row and column spaces: The column vectors of a matrix. The column space of this matrix is the vector space spanned by these column vectors.
The column vectors of a matrix. The column space of this matrix is the vector space spanned by these column vectors.
Row and column spaces: Diagram illustrating the decomposition of the domain into row and null spaces and of the codomain into column and left null spaces for a linear map represented by a matrix A.
Diagram illustrating the decomposition of the domain into row and null spaces and of the codomain into column and left null spaces for a linear map represented by a matrix A.

Worked examples

Example 1 — a first encounter with Row and column spaces

Start with the simplest possible case. Write down what Row and column spaces claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Row and column spaces before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Row and column spaces ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Row and column spaces

In research
Row and column spaces appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Row and column spaces in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Row and column spaces is common in secondary-school and first-year university syllabi. It links to neighbouring topics Abstract algebra, Linear algebra, Matrices (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Row and column spaces outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Row and column spaces” →

How to study Row and column spaces in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Row and column spaces means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Row and column spaces out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Row and column spaces in simple terms?

In linear algebra, the column space (also called the range or image) of a matrix ⁠A⁠ is the span (set of all possible linear combinations) of its column vectors. The column space of a matrix is the image or range of the corresponding matrix transformation.

Why does Row and column spaces matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Row and column spaces?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Row and column spaces.

Tags

  • Abstract algebra
  • Linear algebra
  • Matrices (mathematics)

Keep exploring