When a differential equation is of the form , we can just integrate: . Unfortunately this method no longer works for the general form of the equation . Integrating both sides yields
Notice the dependence on in the integral.
Separable equations
Let us suppose that the equation is separable. That is, let us consider
for some functions and . Let us write the equation in the Leibniz notation
Then we rewrite the equation as
Now both sides look like something we can integrate. We obtain
If we can find closed form expressions for these two integrals, we can, perhaps, solve for
Implicit solutions
It is clear that we might sometimes get stuck even if we can do the integration. For example, take the separable equation
We separate variables,
We integrate to get
or perhaps the easier looking expression (where )
It is not easy to find the solution explicitly as it is hard to solve for . We, therefore, leave the solution in this form and call it an implicit solution. It is still easy to check that an implicit solution satisfies the differential equation. In this case, we differentiate with respect to , and remember that is a function of , to get
Multiply both sides by and divide by and you will get exactly the differential equation. We leave this computation to the reader.
If you have an implicit solution, and you want to compute values for , you might have to be tricky. You might get multiple solutions for each , so you have to pick one. Sometimes you can graph as a function of , and then flip your paper. Sometimes you have to do more.
Computers are also good at some of these tricks. More advanced mathematical software usually has some way of plotting solutions to implicit equations. For example, for if you plot all the points that are solutions to , you find the two curves in Figure . This is not quite a graph of a function. For each there are two choices of . To find a function you would have to pick one of these two curves. You pick the one that satisfies your initial condition if you have one. For example, the top curve satisfies the condition . So for each we really got two solutions. As you can see, computing values from an implicit solution can be somewhat tricky. But sometimes, an implicit solution is the best we can do.
Figure : The implicit solution to .
The equation above also has the solution . So the general solution is
These outlying solutions such as are sometimes called singular solutions.
Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.