Let y=y(x) be the solution of the differential equation xlogex dydx+y=x2logex,(x>1). If y(2)=2, then y(e) is equal to [2023]
(2)
Given: xlogexdydx+y=x2logex(x>1)
⇒dydx+yxlnx=x which is a linear differential equation.
whose Integrating factor is given by
I.F.=e∫1xlnxdx=ln|x|
yln|x|=x22 lnx-∫1x·x22dx ...(i)
⇒yln|x|=ln|x|x22-x24+C
Also, y(2)=2⇒C=1
On substituting the value of C in (i), we get
y(x)=x22-x24|ln(x)|+1|ln(x)|
⇒y(e)=e22-e24+1=1+e24 or 4+e24