Solving a first order differential equation (calculus 1)

  • #1
myeviltacos
2
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.
 

Answers and Replies

  • #2
Char. Limit
Gold Member
1,216
22
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.
 
  • #3
myeviltacos
2
0
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. :)
 

Suggested for: Solving a first order differential equation (calculus 1)

Replies
4
Views
451
Replies
12
Views
536
Replies
2
Views
475
Replies
5
Views
212
Replies
3
Views
250
Replies
33
Views
2K
Replies
15
Views
719
Replies
5
Views
326
Replies
2
Views
283
Top