Skip to main content

Subspace Test

The subspace test checks whether a subset of a vector space is itself a subspace. In Linear Algebra and Differential Equations, you verify that it contains the zero vector and is closed under addition and scalar multiplication.

Last updated July 2026•Fiveable Content Team

What is the Subspace Test?

The subspace test is the quick check you use to decide whether a subset behaves like a vector space inside a bigger one. In Linear Algebra and Differential Equations, that means you are looking at a set of vectors and asking, "Does this set stay inside itself when I add vectors or multiply by scalars?" If yes, then it is a subspace of the original vector space.

The standard test has three parts. First, the set must contain the zero vector. Second, it must be closed under addition, so if two vectors are in the set, their sum has to stay in the set. Third, it must be closed under scalar multiplication, so scaling a vector by any real number still gives a vector in the set. If any one of these fails, the set is not a subspace.

A common way to check is to start with the general form of a vector in the set. For example, if a subset of R^3 is described by an equation like x + y + z = 0, you can test whether the zero vector fits and whether adding two solutions keeps the equation true. If a set is described by something like x + y + z = 1, the zero vector is already missing, so the set fails immediately.

This test works because subspaces are exactly the pieces of a vector space that still obey the same linear rules. They are stable under linear combinations, which is why they show up constantly in the course when you study solution sets of linear systems, column spaces, row spaces, and spans.

A helpful shortcut is to remember what usually breaks a subspace. Sets defined by equations equal to a nonzero constant, sets with restrictions like x > 0, or sets that are missing the zero vector usually fail. The subspace test keeps you from guessing, and it gives you a clean yes-or-no method based on the vector space rules themselves.

Why the Subspace Test matters in Linear Algebra and Differential Equations

The subspace test shows you which sets can be treated like smaller vector spaces, and that matters everywhere in linear algebra. Once a set is a subspace, you can use vector space tools on it, like spanning, basis ideas, and dimension. If it is not a subspace, those tools usually break or need extra caution.

This comes up right away with solution sets to linear systems and homogeneous equations. A system like Ax = 0 always gives a subspace, while Ax = b usually does not unless b = 0. That difference explains why homogeneous systems are so central in the course. You are not just solving equations, you are checking whether the full solution set has the closure properties of a subspace.

The test also helps you recognize geometric objects in R^2 or R^3. A line through the origin can be a subspace, but a line shifted away from the origin cannot. A plane through the origin can be a subspace, but a plane that misses the origin cannot. That origin condition is not a small detail, it is the first sign of whether the whole set fits the linear rules.

Later in the course, subspaces show up in column space, row space, and intersections of subspaces. Those topics depend on the same logic: if the set stays closed under the right operations, you can work with it as a linear structure instead of just a collection of vectors.

Keep studying Linear Algebra and Differential Equations Unit 3

Official unit cheatsheet

open one-pager

How the Subspace Test connects across the course

Vector Space

The subspace test is really a smaller version of the vector space axioms. A subspace does not need a brand new set of rules, it just inherits the operations from the bigger vector space and keeps the same closure behavior. If you forget the ambient vector space, you can miss why the zero vector and closure conditions matter.

Closure Property

Closure is the core idea behind the test. You are checking whether the set stays inside itself after addition and scalar multiplication, which is what makes the structure stable. Many wrong answers come from assuming a set is "almost" closed when one counterexample is enough to fail it.

Zero Vector

The zero vector is the fastest thing to check, because a set that does not contain it cannot be a subspace. This is why equations like x + y + z = 0 often work, while x + y + z = 1 do not. If the zero vector is missing, the closure conditions usually collapse right away.

span of a set

The span of a set is always a subspace, so it gives you a clean example of what the subspace test should pass. When you see a span, you already know addition and scalar multiplication stay inside the set. That makes span a useful comparison when you are deciding whether another set is a subspace.

Is the Subspace Test on the Linear Algebra and Differential Equations exam?

On a quiz or problem set, you usually use the subspace test by checking a set described in words, equations, or parametric form. The move is simple: verify the zero vector first, then test closure under addition and scalar multiplication, often using a general vector with parameters instead of random examples.

If the set is given by an equation, plug in the zero vector and then add or scale the general form to see whether the defining condition stays true. If the set is a solution set to a homogeneous system, you can often recognize it as a subspace right away. If the equation has a nonzero constant term, that is often a sign it will fail.

You may also be asked to justify your answer in a few sentences, not just write yes or no. In that case, name the failed condition clearly, because saying "it is not closed" is stronger and more useful than saying "it does not work."

The Subspace Test vs span of a set

The span of a set is always a subspace because it contains all linear combinations of the vectors you started with. The subspace test is the method you use to check an arbitrary subset. Students often mix them up because both involve linear combinations, but span is a construction and the subspace test is a verification method.

Key things to remember about the Subspace Test

  • The subspace test tells you whether a subset is really a vector space sitting inside a bigger vector space.

  • A valid subspace must contain the zero vector and stay closed under both addition and scalar multiplication.

  • If one condition fails, the set is not a subspace, even if it looks close.

  • Sets defined by equations equal to a nonzero constant often fail because they miss the zero vector.

  • Homogeneous solution sets, column spaces, row spaces, and spans are common places where subspaces appear.

Frequently asked questions about the Subspace Test

What is Subspace Test in Linear Algebra and Differential Equations?

The subspace test is the check you use to see whether a subset of a vector space is itself a subspace. You verify that the zero vector is included and that the set is closed under addition and scalar multiplication. If all three conditions hold, the set counts as a subspace.

How do you know if a set is not a subspace?

A set is not a subspace if it fails even one of the three checks. The fastest red flag is missing the zero vector. Another common failure is a set that does not stay closed when you add two vectors or multiply by a scalar.

Can a line or plane be a subspace?

Yes, but only if it passes through the origin. A line through the origin or a plane through the origin can be a subspace because it contains the zero vector and stays closed under linear combinations. A shifted line or shifted plane usually fails the test.

How is the subspace test different from span of a set?

The span of a set is automatically a subspace because it is built from all linear combinations of the original vectors. The subspace test is a way to check whether some other set already has those subspace properties. So span is a construction, while the subspace test is a verification.