Distance from a point to a line the perpendicular "R". Draw the vertical line through "P" and label its intersection with the given line "S". At any point "T" on the line, draw a right triangle "TVU" whose sides are horizontal and vertical line segments with hypotenuse "TU" on the given line and horizontal side of length |"B"| (see diagram). The vertical side of ∆"TVU" will have length |"A"| since the line has slope -"A"/"B". ∆"PRS" and ∆"TVU" are similar triangles, since they are both right triangles and ∠"PSR" ≅ ∠"TUV" since they are corresponding angles of a transversal to the parallel lines "PS" and "UV" (both
Right triangle legs can be expressed in terms of the inradius and the other leg as A triangle "ABC" with sides formula_13, semiperimeter "s", area "T", altitude "h" opposite the longest side, circumradius "R", inradius "r", exradii "r", "r", "r" (tangent to "a", "b", "c" respectively), and medians "m", "m", "m" 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. The trigonometric functions for acute angles can be defined as ratios of the sides of