Exact Equation Potential Relation: Build the Potential Function

By Vegard Gjerde Based on Masterful Learning 10 min read Published
exact-equation-potential-relation differential-equations math learning-strategies

Exact Equation Potential Relation rewrites an exact differential form M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0 as the level-set equation Ψ(x,y)=C\Psi(x,y)=C. The move preserves the solution curves by finding one potential function whose partial derivatives are MM and NN, and it is valid when MM and NN are C1C^1 on the working region and exactness has been verified. If exactness is not verified on the working region, the potential-level-set route is not licensed for that form.

Unisium hero image titled Exact Equation Potential Relation showing the principle equation and a conditions card.
The relation M(x,y)dx+N(x,y)dy=0, M=Ψx, N=ΨyΨ(x,y)=CM(x,y)\,dx+N(x,y)\,dy=0,\ M=\Psi_x,\ N=\Psi_y \Rightarrow \Psi(x,y)=C turns an exact differential form into an implicit solution.

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | Related Guides | FAQ


The Principle

The move: after verifying that M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0 is exact, reconstruct a potential function Ψ\Psi with Ψx=M\Psi_x=M and Ψy=N\Psi_y=N, then write the solution as Ψ(x,y)=C\Psi(x,y)=C.

The invariant: the solution curves are preserved because dΨ=Ψxdx+Ψydy=Mdx+Ndyd\Psi=\Psi_x\,dx+\Psi_y\,dy=M\,dx+N\,dy, so the differential equation says dΨ=0d\Psi=0 along a solution curve.

Pattern:

M(x,y)dx+N(x,y)dy=0,M=Ψx,N=ΨyΨ(x,y)=CM(x,y)\,dx+N(x,y)\,dy=0,\quad M=\Psi_x,\quad N=\Psi_y \quad \Longrightarrow \quad \Psi(x,y)=C
Legal routeIllegal route
(y+2x)dx+(x+6y)dy=0,My=Nx=1Ψ(x,y)=C(y+2x)\,dx+(x+6y)\,dy=0,\quad M_y=N_x=1 \Longrightarrow \Psi(x,y)=C(y+x)dx+(2x+y)dy=0,My=1, Nx=2⟹̸Ψ(x,y)=C(y+x)\,dx+(2x+y)\,dy=0,\quad M_y=1,\ N_x=2 \not\Longrightarrow \Psi(x,y)=C

The invalid route is tempting because both equations have the same surface form: two coefficient fields multiplying dxdx and dydy. Exactness is the guard that says those fields come from one shared potential.


Conditions of Applicability

Condition: MandNareC1ontheworkingregionM and N are C^1 on the working region; exactness criterion verified

Before applying, check: use the exactness criterion for the working region. In the standard simply connected textbook setting, this means comparing MyM_y and NxN_x on that same region before using the potential relation.

If the condition is violated: integrating MM with respect to xx and NN with respect to yy may produce incompatible pieces, so Ψ(x,y)=C\Psi(x,y)=C would solve a different problem or no problem at all.

  • The form must be written as M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0 before checking exactness.
  • The same working region matters. A form can behave differently across singularities or disconnected regions.
  • Exactness is not the same as being separable or linear; use the route that the coefficient fields license.

Want the complete framework behind this guide? Read Masterful Learning.


Common Failure Modes

Failure mode: integrate MM and NN separately without checking My=NxM_y=N_x -> the two antiderivatives may not come from one shared potential.

Debug: before reconstructing Ψ\Psi, compare MyM_y and NxN_x on the working region.

Failure mode: treat the integration “constant” as constant in both variables -> the missing term should be a function of the other variable.

Debug: after integrating MM with respect to xx, write Ψ=Mdx+h(y)\Psi=\int M\,dx+h(y), then use Ψy=N\Psi_y=N to find hh.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • Why does M=ΨxM=\Psi_x and N=ΨyN=\Psi_y make Mdx+NdyM\,dx+N\,dy equal to dΨd\Psi?
  • What information is carried by the arbitrary constant CC in Ψ(x,y)=C\Psi(x,y)=C?

For the Principle

  • What fast check tells you whether the potential-function route is legal?
  • Why does the missing term after integrating MM have to be a function of yy rather than a plain constant?

Between Principles

Generate an Example

  • Create one exact form and one near miss by choosing MM and NN so that My=NxM_y=N_x in the first case and MyNxM_y\neq N_x in the second.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the move in one sentence: _____Verify exactness, find one potential function with partial derivatives M and N, then write the implicit solution as potential equals C.
Write the canonical pattern: _____M(x,y)dx+N(x,y)dy=0, M=Ψx, N=ΨyΨ(x,y)=CM(x,y)\,dx+N(x,y)\,dy=0,\ M=\Psi_x,\ N=\Psi_y \Rightarrow \Psi(x,y)=C
State the canonical condition: _____MandNareC1ontheworkingregion;exactness criterion verifiedM and N are C^1 on the working region;\, \text{exactness criterion verified}

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to learn from worked examples.)

Procedure Walkthrough

Starting from (2xy+3)dx+(x2+4y)dy=0(2xy+3)\,dx+(x^2+4y)\,dy=0, verify exactness and reach potential level-set form.

StepExpressionOperation
0M=2xy+3,N=x2+4yM=2xy+3,\quad N=x^2+4yIdentify the two coefficient fields in Mdx+Ndy=0M\,dx+N\,dy=0.
1My=2x,Nx=2xM_y=2x,\quad N_x=2xVerify the exactness criterion.
2Ψ=(2xy+3)dx=x2y+3x+h(y)\Psi=\int (2xy+3)\,dx=x^2y+3x+h(y)Integrate MM with respect to xx, keeping the missing part as h(y)h(y).
3Ψy=x2+h(y)=x2+4y\Psi_y=x^2+h^{\prime}(y)=x^2+4yMatch the yy-partial derivative to NN.
4h(y)=4y,h(y)=2y2h^{\prime}(y)=4y,\quad h(y)=2y^2Recover the missing function of yy.
5x2y+3x+2y2=Cx^2y+3x+2y^2=CWrite the potential level set.

Drills

Action Label

What was done between these two steps? Assume MM and NN are C1C^1 and exactness has been verified.

(2xy+3)dx+(x2+4y)dy=0Ψx=2xy+3,Ψy=x2+4y(2xy+3)\,dx+(x^2+4y)\,dy=0 \quad \Longrightarrow \quad \Psi_x=2xy+3,\quad \Psi_y=x^2+4y
Reveal

The exact-equation potential relation was selected. The differential form is being treated as dΨ=0d\Psi=0, so the coefficients become the partial derivatives of one potential function.


What condition licenses this transition?

(y+2x)dx+(x+6y)dy=0Ψ(x,y)=C(y+2x)\,dx+(x+6y)\,dy=0 \quad \Longrightarrow \quad \Psi(x,y)=C
Reveal

The condition is that MM and NN are C1C^1 on the working region and exactness is verified. Here My=1M_y=1 and Nx=1N_x=1, so the potential-level-set route is legal.


A student proposes a potential-function route. Should it be accepted?

(y+x)dx+(2x+y)dy=0(y+x)\,dx+(2x+y)\,dy=0
Reveal

Reject it as an exact-equation route. Here My=1M_y=1 and Nx=2N_x=2, so exactness is not verified. The form may need another method or an integrating factor, but it is not licensed for Ψ(x,y)=C\Psi(x,y)=C as written.


Name the move in this chain.

Ψ=x2y+h(y),Ψy=x2+h(y)=x2+eyh(y)=ey\Psi=x^2y+h(y),\quad \Psi_y=x^2+h^{\prime}(y)=x^2+e^y \quad \Longrightarrow \quad h^{\prime}(y)=e^y
Reveal

This is the potential-reconstruction match. After integrating MM with respect to xx, the unknown h(y)h(y) is determined by enforcing Ψy=N\Psi_y=N.


What was the illegal move?

(2xy)dx+(x2+1)dy=0x2y+x2y+y=C(2xy)\,dx+(x^2+1)\,dy=0 \quad \Longrightarrow \quad x^2y+x^2y+y=C
Reveal

The student integrated both coefficient fields separately and added the results. For an exact equation, the goal is one potential Ψ\Psi whose partial derivatives match MM and NN, not a sum of two independent antiderivatives.


Micro-Chain

Use the potential relation. Assume the coefficient fields are C1C^1 on the working region.

(3x2+y)dx+(x+2y)dy=0(3x^2+y)\,dx+(x+2y)\,dy=0
Reveal

First check exactness:

My=1,Nx=1.M_y=1,\quad N_x=1.

Then integrate MM with respect to xx:

Ψ=x3+xy+h(y).\Psi=x^3+xy+h(y).

Match Ψy=N\Psi_y=N:

Ψy=x+h(y)=x+2y,h(y)=y2.\Psi_y=x+h^{\prime}(y)=x+2y, \quad h(y)=y^2.

So the solution is

x3+xy+y2=C.x^3+xy+y^2=C.

Use the potential relation. Assume the coefficient fields are C1C^1 on the working region.

(ex+y2)dx+(2xy+cosy)dy=0(e^x+y^2)\,dx+(2xy+\cos y)\,dy=0
Reveal

Check exactness:

My=2y,Nx=2y.M_y=2y,\quad N_x=2y.

Integrate MM with respect to xx:

Ψ=ex+xy2+h(y).\Psi=e^x+xy^2+h(y).

Match Ψy=N\Psi_y=N:

Ψy=2xy+h(y)=2xy+cosy,h(y)=siny.\Psi_y=2xy+h^{\prime}(y)=2xy+\cos y, \quad h(y)=\sin y.

Thus

ex+xy2+siny=C.e^x+xy^2+\sin y=C.

Reject or complete the route choice. Assume MM and NN are C1C^1.

(3x2+y)dx+(2x+2y)dy=0(3x^2+y)\,dx+(2x+2y)\,dy=0
Reveal

Reject the exact-equation route as written:

My=1,Nx=2.M_y=1,\quad N_x=2.

Since the exactness criterion is not verified, the potential relation is not legal for this form.


Use the potential relation after checking exactness.

(2xcosy)dx+(x2siny+3y2)dy=0(2x\cos y)\,dx+(-x^2\sin y+3y^2)\,dy=0
Reveal

Exactness check:

My=2xsiny,Nx=2xsiny.M_y=-2x\sin y,\quad N_x=-2x\sin y.

Integrate MM with respect to xx:

Ψ=x2cosy+h(y).\Psi=x^2\cos y+h(y).

Match Ψy=N\Psi_y=N:

Ψy=x2siny+h(y)=x2siny+3y2,h(y)=y3.\Psi_y=-x^2\sin y+h^{\prime}(y)=-x^2\sin y+3y^2, \quad h(y)=y^3.

So

x2cosy+y3=C.x^2\cos y+y^3=C.

Transition Identification

Where does exactness enter this chain?

(y+2x)dx+(x+6y)dy=0My=1, Nx=1Ψ=x2+xy+3y2Ψ=C(y+2x)\,dx+(x+6y)\,dy=0 \quad \Longrightarrow \quad M_y=1,\ N_x=1 \quad \Longrightarrow \quad \Psi=x^2+xy+3y^2 \quad \Longrightarrow \quad \Psi=C
Reveal

Exactness enters in the second state, where MyM_y and NxN_x are compared. The later potential reconstruction is legal because that condition check passed.


What is missing from this worked chain?

(2xy)dx+(x2+4y)dy=0Ψ=x2y+2y2x2y+2y2=C(2xy)\,dx+(x^2+4y)\,dy=0 \quad \Longrightarrow \quad \Psi=x^2y+2y^2 \quad \Longrightarrow \quad x^2y+2y^2=C
Reveal

The chain skipped the exactness check. It should verify My=2xM_y=2x and Nx=2xN_x=2x before using one potential function.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Starting from (4x3+2xy)dx+(x2+3y2)dy=0(4x^3+2xy)\,dx+(x^2+3y^2)\,dy=0, verify exactness and reach potential level-set form.

Full solution
StepExpressionMove
0M=4x3+2xy,N=x2+3y2M=4x^3+2xy,\quad N=x^2+3y^2Identify coefficient fields.
1My=2x,Nx=2xM_y=2x,\quad N_x=2xVerify exactness on the working region.
2Ψ=(4x3+2xy)dx=x4+x2y+h(y)\Psi=\int (4x^3+2xy)\,dx=x^4+x^2y+h(y)Integrate MM with respect to xx.
3Ψy=x2+h(y)=x2+3y2\Psi_y=x^2+h^{\prime}(y)=x^2+3y^2Enforce Ψy=N\Psi_y=N.
4h(y)=3y2,h(y)=y3h^{\prime}(y)=3y^2,\quad h(y)=y^3Recover the missing function.
5x4+x2y+y3=Cx^4+x^2y+y^3=CWrite the implicit solution.


FAQ

What is Exact Equation Potential Relation?

Exact Equation Potential Relation is the move from an exact differential form M(x,y)dx+N(x,y)dy=0M(x,y)\,dx+N(x,y)\,dy=0 to a potential level set Ψ(x,y)=C\Psi(x,y)=C. It works when one potential function has Ψx=M\Psi_x=M and Ψy=N\Psi_y=N.

How do I know an equation is exact?

Use the exactness criterion for the working region. In the standard simply connected textbook setting with C1C^1 coefficient fields, this means checking whether My=NxM_y=N_x; when that criterion is verified, the potential-function route is licensed.

Why is the solution written as potential equals C?

If Mdx+Ndy=dΨM\,dx+N\,dy=d\Psi, then the differential equation says dΨ=0d\Psi=0 along a solution curve. That means Ψ\Psi stays constant on the curve, so the implicit solution is Ψ(x,y)=C\Psi(x,y)=C.

What is the common mistake in solving exact equations?

The common mistake is to integrate both coefficient fields separately and add the answers. Instead, integrate one coefficient, include the missing function of the other variable, and use the second coefficient to determine that missing function.

How is this different from separation of variables?

Separation rewrites an ODE so each variable’s differential appears with its own variable-dependent factor. Exact-equation solving instead recognizes a two-variable differential form as the total differential of one potential.


How This Fits in Unisium

Within the differential equations subdomain, Unisium treats exact equations as a route-selection move: check the coefficient fields, reconstruct the potential only when exactness is verified, then use the level set as the solution form. The Unisium Study System pairs that condition check with retrieval practice, self-explanation, and compact problem-solving chains so the potential-function route becomes fluent without hiding the legality check.

Ready to practice differential equations with structure? Check access and join the Unisium waitlist or explore the complete framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The book behind these guides: a study system for physics, math, & programming built on retrieval, connection, explanation, and problem solving.

Ready to apply this strategy?

Unisium turns these evidence-based techniques into guided study sessions for math and physics. Unisium is currently in early access. See pricing, availability, and join the waitlist.

Check Unisium Access and Pricing Read More Guides

Already have access? Sign in