Professional Documents
Culture Documents
where the aij s are constants, and f (t) and g(t) are well-behaved functions of
t. Dynamical systems of this type are said to be linear , and there is a rather
complete theory for finding their solutions.
There is a systematic method for solving a system of this form, which has the
virtue of extending to systems with n unknowns. This method consists of two
steps:
Step I. Assume the solution has the special form,
where A, B, and are constants, and solve for A, B, and . Usually, there
will be two values 1 and 2 for which yield nonzero solutions to the linear
system:
x = A1 e 1 t x = A2 e2 t
1 t and .
y = B1 e y = B2 e2 t
Step II. Apply the superposition principle to derive the general solution:
x = c1 A1 e1 t + c2 A2 e2 t
.
y = c1 B1 e1 t + c2 B2 e2 t
1
Here c1 and c2 are constants of integration, which can be determined by initial
conditions.
Dangerous curve! If only one value of can be found, one is said to be in the
notorious repeated root case, and this simple method will not work. If there
is time, we will introduce such a method later.
It is perhaps easiest to understand this method when it is presented in the
context of a simple example.
1. a. Suppose that our system is
dx/dt = y,
dy/dt = 2x + y.
According to (2),
dx dy
= Aet , = Bet . (3)
dt dt
Substitution into the system of differential equations yields
Aet = Bet ,
Bet = 2Aet + Bet ,
and dividing by et yields
A = B,
B = 2A + B.
Determine which values of allow for nonzero solutions to this homogenous
linear system for (A, B).
b. For each choice of find a corresponding solution to the homogeneous linear
system, thereby obtaining two linearly independent solutions
x = A1 e1 t x = A2 e 2 t
1 t and .
y = B1 e y = B2 e2 t
to (2).
To find the general solution, we now make use of the superposition principle: If
x = x1 (t), x = x2 (t),
and
y = y1 (t) y = y2 (t)
are solutions to the the homogeneous linear system
dx/dt = a11 x + a12 y,
dy/dt = a21 x + a22 y,
then so is the linear superposition
x = c1 x1 (t) + c2 x2 (t),
y = c1 y1 (t) + c2 y2 (t),
2
where c1 and c2 are arbitrary constants.
c. Use the superposition principle to find the general solution, involving two
arbitrary constants of integration c1 and c2 , to (2).
d. Suppose that x0 and y0 are given. To find a solution x = x(t), y = y(t) which
satisfies the initial conditions x(0) = x0 , y(0) = y0 , we substitute t = 0 into the
general solution and solve for the constants c1 and c2 . Carry this procedure
out. Note that given any initial point (x0 , y0 ), there is a unique solution curve
to our dynamical system which starts at the point (x0 , y0 ) at the time t = 0.
Step I is often somewhat more complicated to carry out than it was in this
example. Let us consider the general case. Substituting (2) into (1), we obtain
We divide by et ,
A = a11 A + a12 B,
B = a21 A + a22 B,
and simplify to obtain
(a11 )A + a12 B = 0,
(4)
a21 A + (a22 )B = 0.
Thus if A 6= 0,
(a11 )(a22 ) a12 a21 = 0. (5)
One readily checks that the same equation must hold if B 6= 0. Thus must
satisfy equation (5) if equation (4) is to have nontrivial solutions.
Equation (5) can be written more simply as
a11 a12
= 0.
a21 a22
This is known as the characteristic equation, and its roots are called the eigen-
values of the coefficient matrix
a11 a12
A= .
a21 a22
3
We can now expand somewhat on our description of Step I: We find the
roots of the characteristic equation
a11 a12
= 0,
a21 a22
and for each choice of characteristic root, we find a nonzero solution to the
corresponding linear system
(a11 )A + a12 B = 0,
a21 A + (a22 )B = 0.
We will usually have two characteristic roots, and two corresponding solutions
x = A1 e 1 t x = A2 e2 t
1 t and .
y = B1 e y = B2 e2 t
x = c1 A1 e1 t + c2 A2 e2 t ,
y = c1 B1 e1 t + c2 B2 e2 t .
dx/dt = 3x + 3y,
dy/dt = 5x + y.
B. Complex roots:
sometimes has complex roots, but the method we have described in the pre-
ceding section works just fine, so long as one uses complex arithmetic. A few
simple tricks make the case of complex roots no more difficult to handle than
the case of real roots.
For example, to carry out the procedure described above for solving the
homogeneous linear system,
dx/dt = x + y,
(6)
dy/dt = 2x + 3y,
4
or
(1 )(3 ) + 2 = 0, 2 4 + 5 = 0.
We can solve this equation by using
the quadratic formula, or by completing
the square. The result is = 2 1 = 2 i. For each root , we need to
determine the As and Bs that satisfy the linear system
(1 )A + 1B = 0,
2A + (3 )B = 0.
In the case where = 2 + i, this system is
(1 i)A + 1B = 0,
2A + (1 i)B = 0.
Note that if we multiply the first equation by 1 i we get the second equation.
If we set A = 1, then it follows from the first equation that B = 1 + i. We thus
obtain a particular solution to (6):
x = e(2+i)t ,
y = (1 + i)e(2+i)t .
In order to put this solution into a somewhat more manageable form, we
make use of Eulers formula ei = cos + i sin . The solution becomes
x = e2t eit = e2t (cos t + i sin t),
y = (1 + i)e2t eit = (1 + i)e2t (cos t + i sin t),
or equivalently,
x = e2t cos t +ie2t sin t,
(7)
y = e (cos t sin t) +ie2t (cos t + sin t).
2t
dx/dt = x + 5y,
dy/dt = x 3y.
x(0) = 1, y(0) = 0.
5
C. Phase portraits of linear systems:
We have seen how to find the explicit solutions to the homogeneous linear system
Let us review the procedure. The first step is to calculate the eigenvalues of the
coefficient matrix
a11 a12
A= .
a21 a22
Usually there will be two distinct eigenvalues 1 and 2 . For each eigenvalue
i , we find a nonzero solution (Ai , Bi ) to the homogeneous linear system
(a11 i )A + a12 B = 0,
a21 A + (a22 i )B = 0.
x = c1 A1 e1 t + c2 A2 e2 t ,
(8)
y = c1 B1 e1 t + c2 B2 e2 t .
We next describe how to sketch the phase portrait for the linear system in the
(x, y)-plane, that is a sketch of the paths traversed by the solution curves in the
(x, y)-plane, in the case where the eigenvalues are real. The line which passes
through the origin x = 0, y = 0 and the point x = Ai , y = Bi is called the
eigenspace corresponding to the eigenvalue i we will denote the eigenspace
by Vi .
dx/dt = 2x + 4y,
(9)
dy/dt = 3x 2y.
6
and write out the general solution
x A1 4t A2 4t
= c1 e + c2 e .
y B1 B2
d. Sketch the eigenspaces V4 and V4 in R2 and put arrows along the eigenspaces
to indicate the direction of fluid flow along the eigenspaces. Eliminate the
variable t from x(t) an y(t) and sketch several of the resulting curves relating x
and y, thereby obtaining the phase portrait of the linear system. Is the constant
solution at (0, 0) stable? Why or why not?
dx/dt = x,
(11)
dy/dt = 2x 3y.
d. Sketch the eigenspaces V1 and V3 in R2 and put arrows along the eigenspaces
to indicate the direction of fluid flow along the eigenspaces. Eliminate the vari-
able t from x(t) an y(t) and sketch several of the resulting curves relating x and
y, thereby obtaining the phase portrait of the linear system. Is the constant
solution at (0, 0) stable? Why or why not?
dx/dt = (x 2),
(13)
dy/dt = 2(x 2) 3(y 3).
7
Show that this system has a constant solution at the point (2, 3). Can you
sketch the phase portrait of this linear system?
b. Consider the linear system
dx/dt = x + 7,
(14)
dy/dt = 2x 3y 5.
Find the constant solution to this linear system. Can you sketch its phase
portrait?
8. Mathematical software available on the web can be used to study the qual-
itative behavior of solutions to homogeneous linear systems for various choices
of coefficient matrix. To do this use the software package (PPLANE 2005.10)
available at:
http://math.rice.edu/dfield/dfpp.html
By clicking at a point in the phase plane window, you can have the software
sketch a solution curve which starts at that point. Print out some representative
orbits to include in your notebook for each of the following homogeneous linear
systems:
a. Sketch representative orbits for the linear system
dx/dt = (x 5) (y 2),
dy/dt = 4(x 5) (y 2).
Is the constant solution at (5, 2) stable?
b. Sketch representative orbits for the linear system
dx/dt = (x 1) (y 1),
dy/dt = 3(x 1) + 5(y 1)
Is the constant solution at (1, 1) stable?
c. Sketch representative orbits for the linear system
dx/dt = (x + 1) (y + 2),
dy/dt = 5(x + 1) + 5(y + 2)
s the constant solution at (1, 2) stable?
8
Assuming that the two eigenvalues are distinct and neither is zero, there are
names for the six possible cases:
If the eigenvalues are . . . the point (x0 , y0 ) is a(n) . . .
positive real numbers expanding node.
negative real numbers contracting node.
real numbers with opposite signs saddle point.
complex with positive real part expanding spiral.
complex with negative real part contracting spiral.
purely imaginary center.
Using the mathematical software, you should be able to come up with pictures
for all six cases.
D. Variation of parameters:
9
b. Find the particular solution which satisfies the initial conditions
x(0) = 0, y(0) = 1.
10