Right triangle

From HandWiki
Short description: When one angle is a 90-degree angle
Right angle triangle

A right triangle (American English) or right-angled triangle (British), or more formally an orthogonal triangle, formerly called a rectangled triangle[1] (Ancient Greek:),[2] is a triangle in which one angle is a right angle (that is, a 90-degree angle), i.e., in which two sides are perpendicular. The relation between the sides and other angles of the right triangle is the basis for trigonometry.

The side opposite to the right angle is called the hypotenuse (side c in the figure). The sides adjacent to the right angle are called legs (or catheti, singular: cathetus). Side a may be identified as the side adjacent to angle B and opposed to (or opposite) angle A, while side b is the side adjacent to angle A and opposed to angle B.

If the lengths of all three sides of a right triangle are integers, the triangle is said to be a Pythagorean triangle and its side lengths are collectively known as a Pythagorean triple.

Principal properties


As with any triangle, the area is equal to one half the base multiplied by the corresponding height. In a right triangle, if one leg is taken as the base then the other is height, so the area of a right triangle is one half the product of the two legs. As a formula the area T is

[math]\displaystyle{ T=\tfrac{1}{2}ab }[/math]

where a and b are the legs of the triangle.

If the incircle is tangent to the hypotenuse AB at point P, then denoting the semi-perimeter (a + b + c) / 2 as s, we have PA = sa and PB = sb, and the area is given by

[math]\displaystyle{ T=\text{PA} \cdot \text{PB} = (s-a)(s-b). }[/math]

This formula only applies to right triangles.[3]


Altitude of a right triangle

If an altitude is drawn from the vertex with the right angle to the hypotenuse then the triangle is divided into two smaller triangles which are both similar to the original and therefore similar to each other. From this:

  • The altitude to the hypotenuse is the geometric mean (mean proportional) of the two segments of the hypotenuse.[4]:243
  • Each leg of the triangle is the mean proportional of the hypotenuse and the segment of the hypotenuse that is adjacent to the leg.

In equations,

[math]\displaystyle{ \displaystyle f^2=de, }[/math] (this is sometimes known as the right triangle altitude theorem)
[math]\displaystyle{ \displaystyle b^2=ce, }[/math]
[math]\displaystyle{ \displaystyle a^2=cd }[/math]

where a, b, c, d, e, f are as shown in the diagram.[5] Thus

[math]\displaystyle{ f=\frac{ab}{c}. }[/math]

Moreover, the altitude to the hypotenuse is related to the legs of the right triangle by[6][7]

[math]\displaystyle{ \frac{1}{a^2} + \frac{1}{b^2} = \frac{1}{f^2}. }[/math]

For solutions of this equation in integer values of a, b, f, and c, see here.

The altitude from either leg coincides with the other leg. Since these intersect at the right-angled vertex, the right triangle's orthocenter—the intersection of its three altitudes—coincides with the right-angled vertex.

Pythagorean theorem

The diagram for Euclid's proof of the Pythagorean theorem: each smaller square has area equal to the rectangle of corresponding color.
Main page: Pythagorean theorem

The Pythagorean theorem states that:

In any right triangle, the area of the square whose side is the hypotenuse (the side opposite the right angle) is equal to the sum of the areas of the squares whose sides are the two legs (the two sides that meet at a right angle).

This can be stated in equation form as

[math]\displaystyle{ \displaystyle a^2+b^2=c^2 }[/math]

where c is the length of the hypotenuse, and a and b are the lengths of the remaining two sides. Pythagorean triples are integer values of a, b, c satisfying this equation.

Inradius and circumradius

The radius of the incircle of a right triangle with legs a and b and hypotenuse c is

[math]\displaystyle{ r = \frac{a+b-c}{2} = \frac{ab}{a+b+c}. }[/math]

The radius of the circumcircle is half the length of the hypotenuse,

[math]\displaystyle{ R = \frac{c}{2}. }[/math]

Thus the sum of the circumradius and the inradius is half the sum of the legs:[8]

[math]\displaystyle{ R+r = \frac{a+b}{2}. }[/math]

One of the legs can be expressed in terms of the inradius and the other leg as

[math]\displaystyle{ \displaystyle a=\frac{2r(b-r)}{b-2r}. }[/math]


A triangle ABC with sides [math]\displaystyle{ a \le b \lt c }[/math], semiperimeter [math]\displaystyle{ s = \tfrac12(a+b+c) }[/math], area T, altitude h opposite the longest side, circumradius R, inradius r, exradii ra, rb, rc (tangent to a, b, c respectively), and medians ma, mb, mc is a right triangle if and only if any one of the statements in the following six categories is true. Each of them is thus also a property of any right triangle.

Sides and semiperimeter

  • [math]\displaystyle{ \displaystyle a^2+b^2=c^2\quad (\text{Pythagorean theorem}) }[/math]
  • [math]\displaystyle{ \displaystyle (s-a)(s-b)=s(s-c) }[/math]
  • [math]\displaystyle{ \displaystyle s=2R+r. }[/math][9]
  • [math]\displaystyle{ \displaystyle a^2+b^2+c^2=8R^2. }[/math][10]


  • A and B are complementary.[11]
  • [math]\displaystyle{ \displaystyle \cos{A}\cos{B}\cos{C}=0. }[/math][10][12]
  • [math]\displaystyle{ \displaystyle \sin^2{A}+\sin^2{B}+\sin^2{C}=2. }[/math][10][12]
  • [math]\displaystyle{ \displaystyle \cos^2{A}+\cos^2{B}+\cos^2{C}=1. }[/math][12]
  • [math]\displaystyle{ \displaystyle \sin{2A}=\sin{2B}=2\sin{A}\sin{B}. }[/math]


  • [math]\displaystyle{ \displaystyle T=\frac{ab}{2} }[/math]
  • [math]\displaystyle{ \displaystyle T=r_ar_b=rr_c }[/math]
  • [math]\displaystyle{ \displaystyle T=r(2R+r) }[/math]
  • [math]\displaystyle{ \displaystyle T=\frac{(2s-c)^2-c^2}{4}=s(s-c) }[/math]
  • [math]\displaystyle{ T=PA\cdot PB, }[/math] where P is the tangency point of the incircle at the longest side AB.[13]

Inradius and exradii

  • [math]\displaystyle{ \displaystyle r=s-c=(a+b-c)/2 }[/math]
  • [math]\displaystyle{ \displaystyle r_a=s-b=(a-b+c)/2 }[/math]
  • [math]\displaystyle{ \displaystyle r_b=s-a=(-a+b+c)/2 }[/math]
  • [math]\displaystyle{ \displaystyle r_c=s=(a+b+c)/2 }[/math]
  • [math]\displaystyle{ \displaystyle r_a+r_b+r_c+r=a+b+c }[/math]
  • [math]\displaystyle{ \displaystyle r_a^2+r_b^2+r_c^2+r^2=a^2+b^2+c^2 }[/math]
  • [math]\displaystyle{ \displaystyle r=\frac{r_ar_b}{r_c}. }[/math][14]

Altitude and medians

The altitude of a right triangle from its right angle to its hypotenuse is the geometric mean of the lengths of the segments the hypotenuse is split into. Using Pythagoras' theorem on the 3 triangles of sides (p + q, r, s), (r, h, p) and (s, h, q),
[math]\displaystyle{ \begin{align} (p + q)^2 \quad &= \quad\;\, r^2 \quad + \quad s^2 \\ p^2 \!+ 2pq + q^2 &= \left(h^2 \!\!+\! p^2\right) \!+\! \left(h^2 \!\!+\! q^2\right) \\ 2pq \qquad\, &= 2h^2 \quad \therefore h = \sqrt{pq} \\ \end{align} }[/math]
  • [math]\displaystyle{ \displaystyle h=\frac{ab}{c} }[/math]
  • [math]\displaystyle{ \displaystyle m_a^2+m_b^2+m_c^2=6R^2. }[/math][8]:Prob. 954, p. 26
  • The length of one median is equal to the circumradius.
  • The shortest altitude (the one from the vertex with the biggest angle) is the geometric mean of the line segments it divides the opposite (longest) side into. This is the right triangle altitude theorem.

Circumcircle and incircle

Trigonometric ratios

The trigonometric functions for acute angles can be defined as ratios of the sides of a right triangle. For a given angle, a right triangle may be constructed with this angle, and the sides labeled opposite, adjacent and hypotenuse with reference to this angle according to the definitions above. These ratios of the sides do not depend on the particular right triangle chosen, but only on the given angle, since all triangles constructed this way are similar. If, for a given angle α, the opposite side, adjacent side and hypotenuse are labeled O, A and H respectively, then the trigonometric functions are

[math]\displaystyle{ \sin\alpha =\frac {O}{H},\,\cos\alpha =\frac {A}{H},\,\tan\alpha =\frac {O}{A},\,\sec\alpha =\frac {H}{A},\,\cot\alpha =\frac {A}{O},\,\csc\alpha =\frac {H}{O}. }[/math]

For the expression of hyperbolic functions as ratio of the sides of a right triangle, see the hyperbolic triangle of a hyperbolic sector.

Special right triangles

The values of the trigonometric functions can be evaluated exactly for certain angles using right triangles with special angles. These include the 30-60-90 triangle which can be used to evaluate the trigonometric functions for any multiple of π/6, and the 45-45-90 triangle which can be used to evaluate the trigonometric functions for any multiple of π/4.

Kepler triangle

Let H, G, and A be the harmonic mean, the geometric mean, and the arithmetic mean of two positive numbers a and b with a > b. If a right triangle has legs H and G and hypotenuse A, then[15]

[math]\displaystyle{ \frac{A}{H} = \frac{A^{2}}{G^{2}} = \frac{G^{2}}{H^{2}} = \phi \, }[/math]


[math]\displaystyle{ \frac{a}{b} = \phi^{3}, \, }[/math]

where [math]\displaystyle{ \phi }[/math] is the golden ratio [math]\displaystyle{ \tfrac{1+ \sqrt{5}}{2}. \, }[/math] Since the sides of this right triangle are in geometric progression, this is the Kepler triangle.

Thales' theorem

Median of a right angle of a triangle

Thales' theorem states that if A is any point of the circle with diameter BC (except B or C themselves) ABC is a right triangle where A is the right angle. The converse states that if a right triangle is inscribed in a circle then the hypotenuse will be a diameter of the circle. A corollary is that the length of the hypotenuse is twice the distance from the right angle vertex to the midpoint of the hypotenuse. Also, the center of the circle that circumscribes a right triangle is the midpoint of the hypotenuse and its radius is one half the length of the hypotenuse.


The following formulas hold for the medians of a right triangle:

[math]\displaystyle{ m_a^2 + m_b^2 = 5m_c^2 = \frac{5}{4}c^2. }[/math]

The median on the hypotenuse of a right triangle divides the triangle into two isosceles triangles, because the median equals one-half the hypotenuse.

The medians ma and mb from the legs satisfy[8]:p.136,#3110

[math]\displaystyle{ 4c^4+9a^2b^2=16m_a^2m_b^2. }[/math]

Euler line

In a right triangle, the Euler line contains the median on the hypotenuse—that is, it goes through both the right-angled vertex and the midpoint of the side opposite that vertex. This is because the right triangle's orthocenter, the intersection of its altitudes, falls on the right-angled vertex while its circumcenter, the intersection of its perpendicular bisectors of sides, falls on the midpoint of the hypotenuse.


In any right triangle the diameter of the incircle is less than half the hypotenuse, and more strongly it is less than or equal to the hypotenuse times [math]\displaystyle{ (\sqrt{2}-1). }[/math][16]:p.281

In a right triangle with legs a, b and hypotenuse c,

[math]\displaystyle{ c \geq \frac{\sqrt{2}}{2}(a+b) }[/math]

with equality only in the isosceles case.[16]:p.282,p.358

If the altitude from the hypotenuse is denoted hc, then

[math]\displaystyle{ h_c \leq \frac{\sqrt {2}}{4}(a+b) }[/math]

with equality only in the isosceles case.[16]:p.282

Other properties

If segments of lengths p and q emanating from vertex C trisect the hypotenuse into segments of length c/3, then[4]:pp. 216–217

[math]\displaystyle{ p^2 + q^2 = 5\left(\frac{c}{3}\right)^2. }[/math]

The right triangle is the only triangle having two, rather than one or three, distinct inscribed squares.[17]

Given h > k. Let h and k be the sides of the two inscribed squares in a right triangle with hypotenuse c. Then

[math]\displaystyle{ \frac{1}{c^2} + \frac{1}{h^2} = \frac{1}{k^2}. }[/math]

These sides and the incircle radius r are related by a similar formula:

[math]\displaystyle{ \displaystyle \frac{1}{r}=-{\frac{1}{c}}+\frac{1}{h}+\frac{1}{k}. }[/math]

The perimeter of a right triangle equals the sum of the radii of the incircle and the three excircles:

[math]\displaystyle{ a+b+c=r+r_a+r_b+r_c. }[/math]

See also


  1. Howard, G.S.; Bettesworth, J.; Boswell, H.; Stonehouse, F.; Hogg, A. (1788). THE NEW ROYAL CYCLOPAEDIA.... https://books.google.com/books?id=eLIlOGJnFbIC&pg=PA1787. Retrieved 2022-03-07. 
  2. Daniel Parrochia (24 July 2018). Mathematics and Philosophy. John Wiley & Sons. pp. 72–. ISBN 978-1-78630-209-0. https://books.google.com/books?id=0JFeDwAAQBAJ&pg=PA72. 
  3. Di Domenico, Angelo S., "A property of triangles involving area", Mathematical Gazette 87, July 2003, pp. 323–324.
  4. 4.0 4.1 Posamentier, Alfred S., and Salkind, Charles T. Challenging Problems in Geometry, Dover, 1996.
  5. Wentworth p. 156
  6. Voles, Roger, "Integer solutions of [math]\displaystyle{ a^{-2} + b^{-2} = d^{-2} }[/math]," Mathematical Gazette 83, July 1999, 269–271.
  7. Richinick, Jennifer, "The upside-down Pythagorean Theorem," Mathematical Gazette 92, July 2008, 313–317.
  8. 8.0 8.1 8.2 8.3 8.4 Inequalities proposed in "Crux Mathematicorum", [1].
  9. "Triangle right iff s = 2R + r, Art of problem solving, 2011". http://www.artofproblemsolving.com/Forum/viewtopic.php?f=46&t=411120. 
  10. 10.0 10.1 10.2 10.3 Andreescu, Titu and Andrica, Dorian, "Complex Numbers from A to...Z", Birkhäuser, 2006, pp. 109–110.
  11. "Properties of Right Triangles". http://www.ricksmath.com/right-triangles.html. 
  12. 12.0 12.1 12.2 CTK Wiki Math, A Variant of the Pythagorean Theorem, 2011, [2] .
  13. Darvasi, Gyula (March 2005), "Converse of a Property of Right Triangles", The Mathematical Gazette 89 (514): 72–76, doi:10.1017/S0025557200176806 .
  14. Bell, Amy (2006), "Hansen's Right Triangle Theorem, Its Converse and a Generalization", Forum Geometricorum 6: 335–342, http://forumgeom.fau.edu/FG2006volume6/FG200639.pdf 
  15. Di Domenico, A., "The golden ratio — the right triangle — and the arithmetic, geometric, and harmonic means," Mathematical Gazette 89, July 2005, 261. Also Mitchell, Douglas W., "Feedback on 89.41", vol 90, March 2006, 153–154.
  16. 16.0 16.1 16.2 Posamentier, Alfred S., and Lehmann, Ingmar. The Secrets of Triangles. Prometheus Books, 2012.
  17. Bailey, Herbert, and DeTemple, Duane, "Squares inscribed in angles and triangles", Mathematics Magazine 71(4), 1998, 278–284.

External links