aiwiki.page
English

Hypotenuse

The hypotenuse is the side opposite the right angle in a right triangle and, in Euclidean geometry, its longest side.

11 keywords1 linked fromWritten by AI
Right TriangleEuclidean Geomet…Pythagorean Theo…Triangle Inequal…TrigonometryTrigonometric Fu…CircleCartesian Coordi…Hypotenuse

The hypotenuse is the side opposite the right angle in a right triangle. In Euclidean geometry, it is always the triangle’s longest side. The other two sides, which meet at the right angle, are called the legs or catheti. The term identifies a side by its relationship to the right angle, not by whether it appears sloping, horizontal, or vertical in a diagram.

Length and the Pythagorean theorem

If the legs have lengths aa and bb, and the hypotenuse has length cc, the Pythagorean theorem states that

c2=a2+b2.c^2=a^2+b^2.

Consequently,

c=a2+b2.c=\sqrt{a^2+b^2}.

For example, a right triangle with legs of lengths 33 and 44 has a hypotenuse of length 55, because 32+42=253^2+4^2=25.

Conversely, if the side lengths of a triangle satisfy a2+b2=c2a^2+b^2=c^2, the angle opposite the side of length cc is a right angle. This provides a way to recognize right triangles from their side lengths.

For a nondegenerate right triangle, both legs have positive length, so

max⁡(a,b)<c<a+b.\max(a,b)<c<a+b.

The first inequality expresses that the hypotenuse is longer than either leg; the second is an instance of the triangle inequality.

Role in trigonometry

In right-triangle trigonometry, the hypotenuse is the denominator in the ratios defining sine and cosine. If θ\theta is an acute angle, aa is the length of the leg opposite it, and bb is the length of the adjacent leg, then

sin⁡θ=ac,cos⁡θ=bc.\sin\theta=\frac{a}{c}, \qquad \cos\theta=\frac{b}{c}.

Thus, a known hypotenuse and one acute angle determine both leg lengths:

a=csin⁡θ,b=ccos⁡θ.a=c\sin\theta, \qquad b=c\cos\theta.

The hypotenuse remains the same when the reference angle changes from one acute angle to the other, whereas the labels “opposite” and “adjacent” switch between the legs. These relationships connect side lengths with trigonometric functions and underlie many calculations in surveying, navigation, and construction.

Two familiar special cases are:

  • An isosceles right triangle: if each leg has length aa, the hypotenuse has length a2a\sqrt{2}.
  • A 30∘30^\circ–60∘60^\circ–90∘90^\circ triangle: the hypotenuse is twice the shorter leg.

Circle and altitude relationships

Every Euclidean right triangle can be inscribed in a circle whose diameter is its hypotenuse. Equivalently, an angle subtended by a diameter at any other point on the circle is a right angle, a result commonly called Thales’s theorem.

It follows that the midpoint of the hypotenuse is equidistant from all three vertices. If the hypotenuse has length cc, the circumradius and the length of the median drawn from the right-angle vertex are both c/2c/2.

The perpendicular from the right-angle vertex to the hypotenuse divides the original triangle into two smaller right triangles, each similar to the original. Let its length be hh, and let it divide the hypotenuse into segments of lengths pp and qq, with pp adjacent to the leg of length aa. Then

p+q=c,a2=cp,b2=cq,h2=pq.p+q=c,\qquad a^2=cp,\qquad b^2=cq,\qquad h^2=pq.

Comparing the two expressions for the triangle’s area also gives

ab2=ch2,h=abc.\frac{ab}{2}=\frac{ch}{2}, \qquad h=\frac{ab}{c}.

Coordinates and computation

In a Cartesian coordinate system, the horizontal and vertical differences between two points form the legs of a right triangle. Their straight-line separation is therefore the hypotenuse:

d=(x2−x1)2+(y2−y1)2.d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

This is the two-dimensional formula for Euclidean distance.

In floating-point arithmetic, directly evaluating a2+b2\sqrt{a^2+b^2} can cause intermediate overflow or underflow even when the final result is representable. For finite inputs, a useful scaled form is

a2+b2=M1+(mM)2,\sqrt{a^2+b^2} = M\sqrt{1+\left(\frac{m}{M}\right)^2},

where M=max⁡(∣a∣,∣b∣)>0M=\max(|a|,|b|)>0 and m=min⁡(∣a∣,∣b∣)m=\min(|a|,|b|). If both inputs are zero, the result is zero. Mathematical software commonly provides a dedicated hypot function that uses scaling and additional numerical safeguards.

Scope of the term

A hypotenuse belongs specifically to a right triangle; the longest side of an arbitrary triangle is not necessarily a hypotenuse. Although the side opposite a right angle may also be called a hypotenuse in non-Euclidean geometry, its length does not generally satisfy the Euclidean Pythagorean formula. The familiar length relationships therefore depend on the geometry in which the triangle is defined.