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.

Presets:

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

Result

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

Summary

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.

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-06-13 · Reviewed by Nham Vu