WhatsApp us
IGCSE Maths18 Nov 2026

IGCSE Gradient, Length and Midpoint: Formulas, Worked Examples and the Reverse Questions (0580 E3.1–E3.4)

How to find the gradient, length and midpoint of a line segment for Cambridge IGCSE 0580, what Core and Extended students are each expected to do, four original worked examples including the reverse midpoint, and a five-question self-check.

IGCSE Gradient, Length and Midpoint: Formulas, Worked Examples and the Reverse Questions (0580 E3.1–E3.4)

To find the gradient between two points, divide the change in y by the change in x. To find the midpoint, average the x-coordinates and average the y-coordinates. To find the length, use Pythagoras on those same two changes: √((change in x)² + (change in y)²). In Cambridge IGCSE 0580 these sit in sub-topics E3.1 to E3.4, and length and midpoint are Extended only.

This guide covers each formula, then the reverse questions that catch students out, such as finding an endpoint from a midpoint. If you would like a tutor to work through it with your child against the 0580 numbering, see our 0580 Cambridge IGCSE tutoring.

Where this sits in the syllabus

RefContentCoreExtended
3.1Use and interpret Cartesian coordinatesYesYes
3.2Draw straight-line graphsFrom y = mx + c, or from a tableAny linear form
3.3Gradient of a straight lineFrom a grid onlyFrom a grid or from two points
3.4Length and midpoint of a segmentNoYes

So a Core student counts squares to find a gradient. An Extended student must also calculate it from coordinates alone, with no grid, and handle lengths and midpoints. For the full strand and how it links together, start with our 0580 coordinate geometry overview.

The three formulas

For two points (x₁, y₁) and (x₂, y₂):

  • Gradient m = (y₂ − y₁)/(x₂ − x₁)
  • Midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2)
  • Length = √((x₂ − x₁)² + (y₂ − y₁)²)

None of these is printed on the List of formulas on page 2 of the paper, so they must be remembered. The good news is that they are really one idea. Draw the right-angled triangle under the segment: its horizontal side is the change in x and its vertical side is the change in y. Gradient divides them, length uses Pythagoras on them, and the midpoint is halfway along each.

Calculator or not?

Papers 1 and 2 (no calculator). Numbers are usually chosen so that the gradient is a simple fraction and the length is a whole number or a surd. You must be quick with negative numbers and willing to leave √45 as 3√5. If surds are shaky, our guide to simplifying surds for IGCSE is the place to start.

Papers 3 and 4 (calculator). Coordinates may be decimals, and a length will usually be given to 3 significant figures. Keep the full value in the calculator if it feeds the next part.

Worked example 1: gradient from two points

Find the gradient of the line through A(−3, 5) and B(5, −1).

Change in y = −1 − 5 = −6.

Change in x = 5 − (−3) = 8.

m = −6/8 = −3/4.

Sense check: from A to B the line goes right and down, so a negative gradient is right. The mistake we see most is subtracting y in one order and x in the other, which gives +3/4.

Worked example 2: length and midpoint together

P is (−2, 7) and Q is (10, −2). Find the length of PQ and the midpoint of PQ.

Changes: x changes by 10 − (−2) = 12; y changes by −2 − 7 = −9.

Length = √(12² + (−9)²) = √(144 + 81) = √225 = 15 units.

Midpoint = ((−2 + 10)/2, (7 + (−2))/2) = (8/2, 5/2) = (4, 2.5).

Note that squaring −9 gives +81. A negative change never makes the length smaller.

Worked example 3: the reverse midpoint

M(3, −1) is the midpoint of AB. A is (−4, 6). Find B.

Think of the journey from A to M, then repeat it from M.

  • x: from −4 to 3 is +7, so B has x = 3 + 7 = 10.
  • y: from 6 to −1 is −7, so B has y = −1 − 7 = −8.

B = (10, −8).

Algebra gives the same answer: (−4 + x)/2 = 3 gives x = 10, and (6 + y)/2 = −1 gives y = −8. Check by averaging A and B: ((−4 + 10)/2, (6 − 8)/2) = (3, −1). ✓

This question type is common because it tests whether a student understands the midpoint, not just the formula.

Worked example 4: an exact length and a missing coordinate

(a) Find the exact length of the segment joining C(−1, 3) and D(5, 6).

Changes: 6 and 3. Length = √(36 + 9) = √45 = √(9 × 5) = 3√5 units.

On Paper 4 the same question would accept 6.71 (3 s.f.).

(b) The line through E(2, k) and F(6, 11) has gradient 3/2. Find k.

Gradient = (11 − k)/(6 − 2) = (11 − k)/4.

Set equal to 3/2: 11 − k = 4 × 3/2 = 6, so k = 5.

Check: from (2, 5) to (6, 11), y rises 6 while x rises 4, and 6/4 = 3/2. ✓

Reading a gradient from a grid (Core and Extended)

For Core, this is the main skill in E3.3. Pick two points where the line crosses grid corners exactly, as far apart as possible. Count across, then count up or down, and read the axis scales: if one square across is 2 units and one square up is 5 units, then 3 squares up and 4 across is a gradient of 15/8, not 3/4.

Lines parallel to the x-axis have gradient 0. Lines parallel to the y-axis have no gradient that can be calculated, because the change in x is zero.

Mistakes our tutors see

  1. Mismatched subtraction order on the top and the bottom of the gradient fraction.
  2. Change in x over change in y. Gradient is always vertical change over horizontal change.
  3. Averaging the wrong pair, for example adding x₁ and y₁ for the midpoint.
  4. Taking the square root of each term separately. √(144 + 81) is 15; √144 + √81 is 21.
  5. Rounding a length that is exact. If the answer is 15, write 15, not 15.0.
  6. Ignoring the scale on a printed grid.
  7. Writing coordinates the wrong way round in the final answer, (y, x) instead of (x, y).

When to get help

These skills are usually picked up quickly. It is worth asking for help if you notice:

  • Signs going wrong in more than one question in five, which usually means negative-number arithmetic needs work, not coordinate geometry.
  • A student who can use the formulas but cannot do a reverse question, such as finding an endpoint or a missing coordinate.
  • Trouble leaving answers in surd form on the non-calculator paper.
  • Confusion about which number is the gradient once lines appear as equations, which is the next step in our guide to writing the equation of a straight line.

Self-check

  1. Find the gradient of the line through (2, −1) and (6, 9).
  2. Find the midpoint of (−7, 4) and (3, −10).
  3. Find the length of the segment from (−2, 3) to (4, 11).
  4. M(1, 5) is the midpoint of AB, where A is (−3, 2). Find B.
  5. The line through (k, 4) and (5, 10) has gradient 2. Find k.

Answers. 1: 10/4 = 5/2. 2: (−2, −3). 3: √(36 + 64) = 10. 4: B = (5, 8). 5: 6/(5 − k) = 2, so 5 − k = 3 and k = 2.

For longer exam-style questions that mix these skills, try our IGCSE coordinate geometry practice set.

Where it leads

Midpoint and gradient come straight back in perpendicular bisectors, which you will meet in our guide to perpendicular lines for IGCSE. In Additional Mathematics 0606, the straight-line topic asks for midpoint, length and perpendicular bisectors in problem form, and the newer topic on the coordinate geometry of the circle in 0606 uses the length formula as the starting point for a circle's equation. IB Analysis and Approaches and A level both assume these formulas from week one.

How Maths Bodhi helps

We start with a short diagnosis in the free demo: one gradient, one reverse midpoint and one exact length. How the student lays out those three answers tells the tutor where to begin. Tutors are matched to Core or Extended, and each lesson ends with exam-style questions marked on method, not just the answer. See how our IGCSE maths home tutors plan the term.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team. Facts checked against official Cambridge International and Pearson sources, November 2026.

Frequently asked questions

What is the midpoint formula in IGCSE maths?
The midpoint of (x₁, y₁) and (x₂, y₂) is ((x₁ + x₂)/2, (y₁ + y₂)/2). Add the two x-coordinates and halve, then do the same for the y-coordinates.
How do you find the length of a line segment in IGCSE?
Find the change in x and the change in y, square both, add them and take the square root. It is Pythagoras' theorem applied to the right-angled triangle under the segment.
Is the gradient formula given in the IGCSE exam?
No. The 0580 List of formulas on page 2 of each paper covers areas, volumes and, for Extended, the quadratic formula and triangle rules. Gradient, length and midpoint must be remembered.
Do Core students need to know the midpoint formula?
Length and midpoint are listed as Extended content only in the 0580 2025–2027 syllabus. Core students find gradients from a grid and work with coordinates and straight-line graphs.
How do I find the other end of a line from the midpoint?
Work out the step from the known end to the midpoint in x and in y, then add the same step again from the midpoint. Check by averaging the two ends.
What is the gradient of a vertical line?
It cannot be calculated, because the change in x is zero and you cannot divide by zero. A horizontal line has gradient 0.
IGCSE gradientmidpoint of a line segmentlength of a line IGCSE0580 coordinate geometryIGCSE maths tutor

Related guides

Keep exploring this maths topic

IGCSE Maths18 Nov 2026

IGCSE Maths Coordinate Geometry Topics (0580 E3): Every Sub-topic, Core vs Extended, and a Study Order

The seven sub-topics of Cambridge IGCSE 0580 coordinate geometry, from plotting points to perpendicular bisectors, with Core and Extended status, how each one turns up on the non-calculator and calculator papers, and the order we teach them in.

IGCSE coordinate geometry0580 straight line graphsgradient and midpoint IGCSECore vs Extended 0580

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

IGCSE Coordinate Geometry Questions: 10 Practice Questions on Lines, Gradients and Perpendiculars

Ten original coordinate geometry questions for Cambridge IGCSE 0580, from gradient, midpoint and length to perpendicular bisectors and the shortest distance to a line, with worked answers and marking notes.

IGCSE coordinate geometry practiceIGCSE straight line questionsperpendicular lines IGCSE0580 coordinate geometry

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

IGCSE Perpendicular Lines and Parallel Lines: Gradients, Equations and Perpendicular Bisectors (0580 E3.6–E3.7)

Parallel lines share a gradient; perpendicular gradients multiply to −1. This Cambridge IGCSE 0580 guide shows how to use both facts, how to find a perpendicular bisector step by step, and how to prove a right angle with coordinates, with four original worked examples.

IGCSE perpendicular linesperpendicular bisector IGCSEparallel lines gradient0580 Extended coordinate geometry

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

Equation of a Straight Line for IGCSE (y = mx + c): Reading, Building and Rearranging Lines (0580 E3.5)

How to read the gradient and y-intercept from any linear equation, how to build y = mx + c from a graph, a point or two points, and how ax + by = c and x = k fit in for Cambridge IGCSE 0580. Four original worked examples and a self-check.

y = mx + c IGCSEequation of a linestraight line graphs 0580IGCSE coordinate geometry

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

IGCSE Further Pure Maths Coordinate Geometry (4PM1 Section 8): Distance, Ratio, Gradient and Straight Lines

Section 8 of Edexcel Further Pure Mathematics (4PM1), "Rectangular Cartesian coordinates": distance between points, the point dividing a line in a ratio, gradient, equations of straight lines, and parallel and perpendicular lines. Four worked examples and a self-check.

further pure coordinate geometry4PM1 straight linesperpendicular lines IGCSEratio formula coordinates

By Maths Bodhi Team

Read guide

IGCSE Maths18 Nov 2026

Pythagoras' Theorem for IGCSE Maths (0580 E6.1): Worked Examples With and Without a Calculator

How Pythagoras' theorem is tested in Cambridge IGCSE 0580 (C6.1 and E6.1, both tiers): finding the hypotenuse and shorter sides, surd answers on the non-calculator paper, distance between points, a two-part ladder problem, the converse, and a self-check.

IGCSE PythagorasPythagoras theorem questions0580 E6.1IGCSE Core and Extended

By Maths Bodhi Team

Read guide