The distance between the lines $ y = mx + {c_1} $ and $ y = mx + {c_2} $ is
(A) $ \frac{{{c_1} - {c_2}}}{{\sqrt {{m^2} + 1} }} $
(B) $ \frac{{\left| {{c_1} - {c_2}} \right|}}{{\sqrt {1 + {m^2}} }} $
(C) $ \frac{{{c_2} - {c_1}}}{{\sqrt {1 + {m^2}} }} $
(D) 0
Show solutionHide solution
Ans:
Given: $ y = mx + {c_1} $ and $ y = mx + {c_2} $ .
Let $ P\left( {{x_1},{y_1}} \right) $ be a point on $ y = mx + {c_1} $ .
The other line is: $ y = mx + {c_2} $ i.e. $ mx - y + {c_2} = 0 $ .
Distance of $ P\left( {{x_1},{y_1}} \right) $ from this line is $ d = \frac{{\left| {m{x_1} - {y_1} + {c_2}} \right|}}{{\sqrt {{m^2} + 1} }} $ .
$ P\left( {{x_1},{y_1}} \right) $ lies on $ y = mx + {c_1} $ ,
$ \Rightarrow {y_1} = m{x_1} + {c_1} $
$ \Rightarrow m{x_1} - {y_1} = - {c_1} $
$ \Rightarrow d = \frac{{\left| {{c_1} - {c_2}} \right|}}{{\sqrt {{m^2} + 1} }} $
Hence, distance is $ \frac{{\left| {{c_1} - {c_2}} \right|}}{{\sqrt {{m^2} + 1} }} $ .
Correct Option: B