Equation of lines situated at a constant distance p from the origin, is given by,
xcosθ+ysinθ=p........(1)
differentiating on both sides w.r.t x, we get,
cosθ+dydxsinθ=0
⇒cosθ=−dydxsinθ
substitute the above value in equation (1)
x(−dydxsinθ)+ysinθ=p.......(2)
differentiating both sides of eqn (2) w.r.t x, we get,
xd2ydx2sinθ−dydxsinθ+dydxsinθ=0
xd2ydx2−dydx+dydx=0
xd2ydx2=0
Is the required differential equation.