01 / 21

Bernoulli
Equations

Master the art of solving nonlinear first-order ODEs using a powerful substitution that transforms them into linear equations.

Differential Equations

What Is a Bernoulli Equation?

A Bernoulli equation is a first-order ODE of the form:

where \( P(x) \) and \( Q(x) \) are continuous functions, and \( n \) is any real number. When \( n = 0 \) or \( n = 1 \), the equation is already linear. The interesting case is when \( n \neq 0 \) and \( n \neq 1 \).

Why Does This Matter?

Nonlinear → Linear
A clever substitution converts a nonlinear ODE into one we already know how to solve.
Real Applications
Models population growth with harvesting, fluid dynamics, and electrical circuits.
Foundation Skill
Teaches the strategy of substitution, a technique used across all differential equations.

Anatomy of the Bernoulli Form

\( \dfrac{dy}{dx} + P(x)\,y = Q(x)\,y^n \)
Linear part
\( P(x)\,y \)
Nonlinear part
\( Q(x)\,y^n \)
The exponent \( n \) makes it special

The Key Substitution

To solve a Bernoulli equation, we introduce a new variable:

Differentiating both sides with respect to \( x \):

This substitution transforms the Bernoulli equation into a first-order linear ODE in \( v \), which we can solve using an integrating factor.

The Transformed Linear ODE

After dividing the original equation by \( y^n \) and applying \( v = y^{1-n} \), we obtain:

This is a standard first-order linear equation in \( v \). We solve it with the integrating factor:

After finding \( v(x) \), we back-substitute: \( y = v^{1/(1-n)} \).

Linear ODE vs. Bernoulli

Linear ODE Bernoulli Equation
Form \( y' + P(x)\,y = Q(x) \) \( y' + P(x)\,y = Q(x)\,y^n \)
Exponent \( n \) \( n = 0 \) or \( n = 1 \) \( n \neq 0,\, n \neq 1 \)
Method Integrating factor directly Substitution, then integrating factor
Linearity Linear in \( y \) Nonlinear in \( y \)
Substitution needed? No Yes: \( v = y^{1-n} \)

How to Solve Step by Step

1
Identify \( P(x) \), \( Q(x) \), and \( n \). Write the equation in standard Bernoulli form.
2
Divide both sides by \( y^n \). This isolates \( y^{-n}\,y' \) on the left.
3
Substitute \( v = y^{1-n} \). Compute \( \frac{dv}{dx} = (1-n)\,y^{-n}\,\frac{dy}{dx} \).
4
Rewrite as a linear ODE in \( v \). Use an integrating factor to solve.
5
Back-substitute. Replace \( v \) with \( y^{1-n} \) and solve for \( y \).

Example 1: Setup

Solve the Bernoulli equation:

Identify the parts: Here \( P(x) = 1 \), \( Q(x) = 1 \), and \( n = 2 \).

Substitution: Let \( v = y^{1-2} = y^{-1} \), so \( \frac{dv}{dx} = -y^{-2}\frac{dy}{dx} \).

Example 1: Solving

We have the linear ODE:

Integrating factor: \( \mu = e^{\int -1\,dx} = e^{-x} \).

Multiply both sides: \( \frac{d}{dx}\bigl[e^{-x}\,v\bigr] = -e^{-x} \).

Integrate: \( e^{-x}\,v = e^{-x} + C \), so \( v = 1 + Ce^{x} \).

Example 1: Solution Curves

x y y = 0 (stable) y = 1 (unstable) 0 1 2 1 2 -1 -2 C = 2 C = 0.5 C = -0.3 C = -2

Example 2: A Harder Case

Solve:

Identify: \( P(x) = -\frac{2}{x} \), \( Q(x) = -x^2 \), \( n = 3 \).

Substitution: \( v = y^{1-3} = y^{-2} \), so \( \frac{dv}{dx} = -2\,y^{-3}\frac{dy}{dx} \).

Divide by \( y^3 \):   \( y^{-3}y' - \frac{2}{x}y^{-2} = -x^2 \).

Using \( \frac{dv}{dx} = -2\,y^{-3}y' \), we get \( -\frac{1}{2}\frac{dv}{dx} - \frac{2}{x}v = -x^2 \).

Example 2: Completing the Solution

Multiply through by \( -2 \):

Integrating factor: \( \mu = e^{\int 4/x\,dx} = e^{4\ln|x|} = x^4 \).

Multiply: \( \frac{d}{dx}[x^4\,v] = 2x^6 \). Integrate: \( x^4\,v = \frac{2x^7}{7} + C \).

So \( v = \frac{2x^3}{7} + Cx^{-4} \).

Special Cases of \( n \)

\( n = 0 \)
The equation becomes \( y' + P(x)\,y = Q(x) \), which is already linear. No substitution needed.
\( n = 1 \)
The equation becomes \( y' + P(x)\,y = Q(x)\,y \), which simplifies to \( y' + [P(x) - Q(x)]\,y = 0 \). Separable.
\( n = 2 \)
The most common case. Substitution \( v = y^{-1} \) yields a standard linear ODE. Often seen in applications.

Common Mistakes to Avoid

✕ Wrong substitution
Using \( v = y^n \) instead of the correct \( v = y^{1-n} \). The exponent must be \( 1-n \), not \( n \).
✕ Forgetting to divide by \( y^n \)
You must divide the entire equation by \( y^n \) before substituting. Skipping this step produces incorrect results.
✕ Dropping the \( (1-n) \) factor
Since \( \frac{dv}{dx} = (1-n)y^{-n}y' \), forgetting the \( (1-n) \) coefficient corrupts the transformed equation.

Bernoulli Method Summary

Step Action Result
1 Write in standard form \( y' + P(x)\,y = Q(x)\,y^n \)
2 Divide by \( y^n \) \( y^{-n}y' + P(x)\,y^{1-n} = Q(x) \)
3 Substitute \( v = y^{1-n} \) \( \frac{1}{1-n}\frac{dv}{dx} + P(x)\,v = Q(x) \)
4 Solve linear ODE in \( v \) Use integrating factor \( \mu \)
5 Back-substitute \( y = v^{1/(1-n)} \)

Question 1 of 5

For the Bernoulli equation \( y' + 3y = 5y^4 \), what is the correct substitution?

Question 2 of 5

After applying the Bernoulli substitution to \( y' + y = y^2 \), what is the resulting linear ODE in \( v \)?

Question 3 of 5

Which of these is NOT a Bernoulli equation?

Question 4 of 5

For \( y' + \frac{4}{x}\,y = x^3\,y^2 \), what is the integrating factor for the transformed linear equation in \( v \)?

Question 5 of 5

The general solution of \( y' + y = y^2 \) is \( y = \frac{1}{1 + Ce^x} \). If \( y(0) = \frac{1}{2} \), what is \( C \)?