• Foundation
  • About 14 min
  • 5 practice questions

Section formula, midpoint and area of a triangle

Find the point that divides a segment in a given ratio, the midpoint and the centroid, and the area of a triangle from its vertices, and use area to test whether three points are collinear.

If something looks wrong, please tell us.

The distance formula measures how far apart two points are. The next questions are about position: where is the point one third of the way from A to B? Where is the centre of a triangle? How big is a triangle whose corners are given? Each has a simple formula, and together they solve most problems about points.

The section formula

Let P divide the segment joining A(x₁, y₁) and B(x₂, y₂) internally in the ratio m : n, which means AP : PB = m : n. Then P is m/(m + n) of the way from A to B. Working this out for each coordinate gives the formula below. Notice the cross-over: m, the part next to A, multiplies the coordinates of B.

Section formula (internal, ratio m : n): P = ((m x₂ + n x₁)/(m + n), (m y₂ + n y₁)/(m + n)). Midpoint (ratio 1 : 1): ((x₁ + x₂)/2, (y₁ + y₂)/2).

Worked example 1: dividing in 1 : 2

Find the point dividing A(1, −2) and B(7, 4) internally in the ratio 1 : 2. Here m = 1, n = 2. x = (1 × 7 + 2 × 1)/3 = 9/3 = 3 and y = (1 × 4 + 2 × (−2))/3 = 0/3 = 0. The point is (3, 0). Check: it should be one third of the way from A. A to B moves 6 right and 6 up; one third of that is 2 right and 2 up, giving (3, 0). Correct.

Midpoint and centroid

The midpoint is the special case m = n. For (2, 3) and (6, −5) the midpoint is ((2 + 6)/2, (3 − 5)/2) = (4, −1). The centroid of a triangle, where its three medians meet, is the average of the three vertices: G = ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3). For the vertices (1, 2), (4, 5) and (7, −1), G = (12/3, 6/3) = (4, 2).

Area of a triangle

For a triangle with vertices A(x₁, y₁), B(x₂, y₂) and C(x₃, y₃), the area is

Area = ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|. If this is 0, the three points lie on one straight line (they are collinear).

The bars mean "take the positive value": the expression inside may come out negative, depending on the order of the vertices, but an area is never negative. Each x is multiplied by the difference of the other two y-values, taken in cyclic order.

Worked example 2: area of a right triangle

A(1, 1), B(4, 1), C(4, 5). Area = ½ |1(1 − 5) + 4(5 − 1) + 4(1 − 1)| = ½ |−4 + 16 + 0| = ½ × 12 = 6 square units. Check with geometry: AB is horizontal with length 3, BC is vertical with length 4, and the angle at B is a right angle, so the area is ½ × 3 × 4 = 6.

Worked example 3: collinear points

Are (1, 2), (3, 6) and (5, 10) collinear? Area = ½ |1(6 − 10) + 3(10 − 2) + 5(2 − 6)| = ½ |−4 + 24 − 20| = 0. The "triangle" has no area, so the three points lie on one line. Now find k so that (1, 1), (2, 3) and (5, k) are collinear: 1(3 − k) + 2(k − 1) + 5(1 − 3) = 3 − k + 2k − 2 − 10 = k − 9. Setting this to 0 gives k = 9.

Key takeaways: in the section formula, the ratio numbers cross over (m goes with the second point). The midpoint averages two points and the centroid averages three. The area formula needs the absolute value and the ½. Zero area means collinear, which is the quickest test for three points on a line.

Check your understanding

  1. 1. What is the midpoint of the segment joining (−2, 4) and (6, 0)?

    1. (4, 4)
    2. (2, 4)
    3. (2, 2)
    4. (−4, 2)
    Show answer

    Answer: C. ((−2 + 6)/2, (4 + 0)/2) = (2, 2).

  2. 2. Which point divides the segment joining (2, 1) and (8, 7) internally in the ratio 2 : 1?

    1. (4, 3)
    2. (5, 4)
    3. (6, 3)
    4. (6, 5)
    Show answer

    Answer: D. x = (2 × 8 + 1 × 2)/3 = 18/3 = 6, y = (2 × 7 + 1 × 1)/3 = 15/3 = 5.

  3. 3. What is the centroid of the triangle with vertices (0, 0), (6, 0) and (0, 9)?

    1. (2, 3)
    2. (3, 4.5)
    3. (6, 9)
    4. (3, 3)
    Show answer

    Answer: A. Average the vertices: ((0 + 6 + 0)/3, (0 + 0 + 9)/3) = (2, 3).

  4. 4. What is the area of the triangle with vertices (0, 0), (4, 0) and (0, 6)?

    1. 12 square units
    2. 24 square units
    3. 10 square units
    4. 6 square units
    Show answer

    Answer: A. ½ |0(0 − 6) + 4(6 − 0) + 0(0 − 0)| = ½ × 24 = 12. It is a right triangle with legs 4 and 6.

  5. 5. For which value of k are the points (1, 1), (2, 3) and (5, k) collinear?

    1. 7
    2. 9
    3. 11
    4. 5
    Show answer

    Answer: B. 1(3 − k) + 2(k − 1) + 5(1 − 3) = k − 9 must be 0, so k = 9.

Privacy · Terms · Refunds · Delivery