Section and mid-point formula

Two points on a graph, AA and BB, and a string stretched tight between them. Somewhere along that string sits a point PP that splits it in a chosen ratio, say 2:12:1 — closer to one end than the other. Coordinate geometry lets you find the exact coordinates of PP without drawing anything, using nothing but the coordinates of AA and BB and the ratio itself. This single idea, the section formula, quietly powers three different-looking questions: dividing a segment in a given ratio, finding the plain midpoint (the special case where the ratio is 1:11:1), and locating the centroid of a triangle, the point where its three medians balance. This article builds the section formula from a ratio argument, applies it to a numeric example, extends it to midpoints and centroids, and flags the sign and ordering mistakes that lose the most marks in ICSE Class 10 coordinate geometry.

The core insight

A point dividing segment ABAB internally in ratio m1:m2m_1:m_2 has coordinates found by weighting BB's coordinates by m1m_1 and AA's by m2m_2 and dividing by m1+m2m_1+m_2; setting m1=m2m_1=m_2 gives the midpoint, and averaging three vertices gives a triangle's centroid.

The core idea

Coordinate geometry turns a purely visual idea — "a point one-third of the way from AA to BB" — into arithmetic on coordinates. Three related results sit under one roof here.

Section formula (internal division). If P(x,y)P(x,y) divides the segment joining A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2) internally in the ratio m1:m2m_1:m_2, starting the count from AA, then

P(x,y)=(m1x2+m2x1m1+m2, m1y2+m2y1m1+m2)P(x,y) = \left(\dfrac{m_1x_2 + m_2x_1}{m_1+m_2},\ \dfrac{m_1y_2+m_2y_1}{m_1+m_2}\right)

where: m1:m2m_1:m_2 is the ratio AP:PBAP:PB, (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) are the coordinates of AA and BB, and PP is the dividing point. Only internal division (the point lying between AA and BB) is in the ICSE Class 10 syllabus.

Midpoint formula. Setting m1=m2m_1=m_2 (ratio 1:11:1) collapses the section formula to a simple average:

M(x,y)=(x1+x22, y1+y22)M(x,y) = \left(\dfrac{x_1+x_2}{2},\ \dfrac{y_1+y_2}{2}\right)

where: MM is the midpoint of ABAB, exactly halfway between the two endpoints in both coordinates.

Centroid of a triangle. The centroid GG of a triangle with vertices A(x1,y1)A(x_1,y_1), B(x2,y2)B(x_2,y_2), C(x3,y3)C(x_3,y_3) is where its three medians meet, and it is simply the average of all three vertices:

G(x,y)=(x1+x2+x33, y1+y2+y33)G(x,y) = \left(\dfrac{x_1+x_2+x_3}{3},\ \dfrac{y_1+y_2+y_3}{3}\right)

where: x1,x2,x3x_1,x_2,x_3 and y1,y2,y3y_1,y_2,y_3 are the coordinates of the three vertices, and dividing by 33 (not 22) reflects that three points, not two, are being averaged. All three results share one underlying idea: coordinates of a "balance point" — whether balanced between two points in a given ratio, exactly between two points, or across three vertices — are found by weighting each contributing point's coordinates and dividing by the total weight. The section formula is the general case; the midpoint and centroid formulas are its two most common specialisations in the Class 10 syllabus. The figure below shows how the "weight" behind each ratio number pulls the dividing point toward the heavier end.

Figure
A line segment from point A to point B with a dividing point P closer to B, labelled with weights m1 near A and m2 near B, showing the section formula pulls P toward the larger weight
Section formula — P divides AB in the ratio m1 to m2 A (x1, y1) B (x2, y2) P (x, y) m1 (weight from A side) m2 Larger m1 pulls P closer to B, since P has moved further along AB from A

Section formula from a ratio

The goal of this derivation is to obtain the xx-coordinate formula for PP purely from the meaning of "PP divides ABAB in the ratio m1:m2m_1:m_2," using similar triangles, so that the "cross" pattern in the formula (why m1m_1 multiplies x2x_2 and not x1x_1) becomes a fact you can rebuild rather than memorise.

Step 1. Set up the ratio as a length statement. PP divides ABAB internally in the ratio m1:m2m_1:m_2 means APPB=m1m2\dfrac{AP}{PB} = \dfrac{m_1}{m_2}, so APAP and PBPB are proportional to m1m_1 and m2m_2 respectively, with AA, PP, BB collinear and PP strictly between AA and BB.

Step 2. Drop perpendiculars from AA, PP, BB to the xx-axis, landing at x1x_1, xx, x2x_2. Because AA, PP, BB are collinear, the horizontal gaps split in the same ratio as the segment itself: x−x1x2−x=APPB=m1m2\dfrac{x-x_1}{x_2-x} = \dfrac{AP}{PB} = \dfrac{m_1}{m_2}, by similar triangles formed with the perpendiculars.

Step 3. Cross-multiply and solve for xx. m2(x−x1)=m1(x2−x)m_2(x-x_1) = m_1(x_2-x), so m2x−m2x1=m1x2−m1xm_2x - m_2x_1 = m_1x_2 - m_1x, giving x(m1+m2)=m1x2+m2x1x(m_1+m_2) = m_1x_2+m_2x_1, hence x=m1x2+m2x1m1+m2x = \dfrac{m_1x_2+m_2x_1}{m_1+m_2}.

Step 4. The identical argument on the yy-axis gives y=m1y2+m2y1m1+m2y = \dfrac{m_1y_2+m_2y_1}{m_1+m_2}, and pairing the two gives the section formula stated above. Notice the "cross" structure falls out naturally: m1m_1 (associated with the far point in the ratio's second slot, since AP:PBAP:PB puts m1m_1 first) ends up multiplying x2x_2, and m2m_2 multiplies x1x_1 — this is why swapping them is the single most common slip.

Worked example

Question: Find the point dividing A(2,−3)A(2,-3) and B(−4,6)B(-4,6) internally in the ratio 2:12:1, and then find the midpoint of ABAB for comparison.

Step 1. Identify the values: x1=2,y1=−3x_1=2, y_1=-3 (point AA), x2=−4,y2=6x_2=-4, y_2=6 (point BB), m1:m2=2:1m_1:m_2 = 2:1.

Step 2. Apply the section formula for xx: x=m1x2+m2x1m1+m2=2(−4)+1(2)2+1=−8+23=−63=−2x = \dfrac{m_1x_2+m_2x_1}{m_1+m_2} = \dfrac{2(-4)+1(2)}{2+1} = \dfrac{-8+2}{3} = \dfrac{-6}{3} = -2.

Step 3. Apply the section formula for yy: y=m1y2+m2y1m1+m2=2(6)+1(−3)2+1=12−33=93=3y = \dfrac{m_1y_2+m_2y_1}{m_1+m_2} = \dfrac{2(6)+1(-3)}{2+1} = \dfrac{12-3}{3} = \dfrac{9}{3} = 3. So P=(−2,3)P = (-2,3).

Step 4. For comparison, the plain midpoint of ABAB is M=(2+(−4)2, −3+62)=(−22,32)=(−1, 1.5)M = \left(\dfrac{2+(-4)}{2},\ \dfrac{-3+6}{2}\right) = \left(\dfrac{-2}{2},\dfrac{3}{2}\right) = (-1,\ 1.5), a different point from PP because the ratio 2:12:1 is not 1:11:1. The point dividing ABAB in ratio 2:12:1 is (−2,3)(-2, 3); the midpoint of ABAB is (−1,1.5)(-1, 1.5).

Competitive stretch

For the triangle A(4,−2)A(4,-2), B(−1,5)B(-1,5), C(3,0)C(3,0), the centroid is G=(4−1+33,−2+5+03)=(63,33)=(2,1)G = \left(\dfrac{4-1+3}{3},\dfrac{-2+5+0}{3}\right) = \left(\dfrac{6}{3},\dfrac{3}{3}\right) = (2,1), and the midpoint of side BCBC is (−1+32,5+02)=(1, 2.5)\left(\dfrac{-1+3}{2},\dfrac{5+0}{2}\right) = (1,\ 2.5). As a cross-check, GG must lie on the median from AA to this midpoint, dividing it in ratio 2:12:1 from AA — a fast way to verify a centroid answer: apply the section formula to A(4,−2)A(4,-2) and the midpoint (1,2.5)(1,2.5) with ratio 2:12:1, and it should reproduce G=(2,1)G=(2,1) exactly, confirming both calculations independently. Both the midpoint and the centroid follow the same underlying averaging idea: the midpoint averages two coordinates and divides by 22, while the centroid averages three coordinates and divides by 33 — one contribution for each point being averaged. Keeping this pattern in mind is often faster than re-deriving either formula from scratch mid-exam.

Common traps

  • Swapping which ratio number multiplies which point's coordinates — m1m_1 (from AA's side of the ratio) pairs with BB's coordinates, and m2m_2 pairs with AA's coordinates, the "cross" rule.
  • Using an external-division formula (with a minus sign) when the question means internal division — only internal division is on the Class 10 syllabus.
  • Dividing by 22 out of habit when finding a centroid — a centroid needs division by 33, one for each vertex.
  • Picking the wrong pair of vertices when a question names a specific side (like "midpoint of BCBC") in a triangle with several labelled points.
  • Reading the ratio in the wrong direction — m1:m2m_1:m_2 is AP:PBAP:PB, starting from the point named first in the question, so "divides BABA" reverses which point plays the role of AA and which plays BB in the formula.
  • Forgetting that PP must lie strictly between AA and BB for internal division — a computed point that falls outside the segment on a quick sketch is a sign of a sign or ratio-order error, not a valid answer.

Ask the tutor: want to practise a section-formula question with a trickier ratio, or see how the centroid connects to the medians step by step?

Why does m1 multiply x2 and not x1 — I keep getting this backwards?

Think of it as "weights pull toward the far point." If m1:m2m_1:m_2 is large (say 5:15:1), the point PP sits very close to BB, almost at BB's coordinates — so the large weight m1m_1 must attach to x2x_2 (B's coordinate) for the formula to give an answer near x2x_2 when m1m_1 dominates. Check with m1=1,m2=0m_1=1, m_2=0: the formula gives exactly x2x_2, which matches PP landing on BB. That sanity check works every time you forget the rule.

Is the midpoint formula really just a special case, or a separate thing to memorise?

It is genuinely just the section formula with m1=m2m_1=m_2. Substitute m1=m2=1m_1=m_2=1 into m1x2+m2x1m1+m2\dfrac{m_1x_2+m_2x_1}{m_1+m_2} and you get x2+x12\dfrac{x_2+x_1}{2}, the familiar average. You do not need to memorise it separately — if you know the section formula cold, the midpoint formula falls out for free whenever the ratio is 1:11:1.

Why divide by 3 for a centroid instead of using the section formula twice?

Both routes work, but averaging all three vertices directly is faster. The centroid lies on each median, dividing it 2:12:1 from the vertex, so you could also find one midpoint and apply the section formula with ratio 2:12:1 — you would get the same answer. But since a centroid is defined as the balance point of three vertices, the direct average (x1+x2+x33,y1+y2+y33)\left(\dfrac{x_1+x_2+x_3}{3},\dfrac{y_1+y_2+y_3}{3}\right) is the standard shortcut and worth memorising as its own formula.

Before this

Where this leads