Differential Equation Solver
Analytic solutions of constant-coefficient linear ODEs of first and second order, and RK4 numerical solutions of y′ = f(x, y).
Analytic solutions of constant-coefficient linear ODEs of first and second order, and RK4 numerical solutions of y′ = f(x, y).
Your result will appear here
Solves a deliberately limited set of ordinary differential equations, and is explicit about which answers are analytic and which are numerical.
Analytic: first-order linear equations with constant coefficients, , and second-order linear homogeneous equations with constant coefficients, (all three cases of the characteristic equation). Numerical: any initial value problem y' = f(x, y), integrated with the classical fourth-order Runge–Kutta method.
Example
y'' + y = 0, y(0) = 0, y'(0) = 1
→ y = sin(x)
First-order linear, constant coefficients (a ≠ 0).
Characteristic equation of ay'' + by' + cy = 0; its roots determine the form of the solution.