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.

172 R n<br />

We will conclude this section with an important application of projections. Suppose a l<strong>in</strong>e L and a<br />

po<strong>in</strong>t P are given such that P is not conta<strong>in</strong>ed <strong>in</strong> L. Through the use of projections, we can determ<strong>in</strong>e the<br />

shortest distance from P to L.<br />

Example 4.40: Shortest Distance from a Po<strong>in</strong>t to a L<strong>in</strong>e<br />

Let P =(1,3,5) be a⎡po<strong>in</strong>t⎤<br />

<strong>in</strong> R 3 ,andletL be the l<strong>in</strong>e which goes through po<strong>in</strong>t P 0 =(0,4,−2) with<br />

direction vector d ⃗ 2<br />

= ⎣ 1 ⎦. F<strong>in</strong>d the shortest distance from P to the l<strong>in</strong>e L, and f<strong>in</strong>d the po<strong>in</strong>t Q on<br />

2<br />

L that is closest to P.<br />

Solution. In order to determ<strong>in</strong>e the shortest distance from P to L, we will first f<strong>in</strong>d the vector −→ P 0 P and then<br />

f<strong>in</strong>d the projection of this vector onto L. The vector −→ P 0 P is given by<br />

⎡ ⎤ ⎡ ⎤ ⎡ ⎤<br />

1 0 1<br />

⎣ 3 ⎦ − ⎣ 4 ⎦ = ⎣ −1 ⎦<br />

5 −2 7<br />

Then, if Q is the po<strong>in</strong>t on L closest to P, it follows that<br />

−−→ −→<br />

P0 Q = projd<br />

⃗ P 0 P<br />

( −→<br />

P0 P • d<br />

=<br />

⃗ )<br />

⃗d<br />

‖⃗d‖ 2<br />

⎡ ⎤<br />

= 15 2<br />

⎣ 1 ⎦<br />

9<br />

2<br />

⎡ ⎤<br />

= 5 2<br />

⎣ 1 ⎦<br />

3<br />

2<br />

Now, the distance from P to L is given by<br />

‖ −→ QP‖ = ‖ −→ P 0 P − −−→ P 0 Q‖ = √ 26<br />

The po<strong>in</strong>t Q is found by add<strong>in</strong>g the vector −−→ P 0 Q to the position vector −→ 0P 0 for P 0 as follows<br />

⎡ ⎤<br />

⎡<br />

⎣<br />

0<br />

4<br />

−2<br />

⎤<br />

⎡<br />

⎦ + 5 ⎣<br />

3<br />

2<br />

1<br />

2<br />

⎤<br />

⎦ =<br />

Therefore, Q =( 10 3 , 17<br />

3 , 4 3 ). ♠<br />

⎢<br />

⎣<br />

10<br />

3<br />

17<br />

3<br />

4<br />

3<br />

⎥<br />

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

Saved successfully!

Ooh no, something went wrong!