Loading…

Exact Differential Equation Solver

Math Calculus • Differential Equations

View all topics

6. Exact DE Solver

Solve \(M(x,y)\,dx + N(x,y)\,dy = 0\) when \(\partial M/\partial y = \partial N/\partial x\) by finding a potential \(\Phi(x,y)\) such that \(\Phi_x=M,\ \Phi_y=N\), hence \(\Phi(x,y)=C\).

Input supports: pi, e, sqrt( ), sin, cos, exp, log. Use * for multiplication.
Initial condition (optional)

The graph marks \((x_0,y_0)\) with a coordinate label. If “Use IC” is enabled, the plotted main level is \(\Phi(x,y)=\Phi(x_0,y_0)\).

Graph settings (optional)

Drag to pan, mouse wheel to zoom, double-click to reset view. Axes units are your \(x,y\) input units.

Ready

Steps

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

Graph

Implicit solution: \(\Phi(x,y)=C\) (level curves)
Hover to probe \((x,y)\) and \(\Phi(x,y)\).

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?

An equation M(x,y) dx + N(x,y) dy = 0 is exact if there exists a potential function Phi(x,y) such that Phi_x = M and Phi_y = N. The solution is given implicitly by Phi(x,y) = C.

How do you check whether M(x,y) dx + N(x,y) dy = 0 is exact?

A common test is comparing the mixed partials: dM/dy and dN/dx. If they are equal on a region where M and N have continuous first partial derivatives, the equation is exact.

How is the potential function Phi(x,y) found for an exact equation?

Integrate M(x,y) with respect to x to get Phi(x,y) = integral M dx + g(y), then differentiate with respect to y and match N(x,y) to determine g(y).

How does an initial condition determine the constant C?

After finding Phi(x,y), substitute the point (x0,y0) into Phi(x,y) = C to get C = Phi(x0,y0). This selects the specific level curve passing through the given point.

Why might the solver report that the equation is not exact?

If dM/dy and dN/dx are not equal, the differential form is not exact under the standard test. In some cases an integrating factor depending only on x or only on y can make it exact, but that requires additional analysis beyond the basic exactness condition.