This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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.
Click for copyable input
The characteristic equation of this ODE has two pairs of equal roots: -3 and -5. The repeated roots give rise to the basis of the solutions, {3 x, x 3 x, 5 x, x 5 x}.
Click for copyable input
The characteristic equation for this ODE has two pairs of roots with nonzero imaginary parts: 3+4, 3-4, 2+, and 2-. Hence the solution basis can be expressed with trigonometric and exponential functions.
Click for copyable input
Finally, here is an example that combines all the previous kinds of solutions.
Click for copyable input