Vectors

Pure Mathematics

Vectors underpin the 3D geometry section of H2 Mathematics (9758). You will use the scalar (dot) product to find angles between directions, the vector (cross) product to find areas and normals, and both to work with equations of lines and planes. Every technique reduces to careful manipulation of column vectors and a small set of formulae.

What you need to know

Worked example 1 — angle between two vectors

Find the angle between a=(212)\mathbf{a} = \begin{pmatrix}2\\1\\-2\end{pmatrix} and b=(122)\mathbf{b} = \begin{pmatrix}1\\-2\\2\end{pmatrix}.

Step 1: compute the dot product.

ab=(2)(1)+(1)(2)+(2)(2)=224=4.\mathbf{a}\cdot\mathbf{b} = (2)(1) + (1)(-2) + (-2)(2) = 2 - 2 - 4 = -4.

Step 2: find the magnitudes.

a=4+1+4=3,b=1+4+4=3.|\mathbf{a}| = \sqrt{4+1+4} = 3, \qquad |\mathbf{b}| = \sqrt{1+4+4} = 3.

Step 3: apply the formula.

cosθ=43×3=49.\cos\theta = \frac{-4}{3 \times 3} = -\frac{4}{9}. θ=cos1 ⁣(49)116.4.\theta = \cos^{-1}\!\left(-\tfrac{4}{9}\right) \approx 116.4^\circ.

The angle between the two vectors is approximately 116.4116.4^\circ.

Worked example 2 — area of a triangle via the cross product

Triangle ABCABC has vertices A(1,0,0)A(1,0,0), B(0,2,0)B(0,2,0), C(0,0,3)C(0,0,3). Find its area.

Step 1: form two edge vectors from AA.

AB=(120),AC=(103).\overrightarrow{AB} = \begin{pmatrix}-1\\2\\0\end{pmatrix}, \qquad \overrightarrow{AC} = \begin{pmatrix}-1\\0\\3\end{pmatrix}.

Step 2: compute the cross product.

AB×AC=ijk120103=((2)(3)(0)(0)(0)(1)(1)(3)(1)(0)(2)(1))=(632).\overrightarrow{AB}\times\overrightarrow{AC} = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\-1&2&0\\-1&0&3\end{vmatrix} = \begin{pmatrix}(2)(3)-(0)(0)\\(0)(-1)-(−1)(3)\\(-1)(0)-(2)(-1)\end{pmatrix} = \begin{pmatrix}6\\3\\2\end{pmatrix}.

Step 3: find the magnitude and halve it.

AB×AC=36+9+4=49=7.\left|\overrightarrow{AB}\times\overrightarrow{AC}\right| = \sqrt{36+9+4} = \sqrt{49} = 7. Area of ABC=12×7=3.5 units2.\text{Area of } \triangle ABC = \tfrac{1}{2} \times 7 = 3.5 \text{ units}^2.

Worked example 3 — distance from a point to a plane

Find the perpendicular distance from P(1,3,1)P(1,3,-1) to the plane 2xy+2z=52x - y + 2z = 5.

The normal vector is n=(212)\mathbf{n} = \begin{pmatrix}2\\-1\\2\end{pmatrix}, so n=4+1+4=3|\mathbf{n}| = \sqrt{4+1+4} = 3.

Distance=2(1)+(1)(3)+2(1)53=23253=83=832.67 units.\text{Distance} = \frac{|2(1) + (-1)(3) + 2(-1) - 5|}{3} = \frac{|2 - 3 - 2 - 5|}{3} = \frac{|-8|}{3} = \frac{8}{3} \approx 2.67 \text{ units.}

Common mistakes

Ask MathChat about Vectors →