The correct options are
A y(−4)=0
C y(x) has a critical point in the interval (−1,0)
(1+ex)y′+yex=1dydx+ex1+exy=11+exI.F.=e∫ex1+exdx=1+ex∴y(1+ex)=∫1+ex1+exdx+C⇒y=C+x1+ex
Given y(0)=2⇒C=4
∴y=4+x1+ex⇒y(−4)=4−41+ex=0
So, option (1) is correct.
For critical points, dydx=0
y=4+x1+exdydx=(1+ex)−(x+4)ex(1+ex)2=0⇒1−3ex−xex=0⇒3+x=e−x
Let f(x)=e−x−x−3
Then f(0)<0 and f(−1)>0
f is continuous and changes sign from negative to positive in the interval (−1,0).
∴f(x) has a root in (−1,0).
So, we can say that y(x) has a critical point in (−1,0).