4.6.7 · D1Ordinary Differential Equations

Foundations — Integrating factors for non-exact equations

1,832 words8 min readBack to topic

Before you can use the parent note, you must own every piece of its language. We build each symbol from nothing, anchor it to a picture, and say why the topic needs it. Read top to bottom — each item leans on the one above.


1. Functions of two variables: , ,

Picture a flat map (the plane laid on the ground). At every point you stand, the function hands you a number — think height above sea level. So is a landscape: a hill sitting over the plane.

  • = how far east you stand (horizontal axis).
  • = how far north you stand (the other horizontal axis).
  • = the height of the hill directly above you.

Why the topic needs it. The whole method hunts for a hidden height-function whose contour lines are the solutions of the ODE. And , are themselves two-variable functions — they take a value at every point of the plane.


2. Contour lines and ""

On a real hiking map, contour lines join places of equal height. Walk along a contour and you never go up or down.

The green loops in the figure are the curves , , . The whole point of solving the ODE is to name these loops — the answer "" means "the solution is whichever contour you started on."

Why the topic needs it. The boxed answers in the parent (e.g. ) are exactly "this contour of ." No contours, no solution.


3. The differential pieces , and the form

Look at the yellow tiny arrow at a point. The rule scores it: weights the eastward part, weights the northward part. Choosing a direction that scores keeps you on the level curve.

Why the topic needs it. The parent writes every first-order ODE in this differential form . That single line is the object we test, multiply, and solve.


4. Partial derivatives , , ,

The word partial means "one direction at a time." Freeze like a constant, then differentiate the leftover one-variable function of as usual.

  • Blue slice: cut the hill with a wall running east; the tilt of that slice is .
  • Red slice: cut with a wall running north; its tilt is .

Why the topic needs it. The exactness test , the integrating-factor PDE, and the recovery of are all built from partial derivatives. This is the single most-used tool on the page.


5. The total differential

This is just "rise = slope × run," done in both directions and added. It is the bridge between the hill picture and the walking-rule picture.

Why the topic needs it. This is the definition of exact: an equation is exact exactly when its left side is somebody's total differential.


6. Why tests exactness (Clairaut)

If and , then and , and Clairaut forces these equal. So:

Why the topic needs it. This is the cheap check that tells us whether an even exists before we hunt for it — and the equation the integrating factor is designed to force true. (Vector-field readers: this is the curl-free / conservative condition.)


7. The exponential and the integral: , , and

Why the topic needs it. The two boxed formulas and are this idea. This same shows up in Linear first-order ODEs — it is the same trick.


8. The recovery of by partial integration and

You then differentiate your candidate in , match it to , and that pins down , hence .

Why the topic needs it. This is step 5 of the parent's procedure — how you actually produce the potential once the equation is exact. Forgetting is one of the listed classic mistakes.


How it all feeds the topic

Two-variable function F x y

Contour line F = C

Partial derivatives Fx Fy

Tiny steps dx dy

Walking rule M dx + N dy

Total differential dF = Fx dx + Fy dy

Exact means rule equals dF

Clairaut Fxy = Fyx

Test My = Nx

Not exact so multiply by mu

exp and integral

mu = exp integral g

Recover F using phi y

Solution F = C


Equipment checklist

Self-test: can you answer each before revealing?

What does picture as?
A landscape / hill: a height above every point of the flat plane.
What is a contour line, and why is the answer written ?
All points of equal height ; solution curves are contours, one per constant .
What does the walking rule ask geometrically?
Move in a direction that changes the quantity by nothing — stay on a level curve.
How do you compute ?
Freeze as a constant and differentiate with respect to .
Write the total differential of .
.
What makes an equation exact in terms of ?
Its left side equals a total differential: and .
Why does exactness reduce to ?
Because , , and Clairaut gives .
Why does appear in the integrating factor?
Solving needs the function whose -derivative is ; that is .
Why is the integrating factor never zero?
is always positive, so multiplying by it keeps the same solution set.
Why does appear when recovering ?
The -integration "constant" can be any function of , since such terms have zero -slope.

Connections