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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4. Length of a Vector 155<br />

We can now use our understand<strong>in</strong>g of the distance between two po<strong>in</strong>ts to def<strong>in</strong>e what is meant by the<br />

length of a vector. Consider the follow<strong>in</strong>g def<strong>in</strong>ition.<br />

Def<strong>in</strong>ition 4.14: Length of a Vector<br />

Let ⃗u =[u 1 ···u n ] T beavector<strong>in</strong>R n . Then, the length of ⃗u, written ‖⃗u‖ is given by<br />

√<br />

‖⃗u‖ = u 2 1 + ···+ u2 n<br />

This def<strong>in</strong>ition corresponds to Def<strong>in</strong>ition 4.10, if you consider the vector ⃗u to have its tail at the po<strong>in</strong>t<br />

0 =(0,···,0) and its tip at the po<strong>in</strong>t U =(u 1 ,···,u n ). Then the length of⃗u is equal to the distance between<br />

0andU, d(0,U). In general, d(P,Q)=‖ −→ PQ‖.<br />

Consider Example 4.11. By Def<strong>in</strong>ition 4.14, we could also f<strong>in</strong>d the distance between P and Q as the<br />

length of the vector connect<strong>in</strong>g them. Hence, if we were to draw a vector −→ PQ with its tail at P and its po<strong>in</strong>t<br />

at Q, this vector would have length equal to √ 47.<br />

We conclude this section with a new def<strong>in</strong>ition for the special case of vectors of length 1.<br />

Def<strong>in</strong>ition 4.15: Unit Vector<br />

Let ⃗u be a vector <strong>in</strong> R n . Then, we call ⃗u a unit vector if it has length 1, that is if<br />

‖⃗u‖ = 1<br />

Let ⃗v be a vector <strong>in</strong> R n . Then, the vector ⃗u which has the same direction as ⃗v but length equal to 1 is<br />

the correspond<strong>in</strong>g unit vector of⃗v. This vector is given by<br />

⃗u = 1<br />

‖⃗v‖ ⃗v<br />

We often use the term normalize to refer to this process. When we normalize avector,wef<strong>in</strong>dthe<br />

correspond<strong>in</strong>g unit vector of length 1. Consider the follow<strong>in</strong>g example.<br />

Example 4.16: F<strong>in</strong>d<strong>in</strong>g a Unit Vector<br />

Let⃗v be given by<br />

⃗v = [ 1 −3 4 ] T<br />

F<strong>in</strong>d the unit vector ⃗u which has the same direction as⃗v .<br />

Solution. We will use Def<strong>in</strong>ition 4.15 to solve this. Therefore, we need to f<strong>in</strong>d the length of ⃗v which, by<br />

Def<strong>in</strong>ition 4.14 is given by<br />

√<br />

‖⃗v‖ = v 2 1 + v2 2 + v2 3<br />

Us<strong>in</strong>g the correspond<strong>in</strong>g values we f<strong>in</strong>d that<br />

‖⃗v‖ =<br />

√<br />

1 2 +(−3) 2 + 4 2

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

Saved successfully!

Ooh no, something went wrong!