2. Solutions to 2nd-order ODEs

For first-order ODEs we introduced the Laplace transform, which converts a function of time \(t\ge 0\) to a function of an abstract \(s\). There’s no need for us to repeat its definition here, as we are more interested in applying its properties than deriving them.

First, we generalize the derivative property to the second derivative, which can be done by applying the original formula twice.

Formula 2.10 (Transforms of derivatives)
\[\begin{align*} \lx[x'(t)] &= s X(s) - x(0),\\ \lx[x''(t)] &= s^2X(s) - sx(0) - x'(0). \end{align*}\]

We collect the transforms in our earlier table and add a few new ones in the following table.

Table 2.1 Laplace transforms (complete)

Function

Transform

\(x(t)\), \(f(t)\)

\(X(s)\), \(F(s)\)

\(x'(t)\)

\(sX(s)-x(0)\)

\(x''(t)\)

\(s^2X(s)-sx(0)-x'(0)\)

1

\(\dfrac{1}{s}\)

\(e^{at}\)

\(\dfrac{1}{s-a}\)

\(e^{at} f(t)\)

\(F(s-a)\)

\(\cos(\omega t)\)

\(\dfrac{s}{s^2+\omega^2}\)

\(\sin(\omega t)\)

\(\dfrac{\omega}{s^2+\omega^2}\)

\(t^n, \quad n=1,2,3,\dots\)

\(\dfrac{n!}{s^{n+1}}\)

\(t^n f(t), \quad n=1,2,3,\dots\)

\((-1)^n F^{(n)}(s)\)

\(H(t-T)\)

\(\dfrac{e^{-sT}}{s}\)

\(H(t-T)f(t-T)\)

\(e^{-sT}F(s)\) (shift theorem)

\(\delta(t-T)\)

\(e^{-sT}\)

Note that complex numbers are allowed for the exponentials. Thus, for example,

\[ \lx[ e^{i\omega t}] = \frac{1}{s - i}. \]

Also, by Euler’s formula and linearity,

\[ \lx[ e^{i\omega t}] = \lx[\cos(t)] + i \lx[\sin(t)] = \frac{s}{s^2 + 1 } + \frac{i}{s^2 + 1 }. \]

Of course, they agree:

\[ \frac{s}{s^2 + 1 } + \frac{i}{s^2 + 1 } = \frac{s+i}{(s+i)(s-i) } = \frac{1}{s-i}. \]

2.1. Solving 2nd-order ODEs

Here is an example to get us started.

Example

Find a particular solution of \(x''-x=e^{-4 t}\).

Let’s pause for a moment. If we apply the method of undetermined coefficients to \(x''-x=e^{-4 t}\), we get \(x_p(t)=e^{-4t}/15\). The solution in the example was

\[ x_p(t) = \frac{1}{10}e^t - \frac{1}{6} e^{-t} + \frac{1}{15}e^{-4t}. \]

Which is right? Both of them. Each method gives a particular solution, but they don’t give the same particular solution. Notice that the homogeneous solution is

\[ x_h(t) = c_1 e^t + c_2 e^{-t}, \]

and the two methods get different values for \(c_1\) and \(c_2\). Frankly, the MUC is simpler for this problem.

2.2. Poles

The basic transform \(\lx[e^{at}] = 1/(s-a)\), including for complex values of \(a\), leads us to look for roots of the denominator in a transform.

Definition 2.11 (Pole of a transform)

If

\[ X(s) = \frac{F(s)}{(s-z)^k} \]

for some positive integer \(k\), complex number \(z\) such that \(F(z)\neq 0\), then \(z\) is a pole of order \(k\) of \(X\).

In the general case we get

\[[s^2X(s) - sx(0)-x'(0)] + b[sX(s)-x(0)] + cX(s) = F(s).\]

If we choose to find a particular solution with zero initial conditions, then

\[X_p(s) = \frac{F(s)}{s^2+bs+c}.\]

The characteristic values of the ODE are therefore poles of \(X_p\), and the forcing function contributes one or more of its own poles.

Example

Find a particular solution of \(x''+9x = 15\sin(2t)\).

In the previous example, we had

\[ \frac{30}{s^2(s^2+9)} = \frac{As+B}{s^2+4} + \frac{Cs+D}{s^2+9}. \]

The first term on the right side leads to a combination of \(\cos(2t)\) and \(\sin(2t)\), while the second leads to a combination of \(\cos(3t)\) and \(\sin(3t)\). Since \(\cos(3t)\) and \(\sin(3t)\) form a basis of the homogeneous solution, we can leave them out of the inverse transform and still get a particular solution, \(3\sin(2t)\). We still have to keep the second term around in order to set up correct equations for \(A,B,C,D\); we just don’t need to solve for \(C\) and \(D\) or include their corresponding terms in \(x_p\). This can save a lot of algebra, though it basically returns us to the method of undetermined coefficients.