- Practice
- About 18 min
- 5 practice questions
The section formula and the centroid of a triangle
Find the point dividing a segment internally in a given ratio, find the ratio in which a point or an axis divides a segment, and find and use the centroid of a triangle.
If something looks wrong, please tell us.
By the end of this lesson you can
- Use the section formula ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n)) for internal division.
- Find the ratio in which a given point, the x-axis or the y-axis divides a segment.
- Find the centroid ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3) and use it to find a missing vertex.
Bisection and trisection are special cases of a general question: where is the point P that divides AB in the ratio m : n, so that AP : PB = m : n? The answer is the section formula. It leads straight to the coordinates of the centroid, the balancing point of a triangle.
The section formula
Let P(x, y) divide the segment joining A(x₁, y₁) and B(x₂, y₂) internally in the ratio m : n. The horizontal distance from A to P is to that from P to B as m is to n, so n(x − x₁) = m(x₂ − x). Solving: (m + n)x = mx₂ + nx₁. The same holds for y.
P = ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n)) divides A(x₁, y₁)B(x₂, y₂) internally in the ratio m : n. With m = n = 1 it gives the mid-point.
Note the cross-over: m (the part next to A) multiplies the coordinates of B, and n multiplies the coordinates of A. The formula is used only when the three points are collinear. The textbook also notes that the line joining A and B is divided by the x-axis in the ratio −y₁ : y₂ and by the y-axis in the ratio −x₁ : x₂.
Applying the section formula
- Write A, B and m : n AP : PB = m : n
- Cross-multiply m with B's coordinates, n with A's
- Add and divide by m + n Do x and y separately
- Check P should lie between A and B
Worked example 1: dividing in a ratio
Find the point dividing A(−1, 7) and B(4, −3) internally in the ratio 2 : 3. Working: x = (2 × 4 + 3 × (−1))/(2 + 3) = (8 − 3)/5 = 1; y = (2 × (−3) + 3 × 7)/5 = (−6 + 21)/5 = 3. P = (1, 3).
Worked example 2: finding the ratio
In what ratio does P(4, m) divide A(2, 3) and B(8, 6)? Find m. Working: let the ratio be k : 1. Using x: (8k + 2)/(k + 1) = 4, so 8k + 2 = 4k + 4, 4k = 2 and k = 1/2. The ratio is 1/2 : 1 = 1 : 2. Then m = (1 × 6 + 2 × 3)/3 = 12/3 = 4, so P = (4, 4).
Worked example 3: where an axis cuts a segment
Find where the x-axis cuts the segment joining A(3, −2) and B(−1, 6), and the ratio. Working: the ratio is −y₁ : y₂ = 2 : 6 = 1 : 3. Then x = (1 × (−1) + 3 × 3)/4 = 8/4 = 2 and y = (1 × 6 + 3 × (−2))/4 = 0. The point is (2, 0), which is on the x-axis as it must be.
The centroid
The centroid G of a triangle is where the medians meet, and it divides each median in the ratio 2 : 1 from the vertex. For A(x₁, y₁), B(x₂, y₂), C(x₃, y₃): the mid-point of BC is D((x₂ + x₃)/2, (y₂ + y₃)/2). Dividing AD in the ratio 2 : 1 with the section formula gives x = (2 × (x₂ + x₃)/2 + 1 × x₁)/3 = (x₁ + x₂ + x₃)/3, and the same for y.
Centroid G = ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3): the average of the three vertices.
Worked example 4: centroid
Find the centroid of the triangle with vertices (2, −1), (6, 4) and (−2, 3). Working: x = (2 + 6 − 2)/3 = 6/3 = 2; y = (−1 + 4 + 3)/3 = 6/3 = 2. G = (2, 2).
Worked example 5: a missing vertex
The centroid of ΔABC is (1, 2), with A(−1, 4) and B(3, −2). Find C(x, y). Working: (−1 + 3 + x)/3 = 1 gives 2 + x = 3, so x = 1; (4 − 2 + y)/3 = 2 gives 2 + y = 6, so y = 4. C = (1, 4).
Key takeaways: P dividing AB in m : n is ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n)); to find an unknown ratio, call it k : 1 and solve; the x-axis divides AB in the ratio −y₁ : y₂; the centroid is the average of the three vertices and divides each median 2 : 1.
Check your understanding
-
1. What point divides the segment joining (1, 2) and (7, 8) internally in the ratio 1 : 2?
- (5, 6)
- (4, 5)
- (3, 4)
- (2, 3)
Show answer
Answer: C. x = (1 × 7 + 2 × 1)/3 = 9/3 = 3 and y = (1 × 8 + 2 × 2)/3 = 12/3 = 4. So the point is (3, 4), one third of the way from (1, 2).
-
2. In what ratio does the point (2, 5) divide the segment joining (−4, 2) and (6, 7)?
- 2 : 3
- 3 : 2
- 1 : 2
- 3 : 5
Show answer
Answer: B. Let the ratio be k : 1. (6k − 4)/(k + 1) = 2 gives 6k − 4 = 2k + 2, so k = 3/2 and the ratio is 3 : 2. Check y: (3 × 7 + 2 × 2)/5 = 25/5 = 5.
-
3. What is the centroid of the triangle with vertices (4, −3), (−2, 5) and (7, 7)?
- (3, 3)
- (9, 9)
- (2, 3)
- (3, 1)
Show answer
Answer: A. x = (4 − 2 + 7)/3 = 9/3 = 3 and y = (−3 + 5 + 7)/3 = 9/3 = 3. So G = (3, 3).
-
4. In what ratio does the y-axis divide the segment joining (−3, 4) and (6, −2)?
- 2 : 1
- 1 : 3
- 3 : 2
- 1 : 2
Show answer
Answer: D. The ratio is −x₁ : x₂ = 3 : 6 = 1 : 2. Check: x = (1 × 6 + 2 × (−3))/3 = 0, so the point is on the y-axis.
-
5. Two vertices of a triangle are (5, −1) and (−2, 3), and its centroid is the origin. What is the third vertex?
- (3, 2)
- (−3, −2)
- (−3, 2)
- (3, −2)
Show answer
Answer: B. (5 − 2 + x)/3 = 0 gives x = −3, and (−1 + 3 + y)/3 = 0 gives y = −2. So the third vertex is (−3, −2).
Sign in to keep track of the lessons you finish.