Explanation
1. Given Information:
Angle between a and b is 120∘, so a⋅b=∣a∣∣b∣cos(120∘).
Since cos(120∘)=−21, we have:
a⋅b=∣a∣∣b∣(−21)
We are given ∣b∣=2∣a∣. Let ∣a∣=k, then ∣b∣=2k.
Substituting these into the dot product:
a⋅b=(k)(2k)(−21)=−k2
Also, note that ∣a∣2=k2 and ∣b∣2=(2k)2=4k2.
2. Condition for Perpendicularity:
The vectors (a+xb) and (a−b) are at right angles, so their dot product must be 0:
(a+xb)⋅(a−b)=0
3. Expanding the Dot Product:
a⋅a−a⋅b+xb⋅a−xb⋅b=0
∣a∣2−(a⋅b)+x(a⋅b)−x∣b∣2=0
4. Substituting the Values:
Substitute ∣a∣2=k2, a⋅b=−k2, and ∣b∣2=4k2:
k2−(−k2)+x(−k2)−x(4k2)=0
k2+k2−xk2−4xk2=0
2k2−5xk2=0
Dividing by k2 (assuming k=0):
2−5x=0
5x=2
x=52
Conclusion:
The value of x is 52. Therefore, the correct option is D.