We are now going to start looking at nonlinear first order differential equations. The first type of nonlinear first order differential equations that we will look at is separable differential equations.
A separable differential equation is any differential equation that we can write in the following form.
...(1.)
Note that in order for a differential equation to be separable all the y's in the differential equation must be multiplied by the derivative and all the x's in the differential equation must be on the other side of the equal sign.
To solve this differential equation we first integrate both sides with respect to x to get,
Now, remember that y is really y(x) and so we can use the following substitution,
Applying this substitution to the integral we get,
...(2.)
At this point we can (hopefully) integrate both sides and then back substitute for the u on the left side. Note, that as implied in the previous sentence, it might not actually be possible to evaluate one or both of the integrals at this point. If that is the case, then there won’t be a lot we can do to proceed using this method to solve the differential equation.
Now, the process above is the mathematically correct way of doing solving this differential equation. Note however, that if we “separate” the derivative as well we can write the differential equation as,
We obviously can’t separate the derivative like that, but let’s pretend we can for a bit and we’ll see that we arrive at the answer with less work.
Now we integrate both sides of this to get,
So, if we compare (2) and (3) we can see that the only difference is on the left side and even then the only real difference is (2) has the integral in terms of u and (3) has the integral in terms of y. Outside of that there is no real difference. The integral on the left is exactly the same integral in each equation. The only difference is the letter used in the integral. If we integrate (2) and then back substitute in for u we would arrive at the same thing as if we’d just integrated (3) from the start.
Therefore, to make the work go a little easier, we’ll just use (3) to find the solution to the differential equation. Also, after doing the integrations, we will have an implicit solution that we can hopefully solve for the explicit solution, y(x). Note that it won't always be possible to solve for an explicit solution.
Recall from the Definitions section that an implicit solution is a solution that is not in the form y=y(x) while an explicit solution has been written in that form.
We will also have to worry about the interval of validity for many of these solutions. Recall that the interval of validity was the range of the independent variable, x in this case, on which the solution is valid. In other words, we need to avoid division by zero, complex numbers, logarithms of negative numbers or zero, etc. Most of the solutions that we will get from separable differential equations will not be valid for all values of x.
Let’s start things off with a fairly simple example so we can see the process without getting lost in details of the other issues that often arise with these problems.
Example 1: Solve the following differential equation and determine the interval of validity for the solution.
Solution: It is clear, hopefully, that this differential equation is separable. So, let’s separate the differential equation and integrate both sides. As with the linear first order officially we will pick up a constant of integration on both sides from the integrals on each side of the equal sign. The two can be moved to the same side and absorbed into each other. We will use the convention that puts the single constant on the side with the x’s given that we will eventually be solving for y and so the constant would end up on that side anyway.
So, we now have an implicit solution. This solution is easy enough to get an explicit solution, however before getting that it is usually easier to find the value of the constant at this point. So apply the initial condition and find the value of c.
Plug this into the general solution and then solve to get an explicit solution.
Now, as far as solutions go we’ve got the solution. We do need to start worrying about intervals of validity however.
Recall that there are two conditions that define an interval of validity. First, it must be a continuous interval with no breaks or holes in it. Second it must contain the value of the independent variable in the initial condition, x = 1 in this case.
So, for our case we’ve got to avoid two values of x. Namely,since these will give us division by zero. This gives us three possible intervals of validity.
However, only one of these will contain the value of x from the initial condition and so we can see that
must be the interval of validity for this solution.
Here is a graph of the solution.
Note that this does not say that either of the other two intervals listed above can’t be the interval of validity for any solution to the differential equation. With the proper initial condition either of these could have been the interval of validity.
We’ll leave it to you to verify the details of the following claims. If we use an initial condition of
we will get exactly the same solution however in this case the interval of validity would be the first one.
Likewise, if we use
as the initial condition we again get exactly the same solution and, in this case, the third interval becomes the interval of validity.
So, simply changing the initial condition a little can give any of the possible intervals.
Example 2: Solve the following IVP and find the interval of validity for the solution.
Solution: This differential equation is clearly separable, so let's put it in the proper form and then integrate both sides.
We now have our implicit solution, so as with the first example let’s apply the initial condition at this point to determine the value of c.
The implicit solution is then
We now need to find the explicit solution. This is actually easier than it might look and you already know how to do it. First, we need to rewrite the solution a little
To solve this all we need to recognize is that this is quadratic in y and so we can use the quadratic formula to solve it. However, unlike quadratics you are used to, at least some of the “constants” will not actually be constant but will in fact involve x’s.
So, upon using the quadratic formula on this we get.
Next, notice that we can factor a 4 out from under the square root (it will come out as a 2…) and then simplify a little.
We are almost there. Notice that we’ve actually got two solutions here (the “±”) and we only want a single solution. In fact, only one of the signs can be correct. So, to figure out which one is correct we can reapply the initial condition to this. Only one of the signs will give the correct value so we can use this to figure out which one of the signs is correct. Plugging x = 1 into the solution gives.
In this case it looks like the “+” is the correct sign for our solution. Note that it is completely possible that the “–” could be the solution (i.e. using an initial condition of y(1)=1) so don’t always expect it to be one or the other.
The explicit solution for our differential equation is.
To finish the example out we need to determine the interval of validity for the solution. If we were to put a large negative value of x in the solution we would end up with complex values in our solution and we want to avoid complex numbers in our solutions here. So, we will need to determine which values of x will give real solutions. To do this we will need to solve the following inequality.
In other words, we need to make sure that the quantity under the radical stays positive.
Using a computer algebra system like Maple or Mathematica we see that the left side is zero at x = –3.36523 as well as two complex values, but we can ignore complex values for interval of validity computations. Finally, a graph of the quantity under the radical is shown below.
So, in order to get real solutions we will need to require x≥−3.36523 because this is the range of x’s for which the quantity is positive. Notice as well that this interval also contains the value of x that is in the initial condition as it should.
Therefore, the interval of validity of the solution is x≥−3.36523 .
Here is graph of the solution.
Example 3: Solve the following IVP and find the interval of validity of the solution.
Solution: First separate and then integrate both sides.
Apply the initial condition to get the value of c.
The implicit solution is then,
Now let’s solve for y(x).
Reapplying the initial condition shows us that the “–” is the correct sign. The explicit solution is then,
Let’s get the interval of validity. That’s easier than it might look for this problem. First, since 1+x2≥0 the “inner” root will not be a problem. Therefore, all we need to worry about is division by zero and negatives under the “outer” root. We can take care of both by requiring.
Note that we were able to square both sides of the inequality because both sides of the inequality are guaranteed to be positive in this case. Finally solving for x we see that the only possible range of x’s that will not give division by zero or square roots of negative numbers will be,
and nicely enough this also contains the initial condition x=0. This interval is therefore our interval of validity.
Here is a graph of the solution.
Example 4: Solve the following IVP and find the interval of validity of the solution.
Solution: This differential equation is easy enough to separate, so let's do that and then integrate both sides.
Applying the initial condition gives
This then gives an implicit solution of.
We can easily find the explicit solution to this differential equation by simply taking the natural log of both sides.
Finding the interval of validity is the last step that we need to take. Recall that we can't plug negative values or zero into a logarithm, so we need to solve the following inequality
The quadratic will be zero at the two points x=2±2√2. A graph of the quadratic (shown below) shows that there are in fact two intervals in which we will get positive values of the polynomial and hence can be possible intervals of validity.
So, possible intervals of validity are
From the graph of the quadratic we can see that the second one contains x = 5, the value of the independent variable from the initial condition. Therefore, the interval of validity for this solution is.
Here is a graph of the solution.
Example 5: Solve the following IVP and find the interval of validity for the solution.
Solution: This is actually a fairly simple differential equation to solve. We’re doing this one mostly because of the interval of validity.
So, get things separated out and then integrate.
Now, apply the initial condition to find c.
So, the implicit solution is then,
Solving for r gets us our explicit solution.
Now, there are two problems for our solution here. First, we need to avoid θ=0 because of the natural log. Notice that because of the absolute value on the θ we don’t need to worry about θ being negative. We will also need to avoid division by zero. In other words, we need to avoid the following points.
So, these three points break the number line up into four portions, each of which could be an interval of validity.
The interval that will be the actual interval of validity is the one that contains θ=1. Therefore, the interval of validity is 0<θ<√e.
Here is a graph of the solution.
Example 6: Solve the following IVP.
Solution: This problem will require a little work to get it separated and in a form that we can integrate, so let's do that first.
Now, with a little integration by parts on both sides we can get an implicit solution.
Applying the initial condition gives.
Therefore, the implicit solution is.
It is not possible to find an explicit solution for this problem and so we will have to leave the solution in its implicit form. Finding intervals of validity from implicit solutions can often be very difficult so we will also not bother with that for this problem.
As this last example showed it is not always possible to find explicit solutions so be on the lookout for those cases.
112 videos|65 docs|3 tests
|
1. What are separable equations in mathematics? |
2. How do you solve separable equations? |
3. What is the advantage of using separable equations in solving differential equations? |
4. Can all differential equations be solved using separable equations? |
5. What are some applications of separable equations in real-world problems? |
|
Explore Courses for Mathematics exam
|