We have the differential equation xdxdy+y=xlogex, with the condition x>1.
First we convert the equation to the standard linear form. Dividing every term by x gives
dxdy+x1y=logex.
For a linear equation dxdy+P(x)y=Q(x), the integrating factor is μ(x)=e∫P(x)dx.
Here P(x)=x1, so
μ(x)=e∫x1dx=elogex=x.
Multiplying every term of the standard-form equation by this integrating factor x we obtain
x(dxdy)+y=xlogex.
We notice that the left side is exactly the derivative of the product xy, because
dxd(xy)=xdxdy+y.
So the differential equation becomes
dxd(xy)=xlogex.
Now we integrate both sides with respect to x:
∫d(xy)=∫xlogexdx.
This gives
xy=∫xlogexdx+C,
where C is the constant of integration. We must calculate the integral on the right. We use integration by parts. Let
u=logexanddv=xdx.
Then
du=x1dx,v=2x2.
By the integration-by-parts formula ∫udv=uv−∫vdu, we have
∫xlogexdx=2x2logex−∫2x2⋅x1dx.
Simplifying inside the remaining integral,
∫xlogexdx=2x2logex−∫2xdx=2x2logex−4x2+K,
where K is an integration constant that can be absorbed into C. Hence we can write
xy=2x2logex−4x2+C.
Dividing every term by x gives the explicit solution
y(x)=2xlogex−4x+xC.
We now use the given condition. It is stated that
2y(2)=loge4−1.
Because loge4=2loge2, the right side becomes 2loge2−1, so
y(2)=loge2−21.
Substituting x=2 into the general solution, we get
y(2)=22loge2−42+2C=loge2−21+2C.
Comparing this with the required value loge2−21, we must have
loge2−21+2C=loge2−21⟹2C=0,
so C=0.
Therefore the particular solution simplifies to
y(x)=2xlogex−4x.
We now evaluate this at x=e. Because logee=1, we have
y(e)=2e⋅1−4e=2e−4e=4e.
Hence, the correct answer is Option B.