Consider a first-order autonomous ODE system containing
equations:
or![$\displaystyle \;\;\;\;\;\;\;\;
\left[\begin{array}{l} y_1'(t)\\ y_2'(t)\end{arr...
...right]
=\left[\begin{array}{l}f_1(y_1,\;y_2)\\ f_2(y_1,\;y_2)\end{array}\right]$](img392.svg) |
(155) |
Note that the system is autonomous as it does not explicitly
depends on the independent variable
. A phase plane plot
can be made to visualize certain properties such as the stability
of the solution. Specifically, let
and
span a 2-D
plane in which every point is associated with a vector with two
components
![$\displaystyle {\bf f}=\left[\begin{array}{c}f_1\\ f_2\end{array}\right]
=\left[\begin{array}{c}y'_1\\ y'_2\end{array}\right]$](img395.svg) |
(156) |
represented by an arrow indicating the direction along which the
system is moving as time
progresses. If the vector at a point
is zero
![$\displaystyle {\bf f}=\left[\begin{array}{l} f_1\\ f_2\end{array}\right]
=\left[\begin{array}{l} 0\\ 0\end{array}\right]={\bf0}$](img396.svg) |
(157) |
then the point is an equalibrium point.
We first consider the special case of LCCODE as an example:
![$\displaystyle {\bf y}'=\left[\begin{array}{c}y_1\\ y_2\end{array}\right]'
=\lef...
... d\end{array}\right]
\left[\begin{array}{c}y_1\\ y_2\end{array}\right]={\bf Ay}$](img397.svg) |
(158) |
Obviously the point
is an equilibrium solution at
which
. As the solution of
this homogeneous system is in the following form:
![$\displaystyle {\bf y}=c_1e^{\lambda_1t}{\bf v}_1+c_2e^{\lambda_2t}{\bf v}_2$](img400.svg) |
(159) |
we see that this solution is stable if the real parts of all
eigenvalues are smaller than zero. By solving the characteristic
equation of
:
where
and
are the
trace and determinant of
respectively, we can get the
eigenvalues of
![$\displaystyle \lambda_{1,2}=\frac{1}{2}\left(T\pm\sqrt{T^2-4D}\right)
=\frac{1}{2}\left(T\pm\sqrt{\Delta}\right)$](img406.svg) |
(161) |
where
.
- If
(above the parabola), i.e.,
,
then
are two complex
conjugate roots,
![$\displaystyle \left\{\begin{array}{ll}
T>0, & \mbox{unstable (spiral out)}\\
T...
...trally stable (marginal)}\\
T<0, & \mbox{stable (spiral in)}\end{array}\right.$](img411.svg) |
(162) |
- If
(between the parabola and horizontal axis),
i.e.,
, then
are two real roots,
![$\displaystyle \left\{\begin{array}{ll}
T>0, & \lambda_{1,2}>0, \mbox{unstable}\\
T<0, & \lambda_{1,2}<0, \mbox{stable}\end{array}\right.$](img415.svg) |
(163) |
- If
(below horizontal axis), i.e.,
,
then
have opposite signs,
unstable (saddle point);
In summary, the solution is stable only if
and
(the
top-left quadrant).
The behavior of the dynamic system described by a first order ODE
system can be visualized by the phase plane portrait, in
which the derivative
at each point
is drawn as an arrow, as shown in the
examples below:
![$\displaystyle \left[\begin{array}{rr}6&2\\ 3&7\end{array}\right],\;\;\;
\left[\...
...\end{array}\right],\;\;\;
\left[\begin{array}{rr}-1&3\\ -3&-1\end{array}\right]$](img422.svg) |
(164) |
![\begin{displaymath}\begin{array}{c\vert\vert c\vert c\vert c\vert c\vert c\vert ...
...1 & 1\pm 2.8\,j & 0\pm 3.3\,j & -1\pm 3\,j\\ \hline
\end{array}\end{displaymath}](img423.svg) |
(165) |
The system is unstable if the real parts of any eigenvalue
is greater than zero (cases 1, 2, 4).
We next consider a set of coupled first order nonlinear ODE system
![$\displaystyle \frac{d}{dt}y_i(t)=y_i'(t)=f_i(t,y_1,\cdots,y_N),\;\;\;\;\;\;\;\;(i=1,\cdots,N)$](img424.svg) |
(166) |
with initial condition
.
This system can be expressed in vector form and Taylor expanded
in the neighborhood of an equilibrium point (satisfying
for all
):
![$\displaystyle {\bf y}'(t)={\bf f}(t,{\bf y}(t) )
={\bf f}(t,{\bf y}^*)+{\bf J}_f(t)({\bf y}-{\bf y}^*)
+\cdots \approx {\bf J}_f(t,{\bf y}^*) ({\bf y}-{\bf y}^*)$](img426.svg) |
(167) |
where
is the Jacobian matrix of
evaluated at
:
![$\displaystyle {\bf J}_f(t,{\bf y}^*)=\left[\begin{array}{ccc}
\frac{\partial f_...
...dots &
\frac{\partial f_N}{\partial y_N} \end{array}\right]_{{\bf y}={\bf y}^*}$](img430.svg) |
(168) |
We see that the nonlinear ODE system can be locally linearized in the
neighborhood of the equilibrium point
to become a linear
ODE system in the form of
. The
behavior of the solution in the neighborhood of the equilibrium point
depends on the eigenvalues of
.
Example:
The motion of a simple pendulum can be described by the following
second-order ODE:
![$\displaystyle \theta''+c\theta'+\frac{g}{L}\sin\theta=0$](img433.svg) |
(169) |
where
is the damping coefficient,
is the length of the
support rod, and
is gravitational acceleration.
This nonlinear ODE can be linearized if we can assume the angle
is small, and consider the Maclaurin expansion of
:
![$\displaystyle \sin\theta=\sin(0)+\sin'(0)\theta+\frac{1}{2}\sin''(0)\theta^2+\cdots
\approx \sin'(0)\theta=\cos(0)\theta=\theta$](img438.svg) |
(170) |
and we get a LCCODE
![$\displaystyle \theta''+c\theta'+\frac{g}{L}\theta=0$](img439.svg) |
(171) |
This second order ODE can be converted into two first-order ODEs
![$\displaystyle \left\{\begin{array}{ccl}\theta'&=&\omega\\
\omega'&=&-c\,\omega-g\sin\theta/L \end{array}\right.$](img440.svg) |
(172) |
or in vector form:
![$\displaystyle {\bf y}'=\left[\begin{array}{c}\theta\\ \omega\end{array}\right]'...
...ft[\begin{array}{l}f_1=\omega\\ f_2=-c\,\omega-g\sin\theta/L \end{array}\right]$](img441.svg) |
(173) |
The equilibrium point satisfies
From the second equation we get
, i.e., there are
two equilibrium points
and
. In the neighborhood of the
equilibrium point
satisfying
, we have
![$\displaystyle {\bf y}' \approx {\bf J}_f{\bf y}=\left[\begin{array}{cc}
\frac{\...
...right]
=\left[\begin{array}{cc} 0 & 1 \\ -g\cos\theta/L & -c
\end{array}\right]$](img450.svg) |
(175) |
Consider the two cases:
The phase planes of the pendulum problem corresponding to
and
are shown below. We see that the equiliburim
point
is stable while the equiliburim
point
is unstable (saddle point).
We next consider the complete solution of a second order LCCODE
in the following canonical form:
![$\displaystyle y''(t)+2\zeta\omega_n y'(t)+\omega_n^2 y(t)=x(t)$](img134.svg) |
(178) |
Same as in the first order case, the complete solution of this
second order LCCODE is composed of the
homogeneous solution
when
, and the
particular solution
when
.
In the following, we will first consider various methods
for solving first-order ODEs, and then extend such methods
to solving first order ODE systems containing multiple ODEs
, and
higher order ODEs
.