Exactness and the Great Substitutions
The form is exact when some has and — then solutions are simply the level curves . The test is Clairaut in disguise: exactness holds iff (both equal the mixed partial ). For example, has and comes from : its solutions are the curves .
Why level curves: along a solution , the chain rule gives , which is zero exactly when the equation holds. So is constant along every solution. To build : integrate in (adding an unknown ), differentiate in , and match against to determine — the same construction as finding a potential for a conservative vector field, because it is the same problem.
A non-exact equation can often be repaired by multiplying through by . Try single-variable factors first: if depends on alone, works; if depends on alone, use the analogous .
Example: has , but turns it into — exact. The linear-equation integrating factor from first-order theory is a special case of this idea. Where the formula comes from: with , exactness of reads , i.e. . The left side depends on only, so this can be solved for exactly when the right side does too.
Homogeneous type : substitute (so ) and the equation separates in and . Bernoulli : divide by and substitute — the equation becomes linear in , solvable by integrating factor.
Both are one-line changes of viewpoint that convert something unsolvable-looking into a solved chapter; recognizing the pattern is the entire skill. The mechanism in the homogeneous case: gives by the product rule, while the right side becomes , so — the variables separate.
In physics, "is exact?" becomes "is this quantity a state function?" Energy and entropy are exact differentials (path-independent); heat and work are not — and integrating factors are precisely how temperature turns the inexact heat differential into exact entropy: . A chapter of calculus explaining a law of nature.
Is exact? If so, solve it.
Show the answerHide the answer
Test: and give and ; they are equal, so the equation is exact. Build : integrating in gives , and must equal , so . The solutions are , that is, . Verify: ✓, exactly the original form. (The equation also separates, , and gives the same curves.)
Building the Potential, with Initial Data
To solve an exact equation :
- integrate with respect to , holding fixed: ;
- differentiate in and set ; this determines ;
- integrate to get ;
- the solutions are the curves , and an initial point fixes .
Step 2 always produces an equation for with no in it, and that is exactly where exactness is used: has -derivative , so it depends on alone. If an survives in , the equation was not exact or an integration slipped. The solution through is the level curve ; read as a function , it continues until the curve turns vertical, which happens where .
Solve with , and find where the solution exists.
Step 1 — test: , so the equation is exact.
Step 2 — integrate in : .
Step 3 — match: must equal , so , and .
Step 4 — the data: , so the solution curve is , an ellipse.
Step 5 — as a function: solving the quadratic in gives , and the sign is the one with .
Step 6 — where it lives: the tangent turns vertical where , which on the ellipse happens at and . The solution exists on ; the lower half of the ellipse is a different solution, the one through .
Solve with .
Step 1 — test, using the product rule: and , so the equation is exact.
Step 2 — integrate in : , so .
Step 3 — match: must equal , so and .
Step 4 — , and , so the solution is the curve .
Step 5 — verify by implicit differentiation: rearranges to ✓. No formula for in elementary functions exists here; the implicit curve is the answer.
For , a tempting shortcut adds and to get . Test it: . The term appears in both integrals and has been counted twice. Each integral recovers except for a missing piece, and the pieces overlap; the matching step is what keeps each term once. The correct potential is .
Show that is exact, and find the solution curve through .
Show the answerHide the answer
Test: and , so it is exact. Integrate in : . Match: must equal , so and . Then and , so the solution curve is . Check by implicit differentiation: ✓.
Substitutions in Practice
- , every term of the same total degree: set , so ; the equation separates.
- with (Bernoulli): set ; the equation becomes linear in .
- : set , so , which separates.
Each substitution turns the troublesome combination into a single new unknown. In the homogeneous case the right side depends on and only through , and leaves appearing only as a factor, so the variables separate. In the Bernoulli case, is, up to the constant , the derivative of , so dividing by makes appear linearly. In the third case the right side is constant along the lines , so tracking alone is enough. After solving, substitute back and check against the original equation.
Solve for , with .
Step 1 — divide by : , a function of alone.
Step 2 — with and : , so .
Step 3 — separate: , so .
Step 4 — the data: gives . Then , , and .
Step 5 — interval: the logarithm needs , so the solution lives on .
Step 6 — verify: , and ✓.
Solve for , with .
Step 1 — Bernoulli with ; divide by : .
Step 2 — set , so : the equation becomes , that is, , linear in .
Step 3 — integrating factor : , so and .
Step 4 — the data: gives , so .
Step 5 — back to : .
Step 6 — interval: vanishes at and , so the solution lives on and blows up at both ends, although the equation is perfectly smooth at .
Step 7 — verify: , and ✓.
Solve , .
Step 1 — the right side is a function of alone.
Step 2 — differentiate the new unknown: , which separates.
Step 3 — gives , and gives .
Step 4 — so and , on .
Step 5 — verify: ✓.
In with , writing (dropping the minus sign) turns the equation into , with ; the data give and . It fails the check: this increases, , while for . With the correct the answer is , worked in full in the last section.
Solve with .
Show the answerHide the answer
Every term has degree over degree , so the equation is of homogeneous type: with it reads . With : . Separate, using partial fractions: , so , i.e. . Data: gives . Solving gives , so , for . Verify: and ✓.
Proofs & Why It Matters
If exists with , and is twice continuously differentiable, then by Clairaut's theorem — necessity.
Conversely, on a rectangle define ; then directly, and differentiating under the integral, , using in the middle step.
From : . Multiply the equation by : , which is exactly — linear in with known coefficient functions. Every Bernoulli equation is therefore one substitution away from the integrating-factor method.
Going Deeper: Worked Problems
Solve .
Step 1 — test: , — not exact.
Step 2 — try a factor in : , a function of alone, so .
Step 3 — multiply: ; now ✓.
Step 4 — build : integrate in : ; match , so . Solutions: .
Step 5 — implicit differentiation of the answer reproduces the original equation (after dividing by ) ✓.
Solve with .
Step 1 — every term has total degree over degree : homogeneous type. Rewrite and substitute , so .
Step 2 — the equation becomes , i.e. : separable.
Step 3 — gives .
Step 4 — back-substitute: ; the data give . Solution: , i.e. for .
Step 5 — check at : ✓.
Worked, Every Step
Solve .
Step 1 — test: and : exact.
Step 2 — integrate in : .
Step 3 — match: , so , .
Step 4 — solutions: , an implicit family; a point condition picks the curve.
Step 5 — verify by implicit differentiation: rearranges to the original equation ✓.
Solve , .
Step 1 — divide by : .
Step 2 — substitute , : , i.e. .
Step 3 — integrating factor : , so and .
Step 4 — data: gives : .
Step 5 — verify: and ✓.