06.09.2021 Views

Linear Algebra, 2020a

Linear Algebra, 2020a

Linear Algebra, 2020a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section VI. Projection 291<br />

is perpendicular to each member of the basis so<br />

⃗0 = A T( ⃗v − A⃗c ) = A T ⃗v − A T A⃗c<br />

and solving gives this (showing that A T A is invertible is an exercise).<br />

⃗c = ( A T A ) −1<br />

AT · ⃗v<br />

Therefore proj M (⃗v )=A · ⃗c = A(A T A) −1 A T · ⃗v, as required.<br />

3.9 Example To orthogonally project this vector into this subspace<br />

⎛ ⎞ ⎛ ⎞<br />

1<br />

x<br />

⎜ ⎟ ⎜ ⎟<br />

⃗v = ⎝−1⎠ P = { ⎝y⎠ | x + z = 0}<br />

1<br />

z<br />

first make a matrix whose columns are a basis for the subspace<br />

⎛ ⎞<br />

0 1<br />

⎜ ⎟<br />

A = ⎝1 0 ⎠<br />

0 −1<br />

and then compute.<br />

⎛<br />

A ( A T A ) −1<br />

A T ⎜<br />

0 1<br />

⎞<br />

( )( )<br />

⎟ 1 0 0 1 0<br />

= ⎝1 0 ⎠<br />

0 1/2 1 0 −1<br />

0 −1<br />

⎛<br />

⎞<br />

1/2 0 −1/2<br />

⎜<br />

⎟<br />

= ⎝ 0 1 0 ⎠<br />

−1/2 0 1/2<br />

QED<br />

With the matrix, calculating the orthogonal projection of any vector into P is<br />

easy.<br />

⎛<br />

⎞ ⎛ ⎞ ⎛ ⎞<br />

1/2 0 −1/2 1 0<br />

⎜<br />

⎟ ⎜ ⎟ ⎜ ⎟<br />

proj P (⃗v) = ⎝ 0 1 0 ⎠ ⎝−1⎠ = ⎝−1⎠<br />

−1/2 0 1/2 1 0<br />

Note, as a check, that this result is indeed in P.<br />

Exercises<br />

̌ 3.10 Project<br />

( )<br />

the vectors<br />

(<br />

into M along N.<br />

( 3<br />

x x<br />

(a) , M = { | x + y = 0}, N = { | −x − 2y = 0}<br />

−2<br />

y)<br />

y)<br />

( ( ( 1 x x<br />

(b) , M = { | x − y = 0}, N = { | 2x + y = 0}<br />

2)<br />

y)<br />

y)<br />

⎛ ⎞<br />

3<br />

(c) ⎝0⎠ ,<br />

⎛ ⎞<br />

x<br />

M = { ⎝y⎠ | x + y = 0},<br />

⎛ ⎞<br />

1<br />

N = {c · ⎝0⎠ | c ∈ R}<br />

1<br />

z<br />

1<br />

̌ 3.11 Find M ⊥ .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!