Exercise 3.4 — Question 5
This question applies the cross product (vector product) to find the angle between two vectors in 3D space.
The cross product of two vectors a and b is defined as:
a × b = ∣ a ∣∣ b ∣ sin θ n ^
where θ is the angle between a and b , and n ^ is the unit vector perpendicular to both a and b (determined by the right-hand rule).
For a = a 1 i ^ + a 2 j ^ + a 3 k ^ and b = b 1 i ^ + b 2 j ^ + b 3 k ^ :
a × b = i ^ a 1 b 1 j ^ a 2 b 2 k ^ a 3 b 3
= ( a 2 b 3 − a 3 b 2 ) i ^ − ( a 1 b 3 − a 3 b 1 ) j ^ + ( a 1 b 2 − a 2 b 1 ) k ^
From the definition:
sin θ = ∣ a ∣∣ b ∣ ∣ a × b ∣
Steps:
Compute a × b using the determinant formula.
Find ∣ a × b ∣ = ( a 2 b 3 − a 3 b 2 ) 2 + ( a 1 b 3 − a 3 b 1 ) 2 + ( a 1 b 2 − a 2 b 1 ) 2 .
Find ∣ a ∣ and ∣ b ∣ using ∣ v ∣ = v 1 2 + v 2 2 + v 3 2 .
Substitute into sin θ = ∣ a ∣∣ b ∣ ∣ a × b ∣ and solve for θ .
Find the angle between a = i ^ + j ^ + k ^ and b = 2 i ^ + j ^ − k ^ .
Step 1: Compute a × b
a × b = i ^ 1 2 j ^ 1 1 k ^ 1 − 1
= i ^ ( 1 ⋅ ( − 1 ) − 1 ⋅ 1 ) − j ^ ( 1 ⋅ ( − 1 ) − 1 ⋅ 2 ) + k ^ ( 1 ⋅ 1 − 1 ⋅ 2 )
= i ^ ( − 1 − 1 ) − j ^ ( − 1 − 2 ) + k ^ ( 1 − 2 )
= − 2 i ^ + 3 j ^ − k ^
Step 2: Find ∣ a × b ∣
∣ a × b ∣ = ( − 2 ) 2 + 3 2 + ( − 1 ) 2 = 4 + 9 + 1 = 14
Step 3: Find magnitudes
∣ a ∣ = 1 + 1 + 1 = 3 , ∣ b ∣ = 4 + 1 + 1 = 6
Step 4: Find θ
sin θ = 3 ⋅ 6 14 = 18 14 = 18 14 = 9 7 = 3 7
θ = sin − 1 ( 3 7 )
The magnitude ∣ a × b ∣ equals the area of the parallelogram formed by a and b . The direction of a × b is perpendicular to the plane containing both vectors.