How do you normalize <2,0,-1>?
1 Answer
Sep 9, 2017
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.
hatu=vecv/(|vecv|)
Given
abs(vecv)=sqrt((v_x)^2+(v_y)^2+(v_z)^2)
=>=sqrt((2)^2+(0)^2+(-1)^2)
=>=sqrt(4+0+1)
=>=sqrt(5)
We now have:
hatu=(<2,0,-1>)/sqrt(5)
We can also rationalize the denominator on the
=>hatu=<(2sqrt(5))/5,0,(-sqrt(5))/5>
Hope that helps!