LINEAR-ALGEBRA ยท Unit 6 ยท Video 1 ยท Interactive Practice

Vector Spaces and Subspaces Explained

IKey Formulas

Property Condition Meaning
Closure under addition v,wโˆˆSโ‡’v+wโˆˆS\mathbf{v}, \mathbf{w} \in S \Rightarrow \mathbf{v} + \mathbf{w} \in S Sum stays in the set
Closure under scalar mult. vโˆˆSโ‡’cvโˆˆS,ย โˆ€โ€‰cโˆˆR\mathbf{v} \in S \Rightarrow c\mathbf{v} \in S,\ \forall\, c \in \mathbb{R} Scaled vector stays in the set
Combined (linear combinations) cv+dwโˆˆS,ย โˆ€โ€‰c,dโˆˆRc\mathbf{v} + d\mathbf{w} \in S,\ \forall\, c, d \in \mathbb{R} All linear combinations stay in SS
Zero vector test 0โˆˆS\mathbf{0} \in S Every subspace must contain the origin

IIVisualization 1 โ€” Closure Under Linear Combinations

A line through the origin is a subspace โ€” can any combination cv+dwc\mathbf{v} + d\mathbf{w} of its vectors escape it?

๐Ÿ’ก Because every cv+dwc\mathbf{v} + d\mathbf{w} stays on the line, the line is the span of its vectors โ€” and that closure is exactly what makes it a subspace.

IIIVisualization 2 โ€” The Zero Vector Test

A subspace must contain 0\mathbf{0} โ€” for which intercept bb does y=x+by = x + b pass through the origin?

๐Ÿ’ก Setting c=0c = 0 gives 0โ‹…v=00 \cdot \mathbf{v} = \mathbf{0}, so every subspace is forced to contain the origin โ€” a failed origin check disqualifies a set instantly.

IVVisualization 3 โ€” Why Unions of Subspaces Fail

Each line through the origin is a subspace โ€” but does the sum v+w\mathbf{v} + \mathbf{w} stay inside their union?

๐Ÿ’ก The union fails closure, yet the intersection of two subspaces is always a subspace โ€” here the two lines meet only at {0}\{\mathbf{0}\}.

VQuiz Questions

Question 1

Which of the following sets is not a subspace of R3\mathbb{R}^3?

โœ… Correct! The plane z=1z = 1 doesn't contain the zero vector (0,0,0)(0, 0, 0), so it cannot be a subspace.

โŒ Not quite. Hint: which of these sets does not contain the zero vector (0,0,0)(0, 0, 0)?

Show solution

Solution:

The plane z=1z = 1 is not a subspace because it does not contain the zero vector.

  • Check: Is (0,0,0)(0, 0, 0) in the set {(x,y,1)}\{(x, y, 1)\}? No โ€” the zz-component must be 11, but the zero vector has z=0z = 0.
  • Every subspace must contain the zero vector. Since z=1z = 1 doesn't pass through the origin, it fails immediately.

The other three sets all contain (0,0,0)(0, 0, 0) and are closed under addition and scalar multiplication:

  • xyxy-plane: (x1,y1,0)+(x2,y2,0)=(x1+x2,โ€‰y1+y2,โ€‰0)(x_1, y_1, 0) + (x_2, y_2, 0) = (x_1+x_2,\, y_1+y_2,\, 0) โ€” still has z=0z = 0 โœ“
  • zz-axis: (0,0,z1)+(0,0,z2)=(0,0,z1+z2)(0, 0, z_1) + (0, 0, z_2) = (0, 0, z_1+z_2) โ€” still has x=y=0x = y = 0 โœ“
  • {0}\{\mathbf{0}\}: 0+0=0\mathbf{0} + \mathbf{0} = \mathbf{0} โœ“

Question 2

True or False: The union of two subspaces of R3\mathbb{R}^3 is always a subspace of R3\mathbb{R}^3.

โœ… Correct! The union of two subspaces generally fails closure under addition.

โŒ Not quite. Think about a vector from the xyxy-plane plus a vector from the zz-axis โ€” where does their sum land?

Show solution

Solution: False.

Counterexample: Let PP = the xyxy-plane and LL = the zz-axis in R3\mathbb{R}^3.

Both are subspaces. Now consider their union PโˆชLP \cup L:

  • v=(1,0,0)โˆˆP\mathbf{v} = (1, 0, 0) \in P โœ“
  • w=(0,0,1)โˆˆL\mathbf{w} = (0, 0, 1) \in L โœ“
  • v+w=(1,0,1)\mathbf{v} + \mathbf{w} = (1, 0, 1)

Is (1,0,1)(1, 0, 1) in PP? No โ€” z=1โ‰ 0z = 1 \neq 0. Is (1,0,1)(1, 0, 1) in LL? No โ€” x=1โ‰ 0x = 1 \neq 0.

The sum (1,0,1)โˆ‰PโˆชL(1, 0, 1) \notin P \cup L, so the union is not closed under addition and therefore not a subspace.

Question 3

Consider the set S={(x,y,z)โˆˆR3:x+y+z=0}S = \{(x, y, z) \in \mathbb{R}^3 : x + y + z = 0\}. Is SS a subspace of R3\mathbb{R}^3?

โœ… Correct! The equation x+y+z=0x + y + z = 0 defines a plane through the origin, and it passes all three subspace checks.

โŒ Not quite. Try checking: does (0,0,0)(0, 0, 0) satisfy x+y+z=0x + y + z = 0? If you add two vectors whose components sum to zero, does the result also sum to zero?

Show solution

Solution: Yes โ€” it is a plane through the origin.

Zero vector test: (0,0,0)(0, 0, 0): โ€…โ€Š0+0+0=0\;0 + 0 + 0 = 0 โœ“

Closure under addition: Let v=(v1,v2,v3)\mathbf{v} = (v_1, v_2, v_3) and w=(w1,w2,w3)\mathbf{w} = (w_1, w_2, w_3) with v1+v2+v3=0v_1 + v_2 + v_3 = 0 and w1+w2+w3=0w_1 + w_2 + w_3 = 0.

v+w=(v1+w1,โ€…โ€Šv2+w2,โ€…โ€Šv3+w3)\mathbf{v} + \mathbf{w} = (v_1 + w_1,\; v_2 + w_2,\; v_3 + w_3)

(v1+w1)+(v2+w2)+(v3+w3)=(v1+v2+v3)โŸ=โ€‰0+(w1+w2+w3)โŸ=โ€‰0=0โ€…โ€Šโœ“(v_1 + w_1) + (v_2 + w_2) + (v_3 + w_3) = \underbrace{(v_1 + v_2 + v_3)}_{=\,0} + \underbrace{(w_1 + w_2 + w_3)}_{=\,0} = 0 \;\checkmark

Closure under scalar multiplication: For cโˆˆRc \in \mathbb{R}:

cv=(cv1,cv2,cv3),cv1+cv2+cv3=c(v1+v2+v3)=cโ‹…0=0โ€…โ€Šโœ“c\mathbf{v} = (cv_1, cv_2, cv_3),\quad cv_1 + cv_2 + cv_3 = c(v_1 + v_2 + v_3) = c \cdot 0 = 0 \;\checkmark

Geometrically, x+y+z=0x + y + z = 0 is a plane through the origin in R3\mathbb{R}^3 โ€” a dimension 2 subspace.

Question 4

If SS and TT are both subspaces of R3\mathbb{R}^3, which of the following is always true?

โœ… Correct! The intersection of any two subspaces is always a subspace. This is a fundamental theorem in linear algebra.

โŒ Not quite. Remember: every subspace contains the zero vector, so SโˆฉTS \cap T always contains at least 0\mathbf{0} โ€” it's never empty!

โŒ Not quite. Recall from the video: unions generally fail, but intersections always preserve the subspace property.

Show solution

Solution: SโˆฉTS \cap T is always a subspace.

Proof sketch:

Let v,wโˆˆSโˆฉT\mathbf{v}, \mathbf{w} \in S \cap T. Then:

  • v,wโˆˆS\mathbf{v}, \mathbf{w} \in S and SS is a subspace โ‡’\Rightarrow v+wโˆˆS\mathbf{v} + \mathbf{w} \in S
  • v,wโˆˆT\mathbf{v}, \mathbf{w} \in T and TT is a subspace โ‡’\Rightarrow v+wโˆˆT\mathbf{v} + \mathbf{w} \in T
  • Therefore v+wโˆˆSโˆฉT\mathbf{v} + \mathbf{w} \in S \cap T โœ“

Same reasoning for scalar multiplication: cvโˆˆSc\mathbf{v} \in S and cvโˆˆTc\mathbf{v} \in T, so cvโˆˆSโˆฉTc\mathbf{v} \in S \cap T โœ“

Why the other options fail:

Option Why it fails
SโˆชTS \cup T is a subspace Counterexample: xyxy-plane โˆช\cup zz-axis is not closed under addition
SโˆชT=SโˆฉTS \cup T = S \cap T Generally false (e.g., xyxy-plane โˆช zz-axis โ‰  xyxy-plane โˆฉ zz-axis)
SโˆฉTS \cap T is empty Both subspaces contain 0\mathbf{0}, so 0โˆˆSโˆฉT\mathbf{0} \in S \cap T โ€” it's never empty!

Solved: 0 / 4