TExcelTAD
Home › Coordinate Geometry: 2D & 3D Cartesian Systems › Coordinate Formulas for Triangle Centers: Centroid, Incenter, Circumcenter, and Orthocenter

Coordinate Formulas for Triangle Centers: Centroid, Incenter, Circumcenter, and Orthocenter

Every triangle in Euclidean geometry possesses four classical centers of symmetry and balance. In synthetic Euclidean geometry, locating them requires compass-and-straightedge constructions. In coordinate geometry, every center is determined analytically through algebraic formulas and linear systems.


1. Summary of the Four Centers

For a triangle with vertices A(x1,y1)A(x_1, y_1), B(x2,y2)B(x_2, y_2), and C(x3,y3)C(x_3, y_3):

Center Geometric Definition Concurrency of Coordinate Property
Centroid (GG) Center of mass 3 Medians G=(x1+x2+x33,y1+y2+y33)G = \left(\frac{x_1+x_2+x_3}{3}, \frac{y_1+y_2+y_3}{3}\right)
Incenter (II) Center of incircle 3 Angle Bisectors I=(ax1+bx2+cx3a+b+c,ay1+by2+cy3a+b+c)I = \left(\frac{a x_1 + b x_2 + c x_3}{a+b+c}, \frac{a y_1 + b y_2 + c y_3}{a+b+c}\right)
Circumcenter (OO) Center of circumcircle 3 Perpendicular Bisectors Equidistant from vertices: OA=OB=OCOA = OB = OC
Orthocenter (HH) Intersection of heights 3 Altitudes Slopes perpendicular to opposite sides
G (Centroid) A(x_1, y_1) B(x_2, y_2) C(x_3, y_3) F (midpoint) D E

2. The Centroid (GG)

A median connects a vertex to the midpoint of the opposite side. The three medians meet at the centroid GG, which represents the physical center of gravity of a uniform triangular lamina.

Paper Derivation

Let DD be the midpoint of side BCBC:

D=(x2+x32,  y2+y32)D = \left( \frac{x_2 + x_3}{2}, \; \frac{y_2 + y_3}{2} \right)

A classic theorem of Euclidean geometry states that the centroid GG divides each median in the ratio 2:12 : 1, measuring from the vertex (AG:GD=2:1AG : GD = 2 : 1).

Applying the Section Formula for internal division with m=2m = 2 and n=1n = 1:

xG=m(xD)+n(xA)m+n=2(x2+x32)+1(x1)2+1=x1+x2+x33yG=m(yD)+n(yA)m+n=2(y2+y32)+1(y1)2+1=y1+y2+y33\begin{aligned} x_G &= \frac{m(x_D) + n(x_A)}{m + n} = \frac{2\left(\frac{x_2 + x_3}{2}\right) + 1(x_1)}{2 + 1} = \frac{x_1 + x_2 + x_3}{3} \\ y_G &= \frac{m(y_D) + n(y_A)}{m + n} = \frac{2\left(\frac{y_2 + y_3}{2}\right) + 1(y_1)}{2 + 1} = \frac{y_1 + y_2 + y_3}{3} \end{aligned}
G=(x1+x2+x33,  y1+y2+y33)G = \left( \frac{x_1 + x_2 + x_3}{3}, \; \frac{y_1 + y_2 + y_3}{3} \right)

The centroid is simply the arithmetic average of all three vertex coordinates!


3. The Incenter (II)

The incenter II is the center of the incircle (the circle inscribed inside the triangle tangent to all three sides). It is the concurrent intersection of the three internal angle bisectors.

Let the side lengths opposite to vertices A,B,CA, B, C be a,b,ca, b, c:

a=length(BC),b=length(AC),c=length(AB)a = \text{length}(BC), \quad b = \text{length}(AC), \quad c = \text{length}(AB)

By the Angle Bisector Theorem, the bisector of ∠A\angle A divides the opposite side BCBC in the ratio of the adjacent sides c:bc : b. Applying the section formula twice yields:

I=(ax1+bx2+cx3a+b+c,  ay1+by2+cy3a+b+c)I = \left( \frac{a x_1 + b x_2 + c x_3}{a + b + c}, \; \frac{a y_1 + b y_2 + c y_3}{a + b + c} \right)

The incenter is a weighted average of the vertices, where each vertex coordinate is weighted by the length of its opposite side.


4. The Circumcenter (OO)

The circumcenter O(x,y)O(x, y) is the center of the circumscribed circle passing through all three vertices. It is the intersection of the perpendicular bisectors of the three sides.

Because OO is the circle center, the distance from OO to every vertex equals the circumradius RR:

OA2=OB2=OC2=R2OA^2 = OB^2 = OC^2 = R^2

In coordinate form, this yields a system of two independent linear equations:

{(x−x1)2+(y−y1)2=(x−x2)2+(y−y2)2(x−x1)2+(y−y1)2=(x−x3)2+(y−y3)2\begin{cases} (x - x_1)^2 + (y - y_1)^2 = (x - x_2)^2 + (y - y_2)^2 \\ (x - x_1)^2 + (y - y_1)^2 = (x - x_3)^2 + (y - y_3)^2 \end{cases}

Expanding and cancelling the quadratic x2+y2x^2 + y^2 terms produces two linear equations in xx and yy, which are easily solved by elimination on paper.


5. The Orthocenter (HH) and the Euler Line

The orthocenter H(x,y)H(x, y) is the intersection of the three altitudes (perpendicular lines dropped from each vertex to the opposite side).

On paper, find HH by writing the equations of two altitudes:

  1. Altitude from AA: Passes through A(x1,y1)A(x_1, y_1) with slope mhA=−1mBCm_{h_A} = -\frac{1}{m_{BC}}.
  2. Altitude from BB: Passes through B(x2,y2)B(x_2, y_2) with slope mhB=−1mACm_{h_B} = -\frac{1}{m_{AC}}.
  3. Solve the resulting 2×22 \times 2 linear system for (x,y)(x, y).

The Euler Line Theorem

In any non-equilateral triangle, the circumcenter OO, centroid GG, and orthocenter HH are strictly collinear. This line is called the Euler Line.

Furthermore, the centroid GG divides the segment connecting the circumcenter and the orthocenter internally in the ratio:

OG:GH=1:2  ⟺  OH⃗=3OG⃗OG : GH = 1 : 2 \iff \vec{OH} = 3\vec{OG}
H=3G−2OH = 3G - 2O

This beautiful relationship means that as soon as you compute any two of {O,G,H}\{O, G, H\}, the third is found immediately by simple arithmetic!


6. Step-by-Step Paper Notebook Method

Centroid G:Sum the 3 x-values and divide by 3; sum the 3 y-values and divide by 3.Incenter I:1. Calculate side lengths a=BC,b=AC,c=AB via Distance Formula.2. Compute perimeter P=a+b+c.3. Compute xI=ax1+bx2+cx3P and yI=ay1+by2+cy3P.Circumcenter O:Equate (x−x1)2+(y−y1)2=(x−x2)2+(y−y2)2. Solve the linear system.Orthocenter H:Use the Euler line relation: H=3G−2O.\begin{aligned} \text{\bf Centroid } G: &\quad \text{Sum the 3 } x\text{-values and divide by 3; sum the 3 } y\text{-values and divide by 3.} \\ \text{\bf Incenter } I: &\quad \text{1. Calculate side lengths } a = BC, b = AC, c = AB \text{ via Distance Formula.} \\ &\quad \text{2. Compute perimeter } P = a + b + c. \\ &\quad \text{3. Compute } x_I = \frac{a x_1 + b x_2 + c x_3}{P} \text{ and } y_I = \frac{a y_1 + b y_2 + c y_3}{P}. \\ \text{\bf Circumcenter } O: &\quad \text{Equate } (x - x_1)^2 + (y - y_1)^2 = (x - x_2)^2 + (y - y_2)^2. \text{ Solve the linear system.} \\ \text{\bf Orthocenter } H: &\quad \text{Use the Euler line relation: } H = 3G - 2O. \end{aligned}

7. Comprehensive Worked Examples

Example 1: Finding Centroid and Incenter

Problem Statement: Find the centroid GG and incenter II of the right triangle with vertices A(0,0)A(0, 0), B(4,0)B(4, 0), and C(0,3)C(0, 3).

Step-by-Step Solution:

  • Step 1: Compute Centroid GG

    xG=0+4+03=43yG=0+0+33=33=1\begin{aligned} x_G &= \frac{0 + 4 + 0}{3} = \frac{4}{3} \\ y_G &= \frac{0 + 0 + 3}{3} = \frac{3}{3} = 1 \end{aligned}

    The centroid is G(43,1)G\left(\frac{4}{3}, 1\right).

  • Step 2: Compute side lengths for Incenter II

    • a=length(BC)=(0−4)2+(3−0)2=16+9=5a = \text{length}(BC) = \sqrt{(0 - 4)^2 + (3 - 0)^2} = \sqrt{16 + 9} = 5
    • b=length(AC)=(0−0)2+(3−0)2=3b = \text{length}(AC) = \sqrt{(0 - 0)^2 + (3 - 0)^2} = 3
    • c=length(AB)=(4−0)2+(0−0)2=4c = \text{length}(AB) = \sqrt{(4 - 0)^2 + (0 - 0)^2} = 4
    • Perimeter a+b+c=5+3+4=12a + b + c = 5 + 3 + 4 = 12
  • Step 3: Compute Incenter coordinates

    xI=axA+bxB+cxCa+b+c=5(0)+3(4)+4(0)12=1212=1yI=ayA+byB+cyCa+b+c=5(0)+3(0)+4(3)12=1212=1\begin{aligned} x_I &= \frac{a x_A + b x_B + c x_C}{a + b + c} = \frac{5(0) + 3(4) + 4(0)}{12} = \frac{12}{12} = 1 \\ y_I &= \frac{a y_A + b y_B + c y_C}{a + b + c} = \frac{5(0) + 3(0) + 4(3)}{12} = \frac{12}{12} = 1 \end{aligned}

    The incenter is I(1,1)I(1, 1).


Example 2: Finding Circumcenter and Orthocenter using the Euler Line

Problem Statement: For the triangle with vertices A(0,0)A(0, 0), B(6,0)B(6, 0), and C(0,4)C(0, 4):

  1. Find the circumcenter OO.
  2. Find the orthocenter HH directly by geometric observation.
  3. Verify the Euler line relation H=3G−2OH = 3G - 2O.

Step-by-Step Solution:

  • Step 1: Identify Orthocenter HH Notice that △ABC\triangle ABC is a right triangle with legs along the coordinate axes meeting at the origin A(0,0)A(0, 0). In any right-angled triangle, the two legs are altitudes, so the altitudes intersect directly at the right-angled vertex:

    H=A(0,0)H = A(0, 0)
  • Step 2: Identify Circumcenter OO In any right-angled triangle, the circumcenter is the midpoint of the hypotenuse BCBC:

    O=midpoint(BC)=(6+02,  0+42)=(3,2)O = \text{midpoint}(BC) = \left( \frac{6 + 0}{2}, \; \frac{0 + 4}{2} \right) = (3, 2)
  • Step 3: Compute Centroid GG

    G=(0+6+03,  0+0+43)=(2,  43)G = \left( \frac{0 + 6 + 0}{3}, \; \frac{0 + 0 + 4}{3} \right) = \left( 2, \; \frac{4}{3} \right)
  • Step 4: Verify the Euler line formula H=3G−2OH = 3G - 2O

    3G−2O=3(2,  43)−2(3,2)=(6,4)−(6,4)=(0,0)=H\begin{aligned} 3G - 2O &= 3\left(2, \; \frac{4}{3}\right) - 2(3, 2) \\ &= (6, 4) - (6, 4) = (0, 0) = H \end{aligned}

    The Euler relation holds identically!


8. Common Mistakes & Paper Traps

  1. Centroid vs. Circumcenter in General Triangles: Assuming the circumcenter is always the midpoint of a side. That is ONLY true for right triangles (where it is the hypotenuse midpoint). For general triangles, solve the perpendicular bisector equations.
  2. Opposite Side Length Mismatch for Incenter: Weighting vertex A(x1,y1)A(x_1, y_1) by side cc instead of side aa. Always remember: aa is opposite to AA, bb is opposite to BB, and cc is opposite to CC.
  3. Euler Line Ratio Reversal: Writing OG:GH=2:1OG : GH = 2 : 1 instead of 1:21 : 2. The centroid GG is closer to the circumcenter OO than to the orthocenter HH (GH=2GOGH = 2 GO).

9. Pencil & Paper Practice

  1. Problem 1: The vertices of a triangle are P(−1,4)P(-1, 4), Q(5,2)Q(5, 2), and R(2,−3)R(2, -3). Find the coordinates of its centroid GG.
  2. Problem 2: If the centroid of a triangle is G(2,3)G(2, 3) and two of its vertices are A(1,5)A(1, 5) and B(4,−1)B(4, -1), find the coordinates of the third vertex CC.
  3. Problem 3: For a triangle, the circumcenter is O(1,2)O(1, 2) and the centroid is G(3,4)G(3, 4). Using the Euler line property, find the coordinates of the orthocenter HH.

Worked Solutions

  • Solution 1:

    xG=−1+5+23=63=2yG=4+2+(−3)3=33=1\begin{aligned} x_G &= \frac{-1 + 5 + 2}{3} = \frac{6}{3} = 2 \\ y_G &= \frac{4 + 2 + (-3)}{3} = \frac{3}{3} = 1 \end{aligned}

    The centroid is G(2,1)G(2, 1).

  • Solution 2: Let the third vertex be C(xC,yC)C(x_C, y_C). Using the centroid formula:

    1+4+xC3=2  ⟹  5+xC=6  ⟹  xC=15+(−1)+yC3=3  ⟹  4+yC=9  ⟹  yC=5\begin{aligned} \frac{1 + 4 + x_C}{3} = 2 &\implies 5 + x_C = 6 \implies x_C = 1 \\ \frac{5 + (-1) + y_C}{3} = 3 &\implies 4 + y_C = 9 \implies y_C = 5 \end{aligned}

    The third vertex is C(1,5)C(1, 5).

  • Solution 3: Using the Euler line vector formula H=3G−2OH = 3G - 2O:

    xH=3(xG)−2(xO)=3(3)−2(1)=9−2=7yH=3(yG)−2(yO)=3(4)−2(2)=12−4=8\begin{aligned} x_H &= 3(x_G) - 2(x_O) = 3(3) - 2(1) = 9 - 2 = 7 \\ y_H &= 3(y_G) - 2(y_O) = 3(4) - 2(2) = 12 - 4 = 8 \end{aligned}

    The orthocenter is H(7,8)H(7, 8).


Test yourself

What are the coordinates of the centroid of a triangle with vertices at (2,3)(2, 3), (4,7)(4, 7), and (6,2)(6, 2)?

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

Where is the orthocenter of any right-angled triangle located?

  1. At the midpoint of the hypotenuse
  2. At the vertex containing the 90-degree right angle
  3. At the centroid
  4. Outside the triangle

On the Euler line, in what ratio does the centroid GG divide the segment from the circumcenter OO to the orthocenter HH?

  1. 1:11 : 1
  2. 2:12 : 1
  3. 1:21 : 2
  4. 1:31 : 3