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
Triangle the circumcenter is located on a side of the triangle, then the opposite angle is a right one. If the circumcenter is located inside the triangle, then the triangle is acute; if the circumcenter is located outside the triangle, then the triangle is obtuse. An altitude of a triangle is a straight line through a vertex and perpendicular to (i.e. forming a right angle with) the opposite side. This opposite side is called the "base" of the altitude, and the point where the altitude intersects the base (or its extension) is called the "foot" of the altitude. The length of