Leaving Certificate Mathematics18.4 Perpendicularity and the angle between vectors

All books

18.4 Perpendicularity and the angle between vectors — Learn

Prerequisites: Section 18.3 — the dot product and the angle formula.

Objectives: test two vectors for perpendicularity; find the angle between two vectors; find a vector perpendicular to a given one.

By the end of this section you can decide whether two directions meet at a right angle, and measure the angle between any two directions.

The perpendicularity test

Two non-zero vectors are perpendicular when the angle between them is 90∘90^\circ. At that angle cos⁡θ=0\cos\theta = 0, so the angle formula gives a⋅b=0\mathbf{a} \cdot \mathbf{b} = 0.

Perpendicularity test. Two non-zero vectors are perpendicular exactly when their dot product is zero.

This turns a question about a picture into a calculation. To test whether two directions meet at a right angle, work out their dot product and see whether it is zero.

Example 1. Show that (12)\begin{pmatrix} 1 \\ 2 \end{pmatrix} and (2−1)\begin{pmatrix} 2 \\ -1 \end{pmatrix} are perpendicular.

1×2+2×(−1)=2−2=01 \times 2 + 2 \times (-1) = 2 - 2 = 0

The dot product is zero, so the two vectors are perpendicular.

Finding the angle

Rearranging the angle formula gives the angle itself:

The angle between two vectors. For non-zero vectors a\mathbf{a} and b\mathbf{b},

cos⁡θ=a⋅b∣a∣ ∣b∣\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|\,|\mathbf{b}|}

Then θ=cos⁡−1\theta = \cos^{-1} of that value, between 0∘0^\circ and 180∘180^\circ.

The value of cos⁡θ\cos\theta always lies between −1-1 and 11, because it is a cosine. If your value falls outside that range, the arithmetic has gone wrong.

Example 2. Find the angle between (10)\begin{pmatrix} 1 \\ 0 \end{pmatrix} and (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}.

The dot product is 1×1+0×1=11 \times 1 + 0 \times 1 = 1. The lengths are 11 and 12+12=2\sqrt{1^2 + 1^2} = \sqrt{2}. So

cos⁡θ=11×2=12\cos\theta = \frac{1}{1 \times \sqrt{2}} = \frac{1}{\sqrt{2}}

and θ=45∘\theta = 45^\circ.

Example 3. Find the angle between (23)\begin{pmatrix} 2 \\ 3 \end{pmatrix} and (14)\begin{pmatrix} 1 \\ 4 \end{pmatrix}, to one decimal place.

The dot product is 2×1+3×4=142 \times 1 + 3 \times 4 = 14. The lengths are 13\sqrt{13} and 17\sqrt{17}. So

cos⁡θ=141317=0.9418⇒θ=19.7∘\cos\theta = \frac{14}{\sqrt{13}\sqrt{17}} = 0.9418 \quad\Rightarrow\quad \theta = 19.7^\circ

The positive cosine tells you the angle is acute, which fits the small answer.

Figure 1

Predict, then test. Set the two vectors so that the angle in the readout is exactly 9090 degrees. Write down the four components, then work out the dot product on paper and check that it is zero. Now change one component and predict whether the angle becomes acute or obtuse. Test it, and write down how the sign of the dot product matches your prediction.

Perpendicular vectors in the plane

In two dimensions there is a quick way to write down a perpendicular vector. Swap the two components and change the sign of one of them.

For (ab)\begin{pmatrix} a \\ b \end{pmatrix}, both (−ba)\begin{pmatrix} -b \\ a \end{pmatrix} and (b−a)\begin{pmatrix} b \\ -a \end{pmatrix} are perpendicular to it. Check:

a(−b)+ba=−ab+ab=0a(-b) + ba = -ab + ab = 0

Example 4. Find a vector perpendicular to (34)\begin{pmatrix} 3 \\ 4 \end{pmatrix}.

Swap and change one sign: (−43)\begin{pmatrix} -4 \\ 3 \end{pmatrix}. Check the dot product:

3×(−4)+4×3=−12+12=03 \times (-4) + 4 \times 3 = -12 + 12 = 0

Progress check

Back to the chapter problem. The drone's two legs are a=(62)\mathbf{a} = \begin{pmatrix} 6 \\ 2 \end{pmatrix} km and b=(−26)\mathbf{b} = \begin{pmatrix} -2 \\ 6 \end{pmatrix} km, and Section 18.3 showed that a⋅b=0\mathbf{a} \cdot \mathbf{b} = 0.

Say what that tells you about the angle at the drone's first stop. Then find the angle between the first leg and the displacement from the depot, which is a+b=(48)\mathbf{a} + \mathbf{b} = \begin{pmatrix} 4 \\ 8 \end{pmatrix} km. Keep the angle: the Review uses it.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.