We start with the given differential equation
x3dy+xydx=x2dy+2ydx.
First, we collect the dy terms on one side and the dx terms on the other. Subtracting x2dy and 2ydx from both sides gives
x3dy−x2dy+xydx−2ydx=0.
Factoring dy from the first two terms and ydx from the last two terms, we get
(x3−x2)dy+y(x−2)dx=0.
Taking common factors, observe that x3−x2=x2(x−1). Hence
x2(x−1)dy+y(x−2)dx=0.
We now isolate dy/dx:
x2(x−1)dy=−y(x−2)dx,
so
dxdy=−x2(x−1)y(x−2).
This is a first-order separable differential equation. We separate the variables y and x:
ydy=−x2(x−1)x−2dx.
Next, we integrate both sides. The left side integrates immediately:
∫ydy=lny+C1.
For the right side we need to integrate
∫x2(x−1)x−2dx.
To do this, we express the integrand in partial fractions. We write
x2(x−1)x−2=xA+x2B+x−1C.
Multiplying both sides by x2(x−1) gives the identity
x−2=Ax(x−1)+B(x−1)+Cx2.
Expanding the right side,
Ax(x−1)=A(x2−x)=Ax2−Ax,
so
Ax2−Ax+Bx−B+Cx2.
Grouping like powers of x:
(A+C)x2+(−A+B)x−B.
Equating coefficients with the left side x−2 (which is 0⋅x2+1⋅x−2), we obtain
A+C=0,−A+B=1,−B=−2.
From −B=−2 we get B=2. Substituting this into −A+B=1 gives −A+2=1, so A=1. Finally, A+C=0 implies C=−1.
Thus
x2(x−1)x−2=x1+x22−x−11.
We can now integrate term by term:
∫x2(x−1)x−2dx=∫(x1+x22−x−11)dx.
Using the standard integrals ∫x1dx=lnx, ∫x−2dx=−x−1, and ∫x−11dx=ln∣x−1∣, we get
lnx−x2−ln∣x−1∣+C2.
Therefore,
∫ydy=−[lnx−x2−ln∣x−1∣]+C3.
Combining constants on the two sides into one constant C, we write
lny=−lnx+x2+ln∣x−1∣+C.
Since the problem states x>1, we have ∣x−1∣=x−1, so
lny=ln(x−1)−lnx+x2+C.
Exponentiating both sides, we obtain
y=eCxx−1e2/x.
Letting K=eC, the general solution becomes
y(x)=Kxx−1e2/x.
To find the constant K, we use the initial condition y(2)=e. Substituting x=2 and y=e gives
e=K22−1e2/2=K21e1=K2e.
Dividing both sides by e/2 yields
K=2.
Thus the particular solution is
y(x)=2xx−1e2/x.
Now we evaluate y(4). Substituting x=4 into the formula, we have
y(4)=244−1e2/4=243e1/2=46e1/2=23e.
Hence, the correct answer is Option C.