Solving a first order differential equation (calculus 1)

myeviltacos
Messages
2
Reaction score
0

Homework Statement



dy/dx=y-e-x

Homework Equations



none

The Attempt at a Solution



According to Wolfram Alpha the solution is y = cex+.5e-x . I tried multiple approaches, but I cannot obtain this answer. I can't figure out what step 1 is.

I tried factoring out e-x from the right side of the equation, but I couldn't go anywhere from there, and factoring out y did not work either.
 
Physics news on Phys.org
First rearrange it to dy/dx + p(x) y = q(x), where p(x) and q(x) are arbitrary functions. Then find an integrating factor.
 
Char. Limit said:
First rearrange it to dy/dx + p(x) y = q(x), where p(x) and q(x) are arbitrary functions. Then find an integrating factor.

Oh wow, thanks for your response. I solved it. :)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top