First order separable ordinary differential equations
For a first order ODE to be considered separable, the form it has to be in is
What this means is that the differential
In order to solve this, we will first separate the two functions, putting the one containing the variable we are differentiating on the left side
Multiplying this into both sides of our equation will cancel out the
on the right side and give us Now we will integrate both sides with respect to
Remembering back to the change of variables integration method (and that the
's were working with can be seen as functions of ), we have the substitution which when substituted in will give us...
From here we can solve each side as though they were their own integrals (don't forget the
). After integrating, and once we do substitute the back in for , we will have found the general solution to our separable differential equation
Now that we have seen the "correct" way to solve this, take note that (with the exception of the substitution, which we would substitute back to
Multiplying the equation by
The
's on the left cancel giving us Dividing by the function associated with
The
's cancel leaving us with at which point we can integrate both sides
and same as before after integrating, we find the same solution as what we did above.
While "technically" we can't treat
Links in this dropdown if you want to dig more into it.
In no particular order...
detaching dy and dx
when not to treat dy dx as a fraction
Now that we have the generalized walkthrough on solving it, lets look at a few examples of figuring out the
1.
The simplest would be something like
With this you can see that
2.
Sometimes you will have to play around with it a little to get it into the seperable form
In this case, we have
3.
Sometimes you will have to play around with it alot to get it into the separable form, so feel free to manipulate and pull apart/put together the differentials
The thing to note here is that when I finished manipulating I went with
4.
One final simple example
When you only have 1 of the variables in the equation you can just set the other function to
The hard part is recognizing that it is a separable differential equation, and manipulating it into the correct form. Let's take a quick look at solving one of these both with and without a given initial condition.
We find our
and Multiply and Divide the equation to get all the y's with dy and all the x's with dx alone then integrate both sides
This leaves us with
one constant eats the other
and now lets solve for y
This is the final answer assuming they don't give us an initial condition and are looking for it in explicit form.
Lets do one with an initial condition
Multiply the equation by dx and divide by
Integrate both sides
partial fractions
1 c eats the other and then subtract to solve for c
plug in the initial condition of
and to solve for c now we just substitute what we solved for c into the original equation to give us the final answer in explicit form
Differential Equation Index
Home
-
If we aren't supposed to treat
as a fraction, then why do we type it in LaTeX as \frac{dy}{dx}? Checkmate mathematicians ↩