The angle between a and b is cos−1(95) and ∣a+b∣=2∣a−b∣.
Let cosθ=95.
From the formulas for the square of the length of the sum and difference of vectors we have:
∣a+b∣2=a2+b2+2abcosθ
∣a−b∣2=a2+b2−2abcosθ
Using the given condition we write:
a2+b2+2abcosθ=2(a2+b2−2abcosθ)
Expanding the right side gives:
a2+b2+2abcosθ=2a2+2b2−4abcosθ
Collecting like terms leads to:
6abcosθ=a2+b2
Substituting cosθ=95 into the equation gives:
6ab⋅95=a2+b2
which simplifies to:
310ab=a2+b2
Assume ∣a∣=n∣b∣ so that a=nb. Substituting into the last equation yields:
310nb2=n2b2+b2
Dividing both sides by b2 gives:
310n=n2+1
Rearranging to a standard quadratic form:
3n2−10n+3=0
Factoring the quadratic leads to:
(3n−1)(n−3)=0
Thus n=3 or n=31. Since the integer value is required we choose n=3.
The answer is 3.