A levels Mathematics · Pure: coordinate geometry and sequences
Straight lines
1Gradient and equations of a line
The gradient of the line through $(x_1, y_1)$ and $(x_2, y_2)$ is
$$m = \frac{y_2 - y_1}{x_2 - x_1}$$
A positive gradient slopes up from left to right; a negative gradient slopes down. Horizontal lines have gradient 0; vertical lines have undefined gradient.
Three useful forms of the equation of a line:
- $y = mx + c$: gradient $m$, $y$-intercept $c$.
- $y - y_1 = m(x - x_1)$: gradient $m$ through the point $(x_1, y_1)$. This is usually the quickest form.
- $ax + by + c = 0$: the general form, often requested with integer $a$, $b$, $c$.
Line through two points
- Find the equation of the line through $A(2, -1)$ and $B(6, 7)$.
- $m = \dfrac{7 - (-1)}{6 - 2} = \dfrac{8}{4} = 2$.
- $y - (-1) = 2(x - 2)$, so $y = 2x - 5$.
- In the form $ax + by + c = 0$: $2x - y - 5 = 0$.
Check yourself
What is the gradient of the line through (1, 3) and (4, −3)?
Show the answer
−2
(−3 − 3)/(4 − 1) = −6/3 = −2.
2Parallel and perpendicular lines
- Parallel lines have equal gradients.
- Perpendicular lines have gradients that multiply to $-1$: if one gradient is $m$, the other is $-\dfrac{1}{m}$.
Perpendicular line through a point
- Find the line perpendicular to $3x + 4y = 12$ through $(3, 1)$.
- Rearrange: $y = -\frac{3}{4}x + 3$, so the gradient is $-\frac{3}{4}$.
- Perpendicular gradient: $\frac{4}{3}$.
- $y - 1 = \frac{4}{3}(x - 3)$, so $3y - 3 = 4x - 12$, giving $4x - 3y - 9 = 0$.
To check whether two lines are perpendicular, multiply the gradients: the product must be exactly $-1$.
Check yourself
A line has gradient 5. What is the gradient of a line perpendicular to it?
Show the answer
−1/5
The negative reciprocal of 5 is −1/5.
3Midpoints and distances
For points $A(x_1, y_1)$ and $B(x_2, y_2)$:
- Midpoint: $\left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)$.
- Distance: $AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$, from Pythagoras.
The perpendicular bisector of $AB$ passes through the midpoint of $AB$ and is perpendicular to $AB$. Every point on it is the same distance from $A$ and $B$.
Perpendicular bisector
- $A(-1, 2)$ and $B(5, 6)$.
- Midpoint: $(2, 4)$. Gradient of $AB$: $\frac{4}{6} = \frac{2}{3}$.
- Perpendicular gradient: $-\frac{3}{2}$.
- $y - 4 = -\frac{3}{2}(x - 2)$, so $2y - 8 = -3x + 6$, giving $3x + 2y - 14 = 0$.
- Length $AB = \sqrt{36 + 16} = \sqrt{52} = 2\sqrt{13}$.
Check yourself
What is the distance between (1, 2) and (4, 6)?
Show the answer
5
√(3² + 4²) = 5.
4Intersections
Two lines meet where their equations are both true, so solve them simultaneously.
Point of intersection
- Find where $y = 2x - 5$ meets $x + 3y = 6$.
- Substitute: $x + 3(2x - 5) = 6$, so $7x = 21$, $x = 3$.
- $y = 2(3) - 5 = 1$. The lines meet at $(3, 1)$.
Lines with equal gradients but different intercepts are parallel and never meet.
A line meets the $x$-axis where $y = 0$ and the $y$-axis where $x = 0$. These intercepts are often used to find areas of triangles.
Area of a triangle
- The line $2x + 5y = 20$ meets the axes at $P$ and $Q$.
- $x = 0$: $y = 4$, so $Q(0, 4)$. $y = 0$: $x = 10$, so $P(10, 0)$.
- Area of triangle $OPQ$: $\frac{1}{2} \times 10 \times 4 = 20$ square units.
Check yourself
Where does the line 3x − 2y = 12 cross the x-axis?
Show the answer
(4, 0)
Set y = 0: 3x = 12.
5Geometry problems with lines
Many exam questions combine these skills to prove geometric facts.
- Show that a triangle is right-angled: two sides have gradients multiplying to $-1$, or the side lengths satisfy Pythagoras.
- Show that a quadrilateral is a parallelogram: opposite sides have equal gradients.
- Show that points are collinear: the gradients between pairs of points are equal.
AB and BC are perpendicular because their gradients multiply to −1, so the angle at B is a right angle
Right angle at B
- $A(1, 1)$, $B(6, 2)$, $C(5, 7)$.
- Gradient $AB = \frac{1}{5}$; gradient $BC = \frac{5}{-1} = -5$.
- $\frac{1}{5} \times (-5) = -1$, so $AB$ is perpendicular to $BC$.
- Triangle $ABC$ has a right angle at $B$.
Check yourself
Points P, Q and R are collinear. What must be true?
Show the answer
The gradients PQ and QR are equal
Collinear points lie on one straight line.
6Lines as models
Straight lines model situations with a constant rate of change.
- The gradient is the rate of change: cost per item, speed, growth per year.
- The intercept is the starting value: a fixed charge, an initial amount.
A linear model
- A taxi charges a fixed £3.50 plus £1.80 per mile.
- Model: $C = 1.8d + 3.5$, where $C$ is cost in pounds and $d$ is distance in miles.
- Gradient 1.8 means each mile adds £1.80; the intercept 3.5 is the fixed charge.
- A 12-mile journey costs $1.8 \times 12 + 3.5 = £25.10$.
Comment on limitations: a linear model may not hold for very large or very small values, or the rate may change in reality.
Check yourself
In a model C = 0.15n + 20 for a phone bill, what does 20 represent?
Show the answer
A fixed charge paid regardless of usage
The intercept is the value when n = 0.
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