Finding the orthocenter of a triangle using coordinates is a fundamental skill in analytic geometry that combines algebra with geometric intuition. The orthocenter is the point where the three altitudes of a triangle intersect, and knowing how to locate it with vertex coordinates allows you to solve problems ranging from triangle centers to computational geometry applications. This guide walks you through the concept, provides a step‑by‑step procedure, illustrates the method with a concrete example, explains why the altitudes always meet at a single point, and answers common questions Nothing fancy..
Understanding the Orthocenter
In any triangle, an altitude is a line segment drawn from a vertex perpendicular to the opposite side (or its extension). That said, depending on the triangle’s shape, the orthocenter can lie inside (acute triangle), on the vertex of a right angle (right triangle), or outside the triangle (obtuse triangle). The three altitudes are concurrent, meaning they all intersect at a single point called the orthocenter. When the vertices are given as coordinate pairs ((x_1, y_1), (x_2, y_2), (x_3, y_3)), we can compute the orthocenter analytically by finding the equations of two altitudes and solving for their intersection.
This is where a lot of people lose the thread.
Steps to Find Orthocenter with Coordinates
Follow these systematic steps to determine the orthocenter (H(x_H, y_H)) from the triangle’s vertex coordinates.
-
Label the vertices
Assign the given points to (A(x_1, y_1)), (B(x_2, y_2)), and (C(x_3, y_3)). -
Calculate the slopes of two sides
- Slope of side (BC): (m_{BC} = \dfrac{y_3 - y_2}{x_3 - x_2})
- Slope of side (AC): (m_{AC} = \dfrac{y_3 - y_1}{x_3 - x_1})
(If a denominator is zero, the side is vertical and its slope is undefined; handle this case separately.)
-
Determine the slopes of the corresponding altitudes
An altitude is perpendicular to the side opposite its vertex, so its slope is the negative reciprocal:- Altitude from (A) (perpendicular to (BC)): (m_{A} = -\dfrac{1}{m_{BC}})
- Altitude from (B) (perpendicular to (AC)): (m_{B} = -\dfrac{1}{m_{AC}})
If a side slope is zero (horizontal side), the altitude is vertical (undefined slope) and its equation is simply (x =) the x‑coordinate of the opposite vertex.
-
Write the equations of two altitudes
Using point‑slope form (y - y_0 = m(x - x_0)):- Altitude through (A): (y - y_1 = m_{A}(x - x_1))
- Altitude through (B): (y - y_2 = m_{B}(x - x_2))
-
Solve the system of two linear equations
Solve for ((x, y)) where the two altitude lines intersect. This point is the orthocenter (H).- If using substitution or elimination, isolate one variable and plug into the other equation.
- For vertical/horizontal cases, the solution may be read directly (e.g., if one altitude is (x = x_3), plug that x‑value into the other altitude’s equation to find y).
-
Verify (optional)
Plug the obtained coordinates into the equation of the third altitude (from (C) to (AB)) to confirm that it also satisfies the line; this serves as a sanity check.
Quick Reference Formula
When none of the sides are vertical or horizontal, the orthocenter coordinates can be expressed directly as:
[ x_H = \frac{x_1 \tan A + x_2 \tan B + x_3 \tan C}{\tan A + \tan B + \tan C}, \qquad y_H = \frac{y_1 \tan A + y_2 \tan B + y_3 \tan C}{\tan A + \tan B + \tan C}, ]
where (\tan A, \tan B, \tan C) are the tangents of the angles at vertices (A, B, C). Computing these tangents from side lengths is another route, but the step‑by‑step slope method is often more straightforward for coordinate work.
Example Calculation
Let’s find the orthocenter of the triangle with vertices
(A(2, 3)), (B(5, 11)), and (C(12, 4)).
-
Slopes of sides
[ m_{BC} = \frac{4 - 11}{12 - 5} = \frac{-7}{7} = -1 ] [ m_{AC} = \frac{4 - 3}{12 - 2} = \frac{1}{10} = 0.1 ] -
Slopes of altitudes
[ m_{A} = -\frac{1}{m_{BC}} = -\frac{1}{-1} = 1 ] [ m_{B} = -\frac{1}{m_{AC}} = -\frac{1}{0.1} = -10 ] -
Altitude equations
- Through (A(2,3)): (y - 3 = 1(x - 2)) → (y = x + 1)
- Through (B(5,11)): (y - 11 = -10(x - 5)) → (y = -10x + 61)
-
Solve for intersection
Set the two expressions for (y) equal: [ x + 1 = -10x + 61 ;\Rightarrow; 11x = 60 ;\Rightarrow; x = \frac{60}{11} \approx 5.455 ] Substitute back: [ y = x + 1 = \frac{