Given differential equation is ⇒dxdy+xlogxy=2
This is a linear differential equation. ∴ IF =e∫xlogx1dx=elog(logx)=logx
Now, the solution of given differential equation is given by y⋅logx=∫logx⋅2dx ⇒y⋅logx=2∫logxdx ⇒y⋅logx=2[xlogx−x]+c
At x=1⇒c=2 ⇒y⋅logx=2[xlogx−x]+2
At x=e,y=2(e−e)+2 ⇒y=2