The differential equation representing the family of curves \(y = Ax+\displaystyle\frac{B}{x};x\ne0\), where A and B are arbitrary constants, is given by
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(x^2\displaystyle\frac{d^2y}{dx^2}+x\frac{dy}{dx}-y=0\)
There are two arbitrary constants, so we differentiate twice and eliminate A and B. Multiplying the equation by x first removes B at once:
\(xy = Ax^2 + B\)
Differentiating with respect to x:
\( \displaystyle y + x\frac{dy}{dx} = 2Ax \)
Dividing by x:
\( \displaystyle \frac{y}{x} + \frac{dy}{dx} = 2A \)
Differentiating again (the right side is a constant):
\( \displaystyle \frac{x\frac{dy}{dx} - y}{x^2} + \frac{d^2y}{dx^2} = 0 \)
Multiplying by \(x^2\):
\( \displaystyle x^2\frac{d^2y}{dx^2} + x\frac{dy}{dx} - y = 0 \)