The solution of dy/dx + y = e^{−x} with y(0) = 2 is:
Ay = 2e^{−x} + x
By = (x − 2)e^{−x}
Cy = (x + 2)e^{−x}
Dy = (2x + 1)e^{−x}
Show answer & solution
Correct answer: C. y = (x + 2)e^{−x}
Solution: The integrating factor is eˣ. Then d(y eˣ)/dx = e^{−x} · eˣ = 1, so y eˣ = x + c. y(0) = 2 gives c = 2, so y = (x + 2)e^{−x}.