Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Specialist (Unit 1 & 2) Algebra of vectors

Vector projections

20 practice questions 0 video lessons Theory + worked examples

Learn vector projections for Year 11 Specialist Mathematics in Queensland (QCAA). A projection measures how much of one vector points along another: the scalar projection gives that amount as a number, and the vector projection gives it as a vector.

You will use the scalar product to find both projections, the perpendicular component, and resolve a vector into parallel and perpendicular parts — skills behind later work and force problems.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A projection answers "how much of one vector points along another". In Year 11 Specialist Mathematics (QCAA, Queensland) the scalar projection gives that amount as a number and the vector projection gives it as a vector along the second direction. This page defines both, shows how to find the perpendicular component, and works through resolving a vector into components.

Given two vectors \(\mathbf{a}\) and \(\mathbf{b}\), a projection measures how much of \(\mathbf{a}\) lies in the direction of \(\mathbf{b}\). It is built entirely from the scalar product \(\mathbf{a}\cdot\mathbf{b}\) and the magnitude \(|\mathbf{b}|\).

The scalar projection (also called the component) of \(\mathbf{a}\) in the direction of \(\mathbf{b}\) is the number \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\). It is the signed length of the shadow \(\mathbf{a}\) casts onto the line of \(\mathbf{b}\).

The vector projection of \(\mathbf{a}\) onto \(\mathbf{b}\), written \(\text{proj}_{\mathbf{b}}\,\mathbf{a}\), is that shadow as a vector: \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^{2}}\,\mathbf{b}\). It always points along \(\mathbf{b}\) (or the opposite way).

The leftover part, \(\mathbf{a}-\text{proj}_{\mathbf{b}}\,\mathbf{a}\), is the component of \(\mathbf{a}\) perpendicular to \(\mathbf{b}\). Adding the parallel and perpendicular components back together gives \(\mathbf{a}\); this is what "resolving a vector into components" means. A negative scalar projection tells you the angle between the vectors is obtuse.

Vector projection of a onto b Vectors a=(1,4) and b=(4,2) drawn from the origin. A perpendicular dropped from the tip of a meets the line of b at the point (2.4, 1.2); the green arrow from the origin to that point is the vector projection of a onto b. a b proj
The vector projection of \(\mathbf{a}\) onto \(\mathbf{b}\) reaches the foot of the perpendicular dropped from the tip of \(\mathbf{a}\).
Resolving a vector into two components Vector a=(2,6) is split into a green component along b=(4,2) reaching the point (4,2) and an orange component perpendicular to b, drawn from (4,2) up to the tip of a. The two components meet at a right angle and add to a. a b parallel perp.
Resolving \(\mathbf{a}\) into a component parallel to \(\mathbf{b}\) (green) plus a component perpendicular to \(\mathbf{b}\) (orange).

For the scalar projection (component) of \(\mathbf{a}\) in the direction of \(\mathbf{b}\):

\[ \text{comp}_{\mathbf{b}}\,\mathbf{a} = \dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|} \]
ab|b|

For the vector projection of \(\mathbf{a}\) onto \(\mathbf{b}\):

\[ \text{proj}_{\mathbf{b}}\,\mathbf{a} = \dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^{2}}\,\mathbf{b} \]
projba=ab|b|2b

For the component perpendicular to \(\mathbf{b}\):

\[ \mathbf{a}_{\perp} = \mathbf{a}-\text{proj}_{\mathbf{b}}\,\mathbf{a} \]
a=a-projba
Divide by \(|\mathbf{b}|\) once for the scalar, twice for the vector. The scalar projection carries a single \(|\mathbf{b}|\) in the denominator; the vector projection carries \(|\mathbf{b}|^{2}\) because it also multiplies by \(\mathbf{b}\). Keep exact values exact (surds, fractions).

How to project one vector onto another

  1. Find the scalar product \(\mathbf{a}\cdot\mathbf{b}\) by multiplying matching components and adding.
  2. Find \(|\mathbf{b}|\) (or \(|\mathbf{b}|^{2}\)): use \(|\mathbf{b}|=\sqrt{b_1^{2}+b_2^{2}}\). For a vector projection you only need \(|\mathbf{b}|^{2}=b_1^{2}+b_2^{2}\), so no surd appears.
  3. Divide: for the scalar projection compute \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\); for the vector projection multiply \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^{2}}\) by \(\mathbf{b}\).
  4. Perpendicular part if asked: subtract the vector projection from \(\mathbf{a}\), then check it by confirming its scalar product with \(\mathbf{b}\) is \(0\).
Example 1 — Scalar projection
Find the scalar projection of \(\mathbf{a}=6\mathbf{i}+8\mathbf{j}\) in the direction of \(\mathbf{b}=3\mathbf{i}+4\mathbf{j}\).
Solution

Scalar product first, then divide by \(|\mathbf{b}|\):

\(\mathbf{a}\cdot\mathbf{b}\)\(=\)\((6)(3)+(8)(4)\)
\(=\)\(18+32\)
\(=\)\(50\)
\(|\mathbf{b}|\)\(=\)\(\sqrt{3^{2}+4^{2}}\)
\(=\)\(\sqrt{25}=5\)
\(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\)\(=\)\(\dfrac{50}{5}\)
\(=\)\(10\)

The scalar projection is \(10\).

Example 2 — Scalar projection (exact surd)
Find the scalar projection of \(\mathbf{a}=5\mathbf{i}+2\mathbf{j}\) in the direction of \(\mathbf{b}=\mathbf{i}+3\mathbf{j}\). Leave it exact.
Solution

The denominator is a surd, so keep the answer as an exact fraction:

\(\mathbf{a}\cdot\mathbf{b}\)\(=\)\((5)(1)+(2)(3)\)
\(=\)\(5+6\)
\(=\)\(11\)
\(|\mathbf{b}|\)\(=\)\(\sqrt{1^{2}+3^{2}}\)
\(=\)\(\sqrt{10}\)
\(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\)\(=\)\(\dfrac{11}{\sqrt{10}}\)

The scalar projection is \(\dfrac{11}{\sqrt{10}}\).

Example 3 — Vector projection
Find the vector projection of \(\mathbf{a}=\mathbf{i}+3\mathbf{j}\) onto \(\mathbf{b}=\mathbf{i}+\mathbf{j}\).
Solution

Use \(|\mathbf{b}|^{2}\) (no surd needed) then multiply the fraction by \(\mathbf{b}\):

\(\mathbf{a}\cdot\mathbf{b}\)\(=\)\((1)(1)+(3)(1)\)
\(=\)\(4\)
\(|\mathbf{b}|^{2}\)\(=\)\(1^{2}+1^{2}\)
\(=\)\(2\)
\(\text{proj}_{\mathbf{b}}\,\mathbf{a}\)\(=\)\(\dfrac{4}{2}(\mathbf{i}+\mathbf{j})\)
\(=\)\(2(\mathbf{i}+\mathbf{j})\)
\(=\)\(2\mathbf{i}+2\mathbf{j}\)

The vector projection is \(2\mathbf{i}+2\mathbf{j}\).

Example 4 — Resolve into components
Resolve \(\mathbf{a}=2\mathbf{i}+6\mathbf{j}\) into a component parallel to \(\mathbf{b}=4\mathbf{i}+2\mathbf{j}\) and a component perpendicular to \(\mathbf{b}\).
Solution

Parallel part is the vector projection:

\(\mathbf{a}\cdot\mathbf{b}\)\(=\)\((2)(4)+(6)(2)\)
\(=\)\(8+12\)
\(=\)\(20\)
\(|\mathbf{b}|^{2}\)\(=\)\(4^{2}+2^{2}\)
\(=\)\(20\)
\(\text{proj}_{\mathbf{b}}\,\mathbf{a}\)\(=\)\(\dfrac{20}{20}(4\mathbf{i}+2\mathbf{j})\)
\(=\)\(4\mathbf{i}+2\mathbf{j}\)

Perpendicular part is \(\mathbf{a}\) minus that projection:

\(\mathbf{a}-\text{proj}_{\mathbf{b}}\,\mathbf{a}\)\(=\)\((2\mathbf{i}+6\mathbf{j})-(4\mathbf{i}+2\mathbf{j})\)
\(=\)\(-2\mathbf{i}+4\mathbf{j}\)

Check the perpendicular part really is perpendicular to \(\mathbf{b}\):

\((-2\mathbf{i}+4\mathbf{j})\cdot\mathbf{b}\)\(=\)\((-2)(4)+(4)(2)\)
\(=\)\(-8+8\)
\(=\)\(0\ \checkmark\)

Parallel component \(4\mathbf{i}+2\mathbf{j}\); perpendicular component \(-2\mathbf{i}+4\mathbf{j}\).

Common pitfalls

Confusing the two projections. The scalar projection is a number \(\left(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\right)\); the vector projection is a vector \(\left(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^{2}}\,\mathbf{b}\right)\). Read the question: "component/scalar" wants a number, "vector projection" wants a vector.
Dividing by the wrong power of \(|\mathbf{b}|\). The vector projection uses \(|\mathbf{b}|^{2}\), not \(|\mathbf{b}|\). Using \(|\mathbf{b}|\) leaves the length wrong by a factor of \(|\mathbf{b}|\).
Projecting onto the wrong vector. \(\text{proj}_{\mathbf{b}}\,\mathbf{a}\) points along \(\mathbf{b}\), so the vector \(\mathbf{b}\) (not \(\mathbf{a}\)) appears in the answer.
Rounding a surd. Keep \(\sqrt{10}\), \(\dfrac{11}{\sqrt{10}}\) and fractions exact — do not turn them into decimals.

Frequently asked questions

What is the difference between a scalar projection and a vector projection?

The scalar projection is a single number, \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}\), giving the signed length along \(\mathbf{b}\). The vector projection is a vector, \(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^{2}}\,\mathbf{b}\), pointing along \(\mathbf{b}\).

Why does the vector projection divide by the magnitude squared?

One factor of \(|\mathbf{b}|\) turns \(\mathbf{a}\cdot\mathbf{b}\) into the scalar projection; the second turns \(\mathbf{b}\) into the unit vector \(\dfrac{\mathbf{b}}{|\mathbf{b}|}\). Together they give \(|\mathbf{b}|^{2}\).

What does a negative scalar projection mean?

It means the angle between \(\mathbf{a}\) and \(\mathbf{b}\) is obtuse, so \(\mathbf{a}\) points partly against \(\mathbf{b}\). The vector projection then points opposite to \(\mathbf{b}\).

How do I find the component of a vector perpendicular to another?

Subtract the vector projection from the original vector: \(\mathbf{a}-\text{proj}_{\mathbf{b}}\,\mathbf{a}\). You can check it by confirming its scalar product with \(\mathbf{b}\) is zero.

What happens if the two vectors are perpendicular?

Then \(\mathbf{a}\cdot\mathbf{b}=0\), so both the scalar projection and the vector projection are zero — \(\mathbf{a}\) casts no shadow along \(\mathbf{b}\).

What does resolving a vector into components mean?

It means writing the vector as the sum of two perpendicular parts: one parallel to a chosen direction (the vector projection) and one perpendicular to it. The two parts add back to the original vector.