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

Linear Second-Order Equations with Constant Coefficients

The simplest type of linear second-order ODE is one with constant coefficients.
This linear second-order ODE has constant coefficients.
In[1]:=
Click for copyable input
Out[1]=
Notice that the general solution is a linear combination of two exponential functions. The arbitrary constants C[1] and C[2] can be varied to produce particular solutions.
This is one particular solution to the equation.
In[2]:=
Click for copyable input
Out[2]=
The exponents -6 and 1 in the basis {-6x, x} are obtained by solving the associated quadratic equation. This quadratic equation is called the auxiliary or characteristic equation.
This solves the auxiliary equation.
In[3]:=
Click for copyable input
Out[3]=
The roots are real and distinct in this case. There are two other cases of interest: real and equal roots, and imaginary roots.
This example has real and equal roots.
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
This example has roots with nonzero imaginary parts.
In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=
Here is a plot of the three solutions.
In[8]:=
Click for copyable input
Out[8]=