wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 4.1.3 • 2DPublished Interactive Labs~35 min study

First-Order Exact Differential Equations & Integrating Factors

Test conservative differential forms M(x,y)dx + N(x,y)dy = 0 via the curl condition ∂M/∂y = ∂N/∂x, reconstruct scalar potentials F(x,y) = C, and rescue non-exact forms with integrating factors μ(x) or μ(y).

Engineering & Physical Application Context

Conservative potential fields in electrostatics and fluid stream functions, exact thermodynamic differentials (dU, dS, Maxwell relations), and nonlinear curve families.

Governing Mathematical Formulation
M(x,y) dx+N(x,y) dy=0 is exact   ⟺  ∂M∂y=∂N∂xM(x,y)\,dx + N(x,y)\,dy = 0 \text{ is exact } \iff \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}
μ(x)=exp⁡ ⁣(∫My−NxN dx),μ(y)=exp⁡ ⁣(∫Nx−MyM dy)\mu(x) = \exp\!\left(\int \frac{M_y - N_x}{N}\,dx\right), \qquad \mu(y) = \exp\!\left(\int \frac{N_x - M_y}{M}\,dy\right)
Volume IV • Module 4.11 Interactive Lab(s)

The Question You Should Ask

When does a differential equation M(x,y) dx+N(x,y) dy=0M(x,y)\,dx + N(x,y)\,dy = 0 hide a conserved level curve F(x,y)=CF(x,y) = C—and how can an integrating factor μ\mu restore exactness when ∂M/∂y≠∂N/∂x\partial M/\partial y \neq \partial N/\partial x?

In Simple Words & Math

If ∂M/∂y=∂N/∂x\partial M/\partial y = \partial N/\partial x on a simply connected region, the 1-form M dx+N dyM\,dx + N\,dy equals the total differential dF=Fx dx+Fy dydF = F_x\,dx + F_y\,dy of a scalar potential F(x,y)F(x,y), forcing solution curves to follow level contours F(x,y)=CF(x,y) = C orthogonal to ∇F=⟨M,N⟩\nabla F = \langle M, N\rangle.

Even when My≠NxM_y \neq N_x, testing (My−Nx)/N(M_y - N_x)/N (function of xx alone) or (Nx−My)/M(N_x - M_y)/M (function of yy alone) constructs an integrating factor μ\mu that makes μM dx+μN dy=0\mu M\,dx + \mu N\,dy = 0 exact without changing any integral curves.

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 4.1.3
STEP 1 • GEOMETRIC QUESTION

How can we solve M(x,y)dx + N(x,y)dy = 0 implicitly as F(x,y) = C—and what if M_y ≠ N_x breaks exactness?

STEP 2 • INTERACTIVE LAB EXPLORATION

Click anywhere in the (x,y) plane to pin an initial condition (x₀, y₀), inspect the active contour F(x,y) = C, toggle ∇F vs. tangent vectors, and compare raw non-exact curl against integrating-factor rescue μ(x) and μ(y).

STEP 3 • SYMBOLIC FORMALIZATION
F(x,y)=∫M(x,y) dx+h(y),h′(y)=N(x,y)−∂∂y ⁣∫M(x,y) dxF(x,y) = \int M(x,y)\,dx + h(y), \qquad h'(y) = N(x,y) - \frac{\partial}{\partial y}\!\int M(x,y)\,dx
STEP 4 • EDGE CASES & NEXT BRIDGE

Along points where μ(x,y) = 0 (like y = 0 for μ(y) = y), check whether the factor introduced or masked a singular equilibrium solution! Next, Module 4.2 shifts to higher-order linear ODEs.

Interactive Laboratories in Chapter 4.1.3
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Conservative 1-Forms, Curl Exactness & Integrating Factors

1. SCHWARZ SYMMETRY EXACTNESS TEST
M dx+N dy=dF  ⟺  ∂M∂y=∂N∂xM\,dx + N\,dy = dF \iff \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

When mixed partials match on a simply connected domain, solutions trace level curves F(x,y)=CF(x,y)=C orthogonal to ∇F=⟨M,N⟩\nabla F = \langle M, N \rangle.

2. POTENTIAL RECOVERY PROTOCOL
F(x,y)=∫M dx+h(y),h′(y)=N−∂∂y ⁣∫M dxF(x,y) = \int M\,dx + h(y), \quad h'(y) = N - \frac{\partial}{\partial y}\!\int M\,dx

The missing pure-yy function h(y)h(y) drops out automatically because exactness cancels all xx-dependence in h′(y)h'(y).

3. INTEGRATING FACTOR RESCUE μ(x) OR μ(y)
μ(x)=e∫My−NxN dx,μ(y)=e∫Nx−MyM dy\mu(x) = e^{\int \frac{M_y - N_x}{N}\,dx}, \qquad \mu(y) = e^{\int \frac{N_x - M_y}{M}\,dy}

Whenever either ratio collapses to a single variable, multiplying by μ\mu restores (μM)y=(μN)x(\mu M)_y = (\mu N)_x while preserving the tangent field.

Conservative 1-Forms & Integrating Factors • Ch. 4.1.3

First-Order Exact ODEs, Potential Recovery & Integrating Factor Derivations

Open Exact ODE Formulas →
1. CONSERVATIVE POTENTIAL & TOPOLOGY TRAP
dF=Fx dx+Fy dy=0  ⟹  My=Fxy=Fyx=NxdF = F_x\,dx + F_y\,dy = 0 \implies M_y = F_{xy} = F_{yx} = N_x

If M,N∈C1M, N \in C^1 on a simply connected rectangle, My=NxM_y = N_x is both necessary and sufficient for a global potential F(x,y)=CF(x,y)=C. On a punctured plane around (0,0)(0,0), the vortex form −y dx+x dyx2+y2\frac{-y\,dx + x\,dy}{x^2+y^2} has My=NxM_y = N_x yet winds by 2π2\pi per loop!

2. STEP-BY-STEP WORKED RECOVERY
(exsin⁡y+2x) dx+(excos⁡y+2y) dy=0(e^x\sin y + 2x)\,dx + (e^x\cos y + 2y)\,dy = 0
F=exsin⁡y+x2+h(y),    Fy=excos⁡y+h′(y)=NF = e^x\sin y + x^2 + h(y), \;\; F_y = e^x\cos y + h'(y) = N

Verify My=excos⁡y=NxM_y = e^x\cos y = N_x. Integrating MM in xx introduces an arbitrary function h(y)h(y) (not a constant!). Equating Fy=NF_y = N gives h′(y)=2y  ⟹  h(y)=y2h'(y)=2y \implies h(y)=y^2, yielding exsin⁡y+x2+y2=Ce^x\sin y + x^2 + y^2 = C.

3. DERIVING INTEGRATING FACTORS μ(x), μ(y)
(μM)y=(μN)x  ⟹  μyM−μxN=μ(Nx−My)(\mu M)_y = (\mu N)_x \implies \mu_y M - \mu_x N = \mu(N_x - M_y)
μ=μ(x)  ⟹  μ′μ=My−NxN\mu=\mu(x) \implies \frac{\mu'}{\mu} = \frac{M_y - N_x}{N}

If μ\mu depends only on xx, then μy=0\mu_y = 0, collapsing the PDE into (My−Nx)/N=p(x)(M_y-N_x)/N = p(x); symmetrically, (Nx−My)/M=q(y)(N_x-M_y)/M = q(y) gives μ(y)=e∫q dy\mu(y)=e^{\int q\,dy}. Always check whether roots μ(x,y)=0\mu(x,y)=0 correspond to dropped equilibrium lines!

Chapter 4.1.3 Laboratory Specifications

1 Interactive Lab(s)
LAB 4.1.3.1Component: ExactOdePotentialLab

Exact Differential Equations, Curl Test & Integrating Factor Lab

Click (x₀, y₀) to trace conservative contours F(x,y) = C, verify M_y = N_x, and apply integrating factors μ(x) or μ(y).

∂(μM)∂y=∂(μN)∂x\frac{\partial (\mu M)}{\partial y} = \frac{\partial (\mu N)}{\partial x}