Percentage Calculator X
What are you solving?

Differential Equation Calculator

Enter an equation and, if you have them, initial conditions. The calculator identifies whether it is separable, first-order linear or a second-order equation with constant coefficients, solves it step by step, and checks the answer by substituting it back. Anything outside those three types gets a clear not-supported message.

How to use the differential equation calculator

Type your numbers. The answer and the working update as you type.

Write y, y' and y'' (or dy/dx) with an = sign. Supported: y' = g(x)·y^k, y' + p·y = Q(x) with p a number, and a·y'' + b·y' + c·y = 0 with numbers a, b, c.

Result

Enter your numbers above to see the answer and every step.

Worked example

Take the equation where the derivative of y equals x times y. It is separable, so the page moves the y terms to one side, integrates both sides and solves for y. The general solution is Eq(y(x), C1*exp(x**2/2)), where the constant stays open until you add an initial condition.

Types it solves

The steps of the worked example appear here.

What it does not solve

  • Only three classes are supported, and others return a not-supported message. Out of scope are Bernoulli equations, exact equations, systems, series and numerical solutions and PDEs.

Method and sources

A separable equation is split into y terms and x terms and integrated. A first-order linear equation uses an integrating factor, the exponential of the integral of the coefficient. A second-order equation with constant coefficients uses the characteristic equation, and the sign of its discriminant decides the form of the solution. With initial conditions the constants are solved exactly, and the result is verified by substitution.

What it does not cover

  • Only three classes are supported, and others return a not-supported message. Out of scope are Bernoulli equations, exact equations, systems, series and numerical solutions and PDEs.

Rules and calculation checked on 11 Oct 2026.

How we check our answers · Official sources

Questions people ask

How to find the general solution of a differential equation?

Enter the equation and read the general solution, which contains arbitrary constants. In the example above the solution is Eq(y(x), C1*exp(x**2/2)). Add initial conditions to fix the constants and get a particular solution; the page then substitutes back to confirm.

Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.