Sub topic 10
Centroid, incenter, circumcenter, and orthocenter
This chapter assumes you know the distance formula, the section formula, slope, and the equation of a line. It also assumes you can write a perpendicular line through a point and solve two linear equations. The four triangle centres use these tools, and CAT questions usually ask for one centre, or for a relation between two of them.
The four centres at a glance
Each centre is the meeting point of three lines that always pass through one point. The lines differ, so the points differ.
| Centre | Lines that meet | What the point means | Formula from vertices |
|---|---|---|---|
| Centroid G | Medians (vertex to opposite midpoint) | Balance point of the triangle | Average of the vertices |
| Incenter I | Angle bisectors | Centre of the inscribed circle | Side-weighted average |
| Circumcenter O | Perpendicular bisectors of the sides | Centre of the circle through all three vertices | Solve two bisector equations |
| Orthocenter H | Altitudes (vertex perpendicular to opposite side) | Meeting point of the heights | Solve two altitude equations, or use H = 3G − 2O |
Centroid
The centroid is the intersection of the three medians. For vertices A(x₁, y₁), B(x₂, y₂), C(x₃, y₃):
G = ((x₁ + x₂ + x₃) / 3, (y₁ + y₂ + y₃) / 3)
This follows from the section formula. The midpoint of BC is M = ((x₂ + x₃)/2, (y₂ + y₃)/2). The point that divides AM internally in the ratio 2:1 is
((1·x₁ + 2·(x₂ + x₃)/2) / 3, ...) = ((x₁ + x₂ + x₃)/3, ...)
So the centroid divides every median in the ratio 2:1, with the longer part on the vertex side. CAT questions use this in reverse. If you know G and two vertices, the third vertex is (3·Gₓ − x₁ − x₂, 3·G_y − y₁ − y₂).
The centroid is the only one of the four centres that is always inside the triangle.
Incenter
The incenter is the intersection of the angle bisectors. It is the centre of the largest circle that fits inside the triangle, and it is the same distance from all three sides.
Let a = BC, b = CA, c = AB. Each side is named after the vertex opposite it. Then
I = ((a·x₁ + b·x₂ + c·x₃) / (a + b + c), (a·y₁ + b·y₂ + c·y₃) / (a + b + c))
The weight on each vertex is the length of the opposite side. This comes from the angle bisector theorem, which says the bisector from A splits BC in the ratio AB : AC = c : b. The section formula then locates the point where the bisector meets BC. The incenter divides that bisector in the ratio (b + c) : a, measured from A.
The inradius is r = Area / s, where s = (a + b + c)/2. For a right triangle with legs p, q and hypotenuse h, r = (p + q − h)/2.
Circumcenter
The circumcenter is the point equidistant from all three vertices. It lies on the perpendicular bisector of every side. The distance OA = OB = OC is the circumradius R.
There are two ways to find it:
- Write the perpendicular bisector of two sides (midpoint plus negative reciprocal slope) and intersect them.
- Assume O = (x, y) and set OA² = OB² and OA² = OC². The squared terms x² and y² cancel, so you get two linear equations.
Method 2 is usually faster under time pressure because it avoids fractions in slopes.
Three position rules are worth memorising:
- In an acute triangle, O is inside.
- In a right triangle, O is the midpoint of the hypotenuse, and R is half the hypotenuse.
- In an obtuse triangle, O is outside, on the opposite side of the longest side from the obtuse angle.
Orthocenter
The orthocenter is where the three altitudes meet. To get an altitude, take the slope of the opposite side, negate and invert it, and write the line through the vertex.
The position rules mirror those for the circumcenter. In an acute triangle H is inside. In a right triangle H is the right-angle vertex. In an obtuse triangle H is outside.
The Euler line
G, O and H are always collinear, and G lies between O and H with OG : GH = 1 : 2. In vector form,
H = 3G − 2O
This means you can find the orthocenter without drawing any altitudes once you have G and O. The incenter is on this line only in the isosceles case.
Worked example: all four centres of one right triangle
Take A(0, 0), B(6, 0), C(0, 8). The sides are a = BC = 10, b = CA = 8, c = AB = 6.
- G = ((0 + 6 + 0)/3, (0 + 0 + 8)/3) = (2, 8/3).
- I = ((10·0 + 8·6 + 6·0)/24, (10·0 + 8·0 + 6·8)/24) = (2, 2). The inradius is (6 + 8 − 10)/2 = 2, which matches the distance from I to both axes.
- O is the midpoint of the hypotenuse BC, which is (3, 4). Check: OA = 5 and BC/2 = 5.
- H is the right-angle vertex (0, 0). Check with the Euler relation: 3G − 2O = (6 − 6, 8 − 8) = (0, 0).
The function below computes all four centres for any non-degenerate triangle. It uses the circumcenter determinant form, which is the solved version of OA² = OB² = OC².
import math
def centres(A, B, C):
ax, ay = A
bx, by = B
cx, cy = C
a = math.hypot(bx - cx, by - cy) # side opposite A
b = math.hypot(cx - ax, cy - ay) # side opposite B
c = math.hypot(ax - bx, ay - by) # side opposite C
G = ((ax + bx + cx) / 3, (ay + by + cy) / 3)
I = ((a * ax + b * bx + c * cx) / (a + b + c),
(a * ay + b * by + c * cy) / (a + b + c))
d = 2 * (ax * (by - cy) + bx * (cy - ay) + cx * (ay - by))
if d == 0:
raise ValueError("points are collinear")
a2 = ax ** 2 + ay ** 2
b2 = bx ** 2 + by ** 2
c2 = cx ** 2 + cy ** 2
O = ((a2 * (by - cy) + b2 * (cy - ay) + c2 * (ay - by)) / d,
(a2 * (cx - bx) + b2 * (ax - cx) + c2 * (bx - ax)) / d)
H = (3 * G[0] - 2 * O[0], 3 * G[1] - 2 * O[1])
return G, I, O, H
def tidy(p):
return (round(p[0], 6) + 0.0, round(p[1], 6) + 0.0)
G, I, O, H = centres((0, 0), (6, 0), (0, 8))
print("G", tidy(G))
print("I", tidy(I))
print("O", tidy(O))
print("H", tidy(H))The output is G (2.0, 2.666667), I (2.0, 2.0), O (3.0, 4.0), H (0.0, 0.0), which matches the hand calculation. The check d == 0 is the collinearity test from the slope chapter: the determinant is twice the signed area, so it is zero exactly when the three points lie on one line.
Worked example: a non-right triangle by hand
Take A(0, 0), B(4, 0), C(1, 3).
Circumcenter. The perpendicular bisector of AB is x = 2, because AB lies on the x-axis. Set OA² = OC² with O = (2, y):
4 + y² = (2 − 1)² + (y − 3)² = 1 + y² − 6y + 9
So 4 = 10 − 6y, which gives y = 1. Then O = (2, 1), and R² = 5.
Orthocenter. The altitude from C to AB is x = 1. The slope of BC is (3 − 0)/(1 − 4) = −1, so the altitude from A has slope 1, which is y = x. At x = 1 this gives H = (1, 1).
Check with Euler. G = (5/3, 1), so 3G − 2O = (5 − 4, 3 − 2) = (1, 1). This matches the orthocenter found from the altitudes.
Special triangles
When the triangle has symmetry, the centres merge, and some questions are built on this.
| Triangle | What happens |
|---|---|
| Equilateral | G, I, O and H are the same point |
| Isosceles | All four lie on the axis of symmetry |
| Right | O is the hypotenuse midpoint, H is the right-angle vertex |
If a question says two of the centres coincide, the triangle is equilateral. If it says the centroid and circumcenter coincide, the Euler relation gives H = G = O, so the triangle is equilateral.
Common errors
- Using the arithmetic mean of the vertices for the incenter. That gives the centroid, and the two agree only for equilateral triangles.
- Swapping the side-vertex pairing in the incenter formula.
- Forgetting that the circumcenter and orthocenter can lie outside the triangle, then rejecting a correct answer that looks wrong on a sketch.
- Taking the slope of an altitude as the negative of the side slope, instead of the negative reciprocal. A vertical or horizontal side needs a special case: its altitude is horizontal or vertical.
- Dividing by a zero denominator when a side is vertical. Write x = constant lines directly.
Exercises
Exercise
Find the circumcenter and circumradius of the triangle with vertices (0, 0), (8, 0) and (0, 6).
Show answer
The triangle has a right angle at the origin, so the circumcenter is the midpoint of the hypotenuse from (8, 0) to (0, 6), which is (4, 3). The hypotenuse is 10, so the circumradius is 5.
Exercise
Find the incenter of the triangle with vertices A(0, 0), B(8, 0), C(0, 6), and state its inradius.
Show answer
The sides are a = BC = 10, b = CA = 6, c = AB = 8. The incenter is ((10·0 + 6·8 + 8·0)/24, (10·0 + 6·0 + 8·6)/24) = (2, 2). The inradius is (8 + 6 − 10)/2 = 2.
Exercise
The centroid of a triangle is (3, 4) and two vertices are (1, 2) and (5, 3). Find the third vertex. If the circumcenter is (2, 5), find the orthocenter.
Show answer
The third vertex is (3·3 − 1 − 5, 3·4 − 2 − 3) = (3, 7). The orthocenter is H = 3G − 2O = (9 − 4, 12 − 10) = (5, 2).