Just as when solving integrals, one method to try is to change variables to end up with a simpler equation to solve.
Substitution
The equation
(1.5.1)
is neither separable nor linear. What can we do? How about trying to change variables, so that in the new variables the equation is simpler. We use another variable , which we treat as a function of . Let us try
(1.5.2)
We need to figure out in terms of , and . We differentiate (in ) to obtain . So . We plug this into the equation to get
(1.5.3)
In other words, . Such an equation we know how to solve by separating variables:
(1.5.4)
So
for some constant . Note that and are also solutions.
Now we need to “unsubstitute” to obtain
(1.5.5)
and also the two solutions or , and or . We solve the first equation for .
Note that gives , but no value of gives the solution .
Substitution in differential equations is applied in much the same way that it is applied in calculus. You guess. Several different substitutions might work. There are some general things to look for. We summarize a few of these in a table.
When you see
Try substituting
Usually you try to substitute in the “most complicated” part of the equation with the hopes of simplifying it. The above table is just a rule of thumb. You might have to modify your guesses. If a substitution does not work (it does not make the equation any simpler), try a different one.
Bernoulli Equations
There are some forms of equations where there is a general rule for substitution that always works. One such example is the so-called Bernoulli equation.1
(1.5.6)
This equation looks a lot like a linear equation except for the . If or , then the equation is linear and we can solve it. Otherwise, the substitution transforms the Bernoulli equation into a linear equation. Note that need not be an integer.
Interactive figureBernoulli equation y′ + y = ½yⁿ, with n on a sliderDrag the Bernoulli exponent n slider from -2 to 4.
XYZ Graph · viewer build 5edf91b
A Bernoulli equation with constant coefficients, y′ + y = ½yⁿ, started from y(0) = 1 and solved by this section's own substitution v = y¹⁻ⁿ: y = ((1 + e^(-(1-n)x))/2)^(1/(1-n)). Every member of the family leaves the same point, so the exponent alone decides the shape. The two fixed curves are the cases the text calls out. The long-dashed one is n = 0, where v = y¹⁻ⁿ is just v = y — the substitution changes nothing, and dragging n there lays the solid curve exactly on top of it. The finely dotted one is n = 1, where that same substitution collapses to v = 1 and records nothing about y at all; the exponent 1/(1 - n) blows up with it, which is why the slider steps over n = 1 rather than through it. The equation is still linear there, and the dotted curve is its solution, e^(-x/2). That curve is also the boundary between the two behaviours: below n = 1 the solution settles at a positive level, above it the solution decays to zero, and the settling level itself falls toward zero as n rises to 1, which is how the two sides meet. n need not be an integer, so the slider moves in steps of 0.4.
Now the equation is linear. We can use the integrating factor method. In particular, we use formula (1.4.17). Let us assume that so . This assumption is OK, as our initial condition is . Let us compute the integrating factor. Here from formula (1.4.17) is .
We now plug in to (1.4.17)
Note that the integral in this expression is not possible to find in closed form. As we said before, it is perfectly fine to have a definite integral in our solution. Now “unsubstitute”
Homogeneous Equations
Another type of equations we can solve by substitution are the so-called homogeneous equations. Suppose that we can write the differential equation as
(1.5.7)
Here we try the substitutions
(1.5.8)
We note that the equation is transformed into
(1.5.9)
Hence an implicit solution is
(1.5.10)
Footnotes
[1] There are several things called Bernoulli equations, this is just one of them. The Bernoullis were a prominent Swiss family of mathematicians. These particular equations are named for Jacob Bernoulli (1654–1705).
These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.