Solveeit Logo

Question

Mathematics Question on Horizontal and vertical lines

The distance between the parallel lines y=x+a,y=x+by=x+a,\,\,y=x+b is

A

ba2\frac{|b-a|}{\sqrt{2}}

B

ab|a-b|

C

a+b|a+b|

D

a+b2\frac{|a+b|}{\sqrt{2}}

Answer

ba2\frac{|b-a|}{\sqrt{2}}

Explanation

Solution

The distance between two parallel lines
=c1c2a2+b2=\frac{|{{c}_{1}}-{{c}_{2}}|}{\sqrt{{{a}^{2}}+{{b}^{2}}}}
\therefore Distance =ba12+12=\frac{|b-a|}{\sqrt{{{1}^{2}}+{{1}^{2}}}} =ba2=\frac{|b-a|}{\sqrt{2}}