# Distance between the line and point

DISTANCE BETWEEN THE LINE AND POINT:
Line: $ay+bx+c=0$, point $(x_1,y_1)$

$d=\frac{|ay_1+bx_1+c|}{\sqrt{a^2+b^2}}$

DISTANCE BETWEEN THE LINE AND ORIGIN:
As origin is $(0,0)$ -->

$d=\frac{|c|}{\sqrt{a^2+b^2}}$