4.6.5 · D2Ordinary Differential Equations

Visual walkthrough — Bernoulli equations — substitution

1,867 words8 min readBack to topic

What this page is: we take the Bernoulli trick from the parent note and rebuild it one picture at a time, from absolute zero. By the last step you will see why renaming a chunk of turns a bumpy nonlinear equation into a smooth linear one you already know how to crack.

We assume only that you can read as "how fast changes as moves". Everything else we build.


Step 1 — What we are staring at

WHAT. We meet a first-order differential equation shaped like this:

Every symbol earned:

  • — the rate at which the unknown curve rises or falls.
  • and — functions that depend only on (never on ). They are "known knobs".
  • — the unknown raised to some fixed power (could be , , , ...).

WHY it matters. If the right side were just (no ), this would be a linear equation — the friendly kind we solve with an integrating factor. The lone is the only thing standing in our way.

PICTURE. On the left, the linear world: appears to the first power, a straight "ramp". On the right, the term bends that ramp into a curve — the source of all the trouble.

Figure — Bernoulli equations — substitution

Step 2 — Why and are boring (and excluded)

WHAT. Before doing anything clever, ask: are there values of where there is no trouble at all?

  • If : , so the equation is already . Already linear.
  • If : the right side is , and moving it left gives . Already linear.

WHY. No substitution is needed when the equation is already the friendly kind. That is why the definition says . (Foreshadow: our trick will divide by a factor ; at that factor is , so the trick would literally divide by zero — the algebra itself refuses.)

PICTURE. A number line of . The two dots and are marked "already easy — skip". Everything else is "Bernoulli territory".

Figure — Bernoulli equations — substitution

Step 3 — Expose the hidden power: divide by

WHAT. Divide every term by (assume for now ):

Term-by-term, what division did:

  • — the slope now carries a factor .
  • — the linear term becomes a single power .
  • — the troublemaker is gone! It became a plain .

WHY this exact move. We wanted two things: (1) kill the ugly on the right, and (2) leave behind exactly one new power, , plus a chunk. As Step 4 shows, that chunk is precisely what a chain rule can swallow.

PICTURE. Think of dividing as "shifting every exponent down by ". The right-side slides down to ; the linear slides to ; the slope's hidden slides to .

Figure — Bernoulli equations — substitution

Step 4 — Rename the clean power: let

WHAT. Define a brand-new variable:

WHY this specific name. Two matching leftovers appear in Step 3: the power and the chunk . We hope they are two faces of one object — namely and its derivative . Step 5 confirms it. Choosing is not luck: it is engineered so that differentiating it regurgitates a factor.

PICTURE. A "relabel" box: the messy expression walks in, a single tidy letter walks out. Same object, cleaner name.

Figure — Bernoulli equations — substitution

Step 5 — The engine: differentiate with the chain rule

WHAT. Differentiate with respect to . Because itself depends on , we use the chain rule (bring the power down, subtract one, multiply by the inside's derivative):

WHY the chain rule and nothing else. We are differentiating "a power of a function", . That is the textbook trigger for the chain rule: outer operation = "raise to the power ", inner function = . No product rule (nothing is multiplied), no quotient rule (nothing is divided) — the chain rule is the exact right tool.

Now rearrange to isolate the chunk we saw in Step 3:

Read it right-to-left: the awkward equals a plain scaled by . This is the whole trick in one line.

PICTURE. The chain rule as a two-gear machine: turning the outer "power" gear and the inner "" gear together produces the output.

Figure — Bernoulli equations — substitution

Step 6 — Substitute and watch it collapse into a line

WHAT. Take Step 3 and replace its two matching pieces using Step 5:

Multiply through by to clear the fraction:

Term-by-term, what changed:

  • The unknown is now , appearing only to the first power — this is linear in .
  • The factor from the chain rule sticks to both and . This is the single most-forgotten detail: it is easy to write and lose the , because the substitution tempts you into expecting a clean copy of the original. Always carry the onto both sides.

WHY this is a victory. We have converted an unfamiliar nonlinear equation into the exact shape the integrating-factor method eats for breakfast.

PICTURE. The bumpy curve (Step 1) morphs into a straight ramp in — the nonlinearity has been "renamed away".

Figure — Bernoulli equations — substitution

Step 7 — Solve the line, then translate back

WHAT. Solve the linear equation with the integrating factor

which makes the left side a perfect derivative . Integrate once, then back-substitute to recover .

WHY . Multiplying by is the standard move that packages into , so a single integration finishes the job. (Full derivation lives in Linear First-Order ODEs — Integrating Factor.)

Concrete run (parent's Example 1): has , so and :

PICTURE. Solution curves for several , showing the family the method produces.

Figure — Bernoulli equations — substitution

Step 8 — The edge case: don't lose

WHAT. Back in Step 3 we divided by and quietly assumed .

WHY it's dangerous. If , the constant function makes both sides of the original equation zero — it is a solution. But dividing by erased it, because you cannot divide by zero. It never reappears through .

Fix. After solving, add back by hand whenever . It is a singular solution — not part of the -family, but genuine. (And recall Step 3's stricter warning: if is a non-integer, we already restricted to , so sits on the boundary of the allowed domain rather than inside it.)

PICTURE. The -family of curves plus the flat red line hovering separately, labelled "lost in the division, restored by hand".

Figure — Bernoulli equations — substitution

The one-picture summary

Everything above, compressed into a single pipeline: nonlinear → divide by → rename → chain rule feeds the engine → linear ODE in → integrating factor → back-substitute → (plus the singular when ).

Figure — Bernoulli equations — substitution
Recall Feynman retelling — the whole walkthrough in plain words

We started with an equation that was almost the easy kind, except one piece had raised to a weird power . That power is the only villain. First we divided everything by ; this made the villain on the right vanish into a plain "", and it left behind exactly two matching crumbs: a lonely power and a slope-chunk . (If that power is a fraction, we quietly agree to stay on one side of zero — say — so and friends make sense.) Then we gave the lonely power a nickname, . When we differentiated that nickname using the chain rule, out popped the slope-chunk (times a constant ) — proving the two crumbs were really and in disguise. Swapping them in, the whole equation flattened into a straight, linear equation in , which we solve with the integrating-factor trick we already know. Solve for , translate the nickname back to , and — if the power was positive — remember to hand back the flat solution that the division had swallowed. Done.


Connections