Linear Constant Coefficient Ordinary Differential Equations

In the most general form, an Nth order ordinary differential equation (ODE) of a single-variable function $y(x)$ can be expressed as

$\displaystyle f\left(x,y(x),y'(x),y''(x),\cdots,y^{(N)}(x)\right)=0$ (1)

which can be considered as a special case of a partial differential equation (PDE) for a multi-variable function $y(x_1,\cdots,x_N)$:

$\displaystyle f\left(x_1,\cdots,x_N,y,\frac{\partial y}{\partial x_1},\cdots,\f...
...rtial x_1},\cdots,\frac{\partial^2 y}{\partial x_1\partial x_n},\cdots\right)=0$ (2)

The purpose is to obtain a function $y(x)$ that satisfies the given differential equation and the boundary conditions

$\displaystyle y(x)\vert _{x=a}=y(a)=y_a,\;\;\;\;\;\;\;y(x)\vert _{x=b}=y(b)=y_b$ (3)

In the following we will only consider the initial value problem (IVP), by assuming the independent variable to be time, $x=t$, and the boundary condition becomes an initial condition $y(t)\vert _{t=0}=y(0)=y_0$.

This N-th order LCCODE describes the behavior of a linear system in terms of how its output $y(t)$ is related to the input $x(t)$, symbolically represented by:

We now only consider solving an Nth order LCCODE in the following cases:

The Nth order LCCODE can also be solved by the method of Laplace transform, similar to the Fourier transform method discussed above. Specifically, we take the Laplace transform on both sides and get

$\displaystyle {\cal L}\left[ \sum_{n=0}^N a_n y^{(n)}(t)\right]$ $\displaystyle =$ $\displaystyle \sum_{n=0}^N a_n {\cal L} \left[ y^{(n)}(t)\right]
=\sum_{n=0}^N a_n \left[ s^n Y(s)-\sum_{i=1}^n s^{n-i}y^{(i-1)}(0) \right]$  
  $\displaystyle =$ $\displaystyle Y(s) \sum_{n=0}^N a_n s^n -\sum_{n=1}^N a_n \sum_{i=1}^n s^{n-i}y^{(i-1)}(0)
={\cal L}[ x(t) ]=X(s)$ (26)

Solving for $Y(s)$ we get

$\displaystyle Y(s)=\frac{X(s)+\sum_{n=1}^N a_n \sum_{i=1}^n s^{n-i}y^{(i-1)}(0)...
...{X(s)+\sum_{n=1}^N a_n \sum_{i=1}^n s^{n-i}y^{(i-1)}(0)}{\prod_{n=1}^N (s-s_n)}$ (27)

and the general solution is

$\displaystyle y(t)={\cal L}^{-1}[ Y(s) ]$ (28)

Now consider some special cases: