Introduction
In Chapters 12 and 13, the differential equations we looked at involved a single dependent variable and a single independent variable. Many real-life situations are modelled by more than one differential equation involving several dependent variables. To model the behaviour of such situations therefore, we study the subject of systems of differential equations.
Some examples of popular mathematical models represented by systems of ODEs are presented below.
Predator-prey models
Consider two species populations: (i) the prey, and (ii) the predator, . Their growth rate is given by and , respectively. For constant values of and , the interaction of the two species may be modelled by the following system of ODEs:
The first equation models the growth/decay rate of the prey while the second one models the growth/decay of the predator. The interaction terms, bxy and imply that the rates are affected by both the prey and the predator population. A system of equations in which both equations depend on both dependent variables is called coupled. Another observation we can make about the predator-prey model is that the system is nonlinear; for system of equations with two or more dependent variables, the nonlinearity of the system can be dictated by products of the dependent variables, i.e. . Finally, the system is said to be autonomous as the equations do not explicitly depend on the independent variable, .
Epidemic models
In epidemic models, in addition to considering the spread of infected individuals, it is also important to take into account the growth/decay rate of individuals who are susceptible to the disease and those who recovered from it. The model therefore, may consist of 3 dependent variables: - - individuals susceptible to disease;
- - infected individuals;
- - infected and recovered.
A possible system of equations that may be used to model the interaction between the , and populations, is given as follows,
Just as in the predator-prey model above, the epidemic model is also first order (first order time derivatives), autonomous (no explicit dependence) and nonlinear (products of dependent variables appear, e.g. SI).
Love affairs
As a final example, we take a look at how systems of first order ODEs may be used to model love stories. Here we consider the growing/dying love of a Romeo-Juliet example. We choose to describe the affection of Romeo towards Juliet by and Juliet's affection towards Romeo by . Therefore, we seek 2 differential equations for the growth/decay of and . Let us consider the following system
Assuming that and are positive constants, the above system models two cautious lovers: as Romeo's affection increases, he is driven away from Juliet but he is drawn to her more and more as her love towards him increases. The growth/decay rate of Juliet's affection is modeled in a similar way. The above system is first order and autonomous but, in contrast to the system of ODEs in the predator-prey and epidemic models, this system is linear (there exist no products of and ).
In this chapter, we start by studying the simplest type of systems; these have the following properties
- they are linear;
- they are first order (i.e. only first order derivatives of the dependent variables appear).
Next, with knowledge of the behaviour of linear systems, we move on to nonlinear systems where we study the qualitative behaviour of solutions; we obtain information on the solutions by identifying what trajectories look like in the phase plane. We first discussed qualitative solutions and phase portraits in Section 12.6 for a single differential equation, which we referred to as a 1D system. In this chapter, we mainly focus on systems which consist of two ODEs.
Linear differential equations of order
Every order linear differential equation can be expressed in terms of a system of linear, first-order ODEs.
Expressing a second order ODE into a system
Consider the following second order LODE
for . Of course, this is a constant coefficient, linear ODE and hence very easily solved (algebraically, using the characteristic equation). At this point we do not want to solve Eq. (14.1), we merely want to express it as an equivalent system of first order ODEs.
Method
Step 1: Define new variables for the system
The idea is to end up with a first order system so we proceed by defining new variables, say and for the system as follows,
Step 2: Form the system of ODEs.
- The first differential equation is very easy to obtain [note this method applies to any high order linear differential equation (higher than 1)], we simply take Eq. (14.2) and differentiate once with respect to :
and, with ,
Equation (14.5) is the first ODE we are looking for: it is a first order differential equation and it is expressed in terms of the dependent variables associated with the system (i.e. not ).
- For the second ODE, we start by differentiating (14.3) wrt :
and, we note that, by rearraging Eq. (14.1), we have:
Substituting (14.7) in (14.6) yields
and, with ,
Equations (14.5) and (14.9) give the following first order system of ODEs
The system given by (14.10) is equivalent to the second order ODE given by (14.1). Note that the final system of ODEs is only a function of and ; it should be independent of the original variable and its derivatives, i.e. and .
Matrix notation
Consider a general system given by the following equations:
We can express this system using matrices and vectors, as follows:
The system given by (14.11) may be expressed in an even more compact form than the one given by (14.12). If we define the matrix to be
and the vectors, and , we can rewrite Eq. (14.12) as:
Note that the column vectors are defined with the transpose notation (see also Chapter 10 for matrix notation and definitions).
Terminology
- Consider an arbitrary system of ODEs:
The system (14.14) is equivalent to:
where and .
- If then, (14.15) is homogeneous.
- If any term in is nonzero, then (14.15) is said to be nonhomogeneous. - Initial conditions Suppose we have a system of first order ODEs for and , where is the independent variable. When we seek a particular solution to a system of first order ODEs, we use initial conditions given by particular values of the dependent variables at a certain value of the independent variable, say at . For instance
where and are constants. Typically, we are interested in the bigger picture, i.e. what are the qualitative features of the solutions and starting from different initial conditions.