Short answer
Given two points on a coordinate grid, the section formula finds the exact coordinates of the point that divides the line segment between them in a stated ratio. It appears in GCSE Higher vector and coordinate geometry questions and relies on nothing more than a weighted average of the two endpoints.
At a glance
- Key stage
- GCSE
- Subject
- Geometry
- Type
- How-to guide
- For
- Students
- Read time
- 4 min
- Last updated
- 14 October 2026
Where this fits
- Key Stage 3Years 7–9
- GCSEYears 10–11This article
Method at a glance
- Label the endpoints
- Apply the formula for the x-coordinate
- Apply the formula for the y-coordinate
- Write the answer as coordinates
- Check with a sketch
What is the section formula?
If point A has coordinates (x₁, y₁) and point B has coordinates (x₂, y₂), the point P that divides AB in the ratio m : n has coordinates:
P = ( (mx₂ + nx₁) / (m + n) , (my₂ + ny₁) / (m + n) )
This is called internal division — P lies between A and B on the segment. The formula is a weighted average: P is closer to B when m is larger, and closer to A when n is larger.
How do you use the section formula step by step?
-
Label the endpoints. Write A = (x₁, y₁) and B = (x₂, y₂) clearly. Identify m : n from the question — m is the ratio part from A to P, and n is the ratio part from P to B.
-
Apply the formula for the x-coordinate. Compute (mx₂ + nx₁) ÷ (m + n).
-
Apply the formula for the y-coordinate. Compute (my₂ + ny₁) ÷ (m + n).
-
Write the answer as coordinates. Combine the two results into (x, y).
-
Check with a sketch. Draw A, B and your answer P. Measure (or estimate) whether P looks roughly correct for the stated ratio.
Worked example
A = (2, 1) and B = (8, 7). Find the point P that divides AB in the ratio 1 : 2.
Here m = 1, n = 2 (P is one-third of the way from A to B).
x-coordinate of P: (1 × 8 + 2 × 2) / (1 + 2) = (8 + 4) / 3 = 12/3 = 4
y-coordinate of P: (1 × 7 + 2 × 1) / (1 + 2) = (7 + 2) / 3 = 9/3 = 3
So P = (4, 3).
Check: the distance from A(2,1) to P(4,3) is √(4+4) = √8. The distance from P(4,3) to B(8,7) is √(16+16) = √32 = 2√8. Ratio AP : PB = √8 : 2√8 = 1 : 2 ✓
What if the ratio is 2 : 3?
| Point | x | y | Ratio m : n |
|---|---|---|---|
| A = (1, 4), B = (11, 9), ratio 2:3 | (2×11 + 3×1)/5 = 25/5 = 5 | (2×9 + 3×4)/5 = 30/5 = 6 | P = (5, 6) |
| A = (0, 0), B = (10, 5), ratio 3:2 | (3×10 + 2×0)/5 = 6 | (3×5 + 2×0)/5 = 3 | P = (6, 3) |
| A = (−3, 2), B = (7, −8), ratio 1:4 | (1×7 + 4×(−3))/5 = −1 | (1×(−8) + 4×2)/5 = 0 | P = (−1, 0) |
How does the section formula relate to vectors?
In vector notation, if a and b are the position vectors of A and B, then the position vector of P dividing AB in ratio m : n is:
p = (na + mb) / (m + n)
This is the same formula expressed using vectors. GCSE questions may present this as a vector proof or ask you to state the position vector rather than coordinates.
What is the midpoint formula?
The midpoint formula is a special case of the section formula with m = n = 1 (ratio 1:1). Substituting: midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2). If you recognise that dividing in ratio 1:1 gives the midpoint, you can check your section-formula answer: a ratio of 1:3 should give a point one-quarter of the way from A to B, which you can verify against the midpoint.
Frequently asked questions
Does the order of the ratio matter?
Yes. Ratio m : n means the segment from A to P has length in proportion m, and from P to B in proportion n. Swapping to n : m gives a different point P that is the mirror image of the correct answer about the midpoint. Always re-read the question to confirm which end the ratio is measured from.
What if the coordinates are negative?
Substitute the negative values directly into the formula and be careful with signs. For example, if x₁ = −3 and m = 2, the term mx₁ = 2 × (−3) = −6. Using brackets around negative values avoids sign errors.
Is external division on the GCSE syllabus?
External division (where P lies outside segment AB) is not typically required at GCSE. It appears at A-level. At GCSE you only need internal division, where m and n are both positive and P lies between A and B.
How many marks does this topic carry?
Section formula / dividing-in-a-ratio questions typically appear in the 3–5 mark range on Higher papers. They are usually part of a multi-part vector or coordinate geometry question, so accuracy on this step carries marks into subsequent parts.
Professor Pi gives personalised hints on coordinate geometry problems — visit aitutors.me.
Key terms
- internal division
- Label the endpoints
- Check with a sketch