How can I solve this differential equation?
(ex)ydydx=e−y+e−2x⋅e−y
1 Answer
Explanation:
This is a separable differential equation , which simply means that it's possible to group the
Now, we want to get dy on the side with the y's, and dx on the side with the x's. We'll need to do a bit of re-arranging:
Now, we integrate both sides:
Let's do each integral in in turn:
∫(1+e−2xex)dx
First, let's split this into 2 separate integrals by the addition/subtraction rule:
These look kind of annoying. However, we can give them a bit of a makeover to make them look nicer (and much easier to solve):
Both of these are now simple
∫ye−ydy
#If we make the negative exponent positive, we get:
We'll need to use integration by parts for this. The formula is:
We're going to set
So:
Now, we just plug and chug:
Putting everything back in:
Getting rid of negative exponents:
And that's a pretty decent final answer. If you wanted to solve for
Notice that we don't have a
Hope that helped :)