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
The constant function y = 0 is also a solution of the equation: it was lost when both sides were divided by y^n.
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
With the side integrates by the power rule.
Solve for y
Take reciprocals; the constant is renamed so that the sum reads naturally.
Result
The general solution, with arbitrary constants.