Projection of a Vector

The idea

The projection of a⃗\vec{a} on b⃗\vec{b} is the part of a⃗\vec{a} that points along b⃗\vec{b}: its shadow on the line of b⃗\vec{b}. Using the dot product:

scalar projection=a⃗⋅b⃗∣b⃗∣=∣a⃗∣cos⁡θ,vector projection=(a⃗⋅b⃗∣b⃗∣2)b⃗\text{scalar projection} = \dfrac{\vec{a}\cdot\vec{b}}{|\vec{b}|} = |\vec{a}|\cos\theta, \qquad \text{vector projection} = \left(\dfrac{\vec{a}\cdot\vec{b}}{|\vec{b}|^2}\right)\vec{b}

The scalar projection is negative when the angle between them is obtuse.

Special angles

Projection of a vector a on a directed line, by the angle θ between them
AngleScalar projectionProjection vector
θ=0\theta = 0∣a⃗∣|\vec{a}|a⃗\vec{a} itself
θ=π2\theta = \dfrac{\pi}{2}0the zero vector
θ=π\theta = \pi−∣a⃗∣-|\vec{a}|a⃗\vec{a} itself (it already lies along the line, pointing the other way)

Worked example: if AB→\overrightarrow{AB} makes an angle of π\pi with a directed line ll, then AB→\overrightarrow{AB} lies along ll pointing the opposite way. Its scalar projection is ∣AB→∣cos⁡π=−∣AB→∣|\overrightarrow{AB}|\cos\pi = -|\overrightarrow{AB}|, and the projection vector is −∣AB→∣ l^-|\overrightarrow{AB}|\,\hat{l}, which is AB→\overrightarrow{AB} itself.

Worked example: in three dimensions

Find the projection of a⃗=2i^+3j^+2k^\vec{a} = 2\hat{i}+3\hat{j}+2\hat{k} on b⃗=i^+2j^+k^\vec{b} = \hat{i}+2\hat{j}+\hat{k}.

Solution: a⃗⋅b⃗=2+6+2=10\vec{a}\cdot\vec{b} = 2+6+2 = 10 and ∣b⃗∣=6|\vec{b}| = \sqrt{6}.

scalar projection=106=563≈4.08,vector projection=106b⃗=53i^+103j^+53k^\text{scalar projection} = \dfrac{10}{\sqrt{6}} = \dfrac{5\sqrt{6}}{3} \approx 4.08, \qquad \text{vector projection} = \dfrac{10}{6}\vec{b} = \dfrac{5}{3}\hat{i}+\dfrac{10}{3}\hat{j}+\dfrac{5}{3}\hat{k}

Check: what's left over, a⃗−projection=13i^−13j^+13k^\vec{a} - \text{projection} = \dfrac{1}{3}\hat{i}-\dfrac{1}{3}\hat{j}+\dfrac{1}{3}\hat{k}, should be perpendicular to b⃗\vec{b}: 13−23+13=0\dfrac{1}{3}-\dfrac{2}{3}+\dfrac{1}{3} = 0. It is.

Common mistakes

  • Dividing by ∣a⃗∣|\vec{a}| instead of ∣b⃗∣|\vec{b}|. You project onto b⃗\vec{b}, so divide by b⃗\vec{b}'s magnitude.
  • Confusing the scalar and vector projection. One is a number; the other is that number times the unit vector b^\hat{b}.
  • Mixing up projection of a⃗\vec{a} on b⃗\vec{b} with b⃗\vec{b} on a⃗\vec{a}. They have the same dot product but different denominators.
  • Dropping the sign. A negative scalar projection is meaningful: the angle is obtuse.

Where this comes up in exams

None of the syllabi checked names projection separately; it is computed with the scalar (dot) product. The 2025-26 CBSE Class XII syllabus lists the scalar (dot) product with its geometrical interpretation and applications, JEE Main 2026 lists scalar and vector products, and JEE Advanced 2026 lists dot and cross products and their geometrical interpretations.

Checked against CBSE Mathematics curriculum, Classes XI-XII (2025-26), JEE (Main) 2026 syllabus (NTA) and JEE (Advanced) 2026 syllabus. Syllabi can change from year to year, so confirm with the latest official notification for your exam.

Continue learning

Projection is a scaled unit vector along the target direction, so it leans on building a unit vector.

From past GATE papers