EZ Tuitions Logo
EZ Tuitions

Section formula and midpoint: check the answer before you move on

The section formula is easy to apply and easy to get wrong without noticing. A swapped ratio still gives a neat pair of numbers. This page is about the checks that catch it: a fraction along the segment, a distance ratio, and the midpoint as the 1 : 1 case.

All points are invented practice points. The ratios are internal divisions only. For the formula itself and basic practice, see the Class 10 coordinate geometry chapter page.

One idea behind all three checks

If P divides AB internally in the ratio m : n, then AP : PB = m : n, and P is m / (m + n) of the way from A to B. Move that fraction of the horizontal gap and that same fraction of the vertical gap from A, and you land on P.

  1. Fraction check: (Px − Ax) / (Bx − Ax) and (Py − Ay) / (By − Ay) must be equal, and equal to m / (m + n).
  2. Distance check: AP : PB must come out as m : n.
  3. Midpoint check: the ratio 1 : 1 gives the average of the coordinates, and both ends are the same distance from it.

Example 1: find the point, then test it

A = (−4, −1), B = (8, 11), AP : PB = 1 : 3. Answer: P = (−1, 2).

Use the section formula with m = 1 and n = 3. For x: (1 × 8 + 3 × (−4)) / 4 = (8 − 12) / 4 = −1. For y: (1 × 11 + 3 × (−1)) / 4 = (11 − 3) / 4 = 2. So P = (−1, 2).

Check: Fraction test: AP is 1 part of 4, so P should be one quarter of the way from A to B. The gaps from A to B are 12 and 12, and a quarter of each is 3. A + (3, 3) = (−1, 2). Distance test: AP = √(9 + 9) = √18 = 3√2 and PB = √(81 + 81) = √162 = 9√2, so AP : PB = 3 : 9 = 1 : 3.

Example 2: is this point on the segment, and in what ratio?

A = (1, −5), B = (7, 7), C = (3, −1). Answer: AC : CB = 1 : 2.

Ask what fraction of the way from A to B the point C(3, −1) is, using each coordinate. For x: (3 − 1) / (7 − 1) = 2/6 = 1/3. For y: (−1 − (−5)) / (7 − (−5)) = 4/12 = 1/3. The two fractions agree, so C lies on AB, one third of the way along. One part to two parts gives AC : CB = 1 : 2.

Check: Put 1 : 2 into the section formula. x: (1 × 7 + 2 × 1) / 3 = 9/3 = 3. y: (1 × 7 + 2 × (−5)) / 3 = −3/3 = −1. That returns C(3, −1).

Example 3: the midpoint is the 1 : 1 case, used backwards

A = (−5, 4), midpoint M = (2, −3). Answer: B = (9, −10).

The midpoint M(2, −3) of A(−5, 4) and B is known, and B is not. The midpoint formula says 2 = (−5 + x) / 2 and −3 = (4 + y) / 2. So −5 + x = 4, giving x = 9, and 4 + y = −6, giving y = −10. B = (9, −10).

Check: Run it forward: ((−5 + 9) / 2, (4 + (−10)) / 2) = (2, −3). Both ends are also the same distance from M: the gaps from M are (−7, 7) to A and (7, −7) to B.

A point that fools one coordinate

A = (1, −5), B = (7, 7), C = (4, 0), midpoint = (4, 1).

Take the same segment as Example 2, A(1, −5) and B(7, 7), and the point C(4, 0). Its x-coordinate is 4, which is the x of the midpoint, so it looks right. Test y: (0 − (−5)) / (7 − (−5)) = 5/12. The x-fraction was (4 − 1) / 6 = 1/2. The two fractions disagree (1/2 against 5/12), so C is not on AB. The midpoint is (4, 1), and C sits one unit below it.

A swapped ratio passes the first test and fails the second

For A(1, −5), B(7, 7) and the ratio 1 : 2, someone pairs the weights the wrong way and gets (2 × 7 + 1 × 1) / 3 = 5 for x and (2 × 7 + 1 × (−5)) / 3 = 3 for y, so the point (5, 3). Its two fractions are (5 − 1) / 6 = 2/3 and (3 + 5) / 12 = 2/3. They agree, so the point is on AB. But it is two thirds of the way, which means AP : PB = 2 : 1, not 1 : 2. The correct point is (3, −1). Agreeing fractions show the point is on the segment. Only the value of the fraction shows whether the ratio is right.

Try two yourself

Let A = (2, −6) and B = (10, 6). First, find the point P with AP : PB = 3 : 1 and test it with the fraction check. Second, decide whether D = (6, 0) lies on AB, and if so in what ratio.

Show the worked self-check

First: x = (3 × 10 + 1 × 2) / 4 = 32/4 = 8. y = (3 × 6 + 1 × (−6)) / 4 = 12/4 = 3. So P = (8, 3). Fraction check: the gaps are 8 and 12, and three quarters of them are 6 and 9. A + (6, 9) = (8, 3).

Second: x-fraction (6 − 2) / 8 = 1/2. y-fraction (0 − (−6)) / 12 = 1/2. They agree, so D is on AB, halfway. AD : DB = 1 : 1, so D is the midpoint, and the midpoint formula gives ((2 + 10) / 2, (−6 + 6) / 2) = (6, 0).

Limits of this page

  • Only internal division is covered. A point outside the segment has a fraction below 0 or above 1 and needs a different treatment.
  • The fraction check divides by a gap, so it needs the two points to differ in that coordinate.
  • A passed check supports the answer; it does not replace the working an exam asks you to show.
  • The points are practice values, not a textbook exercise key.

Common questions

Why do I check both coordinates?

A point can match one coordinate and still be off the segment. If the x-fraction and y-fraction differ, the point is not on AB. Agreeing fractions are the on-the-segment test.

In the ratio m : n, does m go with A or with B?

AP : PB = m : n. The weight m multiplies the far endpoint B, and n multiplies A. A larger m pulls P toward B. A quick sense check: for 1 : 3, P should sit close to A.

I know the point. How do I find the ratio?

Take the fraction t = (Px − Ax) / (Bx − Ax). Then AP : PB = t : (1 − t). Confirm with the y-coordinates. If t = 1/3, the ratio is 1 : 2.

What if A and B have the same x-coordinate?

Then Bx − Ax is zero and the x-fraction is undefined. Use the y-fraction for the ratio, and check that P has the same x as A and B. The same applies to a horizontal segment.

Sources and scope

Source checked . It supports the section formula for internal division, the midpoint as the 1 : 1 case, and checking a ratio with both coordinates or with distances. The points, checks and practice here are original EZT work.

Class 10 coordinate geometry practiceTuition and practice