8.1E: Orthogonal Complements and Projections Exercises
( \newcommand{\kernel}{\mathrm{null}\,}\)
Exercises for 1
solutions
2
In each case, use the Gram-Schmidt algorithm to convert the given basis B of V into an orthogonal basis.
- V=R2, B={(1,−1),(2,1)}
- V=R2, B={(2,1),(1,2)}
- V=R3, B={(1,−1,1),(1,0,1),(1,1,2)}
- V=R3, B={(0,1,1),(1,1,1),(1,−2,2)}
- {(2,1),35(−1,2)}
- {(0,1,1),(1,0,0),(0,−2,2)}
In each case, write x as the sum of a vector in U and a vector in U⊥.
- x=(1,5,7), U=span{(1,−2,3),(−1,1,1)}
- x=(2,1,6), U=span{(3,−1,2),(2,0,−3)}
-
x=(3,1,5,9),
U=span{(1,0,1,1),(0,1,−1,1),(−2,0,1,1)} -
x=(2,0,1,6),
U=span{(1,1,1,1),(1,1,−1,−1),(1,−1,1,−1)} -
x=(a,b,c,d),
U=span{(1,0,0,0),(0,1,0,0),(0,0,1,0)} -
x=(a,b,c,d),
U=span{(1,−1,2,0),(−1,1,1,1)}
- x=1182(271,−221,1030)+1182(93,403,62)
- x=14(1,7,11,17)+14(7,−7,−7,7)
- x=112(5a−5b+c−3d,−5a+5b−c+3d,a−b+11c+3d,−3a+3b+3c+3d)+112(7a+5b−c+3d,5a+7b+c−3d,−a+b+c−3d,3a−3b−3c+9d)
Let x=(1,−2,1,6) in R4, and let U=span{(2,1,3,−4),(1,2,0,1)}.
- Compute \projUx.
- Show that {(1,0,2,−3),(4,7,1,2)} is another orthogonal basis of U.
- Use the basis in part (b) to compute \projUx.
- 110(−9,3,−21,33)=310(−3,1,−7,11)
- 170(−63,21,−147,231)=310(−3,1,−7,11)
In each case, use the Gram-Schmidt algorithm to find an orthogonal basis of the subspace U, and find the vector in U closest to x.
- U=span{(1,1,1),(0,1,1)}, x=(−1,2,1)
- U=span{(1,−1,0),(−1,0,1)}, x=(2,1,0)
- U=span{(1,0,1,0),(1,1,1,0),(1,1,0,0)}, x=(2,0,−1,3)
- U=span{(1,−1,0,1),(1,1,0,0),(1,1,0,1)}, x=(2,0,3,1)
- {(1,−1,0),12(−1,−1,2)}; \projUx=(1,0,−1)
- {(1,−1,0,1),(1,1,0,0),13(−1,1,0,2)}; \projUx=(2,0,0,1)
Let U=span{v1,v2,…,vk}, vi in Rn, and let A be the k×n matrix with the vi as rows.
- Show that U⊥={x∣x in Rn,AxT=0}.
-
Use part (a) to find U⊥ if
U=span{(1,−1,2,1),(1,0,−1,1)}.
- U⊥=span{(1,3,1,0),(−1,0,0,1)}
[ex:8_1_6]
- Prove part 1 of Lemma [lem:023783].
- Prove part 2 of Lemma [lem:023783].
[ex:8_1_7] Let U be a subspace of Rn. If x in Rn can be written in any way at all as x=p+q with p in U and q in U⊥, show that necessarily p=\projUx.
Let U be a subspace of Rn and let x be a vector in Rn. Using Exercise [ex:8_1_7], or otherwise, show that x is in U if and only if x=\projUx.
Write p=\projUx. Then p is in U by definition. If x is U, then x−p is in U. But x−p is also in U⊥ by Theorem [thm:023885], so x−p is in U∩U⊥={0}. Thus x=p.
Let U be a subspace of Rn.
- Show that U⊥=Rn if and only if U={0}.
- Show that U⊥={0} if and only if U=Rn.
If U is a subspace of Rn, show that \projUx=x for all x in U.
Let {f1,f2,…,fm} be an orthonormal basis of U. If x is in U the expansion theorem gives x=(x∙f1)f1+(x∙f2)f2+⋯+(x∙fm)fm=\projUx.
If U is a subspace of Rn, show that x=\projUx+\projU⊥x for all x in Rn.
If {f1,…,fn} is an orthogonal basis of Rn and U=span{f1,…,fm}, show that
U⊥=span{fm+1,…,fn}.
[ex:8_1_13] If U is a subspace of Rn, show that U⊥⊥=U. [Hint: Show that U⊆U⊥⊥, then use Theorem [thm:023953] (3) twice.]
If U is a subspace of Rn, show how to find an n×n matrix A such that U={x∣Ax=0}. [Hint: Exercise [ex:8_1_13].]
Let {y1,y2,…,ym} be a basis of U⊥, and let A be the n×n matrix with rows yT1,yT2,…,yTm,0,…,0. Then Ax=0 if and only if yi∙x=0 for each i=1,2,…,m; if and only if x is in U⊥⊥=U.
Write Rn as rows. If A is an n×n matrix, write its null space as \funcnullA={x in Rn∣AxT=0}. Show that:
\funcnullA=(\funcrowA)⊥; \funcnullAT=(\funccolA)⊥.
If U and W are subspaces, show that (U+W)⊥=U⊥∩W⊥. [See Exercise [ex:5_1_22].]
[ex:8_1_17] Think of Rn as consisting of rows.
-
Let E be an n×n matrix, and let
U={xE∣x in Rn}. Show that the following are equivalent.- E2=E=ET (E is a projection matrix).
- (x−xE)∙(yE)=0 for all x and y in Rn.
- [Hint: For (ii) implies (iii): Write x=xE+(x−xE) and use the uniqueness argument preceding the definition of \projUx. For (iii) implies (ii): x−xE is in U⊥ for all x in Rn.]
- If E is a projection matrix, show that I−E is also a projection matrix.
- If EF=0=FE and E and F are projection matrices, show that E+F is also a projection matrix.
- If A is m×n and AAT is invertible, show that E=AT(AAT)−1A is a projection matrix.
- E2=AT(AAT)−1AAT(AAT)−1A=AT(AAT)−1A=E
Let A be an n×n matrix of rank r. Show that there is an invertible n×n matrix U such that UA is a row-echelon matrix with the property that the first r rows are orthogonal. [Hint: Let R be the row-echelon form of A, and use the Gram-Schmidt process on the nonzero rows of R from the bottom up. Use Lemma [cor:004537].]
Let A be an (n−1)×n matrix with rows x1,x2,…,xn−1 and let Ai denote the
(n−1)×(n−1) matrix obtained from A by deleting column i. Define the vector y in Rn by
y=[detA1−detA2detA3⋯(−1)n+1detAn]
Show that:
- xi∙y=0 for all i=1,2,…,n−1. [Hint: Write Bi=[xiA] and show that detBi=0.]
- y≠0 if and only if {x1,x2,…,xn−1} is linearly independent. [Hint: If some detAi≠0, the rows of Ai are linearly independent. Conversely, if the xi are independent, consider A=UR where R is in reduced row-echelon form.]
- If {x1,x2,…,xn−1} is linearly independent, use Theorem [thm:023885](3) to show that all solutions to the system of n−1 homogeneous equations
AxT=0