3. Homogeneous solutions¶
The linear second-order problem \(\opA[x]=f\) has a nice structure, but only a few such problems are straightforward to solve. We will now, and for the rest of the chapter, limit ourselves to the constant-coefficient problem
in which \(b\) and \(k\) are constant, and \(f(t)\) is a forcing function.
Note
In (3.3) the coefficient \(b\) has units \(1/T\), the coefficient \(k\) has units \(1/T^2\), and \(f(t)\) has units \(X/T^2\), where \(X\) and \(T\) are the units of \(x\) and \(t\), respectively.
We start with solutions of the homogeneous equation
We will use \(x_h\) to name the general solution, as a reminder that the ODE is homogeneous.
All the solutions to first-order linear ODEs were exponential functions. The same is true for second-order linear problems, though with a significant caveat.
3.1. Characteristic polynomial¶
The king of ODE solution methods is to guess the answer and then show that it works. In that tradition, we try
for a to-be-determined value of \(\lambda\). We substitute it into the ODE and get
We therefore know that \(x_h\) is a homogeneous solution provided that \(\lambda^2 + b \lambda + k =0\).
The characteristic polynomial of the linear operator \(\opA[x]=x''+bx'+kx\) is
Its roots are called the characteristic values of \(\opA\). For brevity, we will often refer to these as simply the roots of \(\opA\), although this usage is not standard.
Note
We earlier used the term characteristic polynomial with matrices. The connection goes way beyond the name, as we will see in the future.
Let \(\lambda_1,\lambda_2\) be the characteristic values of \(\opA\), where \(\opA[x]=x''+bx'+kx.\) If \(\lambda_1\neq \lambda_2\), then the general solution of \(\opA[x]= 0\) is
By analogy with linear algebra, we may say that \(e^{\lambda_1 t}\) and \(e^{\lambda_2 t}\) form a basis for the homogeneous solution, as all such solutions are a linear combination of them and neither can be omitted.
We have to handle the case \(\lambda_1=\lambda_2\) separately. (You might recall that a double eigenvalue was a hassle for matrices as well.) Without fuss, we jump to the result, which is easy to derive via reduction of order.
Let \(\lambda\) be a double root of \(\opA\), where \(\opA[x]=x''+bx'+kx.\) The general solution of \(\opA[x]= 0\) is
Example
We could think of the trivial problem \(x''=0\) as being linear with \(b=k=0\). The characteristic polynomial is \(s^2\), which makes zero a double root. So the general solution is
which is obvious in retrospect.
Example
Find the general solution of \(x''-x'-2x=0\).
Solution
The characteristic polynomial is \(s^2-s-2\), which has roots \(\lambda_1=-1\), \(\lambda_2=2\). This gives the general solution \(x_h(t)=c_1 e^{-t} + c_2 e^{2t}\).
Example
Solve the IVP \(x'' - 5 x = 0\), \(x(0)=6\), \(x'(0)=0\).
Solution
The roots of \(s^2-5\) are \(\lambda_1=\sqrt{5}\), \(\lambda_2=-\sqrt{5}\). The general solution is
The initial conditions lead to
It’s easy to conclude from here that \(c_1=c_2=3\). In general we might have to solve a \(2\times 2\) linear algebraic system for the constants.
3.2. Complex characteristic values¶
All seems well, until you remember that the roots of a real quadratic polynomial may come as a complex conjugate pair. What then are we to make of (3.4) or (3.5)? That’s what makes second-order problems really different from first-order ones, and we tackle it next.