LINEAR-ALGEBRA ยท Unit 5 ยท Video 3 ยท Interactive Practice

Vector Spaces and Subspaces

IKey Formulas

Requirement Formula What It Means
Closure (addition) u,vโˆˆVโ‡’u+vโˆˆV\mathbf{u}, \mathbf{v} \in V \Rightarrow \mathbf{u} + \mathbf{v} \in V Sum of any two vectors stays in the set
Closure (scalar mult.) uโˆˆV,โ€…โ€ŠcโˆˆRโ‡’cโ€‰uโˆˆV\mathbf{u} \in V,\; c \in \mathbb{R} \Rightarrow c\,\mathbf{u} \in V Any scalar multiple stays in the set
Linear combination cโ€‰u+dโ€‰vโˆˆVc\,\mathbf{u} + d\,\mathbf{v} \in V for all c,dโˆˆRc, d \in \mathbb{R} Combines both closure rules into one
Zero vector test 0โ‹…v=0โ‡’0โˆˆV0 \cdot \mathbf{v} = \mathbf{0} \Rightarrow \mathbf{0} \in V Zero vector must belong to every vector space

IIVisualization 1 โ€” Scalar Multiplication Breaks QQ

Adding two vectors in QQ never leaves QQ โ€” but does scaling one of them?

๐Ÿ’ก A subspace must satisfy every axiom, so the single scalar-multiplication failure at c=โˆ’1c = -1 is enough to disqualify QQ.

IIIVisualization 2 โ€” Where Does u+v\mathbf{u}+\mathbf{v} Land?

A line is a subspace only when it passes through the origin โ€” so where does u+v\mathbf{u}+\mathbf{v} land?

๐Ÿ’ก On an off-origin line the sum absorbs the intercept twice, landing at height m(ux+vx)+2bm(u_x + v_x) + 2b โ€” off the line unless b=0b = 0.

IVVisualization 3 โ€” The Three Axioms at Once

Every line through the origin is a subspace; sliding it off the origin breaks all three axioms at once.

๐Ÿ’ก The complete catalog of subspaces of R2\mathbb{R}^2: {0}\{\mathbf{0}\}, every line through the origin, and all of R2\mathbb{R}^2. In R3\mathbb{R}^3 there is one more type โ€” planes through the origin.

VQuiz Questions

Question 1

The first quadrant Q={(x,y):xโ‰ฅ0,โ€…โ€Šyโ‰ฅ0}Q = \{(x,y) : x \geq 0,\; y \geq 0\} is closed under addition. Why is it not a vector space?

โœ… Correct! Multiplying by a negative scalar sends vectors outside the first quadrant.

โŒ Not quite. Think about what happens when you multiply a vector in Q by a negative number like -1.

Show solution

Solution:

The first quadrant does contain the zero vector (0,0)(0,0) and is closed under addition. However, it fails closure under scalar multiplication.

Take v=(1,1)โˆˆQ\mathbf{v} = (1, 1) \in Q and c=โˆ’1c = -1:

cโ‹…v=(โˆ’1)(1,1)=(โˆ’1,โˆ’1)โˆ‰Qc \cdot \mathbf{v} = (-1)(1, 1) = (-1, -1) \notin Q

The result has negative components, landing in the third quadrant โ€” outside QQ. Closure under scalar multiplication requires the result to stay in the set for all real scalars, including negative ones. One failure is enough: QQ is not a vector space.

Question 2

The vector (3,2,0)(3, 2, 0) has a zero in its third component. Which space does it belong to?

โœ… Correct! Count the components: 3 entries means Rยณ, regardless of any zeros.

โŒ Not quite. Membership in R^n depends on the number of components, not their values. Count carefully!

Show solution

Solution:

Membership in Rn\mathbb{R}^n is determined by how many components a vector has, not by the values of those components.

  • (3,2)(3, 2) has 2 components โ†’ belongs to R2\mathbb{R}^2
  • (3,2,0)(3, 2, 0) has 3 components โ†’ belongs to R3\mathbb{R}^3

The zero in the third position does not remove a dimension โ€” it still counts as a component. (3,2)(3, 2) is a point on a flat 2D plane, while (3,2,0)(3, 2, 0) sits on the xyxy-plane within three-dimensional space. Same xx and yy values, but they are different vectors in different spaces.

Question 3

Consider the line y=2x+3y = 2x + 3 in R2\mathbb{R}^2. Is this line a subspace of R2\mathbb{R}^2?

โœ… Correct! The zero vector test is the fastest check: (0,0) is not on y = 2x + 3 since 0 โ‰  3.

โŒ Not quite. Start with the zero vector test: does the origin (0, 0) satisfy y = 2x + 3?

Show solution

Solution:

Apply the zero vector test โ€” the fastest disqualification test in linear algebra.

Is (0,0)(0, 0) on the line y=2x+3y = 2x + 3? Substitute x=0x = 0:

y=2(0)+3=3โ‰ 0y = 2(0) + 3 = 3 \neq 0

The origin is not on the line, so this is not a subspace. We can stop here!

Only lines of the form y=mxy = mx (with b=0b = 0) pass through the origin and can be subspaces. The y-intercept b=3b = 3 guarantees this line misses the origin. Both addition and scalar multiplication also fail, but the zero vector test catches the problem instantly.

Question 4

True or False: If a set in Rn\mathbb{R}^n is closed under addition, it must be a vector space.

โœ… Correct! Closure under addition alone is not enough โ€” you also need closure under scalar multiplication. The first quadrant is the classic counterexample.

โŒ Not quite. Think about the first quadrant: it's closed under addition, but is it a vector space?

Show solution

Solution: False.

Closure under addition alone is not sufficient. A vector space must be closed under both addition and scalar multiplication. Equivalently, it must be closed under all linear combinations cโ€‰u+dโ€‰vc\,\mathbf{u} + d\,\mathbf{v}.

The first quadrant is the classic counterexample:

  • โœ… Closed under addition: adding two non-negative vectors gives a non-negative vector
  • โŒ Not closed under scalar multiplication: (โˆ’1)โ‹…(1,1)=(โˆ’1,โˆ’1)โˆ‰Q(-1) \cdot (1, 1) = (-1, -1) \notin Q

You need both closures. One out of two is not enough!

Solved: 0 / 4