Coordinate geometry
🎯What you need to be able to do
- Find the length, gradient and midpoint of a line segment.
- Write the equation of a straight line in any of the standard forms.
- Use the parallel and perpendicular gradient conditions, including for perpendicular bisectors.
- Find where two lines, or a line and a curve, intersect.
- Write the equation of a circle in both centre–radius and expanded form, and convert between them.
- Use the circle properties: the tangent is perpendicular to the radius, and the perpendicular from the centre bisects a chord.
- Solve problems about the intersection of a line and a circle, including tangency.
- Transform a relationship into a straight line to find unknown constants.
📚The mathematics
The basics of a line segment
The gradient is the one people get upside down under pressure. It is the change in \(y\) over the change in \(x\), taken in the same order for both — subtracting the points in opposite orders top and bottom flips the sign.
Equations of straight lines
Use point–gradient form to build a line, because it needs only a point and a gradient and no rearranging. Cambridge often asks for the answer in the form \( ax + by + c = 0 \) with integer coefficients, so read the instruction and clear the fractions if it does.
Parallel: \( m_1 = m_2 \). Perpendicular: \( m_1 m_2 = -1 \), so the perpendicular gradient is the negative reciprocal — flip it and change the sign. A gradient of \( \tfrac{2}{5} \) gives \( -\tfrac{5}{2} \). Doing only half of that (flipping without the sign change, usually) is the standard error.
The perpendicular bisector of \(AB\) combines both ideas: it passes through the midpoint of \(AB\) and has the negative reciprocal of the gradient of \(AB\). It is the set of points equidistant from \(A\) and \(B\), which is why it appears in circle questions — the centre of a circle through two points lies on their perpendicular bisector.
The circle
Centre \( (a, b) \), radius \(r\). Watch the signs: \( (x-3)^{2} + (y+2)^{2} = 25 \) has centre \( (3, -2) \) — the opposite sign to the one written — and radius 5, not 25.
The expanded form \( x^{2} + y^{2} + 2gx + 2fy + c = 0 \) is converted back by completing the square in \(x\) and in \(y\) separately:
Two geometric properties carry most circle questions, and both turn a circle problem into a straight-line problem:
- A tangent is perpendicular to the radius at the point of contact. So to find a tangent, find the gradient of the radius to that point and take the negative reciprocal. You almost never need calculus for a circle tangent at P1.
- The perpendicular from the centre to a chord bisects it. That creates a right-angled triangle with the radius as hypotenuse, half the chord as one leg, and the distance from centre to chord as the other — so Pythagoras finishes the job.
Line meets circle
Substitute the line into the circle and you get a quadratic, and its discriminant tells you the geometry — exactly as in P1 1:
An alternative for tangency that is often quicker: the line is a tangent exactly when the perpendicular distance from the centre to the line equals the radius.
Transforming a relationship to a straight line
A relationship that is not linear can often be made linear by choosing the right variables, and then the gradient and intercept give you the unknown constants.
- \( y = ax^{n} \): take logarithms, \( \lg y = \lg a + n \lg x \). Plot \( \lg y \) against \( \lg x \) — gradient \(n\), intercept \( \lg a \).
- \( y = ab^{x} \): \( \lg y = \lg a + x\lg b \). Plot \( \lg y \) against \(x\) — gradient \( \lg b \), intercept \( \lg a \).
The intercept gives you \( \lg a \), not \(a\): you must undo the logarithm at the end. Forgetting that final step is the commonest slip on this sub-topic.
✏️Worked example
(a) Complete the square in each variable:
So the centre is \( C(4, -1) \) and the radius is 5.
(b) Substitute \(P\) into the left-hand side: \( 49 + 9 - 56 + 6 - 8 = 0 \). ✓ So \(P\) lies on the circle.
The radius \(CP\) has gradient \( \dfrac{3 - (-1)}{7 - 4} = \dfrac{4}{3} \). The tangent is perpendicular to it, so its gradient is \( -\dfrac{3}{4} \). Using point–gradient form at \(P\):
(c) Substitute \( y = 2x + k \) into the circle:
Expanding, \( x^{2} - 8x + 16 + 4x^{2} + 4x(k+1) + (k+1)^{2} = 25 \), which collects to
Tangency requires the discriminant to be zero:
So \( 16k^{2} - 32k + 16 - 20k^{2} - 40k - 20 + 180 = 0 \), giving \( -4k^{2} - 72k + 176 = 0 \), and dividing by \( -4 \), \( k^{2} + 18k - 44 = 0 \). Hence \( k = \dfrac{-18 \pm \sqrt{324 + 176}}{2} = \dfrac{-18 \pm \sqrt{500}}{2} = -9 \pm 5\sqrt{5} \).
📝Practise
Work through these, then reveal the answer. Each question targets a different objective from the list above.
1. \( A(-1, 4) \) and \( B(5, -2) \). Find the equation of the perpendicular bisector of \(AB\) in the form \( ax + by + c = 0 \).
2. Find the centre and radius of the circle \( x^{2} + y^{2} + 10x - 4y + 13 = 0 \).
3. A circle has centre \( (2, 5) \) and radius 10. A chord of the circle has length 16. Find the perpendicular distance from the centre to the chord.
4. The line \( y = 3x - 1 \) meets the curve \( y = x^{2} + x + 2 \). Find the coordinates of the points of intersection.
5. The point \( (6, 8) \) lies on a circle with centre \( (2, 5) \). Find the equation of the tangent at that point.
6. Variables \(x\) and \(y\) are related by \( y = ax^{n} \). When \( \lg y \) is plotted against \( \lg x \) a straight line of gradient 1.5 passing through \( (0, 0.7) \) is obtained. Find \(a\) and \(n\).
🔗Go deeper — other people’s work
These are external resources, not mine. If one stops working, tell me and everything above it on this page still stands.
- Desmos — plot a circle and a line with a slider on the intercept, and watch tangency happen
- GeoGebra — drag a chord and see the perpendicular from the centre bisect it
- Khan Academy — equations of circles