Sub topic 10
Centroid, Incenter, Circumcenter, and Orthocenter
Assume you can use the distance formula, slopes, ratios, and the Pythagorean theorem. A triangle has four important centers. Each center answers a different geometric question, so identify the required property before calculating.
The four triangle centers
Let the vertices be \(A(x1,y1)\), \(B(x2,y2)\), and \(C(x3,y3)\).
| Center | Meaning | Quick method |
|---|---|---|
| Centroid | Intersection of the three medians | Average the three vertex coordinates |
| Incenter | Intersection of the three angle bisectors | Use side-length-weighted coordinates |
| Circumcenter | Center of the circle through all three vertices | Solve equal-distance equations |
| Orthocenter | Intersection of the three altitudes | Use perpendicular slopes |
Centroid
A median joins a vertex to the midpoint of the opposite side. The three medians meet at the centroid \(G\):
\[ G=\left(\frac{x1+x2+x3}{3},\frac{y1+y2+y3}{3}\right) \]
The centroid divides each median in the ratio \(2:1\), with the longer part nearer the vertex.
Incenter
The incenter \(I\) is equally distant from all three sides. First calculate the side lengths opposite \(A\), \(B\), and \(C\):
\[ a=|BC|,\qquad b=|CA|,\qquad c=|AB| \]
Then use:
\[ I=\left(\frac{ax1+bx2+cx3}{a+b+c}, \frac{ay1+by2+cy3}{a+b+c}\right) \]
The incenter is also the center of the largest circle that can fit inside the triangle.
Circumcenter
The circumcenter \(O\) is equidistant from \(A\), \(B\), and \(C\). Therefore:
\[ OA^2=OB^2,\qquad OA^2=OC^2 \]
Expanding these equations cancels the squared coordinates of \(O\), leaving two linear equations. Solve them simultaneously.
For a right triangle, the circumcenter is the midpoint of the hypotenuse.
Orthocenter
The orthocenter \(H\) is where the three altitudes meet. An altitude is perpendicular to the opposite side.
To find \(H\):
- Find the slope of one side.
- Use the negative reciprocal for the slope of its altitude.
- Write the altitude through the opposite vertex.
- Repeat with a second side.
- Solve the two altitude equations.
In a right triangle, the orthocenter is the vertex containing the right angle.
Worked example
Consider the right triangle \(A(0,0)\), \(B(6,0)\), and \(C(0,8)\).
The centroid is:
\[ G=\left(\frac{0+6+0}{3},\frac{0+0+8}{3}\right) =\left(2,\frac83\right) \]
The side lengths opposite \(A,B,C\) are \(10,8,6\), respectively. Thus:
\[ I=\left(\frac{10(0)+8(6)+6(0)}{24}, \frac{10(0)+8(0)+6(8)}{24}\right)=(2,2) \]
The hypotenuse is \(BC\), so the circumcenter is its midpoint:
\[ O=\left(\frac{6+0}{2},\frac{0+8}{2}\right)=(3,4) \]
Since \(AB\) is horizontal and \(AC\) is vertical, the right angle is at \(A\). Therefore:
\[ H=(0,0) \]
from math import hypot
A = (0, 0)
B = (6, 0)
C = (0, 8)
centroid = tuple((A[i] + B[i] + C[i]) / 3 for i in (0, 1))
a = hypot(B[0] - C[0], B[1] - C[1])
b = hypot(C[0] - A[0], C[1] - A[1])
c = hypot(A[0] - B[0], A[1] - B[1])
perimeter = a + b + c
incenter = (
(a * A[0] + b * B[0] + c * C[0]) / perimeter,
(a * A[1] + b * B[1] + c * C[1]) / perimeter,
)
circumcenter = ((B[0] + C[0]) / 2, (B[1] + C[1]) / 2)
orthocenter = A
print("Centroid:", centroid)
print("Incenter:", incenter)
print("Circumcenter:", circumcenter)
print("Orthocenter:", orthocenter)Exercise
Find the centroid, circumcenter, and orthocenter of the right triangle with vertices (0, 0), (8, 0), and (0, 6).
Show answer
Centroid = (8/3, 2), circumcenter = (4, 3), and orthocenter = (0, 0).