Let the vector parallel to →b=3^i+^k is n(3^i+^k) and the vector perpendicular to →b be x^i+y^j+z^k
Given that adding these two vectors will give →a=5^i+5^k
∴n(3^i+^k)+x^i+y^j+z^k=5^i+5^k
⇒3n^i+n^k+x^i+y^j+z^k=5^i+5^k
Therefore,
x+3n=5.....(1)
y=0
z+n=5.....(2)
Since vector x^i+y^j+z^k is perpendicular to →b, their dot product must be zero.
∴(3^i+^k).(x^i+y^j+z^k)=0
⇒3x+z=0
⇒z=−3x.....(3)
Substituting the value of z in eqn(2), we have
−3x+n=5.....(4)
From eqn(1)&(4), we get
n=2
x=−1
On substituting the value of x in eqn(2), we get
z=−3×(−1)=3
Hence the vector parallel to →b will be 2(3^i+^k)⇒6^i+2^k and the vector perpendicular to →b will be −1^i+0^j+3^k⇒−^i+3^k.