Bernoulli's equation looks like a linear equation spoiled by a power of on the right-hand side. The substitution removes that power exactly, converting the equation into a linear one that the previous section already solves. This is the first of several places in the book where a well-chosen change of variable turns a hard problem into a solved one.
Quick Reference
| Item | Statement |
|---|---|
| Bernoulli's equation | , with real |
| Already linear when | or |
| Preparatory step | Divide by : |
| Substitution | , so |
| Resulting linear equation | z' + (1-\alpha)P(x)z = (1-\alpha)Q(x) |
| Integrating factor | |
| Back-substitute | |
| Lost solution | is a solution whenever , and dividing by discards it |
The Equation and Its Reduction
A Bernoulli equation is an equation of the form
where is a real number.
When the right-hand side is just and the equation is already linear. When the equation becomes y' + \left(P - Q\right)y = 0, again linear and in fact separable. So assume from here on that is neither nor .
Dividing both sides by , we have
This is the crucial rearrangement. Notice that only two combinations of now appear: in the middle term, and in the first term. The second is, up to a constant, the derivative of the first. That observation dictates the substitution.
The equation can be reduced to a linear equation by the change of variable
so that . Substituting,
and multiplying through by ,
This is a linear first-order equation in , solvable by the integrating factor . Once is found, recover from .
Watch the sign and the factor. Both and get multiplied by , and when that factor is negative, flipping the signs of both. For , the most common case, and the linear equation is z' - P(x)z = -Q(x).
Lost solution. Dividing by at the start is invalid where . For , the constant function satisfies the original equation, and it is never recovered from the formula for , since is undefined there. State it separately.
Worked Examples
Solve the initial value problem
y' + \frac{4}{x}y = x^{3}y^{2}, \qquad x > 0, \qquad y(1) = 1and find the interval of validity for the solution.
Solution
This is a Bernoulli equation with
Since , the substitution is , and the linear equation is
z' + (-1)\frac{4}{x}z = (-1)x^{3} \qquad \Longrightarrow \qquad z' - \frac{4}{x}z = -x^{3} .The integrating factor is
Multiplying through,
Integrating,
Back-substituting ,
Apply the initial condition . At we have , so
The solution of the initial value problem is
Interval of validity. The solution is undefined where the denominator vanishes, that is, where or . The second gives , so . The initial point lies between and , so the interval of validity is
Solve .
Solution
Here , , and , so and
z' - \frac{1}{x}z = -x .The integrating factor is , giving
Therefore
together with the separate solution , which the division by discarded.
Solve the logistic equation as a Bernoulli equation, where and are positive constants.
Solution
Expand the right-hand side and move the linear term left:
This is Bernoulli with , coefficient in place of , and forcing . Substituting and multiplying by ,
z' + rz = \frac{r}{K} .The integrating factor is , so
Therefore
As the exponential dies and , confirming the qualitative analysis of the direction field in Section 2.2: every positive solution approaches the carrying capacity.
Exercises
Solve y' + y = xy^{3}.
Solution
Here , so and . The linear equation is
z' - 2z = -2x .With ,
Integrating by parts, , so
Since ,
plus the separate solution .
Solve for .
Solution
Divide by to reach standard form:
With , take and multiply by :
z' - \frac{1}{x}z = -\frac{\ln x}{x} .The integrating factor is , so
Integrating by parts with and , so :
Hence , so and
Explain why the substitution fails when , and solve y' + P(x)y = Q(x)y directly.
Solution
When the substitution gives , a constant, which carries no information. The derivative relation z' = (1-\alpha)y^{-\alpha}y' also collapses to .
But no substitution is needed. Collecting the terms,
y' + \left[P(x) - Q(x)\right]y = 0 ,a homogeneous linear equation, and also separable. Its solution is
Frequently Asked Questions
How do I recognize a Bernoulli equation?
It looks exactly like a linear equation except that the right-hand side carries a power of : y' + P(x)y = Q(x)y^{\alpha}. Everything else must be linear, so the coefficient of on the left may depend on alone, and there must be no other nonlinear appearance of .
Why does work?
After dividing by the equation contains only and y^{-\alpha}y'. Differentiating gives z' = (1-\alpha)y^{-\alpha}y', so the second expression is a constant multiple of z' and the first is itself. The substitution was reverse-engineered to make exactly this happen.
Must be a whole number?
No. The derivation uses only the exponent rules, so may be any real number: , , and all work. Non-integer values do restrict the domain, since may require .
What happened to the solution ?
Dividing by threw it away. For it is a genuine solution of the original equation, since both sides vanish. The transformed variable cannot represent it, so add it back by hand when reporting the answer.
Is the logistic equation really a Bernoulli equation?
Yes, with . It is also separable, and solving it by partial fractions is a common alternative. The Bernoulli route is shorter here, and it makes clear why the answer has the form of a constant over plus a decaying exponential.
Can I skip the substitution and just guess?
Not reliably. The substitution is mechanical and takes one line, whereas guessing the form of the answer for a general and is hopeless. Do note that once you have practiced a few, you can go straight from the original equation to the linear equation z' + (1-\alpha)Pz = (1-\alpha)Q without writing the intermediate division step.