My calculus class just started going over "Separation of Variables" where you have something like $\frac{dy}{dx} = x$ and have to solve for $y$.
I understand that to do this, one must get dx on one side and dy on the other, and then take the integral of both sides. Tonight I was assigned some homework problems, one of which looked like this:
$\frac{dr}{ds} = e^{r-2s}$ I turned this into: $r = \int e^{r-2s} ds$
However once I get to this step I am unsure of how to go further. I was thinking I would turn it into this:
$-\frac{1}{2} \int 2e^{r-2s} ds$
But I don't know how to find the integral of the e considering the fact that there are two variables in the exponent. Can anyone give me any info/tips on this topic?