Documente Academic
Documente Profesional
Documente Cultură
p 4
Contents
4.0 Basics of Matrices and Vectors
4.1 Systems
y of ODEs as Models
4.2 Basic Theory of Systems of ODEs
4.3 Constant-Coefficient Systems.
y Phase Plane Method
4.4 Criteria for Critical Points. Stability
4.5 Qualitative Methods for Nonlinear Systems
Q y ((Self Study)
y)
4.6 Nonhomogeneous Linear Systems of ODEs
2
4.0 Basics of Matrices and Vectors
For a linear system, it will consist of at least two ODEs in two
unknown functions y1(t), y2(t),
y '1 a11 y1 a12 y2
y' a y a y
2 21 1 22 2
continued
3
4
Calculations with Matrices and Vectors
Addition:
Scalar multiplication:
p B = cA = c[a
[ jk] = [[cajk] = [[bjk]].
Matrix Multiplication: The product C = AB (in this order) of
two n × n matrices A = [ajjk] and B = [bjjk] is the n × n matrix C =
[cjk] with entries
j 1, 2, , n
n
c jk a jmj bmkk
m 1
k 1, 2 , n
1 2,
continued
10
Solution. Step 1. Setting up the mathematical model.
The model of this network is obtained from Kirchhoff’s voltage
g
law, as in Sec. 2.9 .
Let I1(t) and I2(t) be the currents in the left and right loops,
respectively.
In the left loop the voltage drops are LI'1 = I'1 [V] over the inductor and
R1(I1 – I2) = 4(I1 – I2) [V] over the resistor,
resistor the difference because I1 and I2
flow through the resistor in opposite directions. By Kirchhoff’s voltage
law the sum of these drops equals the voltage of the battery; that is,
LI'1 + R1(I1 – I2) = E I'1 = –4I1 + 4I2 + 12.
In the right loop the voltage drops are
R2 I 2 R1 ( I 2 I1 ) C1 I 2 dt 0 10 I 2 4 I1 4 I 2 dt 0
Take the derivative of the second equation:
I'2 = –1.6I1 + 1.2I2 + 4.8
continued
11
The left figure shows I1(t) and I2(t) as two separate curves. The
right figure shows these two currents as a single curve [I1(t), I2(t)]
plane This is a parametric representation with time t
in the I1I2-plane.
as the parameter.
The I1I2-plane
p is called the p plane, and the curve is called a
phase p
trajectory. Such “phase plane representations” are more
important than graphs in left because they give a much better
qualitative overall impression of the general behavior of whole
families of solutions.
14
Conversion of an nth-Order ODE to a System
THEOREM 1
Conversion of an ODE
An nth-order ODE
y(n) = F(t,
F(t y, y' ‥‥ , y(n
y y', (n–1)
1))
15
16
THEOREM 1
Existence and Uniqueness Theorem
Let f1, ‥‥, fn in the first-order system be continuous
functions having continuous partial derivatives f1/y1, ... ,
f1/yn, ... , fn/yn in some domain R of ty1y2 ... yn-space
containing the point (t0, K1, ‥‥ , Kn). Then the first-order
system has a solution on some interval t0 – < t < t0 +
satisfying the initial conditions, and this solution is unique.
Linear Systems
A linear ODE system of y1 ‥‥ yn can be written
y1 ' a11 (t ) y1 a1n (t ) yn g1 (t )
yn ' an1 (t ) y1 ann (t ) yn g n (t )
17
Linear Systems
In vector form: y' = Ay + g where A is the coefficient matrix and
y and g are column vectors. If g = 0, the system is homogeneous.
If g 0, the system is nonhomogeous.
For this linear system, f1/y1 = a11, ‥‥ fn/yn = ann.
THEOREM 2
18
THEOREM 3
Superposition Principle or Linearity Principle
If y(1) and y(2) are solutions of the homogeneous
g linear system
y
y' = Ay on some interval, so is any linear combination y = c1y(1)
+ c2y(2).
Wronskian
The determinant of Y is called the Wronskian of y(1), ‥‥ , y(n),
written y1(1) y1(2) y1( n )
y2(1) y2(2) y2( n )
W ( y , y , , y )
(1) (2) (n)
yn(1) yn(2) yn( n )
These solutions form a basis (linearly independent) on I if and
l iff W is
only i not zero at any t1 in i this
hi interval.
i l W either
i h isi
identically zero or is nowhere zero in J. (This is similar to Secs.
2 6 and 3.1.)
2.6 31)
If the solutions y(1), ‥‥, y(n) form a basis, then Y = [y(1), ‥‥ ,
y(n)] is often called a fundamental matrix. With a column
vector c = [c1 c2 ‥‥ cn]T, we can now write
y = c1y(1) ‥‥ + cny(n) as y = Yc
20
4.3 Constant-Coefficient Systems. Phase Plane
Method
For a homogeneous system: y' = Ay, if the coefficients are
constant, the coefficient matrix A = [ajk] is independent of t (ps.
Now our variable is t).
Since for any single ODE y' = ky has the solution form: y = Cekt,
we can let the solution of the given ODE system be: y = xet.
Then substitute this solution to the system, system we get the
eigenvalue problem: Ax = x, where is an eigenvalue of A
and x is a corresponding
p g eigenvector.
g
Let eigenvectors be x(1), x(2), , x(n) and the corresponding
eigenvalues be 1, 2, , n, then the corresponding solutions are
y (1) x (1) e λ1t , y (2) x (2) e λ2t , , y ( n ) x ( n ) e λnt
Their Wonskian W = W((y(1), y(2), ,, y(n)) is ggiven byy
21
W x(1) e λ1t , x(2) e λ2t , , x ( n ) e λnt
x1(1) e λ1t x1( n ) e λnt x1(1) x1( n )
x2(1) e λ1t x2( n ) e λnt x2(1) x2( n )
e λ1t λnt
xn(1) e λ1t xn( n ) e λnt xn(1) xn( n )
The exponential function is never zero.
zero So whether the
determinant is zero depends on whether the columns in the
determinant are linearlyy dependent.
p
22
THEOREM 1
General Solution
If the constant matrix A in the system y' = Ay has a linearly
independent set of n eigenvectors, then the corresponding
solutions y(1), ‥‥, y(n) in y (1) x (1) e λ1t , y (2) x (2) e λ2t , ,
y ( n ) x ( n ) e λnt form a basis of solutions of the ODE system,
and the corresponding general solution is
y c1x(1) e λ1t c2 x(2) e λ2t cn x ( n ) e λnt
23
24
EXAMPLE 1 Trajectories in the Phase Plane (Phase Portrait)
Solution By
Solution. B substituting
s bstit ting y = xexet and y' x t and dropping
y' = xe
the exponential function we get Ax = x. The characteristic
equation is
3 λ 1
det( A λI ) λ 2 6λ 8 0
1 3 λ
This gives the eigenvalues 1 = –2 and 2 = –4. For 1 = –2 the
g
eigenvector is x(1) = [[1 1]]T and for 2 = –4,, the eigenvector
g is x(2)
= [1 –1]T. The general solution is
y 1 1
y 1 c1y (1) c2 y (2) c1 e 2t c2 e 4t
y2 1 1 continued
25
y 1 1
y 1 c1y (1) c2 y (2) c1 e 2t c2 e 4t
y2 1 1
A phase portrait of some of the
trajectories is shown left (to
which more trajectories could
be added if so desired)
desired). The two
straight trajectories correspond
to c1 = 0 and c2 = 0 and the
others to other choices of c1, c2.
26
Critical Points of the System
The point y = 0 in the previous figure seems to be a common
ppoint of all trajectories.
j
For an ODE system
y ' a y (t ) a12 y2 (t ) a11 a12 y1 (t )
y ' 1 11 1 a y (t ) Ay
A
y '
2 21 1
a y (t ) a y
22 2 (t ) 21 a22 2
If we take the slope of the trajectory:
dy2 y2 ' dt y2 ' a21 y1 a22 y2
dyy1 y1 ' dt y1 ' a11 y1 a12 y2
This associates with every point P: (y1, y2) a unique tangent
direction dyy2/dyy1 of the trajectory
j yppassing
g through
g P,, except
p for
the point P = P0: (0, 0), where the right side of dy2/dy1 becomes
0/0. This point P0, at which dy2/dy1 becomes undetermined, is
called a critical point.
27
2
and –xx(2) = [[–11 1]T.
28
EXAMPLE 2 Proper Node
A proper node is a critical point P0 at which every trajectory
has a definite limiting direction and for any given direction d at
P0 there is a trajectory having d as its limiting direction.
direction
1 0 y ' y1
The system y ' y thus 1
0 1 y2 ' y 2
Its characteristic equation (1 – )2 = 0
The eigenvalue is = 1.
Any x ≠ 0 is an eigenvector,
eigenvector and we can
take [1 0] and [0 1]T.
T
Hence
e ce a general
ge e solution
so u o iss
1 t 0 t y1 c1et
y c1 e c2 e or or c1 y2 c2 y1
0
1
2
y c 2 e t
29
1 t 0 t y1 c1et
y c1 e c2 e or t
or y1 y2 const
0 1 y2 c2 e
30
EXAMPLE 4 Center
A center is a critical point that is enclosed by infinitely many
closed trajectories.
0 1 y1 ' y2
The system: y ' y thus y ' 4 y
4 0 2 1
2 continued
31
33
4λ 1
det( A λI ) λ 2 6λ 9 (λ 3) 2 0
1 2 λ
It has a double root = 3.
For the system with three or more equations and a triple eigenvalue with
only
l one linearly
li l independent
i d d t eigenvector,
i t the
th first
fi t andd secondd solutions
l ti
are the same as the previous case. The third solution will be
y((3)) = 1/2xt2et + utet + vet with v from u + v = Av.
Av
36
4.4 Criteria for Critical Points. Stability
A homogeneous linear systems with constant coefficients
a a12 y1 ' a11 y1 a12 y2
y ' Ay
A 11 y , i
in components
t y ' a y a y
a21 a22 2 21 1 22 2
38
Stability
DEFINITION
Stable, Unstable, Stable and Attractive
A critical point P0 of yy' = Ay is called stable if for every disk
D of radius > 0 with center P0 there is a disk D of radius >
0 with center P0 such that every trajectory of the system that
has a point P1 (corresponding to t = t1, say) in D has all its
points corresponding to t ≥ t1 in D.
P0 is called unstable if P0 is not stable.
P0 is called stable and attractive (or asymptotically stable)
if P0 is
i stable
t bl andd every trajectory
t j t th t has
that h a point i t in
i D
approaches P0 as t →∞.
continued
39
and
40
EXAMPLE 1 Application of the Criteria in Tables 4.1 and 4.2
3 1
If we have y' = y, p = –6, q = 8, = 4, a node by
1 3
Table 4.1(a), which is stable and attractive by Table 4.2(a).
42
4.6 Nonhomogeneous Linear Systems of ODEs
For a nonhomogeneous linear systems of ODEs
y' = Ay + g
y
where the vector g(t) is not identically zero and assume g(t) and
the entries of the n × n matrix A(t)( ) to be continuous on some
interval J of the t-axis.
From a ggeneral solution y(h)((t)) of the homogeneous
g system
y y' =
Ay on J and a particular solution y(p)(t) of y' = Ay + g on J [i.e.,
a solution containing no arbitrary constants], we get a
y = y(h) + y(p)
where y is called a general solution on J because it includes
every solution on J.
43
exponential functions,
functions or
cosines and sines.
44
EXAMPLE 1 Method of Undetermined Coefficients.
R le
Modification Rule
Find a general solution of
3 1 6 2t
y ' Ay g y e
1 3 2
Solution. A ggeneral equation
q of the homogeneous
g system
y
1 1
y ( h ) c1 e 2t c2 e 4t
1 1
Since = –2 is an eigenvalue of A, the function e-2t on the right
also appears
pp in y(h), and we must apply pp y the Modification Rule byy
(p) -2t
setting y = aute + ve . -2t
By substitution, y p ' Ay p g
y(p) = ue-2t – 2ute-2t – 2ve-2t = Aute-2t + Ave-2t + g.
2u Au
u 2 v Av g continued
45
47
51