Orthocenter of a Triangle Calculator

Find the Orthocenter of Your Triangle

Enter the coordinates (x, y) of the three vertices of your triangle below to calculate its orthocenter.

Orthocenter: (Hx, Hy)

What is an Orthocenter?

In the fascinating world of geometry, triangles hold a special place, and within them lie several unique points, each with its own intriguing properties. One such point is the orthocenter. The orthocenter is a fundamental concept in Euclidean geometry, representing a key characteristic of any given triangle.

Definition

The orthocenter of a triangle is defined as the point where the three altitudes of the triangle intersect. An altitude of a triangle is a line segment from a vertex to the opposite side, forming a right angle (90 degrees) with that side. Every triangle has three altitudes, and remarkably, these three lines always meet at a single common point – the orthocenter.

Properties of the Orthocenter

  • Location Varies: Unlike the centroid (always inside) or circumcenter (can be outside), the orthocenter's position depends on the type of triangle:
    • For an acute triangle (all angles less than 90°), the orthocenter lies inside the triangle.
    • For a right triangle (one angle exactly 90°), the orthocenter lies at the vertex where the right angle is located.
    • For an obtuse triangle (one angle greater than 90°), the orthocenter lies outside the triangle.
  • Euler Line: The orthocenter is one of the four classical triangle centers that lie on the Euler line, along with the centroid, circumcenter, and nine-point center (for non-equilateral triangles).
  • Pedal Triangle: The vertices of the pedal triangle of a point are the feet of the perpendiculars from the point to the sides of the triangle. If the point is the orthocenter, its pedal triangle is called the orthic triangle.
  • Reflection Property: The reflection of the orthocenter across any side of the triangle lies on the circumcircle of the triangle.

How to Calculate the Orthocenter

Calculating the orthocenter involves finding the equations of at least two altitudes and then determining their intersection point. While it might sound complex, the process is straightforward using coordinate geometry.

Step-by-Step Method

Given the vertices of a triangle A(x1, y1), B(x2, y2), and C(x3, y3):

  1. Calculate the slope of one side: For example, find the slope of side BC (m_BC). Formula: m = (y3 - y2) / (x3 - x2).
  2. Determine the slope of the altitude to that side: The altitude from vertex A to side BC will be perpendicular to BC. The slope of a perpendicular line (m_perp) is the negative reciprocal of the original line's slope. Formula: m_perp = -1 / m_BC. (Special care is needed for horizontal or vertical sides).
  3. Write the equation of the altitude: Using the point-slope form y - y1 = m(x - x1), write the equation of the altitude from A through A(x1, y1) with slope m_perp.
  4. Repeat for a second altitude: Choose another side (e.g., AC) and its opposite vertex (B). Calculate the slope of AC (m_AC), then the slope of the altitude from B (m_B_perp), and finally its equation.
  5. Solve the system of two linear equations: The orthocenter is the point (Hx, Hy) that satisfies both altitude equations. Solve for x and y.

The Formula

While the step-by-step method provides insight, a direct formula derived from solving the system of equations can also be used. Given vertices A(x1, y1), B(x2, y2), C(x3, y3), the orthocenter H(Hx, Hy) can be found by solving the system for two altitudes. A robust approach uses the general form of a line perpendicular to a given segment.

Let's find the equations of two altitudes in the form Ax + By = C:

  • Altitude from A(x1, y1) to side BC:
    The line perpendicular to BC (passing through (x2,y2) and (x3,y3)) and through A(x1,y1) has coefficients:
    • A1 = x3 - x2
    • B1 = y3 - y2
    • C1 = A1 * x1 + B1 * y1
  • Altitude from B(x2, y2) to side AC:
    The line perpendicular to AC (passing through (x1,y1) and (x3,y3)) and through B(x2,y2) has coefficients:
    • A2 = x3 - x1
    • B2 = y3 - y1
    • C2 = A2 * x2 + B2 * y2

Then, the coordinates of the orthocenter (Hx, Hy) are found by solving the system:
A1 * Hx + B1 * Hy = C1
A2 * Hx + B2 * Hy = C2

Using Cramer's rule:

D = A1 * B2 - A2 * B1

Hx = (C1 * B2 - C2 * B1) / D

Hy = (A1 * C2 - A2 * C1) / D

Note: If D is very close to zero, the three points are collinear and do not form a valid triangle.

Special Cases and Considerations

Right Triangles

For a right triangle, two of its altitudes are actually the legs of the triangle themselves. The third altitude passes through the right-angle vertex. Consequently, the orthocenter of a right triangle is always located at the vertex where the right angle occurs.

Obtuse Triangles

In an obtuse triangle, one angle is greater than 90 degrees. The altitudes from the vertices of the acute angles will fall outside the triangle when extended. Thus, the orthocenter of an obtuse triangle always lies outside the triangle, on the side of the obtuse angle.

Acute Triangles

An acute triangle has all three angles less than 90 degrees. In this case, all three altitudes fall within the interior of the triangle, and therefore, their intersection point – the orthocenter – is always located inside the triangle.

Degenerate Triangles

If the three input points are collinear (lie on the same straight line), they do not form a triangle. In such a "degenerate" triangle, the concept of an orthocenter is not well-defined, and the calculation will typically result in a division by zero or an indeterminate form, indicating that the points are collinear.

Why is the Orthocenter Important?

Applications in Geometry

The orthocenter is more than just a theoretical point; it plays a crucial role in various geometric constructions and proofs. It's used in problems involving distances, angles, and the relationships between different parts of a triangle. Understanding the orthocenter helps in visualizing and analyzing the properties of triangles more deeply.

Connection to Other Triangle Centers (Euler Line)

One of the most significant aspects of the orthocenter is its relationship with other important triangle centers, specifically its position on the Euler line. For any non-equilateral triangle, the orthocenter (H), the centroid (G), and the circumcenter (O) are collinear, meaning they lie on a single straight line known as the Euler line. The centroid G is always between H and O, and HG = 2GO. This remarkable property highlights the interconnectedness of fundamental geometric concepts.

Using Our Orthocenter Calculator

Our easy-to-use orthocenter calculator simplifies this geometric calculation. Simply input the x and y coordinates for each of the three vertices of your triangle. Click "Calculate Orthocenter," and the tool will instantly provide the precise coordinates of the orthocenter, saving you time and effort on manual calculations. It's perfect for students, educators, and anyone needing quick and accurate geometric solutions.

Conclusion

The orthocenter is a cornerstone concept in triangle geometry, revealing fascinating insights into the structure and properties of these fundamental shapes. Whether you're a student learning geometry, a mathematician exploring advanced concepts, or simply curious, our orthocenter calculator is here to assist you in quickly and accurately determining this important point for any triangle.