Distance from a Point to a Line
The shortest (perpendicular) distance from the point to the line . It is used in geometry problems, in computer graphics and to find the radius of a circle tangent to a line.
LaTeX
d=\frac{|Ax_0+By_0+C|}{\sqrt{A^2+B^2}}Variables
- coefficients of the line (A, B not both 0)
- the point
Example
Distance from to .
- .
Answer: .