Perpendicular distance

From Wikipedia, the free encyclopedia

In geometry, perpendicular distance distance from a point (x1,y1) to the line ax + by + c = 0 is given by

d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}.