Loading…

Exact Differential Equation Solver

Math Calculus • Multivariable Calculus

View all topics

Solve first-order differential equations written as \(\displaystyle M(x,y)\,dx+N(x,y)\,dy=0\). The calculator checks exactness using \(\displaystyle M_y=N_x\), finds a potential function \(\Phi(x,y)=C\) when possible, and suggests an integrating factor when the equation is not exact.

Exact form \(\displaystyle M(x,y)\,dx+N(x,y)\,dy=0\) Exactness test \(\displaystyle \frac{\partial M}{\partial y}=\frac{\partial N}{\partial x}\) Potential function \(\displaystyle \Phi_x=M,\quad \Phi_y=N\) Implicit solution \(\displaystyle \Phi(x,y)=C\)

Equation and graph settings

Enter \(M\) and \(N\) from \(M(x,y)\,dx+N(x,y)\,dy=0\). Use variables x and y. Supported functions: sin, cos, tan, sqrt, abs, exp, ln, log. Constants: pi, e. Use * for multiplication.
Live preview

Quick examples

Ready
Enter \(M(x,y)\) and \(N(x,y)\), then click “Solve”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is an exact differential equation?

A first-order equation M(x,y) dx + N(x,y) dy = 0 is exact if there is a function Phi(x,y) such that Phi_x = M and Phi_y = N.

How do I check whether an equation is exact?

Compute M_y and N_x. If M_y = N_x on the domain, the equation is exact.

What is the solution of an exact differential equation?

The solution is implicit: Phi(x,y) = C, where Phi_x = M and Phi_y = N.

How is the potential function found?

Integrate M with respect to x, add an unknown function h(y), then differentiate with respect to y and compare with N to find h(y).

What if the equation is not exact?

The calculator checks standard tests for an integrating factor depending only on x or only on y.

When does an integrating factor depending only on x exist?

A common test is whether (M_y - N_x)/N is a function of x only. Then mu(x)=exp(integral of that function dx).

When does an integrating factor depending only on y exist?

A common test is whether (N_x - M_y)/M is a function of y only. Then mu(y)=exp(integral of that function dy).

What does the graph show?

When a potential function is available, the graph shows the solution curve Phi(x,y)=C through the selected initial point, nearby level curves, and the direction field.

Do the graph axes show units?

Yes. Axis tick labels include numerical values and the selected units.