Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Exact differential equations use partial derivatives to recognize when a first order differential equation comes from a single potential function. This cheat sheet helps students test exactness, build the potential function, and write the implicit solution clearly. It is especially useful for solving equations written in differential form, where algebra and partial integration can become confusing.

The goal is to make the method systematic and easy to check.

The main form is M(x,y)dx+N(x,y)dy=0M(x,y)\,dx + N(x,y)\,dy = 0, which is exact when My=NxM_y = N_x on a suitable region. If exact, there is a function ψ(x,y)\psi(x,y) such that ψx=M\psi_x = M and ψy=N\psi_y = N, and the solution is ψ(x,y)=C\psi(x,y)=C. If the equation is not exact, an integrating factor such as μ(x)\mu(x) or μ(y)\mu(y) may make it exact.

The most important shortcuts test whether MyNxN\frac{M_y-N_x}{N} depends only on xx or whether NxMyM\frac{N_x-M_y}{M} depends only on yy.

Key Facts

  • A first order equation in differential form is written as M(x,y)dx+N(x,y)dy=0M(x,y)\,dx + N(x,y)\,dy = 0.
  • The equation M(x,y)dx+N(x,y)dy=0M(x,y)\,dx + N(x,y)\,dy = 0 is exact when My=Nx\frac{\partial M}{\partial y}=\frac{\partial N}{\partial x} on a region where the needed derivatives are continuous.
  • For an exact equation, find a potential function ψ(x,y)\psi(x,y) satisfying ψx=M\psi_x=M and ψy=N\psi_y=N.
  • The implicit general solution of an exact equation is ψ(x,y)=C\psi(x,y)=C, where CC is an arbitrary constant.
  • A common way to build ψ\psi is ψ(x,y)=M(x,y)dx+g(y)\psi(x,y)=\int M(x,y)\,dx+g(y), then use ψy=N\psi_y=N to find g(y)g'(y).
  • If MyNxN=f(x)\frac{M_y-N_x}{N}=f(x) depends only on xx, then an integrating factor is μ(x)=ef(x)dx\mu(x)=e^{\int f(x)\,dx}.
  • If NxMyM=g(y)\frac{N_x-M_y}{M}=g(y) depends only on yy, then an integrating factor is μ(y)=eg(y)dy\mu(y)=e^{\int g(y)\,dy}.
  • For a linear equation dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x), the integrating factor is μ(x)=eP(x)dx\mu(x)=e^{\int P(x)\,dx}.

Vocabulary

Differential form
A first order differential equation written as M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0.
Exact equation
An equation Mdx+Ndy=0M\,dx+N\,dy=0 is exact when it can be written as dψ=0d\psi=0 for some potential function ψ(x,y)\psi(x,y).
Potential function
A function ψ(x,y)\psi(x,y) whose differential is dψ=ψxdx+ψydyd\psi=\psi_x\,dx+\psi_y\,dy.
Integrating factor
A nonzero function μ\mu that multiplies a differential equation to make it exact or easier to integrate.
Implicit solution
A solution written as a relation such as ψ(x,y)=C\psi(x,y)=C instead of solving explicitly for yy.
Exactness condition
The test My=NxM_y=N_x used to determine whether M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0 is exact.

Common Mistakes to Avoid

  • Testing exactness with the wrong derivatives is incorrect because the condition is My=NxM_y=N_x, not Mx=NyM_x=N_y.
  • Forgetting the unknown function after partial integration is incorrect because M(x,y)dx\int M(x,y)\,dx may still need an added term g(y)g(y).
  • Treating yy as a constant in every step is wrong because yy is constant only when integrating with respect to xx, while xx is constant when integrating with respect to yy.
  • Using μ(x)=eMyNxNdx\mu(x)=e^{\int \frac{M_y-N_x}{N}\,dx} when MyNxN\frac{M_y-N_x}{N} still contains yy is invalid because that formula requires dependence on xx only.
  • Stopping after finding an integrating factor is incomplete because the multiplied equation μMdx+μNdy=0\mu M\,dx+\mu N\,dy=0 must still be solved as an exact equation.

Practice Questions

  1. 1 Determine whether (2xy+3)dx+(x2+4y)dy=0(2xy+3)\,dx+(x^2+4y)\,dy=0 is exact, and if it is exact, find the implicit solution.
  2. 2 Solve (y+2x)dx+xdy=0(y+2x)\,dx+x\,dy=0 by first testing exactness and then finding ψ(x,y)=C\psi(x,y)=C.
  3. 3 For (2y)dx+(3x+4y)dy=0(2y)\,dx+(3x+4y)\,dy=0, test whether an integrating factor of the form μ(y)\mu(y) exists using NxMyM\frac{N_x-M_y}{M}.
  4. 4 Explain why an integrating factor can change a non-exact equation into an exact equation without changing the solution curves when μ(x,y)0\mu(x,y)\neq 0.