Integer triangle rational formula_14 where formula_15 reduces the generated Heronian triangle to its primitive and formula_16 scales up this primitive to the required size. A Pythagorean triangle is right angled and Heronian. Its three integer sides are known as a Pythagorean triple or Pythagorean triplet or Pythagorean triad. All Pythagorean triples formula_17 with hypotenuse formula_18 which are primitive (the sides having no common factor) can be generated by where "m" and "n" are coprime integers and one of them is even with "m" > "n". Every even number greater than 2 can be the leg of a Pythagorean triangle (not necessarily primitive)
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