Skip to content
Feb 24

Linear Algebra: Subspaces

MT
Mindli Team

AI-Generated Content

Linear Algebra: Subspaces

Mastering the concept of a subspace is the critical step that transforms linear algebra from a collection of matrix operations into a powerful language for describing structure. For engineers, subspaces are not abstract curiosities; they are the mathematical bedrock for analyzing solution spaces in control systems, compressing data via principal component analysis, and understanding the fundamental geometry of forces, signals, and transformations.

What is a Subspace?

A subspace is a subset of a vector space that is itself a vector space, using the same operations of addition and scalar multiplication. This definition means that every subspace inherits properties like associativity and commutativity from the larger space. The real power lies in a simple test: to prove a subset of a vector space is a subspace, you only need to verify three conditions.

The Subspace Test: A subset of a vector space is a subspace of if:

  1. The zero vector of is in .
  2. is closed under addition: If and are in , then is in .
  3. is closed under scalar multiplication: If is in and is any scalar, then is in .

Consider the set of all vectors in of the form . Is this a subspace? The zero vector is present. Adding two such vectors, , yields another vector with a zero in the third entry. Scalar multiplication, , also preserves this form. All three conditions hold, so it is a subspace—visually, it is the -plane in 3D space. In contrast, the set of vectors of the form fails the first test because the zero vector is not included.

Fundamental Subspaces of a Matrix

Given an matrix , there are four naturally associated subspaces. For engineering, the column space and null space are paramount.

The column space, denoted , is the set of all linear combinations of the columns of . If , then . This subspace of consists of all vectors for which the equation is consistent. In a physical system , the column space represents all possible output vectors the system can produce.

The null space, denoted , is the set of all solutions to the homogeneous equation . This subspace of contains all input vectors that produce a zero output. If the null space contains more than just the zero vector, the system has either no solution or infinitely many. For a matrix , solving yields solutions of the form . Therefore, , a line in .

The row space is the set of all linear combinations of the rows of , which is equivalent to . Its dimension (the rank) is crucially equal to the dimension of the column space.

Solution Spaces as Subspaces

The solution set of a homogeneous system of linear equations, , is always a subspace—specifically, it is the null space of . This is why we find a basis for the null space to describe all solutions. In contrast, the solution set of a nonhomogeneous system, (with ), is never a subspace because it does not contain the zero vector. Geometrically, if the null space is a plane through the origin, the solution set to is a parallel plane not passing through the origin.

Combining Subspaces: Intersection and Sum

New subspaces can be constructed from existing ones. Given two subspaces and of a vector space :

  • The intersection (all vectors in both and ) is always a subspace.
  • The sum , defined as the set of all vectors that can be written as for and , is also always a subspace. It is essentially the subspace spanned by the union of the bases of and .

A key result is the dimension formula for subspaces: When , the sum is called a direct sum, written , and every vector in the sum is written uniquely as . In , the direct sum of the -plane and the -axis gives you all of .

Characterizing All Subspaces of R² and R³

A complete classification of subspaces in low dimensions provides powerful geometric intuition.

  • In , the only subspaces are:
  1. The trivial subspace (dimension 0).
  2. Lines through the origin (dimension 1). Any subspace spanned by a single non-zero vector.
  3. All of (dimension 2).
  • In , the subspaces are:
  1. The trivial subspace (dimension 0).
  2. Lines through the origin (dimension 1).
  3. Planes through the origin (dimension 2). These are precisely the sets of all vectors orthogonal to a given non-zero normal vector .
  4. All of (dimension 3).

This classification reveals a fundamental principle: every non-trivial subspace is a span of a set of vectors and can be described as all vectors orthogonal to a set of other vectors (a concept fully developed when studying orthogonal complements).

Common Pitfalls

  1. Assuming any subset defined by a condition is a subspace. The set of vectors in where is not a subspace. While it contains the zero vector, it fails scalar multiplication: multiply by to get , which is not in the set. Always apply the three-part test.
  2. Confusing the column space with the column vectors themselves. The column space is the infinite set of all linear combinations of the columns. It is a geometric object (a line, plane, etc.), not just a list of vectors.
  3. Forgetting that the null space is about inputs, not outputs. The null space of an matrix lives in (the domain of the transformation ), while the column space lives in (the codomain). Keeping the dimensions straight is essential.
  4. Treating the solution set of as a subspace when . This is a critical error. Always check for the presence of the zero vector first. These translated sets are called "affine spaces," but they are not vector subspaces.

Summary

  • A subspace is a vector space within another, verifiable by checking it contains the zero vector and is closed under addition and scalar multiplication.
  • The column space consists of all outputs and determines what equations are solvable. The null space consists of all inputs that produce a zero output and reveals the "degrees of freedom" in a system's solution.
  • The solution set to a homogeneous linear system is always a subspace (the null space), while the solution set to a nonhomogeneous system is never a subspace.
  • The intersection and sum of subspaces are powerful tools for building and decomposing vector spaces, governed by the dimension formula.
  • Geometrically, the only subspaces of are the origin, lines through the origin, and itself. In , they are the origin, lines through the origin, planes through the origin, and itself.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.