Linear-Algebra-Done-Right Β· Unit 16 Β· Video 1 Β· Interactive Practice

Orthogonal Complements and the Direct Sum V = U βŠ• UβŠ₯

IKey Formulas

FormulaStatementHypotheses
UβŠ₯={v∈V:⟨u,v⟩=0Β forΒ everyΒ u∈U}U^\perp = \{ v \in V : \langle u, v \rangle = 0 \text{ for every } u \in U \}Orthogonal complement; it is always a subspace of VVUU any subset of VV (one vector, a list, a subspace)
{0}βŠ₯=V\{0\}^\perp = V, Β VβŠ₯={0}\ V^\perp = \{0\}, Β U∩UβŠ₯βŠ†{0}\ U \cap U^\perp \subseteq \{0\}The two extremes, and UU and UβŠ₯U^\perp share at most the zero vectorUβŠ†VU \subseteq V
GβŠ†Hβ‡’HβŠ₯βŠ†GβŠ₯G \subseteq H \Rightarrow H^\perp \subseteq G^\perpA larger set imposes more conditions, so its complement is smallerG,HβŠ†VG, H \subseteq V
V=UβŠ•UβŠ₯V = U \oplus U^\perp, Β v=βˆ‘k=1m⟨v,ek⟩ek⏟u∈U+(vβˆ’u)⏟w∈UβŠ₯\ v = \underbrace{\textstyle\sum_{k=1}^{m} \langle v, e_k \rangle e_k}_{u \in U} + \underbrace{(v - u)}_{w \in U^\perp}Direct sum theorem; when VV is finite-dimensional, dim⁑UβŠ₯=dim⁑Vβˆ’dim⁑U\dim U^\perp = \dim V - \dim UUU a finite-dimensional subspace with orthonormal basis e1,…,eme_1, \dots, e_m

Key Insight: In R3\mathbf{R}^3, {(2,3,5)}βŠ₯\{(2, 3, 5)\}^\perp is the plane 2x+3y+5z=02x + 3y + 5z = 0, and the plane's complement is the line {(2t,3t,5t)}\{(2t, 3t, 5t)\}: the line lies in it, and dim⁑=3βˆ’2=1\dim = 3 - 2 = 1 forces equality.

IIA Point, a Plane, a Line in R3\mathbf{R}^3

Every v∈R3v \in \mathbf{R}^3 is, in exactly one way, a vector in the plane 2x+3y+5z=02x + 3y + 5z = 0 plus a multiple of (2,3,5)(2, 3, 5).

IIIThe Complement of Any Subset

For any set UU of points, UβŠ₯U^\perp is a subspace, and U∩UβŠ₯U \cap U^\perp is {0}\{0\} or empty.

IVComplements in F5\mathbf{F}^5: Direct Sum and Reversed Inclusions

In F5\mathbf{F}^5, the complement of a span of standard basis vectors is the span of the remaining ones.

πŸ’‘ The direct sum V=UβŠ•UβŠ₯V = U \oplus U^\perp needs UU finite-dimensional; VV itself may be infinite-dimensional, but for an infinite-dimensional UU the theorem can fail.

VQuiz Questions

Problem 1 Β· Membership in a Complement

Given: V=R3V = \mathbf{R}^3 with the Euclidean inner product and U={(1,βˆ’2,4)}U = \{(1, -2, 4)\} β€” which vector lies in UβŠ₯U^\perp?

βœ… Correct! ⟨(1,βˆ’2,4),(2,1,0)⟩=2βˆ’2+0=0\langle (1, -2, 4), (2, 1, 0) \rangle = 2 - 2 + 0 = 0, so (2,1,0)(2, 1, 0) lies in the plane xβˆ’2y+4z=0x - 2y + 4z = 0, which is UβŠ₯U^\perp.
❌ Not quite. That is the vector in UU itself: ⟨(1,βˆ’2,4),(1,βˆ’2,4)⟩=1+4+16=21β‰ 0\langle (1, -2, 4), (1, -2, 4) \rangle = 1 + 4 + 16 = 21 \ne 0. A nonzero vector is never orthogonal to itself.
❌ Not quite. (βˆ’1,2,βˆ’4)(-1, 2, -4) points along the same line as (1,βˆ’2,4)(1, -2, 4); its inner product with it is βˆ’1βˆ’4βˆ’16=βˆ’21β‰ 0-1 - 4 - 16 = -21 \ne 0. That line is the orthogonal complement of UβŠ₯U^\perp, not part of UβŠ₯U^\perp.
❌ Check the sign. ⟨(1,βˆ’2,4),(0,2,βˆ’1)⟩=0βˆ’4βˆ’4=βˆ’8β‰ 0\langle (1, -2, 4), (0, 2, -1) \rangle = 0 - 4 - 4 = -8 \ne 0. The vector (0,2,1)(0, 2, 1) would work: 0βˆ’4+4=00 - 4 + 4 = 0.
Show solution

A vector (x,y,z)(x, y, z) is in UβŠ₯U^\perp exactly when ⟨(1,βˆ’2,4),(x,y,z)⟩=xβˆ’2y+4z=0\langle (1, -2, 4), (x, y, z) \rangle = x - 2y + 4z = 0. Test each option:

(1,βˆ’2,4):Β 1+4+16=21,(βˆ’1,2,βˆ’4):Β βˆ’1βˆ’4βˆ’16=βˆ’21,(1, -2, 4): \ 1 + 4 + 16 = 21, \qquad (-1, 2, -4): \ -1 - 4 - 16 = -21, (2,1,0):Β 2βˆ’2+0=0,(0,2,βˆ’1):Β 0βˆ’4βˆ’4=βˆ’8.(2, 1, 0): \ 2 - 2 + 0 = 0, \qquad (0, 2, -1): \ 0 - 4 - 4 = -8.

Only (2,1,0)(2, 1, 0) satisfies the equation, so it is the vector in UβŠ₯U^\perp, the plane through the origin perpendicular to (1,βˆ’2,4)(1, -2, 4).

Problem 2 Β· A Set Containing Zero

Given: V=R2V = \mathbf{R}^2 with the Euclidean inner product and the two-point set U={(1,0),(0,0)}U = \{(1, 0), (0, 0)\} β€” find UβŠ₯U^\perp and U∩UβŠ₯U \cap U^\perp.

What is UβŠ₯?

What is U ∩ UβŠ₯?

βœ… Correct! UβŠ₯U^\perp is the yy-axis, and since 00 belongs to UU and to every complement, U∩UβŠ₯={0}U \cap U^\perp = \{0\}: the inclusion U∩UβŠ₯βŠ†{0}U \cap U^\perp \subseteq \{0\} is an equality here.
❌ Not quite. Two vectors do not give two conditions here: ⟨(0,0),v⟩=0\langle (0, 0), v \rangle = 0 for every vv, so the zero vector imposes no condition. Only v1=0v_1 = 0 remains.
❌ Not quite. "Complement" here is not the set complement. (1,1)∈R2βˆ–U(1, 1) \in \mathbf{R}^2 \setminus U, but ⟨(1,0),(1,1)⟩=1β‰ 0\langle (1, 0), (1, 1) \rangle = 1 \ne 0.
❌ Not quite. That is the span of UU, the xx-axis. Its vectors are parallel to (1,0)(1, 0), not orthogonal: ⟨(1,0),(t,0)⟩=t\langle (1, 0), (t, 0) \rangle = t.
❌ Not quite. The intersection is empty only when 0βˆ‰U0 \notin U. Here (0,0)∈U(0, 0) \in U, and 00 lies in every UβŠ₯U^\perp.
❌ Not quite. ⟨(1,0),(1,0)⟩=1β‰ 0\langle (1, 0), (1, 0) \rangle = 1 \ne 0, so (1,0)βˆ‰UβŠ₯(1, 0) \notin U^\perp. A nonzero vector is never orthogonal to itself.
❌ Not quite. That is UβŠ₯U^\perp itself. The intersection keeps only the points of UU that also lie in UβŠ₯U^\perp, and UU has just two points.
❌ Check UβŠ₯. Write out ⟨u,v⟩=0\langle u, v \rangle = 0 for each u∈Uu \in U.
❌ Check the intersection. Test each of the two points of UU for membership in UβŠ₯U^\perp.
Show solution

For v=(v1,v2)v = (v_1, v_2) the two conditions are

⟨(1,0),v⟩=v1=0,⟨(0,0),v⟩=0.\langle (1, 0), v \rangle = v_1 = 0, \qquad \langle (0, 0), v \rangle = 0.

The second holds for every vv, so UβŠ₯={(0,t):t∈R}U^\perp = \{(0, t) : t \in \mathbf{R}\}, the yy-axis, a subspace even though UU is just two points.

For the intersection, test the two points of UU: (1,0)(1, 0) has v1=1β‰ 0v_1 = 1 \ne 0, so it is not in UβŠ₯U^\perp; (0,0)(0, 0) is in UβŠ₯U^\perp. Hence U∩UβŠ₯={0}U \cap U^\perp = \{0\}.

Problem 3 · Split a Vector in R⁴

Given: V=R4V = \mathbf{R}^4 with the Euclidean inner product, U=span⁑((1,1,1,1))U = \operatorname{span}\big((1, 1, 1, 1)\big) and v=(4,0,2,6)v = (4, 0, 2, 6) β€” find dim⁑UβŠ₯\dim U^\perp and the vector u∈Uu \in U with vβˆ’u∈UβŠ₯v - u \in U^\perp.

What is dim UβŠ₯?

What is u?

βœ… Correct! dim⁑UβŠ₯=4βˆ’1=3\dim U^\perp = 4 - 1 = 3, and v=(3,3,3,3)+(1,βˆ’3,βˆ’1,3)v = (3, 3, 3, 3) + (1, -3, -1, 3) with the second piece orthogonal to (1,1,1,1)(1, 1, 1, 1).
❌ Not quite. 11 is dim⁑U\dim U. The dimension formula gives dim⁑UβŠ₯=dim⁑Vβˆ’dim⁑U\dim U^\perp = \dim V - \dim U.
❌ Not quite. 44 is dim⁑V\dim V; that would make UβŠ₯=VU^\perp = V, which happens only for U={0}U = \{0\}.
❌ Not quite. UβŠ₯={0}U^\perp = \{0\} only when U=VU = V. Here UU is a line in R4\mathbf{R}^4, and one linear condition x1+x2+x3+x4=0x_1 + x_2 + x_3 + x_4 = 0 leaves three dimensions.
❌ Normalize first. ⟨v,e⟩e\langle v, e \rangle e needs a unit vector ee. Using (1,1,1,1)(1, 1, 1, 1), whose norm is 22, multiplies the answer by βˆ₯(1,1,1,1)βˆ₯2=4\|(1,1,1,1)\|^2 = 4.
❌ Normalize in both places. With e=12(1,1,1,1)e = \tfrac12 (1, 1, 1, 1), ⟨v,e⟩=6\langle v, e \rangle = 6, and u=6eu = 6e, not 6β‹…(1,1,1,1)6 \cdot (1, 1, 1, 1).
❌ Not quite. (1,βˆ’3,βˆ’1,3)(1, -3, -1, 3) is w=vβˆ’uw = v - u, the piece in UβŠ₯U^\perp: its entries sum to 00. The question asks for the piece in UU.
❌ Check the dimension. Use dim⁑UβŠ₯=dim⁑Vβˆ’dim⁑U\dim U^\perp = \dim V - \dim U.
❌ Check u. Use u=⟨v,e⟩eu = \langle v, e \rangle e with ee a unit vector spanning UU.
Show solution

Dimension. dim⁑U=1\dim U = 1, so dim⁑UβŠ₯=4βˆ’1=3\dim U^\perp = 4 - 1 = 3.

Orthonormal basis of UU. βˆ₯(1,1,1,1)βˆ₯=2\|(1, 1, 1, 1)\| = 2, so e=12(1,1,1,1)e = \tfrac12 (1, 1, 1, 1).

⟨v,e⟩=12(4+0+2+6)=6,u=6e=(3,3,3,3).\langle v, e \rangle = \tfrac12 (4 + 0 + 2 + 6) = 6, \qquad u = 6e = (3, 3, 3, 3).

Check. w=vβˆ’u=(1,βˆ’3,βˆ’1,3)w = v - u = (1, -3, -1, 3) and ⟨w,(1,1,1,1)⟩=1βˆ’3βˆ’1+3=0\langle w, (1, 1, 1, 1) \rangle = 1 - 3 - 1 + 3 = 0, so w∈UβŠ₯w \in U^\perp and v=u+wv = u + w is the split V=UβŠ•UβŠ₯V = U \oplus U^\perp guarantees.

Problem 4 Β· A Complement of Polynomials

Given: V=P2(R)V = \mathcal{P}_2(\mathbf{R}) with ⟨p,q⟩=βˆ«βˆ’11p(x)q(x) dx\langle p, q \rangle = \int_{-1}^{1} p(x) q(x)\, dx and U=span⁑(1,x)U = \operatorname{span}(1, x) β€” find dim⁑UβŠ₯\dim U^\perp and a polynomial spanning UβŠ₯U^\perp.

What is dim UβŠ₯?

UβŠ₯ is the span of …

βœ… Correct! dim⁑UβŠ₯=3βˆ’2=1\dim U^\perp = 3 - 2 = 1, and x2βˆ’13x^2 - \tfrac13 is orthogonal to both 11 and xx, so UβŠ₯=span⁑(x2βˆ’13)U^\perp = \operatorname{span}\big(x^2 - \tfrac13\big).
❌ Not quite. 22 is dim⁑U\dim U, or the dimension of {1}βŠ₯\{1\}^\perp. Orthogonality to xx as well cuts one more dimension: 3βˆ’2=13 - 2 = 1.
❌ Not quite. 3=dim⁑P2(R)3 = \dim \mathcal{P}_2(\mathbf{R}), which would make UβŠ₯=VU^\perp = V; but ⟨1,1⟩=2β‰ 0\langle 1, 1 \rangle = 2 \ne 0.
❌ Not quite. UβŠ₯={0}U^\perp = \{0\} would need U=VU = V, but dim⁑U=2<3\dim U = 2 < 3.
❌ Not quite. x2x^2 is orthogonal to xx (βˆ«βˆ’11x3 dx=0\int_{-1}^{1} x^3\,dx = 0) but not to 11: βˆ«βˆ’11x2 dx=23β‰ 0\int_{-1}^{1} x^2\,dx = \tfrac23 \ne 0.
❌ Not quite. xx lies in {1}βŠ₯\{1\}^\perp, but x∈Ux \in U and ⟨x,x⟩=23β‰ 0\langle x, x \rangle = \tfrac23 \ne 0. Since {1}βŠ†U\{1\} \subseteq U, UβŠ₯U^\perp is the smaller set, and it excludes xx.
❌ Check the constant. ⟨x2βˆ’12,1⟩=23βˆ’1=βˆ’13β‰ 0\langle x^2 - \tfrac12, 1 \rangle = \tfrac23 - 1 = -\tfrac13 \ne 0. The constant must make βˆ«βˆ’11(x2βˆ’c) dx=23βˆ’2c\int_{-1}^{1} (x^2 - c)\,dx = \tfrac23 - 2c vanish.
❌ Check the dimension. Use dim⁑UβŠ₯=dim⁑Vβˆ’dim⁑U\dim U^\perp = \dim V - \dim U with dim⁑P2(R)=3\dim \mathcal{P}_2(\mathbf{R}) = 3.
❌ Check orthogonality. The polynomial must be orthogonal to both 11 and xx.
Show solution

Dimension. 1,x1, x is linearly independent, so dim⁑U=2\dim U = 2 and dim⁑UβŠ₯=3βˆ’2=1\dim U^\perp = 3 - 2 = 1.

Conditions. Write p=a+bx+cx2p = a + bx + cx^2. Orthogonality to 11 and to xx gives

⟨p,1⟩=2a+23c=0,⟨p,x⟩=23b=0.\langle p, 1 \rangle = 2a + \tfrac{2}{3}c = 0, \qquad \langle p, x \rangle = \tfrac{2}{3}b = 0.

So b=0b = 0 and a=βˆ’c3a = -\tfrac{c}{3}, i.e. p=c(x2βˆ’13)p = c\big(x^2 - \tfrac13\big).

Check. βˆ«βˆ’11(x2βˆ’13) dx=23βˆ’23=0\int_{-1}^{1} \big(x^2 - \tfrac13\big)\,dx = \tfrac23 - \tfrac23 = 0 and βˆ«βˆ’11(x3βˆ’x3) dx=0\int_{-1}^{1} \big(x^3 - \tfrac{x}{3}\big)\,dx = 0. Hence UβŠ₯=span⁑(x2βˆ’13)U^\perp = \operatorname{span}\big(x^2 - \tfrac13\big), matching the dimension count.

Solved: 0 / 4