Consider →p=(^i+^j+^k) and →q=(2^i+2^j+2^k)
The directions cosines of →p are given by,
l=1√12+12+12=1√3,m=1√12+12+12=1√3, and n=1√12+12+12=1√3.
The direction cosines of →q are given by
l=2√22+22+22=22√3=1√3,m=2√22+22+22=22√3=1√3, and n=2√22+22+22=22√3=1√3.
The direction cosines of →p and →q are the same. Hence, the two vectors have the same direction.