Step 1: Rewriting the Equation in Standard Form
The given equation:
\[
x \frac{dy}{dx} + 2y = x^2 \log x
\]
can be rewritten as:
\[
\frac{dy}{dx} + \frac{2}{x} y = x \log x
\]
Step 2: Determining the Integrating Factor (IF)
The integrating factor is computed as:
\[
IF = e^{\int P(x) dx} = e^{\int \frac{2}{x} dx} = e^{2\ln x} = x^2
\]