The formula for the distance \(d\) from a point \((x_0, y_0)\) to a line \(Ax + By + C = 0\) is given by:
\[
d = \frac{|Ax_0 + By_0 + C|}{\sqrt{A^2 + B^2}}
\]
For the line \(ax + by = 0\), we have \(A = a\), \(B = b\), and \(C = 0\). Plugging these into the
Show more…