Skip to content
Surf Wiki
Save to docs
general/parts-of-a-triangle

From Surf Wiki (app.surf) — the open knowledge base

Hypotenuse

Longest side of a right-angled triangle, the side opposite of the right angle

Hypotenuse

Summary

Longest side of a right-angled triangle, the side opposite of the right angle

A right-angled triangle and its hypotenuse

In geometry, a hypotenuse is the side of a right triangle that is opposite to the right angle. It is always the longest side of the triangle. The other two sides of a right triangle are called legs or catheti.

The length of the hypotenuse can be found using the Pythagorean theorem, which states that the square of the length of the hypotenuse equals the sum of the squares of the lengths of the other two sides. As an algebraic formula, this can be written as a^2 + b^2 = c^2, where is the length of one leg, is the length of the other leg, and is the length of the hypotenuse. For example, if the two legs of a right triangle have lengths 3 and 4, respectively, then the hypotenuse has length 5, because .

Etymology

The English word hypotenuse is derived from the Greek word hypoteinousa (ὑποτείνουσα), which means "stretching under". It refers to how the hypotenuse "stretches under" the right angle.

Plato used the word in the 4th century BCE. It was loaned into Latin as hypotenusa and later into French as hypoténuse. It first appeared in English in the 1570s.

Properties

Calculating the hypotenuse

Pythagorean theorem

A right triangle with a square attached to each edge
An illustration of the Pythagorean theorem

Main article: Pythagorean theorem

The Pythagorean theorem states that the square of the length of the hypotenuse () is equal to the sum of the squares of the lengths of the other two sides ( and ). This can be written as the equation . To calculate the length of the hypotenuse, the equation can be rearranged to solve for by taking the square root of both sides, yielding . This is sometimes known as Pythagorean addition. For example, if the two legs of a right triangle have lengths 3 and 4, respectively, then the hypotenuse has length 5, because .

The Pythagorean theorem is a special case of the law of cosines, a more general theorem relating the lengths of sides in any triangle. It states that where is the angle between sides and . When is radians or 90°, then and the formula reduces to the usual Pythagorean theorem.

Sine and cosine

1=''α''}}, the sine function gives the ratio of the length of the opposite side to the length of the hypotenuse.

Main article: Sine and cosine

The sine and cosine functions (sin and cos) describe the relationship of the hypotenuse to the lengths and angles of the other two sides. These, along with tangent (tan), are the most common trigonometric functions.

The trig functions are usually described in terms of one of the acute angles of a right triangle (), the leg that is adjacent to that angle, and the leg that is opposite that angle. The sine of the acute angle gives the ratio of the opposite leg to the hypotenuse, while the cosine of the angle gives the ratio of the adjacent leg to the hypotenuse. This can be written as the equations: \sin(\angle A) = \frac{\text{opposite}}{\text{hypotenuse}}, \qquad \cos(\angle A) = \frac{\text{adjacent}}{\text{hypotenuse}}.

The definitions of the sine, cosine and tangent functions are often remembered using the mnemonic "SOH-CAH-TOA", where "SOH" stands for "sine = opposite / hypotenuse", "CAH" stands for "cosine = adjacent / hypotenuse", and "TOA" stands for "tangent = opposite / adjacent".

In computer programming

Many programming languages support a version of the ISO C standard function hypot(x, y), which calculates the hypotenuse of a right triangle using the Pythagorean theorem. The function is designed not to fail where the straightforward calculation might overflow or underflow. It can often be more accurate and slower than the straightforward calculation.

Some languages have extended the definition to higher dimensions. For example, C++17 supports std::hypot(x, y, z) which gives the length of the diagonal of a rectangular cuboid with edge lengths x, y, and z. Python 3.8 includes a version of math.hypot which can handle an arbitrary number of arguments.

Notes

References

References

  1. {{Cite EB1911
  2. Africk, Henry. (2021). "Elementary College Geometry". New York City College of Technology.
  3. Weisstein, Eric W.. "Cathetus". Wolfram Research.
  4. Moland Jr, Jesse. (August 2009). "I Hate Trig!: A Practical Guide to Understanding Trigonometry". Jesse Moland.
  5. "hypotenuse".
  6. "hypotenuse definition and word origin". Collins.
  7. (1871). "Timaeus (Jowett)".
  8. "Hypotenuse".
  9. (1983). "Replacing square roots by Pythagorean sums". IBM Journal of Research and Development.
  10. Leff, Lawrence S.. (2005-05-01). "PreCalculus the Easy Way". Barron's Educational Series.
  11. "hypot(3)". Linux Programmer's Manual.
  12. Horton, Ivor. (2005). "Ivor Horton's Beginning Java 2". John Wiley & Sons.
  13. Hill, Christian. (2020). "Learning Scientific Programming with Python". Cambridge University Press.
  14. "C++ std::hypot". C++ Language Manual.
  15. "Python math.hypot". Python Language Manual.
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Hypotenuse — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report