Bernoulli Equation Explained with Worked Examples

The Bernoulli equation becomes linear with : , which is solved with an integrating factor.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Bernoulli equation means

For (), gives , so and . With : and . The linear equation is solved by an integrating factor. This particular equation is a logistic model, see growth models.

For : , , with integrating factor : , so and . With , and . For (), gives , ; with , and .

The change of variable comes from the chain rule: . The case or 1 is already linear or separable (separable equations). Compare the other substitution method, the substitution method for homogeneous equations, and the non-exact approach of integrating factors.

What is it used for?

A Bernoulli equation looks nonlinear but becomes linear after the substitution v = y to the power 1 − n.

How to use bernoulli equation

  1. Divide by and set .
  2. Rewrite as the linear equation .
  3. Solve with an integrating factor.
  4. Return to and apply initial conditions.

Graph

The solution y = 1/(1 + eˣ) of y′ + y = y² with y(0) = 0.5y(1) = 0.2689-2-10123400.20.40.60.81The solution y = 1/(1 + eˣ) of y′ + y = y² with y(0) = 0.5xyy = 1/(1 + e^x)Graph with x from -2 to 4 and y from 0 to 1. Shows the curve y = 1/(1 + e^x); point y(1) = 0.2689 at (1, 0.2689).

The solution decays from 0.5 towards zero.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: y′ + y = y²

Solve with and find .

Worked example
Answer
0.26890.2689
  1. v = 1/y
  2. y(1)

Example 2: y′ + y/x = x y²

Solve with and find .

Worked example
Answer
0.50.5
  1. v
  2. y(2)

Example 3: y′ + y = y³

Solve with and find .

Worked example
Answer
0.34530.3453
  1. v = y⁻²
  2. y(1)

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

y′ + y = y²

n = 2, v = 1/y, v′ − v = −1

v = 1 + Ce^x.

y(0) = 0.5

v(0) = 2 so C = 1

y(1) = 1/(1 + e).

y′ + y/x = xy²

v = x(C − x)

y(1) = 1 gives C = 2.

y′ + y = y³

v = y⁻² = 1 + Ce^(2x)

y(0) = 0.5 gives C = 3.

Word problems

y′ + P y = Q yⁿ becomes linear with v = y^(1−n): v′ + (1 − n)P v = (1 − n)Q.

Choose v

For n = 2 what is v?

  1. y^(1−2)
  2. Check: v = 1/y ✓v = 1/y.

Constant

v = 1 + Ce^x and y(0) = 0.5. Find C.

  1. v(0) = 2
  2. 1 + C = 2
  3. Check: ✓1.

Evaluate Higher

Find y(1) = 1/(1 + e).

  1. 1/3.7183
  2. Check: ✓0.2689.

Cubic case Higher

For y′ + y = y³ with y(0) = 0.5, find y(0.5).

  1. v = 1 + 3e^1 ...1/√(1 + 3e)
  2. Check: 0.3305 ✓0.3305.

Common mistakes

v = yⁿ

v = y² ✗

v = y^(1−n) ✓

Exponent 1 − n.

Missing (1 − n)

v′ + P v ✗

v′ + (1 − n)P v ✓

Chain rule factor.

Losing y = 0

ignoring ✗

y = 0 also solves it ✓

Check.

Not returning to y

leaving v ✗

y = v^(1/(1−n)) ✓

Convert back.

Exam tips

  1. v = y^(1−n).
  2. Linear in v.
  3. Integrating factor.
  4. Back to y.
  5. Keep y = 0.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. 1/(1 + e) Foundation

0.2689

2. 1/(1 + e⁻¹) to 4 d.p. Foundation

0.7311

3. 1 − n for n = 3 Foundation

-2

4. y(1.5) for v = x(2 − x) Higher

1.3333

5. C: 1 + C = 4 Higher

3

6. 1/√(1 + 3e⁰) Higher

0.5

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Bernoulli equation
y′ + Py = Qyⁿ.
Substitution
v = y^(1−n).
Integrating factor
Solves the linear equation.
Logistic equation
n = 2 case.
Linearisation
Turning it into a linear ODE.
Trivial solution
y = 0.

Frequently asked questions

What is a Bernoulli equation?

y′ + Py = Qyⁿ.

What substitution solves it?

v = y^(1−n).

What is n for logistic growth?

2.

Does it have the solution y = 0?

Yes, for n > 0.

Which page covers integrating factors?

first-order linear equations.

Which page covers homogeneous equations?

homogeneous equations.

More in Differential equations and transforms and the formula sheets.