Unit vector in the direction of given vector can be calculated by formula a^=∣a∣a where, ∣a∣= magnitude of given vector a.
Given, a=i^+j^+2k^ comparing with x=ai^+bj^+ck^, we get a=1,b=1,c=2
Magnitude of vector a=∣a∣=a2+b2+c2 =12+12+22=6 ∴ The unit vector a^ in the direction of vector a=i^+j^+2k^ is given by a^=∣a∣a=61(i^+j^+2k^) =61i^+61j^+62k^