ProofComplete

Proof of Exactness Criterion

We prove that for a differential equation M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0 to be exact, it is necessary and sufficient that My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.

ProofExactness Criterion

Statement: 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}

Proof:

Necessity (\Rightarrow): Assume the equation is exact. Then there exists 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)

Taking the partial derivative of the first equation with respect to yy:

2Fyx=My\frac{\partial^2 F}{\partial y \partial x} = \frac{\partial M}{\partial y}

Taking the partial derivative of the second equation with respect to xx:

2Fxy=Nx\frac{\partial^2 F}{\partial x \partial y} = \frac{\partial N}{\partial x}

By Clairaut's theorem (equality of mixed partial derivatives), if FF has continuous second partial derivatives, then:

2Fyx=2Fxy\frac{\partial^2 F}{\partial y \partial x} = \frac{\partial^2 F}{\partial x \partial y}

Therefore:

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

Sufficiency (\Leftarrow): Assume My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}. We must show there exists F(x,y)F(x,y) such that Fx=M\frac{\partial F}{\partial x} = M and Fy=N\frac{\partial F}{\partial y} = N.

Define F(x,y)F(x,y) by:

F(x,y)=x0xM(s,y)ds+y0yN(x0,t)dtF(x,y) = \int_{x_0}^x M(s,y)ds + \int_{y_0}^y N(x_0,t)dt

where (x0,y0)(x_0, y_0) is any fixed point in the domain.

Step 1: Show Fx=M(x,y)\frac{\partial F}{\partial x} = M(x,y).

By Leibniz's rule for differentiation under the integral sign:

Fx=xx0xM(s,y)ds+xy0yN(x0,t)dt\frac{\partial F}{\partial x} = \frac{\partial}{\partial x}\int_{x_0}^x M(s,y)ds + \frac{\partial}{\partial x}\int_{y_0}^y N(x_0,t)dt

The first term gives M(x,y)M(x,y) by the fundamental theorem of calculus.

The second term is zero because N(x0,t)N(x_0,t) does not depend on xx. Therefore:

Fx=M(x,y)\frac{\partial F}{\partial x} = M(x,y) \quad \checkmark

Step 2: Show Fy=N(x,y)\frac{\partial F}{\partial y} = N(x,y).

Fy=yx0xM(s,y)ds+yy0yN(x0,t)dt\frac{\partial F}{\partial y} = \frac{\partial}{\partial y}\int_{x_0}^x M(s,y)ds + \frac{\partial}{\partial y}\int_{y_0}^y N(x_0,t)dt

The second term gives N(x0,y)N(x_0,y) by the fundamental theorem.

For the first term, differentiate under the integral:

yx0xM(s,y)ds=x0xMy(s,y)ds\frac{\partial}{\partial y}\int_{x_0}^x M(s,y)ds = \int_{x_0}^x \frac{\partial M}{\partial y}(s,y)ds

Using the exactness condition My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}:

=x0xNx(s,y)ds=N(x,y)N(x0,y)= \int_{x_0}^x \frac{\partial N}{\partial x}(s,y)ds = N(x,y) - N(x_0,y)

by the fundamental theorem of calculus.

Therefore:

Fy=N(x,y)N(x0,y)+N(x0,y)=N(x,y)\frac{\partial F}{\partial y} = N(x,y) - N(x_0,y) + N(x_0,y) = N(x,y) \quad \checkmark

We have constructed F(x,y)F(x,y) satisfying both required conditions, proving the equation is exact. ∎

Remark

The proof reveals why the exactness condition is equivalent to path independence of line integrals. The function F(x,y)F(x,y) can be interpreted as:

F(x,y)=(x0,y0)(x,y)Mdx+NdyF(x,y) = \int_{(x_0,y_0)}^{(x,y)} M\,dx + N\,dy

The condition My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} ensures this integral is independent of the path taken from (x0,y0)(x_0,y_0) to (x,y)(x,y), which is precisely the condition for the vector field (M,N)(M,N) to be conservative.

ExampleAlternative Construction of F

An alternative method to construct FF is:

F(x,y)=M(x,y)dx+g(y)F(x,y) = \int M(x,y)dx + g(y)

where the "constant" of integration g(y)g(y) is a function of yy only. Then:

Fy=yM(x,y)dx+g(y)=N(x,y)\frac{\partial F}{\partial y} = \frac{\partial}{\partial y}\int M(x,y)dx + g'(y) = N(x,y)

Solving for g(y)g'(y):

g(y)=N(x,y)yM(x,y)dxg'(y) = N(x,y) - \frac{\partial}{\partial y}\int M(x,y)dx

The exactness condition guarantees that the right side is a function of yy alone, making g(y)g(y) well-defined.

This proof connects ODE theory to vector calculus through the concepts of conservative fields and potential functions.