Subject: Class 10 Mathematics Chapter: Coordinate Geometry Topic: 7.2 Section Formula – Divide line segments using formula correctly
In many practical situations we do not want to know merely how long a segment is, but exactly where a point lies on it. A surveyor may need to place a pillar that divides a road in the ratio 2:3. A map maker may need to mark a point that divides a route in the ratio 1:4. These are examples of dividing a line segment in a given ratio, and the tool that solves them is the section formula. This topic asks the student to find the coordinates of a point P that divides the segment joining A and B in a stated ratio, either internally or externally. The section formula is one of the most heavily tested results in the board examination because it connects coordinates, ratios and geometry in a single short calculation.
A point P divides the segment AB internally when it lies between A and B. Suppose P divides AB in the ratio m₁:m₂, meaning that the length AP compared with the length PB is m₁:m₂. Then AP/PB = m₁/m₂. The phrase "internally" tells us that P is a point strictly inside the segment, so the two parts AP and PB are both positive lengths that add up to the full length AB. The section formula gives the coordinates of this internal dividing point directly from the coordinates of A and B and the two numbers m₁ and m₂. It is derived by drawing parallels to the axes and applying the basic proportionality theorem, which is exactly the same reasoning used in triangles.
Let A(x₁, y₁) and B(x₂, y₂) be the endpoints of a segment, and let P(x, y) divide AB internally in the ratio m₁:m₂, so that AP : PB = m₁ : m₂. Then the coordinates of P are
x = (m₁x₂ + m₂x₁) / (m₁ + m₂), y = (m₁y₂ + m₂y₁) / (m₁ + m₂)
Notice the careful matching of the numbers: m₁ multiplies the coordinates of B, and m₂ multiplies the coordinates of A, while the denominator is the sum m₁ + m₂. The larger part of the ratio is nearer to the point it multiplies. If m₁ > m₂, then AP is the longer part, and P lies closer to B, which is exactly what the formula produces, because B's coordinates carry the larger weight m₁.
Divide the segment joining A(2, 1) and B(6, 5) internally in the ratio 3:1. Here m₁ = 3, m₂ = 1, and the point P divides AB with AP : PB = 3 : 1. Using the formula, x = (3 × 6 + 1 × 2)/(3 + 1) = (18 + 2)/4 = 5, and y = (3 × 5 + 1 × 1)/(3 + 1) = (15 + 1)/4 = 4. So P = (5, 4). Since P is four-fifths of the way from A to B, it is much closer to B, and indeed the coordinates (5, 4) are very close to B(6, 5). This is a simple check that the answer is sensible.
The most important special case of the section formula is the midpoint, obtained when the ratio is 1:1, so that m₁ = m₂ = 1. Substituting gives x = (x₂ + x₁)/2 and y = (y₂ + y₁)/2. The midpoint formula will be studied separately in the next topic, but it is useful to recognise that it is simply the section formula with equal parts. Whenever an examination question gives a ratio such as 1:1, 2:2 or k:k, we are actually being asked for a midpoint, and the calculation can be simplified at once.
Sometimes P divides AB externally, meaning that P lies on the line AB but outside the segment, on the side of A or on the side of B. For external division in the ratio m₁:m₂, the coordinates are
x = (m₁x₂ − m₂x₁) / (m₁ − m₂), y = (m₁y₂ − m₂y₁) / (m₁ − m₂)
The external formula is obtained from the internal formula by replacing m₂ with −m₂. A convenient memory aid is: external division has a minus sign in both the numerator and the denominator. In the Class 10 syllabus, external division is often mentioned as an extension, and a few examination papers have tested it directly, so it is wise to learn both forms.
The section formula can also be used in reverse. If we are given the endpoints A and B and the coordinates of the dividing point P, we can find the ratio in which P divides AB. The method is to assume AP : PB = m₁ : m₂ and then equate the given coordinates to the section formula expressions. Cross-multiplying produces two linear equations in m₁ and m₂, and solving either of them gives the ratio. A favourite examination form asks for the ratio in which the x-axis or the y-axis divides the segment joining two given points, which is found by setting the appropriate coordinate equal to zero.
| Endpoint A | Endpoint B | Ratio AP:PB | x-coordinate | y-coordinate | Point P |
|---|---|---|---|---|---|
| (2, 1) | (6, 5) | 3:1 | (18+2)/4 = 5 | (15+1)/4 = 4 | (5, 4) |
| (0, 0) | (4, 6) | 1:1 | 2 | 3 | (2, 3) |
| (1, 2) | (5, 6) | 1:3 | (5+3)/4 = 2 | (6+6)/4 = 3 | (2, 3) |
| (−2, 4) | (4, 10) | 1:2 | (−4+8)/3 = 4/3 | (−4+20)/3 = 16/3 | (4/3, 16/3) |
| (2, −1) | (8, 11) | 2:1 | (16+2)/3 = 6 | (22−1)/3 = 7 | (6, 7) |
| Feature | Internal division | External division |
|---|---|---|
| Position of P | Between A and B | Outside the segment |
| Formula numerator | m₁x₂ + m₂x₁ | m₁x₂ − m₂x₁ |
| Denominator | m₁ + m₂ | m₁ − m₂ |
| Sign used | Plus sign | Minus sign |
| Special case | m₁ = m₂ gives midpoint | m₁ = m₂ impossible (point at infinity) |
| Example check | AP + PB = AB | AP and PB difference is AB |
flowchart TD
A[Read points A and B and the ratio m1 : m2] --> B{Where does P lie?}
B -- Between A and B --> C[Internal division]
B -- Outside the segment --> D[External division]
C --> E[x = (m1 x2 + m2 x1)/(m1 + m2)]
D --> F[x = (m1 x2 - m2 x1)/(m1 - m2)]
E --> G[Compute y in the same way]
F --> G
G --> H{Is the ratio 1:1?}
H -- Yes --> I[Use midpoint shortcut]
H -- No --> J[Write final point P(x, y)]
I --> J
J --> K[Verify by distance check AP : PB]
flowchart LR
S[Given A, B and the point P] --> T[Assume AP : PB = m1 : m2]
T --> U[Equate x-coordinate to formula]
U --> V[Equate y-coordinate to formula]
V --> W{Solve either linear equation}
W --> X[Obtain ratio m1 : m2]
X --> Y{Axis involved?}
Y -- x-axis --> Z[Set y = 0 and solve]
Y -- y-axis --> Z2[Set x = 0 and solve]
Y -- No --> W
The diagram below shows the segment AB with A(2, 1) and B(6, 5). The point P(5, 4) divides the segment internally in the ratio 3:1, so the part AP is three times as long as the part PB, and P sits close to B.
<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<rect width="800" height="600" fill="#fdfcf9"/>
<g stroke="#334155" stroke-width="2">
<line x1="80" y1="460" x2="760" y2="460"/>
<line x1="400" y1="40" x2="400" y2="560"/>
</g>
<line x1="240" y1="460" x2="600" y2="220" stroke="#dc2626" stroke-width="5"/>
<g stroke="#16a34a" stroke-width="3" stroke-dasharray="6 4">
<line x1="240" y1="460" x2="500" y2="280"/>
</g>
<g fill="#dc2626" font-family="Arial" font-size="20">
<circle cx="240" cy="460" r="8"/>
<circle cx="500" cy="280" r="8"/>
<circle cx="600" cy="220" r="8"/>
<text x="180" y="490">A(2, 1)</text>
<text x="508" y="272">P(5, 4)</text>
<text x="612" y="216">B(6, 5)</text>
</g>
<g fill="#2563eb" font-family="Arial" font-size="20">
<text x="330" y="400" fill="#16a34a">AP : PB = 3 : 1</text>
<text x="330" y="560" fill="#475569">P is three quarters of the way from A to B</text>
</g>
</svg>
This diagram shows the same endpoints A(2, 1) and B(6, 5), but now the point Q is placed beyond B, outside the segment, showing the idea of external division in the ratio 2:1 where the minus sign in the formula appears.
<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<rect width="800" height="600" fill="#fdfcf9"/>
<g stroke="#334155" stroke-width="2">
<line x1="80" y1="460" x2="760" y2="460"/>
<line x1="400" y1="40" x2="400" y2="560"/>
</g>
<line x1="200" y1="500" x2="680" y2="160" stroke="#dc2626" stroke-width="5"/>
<g fill="#dc2626" font-family="Arial" font-size="20">
<circle cx="200" cy="500" r="8"/>
<circle cx="500" cy="300" r="8"/>
<circle cx="680" cy="160" r="8"/>
<text x="130" y="534">A(2, 1)</text>
<text x="510" y="292">B(6, 5)</text>
<text x="690" y="152">Q outside</text>
</g>
<g fill="#2563eb" font-family="Arial" font-size="20">
<text x="220" y="560" fill="#475569">External division: Q lies on the extension of AB beyond B</text>
<text x="220" y="80" fill="#dc2626">AQ : BQ ratio with BQ smaller than AQ</text>
</g>
</svg>
The section formula is intimately connected with the rest of the chapter. The midpoint formula is its special case with equal weights, and the centroid of a triangle, which divides each median in the ratio 2:1, is nothing but the section formula applied three times. When a triangle is drawn on a coordinate plane, its centroid, its medians and the point where a median is cut can all be handled with this single formula. In addition, the section formula helps us prove that the diagonals of a parallelogram bisect each other, because each diagonal is divided by the other in the ratio 1:1 at their common midpoint.
To become accurate with the section formula, first practise straightforward internal division with whole-number ratios until the substitution is automatic. Then move to fractional and negative coordinates, being careful with signs when substituting into the numerator. Next, practise the reverse direction: given the dividing point, find the ratio. Finally, attempt axis problems, such as finding the ratio in which the y-axis divides the segment joining two given points, by substituting x = 0. Cross-check every answer by computing AP and PB with the distance formula and confirming that AP/PB equals the given ratio.
The section formula x = (m₁x₂ + m₂x₁)/(m₁ + m₂), y = (m₁y₂ + m₂y₁)/(m₁ + m₂) is a direct and reliable tool for dividing a line segment internally in a given ratio, with a minus-sign variant for external division. In the Class 10 board examination, it appears as a short three-mark question and as a component of longer questions on medians, centroids and axis divisions. The most common marks are lost by confusing which of m₁ and m₂ multiplies which endpoint, so fix the rule firmly: the coefficient of B is the first number of the ratio. Practise internal and external division, recognise the midpoint as the 1:1 case, and use the distance formula to verify every answer. Done correctly every time, the section formula is a reliable source of easy marks.