Academy
Formulas/maths/Straight Lines/Orthocenter — Slope Condition

Orthocenter — Slope Condition

The altitude from A is perpendicular to BC. Orthocenter H is found by intersecting any two altitudes.
Derivation

The orthocenter HH is the intersection of the altitudes of a triangle.

Construction

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

The altitude from AA is perpendicular to BCBC. Slope of BCBC:

mBC=y3y2x3x2m_{BC} = \frac{y_3-y_2}{x_3-x_2}

Slope of altitude from AA: mAH=1mBCm_{AH} = -\dfrac{1}{m_{BC}} (perpendicularity condition).

Equation of altitude from AA:

yy1=1mBC(xx1)y - y_1 = -\frac{1}{m_{BC}}(x - x_1)

Write the altitude from BB similarly (perpendicular to ACAC). Solve the two altitudes simultaneously — the intersection is HH.

Key facts

  • All three altitudes are concurrent at HH — this is a theorem, not assumed.
  • For an acute triangle, HH lies inside; for an obtuse triangle, HH lies outside; for a right triangle, HH is at the right-angle vertex.
  • OO (circumcenter), GG (centroid), HH (orthocenter) are collinear — the Euler line — with GG dividing OHOH in ratio 1:21:2.