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.

152 R n<br />

4.4 Length of a Vector<br />

Outcomes<br />

A. F<strong>in</strong>d the length of a vector and the distance between two po<strong>in</strong>ts <strong>in</strong> R n .<br />

B. F<strong>in</strong>d the correspond<strong>in</strong>g unit vector to a vector <strong>in</strong> R n .<br />

In this section, we explore what is meant by the length of a vector <strong>in</strong> R n . We develop this concept by<br />

first look<strong>in</strong>g at the distance between two po<strong>in</strong>ts <strong>in</strong> R n .<br />

<strong>First</strong>, we will consider the concept of distance for R, that is, for po<strong>in</strong>ts <strong>in</strong> R 1 . Here, the distance<br />

between two po<strong>in</strong>ts P and Q is given by the absolute value of their difference. We denote the distance<br />

between P and Q by d(P,Q) which is def<strong>in</strong>ed as<br />

√<br />

d(P,Q)= (P − Q) 2 (4.2)<br />

Consider now the case for n = 2, demonstrated by the follow<strong>in</strong>g picture.<br />

P =(p 1 , p 2 )<br />

Q =(q 1 ,q 2 ) (p 1 ,q 2 )<br />

There are two po<strong>in</strong>ts P =(p 1 , p 2 ) and Q =(q 1 ,q 2 ) <strong>in</strong> the plane. The distance between these po<strong>in</strong>ts<br />

is shown <strong>in</strong> the picture as a solid l<strong>in</strong>e. Notice that this l<strong>in</strong>e is the hypotenuse of a right triangle which<br />

is half of the rectangle shown <strong>in</strong> dotted l<strong>in</strong>es. We want to f<strong>in</strong>d the length of this hypotenuse which will<br />

give the distance between the two po<strong>in</strong>ts. Note the lengths of the sides of this triangle are |p 1 − q 1 | and<br />

|p 2 − q 2 |, the absolute value of the difference <strong>in</strong> these values. Therefore, the Pythagorean Theorem implies<br />

the length of the hypotenuse (and thus the distance between P and Q) equals<br />

(|p 1 − q 1 | 2 + |p 2 − q 2 | 2) 1/2<br />

=<br />

((p 1 − q 1 ) 2 +(p 2 − q 2 ) 2) 1/2<br />

(4.3)<br />

Now suppose n = 3andletP =(p 1 , p 2 , p 3 ) and Q =(q 1 ,q 2 ,q 3 ) be two po<strong>in</strong>ts <strong>in</strong> R 3 . Consider the<br />

follow<strong>in</strong>g picture <strong>in</strong> which the solid l<strong>in</strong>e jo<strong>in</strong>s the two po<strong>in</strong>ts and a dotted l<strong>in</strong>e jo<strong>in</strong>s the po<strong>in</strong>ts (q 1 ,q 2 ,q 3 )<br />

and (p 1 , p 2 ,q 3 ).

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

Saved successfully!

Ooh no, something went wrong!