Example 1: Vector between two points, magnitude and unit vector
Let OA = 2i + j − 2k and OB = 4i − 3j + 2k. Find AB, |AB| and the unit vector in the direction of AB.
AB = OB − OA = (4 − 2)i + (−3 − 1)j + (2 − (−2))k = 2i − 4j + 4k|AB| = √(2² + (−4)² + 4²) = √36 = 6- Unit vector
= AB / |AB| = (1/3)i − (2/3)j + (2/3)k
Answer: AB = 2i − 4j + 4k, |AB| = 6, (1/3)i − (2/3)j + (2/3)k