Skip to content

ELEC 5650 - Mathematic Tools

"We have decided to call the entire field of control and communication theory, whether in the machine or in the animal, by the name Cybernetics, which we form from the Greek ... for steersman."

 -- by Norbert Wiener

This is the lecture notes for "ELEC 5650: Networked Sensing, Estimation and Control" in the 2024-25 Spring semester, delivered by Prof. Ling Shi at HKUST. In this session, we will cover essential mathematical tools and concepts from linear algebra, matrix theory, and system theory that are fundamental to networked sensing, estimation, and control.

  1. Mathematic Tools <--
  2. Estimation Theory
  3. Kalman Filter
  4. Linear Quadratic Regulator

Eigenvalues

ARn×n, λ can be solved by

det(λIA)=0i=1nλi=det(A),i=1nλi=Tr(A),Avi=λivi

Lemme

Let ARn×m,B the non-zero eigenvalues of AB and BA are the same

Proof

[I0BI]P[I0BI]P1=[I00I]=I[I0BI]P[ABA00][I0BI]P1=[0A0BA]

Corollary

Tr(AB)=Tr(BA),Tr(ABC)=Tr(BCA)=Tr(CAB)Tr(ABC)Tr(ACB)

Cholesky Decomposition

If A0, then a lower triangular matrix L with real and non-negative diagonal entries such that

A=LLT=[0][0]A=[a11a12a21A22],L=[l110l21L22][a11a12a21A22]=[l110l21L22][l11l21T0L22T]=[l112l11l21Tl11l21l21l21T+L22L22T]l11=a11,l21=1l11a21,L22L22T=A22l21l21T

Recursive Calculation !!!

Matrix Inversion Lemma

For matrix A and B

(A+B)1=A1(I+BA1)1

For any matrix A,B,C,D with compatible dimensions, A,C nonsingular, then

(A+BCD)1=[A(I+A1BCD)]1=(I+A1BCD)1(I+A1BCDA1BCD)A1=[I(I+A1BCD)1A1BCD]A1=A1(I+A1BCD)1A1BCDA1=A1(I+A1BCDA1A)1A1BCDA1=A1A1BCDA1(I+AA1BCDA1)1=A1A1B[CDA1(I+BCDA1)1]=A1A1B[(I+CDA1B)1CDA1]=A1A1B[CC1+CDA1B]1CDA1=A1A1B[C(C1+DA1B)]1CDA1=A1A1B(C+DA1B)1DA1

Schur Complement

[ABCD]=[I0CA1I][A00DCA1B][IA1B0I][ABCD]=[IBD10I][ABD1C00D][I0D1CI]

Inner Product Space

u,vV, the inner product u,v satisfies

  1. Linearity: α1u1+α2u2,v=α1u1,v+α2u2,v
  2. Conjugate Symmetry: u,v=v,u, (·) means transpose
  3. Positive Definiteness: ||u||2=u,u=0u=0

For two random variables X,Y, define X,Y=E[XYT]

Projection Theorem

Let HRm be a linear subspace of SRn,(m<n). For some vector yS, the projection of y onto H denoted as y^H is a uniyque element in H, such that xH,yy^H,x=0, in other word yy^Hx.

Gram-Schmidt Process

Let {v1,v2,...vn} be a set of linearly independent vectors in an inner product space VV. The Gram-Schmidt process constructs an orthonormal basis {u1,u2,,un} for the subspace spanned by {v1,v2,...vn} as follows:

u1=v1u2=v2proju1(v2)uk=vkj=1k1projuj(vk)ei=ui||ui||

Autonomous System

A linear system xk+1=Axk is said to be stable if

x0,limk|xk|=0

The system is stable if and only if

maxi|λi(A)|<1

Controllability

A linear system xk+1=Axk+Buk is said to be controllable if

x0,x,k>0,uk=[uk1,,u1,u0],s.t.xk=x.

(A,B) is controllable is equivalent to the following

  1. Mc=[B,AB,A2B,,An1B] is full rank
  2. Wc=k=0n1AkBBT(AT)k is full rank
  3. PBH test: λC,[AλI,B] is full rank

Assume (A,B) is controllable, given x0,x, find un such that xn=x

x=xn=Axn1+Bun1=A(Axn2+Bun2)+Bun1=A2xn2+ABun2+Bun1=Anx0+An1Bu0++ABun2+Bun1=Anx0+Mcunun=McT(McMcT)1(xAnx0)

Observability

A linear system xk+1=Axk,yk=Cxk is said to be observable if x0,k>0, such that x0 can be computed from yk=[y0,y1,,yk1]T.

(A,C) is observable is equivalent to the following

  1. Mo=[CCACAn1] is full rank
  2. Wo=k=0n1(Ak)TCTCAk is full rank
  3. PBH test: λC,[AλIC] is full rank

Assume (A,C) is observable, find x0 from yk.

y0=Cx0y1=Cx1=CAx0  yn1=CAn1x0yn=[y0y1yn1]=[CCACAn1]x0=Mox0x0=(MoTMo)1MoTyn

Controllability & Observability

(A,C) is observable if and only if (AT,CT) is controllable.