Exact Equation Solver

Check whether M(x,y)dx + N(x,y)dy = 0 is an exact ODE by verifying dM/dy = dN/dx using numerical differentiation, with step-by-step output.

Use the Exact Equation Solver

Presets:

ODE: M(x,y) dx + N(x,y) dy = 0

Result

Enter M and N, then press "Check Exactness".

Summary

Enter expressions for M(x,y) and N(x,y), then verify exactness by comparing the numerical partial derivatives dM/dy and dN/dx at several sample points. If the equation is exact, the tool also numerically estimates the potential function F(x,y) by integrating M with respect to x.

How it works

  1. Enter expressions for M(x,y) and N(x,y) using x and y — e.g. 2*x*y and x^2 - 1.
  2. The tool evaluates dM/dy and dN/dx at several sample (x,y) points using central finite differences.
  3. It reports the maximum absolute difference between the two partials and compares it to the tolerance.
  4. If the difference is below tolerance, the equation is declared exact.
  5. When exact, the tool numerically integrates M with respect to x to estimate the potential function F(x,y).

Use cases

  • Quickly verify whether a given ODE is exact before attempting an analytic solution.
  • Check textbook problems on exact equations step-by-step.
  • Explore how M and N must relate for an equation to be exact.
  • Estimate the potential function F(x,y) numerically when the equation is exact.
  • Understand partial derivatives of two-variable expressions interactively.

Frequently Asked Questions

Last updated: 2026-05-25 · Reviewed by Nham Vu