Triangle the hypotenuse equals the sum of the squares of the lengths of the two other sides. If the hypotenuse has length "c", and the legs have lengths "a" and "b", then the theorem states that The converse is true: if the lengths of the sides of a triangle satisfy the above equation, then the triangle has a right angle opposite side "c". Some other facts about right triangles: For all triangles, angles and sides are related by the law of cosines and law of sines (also called the "cosine rule" and "sine rule"). The triangle inequality states that the sum
Altitude (triangle) The orthocenter lies inside the triangle if and only if the triangle is acute (i.e. does not have an angle greater than or equal to a right angle). If one angle is a right angle, the orthocenter coincides with the vertex at the right angle. Let denote the vertices and also the angles of the triangle, and let be the side lengths. The orthocenter has trilinear coordinates formula_2 and barycentric coordinates Since barycentric coordinates are all positive for a point in a triangle's interior but at least one is negative for a point in the exterior, and two of the