The given differential equation is
xdxdy+2y=x2logx
Dividing every term by x
(to make the coefficient of dxdy unity),
dxdy+x2y=xlogx
Linear Differential Equation
It is of the form
dxdy+Py=Q
Comparing,
P=x2,Q=xlogx
Integrating Factor
∫Pdx=2∫x1dx=2logx
I.F.=e∫Pdx=e2logx=elogx2=x2
General Solution
y(I.F.)=∫Q(I.F.)dx+c
⇒yx2=∫(xlogx)x2dx+c
=∫x3logxdx+c
Evaluation of Integral
Applying integration by parts,
∫x3logxdx=logx⋅4x4−∫x1⋅4x4dx
=4x4logx−41∫x3dx
=4x4logx−16x4
Substituting Back
yx2=4x4logx−16x4+c
Dividing every term by x2,
y=4x2logx−16x2+x2c
=16x2(4logx−1)+x2c
y=16x2(4logx−1)+x2c
which is the required general solution.