- Rewrite the differential equation in standard linear form
Given
x(x2+ex)dy+(ex(x−2)y−x3)dx=0,x>0.
Divide by dx:
x(x2+ex)dxdy+ex(x−2)y−x3=0.
So,
x(x2+ex)dxdy+ex(x−2)y=x3.
Now divide by x(x2+ex):
dxdy+x(x2+ex)ex(x−2)y=x(x2+ex)x3.
Hence,
dxdy+x(x2+ex)ex(x−2)y=x2+exx2.
This is a linear differential equation:
dxdy+P(x)y=Q(x),
with
P(x)=x(x2+ex)ex(x−2).
- Find the integrating factor
We need
I.F.=e∫P(x)dx.
Observe that
dxd(x2+ex)=2x+ex,
and
dxd(xx2+ex)=x2x(2x+ex)−(x2+ex)=x2x2+ex(x−1),
which is not directly helpful. Instead, try
dxdln(x2x2+ex)=x2+ex2x+ex−x2.
Combine over a common denominator x(x2+ex):
x(x2+ex)x(2x+ex)−2(x2+ex)=x(x2+ex)2x2+xex−2x2−2ex=x(x2+ex)ex(x−2).
Thus,
P(x)=dxdln(x2x2+ex).
Therefore,
I.F.=x2x2+ex.
- Multiply the equation by the integrating factor
The equation becomes
x2x2+exdxdy+x2x2+ex⋅x(x2+ex)ex(x−2)y=x2x2+ex⋅x2+exx2.
So,
dxd(y⋅x2x2+ex)=1.
Integrating,
y⋅x2x2+ex=x+C.
Hence,
y=x2+exx2(x+C).
- Use the condition y(1)=0
Given that the curve passes through (1,0),
0=1+e12(1+C).
Thus,
1+C=0⟹C=−1.
So the solution is
y=x2+exx2(x−1).
- Find y(2)
Substitute x=2:
y(2)=22+e222(2−1)=4+e24.
- Compare with the options
y(2)=4+e24
which matches Option C.