Formula to find distance between two parallel line:
Consider two parallel lines are shown in the following form :
\(y = mx + c_1\) …(i)
\(y = mx + c_2\) ….(ii)
Here, m = slope of line
Then, the formula for shortest distance can be written as given below:
\(d= \frac{|c_2-c_1|}{\sqrt{1+m^2}}\)
If the equations of two parallel lines are demonstrated in the following way :
\(ax + by + d_1 = 0\)
\(ax + by + d_2 = 0\)
then there is a little change in the formula.
\(d= \frac{|d_2-d_1|}{\sqrt{a^2+b^2}}\)