The integrating factor of the linear differential equation $\dfrac{dy}{dx} + \dfrac{y}{x} = x^2$ is:
- $x$
- $\log x$
- $x^2$
- $e^x$
Show answer and solution
Correct answer: A. $x$
Comparing with $\dfrac{dy}{dx} + P y = Q$ gives $P = 1/x$.
**Hence $\text{IF} = e^{\int P\,dx} = e^{\int (1/x)\,dx} = e^{\log x} = x$.**