Linear System Theory
Linear System Theory
Linear System Theory
1.1 Overview
System:
• Vague Term
• Inputs and Outputs
• Behavior in time
• Aspects:
– Physical system (electronic, mechanical, economic,
biological, etc.)
1. Internal
2. External
System Properties
v(t + t0 ) = B(u(t + t0 ))
vn+n0 = B(un+n0 )
ESE 502, Linear Systems Theory 5
State:
Examples:
Examples (continued):
If
ha (t, t0 ) = response to ra (t − t0 )
where
1/a for 0 < t < a
ra (t) =
0 otherwise
and so
∞
X
y(t) = lim u(n∆t)h∆t (t, n∆t)∆t
∆t→0
n=−∞
Z ∞
= u(τ )h(t, τ )dτ
−∞
ESE 502, Linear Systems Theory 11
Special Cases:
— convolution.
Convolution:
Laplace Transform:
For a function f (t) with f (t) = 0 for all t < 0, the Laplace
Transform of f (t) is defined by:
Z ∞
L{f (t)} = F (s) = e−st f (t)dt
0
Properties:
Linear:
Proof:
Z ∞
L{f (t − t0 )} = e−st f (t − t0 ) dt
0
Z ∞
′
= e−s(t +t0 ) f (t′ ) dt′
−t0
Z ∞
′
= e−s(t +t0 ) f (t′ ) dt′
0
Z ∞
−st0 −st′
= e e f (t′ ) dt′
0
= e−st0 L{f (t)}
Convolution
= e−st f (τ )g(t − τ ) dt dτ
Z0 ∞ τ Z ∞
= f (τ ) e−st g(t − τ ) dt dτ
Z0 ∞ Zτ ∞
−s(t′ +τ )
= f (τ ) e g(t′ ) dt′ dτ
Z0 ∞ 0
Z ∞
−sτ −st′
= f (τ )e e g(t′ ) dt′ dτ
0 0
= F (s)G(s)
where the interchange of integrals uses the fact that the
integration is over the set
{(t, τ )|t ≥ 0, τ ≥ 0, τ ≤ t}.
ESE 502, Linear Systems Theory 16
Derivative:
L{f ′ (t)} = sF (s) − f (0)
Proof:
Z ∞
′
L{f (t)} = e−st f ′ (t) dt
0
Z ∞
= e−st df (t)
0
Z ∞
∞
= e−st f (t)0 − f (t) de−st
0
Z ∞
= −f (0) + s f (t)e−st dt
0
= sF (s) − f (0)
(integration by parts).
ESE 502, Linear Systems Theory 17
Integral:
Z t
1
L{ f (τ )dτ } = F (s)
0− s
Exponential:
1
L{eat U (t)} =
s−a
Impulse:
L{δ(t)} = 1
Unit Step:
1
L{U (t)} =
s
ESE 502, Linear Systems Theory 18
Trigonometric Functions:
Similarly:
L{cos(ωt)} = s/(s2 + ω 2 )
and
2.1 Continuous-Time
x˙1 = x2
g 1
x˙2 = − sin x1 − (cos x1 )u
l ml
— “input affine”
and so
−1
Y(s) = C(sI − A) B + D U(s)+C(sI−A)−1 x(0)
Y(s) = H(s)U(s)
where
H(s) = C(sI − A)−1 B + D
Notes:
x˙1 = x2
g 1
x˙2 = − sin x1 − (cos x1 )u
l ml
Linearize about equilibrium point x(t) = 0, u(t) = 0:
x˙1 = x2
g 1
x˙2 = − x1 − u
l ml
– linear, time-invariant.
δx˙ 1 = δx2
g 1
δx˙ 2 = − cos(x1 (t))δx1 − cos(x1 (t))δu
l ml
– linear, time-varying.
ESE 502, Linear Systems Theory 25
Circuits
2. RLC procedure:
Discrete convolution:
where
∞
X
pn = fk gn−k
k=−∞
Z -Transform Properties.
1. Non-causal shift fomula:
2. Convolution:
Z{f ∗ g} = F (z)G(z)
3. State equations
and so
Y(z) = H(z)U(z)
where
H(z) = C(zI − A)−1 B + D
ESE 502, Linear Systems Theory 28
3.1 Fundamentals:
Examples:
5. Many others . . .
ESE 502, Linear Systems Theory 29
Basis:
α1 q1 + α2 q2 + . . . αm qm = 0
are α1 = α2 = . . . αm = 0.
2. A set of vectors {q1 , q2 , . . . qm } spans a vector space
if every vector q in the space can be written in the form
q = α1 q1 + α2 q2 + . . . αm qm
q = α1 q1 + α2 q2 + . . . αm qm
x = α1 q1 + . . . + αn qn
can be written as
x = Qa
where
a = [α1 , . . . , αn ]′
Norms:
Properties:
1. ||x|| ≥ 0; ||x|| = 0 =⇒ x =0
2. ||αx|| = |α| ||x||
3. ||x1 +x2 || ≤ ||x1 || + ||x2 ||
Norm Examples: 1, 2, ∞, p norms
1. ||q||1 = |q1 | + |q2 | . . . + |qn |
2. ||q||∞ = max{|q1 |, |q2 |, . . . |qn |}
p
3. ||q||2 = |q1 |2 + |q2 |2 . . . + |qn |2
1/p
4. ||q||p = (|q1 |p + |q2 |p . . . + |qn |p ) for p ≥1
Notes:
Inner Product:
1. Rn ; < x, y >= yT x
2. Cn ; < x, y >= y∗ x
Rπ
3. L2 (−π : π); < f (x), g(t) >= −π f (t)g ∗ (t) dt
P∞ ∗
4. l2 ; < (xn ), (yn ) >= n=−∞ xn yn
R∞
5. L2 (−∞ : ∞); < f (x), g(t) >= −∞ f (t)g ∗ (t) dt
ESE 502, Linear Systems Theory 33
Orthonormalization (Gram-Schmidt):
u1 = e1 ; q1 = u1 /||u1 ||
′
u2 = e2 −(q1 e2 )q1 ; q2 = u2 /||u2 ||
..
.
m−1
X ′
um = em − (qk em )qk ; qm = um /||um ||
k=1
Cauchy-Schwartz Inequality:
Proof:
Assume an equation
Ax = y
where A is m × n, x is n × 1, and y is m × 1.
Then:
3. x is a null vector of A: Ax = 0;
4. Nullspace(A)=set of all null vectors of A
Solutions:
Theorem 3.1:
Theorem 3.2:
x = xp + xn
Determinants:
x = x1 i1 + ... + xn in
Ax = y1 i1 + ... + yn in
yi = Σnj=1 aij xj
x = x1 q1 + ... + xn qn
and y is given by
y = Ax = y 1 q1 + ... + y n qn
then
y i = Σnj=1 aij xj
The matrix A= (aij ) is the representation of A with
respect to the basis {q1 , q2 , ...qn }
ESE 502, Linear Systems Theory 40
AQx = Qy
or
Q−1 AQx = y
and so
Q−1 AQ = A
This can also be written as
A[q1 , . . . , qn ] = [q1 , . . . , qn ]A
Example:
If
3 2 −1
A=
−2 1 0
4 3 1
and
b = [0, 0, 1]′
then the vectors
0 −1 −4
2
{b, Ab, A b} = {q1 , q2 , q3 } =
0 0 2
1 1 −3
form a basis.
Example (continued):
Then:
Aq1 = Ab = q2
and
Aq2 = A2 b = q3
Also, the characteristic equation of A (to be done) is:
and so
A3 b = 17b − 15Ab + 5A2 b
0 0 17
Therefore A = 1 0 −15
(companion form).
0 1 5
ESE 502, Linear Systems Theory 43
Definitions:
Characteristic Polynomial of A is
∆(λ) = det(λI − A)
Companion form:
0 1 0 0
0 0 1 0
0 0 0 1
−α4 −α3 −α2 −α1
— characteristic polynomial is
∆(λ) = λ4 + α1 λ3 + α2 λ2 + α3 λ1 + α4
Jordan Block:
λ0 1 0 0
0 λ0 1 0
0 0 λ0 1
0 0 0 λ0
— characteristic polynomial is
∆(λ) = (λ − λ0 )4
ESE 502, Linear Systems Theory 45
Diagonalization:
Πnj=1,j6=k (A − λj I)
(A − λ0 I)k qk = 0
and
(A − λ0 I)k−1 qk 6= 0
ESE 502, Linear Systems Theory 47
qk = q
qk−1 = (A − λ0 I)qk = (A − λ0 I)q
qk−2 = (A − λ0 I)qk−1 = (A − λ0 I)2 q
.. .. ..
. . .
q1 = (A − λ0 I)q2 = (A − λ0 I)k−1 q
(Jk − λ0 Ik )k = 0
Power of A: An = AA . . . A}
| {z
n times
Polynomial in A: If
Then
p(A1 ) 0 0 ... 0
0 p(A2 ) 0 ... 0
.. .. .. ..
p(A) =
. . . .
0 0 . . . p(Ar−1 ) 0
0 0 ... 0 p(Ar )
ESE 502, Linear Systems Theory 51
Minimal Polynomial:
∆(λ) = det(λI − A)
Therefore mi ≤ ni .
Define the minimal polynomial of A to be the product of the
terms (λ − λj ) to power of index, i.e
ψ(A) = 0
∆(A) = 0
In principle:
f (λi ) = h(λi )
f (A) = h(A)
1. Differentiation:
d At
e = AeAt = eAt A
dt
2.
e(A+B)t 6= eAt eBt
unless AB = BA
3.
L{eAt } = (sI − A)−1
ESE 502, Linear Systems Theory 57
Lyapunov equation:
AM + M B = C
with A, B , and C known, and M unknown, is called a
Lyapunov equation: nm equations in nm unknowns.
Eigenvalues: η is an eigenvalue iff
AM + M B = ηM
The eigenvalues are given by
ηk = λi + µj
— nm eigenvalues for 1 ≤ n, and 1 ≤ m, where λi is a
(right) eigenvalue of A
Ax = λi x
and µj is a left eigenvalue of B :
xB = µj x
< x, y > = x′ M z
= z′ M ′ x
= z′ M x
= 0