Given, (xlogx)dxdy+y=2xlogx
⇒dxdy+(xlogx1)y=2
Integrating factor I.F=e∫Pdx=e∫xlogx1dx=e∫logx1/xdx=elog(logx)=logx
The solution of the equation becomes
y⋅e∫Pdx=∫Q⋅e∫Pdxdx+c, where, c is the constant of integration.
⇒ylogx=∫2logxdx+c
⇒ylogx=2(xlogx−x)+c
Let, P(1,y1) be any point on the curve.
⇒y1⋅(0)=2(0−1)+c⇒c=2
⇒ylogx=2(xlogx−x)+2
Now, putting x=e, we get, y=2.