# Right triangle

Right triangle

A right triangle (American English) or right-angled triangle (British English) is a triangle in which one angle is a right angle (that is, a 90-degree angle). The relation between the sides and angles of a right triangle is the basis for trigonometry.

The side opposite the right angle is called the hypotenuse (side c in the figure above). 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

### Area

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

$T=\tfrac{1}{2}ab$

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 = s − a and PB = s − b, and the area is given by

$T=\text{PA} \cdot \text{PB} = (s-a)(s-b).$

This formula only applies to right triangles.[1]

### Altitude

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 is the geometric mean (mean proportional) of the two segments of the hypotenuse.
• 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,

$\displaystyle f^2=de,$ (this is sometimes known as the right triangle altitude theorem)
$\displaystyle b^2=ce,$
$\displaystyle a^2=cd$

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

$f=\frac{ab}{c}.$

Moreover, the altitude to the hypotenuse is related to the legs of the right triangle by[3][4]

$\frac{1}{a^2} + \frac{1}{b^2} = \frac{1}{f^2}.$

### Pythagorean theorem

Main article: 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

$\displaystyle a^2+b^2=c^2$

where c is the length of the hypotenuse, and a and b are the lengths of the remaining two sides.

### Inradius and circumradius

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

$r = \frac{a+b-c}{2} = \frac{ab}{a+b+c}.$

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

$R = \frac{c}{2}.$

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

$\displaystyle a=\frac{2r(b-r)}{b-2r}.$
↑Jump back a section

## Characterizations

A triangle ABC with sides $a \le b < c$, semiperimeter s, 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. All of them are of course also properties of a right triangle, since characterizations are equivalences.

### Sides and semiperimeter

• $\displaystyle a^2+b^2=c^2\quad (\text{Pythagoras})$
• $\displaystyle (s-a)(s-b)=s(s-c)$
• $\displaystyle s=2R+r.$[5]
• $\displaystyle a^2+b^2+c^2=8R^2.$[6]

### Angles

• A and B are complementary.[7]
• $\displaystyle \cos{A}\cos{B}\cos{C}=0.$[6][8]
• $\displaystyle \sin^2{A}+\sin^2{B}+\sin^2{C}=2.$[6][8]
• $\displaystyle \cos^2{A}+\cos^2{B}+\cos^2{C}=1.$[8]

### Area

• $\displaystyle T=\frac{ab}{2}$
• $\displaystyle T=r_ar_b=rr_c$
• $\displaystyle T=r(2R+r)$
• $T=PA\cdot PB,$ where P is the tangency point of the incircle at the longest side AB.[9]

### Inradius and exradii

• $\displaystyle r=s-c$
• $\displaystyle r_a=s-b$
• $\displaystyle r_b=s-a$
• $\displaystyle r_c=s$
• $\displaystyle r_a+r_b+r_c+r=a+b+c$
• $\displaystyle r_a^2+r_b^2+r_c^2+r^2=a^2+b^2+c^2$
• $\displaystyle r=\frac{r_ar_b}{r_c}$

### Altitude and medians

• $\displaystyle h=\frac{ab}{c}$
• $\displaystyle m_a^2+m_b^2+m_c^2=6R^2.$[11]
• 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

• The triangle can be inscribed in a semicircle, with one side coinciding with the entirety of the diameter (Thales' theorem).
• The circumcenter is the midpoint of the longest side.
• The longest side is a diameter of the circumcircle $\displaystyle (c=2R).$
• The circumcircle is tangent to the nine-point circle.[6]
• The orthocenter lies on the circumcircle.[11]
• The distance between the incenter and the orthocenter is equal to $\sqrt{2}r$.[11]
↑Jump back a section

## 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

$\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}.$
↑Jump back a section

## Special right triangles

Main article: 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.

The hyperbolic triangle is a special right triangle used to define the hyperbolic functions.

↑Jump back a section

## Thales' theorem

Main article: 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.

↑Jump back a section

## Medians

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

$m_a^2 + m_b^2 = 5m_c^2 = \frac{5}{4}c^2.$

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

↑Jump back a section

## Relation to various means and the golden ratio

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[12]

$\frac{A}{H} = \frac{A^{2}}{G^{2}} = \frac{G^{2}}{H^{2}} = \phi \,$

and

$\frac{a}{b} = \phi^{3}, \,$

where $\phi$ is the golden ratio $\tfrac{1+ \sqrt{5}}{2}. \,$

↑Jump back a section

## Other properties

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

$p^2 + q^2 = 5\left(\frac{c}{3}\right)^2.$

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

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

$\frac{1}{c^2} + \frac{1}{h^2} = \frac{1}{k^2}.$

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

↑Jump back a section

## References

1. Di Domenico, Angelo S., "A property of triangles involving area", 87, July 2003, pp. 323-324.
2. Wentworth p. 156
3. Voles, Roger, "Integer solutions of $a^{-2} + b^{-2} = d^{-2}$," Mathematical Gazette 83, July 1999, 269–271.
4. Richinick, Jennifer, "The upside-down Pythagorean Theorem," Mathematical Gazette 92, July 2008, 313–317.
5. Triangle right iff s = 2R + r, Art of problem solving, 2011, [1]
6. ^ a b c d Andreescu, Titu and Andrica, Dorian, "Complex Numbers from A to...Z", Birkhäuser, 2006, pp. 109-110.
7. ^ a b c CTK Wiki Math, A Variant of the Pythagorean Theorem, 2011, [2].
8. Darvasi, Gyula (March 2005), "Converse of a Property of Right Triangles", The Mathematical Gazette 89 (514): 72–76 .
9. Bell, Amy (2006), "Hansen's Right Triangle Theorem, Its Converse and a Generalization", Forum Geometricorum 6: 335–342 .
10. ^ a b c Inequalities proposed in “Crux Mathematicorum”, Problem 954, p. 26, [3].
11. 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.
12. Posamentier, Alfred S., and Salkind, Charles T. Challenging Problems in Geometry, Dover, 1996.
13. Bailey, Herbert, and DeTemple, Duane, "Squares inscribed in angles and triangles", 71(4), 1998, 278-284.
↑Jump back a section
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 43, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8467720746994019, "perplexity_flag": "middle"}