Q73 / 150 · MHT CET 2025 (23 Apr Shift 2) · Mathematics
The integrating factor of $\mathrm{y}+\frac{\mathrm{d}}{\mathrm{d} x}(x \mathrm{y})=x(\sin x+\log x)$ is
- A$x$
- B$\log x^2$
- Correct answerC$x^2$
- D$x^3$
Solution
Rewriting the given differential equation $y + \frac{d}{dx}(xy) = x(\sin x + \log x)$ in standard form, we apply the product rule to $\frac{d}{dx}(xy)$ yielding $y + x\frac{dy}{dx}$.
Substituting gives $y + y + x\frac{dy}{dx} = x(\sin x + \log x)$ or $2y + x\frac{dy}{dx} = x(\sin x + \log x)$.
Dividing by $x$ produces $\frac{dy}{dx} + \frac{2}{x}y = \sin x + \log x$, revealing $P(x) = \frac{2}{x}$.
The integrating factor is $e^{\int P(x) dx} = e^{\int \frac{2}{x} dx} = e^{2\log|x|} = x^2$.
Final Answer: $\boxed{\text{C}}$
Hence, the correct answer is option: 'C'.