differential equation calculator step by step

Step-by-Step Differential Equation Calculator

This calculator solves common first-order differential equations and shows each major step.

Enter values and click Solve Step by Step.

What this differential equation calculator does

A differential equation relates a function to one or more derivatives of that function. In practical terms, it describes how a quantity changes over time (or another variable). This page gives you a clean, quick way to solve several high-value first-order equations and see the core solution logic in plain language.

Instead of only returning a final formula, the calculator shows the method: separation of variables, integrating factors, and direct integration. That makes it useful for homework checks, exam prep, and intuition building.

Supported equation families

1) Exponential model: y′ = k·y

Used for population growth, radioactive decay, cooling approximations, and interest-like continuous growth models. The general solution is exponential, and an initial condition determines the constant.

2) Linear constant-coefficient model: y′ + p·y = q

A classic first-order linear equation. The integrating factor method gives a general solution that combines a steady-state term and a transient exponential term.

3) Polynomial derivative model: y′ = a·x² + b·x + c

This is straightforward antiderivative work. Integrate term-by-term, then apply the initial condition to find the constant.

How to use this calculator effectively

  • Select the equation form that matches your problem.
  • Enter coefficients carefully (decimals and negatives are allowed).
  • Enable the initial condition box if your problem gives y(x₀)=y₀.
  • Optionally enter a target x value to compute a numeric answer.
  • Read the step-by-step output to verify your own derivation.

Why step-by-step matters

Most mistakes in differential equations happen before the final arithmetic: putting terms on the wrong side, missing the integrating factor, or mishandling constants. Step-by-step output helps you pinpoint exactly where a derivation diverges.

Quick worked example (linear equation)

Suppose you solve y′ + 2y = 8 with y(0)=3. Integrating factor: μ(x)=e^(2x). Then (μy)′ = 8e^(2x), integrate both sides, and simplify:

y(x) = 4 + C e^(-2x). Apply y(0)=3, so C = -1. Final solution: y(x)=4 - e^(-2x).

Limitations

This tool is intentionally focused and does not yet solve every differential equation type (for example: Bernoulli with variable coefficients, exact equations, higher-order ODEs, systems, Laplace-transform problems, or PDEs). If your equation is outside these forms, symbolic CAS tools or a full manual method is still required.

Study tips for differential equations

  • Always classify first: separable, linear, exact, homogeneous, etc.
  • Track constants of integration with discipline.
  • After solving, differentiate your answer and substitute back to check.
  • Interpret signs and parameters physically (growth vs decay, stability vs divergence).

🔗 Related Calculators