Math Lab
Home/Class X/Ch 7/The section formula and midpoint

The section formula and midpoint

If PP and QQ are two points and we want to find the point that divides PQPQ in a given ratio, the section formula does the job in one shot.

Statement

Let P=(x1,y1)P = (x_1, y_1) and Q=(x2,y2)Q = (x_2, y_2), and let RR be a point on segment PQPQ such that PR:RQ=m:nPR : RQ = m : n. Then R=(mx2+nx1m+n,my2+ny1m+n).\boxed{R = \left(\frac{m x_2 + n x_1}{m + n}, \frac{m y_2 + n y_1}{m + n}\right).}

Special case: if RR is the midpoint (m:n=1:1m : n = 1 : 1), R=(x1+x22,y1+y22).R = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right).

Derivation

Draw the segment from PP to QQ. By similar triangles (drop perpendiculars to the xx- and yy-axes), the xx-coordinate of RR satisfies Rxx1x2Rx=PRRQ=mn.\frac{R_x - x_1}{x_2 - R_x} = \frac{PR}{RQ} = \frac{m}{n}. Solving: n(Rxx1)=m(x2Rx)Rx(m+n)=mx2+nx1Rx=mx2+nx1m+nn (R_x - x_1) = m (x_2 - R_x) \Rightarrow R_x (m + n) = m x_2 + n x_1 \Rightarrow R_x = \dfrac{m x_2 + n x_1}{m + n}.

A parallel argument with yy-coordinates gives the second component. \blacksquare

When to use

  • Trisection points of a segment: PR:RQ=1:2PR : RQ = 1 : 2 for the first trisector, 2:12 : 1 for the second.
  • Midpoint of any segment.
  • Centroid of a triangle: average of the three vertices: (x1+x2+x33,y1+y2+y33)\left(\dfrac{x_1 + x_2 + x_3}{3}, \dfrac{y_1 + y_2 + y_3}{3}\right).
  • A point dividing a segment in a known ratio (often given in problems).

A useful inverse: if you know P,Q,P, Q, and RR (on segment PQPQ), you can compute the ratio PR:RQPR : RQ from coordinates. Just rearrange.

Worked examples

Example 1. Find the midpoint of A=(2,7)A = (2, 7) and B=(4,5)B = (-4, 5).

Midpoint =(242,7+52)=(1,6)= \left(\dfrac{2 - 4}{2}, \dfrac{7 + 5}{2}\right) = (-1, 6).

Example 2. Find the point dividing the segment from A=(1,2)A = (1, 2) to B=(6,7)B = (6, 7) in the ratio 2:32 : 3.

R=(26+312+3,27+322+3)=(155,205)=(3,4)R = \left(\dfrac{2 \cdot 6 + 3 \cdot 1}{2 + 3}, \dfrac{2 \cdot 7 + 3 \cdot 2}{2 + 3}\right) = \left(\dfrac{15}{5}, \dfrac{20}{5}\right) = (3, 4).

Example 3. Find the trisection points of the segment from A=(4,1)A = (4, -1) to B=(2,3)B = (-2, -3).

Trisection points divide the segment in ratios 1:21 : 2 and 2:12 : 1.

P=(1(2)+243,1(3)+2(1)3)=(63,53)=(2,5/3)P = \left(\dfrac{1 \cdot (-2) + 2 \cdot 4}{3}, \dfrac{1 \cdot (-3) + 2 \cdot (-1)}{3}\right) = \left(\dfrac{6}{3}, \dfrac{-5}{3}\right) = (2, -5/3).

Q=(2(2)+143,2(3)+1(1)3)=(03,73)=(0,7/3)Q = \left(\dfrac{2 \cdot (-2) + 1 \cdot 4}{3}, \dfrac{2 \cdot (-3) + 1 \cdot (-1)}{3}\right) = \left(\dfrac{0}{3}, \dfrac{-7}{3}\right) = (0, -7/3).

Example 4. Find the ratio in which the xx-axis divides the segment from A=(2,3)A = (-2, 3) to B=(5,4)B = (5, -4).

A point on the xx-axis has y=0y = 0. Suppose it divides ABAB in ratio m:1m : 1 (call it k:1k : 1). The yy-coordinate of the divider is k(4)+13k+1=04k+3=0k=3/4.\frac{k \cdot (-4) + 1 \cdot 3}{k + 1} = 0 \Rightarrow -4 k + 3 = 0 \Rightarrow k = 3/4. So the ratio is 3:43 : 4.

Example 5. Find the centroid of the triangle with vertices (2,3),(1,4),(5,1)(2, 3), (-1, 4), (5, -1).

Centroid =(21+53,3+413)=(2,2)= \left(\dfrac{2 - 1 + 5}{3}, \dfrac{3 + 4 - 1}{3}\right) = (2, 2).

Try it yourself

  1. Midpoint of (3,7)(3, -7) and (1,5)(-1, 5).
  2. Point dividing A=(3,5)A = (-3, 5) to B=(4,2)B = (4, -2) in ratio 2:32 : 3.
  3. Find both trisection points of segment from (1,2)(1, -2) to (4,1)(4, 1).
  4. Find the ratio in which the yy-axis divides the segment from (3,5)(-3, 5) to (4,2)(4, -2).
  5. Find the centroid of the triangle with vertices (3,5),(7,4),(10,2)(3, -5), (-7, 4), (10, -2).
  6. The midpoint of ABAB is (2,3)(2, -3); if A=(5,1)A = (5, 1), find BB.
  7. Find kk if (k,4)(k, 4) is the midpoint of (2,5)(2, 5) and (8,k1)(8, k - 1).
  8. Find the coordinates of the point that divides the segment from (3,0)(3, 0) to (5,8)(-5, 8) externally in ratio 3:53 : 5. (For external division use mx2nx1/(mn)m x_2 - n x_1 / (m - n).)
  9. If (a,b)(a, b) is the midpoint of (2a,3b)(2a, 3b) and (c,d)(c, d), find c,dc, d in terms of a,ba, b.
  10. In what ratio is the segment joining (2,3)(2, -3) and (5,6)(5, 6) divided by the xx-axis?

Pitfalls / Insight

  • The ratio m:nm : n corresponds to mx2+nx1m x_2 + n x_1, not mx1+nx2m x_1 + n x_2. The number in the numerator near x2x_2 is the near-QQ part of the ratio.
  • For the midpoint formula, just take the average. No fractions to mix up.
  • Negative coordinates can confuse signs. Compute carefully.

Insight. The section formula is a weighted average of two points. Bigger weight on QQ pulls the result closer to QQ. Internalise it and you'll spot ratios in many geometry problems.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Section formula
6 questions · pick the best answer
Q1

Section formula for RR dividing PQPQ in m:nm:n:

Q2

Midpoint of (3,5)(-3, 5) and (4,2)(4, -2):

Q3

Centroid of triangle with vertices (3,5),(7,4),(10,2)(3,-5), (-7,4), (10,-2):

Q4

Mid-point of AA and (5,1)(5, 1) is (2,3)(2, -3). A=A = :

Q5

First trisection point of (4,1)(4, -1) to (2,3)(-2, -3):

Q6

xx-axis divides (2,3)(-2, 3) to (5,4)(5, -4) in ratio: