Question
Mathematics Question on Horizontal and vertical lines
The distance between the parallel lines y=x+a,y=x+b is
A
2∣b−a∣
B
∣a−b∣
C
∣a+b∣
D
2∣a+b∣
Answer
2∣b−a∣
Explanation
Solution
The distance between two parallel lines
=a2+b2∣c1−c2∣
∴ Distance =12+12∣b−a∣ =2∣b−a∣