ConceptComplete

Exact Equations

Exact equations arise naturally from the total differential of a function of two variables. They provide an elegant connection between differential equations and multivariable calculus, particularly the theory of conservative vector fields.

DefinitionExact Differential Equation

A first-order differential equation of the form:

M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0

is called exact if there exists a function F(x,y)F(x,y) such that:

Fx=M(x,y)andFy=N(x,y)\frac{\partial F}{\partial x} = M(x,y) \quad \text{and} \quad \frac{\partial F}{\partial y} = N(x,y)

In this case, the solution is given implicitly by F(x,y)=CF(x,y) = C.

The criterion for exactness comes from the equality of mixed partial derivatives.

Exactness Criterion

The equation M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0 is exact if and only if:

My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

This follows from the equality of mixed partials: 2Fyx=2Fxy\frac{\partial^2 F}{\partial y \partial x} = \frac{\partial^2 F}{\partial x \partial y}.

ExampleTesting for Exactness

Consider (2xy+3)dx+(x2+4y)dy=0(2xy + 3)dx + (x^2 + 4y)dy = 0.

Here M(x,y)=2xy+3M(x,y) = 2xy + 3 and N(x,y)=x2+4yN(x,y) = x^2 + 4y.

My=2x,Nx=2x\frac{\partial M}{\partial y} = 2x, \quad \frac{\partial N}{\partial x} = 2x

Since My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}, the equation is exact.

Solution Method

To solve an exact equation:

  1. Verify exactness: Check that My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

  2. Find F: Integrate MM with respect to xx: F(x,y)=M(x,y)dx+g(y)F(x,y) = \int M(x,y)dx + g(y) where g(y)g(y) is an unknown function of yy only

  3. Determine g(y): Differentiate FF with respect to yy and set equal to NN: Fy=N(x,y)\frac{\partial F}{\partial y} = N(x,y)

  4. Write solution: The implicit solution is F(x,y)=CF(x,y) = C

ExampleSolving an Exact Equation

Solve (2xy+3)dx+(x2+4y)dy=0(2xy + 3)dx + (x^2 + 4y)dy = 0.

We already verified exactness. Now integrate MM with respect to xx:

F(x,y)=(2xy+3)dx=x2y+3x+g(y)F(x,y) = \int (2xy + 3)dx = x^2y + 3x + g(y)

Differentiate with respect to yy:

Fy=x2+g(y)\frac{\partial F}{\partial y} = x^2 + g'(y)

Set equal to NN:

x2+g(y)=x2+4yx^2 + g'(y) = x^2 + 4y

Therefore g(y)=4yg'(y) = 4y, giving g(y)=2y2g(y) = 2y^2.

The solution is:

F(x,y)=x2y+3x+2y2=CF(x,y) = x^2y + 3x + 2y^2 = C

Remark

Not all first-order equations can be written in exact form, but some non-exact equations can be made exact by multiplying by an appropriate integrating factor μ(x,y)\mu(x,y). Finding such integrating factors is generally difficult, but in special cases (when μ\mu depends only on xx or only on yy), systematic methods exist.

ExampleNon-Exact Equation with Integrating Factor

Consider ydxxdy=0y\,dx - x\,dy = 0.

Here M=yM = y and N=xN = -x.

My=1,Nx=1\frac{\partial M}{\partial y} = 1, \quad \frac{\partial N}{\partial x} = -1

Not exact! However, multiplying by μ=1/y2\mu = 1/y^2 gives:

1ydxxy2dy=0\frac{1}{y}dx - \frac{x}{y^2}dy = 0

Now My=1/y2=Nx\frac{\partial M}{\partial y} = -1/y^2 = \frac{\partial N}{\partial x}, so it's exact.

The solution is F=x/y=CF = x/y = C, or x=Cyx = Cy.

Exact equations provide deep insight into the geometric structure of differential equations and their relationship to gradient fields and path independence in vector calculus.