Exercise 3.2 — Question 5
Find the angle between the vectors a=3i^−j^+2k^ and b=2i^+2j^−4k^. Also find the projection of a along b.
For a=a1i^+a2j^+a3k^ and b=b1i^+b2j^+b3k^:
a⋅b=a1b1+a2b2+a3b3
The angle θ between two vectors is found using:
cosθ=∣a∣∣b∣a⋅b
θ=cos−1(∣a∣∣b∣a⋅b)
The scalar projection (component) of a along b is:
projba=∣b∣a⋅b
Step 1: Identify the vectors
a=3i^−j^+2k^,b=2i^+2j^−4k^
Step 2: Compute the dot product
a⋅b=(3)(2)+(−1)(2)+(2)(−4)=6−2−8=−4
Step 3: Find the magnitudes
∣a∣=32+(−1)2+22=9+1+4=14
∣b∣=22+22+(−4)2=4+4+16=24=26
Step 4: Find the angle
cosθ=14⋅26−4=284−4=421−4=21−1
θ=cos−1(21−1)
Step 5: Find the projection of a along b
projba=∣b∣a⋅b=26−4=6−2=6−26=3−6
| Quantity | Value |
|---|
| a⋅b | −4 |
| ∥a∥ | 14 |
| ∥b∥ | 26 |
| Angle θ | cos−1(21−1) |
| Projection of a along b | 3−6 |