Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

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.

  1. V=R2, B={(1,1),(2,1)}
  2. V=R2, B={(2,1),(1,2)}
  3. V=R3, B={(1,1,1),(1,0,1),(1,1,2)}
  4. V=R3, B={(0,1,1),(1,1,1),(1,2,2)}
  1. {(2,1),35(1,2)}
  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.

  1. x=(1,5,7), U=span{(1,2,3),(1,1,1)}
  2. x=(2,1,6), U=span{(3,1,2),(2,0,3)}
  3. x=(3,1,5,9),
    U=span{(1,0,1,1),(0,1,1,1),(2,0,1,1)}

  4. x=(2,0,1,6),
    U=span{(1,1,1,1),(1,1,1,1),(1,1,1,1)}

  5. x=(a,b,c,d),
    U=span{(1,0,0,0),(0,1,0,0),(0,0,1,0)}

  6. x=(a,b,c,d),
    U=span{(1,1,2,0),(1,1,1,1)}

  1. x=1182(271,221,1030)+1182(93,403,62)
  2. x=14(1,7,11,17)+14(7,7,7,7)
  3. x=112(5a5b+c3d,5a+5bc+3d,ab+11c+3d,3a+3b+3c+3d)+112(7a+5bc+3d,5a+7b+c3d,a+b+c3d,3a3b3c+9d)

Let x=(1,2,1,6) in R4, and let U=span{(2,1,3,4),(1,2,0,1)}.

  1. Compute \projUx.
  2. Show that {(1,0,2,3),(4,7,1,2)} is another orthogonal basis of U.
  3. Use the basis in part (b) to compute \projUx.
  1. 110(9,3,21,33)=310(3,1,7,11)
  2. 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.

  1. U=span{(1,1,1),(0,1,1)}, x=(1,2,1)
  2. U=span{(1,1,0),(1,0,1)}, x=(2,1,0)
  3. U=span{(1,0,1,0),(1,1,1,0),(1,1,0,0)}, x=(2,0,1,3)
  4. U=span{(1,1,0,1),(1,1,0,0),(1,1,0,1)}, x=(2,0,3,1)
  1. {(1,1,0),12(1,1,2)}; \projUx=(1,0,1)
  2. {(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.

  1. Show that U={xx in Rn,AxT=0}.
  2. Use part (a) to find U if
    U=span{(1,1,2,1),(1,0,1,1)}.

  1. U=span{(1,3,1,0),(1,0,0,1)}

[ex:8_1_6]

  1. Prove part 1 of Lemma [lem:023783].
  2. 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 xp is in U. But xp is also in U by Theorem [thm:023885], so xp is in UU={0}. Thus x=p.

Let U be a subspace of Rn.

  1. Show that U=Rn if and only if U={0}.
  2. 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=(xf1)f1+(xf2)f2++(xfm)fm=\projUx.

If U is a subspace of Rn, show that x=\projUx+\projUx 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 UU⊥⊥, 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={xAx=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 yix=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 RnAxT=0}. Show that:

\funcnullA=(\funcrowA); \funcnullAT=(\funccolA).

If U and W are subspaces, show that (U+W)=UW. [See Exercise [ex:5_1_22].]

[ex:8_1_17] Think of Rn as consisting of rows.

  1. Let E be an n×n matrix, and let
    U={xEx in Rn}. Show that the following are equivalent.

    1. E2=E=ET (E is a projection matrix).
    2. (xxE)(yE)=0 for all x and y in Rn.
    3. [Hint: For (ii) implies (iii): Write x=xE+(xxE) and use the uniqueness argument preceding the definition of \projUx. For (iii) implies (ii): xxE is in U for all x in Rn.]
  2. If E is a projection matrix, show that IE is also a projection matrix.
  3. If EF=0=FE and E and F are projection matrices, show that E+F is also a projection matrix.
  4. If A is m×n and AAT is invertible, show that E=AT(AAT)1A is a projection matrix.
  1. 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 (n1)×n matrix with rows x1,x2,,xn1 and let Ai denote the
(n1)×(n1) matrix obtained from A by deleting column i. Define the vector y in Rn by

y=[detA1detA2detA3(1)n+1detAn]

Show that:

  1. xiy=0 for all i=1,2,,n1. [Hint: Write Bi=[xiA] and show that detBi=0.]
  2. y0 if and only if {x1,x2,,xn1} is linearly independent. [Hint: If some detAi0, the rows of Ai are linearly independent. Conversely, if the xi are independent, consider A=UR where R is in reduced row-echelon form.]
  3. If {x1,x2,,xn1} is linearly independent, use Theorem [thm:023885](3) to show that all solutions to the system of n1 homogeneous equations

    AxT=0


8.1E: Orthogonal Complements and Projections Exercises is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?