4.6.4 · D1Ordinary Differential Equations

Foundations — First-order linear ODEs — integrating factor method (derivation)

2,286 words10 min readBack to topic

Before you can follow the parent derivation, every symbol on that page must mean something concrete to you. Below we build each one from absolute zero, in the order they depend on each other — no symbol is used before its own section.


1. The symbols and , and what a "function of " is

Picture a curve drawn on a page. The horizontal axis is , the vertical axis is . As you slide , your finger traces up and down along the curve — that trace is the function.

Why the topic needs it: an ODE is an equation whose unknown is a whole curve , not a single number. Solving it means finding which curve fits.


2. The derivative — steepness of the curve

Here is the first piece of genuinely new notation. Read out loud as "dee-y dee-x", and understand it as a single object meaning "how fast climbs as moves."

Figure — First-order linear ODEs — integrating factor method (derivation)

Why "derivative" and not just "slope of a line"? A curve's steepness changes from point to point. The derivative is the tool that gives you the steepness at every separately — it is itself a function of . This is exactly why an ODE can hold at every point along the curve.


3. The coefficients and

Picture two extra dials on a machine, each labelled with a number that changes as you slide . At , maybe and ; at , different numbers. They are given to you — your job is to find .

Now the parent equation reads, in full, and every symbol in it — (section 2), (section 1), (here) — has now been built.

Why the topic needs the " only" restriction: if contained (say ), the equation would be nonlinear and the product-rule trick collapses. The whole method leans on and being blind to .


4. What "linear" means — the exact power rule

Figure — First-order linear ODEs — integrating factor method (derivation)

Left side of the figure: allowed shapes — , , times a function of , added up. Right side: forbidden shapes — , , .

Why the topic needs it: "linear" is precisely the class of equations for which the whole left side can later be absorbed into a single derivative. It is the entry ticket.


5. The integral sign — undoing the derivative

Figure — First-order linear ODEs — integrating factor method (derivation)

The figure shows the round trip: a curve (derivative) its slope (integral) back to the curve, plus a possible vertical shift (the accent-red arrow) — because sliding a curve up or down doesn't change its slope.

Why the topic needs it: the final move of the whole method is "integrate both sides." That is exactly the freedom that lets one ODE describe a whole family of curves, pinned down only by an initial condition. See Separable ODEs for where this backwards-machine gets used inside the derivation that follows.


6. The exponential and its inverse

Figure — First-order linear ODEs — integrating factor method (derivation)

The figure: and are mirror images across the line (accent red). Feeding one into the other lands you back where you started — that mirror is what "inverse" means.

Why the topic needs it: the special function we are about to build turns out to be an exponential, and simplifying it always means cancelling an against a . Without this you get stuck at and can't finish.


7. The product rule — the engine of the whole trick

This is the single most important prerequisite. Study Product Rule until it is automatic.


8. Building the special multiplier

Everything above now lets us define the one new object the parent note calls the integrating factor.

Multiply the standard equation by an as-yet-unknown : Now set and in the product rule from section 7:

Solving by separation of variables

This little equation is itself solvable — it is a separable ODE for . Here "separate the variables" means: get everything involving on one side and everything involving on the other.

Step 1 — divide by (WHAT & WHY): to peel off the right, divide both sides by , moving all -stuff left:

Step 2 — multiply by (WHAT & WHY): to line each side up under its own integral, gather the -differential on the left and the -differential on the right:

Step 3 — integrate both sides (WHAT & WHY): now each side is a pure "reverse-slope" problem (section 5). The left is the classic integral whose answer is a logarithm, ; the right is : This is why integrating produces the exponent — the is literally what comes out of the right-hand side, and it lands inside a logarithm.

Step 4 — undo the logarithm (WHAT & WHY): to free from inside , apply its inverse (section 6) to both sides:

Why the topic needs it: without recognising the product rule running in reverse, the collapse looks like magic. With it, it is inevitable.


How the foundations feed the topic

x and y as function y of x

derivative dy/dx as slope

P of x and Q of x knobs

linear means first power in y

integral undoes derivative plus C

exponential e and its inverse ln

product rule d of uv

integrating factor mu

Integrating factor method

Read it top-down: the notions of variable and derivative feed both the meaning of "linear" and the product rule; the product rule plus the exponential plus integration build the integrating factor ; and together with integration deliver the method itself.


Equipment checklist

Cover the right side and test yourself. If any answer is fuzzy, revisit its section above before opening the parent note.

What does mean geometrically?
The slope (steepness) of the curve at each point .
What restriction is placed on and ?
They are functions of only — they contain no .
What exactly makes an ODE "linear"?
and appear only to the first power, never multiplied or inside other functions.
Is linear or nonlinear in ?
Linear — is to the first power; the is irrelevant to linearity.
What does the integral ask for?
The function whose slope is — the reverse of differentiating.
Why does every indefinite integral carry ?
Sliding a curve vertically doesn't change its slope, so the original height is unknown by a constant.
State the product rule for .
.
What is special about that makes it appear as ?
Its slope equals itself, so it can satisfy .
Which integration technique solves ?
Separation of variables — split into then integrate.
Where did the constant from solving for go?
It becomes an overall multiplicative that cancels; we pick .
Simplify .
(taken as on the working domain, one side of ).
Which single derivative does the whole left side collapse into?
.

Connections

  • Product Rule — the engine that turns into .
  • Separable ODEs — the method used inside the derivation to solve .
  • Exact ODEs — integrating factors reappear there to make equations exact.
  • Bernoulli Equations — become linear (this topic) after a substitution.
  • Linear Constant-Coefficient ODEs — the special case where are constants.