How do you normalize <2,0,-1>?

1 Answer
Sep 9, 2017

ˆu=<255,0,55>

Explanation:

To normalize a vector is to find unit vector (vector with magnitude/length of one) in the same direction as the given vector. This can be accomplished by dividing the given vector by its magnitude.

ˆu=vv

Given v=<2,0,1>, we can calculate the magnitude of the vector:

v=(vx)2+(vy)2+(vz)2

=(2)2+(0)2+(1)2

=4+0+1

=5

We now have:

ˆu=<2,0,1>5

ˆu=<25,0,15>

We can also rationalize the denominator on the ˆx (ˆi) and ˆz (ˆk) component:

ˆu=<255,0,55>

Hope that helps!