Maths4UBETA

Scalar products, angles and perpendicularity

Use scalar products to find directed vector angles, smaller line angles and perpendicular directions.

Try the quick check →
Lesson 3 of 5

Section 1 of 5 · Core · about 6 min

How do two vectors produce a single number?

Multiply matching components and add the products. The resulting scalar can be negative, zero or positive.

Worked example

Find the scalar product

Calculate a⋅b\mathbf a\cdot\mathbf b for a=(3−14)\mathbf a=\begin{pmatrix}3\\-1\\4\end{pmatrix} and b=(−253)\mathbf b=\begin{pmatrix}-2\\5\\3\end{pmatrix}.

  1. Multiply corresponding components, then add.

  2. a⋅b=(3)(−2)+(−1)(5)+(4)(3)=1\mathbf a\cdot\mathbf b=\left(3\right)\left(-2\right)+\left(-1\right)\left(5\right)+\left(4\right)\left(3\right)=1.

Your turn

Calculate a⋅b\mathbf a\cdot\mathbf b for a=(2−51)\mathbf a=\begin{pmatrix}2\\-5\\1\end{pmatrix} and b=(74−2)\mathbf b=\begin{pmatrix}7\\4\\-2\end{pmatrix}.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 2 of 5 · Core · about 6 min

When does the angle between vectors become obtuse?

Put both vector arrows tail to tail. For non-zero vectors, divide the dot product by the two positive magnitudes to get the cosine of their angle.

Worked example

Find the angle between two vectors

Find the angle θ\theta between the vectors (41−2)\begin{pmatrix}4\\1\\-2\end{pmatrix} and (−131)\begin{pmatrix}-1\\3\\1\end{pmatrix}. Give your answer in degrees to one decimal place.

  1. Keep the sign of the scalar product −3-3 because the two vector arrows have fixed directions.

  2. The magnitudes are 21\sqrt{21} and 11\sqrt{11}, giving cos⁡θ=−23177\cos\theta=- \frac{\sqrt{231}}{77}.

  3. Therefore θ=101.4∘\theta=101.4^\circ.

Your turn

Find the angle θ\theta between the vectors (3−21)\begin{pmatrix}3\\-2\\1\end{pmatrix} and (−203)\begin{pmatrix}-2\\0\\3\end{pmatrix}. Give the exact value of cos⁡θ\cos\theta.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked example

Find the angle between two vectors

Find the angle θ\theta between the vectors (11−2)\begin{pmatrix}1\\1\\-2\end{pmatrix} and (2−34)\begin{pmatrix}2\\-3\\4\end{pmatrix}. Give your answer in degrees to one decimal place.

Try it on paper first.

  1. Keep the sign of the scalar product −9-9 because the two vector arrows have fixed directions.

  2. The magnitudes are 6\sqrt{6} and 29\sqrt{29}, giving cos⁡θ=−317458\cos\theta=- \frac{3 \sqrt{174}}{58}.

  3. Therefore θ=133.0∘\theta=133.0^\circ.

Section 3 of 5 · Core · about 6 min

Why can the sign change for a line angle?

A direction vector can be reversed without changing a line. The angle between two lines is the smaller angle made by a pair of their directions, whether or not the lines meet.

Two lines cross. Two solid direction arrows make an obtuse angle, while a dotted reverse arrow shows the smaller angle.

Either sense can describe the teal line. Its smaller angle with the blue line is the acute angle in this sketch.

Worked example

Find the smaller line angle

Find the smaller angle θ\theta between l1:r=(102)+t(1−23)l_1: \mathbf r=\begin{pmatrix}1\\0\\2\end{pmatrix}+t\begin{pmatrix}1\\-2\\3\end{pmatrix} and l2:r=(02−1)+u(−30−1)l_2: \mathbf r=\begin{pmatrix}0\\2\\-1\end{pmatrix}+u\begin{pmatrix}-3\\0\\-1\end{pmatrix}. Give your answer in degrees to one decimal place.

  1. Use the direction vectors. Their dot product is −6-6. The absolute value gives the smaller angle because either direction can represent a line.

  2. The magnitudes are 14\sqrt{14} and 10\sqrt{10}, giving cos⁡θ=33535\cos\theta=\frac{3 \sqrt{35}}{35}.

  3. Therefore θ=59.5∘\theta=59.5^\circ.

Your turn

Find the smaller angle θ\theta between l1:r=(102)+t(21−2)l_1: \mathbf r=\begin{pmatrix}1\\0\\2\end{pmatrix}+t\begin{pmatrix}2\\1\\-2\end{pmatrix} and l2:r=(02−1)+u(−143)l_2: \mathbf r=\begin{pmatrix}0\\2\\-1\end{pmatrix}+u\begin{pmatrix}-1\\4\\3\end{pmatrix}. Give your answer in degrees to one decimal place.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Worked example

Find the smaller line angle

Find the smaller angle θ\theta between l1:r=(102)+t(211)l_1: \mathbf r=\begin{pmatrix}1\\0\\2\end{pmatrix}+t\begin{pmatrix}2\\1\\1\end{pmatrix} and l2:r=(02−1)+u(−32−2)l_2: \mathbf r=\begin{pmatrix}0\\2\\-1\end{pmatrix}+u\begin{pmatrix}-3\\2\\-2\end{pmatrix}. Give the exact value of cos⁡θ\cos\theta.

Try it on paper first.

  1. Use the direction vectors. Their dot product is −6-6. The absolute value gives the smaller angle because either direction can represent a line.

  2. The magnitudes are 6\sqrt{6} and 17\sqrt{17}, giving cos⁡θ=10217\cos\theta=\frac{\sqrt{102}}{17}.

  3. cos⁡θ=10217\cos\theta=\frac{\sqrt{102}}{17}.

Section 4 of 5 · Core · about 6 min

When does a zero dot product show a right angle?

The dot product of non-zero vectors vanishes exactly when the cosine of their angle is zero. This gives an equation for unknown components.

Worked example

Use perpendicularity to find a coefficient

Find kk when (2−35)\begin{pmatrix}2\\-3\\5\end{pmatrix} and (1k7)\begin{pmatrix}1\\k\\7\end{pmatrix} are perpendicular.

  1. Both vectors have non-zero length when perpendicular. Their scalar product must be zero.

  2. The equation is 37−3k=037 - 3 k=0.

  3. Solving gives k=373k=\frac{37}{3}.

Your turn

Find kk when (52−3)\begin{pmatrix}5\\2\\-3\end{pmatrix} and (k−52)\begin{pmatrix}k\\-5\\2\end{pmatrix} are perpendicular.

Enter the value on its own or write k = … . Fractions and exact square roots are accepted.

Section 5 of 5 · Further applications · about 5 min

What does a negative projected component mean?

Taking the dot product with a unit direction gives the signed length of a component. A negative result means the component points against the chosen direction.

Worked example

Find a signed component along a direction

Find the signed scalar component of (−421)\begin{pmatrix}-4\\2\\1\end{pmatrix} along the direction (2−12)\begin{pmatrix}2\\-1\\2\end{pmatrix}. Give an exact value.

  1. Turn the direction into a unit vector (23−1323)\begin{pmatrix}\frac{2}{3}\\- \frac{1}{3}\\\frac{2}{3}\end{pmatrix}.

  2. Take the dot product with that unit vector. The signed component is −83- \frac{8}{3}.

Your turn

Find the signed scalar component of (34−2)\begin{pmatrix}3\\4\\-2\end{pmatrix} along the direction (−22−1)\begin{pmatrix}-2\\2\\-1\end{pmatrix}. Give an exact value.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Find the scalar product

1 mark

Calculate a⋅b\mathbf a\cdot\mathbf b for a=(41−2)\mathbf a=\begin{pmatrix}4\\1\\-2\end{pmatrix} and b=(2−52)\mathbf b=\begin{pmatrix}2\\-5\\2\end{pmatrix}.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Find the scalar product

Calculate a⋅b\mathbf a\cdot\mathbf b for a=(13−7)\mathbf a=\begin{pmatrix}1\\3\\-7\end{pmatrix} and b=(4−21)\mathbf b=\begin{pmatrix}4\\-2\\1\end{pmatrix}.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Find the angle between two vectors

Find the angle θ\theta between the vectors (413)\begin{pmatrix}4\\1\\3\end{pmatrix} and (2−13)\begin{pmatrix}2\\-1\\3\end{pmatrix}. Give your answer in degrees to one decimal place.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Find the smaller line angle

Find the exact value of cos⁡θ\cos\theta, where θ\theta is the smaller angle between l1:r=(102)+t(215)l_1: \mathbf r=\begin{pmatrix}1\\0\\2\end{pmatrix}+t\begin{pmatrix}2\\1\\5\end{pmatrix} and l2:r=(02−1)+u(−10−2)l_2: \mathbf r=\begin{pmatrix}0\\2\\-1\end{pmatrix}+u\begin{pmatrix}-1\\0\\-2\end{pmatrix}.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use perpendicularity to find a coefficient

Find kk when (21−5)\begin{pmatrix}2\\1\\-5\end{pmatrix} and (12k)\begin{pmatrix}1\\2\\k\end{pmatrix} are perpendicular.

Enter the value on its own or write k = … . Fractions and exact square roots are accepted.

Find a signed component along a direction

Find the signed scalar component of (1−25)\begin{pmatrix}1\\-2\\5\end{pmatrix} along the direction (12−2)\begin{pmatrix}1\\2\\-2\end{pmatrix}. Give an exact value.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.