I have a math quiz tomorrow, and in the process of studying I found a problem that escapes me.
"Solve the differential equation by separation of variables." essentially, integrate the function by separating y and x.
question: dy/dx = cos(x) * e^(y + sin(x))
I get: sin(x) = u, cos(x)dx = du
dy = du * e^(y + u) dy = du * e^(y) * e^(u) e^(-y)dy = e^(u)du
=>
-e^(-y) = e^(u) + C ln(-e^(-y)) = ln (e^(u) + C) y = ln(e^(u) + C)
answer is
y = - ln(C - e^(u))
Where the hell did I go wrong? :/Last edit: 2009-11-20 14:02:10
     |