Normalize: g = ( -3, 4, -1)T
| g | = √(9 + 16 + 1 ) = √26 gu = ( -3, 4, -1)T / ( √26)
The following represents a unit vector oriented at 45o:
(1, 1)T / ( √2).
The length is
√( 12/2 + 12/2 ) = 1.
The angle is:
arctan(1/1) = 45o
How would you make a unit vector that is pointed in the opposite direction? Negate each component:
-( 1, 1)T / ( √2) = ( -1, -1)T / ( √2).
Create a unit vector that points in the opposite direction as (3, 0, 2)T.