If b≠0, then every vector a can be written in a unique manner as the sum of a vector a|| parallel to b and a vector a⊥ perpendicular to b. If a is parallel to b, then a||=a and a⊥=0. If a is perpendicular to b, then a||=0 and a⊥=a. The vector a|| is called the projection of a on b and is denoted by projba. Since projba is parallel to b, it is a scalar multiple of the unit vector in the direction of b, i.e., projba=λubThe scalar λ is called the component of a in the direction of b and is denoted by compba. In fact, projba=(a⋅ub)ub and compba=a⋅ub
If a=−2i+j+k and b=4i−3j+k, then projba is equal to