The solution of the differential equation $x \frac{dy}{dx} + 2y = x^2$ is:
Show Hint
Differentiating the LHS of the solution $y x^2$ yields $x^2 \frac{dy}{dx} + 2xy$, which is precisely $x$ times the LHS of the original differential equation. This is a quick way to verify the integrating factor.