Description
1. Exercise 1.2 (Khalil pg. 48). Consider a single-input-single-output system described by the nth-order differential
equation
y
(n) = g1
t, y, y, . . . , y ˙
(n−1), u
+ g2
t, y, y, . . . , y ˙
(n−2)
u˙
where g2 is a differentiable function of its arguments. With u as input and y as output, find a state-space model.
Hint: Take xn = y
(n−1) − g2
t, y, y, . . . , y ˙
(n−2)
u.
2. Exercise 1.7 (Khalil pg. 29). Figure 1 shows a feedback connection of a linear time-invariant system and a
nonlinear time-varying element. The variables r, u, and y are vectors of the same dimension, and ψ(t, y) is a
vector-valued function. With r as input and y as output, find a state-space model.
Linear System G(s) =
C(sI − A)
−1B
ψ(t, y)
r + u y
−
Figure 1: Exercise 1.7.
3. Exercise 1.11 (Khalil pg. 50). A phase-locked loop can be represented by the block diagram of Figure 2.
Let {A, B, C} be a minimal realization of the scalar, strictly proper transfer function G(s). Assume that all
eigenvalues of A have negative real parts, G(0) 6= 0, and θi = constant. Let z be the state of the realization
{A, B, C}.
(a) Show that closed-loop system can be represented by the state equations
z˙ = Az + B sin e, e˙ = −Cz
(b) Find all the equilibrium points of the system.
(c) Show that when G(s) = 1/(τs + 1), the closed-loop model coincides with the model of a pendulum
equation.
sin(·) G(s)
θi + e u y
R
θ0
−
Figure 2: Exercise 1.11.
m
y0
y(t)
Figure 3: Mass-spring system.
4. Exercise 1.12 (Khalil pg. 51). Consider the mass-spring system shown in Figure 3. Assuming a linear spring
and nonlinear viscous damping described by c1y˙ + c2y˙ |y˙|, find a state equation that describes the motion of the
system.
5. Determine whether or not the differential equation
x˙(t) = [x(t)]1/3
, x(0) = 0
has a unique solution over [0, ∞).
6. Exercise 1.13 (Khalil 2nd Edition pg. 52). For each of the following systems, find all equilibrium points and
determine the type of each isolated equilibrium.
(1) x˙ 1 = x2
x˙ 2 = −x1 +
x
3
1
6
− x2
(2) x˙ 1 = −x1 + x2
x˙ 2 = 0.1×1 − 2×2 − x
2
1 − 0.1x
3
1
(3)
x˙ 1 = (1 − x1)x1 −
2x1x2
1 + x1
x˙ 2 =
2 −
x2
1 + x1
x2
(4) x˙ 1 = x2
x˙ 2 = −x1 + x2
1 − 3x
2
1 − 2x
2
2
(5) x˙ 1 = −x1 + x2(1 + x1)
x˙ 2 = −x1(1 + x1)
(6) x˙ 1 = (x1 − x2)
x
2
1 + x
2
2 − 1
x˙ 2 = (x1 + x2)
x
2
1 + x
2
2 − 1
(7) x˙ 1 = −x
3
1 + x2
x˙ 2 = x1 − x
3
2
7. For each of the A matrices below, consider the system x˙ = Ax and:
(a) determine the matrix M that transforms A into the appropriate modal form and write the system in model
coordinates (z˙ = (M−1AM)z);
(b) classify the equilibrium (0, 0); and
(c) generate the phase portraits of the system in both the model (z) and the original (x) coordinates.
(i) A =
0 1
−2 −3
(ii) A =
0 −1
1 2
(iii) A =
1 1
0 −1
(iv) A =
1 5
−1 −1
(v) A =
2 −1
2 0
8. Exercise 2.5 (Khalil pg. 78). The system
x˙ 1 = −x1 −
x2
ln p
x
2
1 + x
2
2
x˙ 2 = −x2 +
x1
ln p
x
2
1 + x
2
2
has an equilibrium point at the origin.
(a) Linearize the system about the origin and find the type of the origin as an equilibrium point of the linear
system.
(b) Find the phase portrait of the nonlinear system near the origin, and show that the portrait resembles a stable
focus. Hint: Transform the equations into polar coordinates.
(c) Explain the discrepancy between the results of parts (a) and (b).
9. Exercise 1.17 (Khalil Second Edition pg. 54). For each of the following systems, construct the phase portrait
and discuss the qualitative behavior of the system.
(1) x˙ 1 = x2
x˙ 2 = x1 − 2 tan−1
(x1 + x2)
(2) x˙ 1 = x2
x˙ 2 = −x1 + x2(1 − 3x
2
1 − 2x
2
2
)
(3) x˙ 1 = x1 − x1x2
x˙ 2 = 2x
2
1 − x2
(4) x˙ 1 = x1 + x2 − x1(|x1| + |x2|)
x˙ 2 = −2×1 + x2 − x2(|x1| + |x2|)
10. Exercise 1.22 (Khalil Second Edition pg. 55). The phase portraits of the following four systems are shown in
Figures 4: parts (a), (b), (c), and (d) respectively. Discuss if the arrowheads are pointed in the correct direction
and discuss the qualitative behavior of each system.
(1) x˙ 1 = −x2
x˙ 2 = x1 − x2(1 − x
2
1 + 0.1x
4
1
)
3
−5 −2.5 0 2.5 5
−5
−2.5
0
2.5
5
x
1
x
2
(a)
−10 −5 0 5 10
−10
−5
0
5
10
x
1
x
2
(b)
−10 −5 0 5 10
−10
−5
0
5
10
x
1
x
2
(c)
−1.5 −1 −0.5 0 0.5 1 1.5
−1.5
−1
−0.5
0
0.5
1
1.5
x
1
x
2
(d)
Figure 4: Exercise 1.22
4
(2) x˙ 1 = x2
x˙ 2 = x1 + x2 − 3 tan−1
(x1 + x2)
(3) x˙ 1 = x2
x˙ 2 = −(0.5×1 + x
3
1
)
(4) x˙ 1 = x2
x˙ 2 = −x2 − ψ(x1 − x2)
where ψ(y) = y
3 + 0.5y if |y| ≤ 1 and ψ(y) = 2y − 0.5sign(y) if |y| > 1.
11. Exercise 2.1 (Khalil Second Edition pg. 88). Show that, for any x ∈ R
n, we have
kxk2 ≤ kxk1 ≤
√
nkxk2
kxk∞ ≤ kxk2 ≤
√
nkxk∞
kxk∞ ≤ kxk1 ≤ nkxk∞
12. Exercise 2.3 (Khalil Second Edition pg. 88). Consider the set S = {x ∈ R
2
| − 1 < xi ≤ 1, i = 1, 2}. Is S
open? Is it closed? Find the closure, interior, and boundary of S.
13. Exercise 2.4 (Khalil Second Edition pg. 88). Let uT (t) be the unit step function, defined by uT (t) = 0 for
t < T and uT (t) = 1 for t ≥ T.
(a) Show that uT (t) is piecewise continuous.
(b) Show that f(t) = g(t)uT (t), for any continuous function g(t), is piecewise continuous.
(c) Show that the periodic square waveform is piecewise continuous.
14. Exercise 2.6 (Khalil Second Edition pg. 88). Let f(x) be continuously differentiable. Show that an equilibrium
point x
∗ of x˙ = f(x) is isolated if the Jacobian matrix [∂f /∂x](x
∗
) is nonsingular. Hint: Use the implicit
function theorem.
15. Exercise 2.26 (Khalil Second Edition pg. 92). For each of the following functions f : R → R, find whether f
is (a) continuously differentiable at x = 0; (b) locally Lipschitz at x = 0; (c) continuous at x = 0; (d) globally
Lipschitz; (e) uniformly continuous on R; (f) Lipschitz on (−1, 1).
(1) f(x) = (
x
2
sin(1/x), for x 6= 0
0, for x = 0
(2) f(x) = (
x
3
sin(1/x), for x 6= 0
0, for x = 0
(3) f(x) = tan(πx/2)
16. Exercise 2.27 (Khalil Second Edition pg. 92). For each of the following functions f : R
n → R
n, find whether
f is (a) continuously differentiable; (b) locally Lipschitz; (c) continuous; (d) globally Lipschitz; (e) uniformly
continuous on R
n.
(1) f(x) =
x1 + sgn(x2)
x2
(2) f(x) =
x1 + sat(x2)
x1 + sin x2
(3) f(x) =
x3sat(x1 + x2)
x
2
2
x1
5
17. Exercise 3.5 (Khalil pg. 105). Let k·kα
and k·kβ
be two different norms of the class of p−norms on R
n. Show
that f : R
n → R
n is Lipschitz in k·kα
if and only if it is Lipschitz in k·kβ
.
18. Exercise 3.7 (Khalil pg. 106). Let g : R
n → R
n be continuously differentiable for all x ∈ R
n, and define f(x)
by
f(x) = 1
1 + g
T (x)g(x)
g(x).
Show that x˙ = f(x), x(0) = x0, has a unique solution defined for all t ≥ 0.
19. Exercise 3.18 (Khalil pg. 108). Let y(t) be a nonnegative scalar function that satisfies the inequality
y(t) ≤ k1e
−α(t−t0) +
Z t
t0
e
−α(t−τ)
[k2y(τ ) + k3]dτ
where k1, k2, k3 are nonnegative constants and α is a positive constant that satisfies α > k2. Using the
Gronwall-Bellman inequality, show that
y(t) ≤ k1e
−(α−k2)(t−t0) +
k3
α − k2
[1 − e
−(α−k2)(t−t0)
]
Hint: Take z(t) = y(t)e
α(t−t0)
and find the inequality satisfied by z.
20. Exercise 3.20 (Khalil pg. 108). Show that if f : R
n → R
n is Lipschitz on W ⊂ R
n, then f(x) is uniformly
continuous on W.
21. Exercise 2.23 (Khalil Second Edition pg. 92). Let x : R → R
n be a differentiable function that satisfies
kx˙(t)k ≤ g(t), ∀t ≥ t0.
Show that
kx(t)k ≤ kx(t0)k +
Z t
t0
g(s)ds.
22. Exercise 1.1 (Rawlings pg. 60): State space form for chemical reaction model. Consider the following chemical
reaction kinetics for a two-step series reaction
A →
k1 B B →
k2 C
We wish to follow the reaction in a constant volume, well-mixed, batch reactor. The material balances for the
three species are
dcA
dt = −r1
dcB
dt = r1 − r2
dcc
dt = r2
in which cj is the concentration of species j, and r1 and r2 are the rates (mol/(time·vol)) at which the two
reactions occur. Assume the rate law for the reaction kinetics are:
r1 = k1cA r2 = k2cB
Substituting the rate laws into the material balances and specifying the starting concentrations, three differential
equations for the three species concentrations are obtained.
(a) Is the model linear or nonlinear?
(b) Write the state space model for the deterministic series chemical reaction model. Assume the component
A concentration may be measured. What are x (state vector), y (output vector), A, B, C, and D (system
matrices) for this model?
(c) Simulate this model with initial conditions and parameters given by
cA0 = 1 cB0 = cC0 = 0 k1 = 2 k2 = 1

