We are given the differential equation ydydx=2x+y3(y+1)ey, with x(1)=0.
Rewrite as a first-order linear ODE in x.
dydx−y2x=y2(y+1)ey
Find the integrating factor.
I.F.=e∫−y2dy=e−2lny=y21
Multiply through and integrate.
dyd(y2x)=(y+1)ey=yey+ey
y2x=∫(yey+ey)dy
=yey−ey+ey+C=yey+C
Apply the initial condition x(1) = 0.
10=1⋅e+C⟹C=−e
y2x=yey−e
x=y2(yey−e)=y2⋅e(y⋅ey−1−1)
Evaluate at y = e.
x(e)=e2(e⋅ee−e)=e2⋅e(ee−1)=e3(ee−1)
Answer: Option B