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
Special right triangle its sides be in a geometric progression. The 3–4–5 triangle is the unique right triangle (up to scaling) whose sides are in an arithmetic progression. Let be the side length of a regular decagon inscribed in the unit circle, where "φ" is the golden ratio. Let be the side length of a regular hexagon in the unit circle, and let {2}}</math>}} be the side length of a regular pentagon in the unit circle. Then , so these three lengths form the sides of a right triangle. The same triangle forms half of a golden rectangle. It may also be found