The differential equation is given in differential form as x3dy+(xy−1)dx=0 with x>0.
Divide by dx to obtain the derivative explicitly:
x3dxdy+xy−1=0
Isolate dxdy:
dxdy=−x3xy−1=−x2y+x31
Re-write in the standard linear form dxdy+P(x)y=Q(x):
dxdy+x21y=x31−(1)
Here P(x)=x21 and Q(x)=x31.
Integrating factor
For a linear ODE, the integrating factor is μ(x)=exp(∫P(x)dx).
Evaluate the integral:
∫x21dx=−x1
Hence μ(x)=e−1/x.
Multiply equation (1) by e−1/x:
e−1/xdxdy+x2e−1/xy=x3e−1/x.
The left side is the derivative of ye−1/x (product rule in reverse):
dxd(ye−1/x)=x3e−1/x−(2)
Integrate both sides with respect to x:
ye−1/x=∫x3e−1/xdx+C.
Evaluating the integral
Let t=x1⟹dt=−x21dx, so dx=−x2dt=−t21dt and x31=t3.
Thus
∫x3e−1/xdx=∫e−tt3(−t21)dt=−∫te−tdt.
Integrate by parts: ∫te−tdt=−(t+1)e−t+K, so
−∫te−tdt=(t+1)e−t+K.
Returning to x (since t=x1):
∫x3e−1/xdx=(x1+1)e−1/x+K.
Absorb the constant K into the general constant C. Hence from (2)
ye−1/x=(x1+1)e−1/x+C.
Multiply by e1/x:
y=1+x1+Ce1/x−(3)
Use the initial condition
Given y(21)=3−e. Substitute x=21 in (3):
3−e=1+211+Ce1/(21)=1+2+Ce2=3+Ce2.
Solve for C:
3−e−3=Ce2⟹−e=Ce2⟹C=−e2e=−e1.
Evaluate y(1)
Put x=1 and C=−e1 into (3):
y(1)=1+11+(−e1)e1=1+1−1=1.
Therefore y(1)=1. The correct choice is Option A.