Exact Equations and the Integrating Factor
This chapter completes the toolkit of elementary first-order techniques with the most structurally interesting one: exactness. An exact equation is secretly the statement that a function is constant along solution curves, and the entire solution method amounts to reconstructing from its own partial derivatives. When an equation is not exact, an integrating factor — a multiplier chosen to force exactness — often rescues it, generalising the linear-equation integrating factor of Chapter 2 to a genuinely two-variable setting.
Have to hand: partial derivatives and the equality of mixed partials (Clairaut's theorem) from multivariable calculus, and the differential-form notation introduced in Chapter 2.
1. Exact Equations
Write a first-order ODE in differential form
Definition. The equation is exact on a region if there exists a function (a potential function) with continuous partial derivatives on such that
In that case (the total differential of ), so the ODE reads , and every solution satisfies for a constant .
The entire solving method rests on recognising when such an exists and constructing it explicitly.
2. The Exactness Test
Theorem. Suppose have continuous partial derivatives on a simply connected region . Then is exact on if and only if
Proof. () If the equation is exact, and for some . Since have continuous partials, has continuous second partials, so by Clairaut's theorem (equality of mixed partial derivatives), .
() Suppose on the simply connected region . Define
for a fixed and an unknown function to be determined. By construction . Differentiating with respect to ,
using and the fundamental theorem of calculus. Requiring forces , which determines (up to an additive constant) by a single integration in alone. The simple connectedness of is exactly what is needed to guarantee this , built from a path integral from a fixed basepoint, is well defined and single-valued throughout .
Why simple connectedness matters. On a region with a hole, everywhere is not sufficient for a single-valued potential to exist. The classic counterexample is on : direct computation gives everywhere on the domain, yet around a loop encircling the origin, so no single-valued exists there. This is the exact same obstruction noted for the curl of a vector field in vector calculus, and it foreshadows the far-reaching role simple connectedness plays in complex integration (Chapter 11).
3. Method: Constructing the Potential Function
In practice, the proof above is carried out as an explicit algorithm:
- Verify .
- Integrate with respect to (holding fixed): , where the "constant" of integration may depend on .
- Differentiate this with respect to , set it equal to , and solve for — the -dependence must cancel out of this equation; if it does not, and a computational error has been made.
- Integrate to find (no new arbitrary function is needed here, only a constant, which is absorbed into the final answer).
- State the implicit solution .
Worked example. Solve .
Here . Check exactness: and , so and the equation is exact.
Integrate with respect to : .
Differentiate with respect to and match to : , so , giving (dropping the redundant constant).
Hence , and the general solution is
As a check, implicit differentiation of gives , i.e. — exactly the original equation.
4. Integrating Factors for Non-Exact Equations
If is not exact, it may become exact after multiplying through by a suitable function , called an integrating factor: is exact precisely when
In general this is itself a (harder) partial differential equation for , but two special cases reduce to an ordinary differential equation and are the standard syllabus cases.
Case 1: a function of alone. Expanding the exactness condition for :
This has a solution (via separation) if and only if the right side is a function of alone; when it is, call it , and then
Case 2: a function of alone. By the symmetric computation,
which is solvable for if and only if is a function of alone, say , giving .
Relation to Chapter 2. For a linear equation , written in differential form as , one finds , , so , a function of alone — recovering exactly Chapter 2's integrating factor as the special Case 1 of this more general theory.
Worked example. Solve .
Here . Check exactness: , ; these are unequal, so the equation is not exact.
Try Case 1: , a function of alone. So (for ).
Multiplying through by : . Checking: new , new — equal, confirming exactness. Integrating the new with respect to : ; differentiating in and matching to the new gives . The general solution is
5. Common Exam Pitfalls
- Checking exactness on the original equation but forgetting to recheck it after multiplying by an integrating factor. The whole point of is to restore exactness; always verify on the new equation before proceeding to construct .
- Conflating this chapter's integrating factor with Chapter 2's. Chapter 2's is the special case of Case 1 applied to a linear equation written in differential form; the general test must still be checked for other equations — it is not automatically .
- Forgetting that (or ) is found by differentiating the partial potential function, not by guessing. The -terms must cancel identically when is set equal to ; if they do not cancel, exactness has failed (or an algebra error was made) — it is not something to force by hand.
- Assuming an integrating factor of the simple or form always exists. The ratio (or ) must genuinely simplify to a function of one variable alone; if neither does, a more general (beyond this chapter's scope) or an entirely different method is required.
- Dropping the requirement of simple connectedness. guarantees a local potential function; on a region with a hole (as in the Section 2 counterexample), the global solution curves may not close up into a genuine single-valued function.
- Sign errors when converting to . Writing means a given corresponds to , (one valid choice among infinitely many equivalent scalings), and mixing up this sign convention corrupts the exactness test.
Summary
- Exact equation: with for some potential ; solutions are the level curves .
- Exactness test: on a simply connected region is necessary and sufficient, proved via Clairaut's theorem (necessity) and an explicit path-integral construction of (sufficiency).
- Method: integrate in to get up to ; differentiate in , match to , solve for , integrate, assemble .
- Integrating factors: if depends only on , use ; if depends only on , use ; Chapter 2's linear integrating factor is the special case of the first applied to .
- Simple connectedness of the domain is essential for a global potential function to exist, even when holds pointwise everywhere it is defined.