Separable Differential Equation Calculator
Type y' = g(x)h(y), and optionally an initial condition, to separate and integrate.
Write y' and y'' (or dy/dx and d^2y/dx^2): y' + 2y = 4 or y'' - 3y' + 2y = 0. Type powers with ^ and functions with brackets: e^x, sin(x), ln(x).
Optional: one condition such as y(0) = 2. Leave empty for the general solution, with its constant C.
Result
You entered
Show the work
Type of equation
The right side of y' is a product g(x)h(y), so this equation is separable.
Separation of variables
The right side is a product of a function of and a function of , and , so the variables can be separated.
Using
Integrate both sides
Here , so the side integrates to a logarithm.
Solve for y
Exponentiate and absorb the constant into one constant ; gives the constant solution.
Result
The general solution, with arbitrary constants.