Академический Документы
Профессиональный Документы
Культура Документы
Basic operations:
Given ⎡1 2 0⎤ A = [1 2 0;
⎡ a11 " a1n ⎤
a12 A = ⎢⎢0 − 1 2⎥⎥ 0 - 1 2;
⎢a a22 " a2 n ⎥⎥ ⎢⎣1 0 1 ⎥⎦
A = ⎢ 21 ∈ R n×n det( A) = 3
1 0 1]
⎢ # # # ⎥
⎢ ⎥ ⎡1 0 1 ⎤
det(A)
⎣an1 an 2 " ann ⎦
A = ⎢⎢2 − 1 0⎥⎥
T
A'
• Determinant det( A) (or A ) ⎢⎣0 2 1⎥⎦
T
• Transpose A n tr ( A) = 1 trace( A)
• Trace tr ( A) = ∑i =1 aii ⎡− 1 − 2 4 ⎤
• Inverse A−1 inv( A)
A−1 = ⎢⎢ 2 1 − 2⎥⎥
1
• Matrix functions f ( A) 3
⎢⎣ 1 2 − 1 ⎥⎦
rank ( A)
• Rank rank ( A) = 3
steven.ding@uni-due.de (V-SS-2009) 21
Computation of determinant
Given
⎡ a11 a12 " a1n ⎤
⎢a a22 " a2 n ⎥⎥
A = ⎢ 21 ∈ R n×n
⎢ # # # ⎥
⎢ ⎥
⎣ an1 an 2 " ann ⎦
then
n
det( A) = ∑ aij γ ij , for any i = 1, 2," , n
j
where
steven.ding@uni-due.de (V-SS-2009) 22
1
Properties of the determinant:
(1) det( AB ) = det( A) det( B), if A, B are square matrices of same dimensions
(2) det( A−1 ) = (det( A)) −1 (Proof : det (I) = det (AA-1 ) = det (A) det (A-1 ) = I))
(3) det( AT ) = det( A)
⎛ ⎡a11 a12 " a1n ⎤ ⎞
⎜⎢ ⎥⎟
⎜ 0 a22 ⎥ ⎟ = a a "a
(4) det ⎜ ⎢
⎢ % % # ⎥ ⎟⎟
11 22 nn
⎜⎢ # ⎥
⎜ 0 " 0 ann ⎦ ⎟⎠
⎝⎣
⎛ ⎡A B⎤⎞
(5) det⎜⎜ ⎢ ⎥ ⎟⎟ = det( A) det( D)
⎝ ⎣O D ⎦ ⎠
(6) If A is singular, then det( A) = 0.
If A is invertible, then det( A) ≠ 0.
steven.ding@uni-due.de (V-SS-2009) 23
steven.ding@uni-due.de (V-SS-2009) 24
2
Properties of the determinant (cont.):
⎛⎡A A12 ⎤ ⎞
det ⎜⎜ ⎢ 11 ⎟ = det( A11 A22 − A11 A21 A11−1 A12 ),
⎝ ⎣ A21 A22 ⎥⎦ ⎟⎠
⎛⎡A A12 ⎤ ⎞
det ⎜⎜ ⎢ 11 ⎟ = det( A11 A22 − A21 A12 )
⎝ ⎣ A21 A22 ⎥⎦ ⎟⎠
steven.ding@uni-due.de (V-SS-2009) 25
⎛⎡I B⎤ ⎞
(7) det ⎜⎜ ⎢ ⎟ = det( I − CB ) = det( I − BC )
⎝ ⎣C I ⎥⎦ ⎟⎠
(8) Given b ∈ R1×n , c ∈ R n×1. Then det( I − cb) = det( I − bc) = 1 − bc
(9) Influence of elementary operations on the determinant:
• Interchange of rows (*(-1))
• multiplication of a row by a scalar (*c)
• addition of a scalar multiple of one row to another row (*1)
steven.ding@uni-due.de (V-SS-2009) 26
3
Definition of inverse:
For the n by n matrix A, if there exists a matrix B, such that BA = AB = I ,
Then B is called the inverse of matrix A, i.e. A is invertible/regular/
nonsingular.
For the m by n matrix A, if there exists a matrix B, such that BA=I, then
B is called the left inverse of A, i.e. A is left invertible. If there exists a
matrix C, such that AC =I, then C is called the right inverse of A, A is
right invertible.
Note 1: A is left invertible, if and only if A is of full column rank.
Proof: BA = I n ⇒ rank ( BA) = rank ( I n ) = n . Because
rank ( BA) ≤ rank (A) and rank (A) ≤ n , we know rank (A) = n .
Note 2: A is right invertible, if and only if A is of full row rank.
steven.ding@uni-due.de (V-SS-2009) 27
steven.ding@uni-due.de (V-SS-2009) 28
4
Properties of the inverse (cont.)
(5) If A11 is invertible, then
−1
⎡ A11 A12 ⎤ ⎡ A11−1 + A11−1 A12 ∆−1 A21 A11−1 − A11−1 A12 ∆−1 ⎤
⎢A =⎢ ⎥
⎣ 21 A22 ⎥⎦ ⎣ − ∆−1 A21 A11−1 ∆−1 ⎦
with ∆ = A22 − A21 A11−1 A12 .
If A22 is invertible, then
−1
⎡ A11 A12 ⎤ ⎡ ∆−1 − ∆−1 A12 A22−1 ⎤
⎢A = ⎢ −1 ⎥
⎣ 21 A22 ⎥⎦ ⎣− A22 A21∆
−1
A22−1 + A22−1 A21∆−1 A12 A22−1 ⎦
with ∆ = A11 − A12 A22−1 A21.
steven.ding@uni-due.de (V-SS-2009) 29
−1 −1 −1 −1
⎡ A11 A12 ⎤ ⎡I A11−1 A12 ⎤ ⎡ A11 O ⎤ ⎡ I O⎤
⎢A ⎥ =⎢ ⎥ ⎢
⎣ 21 A22 ⎦ ⎣O I ⎦ ⎣O
−1 ⎥ ⎢
A22 − A21 A11 A12 ⎦ ⎣ A21 A11 I ⎥⎦
−1
⎡ A−1 O ⎤
⎡ I − A11−1 A12 ⎤ ⎢ 11 ⎥⎡ I O⎤
=⎢ − −
⎥ ⎢ O ( A22 − A21 A11 A12 ) ⎥ ⎢
⎣− A21 A11 I ⎥⎦
1 1
−1
⎣O I ⎦⎢
⎣ = ∆−1 ⎦⎥
⎡ A + A11 A12 ∆ A21 A11 − A11 A12 ∆ ⎤
−1 −1 −1 −1 −1 −1
= ⎢ 11 ⎥
⎣ − ∆−1 A21 A11−1 ∆−1 ⎦
steven.ding@uni-due.de (V-SS-2009) 30
5
Properties of the inverse (cont.)
(6)
−1
⎡ A11 O⎤ ⎡ A11−1 O⎤
⎢A = ⎢ −1 ⎥.
⎣ 21 A22 ⎥⎦ −1
⎣ − A22 A21 A11 A22−1 ⎦
−1
⎡ A11 A12 ⎤ ⎡ A11−1 − A11−1 A12 A22−1 ⎤
⎢O = ⎢ ⎥.
⎣ A22 ⎥⎦ ⎣O A22−1 ⎦
steven.ding@uni-due.de (V-SS-2009) 31
6
Properties of the trace
tr ( A) = ∑i =1 aii , for A ∈ R n×n
n
(1) tr (α A) = α trA
(2) tr ( A + B) = trA + trB
(3) tr ( AB ) = tr ( BA) (AB,BA are square, but A,B may not be square)
(4) xT Ax = tr ( xT Ax) = tr ( AxxT ) = tr ( xxT A), for x ∈ R n , A ∈ R n×n
steven.ding@uni-due.de (V-SS-2009) 33
Rank of matrix
Given a matrix A of dimension m by n. Then rank ( A) = r
(1) A has at most r independent rows (i.e. row rank = r )
(2) A has at most r independent columns (i.e. column rank = r )
(3) ∃ submatrix Asub,r of r by r , s.t. Asub,r ≠ 0,
while ∀submatrix Asub,r +1 of r + 1 by r + 1, s.t. Asub,r +1 = 0.
(4) Define the left null space N A = {v vA = 0} . Then rankN A = m − r.
⎡σ 1 ⎤
⎢ % O ⎥⎥
(5) ∃ orthogonal matrices U ,V , s.t. A = U ΣV , Σ = ⎢
T
⎢ σr ⎥
⎢ ⎥
⎣ O O⎦
steven.ding@uni-due.de (V-SS-2009) 34
7
Properties of rank
(1) rank ( AT ) = rank ( A)
(2) rank ( AT A) = rank ( AAT ) = rank ( A)
(3) Given matrix A(m × n) and nonsingular matrices P(m × m), Q(n × n).
Then rank ( A) = rank ( PA) = rank ( AQ) = rank ( PAQ)
(4) Given matrix A(m × n), rank ( A) = r. Then ∃ matrices P(m × r ), Q(r × n)
and a nonsingular matrix B(r × r ), s.t. A = PBQ.
Given matrix A(m × n), rank ( A) = 1. Then ∃ vectors p(m ×1), q( 1× n),
s.t. A = pq.
Given matrix A(m × n), rank ( A) = r. Then ∃ matrices P(m × r ), Q(r × n),
s.t. A = PQ, rank ( P) = rank (Q) = r.
steven.ding@uni-due.de (V-SS-2009) 35
steven.ding@uni-due.de (V-SS-2009) 36
8
Several inequalities of matrix rank (cont.)
steven.ding@uni-due.de (V-SS-2009) 37
⎡1 2 0⎤
⎡1 2 0 0 ⎤ ⎢2
⎢ ⎥ 0 1⎥⎥
(i ) A = ⎢2 0 4 0⎥, (ii ) A = ⎢
⎢0 4 0⎥
⎢⎣0 1 0 0⎥⎦ ⎢ ⎥
⎣0 0 0⎦
steven.ding@uni-due.de (V-SS-2009) 38