Exercise · ZW-SEPARABLE-EQUATION-010 · ★★★ Advanced
Solve \(y'=e^{x+y}\), \(y(0)=0\).
Choose one option.
Show answer
- C. \(y=-\ln(2-e^{x})\)
Exercise · ZW-SEPARABLE-EQUATION-010 · ★★★ Advanced
Choose one option.
Since \(e^{x+y}=e^{x}e^{y}\), the equation is separable: \(\int e^{-y}dy=\int e^{x}dx\) gives \(-e^{-y}=e^{x}+c\). With \(y(0)=0\), \(c=-2\), so \(e^{-y}=2-e^{x}\) and \(y=-\ln(2-e^{x})\).
A separable equation is a first-order differential equation whose derivative is the product of a function \(g\) of \(x\) alone and a function \(h\) of \(y\) alone.