Internal Division in Coordinate Geometry

#Internal Division in Coordinate Geometry
TL;DR
Internal division in coordinate geometry finds the point PP on segment ABAB with AP:PB=m:nAP : PB = m : n. Its coordinates are (mx2+nx1m+n,my2+ny1m+n)\left(\frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}\right): the far endpoint carries the weight mm.
Prabhjot Kaur·reviewed byMadhukar VLast updated on December 2, 202612 min read

Key Points

  • PP divides ABAB internally in m:nm : n when PP lies on the segment and AP:PB=m:nAP : PB = m : n.
  • Formula: P=(mx2+nx1m+n,my2+ny1m+n)P = \left(\frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}\right), with A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2).
  • mm multiplies BB's coordinates, not AA's. A balance explains why.
  • PP is mm+n\frac{m}{m + n} of the way from AA to BB; the midpoint is the 1:11 : 1 case.

Why Does a Point Between Two Coordinates Matter So Much?

A delivery drone one-third of the way along its route is solving this very problem. So is a hiker placing a rest stop a third of the way from A(−4,−2)A(-4, -2) to B(2,4)B(2, 4).

  • Averaging the endpoints gives the middle, (−1,1)(-1, 1): the wrong place.
  • You need the point splitting the trail 1:21 : 2, and coordinate geometry gives it exactly: (−2,0)(-2, 0).
internal division in coordinate geometry: P divides AB in the ratio 1 to 2
The segment from A(−4, −2) to B(2, 4) cut into three equal parts by tick marks, with P(−2, 0) after the first part: AP is 1 part (orange) and PB is 2 parts (blue).

Finding that point is called internal division. One formula gives the midpoint, the trisection points and a triangle's centroid.

What Is Internal Division in Coordinate Geometry?

A point PP divides the segment from A(x1,y1)A(x_1, y_1) to B(x2,y2)B(x_2, y_2) internally in the ratio m:nm : n when PP lies between AA and BB and AP:PB=m:nAP : PB = m : n.

  • The ratio is read from AA: mm is the part next to AA, nn the part next to BB.
  • "ABAB in 1:21 : 2" puts PP nearer AA; "BABA in 1:21 : 2" puts it nearer BB.
  • It is one half of the section formula; external division handles points beyond AA or BB.

What Is the Formula for Internal Division?

For A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), the point dividing ABAB internally in the ratio m:nm : n is

P=(mx2+nx1m+n, my2+ny1m+n)P = \left(\frac{mx_2 + nx_1}{m + n},\ \frac{my_2 + ny_1}{m + n}\right)
Symbol Meaning
A(x1,y1)A(x_1, y_1) the starting endpoint
B(x2,y2)B(x_2, y_2) the other endpoint
mm the part next to AA; it multiplies BB's coordinates
nn the part next to BB; it multiplies AA's coordinates
P(x,y)P(x, y) the dividing point

For A(−4,−2)A(-4, -2), B(2,4)B(2, 4) and 1:21 : 2:

x=1⋅2+2⋅(−4)3=−63=−2x = \frac{1 \cdot 2 + 2 \cdot (-4)}{3} = \frac{-6}{3} = -2
y=1⋅4+2⋅(−2)3=03=0y = \frac{1 \cdot 4 + 2 \cdot (-2)}{3} = \frac{0}{3} = 0

So P=(−2,0)P = (-2, 0). Pairing mm with x2x_2 looks backwards, so the next section shows why it is right.

Why the Formula Works: Three Ways to See It

Each view explains why the bigger mm is, the further PP moves towards BB.

1. Similar triangles

  • Draw the run and rise from AA to PP and from PP to BB. The two right triangles have hypotenuses on one straight line, so they are similar, and the xx-distances split m:nm : n too:
x−x1x2−x=mn\frac{x - x_1}{x_2 - x} = \frac{m}{n}
n(x−x1)=m(x2−x)n(x - x_1) = m(x_2 - x)
x=mx2+nx1m+nx = \frac{mx_2 + nx_1}{m + n}
  • In the example, xx and yy both step 2 then 4: 1:21 : 2.
similar triangles split the run and the rise in the same ratio as the segment
Two similar right triangles along the segment from A to B: the orange one from A to P with legs 2 and 2, the blue one from P to B with legs 4 and 4, showing the run and the rise both split 1 to 2.

2. A fraction of the trip

  • APAP is mm of the m+nm + n parts, so PP is mm+n\frac{m}{m + n} of the way from AA.
x=x1+mm+n(x2−x1)=mx2+nx1m+nx = x_1 + \frac{m}{m + n}(x_2 - x_1) = \frac{mx_2 + nx_1}{m + n}
  • For 1:21 : 2: the trip is 6 across and 6 up; a third is 2 and 2, giving (−2,0)(-2, 0).

3. A balance point

  • Put a weight nn at AA and a weight mm at BB. The plank balances nearer the heavier end.
  • With 2 at AA and 1 at BB, it balances at −2-2, since 2×2=4×12 \times 2 = 4 \times 1.
  • So a point close to AA needs the heavy weight nn on AA, leaving mm on x2x_2.
the section formula is a balance point, which is why m multiplies x₂
A plank along the x-axis with a large blue weight n = 2 at x₁ = −4 and a small green weight m = 1 at x₂ = 2, balanced on an orange support at x = (1·2 + 2·(−4)) ÷ 3 = −2.

How Do You Divide a Line Segment in a Given Ratio?

Follow three steps.

  1. Label. The endpoint the ratio is read from is A=(x1,y1)A = (x_1, y_1); the other is B=(x2,y2)B = (x_2, y_2).
  2. Substitute into both formulas, with negative coordinates in brackets.
  3. Check on a sketch that PP lies between AA and BB, nearer AA when mm is smaller.

Is the Midpoint Formula a Special Case of Internal Division?

Yes. When m=n=1m = n = 1, the section formula becomes the midpoint formula:

x=1⋅x2+1⋅x11+1=x1+x22x = \frac{1 \cdot x_2 + 1 \cdot x_1}{1 + 1} = \frac{x_1 + x_2}{2}
  • Equal weights balance in the middle: (−1,1)(-1, 1) for the running segment. One formula to remember, not two.

  • Set AA to (−4,−2)(-4, -2) and BB to (2,4)(2, 4): run 6, rise 6, and the purple dot is M(−1,1)M(-1, 1).

  • For 1:21 : 2, add a third of each to AA: (−2,0)(-2, 0). Then drag BB and repeat.

Try It Yourself

Use the tool:

Finding the Ratio When the Point Is Known

If the point is known, write the ratio as k:1k : 1, put it into the formula and solve for kk. Example 4 below finds where the xx-axis cuts a segment this way.

  • Shortcut: by similar triangles, the xx-axis cuts a segment in the ratio of the endpoints' distances from it.
  • A negative kk means the point is outside the segment: external division.
  • The xx and yy equations disagree when the point is not on line ABAB, a test for collinear points.

Examples of Coordinate Geometry Internal Division

Example 1

Divide A(0, 0) to B(9, 12) internally in the ratio 2 : 1.

  1. x=2⋅9+1⋅03=6x = \frac{2 \cdot 9 + 1 \cdot 0}{3} = 6.
  2. y=2⋅12+1⋅03=8y = \frac{2 \cdot 12 + 1 \cdot 0}{3} = 8.

Final answer: (6,8)(6, 8), two-thirds of the way to BB.

Example 2

Divide A(−1, 2) to B(2, −3) internally in the ratio 1 : 3.

  1. Wrong pairing: 1⋅(−1)+3⋅24=54\frac{1 \cdot (-1) + 3 \cdot 2}{4} = \frac{5}{4}, which is near BB, not AA.
  2. x=1⋅2+3⋅(−1)4=−14x = \frac{1 \cdot 2 + 3 \cdot (-1)}{4} = -\frac{1}{4}.
  3. y=1⋅(−3)+3⋅24=34y = \frac{1 \cdot (-3) + 3 \cdot 2}{4} = \frac{3}{4}.

Final answer: (−14,34)\left(-\frac{1}{4}, \frac{3}{4}\right), near AA as it should be.

Example 3

Find the two points that trisect (−5, −2) to (7, 6).

  1. Trisect means three equal parts: ratios 1:21 : 2 and 2:12 : 1.
  2. C=(7+2(−5)3,6+2(−2)3)=(−1,23)C = \left(\frac{7 + 2(-5)}{3}, \frac{6 + 2(-2)}{3}\right) = \left(-1, \frac{2}{3}\right).
  3. D=(2⋅7+(−5)3,2⋅6+(−2)3)=(3,103)D = \left(\frac{2 \cdot 7 + (-5)}{3}, \frac{2 \cdot 6 + (-2)}{3}\right) = \left(3, \frac{10}{3}\right).

Final answer: C(−1,23)C\left(-1, \frac{2}{3}\right) and D(3,103)D\left(3, \frac{10}{3}\right).

the ratios 1 to 2 and 2 to 1 give the two trisection points
The segment from (−5, −2) to (7, 6) cut into three equal coloured parts, with the trisection points C(−1, 2/3) and D(3, 10/3) marked.

Example 4

In what ratio does the x-axis divide A(3, −4) to B(−1, 2), and where?

  1. Ratio k:1k : 1. On the xx-axis, y=0y = 0: 2k−4k+1=0\frac{2k - 4}{k + 1} = 0, so k=2k = 2.
  2. x=2(−1)+33=13x = \frac{2(-1) + 3}{3} = \frac{1}{3}.
  3. Shortcut check: AA is 4 below, BB is 2 above, and 4:2=2:14 : 2 = 2 : 1.

Final answer: 2:12 : 1, at (13,0)\left(\frac{1}{3}, 0\right).

the x-axis divides AB in the ratio of the endpoints' distances from it
The segment from A(3, −4) to B(−1, 2) crossing the x-axis at (1/3, 0), with A marked 4 below the axis and B 2 above, giving the ratio 2 to 1.

Example 5

Find the centroid of A(1, 5), B(2, −3), C(6, 1) using the median from A.

  1. Midpoint of BCBC: M=(4,−1)M = (4, -1).
  2. The centroid divides the median 2:12 : 1 from the vertex: G=(2⋅4+13,2⋅(−1)+53)G = \left(\frac{2 \cdot 4 + 1}{3}, \frac{2 \cdot (-1) + 5}{3}\right).
  3. Check: (1+2+63,5−3+13)=(3,1)\left(\frac{1 + 2 + 6}{3}, \frac{5 - 3 + 1}{3}\right) = (3, 1).

Final answer: G=(3,1)G = (3, 1).

the centroid divides the median from A in the ratio 2 to 1
Triangle A(1, 5), B(2, −3), C(6, 1) with the median from A to M(4, −1), and the centroid G(3, 1) two-thirds of the way down it: 2 parts orange, 1 part green.

Where Do Students Trip Up on Internal Division?

Most errors come from pairing, direction or signs.

Mistake 1: Pairing m with its own endpoint

Where it slips in: Substituting, because mm and AA both come first.

Don't do this: Write x=mx1+nx2m+nx = \frac{mx_1 + nx_2}{m + n}, which puts PP near the wrong end.

The correct way: mm multiplies x2x_2. A small mm must leave PP close to AA.

Mistake 2: Reading the ratio in the wrong direction

Where it slips in: Problems that say "divides BABA".

Don't do this: Treat "BABA in 1:21 : 2" as "ABAB in 1:21 : 2".

The correct way: BABA in 1:21 : 2 is ABAB in 2:12 : 1. Read the ratio from the point you call (x1,y1)(x_1, y_1).

Mistake 3: Confusing internal with external division

Where it slips in: A segment that is "extended".

Don't do this: Use m+nm + n for a point outside the segment.

The correct way: Internal uses m+nm + n; external uses m−nm - n. Decide inside or outside first.

Mistake 4: Losing a minus sign

Where it slips in: Negative coordinates.

Don't do this: Write 2⋅(−4)=82 \cdot (-4) = 8 and get 103\frac{10}{3}, which is not between −4-4 and 2.

The correct way: Bracket negatives, and check the answer lies between the endpoints.

Where Does Internal Division Show Up in the Real World?

The same formula works far beyond the page: finding a point part of the way between two known positions is called interpolation.

  • Animation: to move a ball in four steps, a program draws it at the 1:31 : 3, 1:11 : 1 and 3:13 : 1 points.
  • Navigation: a waypoint a set fraction along a route.
  • Centre of mass: two masses on a rod balance where the rod splits in the inverse ratio of the masses.
  • 3D: add one more line, z=mz2+nz1m+nz = \frac{mz_2 + nz_1}{m + n}.
the in-between frames of an animation are internal divisions of the path
A ball drawn at five positions from (0, 0) to (8, 4): the start, then frames at (2, 1), (4, 2) and (6, 3) dividing the path 1 : 3, 1 : 1 and 3 : 1, then the end.

The idea is old. Euclid's Elements, Book VI, Proposition 10, cuts a line in given proportions using parallel lines and similar triangles.

Conclusion

The rest stop, the drone's waypoint and the centroid are all one calculation: a weighted average of two endpoints.

  • The formula comes from similar triangles, a fraction of the trip, or a balance; mm goes with the far endpoint.
  • The midpoint is 1:11 : 1, trisection is 1:21 : 2 and 2:12 : 1, and the centroid is 2:12 : 1 on a median.
  • For an unknown ratio, use k:1k : 1. A negative kk means external division.

A Practical Next Step

Try these:

  • Reverse one: given P(−2,0)P(-2, 0), A(−4,−2)A(-4, -2) and 1:21 : 2, find BB. (It is (2,4)(2, 4).)
  • In the tool, pick two points and find the 1:31 : 3 and 3:13 : 1 points by hand; both sit the same distance from the midpoint.

If the weighting still feels backwards, return to the balance picture.

To take coordinate geometry further with a teacher, explore Bhanzu's geometry tutor, a high school math tutor, or live math classes online.

Want a live Bhanzu trainer to walk your child through the section formula? Book a free demo class.

Read More

Research Behind This Article

  1. Euclid, Elements, Book VI, Proposition 10, with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  2. OpenStax, Calculus Volume 3, Section 2.1: Vectors in the Plane. openstax.org
  3. OpenStax, College Algebra 2e, Section 2.1: The Rectangular Coordinate Systems and Graphs (the midpoint formula). openstax.org
  4. OpenStax, University Physics Volume 1, Section 9.6: Center of Mass. openstax.org

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the formula for internal division in coordinate geometry?
For A(x1,y1)A(x_1, y_1), B(x2,y2)B(x_2, y_2) and m:nm : n: (mx2+nx1m+n,my2+ny1m+n)\left(\frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}\right).
Does internal division in coordinate geometry always give a point on the segment?
Yes, when mm and nn are both positive.
Why does m multiply x₂ and not x₁?
The formula is a balance point. A small mm puts PP near AA, which needs the bigger weight, nn, on AA.
How is internal division different from external division?
Internal puts the point between AA and BB and uses m+nm + n. External puts it on the extension and uses m−nm - n.
How is this different from the distance formula?
The distance formula measures how far apart two points are. Internal division finds a point between them.
✍️ Written By
Prabhjot Kaur
Prabhjot Kaur
Subject Matter Expert & Curriculum Developer
Prabhjot Kaur is an education professional with 14 years of experience in teaching, curriculum development, content review and teacher training. She taught for six years in the UK and has worked as a Subject Matter Expert for competitive exams, developing and reviewing content for Numerical Ability and Logical Reasoning. She has trained teachers in effective classroom practices and designs activity-based learning experiences that make concepts easy to understand.
LinkedIn
🔬 Reviewed By
Madhukar V
Math Columnist & Analyst
Book a FREE Demo ClassBook Now →