Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›Edexcel A-level Mathematics
  3. ›P Pure mathematics
  4. ›P3 Coordinate geometry

Edexcel A-level Mathematics · P · Pure mathematics

P3 Coordinate geometry

Find the equation of a line, use the distance and midpoint formulae, and write and read the equation of a circle.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A line is fixed by its gradient and a point
  1. 1A line is fixed by its gradient and a point
  2. 2Gradients show when lines are parallel or perpendicular
  3. 3The distance formula comes from Pythagoras’ theorem
  4. 4The midpoint averages the coordinates of two points
  5. 5A circle is every point a fixed distance from its centre
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A line is fixed by its gradient and a point

A road that rises 1 metre for every 4 metres along has a steady slope. The gradient of a line measures this slope. For points (x1,y1)(x_1,y_1)(x1​,y1​) and (x2,y2)(x_2,y_2)(x2​,y2​), it is m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}m=x2​−x1​y2​−y1​​.

A line can be written as y=mx+cy=mx+cy=mx+c. Here ccc is the y-intercept, where the line crosses the y-axis. If you know one point and the gradient, use y−y1=m(x−x1)y-y_1=m(x-x_1)y−y1​=m(x−x1​).

Horizontal lines have gradient 0 and the equation y=cy=cy=c. Vertical lines have no defined gradient and the equation x=kx=kx=k. Given two points, always find the gradient first.

Worked example

Line through two points

Find the equation of the line through (2,5)(2,5)(2,5) and (6,13)(6,13)(6,13).
  1. 1
    Gradient: m=13−56−2=84=2m=\frac{13-5}{6-2}=\frac{8}{4}=2m=6−213−5​=48​=2.
  2. 2
    Use y−y1=m(x−x1)y-y_1=m(x-x_1)y−y1​=m(x−x1​) with the point (2,5)(2,5)(2,5): y−5=2(x−2)y-5=2(x-2)y−5=2(x−2).
  3. 3
    Expand: y−5=2x−4y-5=2x-4y−5=2x−4.

Answer: y=2x+1y=2x+1y=2x+1.

Key terms · tap one for its definition

gradient

The gradient of a line is the change in yyy divided by the change in xxx between any two points on it.

y-intercept

The y-intercept of a graph is the yyy-coordinate of the point where it crosses the y-axis.

Part 1 done

2

Part 2 of 5: Gradients show when lines are parallel or perpendicular

Two lines with the same gradient keep the same distance apart and never meet. They are parallel. Lines that cross at a right angle are perpendicular, and their gradients multiply to give -1.

So if one line has gradient mmm, a perpendicular line has gradient −1m-\frac{1}{m}−m1​. This is the negative reciprocal of mmm. For m=2m=2m=2, the perpendicular gradient is −12-\frac{1}{2}−21​.

Common mistake

Both steps matter: flip the fraction and change the sign. The negative reciprocal of 2 is −12-\frac{1}{2}−21​, not -2 or 12\frac{1}{2}21​.

Worked example

Perpendicular line through a point

Find the line through (3,1)(3,1)(3,1) perpendicular to y=2x+5y=2x+5y=2x+5. Give the answer as ax+by+c=0ax+by+c=0ax+by+c=0.
  1. 1
    The given gradient is 2, so the perpendicular gradient is −12-\frac{1}{2}−21​.
  2. 2
    Use y−1=−12(x−3)y-1=-\frac{1}{2}(x-3)y−1=−21​(x−3).
  3. 3
    Multiply by 2: 2y−2=−x+32y-2=-x+32y−2=−x+3.
  4. 4
    Rearrange so that one side is zero: x+2y−5=0x+2y-5=0x+2y−5=0.

Answer: x+2y−5=0x+2y-5=0x+2y−5=0.

Key terms · tap one for its definition

parallel

Parallel lines are lines in the same plane that have equal gradients and never meet.

perpendicular

Perpendicular lines are lines that meet at a right angle, so their gradients multiply to -1.

Part 2 done

Quick check

One question on the part you just read

Easy

State the gradient of the line through (0,1)(0,1)(0,1) and (2,5)(2,5)(2,5).
Show answer and explanation

Answer: C · Worked explanation

The gradient is 5−12−0=42=2\frac{5-1}{2-0}=\frac{4}{2}=22−05−1​=24​=2. The value 12\frac{1}{2}21​ comes from dividing the change in xxx by the change in yyy, which is the wrong way up. Subtract the coordinates in the same order for both points, here the yyy values 5−15-15−1 and the xxx values 2−02-02−0.
3

Part 3 of 5: The distance formula comes from Pythagoras’ theorem

Now consider the length between two points, which is needed in many geometry problems. Join them with a line segment, then draw a right-angled triangle with sides along the axes. The horizontal side has length x2−x1x_2-x_1x2​−x1​ and the vertical side has length y2−y1y_2-y_1y2​−y1​.

Pythagoras’ theorem then gives the distance: d=(x2−x1)2+(y2−y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}d=(x2​−x1​)2+(y2​−y1​)2​. Squaring removes any negative sign, so it does not matter which point you name first.

Common mistake

A common error is to add the differences and then square. Square each difference first, add, and take the root last.

Worked example

Length of a segment

Find the length of the segment joining A(1,2)A(1,2)A(1,2) and B(7,10)B(7,10)B(7,10).
  1. 1
    Horizontal change: 7−1=67-1=67−1=6. Vertical change: 10−2=810-2=810−2=8.
  2. 2
    AB=62+82AB=\sqrt{6^2+8^2}AB=62+82​.
  3. 3
    AB=36+64=100AB=\sqrt{36+64}=\sqrt{100}AB=36+64​=100​.

Answer: AB=10AB=10AB=10 units.

Key term

line segment

A line segment is the part of a straight line that lies between two endpoints.

Part 3 done

4

Part 4 of 5: The midpoint averages the coordinates of two points

Halfway between two points, each coordinate is the average of the endpoints’ coordinates. This point is the midpoint of the segment. For endpoints (x1,y1)(x_1,y_1)(x1​,y1​) and (x2,y2)(x_2,y_2)(x2​,y2​), it is (x1+x22,y1+y22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)(2x1​+x2​​,2y1​+y2​​).

A line through the midpoint at right angles to the segment is its perpendicular bisector. It combines the midpoint with a perpendicular gradient.

The midpoint formula also finds a missing endpoint. If you know the midpoint and one endpoint, double each coordinate of the midpoint. Then subtract the matching coordinate of the endpoint.

Worked example

A perpendicular bisector

Find the perpendicular bisector of A(1,2)A(1,2)A(1,2) and B(7,10)B(7,10)B(7,10). Give the answer as ax+by+c=0ax+by+c=0ax+by+c=0.
  1. 1
    Midpoint: (1+72,2+102)=(4,6)\left(\frac{1+7}{2},\frac{2+10}{2}\right)=(4,6)(21+7​,22+10​)=(4,6).
  2. 2
    Gradient of ABABAB: 10−27−1=43\frac{10-2}{7-1}=\frac{4}{3}7−110−2​=34​, so the perpendicular gradient is −34-\frac{3}{4}−43​.
  3. 3
    Use y−6=−34(x−4)y-6=-\frac{3}{4}(x-4)y−6=−43​(x−4), so 4y−24=−3x+124y-24=-3x+124y−24=−3x+12.
  4. 4
    Rearrange: 3x+4y−36=03x+4y-36=03x+4y−36=0.

Answer: 3x+4y−36=03x+4y-36=03x+4y−36=0.

Key terms · tap one for its definition

midpoint

The midpoint of a line segment is the point exactly halfway between its two endpoints.

perpendicular bisector

A perpendicular bisector of a line segment is the line that passes through its midpoint at right angles.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the centre of the circle (x−3)2+(y+4)2=25(x-3)^2+(y+4)^2=25(x−3)2+(y+4)2=25.
Show answer and explanation

Answer: C · Worked explanation

Compare with (x−a)2+(y−b)2=r2(x-a)^2+(y-b)^2=r^2(x−a)2+(y−b)2=r2. Then a=3a=3a=3 and b=−4b=-4b=−4, because y+4=y−(−4)y+4=y-(-4)y+4=y−(−4). So the centre is (3,−4)(3,-4)(3,−4). The point (−3,4)(-3,4)(−3,4) comes from copying the signs inside the brackets directly. The centre of a circle with equation (x−a)2+(y−b)2=r2(x-a)^2+(y-b)^2=r^2(x−a)2+(y−b)2=r2 is always (a,b)(a,b)(a,b), and the radius is found separately as r=5r=5r=5 here.
5

Part 5 of 5: A circle is every point a fixed distance from its centre

Apply the distance formula with a fixed distance, and a circle appears. A circle is the set of points at a fixed distance, the radius, from its centre.

Let the centre be (a,b)(a,b)(a,b) and the radius be rrr. Every point (x,y)(x,y)(x,y) on the circle satisfies (x−a)2+(y−b)2=r2(x-a)^2+(y-b)^2=r^2(x−a)2+(y−b)2=r2. The signs inside the brackets are opposite to the centre’s coordinates. A circle centred at the origin has the simpler equation x2+y2=r2x^2+y^2=r^2x2+y2=r2.

Figure 1. Every point on the circle is 3 units from the centre (2, −1).

Expanded forms such as x2+y2−4x+2y−4=0x^2+y^2-4x+2y-4=0x2+y2−4x+2y−4=0 hide the centre. Completing the square in xxx and in yyy brings it into view.

Common mistake

The right-hand side is r2r^2r2. For (x−2)2+(y+1)2=9(x-2)^2+(y+1)^2=9(x−2)2+(y+1)2=9, the radius is 3, not 9.

Worked example

Centre and radius from an expanded equation

Find the centre and radius of x2+y2−4x+2y−4=0x^2+y^2-4x+2y-4=0x2+y2−4x+2y−4=0.
  1. 1
    Group the terms: (x2−4x)+(y2+2y)=4(x^2-4x)+(y^2+2y)=4(x2−4x)+(y2+2y)=4.
  2. 2
    Complete the square in each variable: (x−2)2−4+(y+1)2−1=4(x-2)^2-4+(y+1)^2-1=4(x−2)2−4+(y+1)2−1=4.
  3. 3
    Rearrange: (x−2)2+(y+1)2=9(x-2)^2+(y+1)^2=9(x−2)2+(y+1)2=9.

Answer: The centre is (2,−1)(2,-1)(2,−1) and the radius is 3.

Go deeperTangents and chords

A tangent touches a circle at one point and is perpendicular to the radius at that point. To find its equation, find the gradient of the radius, then take the negative reciprocal.

The perpendicular bisector of any chord passes through the centre. This helps when the centre is unknown.

Key terms · tap one for its definition

circle

A circle is the set of all points in a plane at a fixed distance rrr from a fixed centre.

radius

The radius of a circle is the fixed distance rrr from its centre to any point on it.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Determine[3 marks]

    Determine, in the form y=mx+cy=mx+cy=mx+c, the equation of the line through (1,4)(1,4)(1,4) and (3,10)(3,10)(3,10).

    Show mark schemeHide mark scheme

    Model answer

    The gradient is 10−43−1=3\frac{10-4}{3-1}=33−110−4​=3. Then y−4=3(x−1)y-4=3(x-1)y−4=3(x−1), so y=3x+1y=3x+1y=3x+1.

    • 1 mark for finding the gradient 3
    • 1 mark for using y−y1=m(x−x1)y-y_1=m(x-x_1)y−y1​=m(x−x1​) with one of the points
    • 1 mark for giving y=3x+1y=3x+1y=3x+1
  2. 2.State[1 mark]

    State the gradient of a line perpendicular to y=4x−1y=4x-1y=4x−1.

    Show mark schemeHide mark scheme

    Model answer

    The gradient is −14-\frac{1}{4}−41​.

    • 1 mark for stating −14-\frac{1}{4}−41​
  3. 3.Calculate[3 marks]

    Calculate the distance between the points (−1,2)(-1,2)(−1,2) and (4,14)(4,14)(4,14).

    Show mark schemeHide mark scheme

    Model answer

    The differences are 5 and 12. So d=52+122=169=13d=\sqrt{5^2+12^2}=\sqrt{169}=13d=52+122​=169​=13 units.

    • 1 mark for finding the differences 5 and 12
    • 1 mark for using 52+122\sqrt{5^2+12^2}52+122​ or 169\sqrt{169}169​
    • 1 mark for giving 13 units
  4. 4.Calculate[2 marks]

    Calculate the coordinates of the midpoint of (−3,4)(-3,4)(−3,4) and (7,10)(7,10)(7,10).

    Show mark schemeHide mark scheme

    Model answer

    (−3+72,4+102)=(2,7)\left(\frac{-3+7}{2},\frac{4+10}{2}\right)=(2,7)(2−3+7​,24+10​)=(2,7).

    • 1 mark for averaging the xxx-coordinates and the yyy-coordinates
    • 1 mark for giving (2,7)(2,7)(2,7)
  5. 5.Determine[3 marks]

    Determine the centre and radius of the circle (x+1)2+(y−3)2=16(x+1)^2+(y-3)^2=16(x+1)2+(y−3)2=16.

    Show mark schemeHide mark scheme

    Model answer

    The centre is (−1,3)(-1,3)(−1,3) because the signs inside the brackets are reversed. The radius is 16=4\sqrt{16}=416​=4.

    • 1 mark for giving the xxx-coordinate -1
    • 1 mark for giving the yyy-coordinate 3
    • 1 mark for giving the radius 4
  6. 6.Show[2 marks]

    Show that the point (2,2)(2,2)(2,2) lies on the circle (x−2)2+(y+1)2=9(x-2)^2+(y+1)^2=9(x−2)2+(y+1)2=9.

    Show mark schemeHide mark scheme

    Model answer

    Substitute x=2x=2x=2 and y=2y=2y=2: (0)2+(3)2=9(0)^2+(3)^2=9(0)2+(3)2=9. This equals the right-hand side, so the point lies on the circle.

    • 1 mark for substituting x=2x=2x=2 and y=2y=2y=2 to get 02+320^2+3^202+32
    • 1 mark for showing that this equals 9 and concluding

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the midpoint of the points (2,8)(2,8)(2,8) and (6,2)(6,2)(6,2).
Show answer and explanation

Answer: D · Worked explanation

The midpoint averages the coordinates: (2+62,8+22)=(4,5)\left(\frac{2+6}{2},\frac{8+2}{2}\right)=(4,5)(22+6​,28+2​)=(4,5). The point (8,10)(8,10)(8,10) is the sum of the coordinates, with the division by 2 forgotten. As a sense check, the answer lies between the two points: 4 is between 2 and 6, and 5 is between 2 and 8.
4.

Medium·Calculate[1 mark]

Calculate the distance between (1,−2)(1,-2)(1,−2) and (4,2)(4,2)(4,2).
Show answer and explanation

Answer: D · Worked explanation

The differences are 4−1=34-1=34−1=3 and 2−(−2)=42-(-2)=42−(−2)=4, so d=32+42=25=5d=\sqrt{3^2+4^2}=\sqrt{25}=5d=32+42​=25​=5. The value 7\sqrt{7}7​ comes from adding the differences without squaring them, 7 comes from adding the differences before squaring, and 25 forgets to take the square root. This is the hypotenuse of a right-angled triangle with sides 3 and 4, the familiar 3, 4, 5 triangle.
5.

Medium·Determine[1 mark]

Determine the equation of the line through (3,−2)(3,-2)(3,−2) with gradient -2.
Show answer and explanation

Answer: D · Worked explanation

Use y−y1=m(x−x1)y-y_1=m(x-x_1)y−y1​=m(x−x1​): y+2=−2(x−3)y+2=-2(x-3)y+2=−2(x−3), so y=−2x+6−2=−2x+4y=-2x+6-2=-2x+4y=−2x+6−2=−2x+4. The line y=−2x+8y=-2x+8y=−2x+8 comes from writing y−2y-2y−2 in place of y+2y+2y+2, which uses the wrong sign for the yyy-coordinate. Check with the given point: y=−2(3)+4=−2y=-2(3)+4=-2y=−2(3)+4=−2, so the line does pass through (3,−2)(3,-2)(3,−2) as required. Always substitute the given point back into your final equation.
6.

Medium·Determine[1 mark]

Determine the gradient of a line perpendicular to 3x+y=73x+y=73x+y=7.
Show answer and explanation

Answer: C · Worked explanation

Rearranging gives y=−3x+7y=-3x+7y=−3x+7, so the gradient is -3. The perpendicular gradient is the negative reciprocal, 13\frac{1}{3}31​. The value −13-\frac{1}{3}−31​ comes from reading the gradient as 3, the coefficient of xxx before rearranging. As a check, the product of the gradients is −3×13=−1-3\times\frac{1}{3}=-1−3×31​=−1, which is the condition for perpendicular lines.
7.

Medium·Determine[1 mark]

The midpoint of ABABAB is (3,7)(3,7)(3,7) and AAA is (1,4)(1,4)(1,4). Determine the coordinates of BBB.
Show answer and explanation

Answer: C · Worked explanation

The midpoint averages the endpoints, so 1+x2=3\frac{1+x}{2}=321+x​=3 and 4+y2=7\frac{4+y}{2}=724+y​=7. This gives x=5x=5x=5 and y=10y=10y=10. The point (2,3)(2,3)(2,3) is only the step from AAA to the midpoint, not the full step from AAA to BBB. As a check, the midpoint of (1,4)(1,4)(1,4) and (5,10)(5,10)(5,10) is (1+52,4+102)=(3,7)\left(\frac{1+5}{2},\frac{4+10}{2}\right)=(3,7)(21+5​,24+10​)=(3,7), as given.
8.

Hard·Determine[2 marks]

Determine the centre and radius of the circle x2+y2−6x+4y−3=0x^2+y^2-6x+4y-3=0x2+y2−6x+4y−3=0.
Show answer and explanation

Answer: C · Worked explanation

Complete the square: (x−3)2−9+(y+2)2−4−3=0(x-3)^2-9+(y+2)^2-4-3=0(x−3)2−9+(y+2)2−4−3=0, so (x−3)2+(y+2)2=16(x-3)^2+(y+2)^2=16(x−3)2+(y+2)2=16. The centre is (3,−2)(3,-2)(3,−2) and the radius is 16=4\sqrt{16}=416​=4. A radius of 16 forgets the square root, and 3\sqrt{3}3​ ignores the constants from completing the square. Substituting back, the centre (3,−2)(3,-2)(3,−2) and radius 4 give (x−3)2+(y+2)2=16(x-3)^2+(y+2)^2=16(x−3)2+(y+2)2=16, which expands to the original equation.
9.

Hard·Determine[2 marks]

Determine the equation of the perpendicular bisector of the points (0,2)(0,2)(0,2) and (4,6)(4,6)(4,6).
Show answer and explanation

Answer: D · Worked explanation

The midpoint is (2,4)(2,4)(2,4) and the gradient of the segment is 1, so the perpendicular gradient is -1. Then y−4=−(x−2)y-4=-(x-2)y−4=−(x−2) gives y=−x+6y=-x+6y=−x+6. The line y=−x+2y=-x+2y=−x+2 has the right gradient but passes through (0,2)(0,2)(0,2), an endpoint, not the midpoint. As a check, the point (2,4)(2,4)(2,4) gives −2+6=4-2+6=4−2+6=4, so the line passes through the midpoint.
10.

Hard·Determine[2 marks]

A circle has centre (1,2)(1,2)(1,2) and passes through (4,6)(4,6)(4,6). Determine its equation.
Show answer and explanation

Answer: D · Worked explanation

The radius is the distance from (1,2)(1,2)(1,2) to (4,6)(4,6)(4,6), which is 32+42=5\sqrt{3^2+4^2}=532+42​=5. So r2=25r^2=25r2=25 and the equation is (x−1)2+(y−2)2=25(x-1)^2+(y-2)^2=25(x−1)2+(y−2)2=25. The right-hand side 5 uses the radius instead of r2r^2r2, and (x+1)2+(y+2)2=25(x+1)^2+(y+2)^2=25(x+1)2+(y+2)2=25 has the wrong signs for the centre. As a check, the point (4,6)(4,6)(4,6) gives 32+42=9+16=253^2+4^2=9+16=2532+42=9+16=25, so it lies on the circle.

Keep going

Next topicP4 Sequences and seriesPrevious topicP2 Algebra and functions

More in P · Pure mathematics

  1. P1ProofNotes · 10 questions
  2. P2Algebra and functionsNotes · 10 questions
  3. P3Coordinate geometryNotes · 10 questions
  4. P4Sequences and seriesNotes · 10 questions
  5. P5TrigonometryNotes · 10 questions
  6. P6Exponentials and logarithmsNotes · 10 questions
  7. P7DifferentiationNotes · 10 questions
  8. P8IntegrationNotes · 10 questions
  9. P9Numerical methodsNotes · 10 questions

All Edexcel A-level Mathematics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by Pearson Edexcel or any exam board.

On this page

0/5 read

  1. 1A line is fixed by its gradient and a point
  2. 2Gradients show when lines are parallel or perpendicular
  3. 3The distance formula comes from Pythagoras’ theorem
  4. 4The midpoint averages the coordinates of two points
  5. 5A circle is every point a fixed distance from its centre
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

A circle in the coordinate plane

y-20246-4-2024x
  • Upper half
  • Lower half
  • Centre (2, −1)
  • Point (5, −1)