WOLFRAM LANGUAGE TUTORIAL
Linear Higher-Order Equations with Constant Coefficients
A linear ODE with constant coefficients can be easily solved once the roots of the auxiliary equation (or characteristic equation) are known. Some examples of this type follow.
The characteristic equation of this ODE has real and distinct roots: 4, 1, and 7. Hence the solution is composed entirely of exponential functions.
The characteristic equation of this ODE has two pairs of equal roots:
. The repeated roots give rise to the basis
of the solutions,
The characteristic equation for this ODE has two pairs of roots with nonzero imaginary parts:
. Hence the solution basis can be expressed with trigonometric and exponential functions.
Finally, here is an example that combines all the previous kinds of solutions.