AS & A Level Maths · Area 1 · Pure Mathematics 1

Coordinate Geometry

Coordinate geometry is the algebra of pictures. From two points you can find a length, a gradient and a midpoint, and from those you can write the equation of any straight line. Cambridge then joins lines to circles, where the equation (x−a)2+(y−b)2=r2, the tangent perpendicular to the radius and the discriminant do all the work. Every question in this topic is really two things: the run and the rise.

Not started

Syllabus coverage

  • Find the equation of a straight line given sufficient information, for example two points, or one point and the gradient
  • Interpret and use any of the forms y=mx+c, y−y1=m(x−x1) and ax+by+c=0, including distances, gradients, midpoints and points of intersection
  • Use the relationship between the gradients of parallel and perpendicular lines
  • Understand that (x−a)2+(y−b)2=r2 is the circle with centre (a,b) and radius r, including the expanded form x2+y2+2gx+2fy+c=0
  • Use algebraic methods to solve problems involving lines and circles, including the tangent perpendicular to the radius, the angle in a semicircle and symmetry
  • Use the relationship between the points of intersection of two graphs and the solutions of the corresponding equations

Part of the AS & A Level Maths syllabus 9709.

-2-1012345678-2-1012345678ABABlength = 534
The distance between two points is the hypotenuse of a right-angled triangle whose legs are the difference in the x-coordinates and the difference in the y-coordinates.

Three things you can always find from two points

Give a question two points, A(x1,y1) and B(x2,y2), and it can ask for three quantities before it asks for anything else: the distance AB, the gradient of AB, and the midpoint of AB. All three come from the same two numbers, the run x2−x1 and the rise y2−y1, so write those down first. Almost every lost mark in this topic starts with a sign error inside one of them.

The distance is Pythagoras applied to the right-angled triangle whose legs are the run and the rise, so AB=(x2−x1)2+(y2−y1)2. The gradient is rise over run, m=y2−y1x2−x1. The midpoint is the average of the two ends, (x1+x22,y1+y22). Squaring in the distance formula removes the signs, so the order of the two points does not matter there. It matters everywhere else.

For A(−1,2) and B(7,8): the run is 7−(−1)=8 and the rise is 8−2=6. The distance is 64+36=100=10, the gradient is 68=34, and the midpoint is (−1+72,2+82)=(3,5). Check the midpoint by eye: it should sit halfway between the two points, and (3,5) does.

QuantityFormulaFor A(−1,2) and B(7,8)
Distance AB(x2−x1)2+(y2−y1)282+62=10
Gradienty2−y1x2−x168=34
Midpoint(x1+x22,y1+y22)(3,5)
A gradient of 0 means the line is horizontal. A vertical line has no gradient at all, and its equation is x=c rather than y=mx+c. Cambridge asks about vertical lines precisely because they break the pattern.

The three forms of the equation of a straight line

The syllabus names three forms and expects you to move between them. The slope-intercept form y=mx+c is the one to finish in when a question asks for the equation of a line: m is the gradient and c is the y-intercept, the value of y where the line crosses the y-axis.

The point-gradient form y−y1=m(x−x1) is the one to start in, because it needs exactly the two things a question usually gives you: a gradient and one point on the line. Nearly every line question is two lines of working in this form.

The general form ax+by+c=0 is the tidiest way to write an answer containing fractions. Multiply through by the denominators so that a, b and c are integers. The form is part of the question: a correct line written in the wrong form loses the final mark, and it is one of the easiest marks on the paper to throw away.

  • y=34x+52 is the same line as 3x−4y+10=0: multiply by 4 and rearrange
  • y−3=−2(x+1) is the same line as y=−2x+1: expand and tidy up
  • x=4 is a vertical line and cannot be written as y=mx+c
FormLooks likeUse it when
Slope-intercepty=mx+cthe question asks for y=mx+c, or you want to read off the intercept
Point-gradienty−y1=m(x−x1)you have a gradient and one point, which is the usual starting position
Generalax+by+c=0the answer has fractions in it, or the question names this form
Changing the subject is not optional. If the question says 'in the form y=mx+c' and your answer is 2y=6x+8, you have not finished - divide by 2.
The graph of y = 2x - 3123456-4-3-2-1123456781 across2 upgradient = 2(0, -3)y = mx + c: m is the gradient, c is the y-intercept. From (0, -3), one step right and two up lands on the line again.
The line y=2x−3. The gradient 2 is one step across and two up, and the intercept −3 is where the line meets the y-axis.

Finding the equation of a line from sufficient information

Sufficient information means enough to pin the line down. That is two points, or one point and the gradient. From two points you find the gradient first and then use either point in y−y1=m(x−x1). You never need both points for the second step, and using the one with the smaller numbers saves arithmetic.

For the line through A(2,3) and B(6,6): the gradient is 6−36−2=34, so y−3=34(x−2), which tidies to y=34x+32, or 3x−4y+6=0 in general form. Check it against the point you did not use: at x=6, 34×6+32=4.5+1.5=6, which is the y-coordinate of B.

The two conditions that are not a gradient behave the same way once you have written the gradient down. 'Parallel to y=4x−7' hands you m=4. 'Perpendicular to AB' hands you the negative reciprocal of the gradient of AB. From there it is substitution, exactly as before.

  • Two points: find the gradient from the run and the rise, then substitute one point
  • One point and the gradient: straight into y−y1=m(x−x1)
  • One point and a parallel line: copy the gradient of the given line
  • One point and a perpendicular line: use m2=−1m1, then substitute
Always test your final equation with the point you did not use. It takes ten seconds, and it catches the sign errors that cost the last mark.

Parallel and perpendicular lines

Parallel lines have equal gradients: m1=m2. They are still different lines, so their intercepts differ. A line parallel to y=2x+3 passing through (0,−1) is y=2x−1: same gradient, different intercept.

Perpendicular lines have gradients whose product is −1, so m2=−1m1. Flip the gradient over and change its sign: perpendicular to 34 is −43, and perpendicular to −2 is 12. Negating alone is not enough, and it is the commonest error in the topic. A vertical line is perpendicular to a horizontal one, and that case has to be handled by thinking rather than by the formula.

The perpendicular bisector of AB is the line through the midpoint of AB at right angles to AB. It is also the locus of the points that are the same distance from A as from B, so a question about a point 'equidistant from two given points' is a perpendicular bisector question in disguise. For A(−1,2) and B(7,8): the midpoint is (3,5), the gradient of AB is 34, so the bisector has gradient −43 and equation y−5=−43(x−3), that is 4x+3y−27=0.

Two conditions, two marks. When a line is described as perpendicular to one line and passing through a point, the examiner is paying for the negative reciprocal and for the substitution separately - write both down.
-4-3-2-10123456-4-3-2-10123456y = 2x - 1y = 2x + 3y = -0.5x + 1.5parallel: gradients equalperpendicular: 2 x -0.5 = -1
Parallel lines share a gradient. The perpendicular pair multiply to −1: 2×−0.5=−1.

Where two graphs meet

A point of intersection satisfies both equations at once, so finding one means solving a pair of simultaneous equations. Two straight lines meet in one point unless they are parallel. A line and a curve meet in up to two points. The number of solutions is the number of intersections, and a question can ask you for that number without asking for the points themselves.

For the lines 2x+3y=12 and y=x−1, substitute the second into the first: 2x+3(x−1)=12, so 5x−3=12, x=3 and then y=2. The intersection is (3,2). When one equation is already written as y=…, substituting is faster than eliminating, and it is the method the mark scheme expects.

A line and a quadratic curve end in a quadratic equation, and the discriminant b2−4ac then counts the intersections before you find them: two intersections when b2−4ac>0, one when it is zero, and none when it is negative. The one-solution case is a tangent, and 'find the values of k for which the line touches the curve' is always a discriminant-equals-zero question.

Here is the whole routine on a circle. The line y=x+k meets the circle x2+y2=8 where x2+(x+k)2=8, that is 2x2+2kx+k2−8=0. Its discriminant is 4k2−8(k2−8)=64−4k2. That is zero at k=±4, positive for −4<k<4 and negative outside. So the line is a tangent for k=±4, cuts the circle twice between those values, and misses it entirely beyond them.

  • Line and line: one intersection, or none if the gradients are equal
  • Line and curve: substitute, rearrange to ax2+bx+c=0, then use b2−4ac
  • b2−4ac>0: two intersections, so the line cuts the curve
  • b2−4ac=0: one intersection, so the line is a tangent
  • b2−4ac<0: no intersection, so the line misses the curve
'Find the set of values of k' wants an inequality, not the critical values. k=±4 is the tangent case; −4<k<4 is the case where the line cuts the circle twice.

The circle: centre, radius and the expanded form

A circle is the set of points a fixed distance from a fixed point, so its equation comes straight from the distance formula. The points a distance r from (a,b) satisfy (x−a)2+(y−b)2=r, which squares to (x−a)2+(y−b)2=r2. Read it off: the centre is (a,b) and the radius is r, not r2. The sign flip inside the bracket is the classic slip - (x−3)2 means the x-coordinate of the centre is 3, not −3.

Cambridge also uses the expanded form x2+y2+2gx+2fy+c=0. To get the centre and radius back, complete the square in x and in y. For x2+y2−6x+8y−11=0: x2−6x=(x−3)2−9 and y2+8y=(y+4)2−16, so (x−3)2+(y+4)2=9+16+11=36. The centre is (3,−4) and the radius is 6.

In general, x2+y2+2gx+2fy+c=0 is the circle with centre (−g,−f) and radius g2+f2−c. That formula is worth knowing for a quick check, but completing the square is the safer route in an exam: the method marks are for the completing the square, and it leaves a page the examiner can follow.

Form of the equationCentreRadius
(x−a)2+(y−b)2=r2(a,b)r
x2+y2+2gx+2fy+c=0(−g,−f)g2+f2−c
x2+y2=r2(0,0)r
If g2+f2−c comes out negative there is no circle: no point can be a negative distance from the centre. If it comes out zero, the equation describes a single point.

Tangents, chords and the angle in a semicircle

Line-and-circle problems are solved with three geometrical facts, all of which you already know. A tangent touches the circle at exactly one point and is perpendicular to the radius drawn to that point. The perpendicular from the centre to a chord bisects the chord. And the angle in a semicircle is a right angle, so if AB is a diameter then every point P on the circle gives ∠APB=90∘.

The tangent fact turns into algebra most often. Find the gradient of the radius from the centre to the point of contact, take the negative reciprocal, and you have the gradient of the tangent. For the circle x2+y2=5 at the point P(2,1): the radius OP has gradient 12, so the tangent has gradient −2 and equation y−1=−2(x−2), that is y=−2x+5.

The perpendicular-from-the-centre fact gives you the midpoint of a chord, and with the radius it gives the distance from the centre to the chord by Pythagoras. The angle in a semicircle is the bridge between the two halves of the topic: if a circle has diameter AB, its centre is the midpoint of AB and its radius is half of AB, so a coordinate question about a circle can start with nothing more than two points.

A tangent question always starts with the radius. Write 'gradient of the radius =…' on the page even when you can see the answer - that line is a method mark, and the negative reciprocal is the second one.

The circle on a diameter, and circles through given points

If AB is a diameter of a circle then the centre is the midpoint of AB and the radius is half the distance AB. Nothing else is needed: midpoint, then half-length, then write the equation down. For A(−1,2) and B(7,8) the centre is (3,5), AB=10 so r=5, and the circle is (x−3)2+(y−5)2=25.

That same circle is the locus of the points P for which ∠APB=90∘, which is the angle in a semicircle used backwards. If a question tells you an angle is a right angle and asks where the vertex can be, the answer is a circle with the two other points as the ends of a diameter.

When a circle is given in expanded form and a point is offered as lying on it, substitute. The point lies on the circle exactly when the left-hand side comes to zero. For x2+y2−4x+6y−12=0 and the point (5,1): 25+1−20+6−12=0, so (5,1) is on the circle. In a 'show that' question that substitution, written out, is the whole answer - and there is no answer box to fill in, because the working is the answer.

  • Centre of a circle with diameter AB: the midpoint of AB
  • Radius of a circle with diameter AB: 12AB
  • A point lies on a circle when its coordinates make the equation true
  • An angle of 90∘ at P means P lies on the circle with diameter AB

Key terms you must be able to define

Gradient
The steepness of a line: the rise divided by the run, y2−y1x2−x1.
y-intercept
The value of y where the line crosses the y-axis, written c in y=mx+c.
Point-gradient form
y−y1=m(x−x1), the equation of the line with gradient m through the point (x1,y1).
General form
ax+by+c=0, the form to use when the question wants integer coefficients.
Distance formula
AB=(x2−x1)2+(y2−y1)2, which is Pythagoras on the run and the rise.
Midpoint
(x1+x22,y1+y22), the average of the coordinates of the two ends.
Parallel lines
Lines with equal gradients, m1=m2.
Perpendicular lines
Lines whose gradients multiply to −1: m1m2=−1, so each gradient is the negative reciprocal of the other.
Perpendicular bisector
The line through the midpoint of AB at right angles to AB. Every point on it is the same distance from A as from B.
Point of intersection
A point whose coordinates satisfy both equations at once, found by solving the equations simultaneously.
Discriminant
b2−4ac of the quadratic ax2+bx+c=0. It counts the intersections of a line with a curve: two, one or none.
Tangent
A line that touches a circle at exactly one point, and is perpendicular to the radius at that point.
Chord
A straight line joining two points on a circle. The perpendicular from the centre to a chord bisects it.
Diameter
A chord passing through the centre. Its length is 2r, and the angle it subtends at any point on the circle is 90∘.
Angle in a semicircle
The angle subtended by a diameter at a point on the circle, which is always 90∘.
Circle
The set of points a fixed distance from a fixed point. That fixed distance is the radius and the fixed point is the centre.
Radius
The distance from the centre to any point on the circle: r in (x−a)2+(y−b)2=r2.
Centre
The fixed point (a,b) in (x−a)2+(y−b)2=r2, and (−g,−f) in the expanded form.

Applied

At AS & A Level the marks sit in the setup: choosing the model, stating the variable and writing the equation before any working. These show the shape of a full-mark answer, then you do the algebra yourself.

A fence line on a plan

Two corner posts of a field are at A(20,35) and B(140,95), with the coordinates in metres on a plan. The straight fence between them has length 1202+602=18000=134 m to the nearest metre, and gradient 60120=0.5: it rises 1 m for every 2 m across the plan.

Equidistant from two masts

Two masts stand at A(−1,2) and B(7,8). Every point the same distance from both lies on the perpendicular bisector of AB. The midpoint is (3,5), the gradient of AB is 34, so the bisector has gradient −43 and equation y−5=−43(x−3). The point of the bisector with x=0 is found by substituting: y=−43(0−3)+5=9, so it is (0,9).

A roundabout on a site plan

A roundabout is planned with centre (30,−12) and radius 9 m. Its equation is (x−30)2+(y+12)2=81. Reissued in expanded form the same circle reads x2+y2−60x+24y+963=0, because a=30 and b=−12 give 2g=−60 and 2f=24, and the constant is g2+f2−r2=900+144−81=963.

A path that just touches a lawn

A circular lawn has centre C(4,3) and radius 20. The point T(8,1) is on the lawn because (8−4)2+(1−3)2=16+4=20. The radius CT has gradient 1−38−4=−12, so a straight path touching the lawn at T has gradient 2 and equation y−1=2(x−8), that is y=2x−15.

Where two routes cross

A delivery route runs along 2x+3y=12 and a second along y=x−1. They meet where 2x+3(x−1)=12, so 5x=15, giving x=3 and y=2. The crossing point is (3,2), and substituting it into both equations is the check: 2(3)+3(2)=12 and 2=3−1.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1How do you find the gradient of the line through two points?
m=y2−y1x2−x1 - the rise divided by the run.
Q2What is the distance formula?
AB=(x2−x1)2+(y2−y1)2, which is Pythagoras on the run and the rise.
Q3What is the midpoint of (−1,2) and (7,8)?
(3,5) - average the x-coordinates and average the y-coordinates.
Q4What is the equation of the line with gradient 4 through (2,3)?
y−3=4(x−2), which tidies to y=4x−5.
Q5What do you know about the gradients of parallel lines?
They are equal: m1=m2. Parallel lines differ only in their intercepts.
Q6What do you know about the gradients of perpendicular lines?
Their product is −1: m1m2=−1. Each is the negative reciprocal of the other.
Q7What is the gradient of a line perpendicular to a line of gradient 34?
−43. Flip the fraction over and change its sign.
Q8What is a perpendicular bisector?
The line through the midpoint of AB at right angles to AB. Every point on it is equidistant from A and B.
Q9What is the equation of the circle with centre (3,−4) and radius 6?
(x−3)2+(y+4)2=36. The bracket is x minus the centre's x-coordinate.
Q10How do you find the centre of x2+y2−6x+8y−11=0?
Complete the square: (x−3)2+(y+4)2=36, so the centre is (3,−4) and the radius is 6.
Q11What does the discriminant tell you about a line and a curve?
Positive: two intersections. Zero: one intersection, so the line is a tangent. Negative: no intersection.
Q12What is true about a tangent and the radius at the point of contact?
They are perpendicular, so the gradient of the tangent is the negative reciprocal of the gradient of the radius.
Q13If AB is a diameter of a circle, where is the centre and what is the radius?
The centre is the midpoint of AB and the radius is half of AB.
Q14What is the angle in a semicircle?
90∘. The angle subtended by a diameter at any point on the circle is a right angle.
Q15How do you find the point of intersection of two lines?
Solve their equations simultaneously. The solution is the only point that satisfies both equations.
0 of 15 marked as known

Exam-style questions

8 questions, 26 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.

CalculateAO14 marks
The points A(2,3) and B(6,6) are marked on a coordinate grid. Calculate the length AB and the gradient of the line AB.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1AB=42+32=5not checked yet
  • M1
  • A1gradient =34not checked yet
Examiner tip: The two answers are checked in the order the question asks for them: the length first, then the gradient. Leaving the gradient as 34 is fine - 0.75 is accepted too.
CalculateAO13 marks
The line l passes through the point (2,3) and is parallel to the line y=4x−7. Calculate the equation of l in the form y=mx+c.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1
  • M1
  • A1y=4x−5not checked yet
Examiner tip: Parallel means the gradient is copied exactly; it is never the negative reciprocal. Substituting the point then finds c in one line, and the check is that x=2 gives y=3.
CalculateAO12 marks
The points A(2,3) and B(6,6) are the ends of a line segment. Calculate the coordinates of the midpoint of AB.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1midpoint (4,4.5)not checked yet
Examiner tip: The midpoint is the average of the two ends, not half of the distance between them. Both coordinates are needed, and (4,4.5) written as (4.5,4) is a different point.
CalculateAO24 marks
The line l1 passes through the points (1,1) and (5,3). The line l2 is perpendicular to l1 and passes through the point (3,7). Calculate the equation of l2 in the form y=mx+c.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1
  • M1
  • M1
  • A1y=−2x+13not checked yet
Examiner tip: There are two conditions and they earn two separate marks: the perpendicular gradient and the substitution. A line with gradient −2 through (0,13) is the answer, so check that x=3 gives y=7.
CalculateAO14 marks
The circle C has equation x2+y2−6x+8y−11=0. Calculate the coordinates of the centre of C.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1centre (3,−4)not checked yet
Examiner tip: The centre comes from the numbers inside the brackets with the sign changed: (x−3)2 gives 3 and (y+4)2 gives −4. The 11 moves to the right-hand side as +11, not −11.
CalculateAO12 marks
The circle C has equation x2+y2−6x+8y−11=0. Calculate the radius of C.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1r=6not checked yet
Examiner tip: The number on the right of the completed-square form is r2. Take the square root before you stop writing: a radius of 36 is six times too long.
CalculateAO24 marks
The line y=x+k meets the circle x2+y2=8. Calculate the values of k for which the line is a tangent to the circle.
Give every part of the answer, separated by commas or the word 'or'.

Mark scheme — tick each point you actually made

  • M1
  • A1
  • M1
  • A1k=±4not checked yet
Examiner tip: A tangent is the one-solution case, so the discriminant is zero. Solving 64−4k2=0 gives k2=16, and both values are needed because the line can touch the circle on either side.
Show (that)AO23 marks
The circle C has equation x2+y2−4x+6y−12=0. Show that the point (5,1) lies on C.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1
Examiner tip: A point lies on a curve exactly when its coordinates satisfy the equation. There is no answer box on a 'show that' question: the arithmetic on the page is the answer, and it has to finish with the sentence that says what the zero means.

Exam technique for this topic

  • Write the run and the rise down before you write the gradient. Nearly every mark lost in this topic is a sign error in x2−x1 or y2−y1, and both are visible on the page if you show them.
  • Obey the form the question asks for. 'In the form y=mx+c' and 'in the form ax+by+c=0 where a, b and c are integers' are instructions, not suggestions.
  • For a circle in expanded form, complete the square rather than quoting (−g,−f). The marks are for the completing the square, and the centre and radius then follow without any risk of a sign slip.
  • Check your final equation with the point you did not use. Substituting it proves the line is right in ten seconds, and it is the fastest check in the whole of Pure 1.
  • When a question asks for the set of values of k for which a line meets a curve, write the discriminant inequality and then interpret it. The marks are usually for the inequality, not for the critical values alone.

Why students lose marks here

A student wroteThe gradient of the line through (2,3) and (6,6) is 6−26−3=43.
Why it loses marksThe coordinates have been subtracted the wrong way round. Gradient is rise over run, so the difference in y goes on the top and the difference in x on the bottom.
The answer that scoresThe gradient is 6−36−2=34. The run is 4 and the rise is 3.
A student wroteThe circle (x−3)2+(y+4)2=36 has centre (−3,4) and radius 36.
Why it loses marksBoth numbers have been read wrongly. The sign inside each bracket is the opposite of the coordinate it gives, and the number on the right is r2, not r.
The answer that scoresThe centre is (3,−4) and the radius is 36=6.
A student wroteA line perpendicular to y=2x+1 has gradient −2.
Why it loses marksChanging the sign is not enough. Perpendicular gradients multiply to −1, so each is the negative reciprocal of the other.
The answer that scoresThe gradient is −12, because 2×−12=−1.
A student wroteThe line y=x+k is a tangent to the circle x2+y2=8 when k=4.
Why it loses marksSetting the discriminant to zero gives k2=16, which has two solutions. The line can touch the circle on either side, so both values are needed.
The answer that scoresk=4 or k=−4. The tangent lines are y=x+4 and y=x−4.
A student wroteThe distance between (1,1) and (4,5) is 3+4=7.
Why it loses marksAdding the run and the rise does not give the distance. The distance is the hypotenuse of the right-angled triangle whose legs are the run and the rise.
The answer that scoresAB=32+42=25=5.