Second-Order ODE Calculator
Type ay'' + by' + cy = g(x), and optionally y(x₀) and y'(x₀), to solve it.
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: two conditions at the same point, such as y(0) = 0, y'(0) = 1. Leave empty for the general solution, with C1 and C2.
Result
You entered
Show the work
Type of equation
This is a second-order linear equation with constant coefficients and a zero right side, solved through its characteristic equation.
Second-order linear equation
The equation has constant coefficients: with and .
Characteristic equation
Try : it solves exactly when is a root of the characteristic equation.
Using
Complex roots
, so the roots are with and ; the real solutions are and .
Using
General solution
The right side is zero, so the general solution is .
Result
The general solution, with arbitrary constants.