We begin with the given differential equation:
x(x2+ex)dy+(ex(x−2)y−x3)dx=0
To organize this, we divide the entire equation by
dx to obtain:
x(x2+ex)dxdy+ex(x−2)y−x3=0
By shifting the
x3 term to the right and dividing by the coefficient of
dxdy, we reveal the standard linear form
dxdy+P(x)y=Q(x):
dxdy+x(x2+ex)ex(x−2)y=x2+exx2
To integrate this, we divide the numerator and denominator by
x3:
∫1+x2exx2ex−x32exdx
Notice that the numerator is the derivative of the denominator. By substituting
t=1+x2ex, we find
dt=(x2ex−x32ex)dx. The integral simplifies to:
∫t1dt=ln(t)=ln(1+x2ex)
Thus, our Integrating Factor is:
IF=eln(1+x2ex)=1+x2ex
With our
IF determined, we set up the general solution
y⋅IF=∫Q(x)⋅IFdx. Substituting our values yields:
y(1+x2ex)=∫(x2+exx2)⋅(x2x2+ex)dx
The terms cancel elegantly, leaving us with:
y(1+x2ex)=∫1dx=x+C
We use the initial condition
(1,0) to determine the constant
C. Plugging in
x=1 and
y=0:
0(1+e)=1+C⇒C=−1
Our particular solution is
y(1+x2ex)=x−1. Simplifying this, we obtain:
y=x2+exx2(x−1)
Finally, substituting
x=2 to find
y(2):
y(2)=22+e222(2−1)=4+e24