impera Open Impera

A levels Further Mathematics · Core pure

Further vectors: lines and planes

1The scalar product

The scalar (dot) product of $\mathbf{a}$ and $\mathbf{b}$ is

$$\mathbf{a} \cdot \mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3 = |\mathbf{a}||\mathbf{b}|\cos\theta$$

where $\theta$ is the angle between them.

  • If $\mathbf{a} \cdot \mathbf{b} = 0$ (and neither is zero), the vectors are perpendicular.
Worked example

An angle

  1. $\mathbf{a} = \mathbf{i} + 2\mathbf{j} + 2\mathbf{k}$, $\mathbf{b} = 2\mathbf{i} - \mathbf{j} + 2\mathbf{k}$.
  2. $\mathbf{a} \cdot \mathbf{b} = 2 - 2 + 4 = 4$; $|\mathbf{a}| = |\mathbf{b}| = 3$.
  3. $\cos\theta = \frac{4}{9}$, so $\theta = 63.6^\circ$.
Check yourself

What does a·b = 0 tell you?

  • The vectors are equal

  • The vectors are perpendicular

  • The vectors are parallel

  • One vector is zero, always

Show the answer

The vectors are perpendicular

cos 90° = 0.

2Vector equations of lines

A line through point $A$ (position vector $\mathbf{a}$) with direction $\mathbf{b}$ has equation

$$\mathbf{r} = \mathbf{a} + \lambda\mathbf{b}$$

Each value of the parameter $\lambda$ gives a point on the line. The Cartesian form is

$$\frac{x - a_1}{b_1} = \frac{y - a_2}{b_2} = \frac{z - a_3}{b_3}$$

Two lines in 3D can be parallel, intersecting, or skew (neither parallel nor meeting).

Worked example

Do they meet?

  1. $l_1: \mathbf{r} = \lambda\mathbf{i}$ and $l_2: \mathbf{r} = \mathbf{j} + 2\mathbf{k} + \mu(\mathbf{j} + \mathbf{k})$.
  2. Equate: $\lambda = 0$, $0 = 1 + \mu$, $0 = 2 + \mu$. The last two disagree.
  3. The directions are not parallel, so the lines are skew.
Check yourself

What are two lines in 3D that neither meet nor are parallel called?

  • Perpendicular

  • Collinear

  • Coincident

  • Skew

Show the answer

Skew

This cannot happen in 2D.

3The vector product

The vector (cross) product $\mathbf{a} \times \mathbf{b}$ is a vector perpendicular to both $\mathbf{a}$ and $\mathbf{b}$:

$$\mathbf{a} \times \mathbf{b} = \begin{pmatrix} a_2b_3 - a_3b_2 \\ a_3b_1 - a_1b_3 \\ a_1b_2 - a_2b_1 \end{pmatrix}$$

Its magnitude is $|\mathbf{a}||\mathbf{b}|\sin\theta$, the area of the parallelogram formed by $\mathbf{a}$ and $\mathbf{b}$.

Worked example

A cross product

  1. $\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} \times \begin{pmatrix} 4 \\ 5 \\ 6 \end{pmatrix} = \begin{pmatrix} 12 - 15 \\ 12 - 6 \\ 5 - 8 \end{pmatrix} = \begin{pmatrix} -3 \\ 6 \\ -3 \end{pmatrix}$.
  2. Check: $(-3)(1) + 6(2) + (-3)(3) = 0$. ✓

Note that $\mathbf{b} \times \mathbf{a} = -(\mathbf{a} \times \mathbf{b})$.

Check yourself

What direction is a × b?

  • Halfway between a and b

  • Parallel to a

  • Parallel to b

  • Perpendicular to both a and b

Show the answer

Perpendicular to both a and b

Useful for finding normals to planes.

4Equations of planes

A plane with normal vector $\mathbf{n}$ through point $A$ has equation

$$\mathbf{r} \cdot \mathbf{n} = \mathbf{a} \cdot \mathbf{n}$$

In Cartesian form: $n_1x + n_2y + n_3z = d$.

Worked example

A plane through a point

  1. Plane through $(1, 0, 2)$ with normal $2\mathbf{i} - \mathbf{j} + 3\mathbf{k}$.
  2. $d = 2(1) - 0 + 3(2) = 8$, so $2x - y + 3z = 8$.

To find a plane through three points, find two direction vectors in the plane, take their cross product for the normal, then substitute one point.

A plane is fixed by a point and a normal n. A line meets it where the line's general point satisfies the plane's equation.

Check yourself

In the plane 3x − y + 5z = 7, what is a normal vector?

  • 7k

  • 3i + j + 5k

  • 3i − j + 5k

  • i + j + k

Show the answer

3i − j + 5k

The coefficients of x, y and z.

5Intersections and angles

Line meets plane: substitute the line's general point into the plane's equation and solve for $\lambda$.

Worked example

Line and plane

  1. Line $\mathbf{r} = \mathbf{i} + \mathbf{j} + \lambda(\mathbf{i} + 2\mathbf{j} + \mathbf{k})$; plane $2x - y + 3z = 8$.
  2. $2(1 + \lambda) - (1 + 2\lambda) + 3\lambda = 8$, so $1 + 3\lambda = 8$ and $\lambda = \frac{7}{3}$.
  3. Point: $\left(\frac{10}{3}, \frac{17}{3}, \frac{7}{3}\right)$.

Angles:

  • between two lines: use their direction vectors;
  • between a line and a plane: $\sin\theta = \dfrac{|\mathbf{b} \cdot \mathbf{n}|}{|\mathbf{b}||\mathbf{n}|}$ (the angle between the line and the normal is $90^\circ - \theta$);
  • between two planes: the angle between their normals.
Worked example

Line and plane angle

  1. $\mathbf{b} = \mathbf{i} + 2\mathbf{j} + \mathbf{k}$, $\mathbf{n} = 2\mathbf{i} - \mathbf{j} + 3\mathbf{k}$: $\mathbf{b} \cdot \mathbf{n} = 3$.
  2. $\sin\theta = \dfrac{3}{\sqrt{6}\sqrt{14}} = 0.327$, so $\theta = 19.1^\circ$.
Check yourself

Why use sin rather than cos for the angle between a line and a plane?

  • The dot product gives the angle with the normal, which is 90° minus the required angle

  • Because lines are infinite, so the cosine cannot be calculated for them

  • It is just a convention with no mathematical reason behind it at all

  • Because planes are flat, so the sine of the angle is always used for them

Show the answer

The dot product gives the angle with the normal, which is 90° minus the required angle

cos(90° − θ) = sin θ.

6Distances

Point to plane: the distance from $(x_1, y_1, z_1)$ to $ax + by + cz = d$ is

$$\frac{|ax_1 + by_1 + cz_1 - d|}{\sqrt{a^2 + b^2 + c^2}}$$

Worked example

Point to plane

  1. Distance from $(3, 1, 4)$ to $2x - y + 3z = 8$: $\dfrac{|6 - 1 + 12 - 8|}{\sqrt{14}} = \dfrac{9}{\sqrt{14}} \approx 2.41$.

Between skew lines: the shortest distance is along the common perpendicular $\mathbf{n} = \mathbf{b}_1 \times \mathbf{b}_2$:

$$d = \frac{|(\mathbf{a}_2 - \mathbf{a}_1) \cdot \mathbf{n}|}{|\mathbf{n}|}$$

Worked example

Skew lines

  1. For the skew lines earlier: $\mathbf{b}_1 \times \mathbf{b}_2 = \mathbf{i} \times (\mathbf{j} + \mathbf{k}) = -\mathbf{j} + \mathbf{k}$.
  2. $\mathbf{a}_2 - \mathbf{a}_1 = \mathbf{j} + 2\mathbf{k}$; dot product $= -1 + 2 = 1$.
  3. $d = \frac{1}{\sqrt{2}} \approx 0.707$.
Check yourself

Which vector gives the direction of the shortest distance between skew lines?

  • Either direction vector

  • The cross product of their directions

  • The sum of their directions

  • The position vector of a point

Show the answer

The cross product of their directions

It is perpendicular to both lines.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera