Differential Equation Solver
Solve separable, linear, and homogeneous first-order ODEs with steps and a slope field.
Free Differential Equation Solver
Working through a first-order differential equation and want to check your method as well as your answer? Our free differential equation solver handles separable, linear, and homogeneous equations. Enter your equation in dy/dx = f(x,y) form, and the solver detects which method applies — then shows every step, from separating variables or computing an integrating factor through to the final solution.
Add an initial condition and it solves for the constant to give you the particular solution, not just the general family. A slope field graph shows the direction field across the plane with a representative solution curve drawn directly on top. If an equation doesn't match a supported closed-form method, it says so clearly instead of guessing.
Enter your equation to get started. No sign-up, no downloads, no limits.
About the Differential Equation Solver
How It Works & Methodology
The Differential Equation Solver takes a first-order ODE in dy/dx = f(x,y) form, detects whether it's separable, linear, or homogeneous, and — for equations matching a supported closed-form template — walks through the method step by step to the general solution. Add an initial condition to get the particular solution. Every equation, solvable or not, gets a slope field and a numerically integrated representative curve.
Features
Type detection
Classifies the equation as separable, linear, or homogeneous.
Step-by-step solving
Separation of variables or integrating-factor steps for supported templates.
General and particular solution
Solves for the constant when an initial condition is given.
Slope-field visualization
A direction field with a solution curve drawn on top.
Mathematical Basis & Practical Verification
The Differential Equation Solver is built on symbolic differentiation and integration rules, Taylor/Maclaurin series expansions, and numerical quadrature algorithms. Solves first-order ordinary differential equations (separable, linear first-order, and homogeneous), with step-by-step working, a particular solution from an initial condition, and a slope-field graph. Key capabilities built into this tool include separable equations, linear first-order equations, homogeneous equations, and slope field graph.
All computations for the Differential Equation Solver follow the definitions established in NIST Digital Library of Mathematical Functions (DLMF) — Differentiation, Integration & Series (National Institute of Standards and Technology (NIST)) and MIT OpenCourseWare 18.01 Single Variable Calculus Reference (Massachusetts Institute of Technology (MIT)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/differential-equation-solver.spec.ts, you can inspect boundary conditions, verify dimensional consistency across calculus units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Approximate the area under a curve with left, right, midpoint, and trapezoidal Riemann sums, visualised against the function.
Differentiate functions step by step showing chain, product and quotient rules, with a graph and higher-order derivatives.
Compute definite integrals with Simpson's rule, with symbolic antiderivatives shown for polynomial and 1/x functions.
Evaluate limits as x approaches a value or infinity, with left/right limits and L'Hôpital's rule shown.
Authoritative Sources & Standards
- NIST Digital Library of Mathematical Functions (DLMF) — Differentiation, Integration & Series — National Institute of Standards and Technology (NIST)
- MIT OpenCourseWare 18.01 Single Variable Calculus Reference — Massachusetts Institute of Technology (MIT)
Frequently Asked Questions
How does the differential equation solver work?
Enter your equation in dy/dx = f(x,y) form, and it detects the type (separable, linear, or homogeneous) and solves it step by step when a matching closed-form method is available.
What types of equations are supported?
First-order separable, linear (via integrating factor), and homogeneous equations that match a supported closed-form template.
Can it solve with an initial condition?
Yes, add x0 and y0 and it solves for the constant to give the particular solution.
What if my equation isn't one of the supported types?
It tells you clearly rather than producing an incorrect result, and still shows the slope field.
What is a slope field?
A grid of short line segments showing the equation's direction at each point; the solver draws it with a solution curve on top.
Does it show the general solution too?
Yes, the general solution with constant C is shown alongside the particular solution when an initial condition is given.
What is an integrating factor?
A function used to solve linear first-order equations; the solver applies it as part of the closed-form templates it supports.