Subspaces, Sums & Direct Sums

This deck gives the subspace test, explains why an intersection of subspaces is a subspace but a union usually is not, and presents the sum as the smallest subspace containing both. It then covers the three equivalent faces of a direct sum and the Grassmann dimension formula. It targets the classic traps: taking unions to be subspaces, mistaking spanning for directness, and forgetting the intersection correction term.

Subject: Foundations of Higher Mathematics · 119 slides · symbolic lesson

Open the interactive version of this deck · Homework for this lesson

What this lesson covers

The lesson, slide by slide

1. What you will be able to do

Objectives

By the end of this deck you will be able to:

1. Apply the subspace test to decide whether a subset is a subspace.

2. Explain why intersections of subspaces are always subspaces but unions usually are not.

3. Form the sum of two subspaces and recognize it as the smallest subspace containing both.

4. Characterize a direct sum three equivalent ways and apply the dimension formula.

2. What survived from Vector Spaces: Axioms & Examples?

Warm-up

Discussion prompt

Before we open Subspaces, Sums & Direct Sums: without looking back, what was the main idea of Vector Spaces: Axioms & Examples, and what could you do by the end of it that you could not do before?

Hint: One sentence for the idea, one for the skill. If the second one is blank, that is the part to revisit.

Answer:

That deck covers the eight vector-space axioms over a field, the consequences those axioms immediately force, and the zoo of genuine examples: tuples, matrices, polynomials, functions, the solution sets of homogeneous systems, and C regarded over different fields. It targets the misconceptions that a vector is an arrow in R^n, that any set of vectors is a space, that closure under scalar multiplication comes for free, and that the choice of scalar field does not affect dimension.

3. A subspace is a vector space living inside another

Concept

Fix a vector space V over a field F. A subspace is a subset of V that is itself a vector space, using the very same addition and scalar multiplication.

\( W \subseteq V \)

The key word is inside: W borrows the operations of V, it does not invent new ones.

subspace — A subset W of a vector space V that contains the zero vector and is closed under addition and scalar multiplication; it is then a vector space in its own right.

4. Break it if you can: A subspace is a vector space living inside another

Counterexample

Discussion prompt

Fix a vector space V over a field F. A subspace is a subset of V that is itself a vector space, using the very same addition and scalar multiplication.

That is stated as though it always holds. Do one of two things: produce a case where it fails, or say precisely what rules such a case out. "It just does" is not on the menu.

Hint: Hunt at the extremes first — zero, one, negative, empty, equal. If every extreme survives, the reason they survive is the proof.

Answer:

The key word is inside: W borrows the operations of V, it does not invent new ones.

5. Every space owns two subspaces for free

Concept

Two subspaces come with every vector space at no cost.

\( \{\mathbf{0}\} \quad \text{and} \quad V \)

The first is the zero subspace, holding only the origin. The second is the whole space. Both trivially pass every test.

trivial subspaces — The zero subspace, containing only the zero vector, and the entire space V itself. Any subspace strictly between them is called proper and nonzero.

6. Take the definitions apart: subspace vs trivial subspaces

Definition probe

Sort into buckets

Every line below is part of the definition of subspace or of trivial subspaces — one or the other, never both. Put each where it belongs.

subspace
A subset W of a vector space V that contains the zero vector and is closed under addition and scalar multiplication; it is then a vector space in its own right.
trivial subspaces
The zero subspace, containing only the zero vector, and the entire space V itself.; Any subspace strictly between them is called proper and nonzero.
b1
A subset W of a vector space V that contains the zero vector and is closed under addition and scalar multiplication; it is then a vector space in its own right.
b2
The zero subspace, containing only the zero vector, and the entire space V itself. Any subspace strictly between them is called proper and nonzero.

7. Picture it first: Picture: subspaces are flats through the origin

Picture it

Figure (svg): Coordinate axes and a diagonal line all passing through the origin, each a subspace of the plane.

Discussion prompt

Read the picture before the words. What is this showing, and what is the one thing it is built to make obvious? Commit to an answer, then read on.

Hint: Name the parts, then say what changes between them — and if nothing changes, say what is being held still.

Answer:

In the plane the subspaces are exactly three shapes: just the origin, any straight line through the origin, and the whole plane.

8. Picture: subspaces are flats through the origin

Intuition

In the plane the subspaces are exactly three shapes: just the origin, any straight line through the origin, and the whole plane.

Figure (svg): Coordinate axes and a diagonal line all passing through the origin, each a subspace of the plane.

Every subspace must pass through the origin. A flat that misses the origin is an affine set, not a subspace.

9. By analogy: Picture: subspaces are flats through the origin

Analogy

Discussion prompt

Explain Picture: subspaces are flats through the origin by analogy to something with no Foundations of Higher Mathematics in it at all — a queue, a recipe, a map, a bank balance, whatever fits. Then say where your analogy breaks.

Hint: An analogy that never breaks is not an analogy, it is the same idea wearing a hat. Find the seam — that is the part that is actually new.

Answer:

In the plane the subspaces are exactly three shapes: just the origin, any straight line through the origin, and the whole plane.

10. The subspace test: three conditions

Concept

You rarely re-check all eight vector-space axioms. Instead you use the subspace test.

A nonempty subset W of V is a subspace exactly when both closure conditions hold. First, closure under addition:

\( \mathbf{u}, \mathbf{w} \in W \ \Rightarrow\ \mathbf{u} + \mathbf{w} \in W \)

Second, closure under scalar multiplication:

\( c \in F,\ \mathbf{w} \in W \ \Rightarrow\ c\,\mathbf{w} \in W \)

Nonemptiness is checked in practice by confirming the zero vector lies in W.

\( \mathbf{0} \in W \)

11. Teach it back: The subspace test: three conditions

Explain it

Discussion prompt

Explain The subspace test: three conditions to a student a year behind you. No notation, no jargon they have not met — and it still has to be true.

Hint: If your explanation needs a symbol they have never seen, you are describing the notation rather than the idea.

Answer:

You rarely re-check all eight vector-space axioms. Instead you use the subspace test.

12. Why two closures are enough

Intuition

The remaining axioms — associativity, commutativity, distributivity — are inherited automatically, because they already hold everywhere in V and W simply reuses them.

You only have to guarantee you never leave W. Closure under addition and scalar multiplication does exactly that.

Taking the scalar to be zero forces the zero vector in, and taking it to be negative one forces additive inverses in. So closure under scalars quietly hands you the rest.

13. Recipe: is a set W a subspace?

Pattern

1. Check the zero vector is in W

Why: If the origin is missing, stop immediately: W is not a subspace. This also confirms W is nonempty.

2. Take two arbitrary elements of W and add them

Why: Show the sum still satisfies the defining condition of W. This is closure under addition.

3. Take an arbitrary scalar times an arbitrary element

Why: Show the result still lies in W. This is closure under scalar multiplication.

4. Conclude

Why: If all three hold, W is a subspace. If any fails, exhibit one concrete counterexample and you are done.

14. What has to happen first: A line through the origin is a subspace

Ranking

Put in order

Put the moves of A line through the origin is a subspace into the order they have to happen.

  1. Confirm the zero vector is in W
  2. Add two elements of W
  3. Scale an element of W
  4. Verify against the subspace test

Why: These are the moves of the worked example in the order it makes them, and each one is set up by the one before it. Set the parameter to zero to get the origin, so W is nonempty and contains the origin.

15. A line through the origin is a subspace

Worked example

Take the line through the origin with slope two in the plane.

\( W = \{ (t, 2t) : t \in \mathbb{R} \} \)

Confirm the zero vector is in W

Why: Set the parameter to zero to get the origin, so W is nonempty and contains the origin.

\( t = 0 \ \Rightarrow\ (0,0) \in W \)

Add two elements of W

Why: A general element has first coordinate free and second coordinate twice it; the sum keeps that shape.

\( (a,2a) + (b,2b) = (a+b,\ 2(a+b)) \in W \)

Scale an element of W

Why: Multiplying by any scalar preserves the ratio between the two coordinates.

\( c\,(a,2a) = (ca,\ 2(ca)) \in W \)

Verify against the subspace test

Why: Zero vector present, closed under addition, closed under scalars. All three conditions hold, so W is a subspace of the plane.

\( W \le \mathbb{R}^2 \)

16. A line through the origin is a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "A line through the origin is a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: Zero vector present, closed under addition, closed under scalars. All three conditions hold, so W is a subspace of the plane.

17. Plan first: A plane through the origin is a subspace

Step zero

Discussion prompt

A plane through the origin is a subspace — before any calculation: what is the plan? Name the moves in order, in plain English, without doing the arithmetic.

Hint: It starts with: Check the zero vector

Answer:

  1. Check the zero vector
  2. Add two solutions
  3. Scale a solution
  4. Verify the conclusion

18. A plane through the origin is a subspace

Worked example

Take the set of points in space whose coordinates sum to zero.

\( W = \{ (x,y,z) \in \mathbb{R}^3 : x + y + z = 0 \} \)

Check the zero vector

Why: The coordinates of the origin sum to zero, so the origin satisfies the defining equation.

\( 0 + 0 + 0 = 0 \)

Add two solutions

Why: If each triple has coordinates summing to zero, the coordinatewise sums add to zero as well.

\( (x_1+x_2)+(y_1+y_2)+(z_1+z_2) = 0 + 0 = 0 \)

Scale a solution

Why: Multiplying the defining equation by a scalar keeps the right-hand side zero.

\( c x + c y + c z = c(x+y+z) = c\cdot 0 = 0 \)

Verify the conclusion

Why: All three test conditions hold. W is a plane through the origin, hence a subspace of three-space.

\( W \le \mathbb{R}^3 \)

19. A plane through the origin is a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "A plane through the origin is a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The coordinates of the origin sum to zero, so the origin satisfies the defining equation.

20. Something is wrong here: a flat that misses the origin

Anomaly

Predict first

A student writes this, and it looks reasonable:

Claim: the line with slope two and intercept one is a subspace, since adding points on it looks fine.

It is wrong. Say what breaks — and say it before you turn the page.

Correct: A subspace must contain the origin.

The honest subspace is the parallel line through the origin — drop the intercept.

Why: A subspace must contain the origin. On this line the second coordinate is twice the first plus one, which cannot be zero when the first coordinate is zero.

21. Trap: a flat that misses the origin

Trap

The trap

Claim: the line with slope two and intercept one is a subspace, since adding points on it looks fine.

\( L = \{ (t,\ 2t+1) : t \in \mathbb{R} \} \)

Test the zero vector first

Why: A subspace must contain the origin. On this line the second coordinate is twice the first plus one, which cannot be zero when the first coordinate is zero.

\( 2\cdot 0 + 1 = 1 \neq 0 \ \Rightarrow\ (0,0) \notin L \)

Addition escapes too

Why: Adding two points of the line doubles the intercept, landing on the parallel line with intercept two, not on the original.

\( (0,1)+(1,3) = (1,4),\quad 2\cdot 1 + 1 = 3 \neq 4 \)

The fix

The honest subspace is the parallel line through the origin — drop the intercept.

\( W = \{ (t,\ 2t) : t \in \mathbb{R} \} \)

This one passes the test

Why: The origin lies on W and both closures hold. Only flats through the origin can be subspaces; the line L was merely an affine shift of W.

22. Decode the notation: Trap: a flat that misses the origin

Notation

Annotate

From Trap: a flat that misses the origin — read this one piece at a time. What is each part doing?

On: \( L = \{ (t,\ 2t+1) : t \in \mathbb{R} \} \)

  • A subspace must contain the origin. On this line the second coordinate is twice the first plus one, which cannot be zero when the first coordinate is zero.
  • Adding two points of the line doubles the intercept, landing on the parallel line with intercept two, not on the original.
  • The origin lies on W and both closures hold. Only flats through the origin can be subspaces; the line L was merely an affine shift of W.

23. Rule out three: Check: which set is a subspace?

Elimination

Eliminate the wrong options

Which of these subsets of the plane is a subspace?

3 of these 4 are wrong. Strike them one at a time, and say what rules each one out before you strike the next. The survivor is the answer.

  • A. All points with y equal to three times x
  • B. All points with y equal to three times x plus two
  • C. All points with x greater than or equal to zero
  • D. All points with x times y equal to zero

Survives elimination: A

Why: This is a line through the origin: it contains the origin and is closed under addition and scalar multiplication, so it passes the subspace test.

24. Check: which set is a subspace?

Check

Pick the subset of the plane that is a subspace.

Check your understanding

Which of these subsets of the plane is a subspace?

  • A. All points with y equal to three times x (correct)
  • B. All points with y equal to three times x plus two
  • C. All points with x greater than or equal to zero
  • D. All points with x times y equal to zero

Answer: A

Why: This is a line through the origin: it contains the origin and is closed under addition and scalar multiplication, so it passes the subspace test.

Why B tempts people
This line has intercept two, so it misses the origin; no subspace can omit the zero vector.
Why C tempts people
The half-plane contains the point one-zero but not its scalar multiple by negative one, so it fails closure under scalars.
Why D tempts people
This is the union of the two axes; it contains one-zero and zero-one but not their sum one-one, so it fails closure under addition.

25. Every subspace contains the zero vector

Concept

This deserves its own billing because it is the fastest disqualifier there is.

Closure under scalar multiplication, applied with the scalar zero, forces the zero vector into any nonempty subspace.

\( 0 \cdot \mathbf{w} = \mathbf{0} \in W \)

So the very first thing to check for any candidate subspace is whether the origin belongs. If it does not, you can stop.

26. Guess the shape of the answer: Homogeneous solutions form a subspace

Estimation

Predict first

Consider the solution set of a homogeneous linear system, written as a matrix times a vector equal to the zero vector.

Commit before you compute: what does Homogeneous solutions form a subspace come out to? A rough magnitude and the right form is enough — the point is to have something concrete to be wrong about.

Correct: Verify the contrast

Why: A prediction you can defend turns the computation into a check rather than a leap of faith — and an answer that contradicts it is caught on the spot. The homogeneous set passed all three tests and is a subspace; the inhomogeneous set fails at the origin and is only an affine translate of it.

27. Homogeneous solutions form a subspace

Worked example

Consider the solution set of a homogeneous linear system, written as a matrix times a vector equal to the zero vector.

\( W = \{ \mathbf{x} \in \mathbb{R}^n : A\mathbf{x} = \mathbf{0} \} \)

The zero vector solves it

Why: The matrix times the zero vector is the zero vector, so the origin is in W.

\( A\mathbf{0} = \mathbf{0} \)

Sums of solutions solve it

Why: Matrix multiplication is linear, so the sum of two solutions is again a solution.

\( A(\mathbf{x}+\mathbf{y}) = A\mathbf{x} + A\mathbf{y} = \mathbf{0} \)

Scalar multiples solve it

Why: Pulling the scalar through the matrix keeps the right-hand side zero.

\( A(c\mathbf{x}) = c\,A\mathbf{x} = \mathbf{0} \)

Contrast the inhomogeneous case

Why: If the right-hand side is nonzero, the origin fails the equation, so that solution set is not a subspace.

\( A\mathbf{x} = \mathbf{b},\ \mathbf{b} \neq \mathbf{0} \ \Rightarrow\ \mathbf{0} \notin \text{solutions} \)

Verify the contrast

Why: The homogeneous set passed all three tests and is a subspace; the inhomogeneous set fails at the origin and is only an affine translate of it.

28. Homogeneous solutions form a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "Homogeneous solutions form a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The homogeneous set passed all three tests and is a subspace; the inhomogeneous set fails at the origin and is only an affine translate of it.

29. Something is wrong here: closed under addition is not enough

Anomaly

Predict first

A student writes this, and it looks reasonable:

Claim: the integer grid in the plane is a subspace, since adding two integer points gives an integer point.

It is wrong. Say what breaks — and say it before you turn the page.

Correct: Multiply an integer point by one half and you leave the grid: half of the point one-zero is not an integer point.

A subspace must absorb every real scalar, not merely integer combinations.

Why: Multiply an integer point by one half and you leave the grid: half of the point one-zero is not an integer point.

30. Trap: closed under addition is not enough

Trap

The trap

Claim: the integer grid in the plane is a subspace, since adding two integer points gives an integer point.

\( W = \{ (m,n) : m,n \in \mathbb{Z} \} \)

Scalar closure fails

Why: Multiply an integer point by one half and you leave the grid: half of the point one-zero is not an integer point.

\( \tfrac{1}{2}(1,0) = (\tfrac{1}{2},0) \notin W \)

The fix

A subspace must absorb every real scalar, not merely integer combinations.

The honest subspace is the whole line

Why: Allowing all real multiples of the point one-zero fills the horizontal axis, which is closed under addition and under every real scalar.

\( \mathbb{R}\,(1,0) = \{ (t,0) : t \in \mathbb{R} \} \)

31. The intersection of subspaces is a subspace

Concept

Take two subspaces of the same space. Their intersection is the set of vectors lying in both at once.

\( U \cap W = \{ \mathbf{v} : \mathbf{v} \in U \ \text{and}\ \mathbf{v} \in W \} \)

This is always a subspace — no exceptions, no conditions.

32. Being in both keeps you balanced

Intuition

If a vector obeys the rules of U and also the rules of W, then any operation lands you back in U, because U is closed, and back in W, because W is closed. So you stay in both.

The two sets of constraints stack; they never conflict. That is why the intersection survives untouched.

33. What has to be given first: Prove the intersection is a subspace

Missing information

Discussion prompt

Let U and W be subspaces of V. Show their intersection is a subspace.

What do you need to know — or decide — before the first line can be written? List everything the problem has to hand you.

Hint: Anything you would have to invent to get started is a thing the problem must supply.

Answer:

Each subspace contains the origin, so the origin lies in their intersection.

34. Prove the intersection is a subspace

Worked example

Let U and W be subspaces of V. Show their intersection is a subspace.

\( U \le V, \quad W \le V \)

The zero vector is in both

Why: Each subspace contains the origin, so the origin lies in their intersection.

\( \mathbf{0} \in U \ \text{and}\ \mathbf{0} \in W \ \Rightarrow\ \mathbf{0} \in U \cap W \)

Closed under addition

Why: Take two vectors in the intersection. They lie in U so their sum does, and they lie in W so their sum does; hence the sum is in both.

\( \mathbf{u},\mathbf{v} \in U\cap W \ \Rightarrow\ \mathbf{u}+\mathbf{v} \in U \cap W \)

Closed under scalars

Why: A scalar multiple of a vector that lies in both U and W stays in U and stays in W.

\( c\mathbf{u} \in U \cap W \)

Verify all three conditions

Why: The origin is present and both closures hold, so the intersection passes the subspace test. The argument never used that there were only two subspaces.

35. Prove the intersection is a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "Prove the intersection is a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The origin is present and both closures hold, so the intersection passes the subspace test. The argument never used that there were only two subspaces.

36. Arbitrary intersections work too

Concept

The proof used nothing about the number of subspaces. Intersecting any collection, even infinitely many, still yields a subspace.

\( \bigcap_{i \in I} U_i \ \le\ V \)

This is what makes the next idea precise: the smallest subspace containing a set is the intersection of all subspaces that contain it.

37. Answer it before you see the options: Check: is the intersection a subspace?

Prediction

Predict first

For subspaces U and W of three-space, which statement is always true?

Answer it in your own words, now, with nothing to choose from. The options are on the next slide — and picking the right one off a list is an easier skill than producing it.

Correct: Their intersection is a subspace of three-space

Why: The intersection always contains the origin and is closed under addition and scalar multiplication, so it is a subspace no matter how U and W are positioned.

38. Check: is the intersection a subspace?

Check

Let U and W be subspaces of three-space. Which statement is always true?

Check your understanding

For subspaces U and W of three-space, which statement is always true?

  • A. Their intersection is a subspace of three-space (correct)
  • B. Their intersection is a subspace only if one contains the other
  • C. Their intersection is empty unless U equals W
  • D. Their intersection has dimension equal to the smaller of the two dimensions

Answer: A

Why: The intersection always contains the origin and is closed under addition and scalar multiplication, so it is a subspace no matter how U and W are positioned.

Why B tempts people
Nesting is not required; the closure argument uses only that each vector lies in both subspaces.
Why C tempts people
The intersection is never empty because it always contains the zero vector, which lies in every subspace.
Why D tempts people
Two distinct planes meet in a line while two equal planes meet in a plane, so the dimension is not fixed by the smaller one.

39. The union of subspaces usually fails

Concept

The union of two subspaces is the set of vectors lying in at least one of them.

\( U \cup W = \{ \mathbf{v} : \mathbf{v} \in U \ \text{or}\ \mathbf{v} \in W \} \)

Unlike the intersection, this is usually not a subspace.

40. Picture it first: Two lines make an L, and adding steps off it

Picture it

Figure (svg): The horizontal and vertical axes forming a cross, with a diagonal arrow from the origin to the point one-one, which lies on neither axis.

Discussion prompt

Read the picture before the words. What is this showing, and what is the one thing it is built to make obvious? Commit to an answer, then read on.

Hint: Name the parts, then say what changes between them — and if nothing changes, say what is being held still.

Answer:

Picture the two coordinate axes. A vector on the first axis plus a vector on the second points diagonally — off both axes. The sum escaped the union.

41. Two lines make an L, and adding steps off it

Intuition

Figure (svg): The horizontal and vertical axes forming a cross, with a diagonal arrow from the origin to the point one-one, which lies on neither axis.

Picture the two coordinate axes. A vector on the first axis plus a vector on the second points diagonally — off both axes. The sum escaped the union.

42. Plan first: The union of the two axes is not a subspace

Step zero

Discussion prompt

The union of the two axes is not a subspace — before any calculation: what is the plan? Name the moves in order, in plain English, without doing the arithmetic.

Hint: It starts with: Pick one vector from each axis

Answer:

  1. Pick one vector from each axis
  2. Check membership of the sum
  3. Verify the failure

43. The union of the two axes is not a subspace

Worked example

Let U be the horizontal axis and W the vertical axis in the plane.

\( U = \{(t,0) : t \in \mathbb{R}\},\quad W = \{(0,s) : s \in \mathbb{R}\} \)

Pick one vector from each axis

Why: The point one-zero lies in U and zero-one lies in W, so both belong to the union.

\( (1,0) \in U \subseteq U\cup W,\quad (0,1) \in W \subseteq U \cup W \)

Add them

Why: Their sum is the diagonal vector, which lies on neither axis.

\( (1,0)+(0,1) = (1,1) \)

Check membership of the sum

Why: The point one-one has both coordinates nonzero, so it sits on neither the horizontal nor the vertical axis.

\( (1,1) \notin U \cup W \)

Verify the failure

Why: We exhibited two elements of the union whose sum leaves it, so closure under addition fails and the union is not a subspace.

44. The union of the two axes is not a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "The union of the two axes is not a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The point one-one has both coordinates nonzero, so it sits on neither the horizontal nor the vertical axis.

45. Complete the line: Trap: is a union of subspaces a subspace?

Fill the middle

Fill in the blanks

From Trap: is a union of subspaces a subspace? — finish the line. Write what belongs on the right of the equals sign before you look.

(1,0)+(0,1) = (1,1) \notin U \cup W

Why: Producing the right-hand side unprompted is the difference between recognising this line and being able to use it. The union of the two axes contains one-zero and zero-one but not their sum one-one, so closure under addition fails.

46. Trap: is a union of subspaces a subspace?

Trap

The trap

Claim: the union of two subspaces is a subspace, since each piece is.

Counterexample from the axes

Why: The union of the two axes contains one-zero and zero-one but not their sum one-one, so closure under addition fails.

\( (1,0)+(0,1) = (1,1) \notin U \cup W \)

The fix

The union is a subspace exactly when one of the two subspaces contains the other.

The nested case works

Why: If U sits inside W then the union is just W, already a subspace. Otherwise you can always add one vector from each and escape.

\( U \subseteq W \ \Rightarrow\ U \cup W = W \)

47. Say it in words: Trap: is a union of subspaces a subspace?

Translation

\( U \subseteq W \ \Rightarrow\ U \cup W = W \)

Draw it

Translate both ways. First write the expression above as a sentence with no symbols in it at all. Then cover it, and write your sentence back as notation. If the two versions disagree, the disagreement is the thing to fix.

48. Check: when is a union a subspace?

Check

For subspaces U and W of V, complete the statement.

Check your understanding

The union of two subspaces U and W is a subspace if and only if:

  • A. One of them is contained in the other (correct)
  • B. Their intersection is only the zero vector
  • C. Always
  • D. They are equal

Answer: A

Why: A union of two subspaces is closed under addition only when one contains the other; then the union equals the larger subspace. Otherwise a cross sum escapes it.

Why B tempts people
Trivial intersection is the direct-sum condition, not what rescues a union; the two axes meet only at the origin yet their union is not a subspace.
Why C tempts people
The two coordinate axes give a union that fails closure under addition, so 'always' is false.
Why D tempts people
Equality is sufficient but far too strong; merely nesting one subspace inside the other already suffices.

49. The sum of two subspaces

Concept

To repair the union, do not just collect the two sets — collect every vector you can build by adding one from each.

\( U + W = \{ \mathbf{u} + \mathbf{w} : \mathbf{u} \in U,\ \mathbf{w} \in W \} \)

sum of subspaces — The set of all sums of a vector from U and a vector from W. It is the smallest subspace containing both U and W.

50. Reachable by one step from each

Intuition

The union only lets you stand on one piece at a time. The sum lets you take a step along U and then a step along W, reaching everything in between.

That extra freedom is exactly what closes up the gaps the union left open.

51. The sum is the smallest subspace containing both

Concept

The sum is not merely some subspace containing U and W — it is the smallest one.

\( U + W = \bigcap \{ S \le V : U \subseteq S,\ W \subseteq S \} \)

Any subspace that contains both U and W must contain all of their pairwise sums, so it contains the sum. And the sum is itself such a subspace, so it is the least one.

52. Subspaces form a lattice

Concept

The subspaces of V sit in a structure with two operations: intersection acts as a greatest lower bound and sum acts as a least upper bound.

\( U \wedge W = U \cap W, \qquad U \vee W = U + W \)

Intersection is the largest subspace inside both; sum is the smallest subspace containing both. That is exactly a lattice, ordered by inclusion.

53. Complete the line: Prove the sum is a subspace

Fill the middle

Fill in the blanks

From Prove the sum is a subspace — finish the line. Write what belongs on the right of the equals sign before you look.

(\mathbf(\mathbf{u}_1+\mathbf{u}_2)+(\mathbf{w}_1+\mathbf{w}_2)_1+\mathbf____1)+(\mathbf____2+\mathbf____2) = ___

Why: Producing the right-hand side unprompted is the difference between recognising this line and being able to use it. Write the origin as the origin plus the origin, one term drawn from each subspace.

54. Prove the sum is a subspace

Worked example

Show the sum of two subspaces is itself a subspace.

\( U \le V, \quad W \le V \)

The zero vector

Why: Write the origin as the origin plus the origin, one term drawn from each subspace.

\( \mathbf{0} = \mathbf{0} + \mathbf{0} \in U + W \)

Closed under addition

Why: Add two elements of the sum and regroup so the U parts combine and the W parts combine, using that each subspace is closed.

\( (\mathbf{u}_1+\mathbf{w}_1)+(\mathbf{u}_2+\mathbf{w}_2) = (\mathbf{u}_1+\mathbf{u}_2)+(\mathbf{w}_1+\mathbf{w}_2) \)

Closed under scalars

Why: Distribute the scalar across the two parts; each part stays inside its own subspace.

\( c(\mathbf{u}+\mathbf{w}) = c\mathbf{u} + c\mathbf{w} \in U + W \)

Verify the test

Why: Origin present, both closures hold, so the sum is a subspace. It contains U by taking the W part to be zero, and contains W by taking the U part to be zero.

55. Prove the sum is a subspace — line by line

Picture it

Animation

Shows: Each line of the worked example "Prove the sum is a subspace", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: Origin present, both closures hold, so the sum is a subspace. It contains U by taking the W part to be zero, and contains W by taking the U part to be zero.

56. Recipe: describe a sum by spanning sets

Pattern

1. Write a spanning set for U and one for W

Why: Say U is spanned by one list of vectors and W by another.

2. Pool the two spanning sets

Why: The union of the two lists spans the sum, because every element of the sum is a combination from U plus a combination from W.

3. Reduce to a basis

Why: Discard dependent vectors to read off a basis and the dimension of the sum.

\( U + W = \operatorname{span}\big(\text{spanning set of } U \ \cup\ \text{spanning set of } W\big) \)

57. State the rule before it runs: The sum of two distinct lines fills the…

Hypothesis

Predict first

The sum of two distinct lines fills the plane is about to be worked. State your hypothesis first: which rule or definition decides this one, and what is the first move it forces? Then watch whether the example agrees with you.

Correct: Pool the spanning vectors

Why: The sum is spanned by the two direction vectors together.

A hypothesis you wrote down is falsifiable; a vague sense of how it will go is not. If the example opens somewhere else, that gap is the thing worth chasing.

58. The sum of two distinct lines fills the plane

Worked example

Let U be the horizontal axis and W the line through the origin with slope one.

\( U = \operatorname{span}\{(1,0)\},\quad W = \operatorname{span}\{(1,1)\} \)

Pool the spanning vectors

Why: The sum is spanned by the two direction vectors together.

\( U + W = \operatorname{span}\{(1,0),(1,1)\} \)

Check independence

Why: The two vectors are not multiples of each other, so they are independent and span a two-dimensional space.

\( \det\begin{pmatrix}1 & 1\\ 0 & 1\end{pmatrix} = 1 \neq 0 \)

Identify the sum

Why: Two independent vectors in the plane span the whole plane.

\( U + W = \mathbb{R}^2 \)

Verify by hitting a target

Why: A general point is reached explicitly, confirming the sum is all of the plane.

\( (x,y) = (x-y)(1,0) + y(1,1) \)

59. The sum of two distinct lines fills the plane — line by line

Picture it

Animation

Shows: Each line of the worked example "The sum of two distinct lines fills the plane", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The two vectors are not multiples of each other, so they are independent and span a two-dimensional space.

60. Something is wrong here: the sum is not the union

Anomaly

Predict first

A student writes this, and it looks reasonable:

Claim: the sum is just the union of U and W collected together.

It is wrong. Say what breaks — and say it before you turn the page.

Correct: The union of the two axes is only the cross shape, but the sum is the entire plane, which is far larger.

The sum contains the union but also adds every cross term.

Why: The union of the two axes is only the cross shape, but the sum is the entire plane, which is far larger.

61. Trap: the sum is not the union

Trap

The trap

Claim: the sum is just the union of U and W collected together.

Count the axes example

Why: The union of the two axes is only the cross shape, but the sum is the entire plane, which is far larger.

\( U \cup W \subsetneq U + W = \mathbb{R}^2 \)

The fix

The sum contains the union but also adds every cross term.

Every diagonal appears in the sum

Why: The point one-one, absent from the union, equals one-zero plus zero-one, so it lives in the sum.

\( (1,1) = (1,0)+(0,1) \in U + W \)

62. Break it on purpose: the sum is not the union

Break the constraint

Discussion prompt

The rule this trap just fixed:

The point one-one, absent from the union, equals one-zero plus zero-one, so it lives in the sum.

Now break it on purpose. Build a case that violates it and follow the consequences until something visibly fails. Where does the failure first show up — and would you have noticed it if you had not been looking?

Hint: The dangerous rules are the ones whose violation still produces an answer. If yours fails loudly, try to find one that fails quietly.

Answer:

The union of the two axes is only the cross shape, but the sum is the entire plane, which is far larger.

63. How sure are you: Check: what is the sum of two lines?

Commit first

Predict first

In three-space, with U the span of one-zero-zero and W the span of zero-one-zero, what is the sum of U and W?

Commit to an answer, then rate it — certain, fairly sure, or guessing — and write the rating down before you turn the page.

Correct: The plane of all points with third coordinate zero

Why: The sum is spanned by one-zero-zero and zero-one-zero, two independent vectors, so it is the two-dimensional plane of points whose third coordinate is zero.

The rating matters as much as the answer: confident-and-wrong is the combination that survives revision, because nothing about it feels like it needs revisiting.

64. Check: what is the sum of two lines?

Check

In three-space, let U be the span of one-zero-zero and W the span of zero-one-zero.

Check your understanding

In three-space, with U the span of one-zero-zero and W the span of zero-one-zero, what is the sum of U and W?

  • A. The plane of all points with third coordinate zero (correct)
  • B. The union of the two axes
  • C. All of three-space
  • D. The line spanned by one-one-zero

Answer: A

Why: The sum is spanned by one-zero-zero and zero-one-zero, two independent vectors, so it is the two-dimensional plane of points whose third coordinate is zero.

Why B tempts people
The sum strictly contains the union; it also holds every combination such as one-one-zero, which is on neither axis.
Why C tempts people
Two vectors span at most a plane; a third independent vector would be needed to reach all of three-space.
Why D tempts people
A single line is one-dimensional, but the sum of two independent lines is two-dimensional.

65. Direct sum: a sum with no overlap

Concept

A sum is called direct when the two subspaces meet only at the origin.

\( U \oplus W \ \text{means} \ U + W \ \text{with} \ U \cap W = \{\mathbf{0}\} \)

direct sum — A sum U + W in which the intersection of U and W contains only the zero vector. It is written with the circled-plus symbol.

66. Term to definition: Subspaces, Sums & Direct Sums

Matching

Match the pairs

Match each term to the definition this lesson gave it — not the one you would guess from the word.

  • t1. subspace
  • t2. trivial subspaces
  • t3. sum of subspaces
  • t4. direct sum
  • d1. A subset W of a vector space V that contains the zero vector and is closed under addition and scalar multiplication; it is then a vector space in its own right.
  • d2. The zero subspace, containing only the zero vector, and the entire space V itself. Any subspace strictly between them is called proper and nonzero.
  • d3. The set of all sums of a vector from U and a vector from W. It is the smallest subspace containing both U and W.
  • d4. A sum U + W in which the intersection of U and W contains only the zero vector. It is written with the circled-plus symbol.

Why: These are the working definitions of subspace, trivial subspaces, sum of subspaces, direct sum as Subspaces, Sums & Direct Sums uses them. Pairing them correctly is the test of whether you could state each one with the slide switched off.

67. No overlap means no wasted description

Intuition

If the two pieces shared a nonzero vector, that vector could be described using either piece, creating ambiguity. A trivial intersection removes the ambiguity.

Direct means each vector of the sum has one and only one way to be split into a U part and a W part.

68. Direct sum equals unique decomposition

Concept

Here is the central theorem, stated as an equivalence.

\( U \cap W = \{\mathbf{0}\} \iff \text{every } \mathbf{v} \in U+W \text{ splits uniquely as } \mathbf{u}+\mathbf{w} \)

Trivial intersection and unique decomposition are two names for the same condition.

69. Uniqueness gives you coordinates

Intuition

Once each vector splits uniquely, the U part and the W part behave like a pair of coordinates. This is the abstract version of writing a plane vector as its horizontal part plus its vertical part.

70. What has to happen first: The plane is the direct sum of its axes

Ranking

Put in order

Put the moves of The plane is the direct sum of its axes into the order they have to happen.

  1. The sum is everything
  2. The intersection is trivial
  3. The decomposition is unique
  4. Verify both defining conditions

Why: These are the moves of the worked example in the order it makes them, and each one is set up by the one before it. Any point splits as its horizontal part plus its vertical part, so the sum is the whole plane.

71. The plane is the direct sum of its axes

Worked example

Show the plane is the direct sum of the horizontal and vertical axes.

\( U = \{(t,0)\},\quad W = \{(0,s)\} \)

The sum is everything

Why: Any point splits as its horizontal part plus its vertical part, so the sum is the whole plane.

\( (x,y) = (x,0)+(0,y) \)

The intersection is trivial

Why: A point on both axes has second coordinate zero (on U) and first coordinate zero (on W), so it is the origin.

\( U \cap W = \{(0,0)\} \)

The decomposition is unique

Why: Matching coordinates in two candidate splittings forces them to agree.

\( (x,0)+(0,y) = (a,0)+(0,b) \ \Rightarrow\ x=a,\ y=b \)

Verify both defining conditions

Why: The sum is all of the plane and the intersection is only the origin, so the sum is direct; uniqueness followed automatically.

\( \mathbb{R}^2 = U \oplus W \)

72. The plane is the direct sum of its axes — line by line

Picture it

Animation

Shows: Each line of the worked example "The plane is the direct sum of its axes", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The sum is all of the plane and the intersection is only the origin, so the sum is direct; uniqueness followed automatically.

73. Guess the shape of the answer: Trivial intersection forces unique…

Estimation

Predict first

Prove one direction of the theorem: a trivial intersection makes every splitting unique.

Commit before you compute: what does Trivial intersection forces unique decomposition come out to? A rough magnitude and the right form is enough — the point is to have something concrete to be wrong about.

Correct: Verify uniqueness

Why: A prediction you can defend turns the computation into a check rather than a leap of faith — and an answer that contradicts it is caught on the spot. Both differences are the zero vector, so the two U parts agree and the two W parts agree; the decompositions were identical.

74. Trivial intersection forces unique decomposition

Worked example

Prove one direction of the theorem: a trivial intersection makes every splitting unique.

\( U \cap W = \{\mathbf{0}\} \)

Assume two decompositions

Why: Suppose a vector equals one U-plus-W splitting and also a second one.

\( \mathbf{u}_1+\mathbf{w}_1 = \mathbf{u}_2+\mathbf{w}_2 \)

Rearrange onto each side

Why: Move the U terms to the left and the W terms to the right; the left side lies in U and the right side lies in W, yet they are equal.

\( \mathbf{u}_1-\mathbf{u}_2 = \mathbf{w}_2-\mathbf{w}_1 \)

Land in the intersection

Why: That common vector lies in both U and W, hence in the intersection, which is only the origin.

\( \mathbf{u}_1-\mathbf{u}_2 = \mathbf{w}_2-\mathbf{w}_1 \in U \cap W = \{\mathbf{0}\} \)

Verify uniqueness

Why: Both differences are the zero vector, so the two U parts agree and the two W parts agree; the decompositions were identical.

\( \mathbf{u}_1 = \mathbf{u}_2,\quad \mathbf{w}_1 = \mathbf{w}_2 \)

75. Trivial intersection forces unique decomposition — line by line

Picture it

Animation

Shows: Each line of the worked example "Trivial intersection forces unique decomposition", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: Both differences are the zero vector, so the two U parts agree and the two W parts agree; the decompositions were identical.

76. Internal versus external direct sum

Concept

There are two flavors. Internal: U and W already sit inside one space V and their sum happens to be direct. External: you build a brand-new space from two separate spaces by pairing their vectors.

\( U \oplus W \ (\text{external}) = \{ (\mathbf{u},\mathbf{w}) : \mathbf{u}\in U,\ \mathbf{w}\in W \} \)

The two notions line up: the external construction matches the internal one, up to relabeling, whenever the pieces intersect trivially.

77. Plan first: The external direct sum is a vector space

Step zero

Discussion prompt

The external direct sum is a vector space — before any calculation: what is the plan? Name the moves in order, in plain English, without doing the arithmetic.

Hint: It starts with: Scalars act slotwise

Answer:

  1. Scalars act slotwise
  2. Locate copies of U and W
  3. Verify it realizes an internal direct sum

78. The external direct sum is a vector space

Worked example

Build the external direct sum by pairing vectors and operating slot by slot.

\( (\mathbf{u}_1,\mathbf{w}_1)+(\mathbf{u}_2,\mathbf{w}_2) = (\mathbf{u}_1+\mathbf{u}_2,\ \mathbf{w}_1+\mathbf{w}_2) \)

Scalars act slotwise

Why: Multiply both slots by the scalar; each slot stays inside its own space.

\( c(\mathbf{u},\mathbf{w}) = (c\mathbf{u},\ c\mathbf{w}) \)

Locate copies of U and W

Why: The pairs with second slot zero form a copy of U; those with first slot zero form a copy of W.

\( \tilde U = \{(\mathbf{u},\mathbf{0})\},\quad \tilde W = \{(\mathbf{0},\mathbf{w})\} \)

Verify it realizes an internal direct sum

Why: Every pair splits uniquely as a U-copy plus a W-copy, and the two copies meet only at the zero pair, so the external build is an internal direct sum of those copies.

\( \tilde U \cap \tilde W = \{(\mathbf{0},\mathbf{0})\} \)

79. The external direct sum is a vector space — line by line

Picture it

Animation

Shows: Each line of the worked example "The external direct sum is a vector space", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: Every pair splits uniquely as a U-copy plus a W-copy, and the two copies meet only at the zero pair, so the external build is an internal direct sum of those copies.

80. Something is wrong here: spanning is not enough for directness

Anomaly

Predict first

A student writes this, and it looks reasonable:

Claim: since U and W together span the plane, their sum is direct.

It is wrong. Say what breaks — and say it before you turn the page.

Correct: U sits entirely inside W, so their intersection is all of U, not just the origin.

Spanning controls the sum; only a trivial intersection makes it direct.

Why: U sits entirely inside W, so their intersection is all of U, not just the origin.

81. Trap: spanning is not enough for directness

Trap

The trap

Claim: since U and W together span the plane, their sum is direct.

\( U = \operatorname{span}\{(1,0)\},\ W = \operatorname{span}\{(1,0),(0,1)\} \)

Check the intersection

Why: U sits entirely inside W, so their intersection is all of U, not just the origin.

\( U \cap W = U \neq \{\mathbf{0}\} \)

Decomposition is not unique

Why: The vector one-zero can be taken from U or drawn from W, giving two different splittings of the same vector.

The fix

Spanning controls the sum; only a trivial intersection makes it direct.

Use genuinely complementary pieces

Why: Replace W by the vertical axis. Now the pieces span the plane and meet only at the origin, so the sum is direct.

\( \operatorname{span}\{(1,0)\} \cap \operatorname{span}\{(0,1)\} = \{\mathbf{0}\} \)

82. Decode the notation: Trap: spanning is not enough for directness

Notation

Annotate

From Trap: spanning is not enough for directness — read this one piece at a time. What is each part doing?

On: \( \operatorname{span}\{(1,0)\} \cap \operatorname{span}\{(0,1)\} = \{\mathbf{0}\} \)

  • U sits entirely inside W, so their intersection is all of U, not just the origin.
  • The vector one-zero can be taken from U or drawn from W, giving two different splittings of the same vector.
  • Replace W by the vertical axis. Now the pieces span the plane and meet only at the origin, so the sum is direct.

83. Complementary subspaces exist

Concept

A subspace W is a complement of U when the whole space is the direct sum of U and W.

\( V = U \oplus W \)

In finite dimensions every subspace has a complement: extend a basis of U to a basis of V, and let the freshly added vectors span W. Complements are generally not unique.

84. Extend a basis to peel off a complement

Intuition

Start with a basis of U. Because it is independent, you can keep adding vectors until it becomes a basis of the entire space. The vectors you added span a complement of U.

Different choices of added vectors give different complements — there is no canonical one without extra structure such as an inner product.

85. What has to be given first: Even plus odd is a direct sum

Missing information

Discussion prompt

Let V be all real functions on the line, U the even functions, and W the odd functions.

What do you need to know — or decide — before the first line can be written? List everything the problem has to hand you.

Hint: Anything you would have to invent to get started is a thing the problem must supply.

Answer:

Write any function as its symmetric part plus its antisymmetric part.

86. Even plus odd is a direct sum

Worked example

Let V be all real functions on the line, U the even functions, and W the odd functions.

\( U = \{f : f(-x)=f(x)\},\quad W = \{g : g(-x)=-g(x)\} \)

Every function splits

Why: Write any function as its symmetric part plus its antisymmetric part.

\( f(x) = \underbrace{\tfrac{f(x)+f(-x)}{2}}_{\text{even}} + \underbrace{\tfrac{f(x)-f(-x)}{2}}_{\text{odd}} \)

Each part lands where claimed

Why: Replacing the input by its negative fixes the first part and flips the sign of the second, so they are even and odd respectively.

The intersection is trivial

Why: A function that is both even and odd equals both its reflection and the negative of its reflection, forcing it to be zero everywhere.

\( f(-x)=f(x)=-f(x) \ \Rightarrow\ f \equiv 0 \)

Verify the direct sum

Why: The sum reaches every function and the intersection is only the zero function, so the space of functions is the direct sum of even and odd parts.

\( V = U \oplus W \)

87. Even plus odd is a direct sum — line by line

Picture it

Animation

Shows: Each line of the worked example "Even plus odd is a direct sum", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The sum reaches every function and the intersection is only the zero function, so the space of functions is the direct sum of even and odd parts.

88. Answer it before you see the options: Check: is it a direct sum?

Prediction

Predict first

Is three-space the direct sum of U (the plane with third coordinate zero) and W (the span of zero-one-one)?

Answer it in your own words, now, with nothing to choose from. The options are on the next slide — and picking the right one off a list is an easier skill than producing it.

Correct: Yes: the intersection is only the origin and the dimensions add to three

Why: The only multiple of zero-one-one lying in the plane is the origin, so the intersection is trivial; with dimensions two and one summing to three, the direct sum fills all of three-space.

89. Check: is it a direct sum?

Check

In three-space let U be the plane of points with third coordinate zero, and W the span of zero-one-one.

Check your understanding

Is three-space the direct sum of U (the plane with third coordinate zero) and W (the span of zero-one-one)?

  • A. Yes: the intersection is only the origin and the dimensions add to three (correct)
  • B. No: U and W overlap along the second axis
  • C. No: W is not a subspace
  • D. Yes: because the union of U and W spans three-space

Answer: A

Why: The only multiple of zero-one-one lying in the plane is the origin, so the intersection is trivial; with dimensions two and one summing to three, the direct sum fills all of three-space.

Why B tempts people
W is the span of zero-one-one, not the second axis; its only vector inside the plane is the origin.
Why C tempts people
W is the span of a single vector, and every span is a subspace, so this reason is false.
Why D tempts people
Spanning alone would give the sum, but directness requires the trivial-intersection check, not a union-spanning claim.

90. The dimension formula

Concept

The dimensions of a sum obey an inclusion-exclusion law, sometimes named after Grassmann.

\( \dim(U+W) = \dim U + \dim W - \dim(U \cap W) \)

The overlap is subtracted once so it is not counted twice. The full proof, by extending a basis of the intersection, appears in the basis-and-dimension deck.

91. Inclusion-exclusion for flats

Intuition

It mirrors the counting rule for finite sets: the size of a union is the sum of the sizes minus the size of the overlap. Here 'size' is dimension and 'union' becomes the sum.

92. Guess the shape of the answer: Two planes through the origin in space

Estimation

Predict first

Take two distinct planes through the origin in three-space.

Commit before you compute: what does Two planes through the origin in space come out to? A rough magnitude and the right form is enough — the point is to have something concrete to be wrong about.

Correct: Verify with a concrete pair

Why: A prediction you can defend turns the computation into a check rather than a leap of faith — and an answer that contradicts it is caught on the spot. The plane with third coordinate zero and the plane with second coordinate zero meet exactly in the first axis, a line, confirming the intersection has dimension one.

93. Two planes through the origin in space

Worked example

Take two distinct planes through the origin in three-space.

\( \dim U = \dim W = 2,\quad U \neq W \)

The sum fills space

Why: Two distinct planes together contain three independent directions, so their sum is all of three-space.

\( \dim(U+W) = 3 \)

Apply the formula

Why: Rearrange the dimension formula to solve for the dimension of the intersection.

\( \dim(U\cap W) = \dim U + \dim W - \dim(U+W) = 2+2-3 = 1 \)

Interpret the answer

Why: A one-dimensional intersection is a line: two distinct planes through the origin meet exactly in a line.

Verify with a concrete pair

Why: The plane with third coordinate zero and the plane with second coordinate zero meet exactly in the first axis, a line, confirming the intersection has dimension one.

\( \{z=0\} \cap \{y=0\} = \{(t,0,0)\} \)

94. Two planes through the origin in space — line by line

Picture it

Animation

Shows: Each line of the worked example "Two planes through the origin in space", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The plane with third coordinate zero and the plane with second coordinate zero meet exactly in the first axis, a line, confirming the intersection has dimension one.

95. Direct sums add dimensions

Concept

When the sum is direct the overlap term vanishes, so the dimensions simply add.

\( V = U \oplus W \ \Rightarrow\ \dim V = \dim U + \dim W \)

This is the dimension bookkeeping behind splitting a space into independent pieces.

96. Something is wrong here: forgetting the overlap correction

Anomaly

Predict first

A student writes this, and it looks reasonable:

Claim: for two planes in three-space the sum has dimension two plus two, hence four.

It is wrong. Say what breaks — and say it before you turn the page.

Correct: No subspace of three-space can have dimension four; the naive addition ignored the shared line.

Subtract the dimension of the intersection.

Why: No subspace of three-space can have dimension four; the naive addition ignored the shared line.

97. Trap: forgetting the overlap correction

Trap

The trap

Claim: for two planes in three-space the sum has dimension two plus two, hence four.

\( \dim(U+W) \stackrel{?}{=} 2 + 2 = 4 \)

Impossible in three-space

Why: No subspace of three-space can have dimension four; the naive addition ignored the shared line.

\( \dim(U+W) \le 3 \)

The fix

Subtract the dimension of the intersection.

Use the full formula

Why: With a one-dimensional overlap the sum has dimension two plus two minus one, which is three — consistent with three-space.

\( \dim(U+W) = 2 + 2 - 1 = 3 \)

98. Which of these survive contact with Subspaces, Sums & Direct Sums?

Two truths and a lie

Sort into buckets

Some of these hold up and some are the exact mistakes this lesson is built to prevent. Sort them.

Holds up
Fix a vector space V over a field F. A subspace is a subset of V that is itself a vector space, using the very same addition and scalar multiplication.; Two subspaces come with every vector space at no cost.; In the plane the subspaces are exactly three shapes: just the origin, any straight line through the origin, and the whole plane.
Breaks
Claim: the line with slope two and intercept one is a subspace, since adding points on it looks fine.; Claim: the integer grid in the plane is a subspace, since adding two integer points gives an integer point.
sound
These are stated as this lesson states them — each one survives the edge cases Subspaces, Sums & Direct Sums puts it through.
flawed
Each of these is lifted from a trap in this deck: reasonable-sounding, and wrong in a way that only shows up once you rely on it.

99. Plan first: Two two-dimensional subspaces of space must meet

Step zero

Discussion prompt

Two two-dimensional subspaces of space must meet — before any calculation: what is the plan? Name the moves in order, in plain English, without doing the arithmetic.

Hint: It starts with: Bound the sum

Answer:

  1. Bound the sum
  2. Solve for the intersection
  3. Verify the bound is tight

100. Two two-dimensional subspaces of space must meet

Worked example

Prove any two two-dimensional subspaces of three-space share a nonzero vector.

\( \dim U = \dim W = 2 \ \text{in}\ \mathbb{R}^3 \)

Bound the sum

Why: The sum is a subspace of three-space, so its dimension is at most three.

\( \dim(U+W) \le 3 \)

Solve for the intersection

Why: Rearranged, the intersection dimension is at least two plus two minus three.

\( \dim(U \cap W) = 2 + 2 - \dim(U+W) \ge 4 - 3 = 1 \)

Conclude

Why: A dimension of at least one means the intersection contains a nonzero vector.

\( \dim(U \cap W) \ge 1 \)

Verify the bound is tight

Why: Two distinct planes meet in a line of dimension one and two equal planes meet in a plane of dimension two, so the bound of at least one is achieved and cannot be improved.

101. Two two-dimensional subspaces of space must meet — line by line

Picture it

Animation

Shows: Each line of the worked example "Two two-dimensional subspaces of space must meet", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: Two distinct planes meet in a line of dimension one and two equal planes meet in a plane of dimension two, so the bound of at least one is achieved and cannot be improved.

102. Check: dimension of a sum

Check

In four-space, suppose U has dimension three, W has dimension two, and their intersection has dimension one.

Check your understanding

In four-space, U has dimension three, W has dimension two, and their intersection has dimension one. What is the dimension of the sum?

  • A. 4 (correct)
  • B. 5
  • C. 6
  • D. 3

Answer: A

Why: By the dimension formula the sum has dimension three plus two minus one, which is four, so the sum is all of four-space.

Why B tempts people
This adds the two dimensions but forgets to subtract the one-dimensional overlap.
Why C tempts people
This adds everything without subtracting; the formula subtracts the intersection rather than adding it.
Why D tempts people
This is only the dimension of U; the W part contributes one extra dimension beyond the shared line.

103. What has to happen first: Deciding a direct-sum decomposition

Ranking

Put in order

Put the moves of Deciding a direct-sum decomposition into the order they have to happen.

  1. The intersection
  2. The dimensions add correctly
  3. The sum is everything
  4. Verify a decomposition

Why: These are the moves of the worked example in the order it makes them, and each one is set up by the one before it. A vector in both has third coordinate zero (in U) and first two coordinates zero (in W), so only the origin qualifies.

104. Deciding a direct-sum decomposition

Worked example

Let U be the plane with third coordinate zero and W the vertical axis in three-space.

\( U = \{(x,y,0)\},\quad W = \{(0,0,z)\} \)

The intersection

Why: A vector in both has third coordinate zero (in U) and first two coordinates zero (in W), so only the origin qualifies.

\( U \cap W = \{\mathbf{0}\} \)

The dimensions add correctly

Why: Two plus one equals three, matching the dimension of the whole space.

\( \dim U + \dim W = 2 + 1 = 3 = \dim \mathbb{R}^3 \)

The sum is everything

Why: A trivial intersection together with the matching total dimension forces the sum to be the whole space.

\( U + W = \mathbb{R}^3 \)

Verify a decomposition

Why: The point two-five-seven splits uniquely as two-five-zero plus zero-zero-seven, confirming the direct sum.

\( (2,5,7) = (2,5,0)+(0,0,7) \)

105. Deciding a direct-sum decomposition — line by line

Picture it

Animation

Shows: Each line of the worked example "Deciding a direct-sum decomposition", appearing one at a time.

The same working the example does, in the order a tutor would write it.

Takeaway: The point two-five-seven splits uniquely as two-five-zero plus zero-zero-seven, confirming the direct sum.

106. Sums of several subspaces

Concept

Sums extend to any finite list of subspaces: collect one vector from each piece and add them all.

\( U_1 + U_2 + \cdots + U_k = \{ \mathbf{u}_1 + \cdots + \mathbf{u}_k : \mathbf{u}_i \in U_i \} \)

The sum is direct when every vector splits uniquely, equivalently when each piece meets the sum of all the others only at the origin.

107. Pairwise trivial is not enough for many pieces

Intuition

For three or more subspaces, checking that each pair meets trivially is strictly weaker than genuine independence.

The correct test is that each subspace avoids the sum of all the others except at the origin. This is the same subtlety as pairwise-independent versus jointly-independent vectors.

108. Teach it back: Pairwise trivial is not enough for many pieces

Explain it

Discussion prompt

Explain Pairwise trivial is not enough for many pieces to a student a year behind you. No notation, no jargon they have not met — and it still has to be true.

Hint: If your explanation needs a symbol they have never seen, you are describing the notation rather than the idea.

Answer:

For three or more subspaces, checking that each pair meets trivially is strictly weaker than genuine independence.

109. Master decision recipe

Pattern

Subspace?

Why: Confirm the origin is present and both closures hold, or exhibit a failing sum or scalar multiple.

Sum?

Why: Pool spanning sets; the span of the pooled list is the sum. Its dimension comes from the dimension formula.

Direct?

Why: Confirm the intersection is only the origin, equivalently that every vector decomposes uniquely, equivalently that the dimensions add.

Complement?

Why: To split the whole space as a direct sum, extend a basis of U to a basis of the space; the added vectors span a complement.

110. Rule out three: Check: which is NOT equivalent to directness?

Elimination

Eliminate the wrong options

For finite-dimensional U and W, which condition is NOT equivalent to the sum U + W being direct?

3 of these 4 are wrong. Strike them one at a time, and say what rules each one out before you strike the next. The survivor is the answer.

  • A. U and W together span the whole space V
  • B. The intersection of U and W is only the zero vector
  • C. Every vector of the sum decomposes uniquely
  • D. The dimension of the sum equals the dimension of U plus the dimension of W

Survives elimination: A

Why: Directness is captured by trivial intersection, unique decomposition, or additive dimension; spanning V is a separate condition about the sum being all of V and says nothing about whether the sum is direct.

111. Check: which is NOT equivalent to directness?

Check

Let U and W be finite-dimensional subspaces. Three of these characterize a direct sum; one does not.

Check your understanding

For finite-dimensional U and W, which condition is NOT equivalent to the sum U + W being direct?

  • A. U and W together span the whole space V (correct)
  • B. The intersection of U and W is only the zero vector
  • C. Every vector of the sum decomposes uniquely
  • D. The dimension of the sum equals the dimension of U plus the dimension of W

Answer: A

Why: Directness is captured by trivial intersection, unique decomposition, or additive dimension; spanning V is a separate condition about the sum being all of V and says nothing about whether the sum is direct.

Why B tempts people
Trivial intersection is the definition of a direct sum, so it is equivalent, not the exception.
Why C tempts people
Unique decomposition is exactly equivalent to trivial intersection, so it is not the odd one out.
Why D tempts people
Additive dimension holds precisely when the intersection is trivial, so it is equivalent to directness.

112. CS tie: splitting a state space

Concept

Decomposing a space as a direct sum is how you separate independent degrees of freedom: symmetric and antisymmetric parts of a signal, even and odd components, or the independent registers of a machine state.

Each summand can be processed on its own and reassembled without loss, precisely because the decomposition is unique.

113. By analogy: CS tie: splitting a state space

Analogy

Discussion prompt

Explain CS tie: splitting a state space by analogy to something with no Foundations of Higher Mathematics in it at all — a queue, a recipe, a map, a bank balance, whatever fits. Then say where your analogy breaks.

Hint: An analogy that never breaks is not an analogy, it is the same idea wearing a hat. Find the seam — that is the part that is actually new.

Answer:

Each summand can be processed on its own and reassembled without loss, precisely because the decomposition is unique.

114. Why direct sums are the good decompositions

Intuition

A direct-sum decomposition is a lossless split: no information is duplicated across the pieces and none is lost, exactly because the intersection is trivial while the pieces together span.

115. Break it if you can: Why direct sums are the good decompositions

Counterexample

Discussion prompt

A direct-sum decomposition is a lossless split: no information is duplicated across the pieces and none is lost, exactly because the intersection is trivial while the pieces together span.

That is stated as though it always holds. Do one of two things: produce a case where it fails, or say precisely what rules such a case out. "It just does" is not on the menu.

Hint: Hunt at the extremes first — zero, one, negative, empty, equal. If every extreme survives, the reason they survive is the proof.

116. Three equivalent tests for a direct sum

Pattern

Test 1: intersection

Why: Show the intersection of U and W is only the origin.

Test 2: uniqueness

Why: Show that a repeated decomposition forces the U parts and the W parts to coincide.

Test 3: dimension

Why: Show the dimension of U plus the dimension of W equals the dimension of the sum; in finite dimensions this is equivalent to the other two tests.

117. Where this shows up: Subspaces, Sums & Direct Sums

Real world

Discussion prompt

Outside this lesson: where does Subspaces, Sums & Direct Sums actually turn up? Name one concrete situation — a job, a piece of software someone ships, a decision somebody has to make — and say which part of Three equivalent tests for a direct sum is doing the work in it.

Hint: Vague is the failure mode here. "Engineering" is not a situation; "deciding whether this build is fast enough to ship" is.

Answer:

That deck gives the subspace test, explains why an intersection of subspaces is a subspace but a union usually is not, and presents the sum as the smallest subspace containing both. It then covers the three equivalent faces of a direct sum and the Grassmann dimension formula. It targets the classic traps: taking unions to be subspaces, mistaking spanning for directness, and forgetting the intersection correction term.

118. Connect it up: Subspaces, Sums & Direct Sums

Connect it up

Draw it

One page, no notation unless you need it: draw how these connect — Recipe: is a set W a subspace? · Recipe: describe a sum by spanning sets · Master decision recipe · Three equivalent tests for a direct sum · A subspace is a vector space living inside another. Put an arrow wherever one of them is what makes another possible, and label the arrow with why.

119. What you can do now

Recap

A subspace is a subset that contains the origin and is closed under addition and scalars — a flat through the origin. Intersections are always subspaces; unions almost never are.

The sum U + W is the smallest subspace containing both, built from one-from-each additions. It is direct when the pieces meet only at the origin, equivalently when every vector splits uniquely, equivalently when the dimensions add.

You want to knowUse
Is W a subspace?Origin present, closed under + and scalars
Is a union a subspace?Only if one piece contains the other
What is U + W?Span of the pooled spanning sets
Is the sum direct?Intersection is only the origin
Dimension of U + W?dim U + dim W minus dim of the intersection

Sources

  1. Axler, Linear Algebra Done Right, Chapter 1 (Subspaces, Sums and Direct Sums)
  2. All definitions, theorem statements, proof sketches, witnesses and counterexamples re-derived and checked by hand. — Verified 2026-07-21.

Want this taught 1-on-1? Alexander tutors Foundations of Higher Mathematics — $55/session, free consultation.

Book on Wyzant · Text (657) 465-8108