# Trigonometry/For Enthusiasts/A Generalization of Pythagoras' Theorem

## Arbitrary triangle[edit]

At any selected angle of a general triangle of sides *a, b, c*, inscribe an isosceles triangle such that the equal angles at its base θ are the same as the selected angle. Suppose the selected angle θ is opposite the side labeled *c*. Inscribing the isosceles triangle forms triangle *ABD* with angle θ opposite side *a* and with side *r* along *c*. A second triangle is formed with angle θ opposite side *b* and a side with length *s* along *c*, as shown in the figure. Tâbit ibn Qorra^{[2]} stated that the sides of the three triangles were related as:^{[3]}^{[4]}

As the angle θ approaches π/2, the base of the isosceles triangle narrows, and lengths *r* and *s* overlap less and less. When θ = π/2, *ADB* becomes a right triangle, *r* + *s* = *c*, and the original Pythagoras' theorem is regained.

One proof observes that triangle *ABC* has the same angles as triangle *ABD*, but in opposite order. (The two triangles share the angle at vertex B, both contain the angle θ, and so also have the same third angle by the triangle postulate.) Consequently, *ABC* is similar to the reflection of *ABD*, the triangle *DBA* in the lower panel. Taking the ratio of sides opposite and adjacent to θ,

Likewise, for the reflection of the other triangle,

Clearing fractions and adding these two relations:

the required result.

## Credits[edit]

- Original content from Wikipedia w:Pythagorean Theorem