Special right triangle : , which follows immediately from the Pythagorean theorem. Of all right triangles, the 45°–45°–90° degree triangle has the smallest ratio of the hypotenuse to the sum of the legs, namely . Of all right triangles, the 45°–45°–90° degree triangle has the greatest ratio of the altitude from the hypotenuse to the sum of the legs, namely . Triangles with these angles are the only possible right triangles that are also isosceles triangles in Euclidean geometry. However, in spherical geometry and hyperbolic geometry, there are infinitely many different shapes of right isosceles triangles. This is a triangle whose three angles
Acute and obtuse triangles according to This implies that the longest side in an obtuse triangle is the one opposite the obtuse-angled vertex. An acute triangle has three inscribed squares, each with one side coinciding with part of a side of the triangle and with the square's other two vertices on the remaining two sides of the triangle. (In a right triangle two of these are merged into the same square, so there are only two distinct inscribed squares.) However, an obtuse triangle has only one inscribed square, one of whose sides coincides with part of the longest side of the triangle. All triangles