The equation of the family of non-vertical lines in a plane, say, the X‒Y plane, is
...(1)
where are two arbitrary constants.
As this equation has two arbitrary constants, we shall get a second-order differential equation.
Differentiating (1) with respect to , we get
...(2)
Differentiating (2) with respect to , we get
It is the required differential equation.