Linear-Algebra-Done-Right ยท Unit 2 ยท Video 4 ยท Interactive Practice

Direct Sums: Only One Way to Write Zero

IKey Formulas

StatementNameMeaning
V1โŠ•โ‹ฏโŠ•VmV_1 \oplus \cdots \oplus V_mDirect sumV1+โ‹ฏ+VmV_1 + \cdots + V_m when each of its elements is v1+โ‹ฏ+vmv_1 + \cdots + v_m, with vkโˆˆVkv_k \in V_k, in only one way
0=v1+โ‹ฏ+vm,ย vkโˆˆVkโ€…โ€Šโ‡’โ€…โ€Šv1=โ‹ฏ=vm=00 = v_1 + \cdots + v_m,\ v_k \in V_k \;\Rightarrow\; v_1 = \cdots = v_m = 0Condition for a direct sumThe sum is direct โ€…โ€ŠโŸบโ€…โ€Š\iff 00 has only the trivial representation
U+WU + W direct โ€…โ€ŠโŸบโ€…โ€ŠUโˆฉW={0}\iff U \cap W = \{0\}Two subspacesA test for two subspaces only: for three or more, pairwise intersections {0}\{0\} do not make the sum direct
F3={(x,y,0)}โŠ•{(0,0,z)}\mathbf{F}^3 = \{(x, y, 0)\} \oplus \{(0, 0, z)\}Example(x,y,z)=(x,y,0)+(0,0,z)(x, y, z) = (x, y, 0) + (0, 0, z), and no other split

Key Insight: Uniqueness for every vector reduces to uniqueness for one vector: if v=v1+โ‹ฏ+vm=u1+โ‹ฏ+umv = v_1 + \cdots + v_m = u_1 + \cdots + u_m, subtracting gives 0=(v1โˆ’u1)+โ‹ฏ+(vmโˆ’um)0 = (v_1 - u_1) + \cdots + (v_m - u_m) with each vkโˆ’ukโˆˆVkv_k - u_k \in V_k.

IITwo Lines Through the Origin

Two different lines through 00 meet only at 00, so every vโˆˆR2v \in \mathbf{R}^2 splits along them in exactly one way.

IIITesting Only Zero

A sum is direct exactly when 0=v1+v2+v30 = v_1 + v_2 + v_3 forces every piece vkv_k to be 00.

IVPairwise Intersections Are Not Enough

Every pair among V1,V2,V3V_1, V_2, V_3 meets only at 00, yet V1+V2+V3V_1 + V_2 + V_3 is not direct.

Step 1 โ€” V1โˆฉV2V_1 \cap V_2
(x,y,0)=(0,0,z)โ‡’x=y=z=0(x, y, 0) = (0, 0, z) \Rightarrow x = y = z = 0, so V1โˆฉV2={0}V_1 \cap V_2 = \{0\} โœ“

VQuiz Questions

Problem 1 ยท Split a Vector Along Two Lines

Given: U={(3t,t):tโˆˆR}U = \{(3t, t) : t \in \mathbf{R}\} and W={(s,2s):sโˆˆR}W = \{(s, 2s) : s \in \mathbf{R}\}, so R2=UโŠ•W\mathbf{R}^2 = U \oplus W. Write (7,9)=u+w(7, 9) = u + w with uโˆˆUu \in U and wโˆˆWw \in W. Find uu.

โœ… Correct! u=(3,1)u = (3, 1) and w=(4,8)w = (4, 8): (3,1)+(4,8)=(7,9)(3, 1) + (4, 8) = (7, 9), and since UโˆฉW={0}U \cap W = \{0\} this is the only split.
โŒ Check which coefficient goes with which line. (12,4)=4(3,1)(12, 4) = 4(3, 1) uses the WW-coefficient s=4s = 4 on UU; then w=1โ‹…(1,2)w = 1 \cdot (1, 2) and (12,4)+(1,2)=(13,6)โ‰ (7,9)(12, 4) + (1, 2) = (13, 6) \ne (7, 9).
โŒ Not quite. That is the split along the coordinate axes. (7,0)(7, 0) is not in UU: a vector of UU has first coordinate 33 times its second.
โŒ Not quite. (6,2)(6, 2) is in UU, but then w=(7,9)โˆ’(6,2)=(1,7)w = (7, 9) - (6, 2) = (1, 7), and (1,7)โˆ‰W(1, 7) \notin W because 7โ‰ 2โ‹…17 \ne 2 \cdot 1.
โŒ Not quite. Write u=(3t,t)u = (3t, t), w=(s,2s)w = (s, 2s) and solve (3t+s,ย t+2s)=(7,9)(3t + s,\ t + 2s) = (7, 9).
Show solution

Write u=(3t,t)u = (3t, t) and w=(s,2s)w = (s, 2s). Then u+w=(7,9)u + w = (7, 9) means

3t+s=7,t+2s=9.3t + s = 7, \qquad t + 2s = 9.

From the first equation s=7โˆ’3ts = 7 - 3t; substituting, t+14โˆ’6t=9t + 14 - 6t = 9, so t=1t = 1 and s=4s = 4. Hence

u=(3,1),w=(4,8),(3,1)+(4,8)=(7,9).u = (3, 1), \qquad w = (4, 8), \qquad (3, 1) + (4, 8) = (7, 9).

The system has exactly one solution, matching the fact that UโˆฉW={0}U \cap W = \{0\} makes the sum direct.

Problem 2 ยท Three Lines in a Plane

Given: in R3\mathbf{R}^3, U1={(x,0,0)}U_1 = \{(x, 0, 0)\}, U2={(0,y,0)}U_2 = \{(0, y, 0)\}, U3={(z,z,0)}U_3 = \{(z, z, 0)\}, where x,y,zโˆˆRx, y, z \in \mathbf{R}. Each pairwise intersection is {0}\{0\}. Which statement is correct?

โœ… Correct! The pieces lie in U1U_1, U2U_2, U3U_3 (take z=โˆ’1z = -1) and are not all 00, so 00 has a second representation.
โŒ That is the pitfall. The intersection test UโˆฉW={0}U \cap W = \{0\} covers exactly two subspaces. Here (1,1,0)โˆˆU3(1, 1, 0) \in U_3 also lies in U1+U2U_1 + U_2, which gives a nontrivial way to write 00.
โŒ Not quite. (x,0,0)=(0,y,0)(x, 0, 0) = (0, y, 0) forces x=y=0x = y = 0, so U1โˆฉU2={0}U_1 \cap U_2 = \{0\}. The failure needs all three subspaces at once.
โŒ Not quite. A direct sum need not fill the whole space: U1โŠ•U2={(x,y,0)}โ‰ R3U_1 \oplus U_2 = \{(x, y, 0)\} \ne \mathbf{R}^3 is direct. Directness is about uniqueness, so test the zero vector.
โŒ Not quite. Look for a way to write 00 with one piece from each UkU_k, not all pieces 00.
Show solution

Pairs. U1โˆฉU2U_1 \cap U_2: (x,0,0)=(0,y,0)(x, 0, 0) = (0, y, 0) gives x=y=0x = y = 0. U1โˆฉU3U_1 \cap U_3: (z,z,0)(z, z, 0) with second coordinate 00 has z=0z = 0. U2โˆฉU3U_2 \cap U_3: (z,z,0)(z, z, 0) with first coordinate 00 has z=0z = 0.

All three. (1,0,0)โˆˆU1(1, 0, 0) \in U_1, (0,1,0)โˆˆU2(0, 1, 0) \in U_2 and (โˆ’1,โˆ’1,0)โˆˆU3(-1, -1, 0) \in U_3 (with z=โˆ’1z = -1), and

(1,0,0)+(0,1,0)+(โˆ’1,โˆ’1,0)=(0,0,0).(1, 0, 0) + (0, 1, 0) + (-1, -1, 0) = (0, 0, 0).

Together with 0=0+0+00 = 0 + 0 + 0 this gives two representations of 00, so by the condition for a direct sum, U1+U2+U3U_1 + U_2 + U_3 is not direct.

Problem 3 ยท When Does a Line Overlap a Plane?

Given: in F3\mathbf{F}^3, U={(x,y,z):x+y+z=0}U = \{(x, y, z) : x + y + z = 0\} and W={(t,2t,kt):tโˆˆF}W = \{(t, 2t, kt) : t \in \mathbf{F}\} for a fixed kโˆˆFk \in \mathbf{F}.

For which k is U + W not a direct sum?

For that k, a second representation of 0

โœ… Correct! For k=โˆ’3k = -3 the line WW lies inside the plane UU, so UโˆฉW=Wโ‰ {0}U \cap W = W \ne \{0\}, and (1,2,โˆ’3)โˆˆU(1, 2, -3) \in U with (โˆ’1,โˆ’2,3)โˆˆW(-1, -2, 3) \in W add to 00.
โŒ Check the sign. (t,2t,kt)โˆˆU(t, 2t, kt) \in U means t+2t+kt=0t + 2t + kt = 0, i.e. (3+k)t=0(3 + k)t = 0, which has a solution tโ‰ 0t \ne 0 when k=โˆ’3k = -3.
โŒ Not quite. A line can lie inside a plane. Find when (t,2t,kt)(t, 2t, kt) satisfies x+y+z=0x + y + z = 0 for some tโ‰ 0t \ne 0.
โŒ Check the value of k. U+WU + W fails to be direct exactly when UโˆฉWโ‰ {0}U \cap W \ne \{0\}: solve t+2t+kt=0t + 2t + kt = 0 with tโ‰ 0t \ne 0.
โŒ That is the trivial representation. Every sum has it; a failure of directness needs a representation with a nonzero piece.
โŒ Not quite. (2,1,โˆ’3)(2, 1, -3) is in UU, but (โˆ’2,โˆ’1,3)(-2, -1, 3) is not in WW: a vector of WW has second coordinate twice its first, and โˆ’1โ‰ 2โ‹…(โˆ’2)-1 \ne 2 \cdot (-2).
โŒ Not quite. Use a nonzero vector of UโˆฉWU \cap W and its negative.
Show solution

By the two-subspace test, U+WU + W is direct โ€…โ€ŠโŸบโ€…โ€ŠUโˆฉW={0}\iff U \cap W = \{0\}. A vector (t,2t,kt)(t, 2t, kt) of WW lies in UU exactly when

t+2t+kt=(3+k)โ€‰t=0.t + 2t + kt = (3 + k)\,t = 0.

If kโ‰ โˆ’3k \ne -3 this forces t=0t = 0, so UโˆฉW={0}U \cap W = \{0\} and the sum is direct. If k=โˆ’3k = -3, every tt works: (1,2,โˆ’3)โˆˆUโˆฉW(1, 2, -3) \in U \cap W.

Then (1,2,โˆ’3)โˆˆU(1, 2, -3) \in U and โˆ’(1,2,โˆ’3)=(โˆ’1,โˆ’2,3)โˆˆW-(1, 2, -3) = (-1, -2, 3) \in W (take t=โˆ’1t = -1), and

(1,2,โˆ’3)+(โˆ’1,โˆ’2,3)=(0,0,0),(1, 2, -3) + (-1, -2, 3) = (0, 0, 0),

a representation of 00 with nonzero pieces, so U+WU + W is not direct.

Problem 4 ยท Even Plus Odd Polynomials

Given: in P(R)\mathcal{P}(\mathbf{R}), U={p:p(โˆ’x)=p(x)}U = \{p : p(-x) = p(x)\} (even) and W={p:p(โˆ’x)=โˆ’p(x)}W = \{p : p(-x) = -p(x)\} (odd), and P(R)=UโŠ•W\mathcal{P}(\mathbf{R}) = U \oplus W. Let p(x)=2+3xโˆ’x2+5x3p(x) = 2 + 3x - x^2 + 5x^3.

The piece of p in U

Why is this split the only one?

โœ… Correct! p=(2โˆ’x2)+(3x+5x3)p = (2 - x^2) + (3x + 5x^3), an even plus an odd polynomial, and UโˆฉW={0}U \cap W = \{0\} makes this the only such split.
โŒ That is the other piece. 3x+5x33x + 5x^3 changes sign when xโ†ฆโˆ’xx \mapsto -x, so it lies in WW.
โŒ Not quite. That piece contains 3x3x, and 3(โˆ’x)โ‰ 3x3(-x) \ne 3x, so it is not even. Collect the even powers of xx.
โŒ Check the even piece. It is 12(p(x)+p(โˆ’x))\tfrac{1}{2}\big(p(x) + p(-x)\big).
โŒ Not quite. That shows the split exists. Uniqueness is the separate claim, and for two subspaces it is UโˆฉW={0}U \cap W = \{0\}.
โŒ Two subspaces are never disjoint. Both contain the zero polynomial; for subspaces, disjointness is replaced by UโˆฉW={0}U \cap W = \{0\}.
โŒ Not quite. For two subspaces, uniqueness is equivalent to UโˆฉW={0}U \cap W = \{0\}.
Show solution

The split. Here p(โˆ’x)=2โˆ’3xโˆ’x2โˆ’5x3p(-x) = 2 - 3x - x^2 - 5x^3, so

12(p(x)+p(โˆ’x))=2โˆ’x2โˆˆU,12(p(x)โˆ’p(โˆ’x))=3x+5x3โˆˆW,\tfrac{1}{2}\big(p(x) + p(-x)\big) = 2 - x^2 \in U, \qquad \tfrac{1}{2}\big(p(x) - p(-x)\big) = 3x + 5x^3 \in W,

and these two add to pp.

Uniqueness. If qโˆˆUโˆฉWq \in U \cap W, then q(x)=q(โˆ’x)=โˆ’q(x)q(x) = q(-x) = -q(x), so 2q(x)=02q(x) = 0 and q=0q = 0. Thus UโˆฉW={0}U \cap W = \{0\}, and by the two-subspace test U+WU + W is direct: 2โˆ’x22 - x^2 is the only even piece of pp.

Solved: 0 / 4