Solving a first order differential equation (calculus 1)

  • #1

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,204
14
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
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. :)
 

Related Threads on Solving a first order differential equation (calculus 1)

Replies
4
Views
750
Replies
6
Views
508
Replies
2
Views
630
Replies
1
Views
904
  • Last Post
Replies
6
Views
2K
Replies
14
Views
3K
  • Last Post
Replies
2
Views
809
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
663
Top