Section Formula: Point Dividing a Segment in a Given Ratio

Find the point that divides a segment in ratio m:n, internally or externally, with the section formula. The midpoint as the 1:1 case, plus worked examples.

Find a Point a Fraction of the Way Along a Segment

You have two points on a coordinate plane and you need to locate a third point that lies a specific fraction of the distance along the line connecting them. The section formula is the calculation that solves this: it finds the coordinates of a point that divides a directed line segment in a given ratio. For a ratio m:n from point A to point B, the internal division formula is P = ((n*x₁ + m*x₂)/(m+n), (n*y₁ + m*y₂)/(m+n)). This works for any ratio, including fractional ones.

Internal Division Formula

The internal division formula is the standard method for partitioning a line segment when the point lies between the two endpoints. Given two points A(x₁, y₁) and B(x₂, y₂), a point P that divides AB in the ratio m:n (meaning AP:PB = m:n) uses these coordinates:

P = ((nx₁ + mx₂)/(m+n), (ny₁ + my₂)/(m+n)).

Memorise the pattern: the coordinate of the starting point gets multiplied by the second ratio number, and the ending point gets multiplied by the first ratio number. A ratio of 2:1 from A to B means AP is twice PB, so P is two-thirds of the way from A to B. The formula works for 3D coordinates by extending the same pattern to the z-coordinate.

Common error: reversing the ratio numbers. If the problem says "in the ratio 2:1 from A to B", the m value connected to B is 2, and the n value connected to A is 1. Plug them into the formula in that order or the point lands on the wrong side of the midpoint.

External Division

External division finds a point on the line extended beyond one of the endpoints. The point still lies on the line through A and B, but not between them. The formula changes sign:

P = ((mx₂ - nx₁)/(m - n), (my₂ - ny₁)/(m - n)).

Use this when a problem says "externally in the ratio m:n". The denominator is (m - n). If m and n are equal, the denominator is zero, external division is undefined for a 1:1 ratio because you cannot divide a segment externally into equal parts. That case collapses back to the midpoint on the segment itself.

Midpoint As The 1:1 Case

The midpoint is the simplest application of the section formula: it is the internal division in a 1:1 ratio. When m = n = 1, the internal division formula reduces to:

P = ((x₁ + x₂)/2, (y₁ + y₂)/2).

This is the arithmetic mean of the coordinates. The midpoint is the only point that divides a segment into two equal parts. It is also the point where the perpendicular bisector of the segment passes through.

Do not confuse the midpoint with the centroid. The centroid is the average of three or more points, used for polygons and triangles. The midpoint exists only for a segment defined by exactly two endpoints.

‘Fraction Of The Way’ Method

Many problems state the division point as a fraction rather than a ratio: "Find the point that is 2/3 of the way from A to B." Convert the fraction to a ratio. The fraction of the way from the first endpoint to the second becomes the numerator over the denominator. Two-thirds of the way from A to B means the point is 2/3 along the segment, leaving 1/3 remaining. Write the ratio as AP:PB = 2:1. Then apply the internal division formula with m = 2, n = 1.

This works for any fraction t where 0 < t < 1: the ratio from A to the point is t : (1-t). For a point 0.4 of the way from A to B, the ratio is 0.4:0.6, or 2:3 after multiplying by 5.

Ratio Division Formula Comparison 2D
CaseFormulaExample Ratio
Internal divisionP = ((nx₁ + mx₂)/(m+n), (ny₁ + my₂)/(m+n))m:n = 2:1
External divisionP = ((mx₂ - nx₁)/(m - n), (my₂ - ny₁)/(m - n))m:n = 3:1
Midpoint (1:1)P = ((x₁ + x₂)/2, (y₁ + y₂)/2)m:n = 1:1
Fraction t from AP = ((1-t)x₁ + tx₂, (1-t)y₁ + ty₂)t = 0.4

Worked Examples

Example 1: Internal Division 3:2

Find the point P that divides the segment from A(1, 2) to B(7, 8) internally in the ratio 3:2 from A to B. Here m = 3 (connected to B) and n = 2 (connected to A).

x-coordinate: (2*1 + 3*7) / (3+2) = (2 + 21)/5 = 23/5 = 4.6.

y-coordinate: (2*2 + 3*8) / 5 = (4 + 24)/5 = 28/5 = 5.6.

P = (4.6, 5.6). Check: the distance from A to P is 3/5 of the total segment length, and from P to B is 2/5.

Example 2: Fraction Of The Way

A point is located 0.75 of the way from A(3, -2) to B(11, 6). Convert 0.75 to the ratio 3:4. Since 0.75 = 3/4, the ratio from A to the point is 3:1 (AP:PB = 3:1). Apply internal division with m = 3, n = 1.

x: (1*3 + 3*11)/(3+1) = (3 + 33)/4 = 36/4 = 9.

y: (1*(-2) + 3*6)/4 = (-2 + 18)/4 = 16/4 = 4.

The point is (9, 4). It is three-quarters of the way from A to B.

Example 3: External Division 5:2

Divide the segment from A(0, 0) to B(10, 10) externally in the ratio 5:2. Use the external division formula with m = 5, n = 2.

x: (5*10 - 2*0)/(5 - 2) = (50 - 0)/3 = 50/3 ≈ 16.67.

y: (5*10 - 2*0)/3 = 50/3 ≈ 16.67.

The point is (16.67, 16.67), which lies beyond B on the extended line.

What Goes Wrong Most Often

The single most frequent failure with the section formula is swapping the ratio numbers. A student reads "divide in the ratio 2:1 from A to B" and writes the formula with m=1, n=2. The calculated point lands closer to A instead of closer to B. Check the direction of the directed line segment before you substitute: the number paired with B goes in the m position, and the number paired with A goes in the n position. Verify by checking that the point lies the correct fraction of the way from A to B.

Common Questions

What is the difference between internal and external division?

Internal division places the point between the two endpoints. External division places it on the line beyond one endpoint. The formulas differ by a minus sign in the numerator and denominator.

Can the section formula handle negative coordinates?

Yes. Plug negative coordinates into the formula exactly as given. The arithmetic follows integer rules: subtracting a negative becomes addition.

What happens if the ratio is written backwards?

The point lands on the wrong side of the midpoint. Always identify which endpoint the ratio number refers to before substituting into the formula.

How does the section formula relate to the midpoint formula?

The midpoint is the section formula with a 1:1 ratio. It is the arithmetic mean of the coordinates. Any other ratio produces a different division point.