→b=ˆi−ˆj
Scalar projection of →a on →b
=→a.→b|→a|
=(ˆi−ˆj).(ˆi−ˆj)√(1)2+(−1)2
=12+(−1)2√2
=2√2
=√2
Vector projection of →a on →b
=→a.→b|→a|2.(ˆi+ˆj+ˆk)
=(ˆi−ˆj).(ˆi−ˆj)(√(1)2+(−1)2)2.(ˆi+ˆj+ˆk)
=12+(−1)2(√2)2.(ˆi+ˆj+ˆk)
=22.(ˆi+ˆj+ˆk)
=(ˆi+ˆj+ˆk)