Everything about a straight line follows from two facts: its gradient (how steep it is) and one point it passes through. This page is DfE content area C Β· Coordinate geometry, and it builds directly on the $y = mx + c$ work you met at GCSE.
| Form | When to use it | What you read off |
|---|---|---|
| $y = mx + c$ | Sketching; comparing gradients | Gradient $m$, $y$-intercept $(0, c)$ |
| $y - y_1 = m(x - x_1)$ | You know a gradient and a point | Passes through $(x_1, y_1)$ with gradient $m$ |
| $ax + by + c = 0$ | Final answers "in the formβ¦" with integer $a, b, c$ | Rearrange to find $m = -\dfrac{a}{b}$ |
Find the equation of the line through $A(2, -1)$ and $B(6, 7)$, giving it in the form $ax + by + c = 0$.
The line $L$ has equation $3x + 4y - 12 = 0$. Find its gradient and the points where it crosses the axes.
Find the equation of the line through $(4, 1)$ that is perpendicular to $2x - 3y + 6 = 0$.
$P(1, 2)$, $Q(5, 4)$ and $R(3, 8)$. Show that triangle $PQR$ is right-angled and find its area.
The distance formula is just Pythagoras: the horizontal and vertical changes are the two shorter sides of a right-angled triangle.
$A(-3, 2)$ and $B(5, -4)$. Find the length $AB$, and the equation of the perpendicular bisector of $AB$.
Find the point of intersection of $x + 2y = 7$ and $3x - y = 7$.
Show that $(-1, -4)$, $(2, 2)$ and $(5, 8)$ lie on a straight line.
The subject content asks you to use straight-line models in a variety of contexts. A linear model says one quantity changes at a constant rate with respect to another.
The length of a spring is $12$ cm when a $100$ g mass hangs from it, and $15$ cm with a $250$ g mass. Assume the length $L$ cm is a linear function of the mass $m$ g.
(a) Find $L$ in terms of $m$. (b) Interpret the gradient and intercept. (c) Predict $L$ for a $400$ g mass and comment.
Gradient
$m = \dfrac{y_2 - y_1}{x_2 - x_1}$
Pointβgradient
$y - y_1 = m(x - x_1)$
General form
$ax + by + c = 0$, gradient $-\dfrac{a}{b}$
Parallel
Same gradient.
Perpendicular
$m_1 m_2 = -1$: flip and change sign.
Midpoint
Average the $x$'s, average the $y$'s.
Distance
$\sqrt{(\Delta x)^2 + (\Delta y)^2}$
Perpendicular bisector
Through the midpoint, perpendicular gradient.
Intersection
Solve the equations simultaneously.
Models
Gradient = rate of change, with units.
Find the equation of the line through $(-2, 5)$ and $(4, -7)$ in the form $y = mx + c$.
βΆ Show solution
$m = \dfrac{-7 - 5}{4 - (-2)} = \dfrac{-12}{6} = -2$
$y - 5 = -2(x + 2) = -2x - 4$
$y = -2x + 1$. Check: $-2(4) + 1 = -7$ β
Find the gradient and $y$-intercept of the line $5x - 2y + 8 = 0$.
βΆ Show solution
$2y = 5x + 8$, so $y = \tfrac52 x + 4$.
Gradient $\tfrac52$, $y$-intercept $(0, 4)$.
Find the equation of the line through $(3, -2)$ parallel to $y = 4x + 1$.
βΆ Show solution
Parallel, so the gradient is $4$.
$y + 2 = 4(x - 3)$, so $y = 4x - 14$.
Find the equation of the line through $(-1, 4)$ perpendicular to $2x + 5y = 3$. Give your answer in the form $ax + by + c = 0$ where $a$, $b$ and $c$ are integers.
βΆ Show solution
$5y = -2x + 3$, so the given gradient is $-\tfrac25$.
Perpendicular gradient: $\tfrac52$.
$y - 4 = \tfrac52(x + 1) \;\Rightarrow\; 2y - 8 = 5x + 5$
$5x - 2y + 13 = 0$
$A(2, -3)$ and $B(-4, 5)$. Find the midpoint of $AB$ and the length $AB$.
βΆ Show solution
Midpoint $\left(\dfrac{2 - 4}{2}, \dfrac{-3 + 5}{2}\right) = (-1, 1)$
$AB = \sqrt{(-6)^2 + 8^2} = \sqrt{100} = 10$
Find the perpendicular bisector of $P(1, 6)$ and $Q(7, 2)$, giving your answer in the form $ax + by + c = 0$.
βΆ Show solution
Midpoint $(4, 4)$. $m_{PQ} = \dfrac{2 - 6}{7 - 1} = -\tfrac23$, so the perpendicular gradient is $\tfrac32$.
$y - 4 = \tfrac32(x - 4) \;\Rightarrow\; 2y - 8 = 3x - 12$
$3x - 2y - 4 = 0$
Find the point where $y = 3x - 1$ meets $2x + 3y = 19$.
βΆ Show solution
Substitute: $2x + 3(3x - 1) = 19 \;\Rightarrow\; 11x - 3 = 19 \;\Rightarrow\; x = 2$.
$y = 3(2) - 1 = 5$. The lines meet at $(2, 5)$.
Check: $2(2) + 3(5) = 19$ β
The points $(1, k)$, $(3, 7)$ and $(6, 13)$ are collinear. Find $k$.
βΆ Show solution
Gradient between $(3, 7)$ and $(6, 13)$: $\dfrac{6}{3} = 2$.
The gradient from $(1, k)$ to $(3, 7)$ must also be $2$: $\dfrac{7 - k}{2} = 2$.
$7 - k = 4$, so $k = 3$.
$A(-2, 1)$, $B(4, 4)$ and $C(2, 8)$. Show that angle $ABC$ is a right angle and find the exact area of triangle $ABC$.
βΆ Show solution
$m_{AB} = \dfrac{4 - 1}{4 + 2} = \dfrac12$, $m_{BC} = \dfrac{8 - 4}{2 - 4} = -2$.
$\tfrac12 \times (-2) = -1$, so $AB \perp BC$ and angle $ABC = 90Β°$.
$AB = \sqrt{6^2 + 3^2} = \sqrt{45} = 3\sqrt5$, $BC = \sqrt{(-2)^2 + 4^2} = \sqrt{20} = 2\sqrt5$.
Area $= \tfrac12 \times 3\sqrt5 \times 2\sqrt5 = \tfrac12 \times 30 = 15$.
A candle burns at a steady rate. After $2$ hours it is $24$ cm tall; after $5$ hours it is $15$ cm tall. Let $h$ cm be the height after $t$ hours.
(a) Find a linear model for $h$ in terms of $t$. (b) Interpret the gradient and the intercept in context. (c) Find when the candle burns out. (d) State a suitable domain for the model, and give one reason why the model may not be accurate near the end.
βΆ Show solution
(a) Gradient $= \dfrac{15 - 24}{5 - 2} = -3$.
$h - 24 = -3(t - 2)$, so $h = 30 - 3t$.
(b) The gradient $-3$ means the candle gets $3$ cm shorter every hour. The intercept $30$ means it was $30$ cm tall when first lit.
(c) $h = 0$: $30 - 3t = 0$, so $t = 10$ hours.
(d) $0 \leqslant t \leqslant 10$ β outside this range the model gives a height above the original or a negative height, which are impossible.
Near the end the wick may sit in a pool of wax or the candle may be in a holder, so it may not burn at the same constant rate (or may go out before $h$ reaches $0$).