06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

244 R n<br />

In order to f<strong>in</strong>d W ⊥ , we need to f<strong>in</strong>d all⃗x which are orthogonal to every vector <strong>in</strong> this span.<br />

⎡ ⎤<br />

x 1<br />

Let⃗x = ⎣ x 2<br />

⎦. In order to satisfy⃗x •⃗u 1 = 0, the follow<strong>in</strong>g equation must hold.<br />

x 3<br />

x 1 − x 3 = 0<br />

In order to satisfy⃗x •⃗u 2 = 0, the follow<strong>in</strong>g equation must hold.<br />

x 2 + 2x 3 = 0<br />

Both of these equations must be satisfied, so we have the follow<strong>in</strong>g system of equations.<br />

x 1 − x 3 = 0<br />

x 2 + 2x 3 = 0<br />

To solve, set up the augmented matrix.<br />

[ 1 0 −1 0<br />

]<br />

0 1 2 0<br />

⎧⎡<br />

⎨<br />

Us<strong>in</strong>g Gaussian Elim<strong>in</strong>ation, we f<strong>in</strong>d that W ⊥ = span ⎣<br />

⎩<br />

for W ⊥ .<br />

1<br />

−2<br />

1<br />

⎤⎫<br />

⎧⎡<br />

⎬ ⎨<br />

⎦<br />

⎭ , and hence ⎣<br />

⎩<br />

The follow<strong>in</strong>g results summarize the important properties of the orthogonal projection.<br />

Theorem 4.146: Orthogonal Projection<br />

1<br />

−2<br />

1<br />

⎤⎫<br />

⎬<br />

⎦ is a basis<br />

⎭<br />

Let W be a subspace of R n , Y be any po<strong>in</strong>t <strong>in</strong> R n ,andletZ be the po<strong>in</strong>t <strong>in</strong> W closest to Y . Then,<br />

1. The position vector⃗z of the po<strong>in</strong>t Z is given by⃗z = proj W (⃗y)<br />

2. ⃗z ∈ W and⃗y −⃗z ∈ W ⊥<br />

3. |Y − Z| < |Y − Z 1 | for all Z 1 ≠ Z ∈ W<br />

♠<br />

Consider the follow<strong>in</strong>g example of this concept.<br />

Example 4.147: F<strong>in</strong>d a Vector Closest to a Given Vector<br />

Let<br />

⃗x 1 =<br />

⎡<br />

⎢<br />

⎣<br />

1<br />

0<br />

1<br />

0<br />

⎤<br />

⎥<br />

⎦ ,⃗x 2 =<br />

⎡<br />

⎢<br />

⎣<br />

1<br />

0<br />

1<br />

1<br />

⎤<br />

⎥<br />

⎦ ,⃗x 3 =<br />

We want to f<strong>in</strong>d the vector <strong>in</strong> W = span{⃗x 1 ,⃗x 2 ,⃗x 3 } closest to⃗y.<br />

⎡<br />

⎢<br />

⎣<br />

1<br />

1<br />

0<br />

0<br />

⎤ ⎡<br />

⎥<br />

⎦ , and⃗y = ⎢<br />

⎣<br />

4<br />

3<br />

−2<br />

5<br />

⎤<br />

⎥<br />

⎦ .

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

Saved successfully!

Ooh no, something went wrong!