Home / AS & A Level Mathematics 9709 / Coordinate geometry
Cambridge International AS & A Level Mathematics 9709 · Pure Mathematics 1

Coordinate geometry

Gradients, distances and midpoints; the equation of a straight line in its three forms; parallel and perpendicular lines; the equation of a circle and its expanded form; tangents and other circle geometry; and intersections of lines with curves, using the discriminant.

1.3Paper 1: Pure Mathematics 1Free lesson
What the syllabus says

1.3 (Paper 1)

  • find the equation of a straight line given sufficient information
  • interpret and use any of the forms y=mx+c, y−y1=m(x−x1), ax+by+c=0 in solving problems
  • understand that the equation (x−a)2+(y−b)2=r2 represents the circle with centre (a,b) and radius r
  • use algebraic methods to solve problems involving lines and circles
  • understand the relationship between a graph and its associated algebraic equation, and use the relationship between points of intersection of graphs and solutions of equations.

Notes and examples

  • e.g. given two points, or one point and the gradient.
  • Including calculations of distances, gradients, midpoints, points of intersection and use of the relationship between the gradients of parallel and perpendicular lines.
  • Including use of the expanded form x2+y2+2gx+2fy+c=0.
  • Including use of elementary geometrical properties of circles, e.g. tangent perpendicular to radius, angle in a semicircle, symmetry.
  • Implicit differentiation is not included.
  • e.g. to determine the set of values of k for which the line y=x+k intersects, touches or does not meet a quadratic curve.

Quoted from the Cambridge International AS and A Level Mathematics 9709 syllabus (2026-2027 and 2028-2030 editions, which share this content).

Gradients, distances and midpoints Paper 1

For two points A(x1,y1) and B(x2,y2):

  • the gradient of AB is m=y2−y1x2−x1, the change in y for each unit increase in x;
  • the distance AB=(x2−x1)2+(y2−y1)2, which is Pythagoras' theorem on the right-angled triangle with AB as its hypotenuse;
  • the midpoint of AB is (x1+x22,y1+y22), the average of the coordinates.

Parallel lines have equal gradients. Perpendicular lines have gradients m1 and m2 with m1m2=−1, so the perpendicular gradient is the negative reciprocal: a line of gradient 23 is perpendicular to one of gradient −32.

Why m1m2=−1: rotating a line through 90° turns a step of (1,m) along it into a step of (−m,1), whose gradient is 1−m=−1m.

Draw a quick sketch for every coordinate question. It catches sign errors and often shows which of two answers the question wants.

The equation of a straight line Paper 1

A straight line can be written in three standard forms, and you should move between them freely.

  • y=mx+c: gradient m and y-intercept (0,c). Best for reading off the gradient.
  • y−y1=m(x−x1): the line through (x1,y1) with gradient m. Best for finding an equation, because it uses exactly the information you usually have.
  • ax+by+c=0: the general form. Questions often ask for it with integer coefficients: multiply through to clear fractions. To find its gradient, rearrange to y=−abx−cb, so m=−ab.

Finding the equation of a line needs "sufficient information": either a point and the gradient, or two points (from which you work out the gradient first).

Where two lines meet, both equations hold, so solve them simultaneously. Where a line meets an axis, put y=0 (for the x-axis) or x=0 (for the y-axis).

A very common task is the perpendicular bisector of AB: the line through the midpoint of AB that is perpendicular to AB. Every point on it is the same distance from A as from B, which is why it appears in circle questions: the centre of any circle through A and B lies on it.

The shortest distance from a point to a line is along the perpendicular. Find the perpendicular line through the point, find where it meets the original line (the foot of the perpendicular), and then find the distance between the two points.

Worked example 1 Paper 1

The points A and B have coordinates (−2,5) and (4,1). Find the equation of the perpendicular bisector of AB, giving your answer in the form ax+by+c=0, where a, b and c are integers.

  1. Gradient of AB: 1−54−(−2)=−46=−23.

  2. The perpendicular gradient is the negative reciprocal: 32.

  3. Midpoint of AB: (−2+42,5+12)=(1,3).

  4. Equation: y−3=32(x−1).

  5. Multiply by 2: 2y−6=3x−3, so 3x−2y+3=0.

  6. Check: the midpoint (1,3) gives 3−6+3=0. Correct.

Answer: 3x−2y+3=0

Check yourself Paper 1

Find the equation of the line through (3,−1) that is perpendicular to the line 2x+5y=7. Give your answer in the form y=mx+c.

Answer it in the portal, where your answer is checked as you type →

The equation of a circle Paper 1

A point (x,y) lies on the circle with centre (a,b) and radius r exactly when its distance from the centre is r. By the distance formula, (x−a)2+(y−b)2=r, and squaring gives the equation of the circle:

(x−a)2+(y−b)2=r2

For example, (x−3)2+(y+1)2=16 is the circle with centre (3,−1) and radius 4. Note the signs: (y+1) means b=−1.

The expanded form. Multiplying out gives an equation of the form

x2+y2+2gx+2fy+c=0

To find the centre and radius from this, complete the square in x and in y: (x+g)2+(y+f)2=g2+f2−c. So the centre is (−g,−f) and the radius is g2+f2−c. Completing the square is safer than remembering the formula, and examiners accept either.

An equation is only a circle if the coefficients of x2 and y2 are equal (divide through if they are both 2, say), there is no xy term, and g2+f2−c>0.

Is a point inside, on or outside? Substitute it into (x−a)2+(y−b)2 and compare the result with r2.

Worked example 2 Paper 1

Find the centre and radius of the circle x2+y2−6x+4y−12=0.

  1. Group the x terms and the y terms: (x2−6x)+(y2+4y)=12.

  2. Complete each square: (x−3)2−9+(y+2)2−4=12.

  3. So (x−3)2+(y+2)2=25.

  4. The centre is (3,−2) and the radius is 25=5.

  5. Check with the formula: g=−3, f=2, c=−12, so the centre is (3,−2) and r=9+4+12=5.

Answer: centre (3,−2), radius 5

Check yourself Paper 1

Find the centre and the radius of the circle x2+y2+8x−2y+8=0.

Answer it in the portal, where your answer is checked as you type →

Using circle geometry Paper 1

The circle theorems from IGCSE turn into algebra here, and questions expect you to use them.

  • A tangent is perpendicular to the radius at the point of contact. To find the tangent at P, find the gradient of the radius CP from the centre C, take its negative reciprocal, and use y−y1=m(x−x1) at P.
  • The angle in a semicircle is a right angle. If AB is a diameter and P is any other point on the circle, then angle APB=90°, so AP and BP are perpendicular. Conversely, if angle APB=90°, then P lies on the circle with diameter AB. The centre of that circle is the midpoint of AB.
  • The perpendicular from the centre to a chord bisects the chord, so the perpendicular bisector of any chord passes through the centre. Two chords give two perpendicular bisectors, and they meet at the centre.
  • Symmetry. The highest and lowest points of a circle are directly above and below the centre; a point and its reflection in a line through the centre are both on the circle; the two tangents parallel to a given direction touch at the two ends of a diameter.
  • Tangent from a point outside. If T is outside the circle and TP touches the circle at P, triangle CPT has a right angle at P, so TP2=CT2−r2.

Worked example 3 Paper 1

The circle C has centre (2,−1) and passes through the point P(5,3). Find the radius of the circle and the equation of the tangent to the circle at P.

  1. Radius: CP=(5−2)2+(3−(−1))2=9+16=5.

  2. Gradient of the radius from the centre to P: 3−(−1)5−2=43.

  3. The tangent is perpendicular to this radius, so its gradient is −34.

  4. Tangent: y−3=−34(x−5). Multiply by 4: 4y−12=−3x+15.

  5. So the tangent is 3x+4y=27. Check at P: 15+12=27.

Answer: radius 5; tangent 3x+4y=27

5CP

The radius CP has gradient 43, so the tangent at P has gradient −34: the product of the two gradients is −1.

Worked example 4 Paper 1

The points A(−1,4) and B(5,−2) are the ends of a diameter of a circle. (a) Find the equation of the circle. (b) Show that the point P(5,4) lies on the circle, and hence state the size of angle APB.

  1. (a) The centre is the midpoint of AB: (−1+52,4+(−2)2)=(2,1).

  2. The radius is the distance from the centre to A: (−1−2)2+(4−1)2=18, so r2=18.

  3. The equation is (x−2)2+(y−1)2=18.

  4. (b) Substitute P(5,4): (5−2)2+(4−1)2=9+9=18. So P is on the circle.

  5. AB is a diameter, so the angle in a semicircle gives angle APB=90°.

  6. Check with gradients: AP has gradient 4−45+1=0 (horizontal) and BP is vertical (B and P both have x=5), so its gradient is not defined. They are perpendicular.

Answer: (a) (x−2)2+(y−1)2=18 (b) angle APB=90°

Intersections of lines and curves Paper 1

A point lies on a graph exactly when its coordinates satisfy the graph's equation. So the points where two graphs meet are the solutions of their two equations taken together, and the x-coordinates of those points are the solutions of the single equation you get by eliminating y. This works both ways:

  • to find where a line meets a curve, solve the equations simultaneously, usually by substituting the line into the curve;
  • to solve an equation such as x2−4x+3=c, you can think of where the curve y=x2−4x+3 meets the horizontal line y=c.

How many times does a line meet a curve? After substituting, you have a quadratic ax2+bx+c=0, and its discriminant decides the answer:

  • b2−4ac>0: the line intersects the curve at two points;
  • b2−4ac=0: the line touches the curve: it is a tangent, meeting it at one point;
  • b2−4ac<0: the line does not meet the curve.

This is how to find the values of k for which y=x+k is a tangent to a parabola or a circle without any calculus. (Implicit differentiation is not part of this syllabus, and it is never needed for tangents to circles: use the radius instead.)

For a circle, the alternative is geometric: a line is a tangent exactly when its perpendicular distance from the centre equals the radius.

Worked example 5 (exam style) Paper 1

The line y=x+k, where k is a constant, and the curve y=x2−3x+6 are given.

(a) Find the value of k for which the line is a tangent to the curve, and find the coordinates of the point of contact. [4]

(b) Find the set of values of k for which the line meets the curve at two distinct points. [1]

  1. (a) At an intersection, x2−3x+6=x+k, so x2−4x+(6−k)=0.

  2. A tangent meets the curve at one point, so the discriminant is 0: (−4)2−4(1)(6−k)=0.

  3. 16−24+4k=0, so 4k=8 and k=2.

  4. With k=2: x2−4x+4=0, so (x−2)2=0 and x=2. Then y=2+2=4.

  5. The point of contact is (2,4). Check on the curve: 4−6+6=4.

  6. (b) Two distinct points need the discriminant positive: 4k−8>0, so k>2.

Answer: (a) k=2, point (2,4) (b) k>2

Check yourself Paper 1

Find the values of the constant m for which the line y=mx−1 is a tangent to the curve y=x2+3.

Answer it in the portal, where your answer is checked as you type →

Check yourself Paper 1

The line y=x+2 meets the circle x2+y2=10 at two points. Find their coordinates.

Answer it in the portal, where your answer is checked as you type →

Key points Paper 1

  • Gradient y2−y1x2−x1, distance by Pythagoras, midpoint by averaging.

  • Parallel lines: equal gradients. Perpendicular lines: m1m2=−1.

  • Use y−y1=m(x−x1) to find a line; rearrange to y=mx+c or ax+by+c=0 as asked.

  • (x−a)2+(y−b)2=r2 has centre (a,b) and radius r. For x2+y2+2gx+2fy+c=0, complete the square: centre (−g,−f), radius g2+f2−c.

  • Tangent perpendicular to radius; angle in a semicircle is 90°; the perpendicular bisector of a chord passes through the centre.

  • Intersections: substitute and solve. The discriminant of the resulting quadratic tells you whether a line cuts, touches or misses a curve.

Where marks are lost Paper 1

  • Using the reciprocal instead of the negative reciprocal for a perpendicular gradient.

  • Getting the signs of the centre wrong: (x+3)2+(y−2)2=9 has centre (−3,2).

  • Giving r2 as the radius, or forgetting to square the radius when writing the equation.

  • Writing the tangent with the gradient of the radius, instead of the perpendicular gradient.

  • Leaving fractions in when asked for ax+by+c=0 with integer coefficients.

  • After substituting a line into a curve, forgetting to find the second coordinate of each point, or pairing them wrongly.

  • Using b2−4ac>0 for a tangent, or mixing up the a, b, c of the quadratic with the constants of the line.

Related AS & A Level Mathematics 9709 lessons

All AS & A Level Mathematics 9709 lessons →

An original lesson written to the Cambridge International AS & A Level Mathematics 9709 syllabus (2026 to 2027 and 2028 to 2030). The worked examples and questions are our own, not Cambridge questions. Back to every AS & A Level Mathematics 9709 lesson.