Exact Differential Equations

College Depth 76 in the knowledge graph I know this Set as goal
Unlocks 39 downstream topics
exact-equations first-order partial-derivatives

Core Idea

An exact differential equation M(x,y)dx + N(x,y)dy = 0 satisfies ∂M/∂y = ∂N/∂x, indicating it comes from a potential function F(x,y) where dF = M dx + N dy. The solution is implicitly F(x,y) = C, found by integrating M with respect to x. For non-exact equations, an integrating factor can restore exactness.

Explainer

You have already worked with integrating factors to solve linear first-order ODEs, and you have seen partial derivatives as a tool for differentiating functions of two variables. Exact differential equations bring these ideas together. The central insight is that some ODEs are secretly just the statement dF = 0 in disguise — they say that some function F(x, y) is constant along solution curves. If you can find F, the solution is F(x, y) = C, and you never need to solve anything explicitly.

The equation M(x, y) dx + N(x, y) dy = 0 is exact if the expression M dx + N dy is the total differential of some function F. Recall from partial derivatives that the total differential of F(x, y) is dF = (∂F/∂x) dx + (∂F/∂y) dy. So exactness requires ∂F/∂x = M and ∂F/∂y = N simultaneously. The exactness condition ∂M/∂y = ∂N/∂x is then just the equality of mixed partials: ∂²F/∂y∂x = ∂²F/∂x∂y. If the mixed partials are equal (which Clairaut's theorem guarantees for smooth F), the equation is exact. This condition is both necessary and sufficient (on a simply connected domain), so checking ∂M/∂y = ∂N/∂x is the complete test for exactness.

Finding the potential function F follows a two-step integration process. Since ∂F/∂x = M, integrate M with respect to x: F(x, y) = ∫M dx + g(y). The unknown function g(y) (not a constant, but a function of y alone) accounts for the "constant of integration" in a multivariable setting. Then differentiate F with respect to y and set it equal to N: ∂F/∂y = (∂/∂y)∫M dx + g'(y) = N. This determines g'(y), which you integrate to find g(y). The solution is then F(x, y) = C implicitly. Note that this process only works when the exactness condition holds — if ∂M/∂y ≠ ∂N/∂x, no such F exists and the method fails cleanly.

When the equation is not exact, an integrating factor μ(x, y) can sometimes restore exactness by multiplying through: μM dx + μN dy = 0. Your prerequisite work with integrating factors for linear ODEs is a special case — those integrating factors depended on x alone. The general case is harder: finding μ requires solving its own PDE, which may be intractable. The practical strategy is to check whether (∂M/∂y − ∂N/∂x)/N depends only on x (which gives an integrating factor μ(x)), or whether (∂N/∂x − ∂M/∂y)/M depends only on y (giving μ(y)). If neither simplification works, exact equations may not be the right approach for that particular ODE.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionFundamental Theorem of Calculus Part 1Fundamental Theorem of Calculus Part 2U-SubstitutionIntegration by PartsSeparable Differential EquationsIntegrating Factor Method for First-Order Linear ODEsExact Differential Equations

Longest path: 77 steps · 319 total prerequisite topics

Prerequisites (2)

Leads To (1)