Skip to content

910 CHAPTER 10 STATE-SPACE ANALYSIS

← Back to LINEAR SYSTEMS AND SIGNALS Overview

910 CHAPTER 10 STATE-SPACE ANALYSIS

Since differentiation is a linear operation, it is easy to show that

ddt(A+B)=dAdt+dBdtandddt(cA)=cdAdt\frac{d}{dt}(\mathbf{A} + \mathbf{B}) = \frac{d\mathbf{A}}{dt} + \frac{d\mathbf{B}}{dt} \quad \text{and} \quad \frac{d}{dt}(c\mathbf{A}) = c\frac{d\mathbf{A}}{dt}

The derivative of a matrix product is given as

ddt(AB)=dAdtB+AdBdt=A˙B+AB˙(10.2)\frac{d}{dt}(\mathbf{AB}) = \frac{d\mathbf{A}}{dt}\mathbf{B} + \mathbf{A}\frac{d\mathbf{B}}{dt} = \dot{\mathbf{A}}\mathbf{B} + \mathbf{A}\dot{\mathbf{B}}\tag{10.2}

We can prove Eq. (10.2) as follows. Let A be an m×n matrix and B an n×p matrix. Then, if

C = AB

from Eq. (B.33), we have

cik=j=1naijbjkc_{ik} = \sum_{j=1}^{n} a_{ij} b_{jk}

and

c˙ik=j=1na˙ijbjkdik+j=1naijb˙jkeik\dot{c}_{ik} = \underbrace{\sum_{j=1}^{n} \dot{a}_{ij} b_{jk}}_{d_{ik}} + \underbrace{\sum_{j=1}^{n} a_{ij} \dot{b}_{jk}}_{e_{ik}}

or

c˙ik=dik+eik\dot{c}_{ik} = d_{ik} + e_{ik}

(10.3)

Equation (10.3) along with the multiplication rule clearly indicates that dik is the ikth element of matrix AB˙ and eik is the ikth element of matrix AB˙ . Equation (10.2) then follows.

If we let B = A1 in Eq. (10.2), we obtain

ddt(AA1)=dAdtA1+AddtA1\frac{d}{dt}(\mathbf{A}\mathbf{A}^{-1}) = \frac{d\mathbf{A}}{dt}\mathbf{A}^{-1} + \mathbf{A}\frac{d}{dt}\mathbf{A}^{-1}

But since

ddt(AA1)=ddtI=0\frac{d}{dt}(\mathbf{A}\mathbf{A}^{-1}) = \frac{d}{dt}\mathbf{I} = 0

we have

ddt(A1)=A1dAdtA1\frac{d}{dt}(\mathbf{A}^{-1}) = -\mathbf{A}^{-1}\frac{d\mathbf{A}}{dt}\mathbf{A}^{-1}

10.1-2 The Characteristic Equation of a Matrix: The Cayley–Hamilton Theorem

For an (n×n) square matrix A, any vector x (x = 0) that satisfies the equation

Ax=λx(10.4)\mathbf{A}\mathbf{x} = \lambda \mathbf{x} \tag{10.4}

is an eigenvector (or characteristic vector), and λ is the corresponding eigenvalue (or characteristic value) of A. Equation (10.4) can be expressed as

(AλI)x=0or(λIA)x=0(\mathbf{A} - \lambda \mathbf{I})\mathbf{x} = 0 \qquad \text{or} \qquad (\lambda \mathbf{I} - \mathbf{A})\mathbf{x} = 0

The solution for this set of homogeneous equations exists if and only if

λIA=λa11a12a1na21λa22a2nan1an2λann=0|\lambda \mathbf{I} - \mathbf{A}| = \begin{vmatrix} \lambda - a_{11} & -a_{12} & \cdots & -a_{1n} \\ -a_{21} & \lambda - a_{22} & \cdots & -a_{2n} \\ \vdots & \vdots & \cdots & \vdots \\ -a_{n1} & -a_{n2} & \cdots & \lambda - a_{nn} \end{vmatrix} = 0

(10.5)

Equation (10.5) is known as the characteristic equation of matrix A and can be expressed as

Q(λ)=λIA=λn+an1λn1++a1λ+a0λ0=0Q(\lambda) = |\lambda \mathbf{I} - \mathbf{A}| = \lambda^n + a_{n-1}\lambda^{n-1} + \dots + a_1\lambda + a_0\lambda^0 = 0

(10.6)

Q(λ) is called the characteristic polynomial of matrix A. The n zeros of the characteristic polynomial are the eigenvalues of A and, corresponding to each eigenvalue, there is an eigenvector that satisfies Eq. (10.4).

The Cayley–Hamilton theorem states that every n×n matrix A satisfies its own characteristic equation. In other words, Eq. (10.6) is valid if λ is replaced by A:

Q(A)=An+an1An1++a1A+a0A0=0\mathbf{Q}(\mathbf{A}) = \mathbf{A}^n + a_{n-1}\mathbf{A}^{n-1} + \dots + a_1\mathbf{A} + a_0\mathbf{A}^0 = 0

(10.7)

FUNCTIONS OF A MATRIX

We now demonstrate the use of the Cayley–Hamilton theorem [Eq. (10.7)] to evaluate functions of an n×n square matrix A.

Consider a function f(λ) in the form of an infinite power series:

f(λ)=α0+α1λ+α2λ22+=i=0αiλif(\lambda) = \alpha_0 + \alpha_1 \lambda + \alpha_2 \lambda_2^2 + \dots = \sum_{i=0}^{\infty} \alpha_i \lambda^i

(10.8)

Since λ, being an eigenvalue (characteristic root) of A, satisfies the characteristic equation [Eq. (10.6)], we can write

λn=an1λn1an2λn2a1λa0\lambda^{n} = -a_{n-1}\lambda^{n-1} - a_{n-2}\lambda^{n-2} - \dots - a_1\lambda - a_0

(10.9)

If we multiply both sides by λ, the left-hand side is λ*n+1, and the right-hand side contains the terms λn, λn−1, … , λ. Using Eq. (10.9), we substitute λn* in terms of λ*n−1, λn−2,…, λ so that the highest power on the right-hand side is reduced to n − 1. Continuing in this way, we see that λn+k* can be expressed in terms of λ*n−1, λn−2,…,λ for any k. Hence, the infinite series on the right-hand side of Eq. (10.8) can always be expressed in terms of λn−1, λn*−2,…,λ and a constant as

f(λ)=β0+β1λ+β2λ2++βn1λn1f(\lambda) = \beta_0 + \beta_1 \lambda + \beta_2 \lambda^2 + \dots + \beta_{n-1} \lambda^{n-1}

(10.10)

If we assume that there are n distinct eigenvalues λ1, λ2, … , λn, then Eq. (10.10) holds for these n values of λ. The substitution of these values in Eq. (10.10) yields n simultaneous equations

[f(λ1)f(λ2)f(λn)]=[1λ1λ12λ1n11λ2λ22λ2n11λnλn2λnn1][β0β1βn1]\begin{bmatrix} f(\lambda_1) \\ f(\lambda_2) \\ \vdots \\ f(\lambda_n) \end{bmatrix} = \begin{bmatrix} 1 & \lambda_1 & \lambda_1^2 & \cdots & \lambda_1^{n-1} \\ 1 & \lambda_2 & \lambda_2^2 & \cdots & \lambda_2^{n-1} \\ \vdots & \vdots & \vdots & \cdots & \vdots \\ 1 & \lambda_n & \lambda_n^2 & \cdots & \lambda_n^{n-1} \end{bmatrix} \begin{bmatrix} \beta_0 \\ \beta_1 \\ \vdots \\ \beta_{n-1} \end{bmatrix}

912 CHAPTER 10 STATE-SPACE ANALYSIS

Solving for the β coefficients yields

[\nβ0β1βn1\n]=[\n1λ1λ12λ1n11λ2λ22λ2n11λnλn2λnn1\n]1[\nf(λ1)f(λ2)f(λn)\n]\begin{bmatrix}\n\beta_0 \\ \beta_1 \\ \vdots \\ \beta_{n-1}\n\end{bmatrix} = \begin{bmatrix}\n1 & \lambda_1 & \lambda_1^2 & \cdots & \lambda_1^{n-1} \\ 1 & \lambda_2 & \lambda_2^2 & \cdots & \lambda_2^{n-1} \\ \vdots & \vdots & \vdots & \cdots & \vdots \\ 1 & \lambda_n & \lambda_n^2 & \cdots & \lambda_n^{n-1}\n\end{bmatrix}^{-1} \begin{bmatrix}\nf(\lambda_1) \\ f(\lambda_2) \\ \vdots \\ f(\lambda_n)\n\end{bmatrix}

\n(10.11)

Since A also satisfies Eq. (10.9), we may advance a similar argument to show that if f(A) is a function of a square matrix A expressed as an infinite power series in A, then

f(A)=α0I+α1A+α2A2+=i=0αiAif(\mathbf{A}) = \alpha_0 \mathbf{I} + \alpha_1 \mathbf{A} + \alpha_2 \mathbf{A}^2 + \cdots = \sum_{i=0}^{\infty} \alpha_i \mathbf{A}^i

and, as argued earlier, the right-hand side can be expressed by using terms of power less than or equal to n−1,

f(A)=β0I+β1A+β2A2++βn1An1=i=0n1βiAif(\mathbf{A}) = \beta_0 \mathbf{I} + \beta_1 \mathbf{A} + \beta_2 \mathbf{A}^2 + \dots + \beta_{n-1} \mathbf{A}^{n-1} = \sum_{i=0}^{n-1} \beta_i \mathbf{A}^i

(10.12)

in which the coefficients βis are found from Eq. (10.11). If some of the eigenvalues are repeated (multiple roots), the results are somewhat modified.

We shall demonstrate the utility of this result with the following two examples.

10.1-3 Computation of an Exponential and a Power of a Matrix

Let us compute eA*t* defined by

eAt=I+At+A2t22!++Antnn!+=k=0Aktkk!e^{\mathbf{A}t} = \mathbf{I} + \mathbf{A}t + \frac{\mathbf{A}^2 t^2}{2!} + \cdots + \frac{\mathbf{A}^n t^n}{n!} + \cdots = \sum_{k=0}^{\infty} \frac{\mathbf{A}^k t^k}{k!}

From Eq. (10.12), we can express

eAt=i=1n1βi(A)ie^{\mathbf{A}t} = \sum_{i=1}^{n-1} \beta_i(\mathbf{A})^i

in which the βis are given by Eq. (10.11), with fi) = eλit .

EXAMPLE 10.1 Computing the Exponential of a Matrix

Compute e**A**t for the case

A=[0123]\mathbf{A} = \left[ \begin{array}{cc} 0 & 1 \\ -2 & -3 \end{array} \right]

The characteristic equation is

λIA=λ12λ+3=λ2+3λ+2=(λ+1)(λ+2)=0|\lambda \mathbf{I} - \mathbf{A}| = \begin{vmatrix} \lambda & -1 \\ 2 & \lambda + 3 \end{vmatrix} = \lambda^2 + 3\lambda + 2 = (\lambda + 1)(\lambda + 2) = 0

Hence, the eigenvalues are λ1 = −1, λ2 = −2, and

eAt=β0I+β1Ae^{\mathbf{A}t} = \beta_0 \mathbf{I} + \beta_1 \mathbf{A}

in which

[β0β1]=[1112]1[ete2t]=[2111][ete2t]=[2ete2tete2t]\begin{bmatrix} \beta_0 \\ \beta_1 \end{bmatrix} = \begin{bmatrix} 1 & -1 \\ 1 & -2 \end{bmatrix}^{-1} \begin{bmatrix} e^{-t} \\ e^{-2t} \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} e^{-t} \\ e^{-2t} \end{bmatrix} = \begin{bmatrix} 2e^{-t} - e^{-2t} \\ e^{-t} - e^{-2t} \end{bmatrix}

and

eAt=(2ete2t)[1001]+(ete2t)[0123]e^{\mathbf{A}t} = (2e^{-t} - e^{-2t}) \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} + (e^{-t} - e^{-2t}) \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix} =[2ete2tete2t2et+2e2tet+2e2t]= \begin{bmatrix} 2e^{-t} - e^{-2t} & e^{-t} - e^{-2t} \\ -2e^{-t} + 2e^{-2t} & -e^{-t} + 2e^{-2t} \end{bmatrix}

(10.13)

COMPUTATION OF Ak As Eq. (10.12) indicates, we can express A*k* as

Ak=β0I+β1A++βn1An1\mathbf{A}^{k} = \beta_0 \mathbf{I} + \beta_1 \mathbf{A} + \cdots + \beta_{n-1} \mathbf{A}^{n-1}

in which the βis are given by Eq. (10.11) with fi) = λ*k i* . For a completed example of the computation of A*k* by this method, see Ex. 10.13.