Arithly

← All maths topics

Section formula: dividing a segment in a ratio

The section formula gives the coordinates of a point P that splits the segment joining (x₁, y₁) to (x₂, y₂) internally in the ratio m : n. The formula is P = ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n)) — one coordinate at a time.

Notice the cross-over: the weight m multiplies the SECOND point and n multiplies the FIRST. That is because the dividing point sits closer to the end with the larger weight — if m is large, P is near the second point, so that point's coordinates dominate. The midpoint is the special case m = n = 1, where the formula reduces to the average of the two points.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example

Find the coordinates of the point which divides the join of (-1, 7) and (4, -3) in the ratio 2:3 internally

  1. Section formula (internal division in the ratio m : n): P = ((m·x₂ + n·x₁)/(m + n), (m·y₂ + n·y₁)/(m + n)). Here m = 2 and n = 3.
  2. x-coordinate: (2 × 4 + 3 × (-1)) ÷ (2 + 3) = (8 + (-3)) ÷ 5 = 5 ÷ 5 = 1.
  3. y-coordinate: (2 × (-3) + 3 × 7) ÷ (2 + 3) = (-6 + 21) ÷ 5 = 15 ÷ 5 = 3.
  4. The point is (1, 3).

Answer: (1, 3)

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

More topics: all maths topics · Next topic: GST and sales tax

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.