?
Massachusetts Institute of Technology
Department of Electrical Engineering and Computer Science
6.243j (Fall 2003): DYNAMICS OF NONLINEAR SYSTEMS
by A. Megretski
Lecture 2: Difierential Equations As System Models
1
Ordinary difierential requations (ODE) are the most frequently used tool for modeling
continuous-time nonlinear dynamical systems. This section presens results on existence
of solutions for ODE models, which, in a systems context, translate into ways of proving
well-posedness of interconnections.
2.1 ODE models and their solutions
Ordinary difierential equations are used to describe responses of a dynamical system to
all possible inputs and initial conditions. Equations which do not have a solution for some
valid inputs and initial conditions do not deflne system’s behavior completely, and, hence,
are inappropriate for use in analysis and design. This is the reason a special attention is
paid in this lecture to the general question of existence of solution of difierential equation.
2.1.1 ODE and their solutions
An ordinary difierential equation on a subset Z ‰ R
n
£ R is deflned by a function
a : Z ∈? R
n
. Let T be a non-empty convex subset of R (i.e. T can be a single point
set, or an open, closed, or semi-open interval in R). A function x : T ∈? R
n
is called a
solution of the ODE
x˙(t) = a(x(t),t) (2.1)
if (x(t),t) ? Z for all t ? T, and
t
2
x(t
2
) ? x(t
1
) = a(x(t),t)dt ? t
1
,t
2
? T. (2.2)
t
1
1
Version of September 10, 2003
?
?
2
The variable t is usually referred to as the “time”.
Note the use of an integral form in the formal deflnition (2.2): it assumes that the
function t ∈? a(x(t),t) is integrable on T, but does not require x = x(t) to be difierentiable
at any particular point, which turns out to be convenient for working with discontinuous
input signals, such as steps, rectangular impulses, etc.
Example 2.1 Let sgn denote the “sign” function sgn : R ? {0,?1,1} deflned by
? 1, y > 0,
sgn(y) = 0, y = 0,
?1, y < 0.
The notation
x˙ = ?sgn(x), (2.3)
which can be thought of as representing the action of an on/ofi negative feedback (or
describing behavior of velocity subject to dry friction), refers to a difierential equation
deflned as above with n = 1, Z = R £ R (since sgn(x) is deflned for all real x, and no
restrictions on x or the time variable are explicitly imposed in (2.3)), and a(x,t) = sgn(x).
It can be verifled
2
that all solutions of (2.3) have the form
x(t) = max{c? t,0} or x(t) = min{t? c,0},
where c is an arbitrary real constant. These solutions are not difierentiable at the critical
“stopping moment” t = c.
2.1.2 Standard ODE system models
Ordinary difierential equations can be used in many ways for modeling of dynamical
systems. The notion of a standard ODE system model describes the most straightforward
way of doing this.
Deflnition A standard ODE model B = ODE(f,g) of a system with input v = v(t) ?
V ‰ R
m
and output w(t) ? W ‰ R
k
is deflned by a subset X ‰ R
n
, two functions
f : X £ V £ R
+
∈? R
n
and g : X £ V £ R
+
∈? W, and a subset X
0
‰ X, so that the
behavior set B of the system consists of all pairs (v,w) of signals such that v(t) ? V for
all t, and there exist a solution x : R
+
∈? X of the difierential equation
x˙(t) = f(x(t),v(t),t) (2.4)
such that x(0) ? X
0
and
w(t) = g(x(t),v(t),t). (2.5)
A special case of this deflnition, when the input v is not present, deflnes an autonomous
system.
2
Do it as an excercise!
3
2.1.3 Well-posedness of standard ODE system models
As it was mentioned before, not all ODE models are adequate for design and analysis
purposes. The notion of well-posedness introduces some typical constraints aimed at
insuring their applicability.
Deflnition A standard ODE model ODE(f,g) is called well posed if for every signal
v(t) ? V and for every solution x
1
: [0,t
1
] ∈? X of (2.4) with x
1
(0) ? X
0
there exists a
solution x : R
+
∈? X of (2.4) such that x(t) = x
1
(t) for all t ? [0,t
1
].
The ODE from Example 2.1.1 can be used to deflne a standard autonomous ODE
system model
x˙(t) = ?sgn(x(t)), w(t) = x(t),
where V = X = X
0
= R, f(x,v,t) = ?sgn(x) and g(x,v,t) = x. It can be verifled that
this autonomous system is well-posed. However, introducing an input into the model
destroys well-posedness, as shown in the following example.
Example 2.2 Consider the standard ODE model
x˙(t) = ?sgn(x(t)) + v(t), w(t) = x(t), (2.6)
where v(t) is an unconstrained scalar input. Here
V = X = X
0
= R, f(x,v,t) = ?sgn(x) + v, g(x,v,t) = x.
While this model appears to describe a physically plausible situation (velocity dynamics
subject to dry friction and external force input v), the model is not well-posed.
To prove this, consider the input v(t) = 0.5 = const. It is su–cient to show that no
solution of the ODE
x˙(t) = 0.5 ? sgn(x(t))
satisfying x(0) = 0 exists on a time interval [0,t
f
] for t
f
> 0. Indeed, let x = x(t) be such
solution. As an integral of a bounded function, x = x(t) witll be a continuous function
of time. A continuous function over a compact interval always achieves a maximum. Let
t
m
? [0,t
f
] be an argument of the maximum over t ? [0,t
f
].
If x(t
m
) > 0 then t
m
> 0 and, by continuity, x(t) > 0 in a neighborhood of t
m
, hence
there exists ? > 0 such that x(t) > 0 for all t ? [t
m
? ?,t
m
]. According to the difierential
equation, this means that x(t
m
??) = x(t
m
)+0.5? > x(t
m
), which contradicts the selection
of t
m
as an argument of maximum. Hence max x(t) = 0. Similarly, min x(t) = 0. Hence
x(t) = 0 for all t. But the constant zero function does not satisfy the difierentlial equation.
Hence, no solution exists.
It can be shown that the absense of solutions in Example 2.1.3 is caused by lack of
continuity of function f = f(x,v,t) with respect to x (discontinuity with respect to v and
t would not cause as much trouble).
4
2.2 Existence of solutions for continuous ODE
This section contains fundamental results establishing existence of solutions of difierential
equations with a continuous right side.
2.2.1 Local existence of solutions for continuous ODE
In this subsection we study solutions x : [t
0
,t
f
] ∈? R
n
of the standard ODE
x˙(t) = a(x(t),t) (2.7)
(same as (2.1)), subject to a given initial condition
x(t
0
) = x
0
. (2.8)
Here a : Z ∈? R
n
is a given continuous function, deflned on Z ‰ R
n
£ R. It turns out
that a solution x = x(t) of (2.7) with initial condition (2.8) exists, at least on a su–ciently
short time interval, whenever the point z
0
= (x
0
,t
0
) lies, in a certain sense, in the interior
of Z.
Theorem 2.1 Assume that for some r > 0
D
r
(x
0
,t
0
) = {(? ?x,t) ? R
n
£ R : |x? x
0
|? r, t ? [t
0
,t
0
+ r]}
is a subset of Z. Let
x,t)| : (?M = max{|a(? x,t) ? D
r
(x
0
,t
0
)}.
Then, for
t
f
= min{t
0
+ r/M,t
0
+ r},
there exists a solution x : [t
0
,t
f
] ∈? R
n
of (2.7) satisfying (2.8). Moreover, any such
solution also satisfles |x(t) ? x
0
| ? r for all t ? [t
0
,t
f
].
Example 2.3 The ODE
x˙(t) = c
0
+ c
1
cos(t) + x(t)
2
,
where c
0
,c
1
are given constants, belongs to the class of Riccati equations, which play a
prominent role in the linear system theory. According to Theorem 2.1, for any initial
condition x(0) = x
0
there exists a solution of the Riccati equation, deflned on some time
interval [0,t
f
] of positive length. This does not mean, however, that the correspond-
ing autonomous system model (producing output w(t) = x(t)) is well-posed, since such
solutions are not necessarily extendable to the complete time half-line [0,→).
5
2.2.2 Maximal solutions
If x
1
: [t
0
,t
1
] ∈? R
n
and x
2
: [t
1
,t
2
] ∈? R
n
are both solutions of (2.7), and x
1
(t
1
) = x
2
(t
1
),
then the function x : [t
0
,t
2
] ∈? R
n
, deflned by
‰
x
1
(t), t ? [t
0
,t
1
],
x(t) =
x
2
(t), t ? [t
1
,t
2
],
(i.e. the result of concatenating x
1
and x
2
) is also a solution of (2.7). This means that
some solutions of (2.7) can be extended to a larger time interval.
A solution x : T ∈? R
n
of (2.7) is called maximal if there exists no other solution
?
? ?x : T
?
∈? R
n
for which T is a proper subset of T, and x(t) = x(t) for all t ? T. In
particular, well-posedness of standard ODE system models contains the requirement that
all maximal solutions must be deflned on the whole time-line t ? [0,→).
The following theorem gives a useful characterization of maximal solutions.
Theorem 2.2 Let X be an open subset of R
n
. Let a : X £ R ∈? R
n
be a continuous
function. Then all maximal solutions of (2.7) are deflned on open intervals and, whenever
?
such solution x : (t
0
,t
1
) ∈? X has a flnite interval end t = t
0
? R or t
?
= t
1
? R (as
opposed to t
0
= ?→ or t
1
= →), there exists no sequence t
k
? (t
0
,t
1
) such that t
k
converges to t
?
while x(t
k
) converges to a limit in X.
In other words, in the absense of a-priori constraints on the time variable, a solution is
not extendable only if x(t) converges to the boundary of the set on which a is deflned. In
the most typical situation, the domain Z of f in (2.4) is R
n
£ R
+
, which means no a-priori
constraints on either x or t. In this case, according to Theorem 2.2, a solution x = x(t)
not extendable over a flnite time interval [0,t
f
), t
f
< →, must satisfy the condition
lim |x(t)| = →.
t?t
f
In Example 2.2.1 with c
0
= 1, c
1
= 0, one maximal ODE solution is x(t) = tan(t),
deflned for t ? (?…/2,…/2). It cannot be extended on either side because |x(t)| ? → as
t ? …/2 or t ? ?…/2.
2.2.3 Discontinuous dependence on time
The ODE describing systems dynamics are frequently discontinuous with respect to the
time variable. Indeed, the standard ODE system model includes
x˙(t) = f(x(t),v(t),t),
where v = v(t) is an input, and the ODE becomes discontinuous with respect to t when-
ever v is a rectangular impulse etc. As long as the time instances at which a(x,t) is
?
? ?
6
discontinuous for a flxed flnite set t
1
< t
2
< ¢¢¢ < t
n
, Theorem 2.1 can be applied
separately to the time intervals [t
k?1
,t
k
]. However, when the location of discontinuities
depends on x, or when they cannot be counted in an increasing order, a stronger result
is needed. It turns out that the dependence on time needs only be integrable, as long as
dependence on x is continuous.
Theorem 2.3 Assume that for some r > 0
(a) the set
D
r
(x
0
,t
0
) = {(x,t) ? R
n
£ R : |x? x
0
|? r, t ? [t
0
,t
0
+ r]}
is a subset of Z;
(b) the function t ∈? a(x(t),t) is integrable on [t
0
,t
0
+ r] for every continuous function
x : [t
0
,t
0
+ r] ∈? R
n
satisfying |x(t) ? x
0
|? r for all t ? [t
0
,t
0
+ r];
(c) for every ? > 0 there exists – > 0 such that
t
0
+r
|a(x
1
(t),t) ? a(x
2
(t),t)|dt < ?
t
0
whenever x
1
,x
2
: [t
0
,t
0
+r] ∈? R
n
are continuous functions satisfying |x
k
(t)?x
0
|? r
and |x
1
(t) ? x
2
(t)| < – for all t ? [t
0
,t
0
+ r].
Then, for some t
f
? (t
0
,t
0
+ r) there exists a solution x : [t
0
,t
f
] ∈? R
n
of (2.7) satisfying
(2.8).
Example 2.4 Theorem 2.3 can be used to show that the difierential equation
‰
t
?1/3
x(t), t > 0
x˙(t) = x(0) = x
0
0, t = 0,
does have a solution on [0,→) for every x
0
? R (in this particular case the solutions can
be found analytically). Indeed, for every continuous function x : [0,→) ∈? R the function
t ∈? t
?1/3
x(t) for t > 0 is integrable over every flnite interval, and the inequality
t
1
t
1
|t
?1/3
x
1
(t) ? t
?1/3
x
2
(t)|dt ? t
?1/3
dt max |x
1
(t) ? x
2
(t)|
0 0
t?[0,t
1
]
holds.
On the contrary, the difierential equation
‰
t
?1
x(t), t > 0
x˙(t) = x(0) = x
0
0, t = 0,
does not have a solution on [0,→) for every x
0
∞= 0. Indeed, if x : [0,t
1
] ∈? R is a solution
for some t
1
> 0 then
?
d x(t)
= 0
dt t
for all t ∞= 0. Hence x(t) = ct for some constant c, and x(0) = 0.
7
2.2.4 Difierential inclusions
Let X be a subset of R
n
, and let · : X ? 2
R
n
be a function which maps every point of
X to a subset of R
n
. Such a function deflnes a difierential inclusion
x˙(t) ? ·(x(t)). (2.9)
By a solution of (2.1) on a convex subset T of R we mean a function x : T ∈? X such
that
?
t
2
x(t
2
) ? x(t
1
) = u(t)dt ? t
1
,t
2
? T
t
1
for some integrable function u : T ∈? R
n
satisfying the inclusion u(t) ? ·(x(t)) for
all t ? T. It turns out that difierential inclusions are a convenient, though not always
adequate, way of re-deflning discontinuous ODE to guarantee existence of solutions.
It turns out that difierential inclusion (2.9) subject to flxed initial condition x(t
0
) = x
0
has a solution on a su–ciently small interval T = [t
0
,t
1
] whenever the set-valued function
· is compact convex set-valued and semicontinuous with respect to its argument (plus, as
usually, x
0
must be an interior point of X).
Theorem 2.4 Assume that for some r > 0
(a) the set
B
r
(x
0
) = {x ? R
n
: |x? x
0
| ? r}
is a subset of X;
x ? B
r
(x
0
) the set ·(?(b) for every ? x) is convex;
(c) for every sequence of ? ?x
k
? B
r
(x
0
) converging to a limit x ? B
r
(x
0
) and for every
sequence u
k
? ·(?? x
k
) there exists a subsequence k = k(q) ? → as q ? → such that
the subsequence ? x).u
k(q)
has a limit in ·(?
Then the supremum
M = sup{|? ? x), x ? D
r
(x
0
,t
0
)}u| : u ? ·(? ?
is flnite, and, for
t
f
= min{t
0
+ r/M,t
0
+ r},
there exists a solution x : [t
0
,t
f
] ∈? R
n
of (2.9) satisfying x(t
0
) = x
0
. Moreover, any
such solution also satisfles |x(t) ? x
0
|? r for all t ? [t
0
,t
f
].
The discontinuous difierential equation
x˙(t) = ?sgn(x(t)) + c,
?
?
8
where c is a flxed constant, can be re-deflned as a continuous difierential inclusion (2.9)
by introducing
? {c? 1}, y > 0,
·(y) = [c? 1,c + 1], y = 0,
{c + 1}, y < 0.
The newly obtained difierential inclusion has the “existence of solutions” property, and
appears to be compatible with the “dry friction” interpretation of the sign nonlinearity.
In particular, with the initial condition x(0) = 0, the equation has solutions for every
value of c ? R. If c ? [?1,1], the unique maximal solution is x(t) · 0, which corresponds
to the friction force “adapting” itself to equalize the external force, as long as it is not
too large.
The difierential inclusion model is not as compatible with the “on/ofi controller”
interpretation of the sign nonlinearity. In this case, due to the unmodeled feedback
loop delays, one expects some “chattering” solutions oscillating rapidly around the point
x
0
= 0. It is possible to say that, in this particular case, the solutions of (2.9) describe
the limit behavior of the closed loop solutions as the loop delay approaches zero.