1. Home
  2. Explore
  3. Mathematics
  4. Linear Subspaces of Rn

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Linear Subspaces of Rn

Linear Subspaces of ℝⁿ

Definition: What Is a Subspace?

A subspace (or linear subspace) of ℝⁿ is a subset V of vectors from ℝⁿ that satisfies three specific properties. Not every subset of ℝⁿ qualifies—only those that are "closed" under the basic linear operations.

Definition: A subset V of ℝⁿ is called a subspace of ℝⁿ if and only if it satisfies all three of the following conditions:

  1. V contains the zero vector (the vector with all n components equal to 0).

  2. V is closed under scalar multiplication — for any vector x in V and any real scalar c, the product cx is also in V.

  3. V is closed under addition — for any two vectors a and b in V, their sum a + b is also in V.

These three conditions are both necessary and sufficient: if a subset satisfies them, it is a subspace; if it fails any one, it is not a subspace.


The Three Conditions in Detail

1️⃣ Contains the Zero Vector

The zero vector 0 = (0, 0, ..., 0) must be a member of V. This is often the easiest condition to check, but it is essential—without the zero vector, closure under scalar multiplication would fail (since multiplying any vector by the scalar 0 produces the zero vector).

2️⃣ Closure Under Scalar Multiplication

If x is in V, then for any real number c (positive, negative, or zero), the vector cx must also be in V. This means:

  • Scaling a vector in the subspace always stays inside the subspace.

  • The entire line through the origin in the direction of any vector in V is contained in V.

3️⃣ Closure Under Addition

If a and b are both in V, then a + b must also be in V. This means:

  • Adding any two vectors in the subspace never produces a vector outside the subspace.

  • The subspace is "closed" under the operation of vector addition.


Example 1: The Trivial Subspace (Zero Vector Only)

Let V = { 0 }, the set containing only the zero vector in ℝ³.

  • Contains zero vector? ✅ Yes—the only element is the zero vector itself.

  • Closed under scalar multiplication? ✅ For any scalar c, c · 0 = 0, which is still in V.

  • Closed under addition? ✅ 0 + 0 = 0, which is in V.

Result: This is a valid subspace, often called the trivial subspace or zero subspace. It is the smallest possible subspace of ℝⁿ.


Example 2: A Subset That Is NOT a Subspace

Consider the set S in ℝ² defined by:

S={(x1,x2)∈R2∣x1≥0}S = \{(x_1, x_2) \in \mathbb{R}^2 \mid x_1 \geq 0\}S={(x1​,x2​)∈R2∣x1​≥0}

This is the set of all vectors whose first component is non-negative—the right half-plane including the vertical axis.

  • Contains zero vector? ✅ (0, 0) has x₁ = 0 ≥ 0, so it is included.

  • Closed under addition? ✅ If a = (a₁, a₂) and b = (b₁, b₂) both have a₁ ≥ 0 and b₁ ≥ 0, then their sum has first component a₁ + b₁ ≥ 0, so the sum is still in S.

  • Closed under scalar multiplication? ❌ This condition fails. Take any vector with a positive first component, say v = (2, 4). Multiply by the scalar −1: (−1)v = (−2, −4). The first component is now −2, which is not ≥ 0, so (−2, −4) is not in S.

Result: S is not a subspace of ℝ² because it fails closure under scalar multiplication.


Example 3: The Span of Any Set of Vectors Is Always a Subspace

Let v₁, v₂, ..., vₖ be any collection of vectors in ℝⁿ. Define

U=span{v1,v2,…,vk}U = \text{span}\{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k\}U=span{v1​,v2​,…,vk​}

the set of all linear combinations of these vectors.

Claim: U is always a subspace of ℝⁿ.

Proof by checking the three conditions:

  1. Contains zero vector? ✅ Set all scalars to zero: $$0 \cdot \mathbf{v}_1 + 0 \cdot \mathbf{v}_2 + \dots + 0 \cdot \mathbf{v}_k = \mathbf{0}$$ This is a linear combination, so 0 ∈ U.

  2. Closed under scalar multiplication? ✅ Take any x ∈ U: $$\mathbf{x} = c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \dots + c_k\mathbf{v}_k$$ For any scalar a: $$a\mathbf{x} = (ac_1)\mathbf{v}_1 + (ac_2)\mathbf{v}_2 + \dots + (ac_k)\mathbf{v}_k$$ This is another linear combination of the same vectors, so ax ∈ U.

  3. Closed under addition? ✅ Take any x, y ∈ U: $$\mathbf{x} = c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \dots + c_k\mathbf{v}_k$$ $$\mathbf{y} = d_1\mathbf{v}_1 + d_2\mathbf{v}_2 + \dots + d_k\mathbf{v}_k$$ Then: $$\mathbf{x} + \mathbf{y} = (c_1+d_1)\mathbf{v}_1 + (c_2+d_2)\mathbf{v}_2 + \dots + (c_k+d_k)\mathbf{v}_k$$ This is still a linear combination, so x + y ∈ U.

Key Result: The span of any set of vectors is always a subspace. This is one of the most important ways to construct subspaces.


Visualizing Subspaces in ℝ² and ℝ³

Subspaces have intuitive geometric interpretations:

Subspaces of ℝ²

The only possible subspaces are:

  • The origin {0} (dimension 0)

  • Any line through the origin (dimension 1)

  • The entire plane ℝ² itself (dimension 2)

A line that does not pass through the origin is not a subspace because it fails to contain the zero vector.

Subspaces of ℝ³

The only possible subspaces are:

  • The origin {0} (dimension 0)

  • Any line through the origin (dimension 1)

  • Any plane through the origin (dimension 2)

  • The entire space ℝ³ itself (dimension 3)


The Span of a Single Vector: A Concrete Example

Consider the vector v = (1, 1) in ℝ². Its span is:

U=span{(1,1)}={c(1,1)∣c∈R}U = \text{span}\{(1,1)\} = \{c(1,1) \mid c \in \mathbb{R}\}U=span{(1,1)}={c(1,1)∣c∈R}

This is the line through the origin at a 45° angle—all vectors of the form (c, c).

  • Contains zero vector? ✅ Set c = 0 to get (0, 0).

  • Closed under scalar multiplication? ✅ Any scalar multiple of (c, c) is (kc, kc), which is still on the line.

  • Closed under addition? ✅ (c₁, c₁) + (c₂, c₂) = (c₁+c₂, c₁+c₂), still on the line.

Result: Even this simple span—a single line through the origin—is a valid subspace of ℝ².


Summary of Key Concepts

  • A subspace is a subset of ℝⁿ that contains 0 and is closed under scalar multiplication and addition.

  • The trivial subspace {0} is always a subspace.

  • Not every subset is a subspace—the half-plane example shows how a subset can pass two tests yet fail the third.

  • The span of any collection of vectors is always a subspace. This provides a systematic way to generate subspaces.

  • Geometrically, subspaces of ℝⁿ are always "flat" sets passing through the origin: points, lines, planes, and their higher-dimensional analogs.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent