Mathematical Foundations123
Mathematical Foundations123
Aurobinda Routray
i =1
if x, y ∈ n×1
n
x, y = x y = x y = ∑ xi yi
T *
i =1
t2 − t1 t2 − t1
x t yi t ⎟ dt
t1 t1
⎝ i =1 ⎠
Sylvester's Inequality
given ρ ( A ) as the rank of A ∈ n×m and ρ ( B ) as the rank of B ∈ m× p
ρ ( A ) + ρ ( B ) − m ≤ ρ ( AB ) ≤ min { ρ ( A ) , ρ ( B )}
Matrix Definiteness
A symmetric matrix A is positive definite if
n×1
xT Ax > 0 for all x ∈ ⇒A 0
This represents an infinite number of inequalities
A symmetric matrix A is positive semidefinite if
n×1
x T Ax ≥ 0 for all x ∈ ⇒A≥0
9/14/2005 Aurobinda Routray 4
Eigen Values
A symmetric matrix has real eigen values and real eigen vectors
A Hermitian matrix also has real eigen values and real eigen vectors
A 0→λ >0
A≥0→λ ≥0
A≺0→λ <0
A≤0→λ ≤0
Matrix Inversion Lemma
A −1u ( v T A −1 )
( A + uv )
T −1
= A −1 −
1 + v T A −1 u
( C + DBE ) = C-1 - C-1 D ( EC-1 D + B-1 ) EC-1
-1 -1
( C − DB E ) = C + C D ( B − EC D ) EC-1
−1 -1 -1 -1 -1 -1
2. A † A A † = A †
3. A A † A = A
4.( AA† ) = AA†
T
5.( A† A ) = A† A
T
Conjugate Vectors
Given a symmetric matrix Q ∈ ℜn×n and a set of non-zero vectors {d 0 ,d1 , ,dn-1 } d i ∈ ℜn×1
d Ti Qd j = 0 for i≠ j
d i and d j are Q conjugate and the vector space {d 0 ,d1 , ,dn-1 } is Q orthogonal
Properties
n n
1. trace ( A ) = ∑ aii = ∑ λi
i =1 i =1
L p norm
1
⎡ n ⎤ p
x p ⎢ ∑ xi ⎥ p ∈ ℜ+
⎣ i =1 ⎦
Euclidean Norm(2-Norm)
1
⎡ n 2⎤
= ( xT x )
2
⎢ ∑ xi ⎥
1 1
x 2
= x, x 2
⎣ i =1 ⎦
2
L∞ norm
x ∞
= max ( x1 , x2 , , xn )
L −∞ norm
x −∞
= min ( x1 , x2 , , xn )
inner-product-generated norm
( ) ( )
1 1 1
= ( Wx ) , Wx = ⎡( Wx ) ⋅ Wx ⎤
1
x W = x, x = ⎡⎣ xT W T Wx ⎤⎦
T 2 2 2
2
W ⎣ ⎦
9/14/2005 Aurobinda Routray 10
Matrix Norms
properties
1. A ≥ 0, and A = 0 ⇔ A = 0
2. α x = α x
3. A + B ≤ A + B ( Triangle Inequality )
4. AB ≤ A B consistency condition
Frobenius norm
1 1
⎛ n n 2⎞
2
⎛ n 2⎞
2
A F ⎜ ∑∑ aij ⎟ = ⎜ ∑ σ i ⎟
⎝ i =1 j =1 ⎠ ⎝ i =1 ⎠
σ i → singular values of the matrix A
Induced Norms (Norms Induced by vectors)
Ax
= sup = sup Ax
p
A p
x≠0 x p
x p =1
p
⎡λmax ( A A ) ⎤ 2
1
A 2
= ⎣
*
⎦
This is same as the largest singular value (to be covered next)
Spectral Radius of A
σ r ( A ) = max λi ≤ A
1≤ i ≤ n
i =1
Finding the inverse of Hessian which consists of a Diagonal and another low rank matrix
H = Ddiaonal + N Lowrank
N = UΣU T
where, U MXR Σ RXR
U = [u1 | u 2 | | uR ]
Σ = diag (σ 1 , σ 2 σR )
−1
H −1
= D − D U ⎡⎣ Σ −1 − U T D−1 U ⎤⎦ U T D−1
−1 −1
small condition numbers are well-conditioned and large condition numbers are ill conditioned
σ 1 maximum singural value
cond 2 ( A ) A A† = =
2 2 σ p minimum singular value
Example
Let Ax = b let there be an error Δb in b
∴ A ( x + Δx ) = b + Δb
Δx = A -1 Δb ⇒ Δx ≤ A -1 Δb ⇒ Δx ≤ A -1 Δb
Δx A -1 Δb Δx b A -1 Δb
≤ ⇒ ≤
x x x x b
Δx Ax Δb Δb
≤ A -1 ≤ A A -1
x x b b
Δx Δb
≤ cond ( A )
x b
9/14/2005 Aurobinda Routray
matlab example on condition number 15
Kronecker Product
Lipschitz Continuous
Let F ( x ) be an m − dimensional function of n-dimensional variable x
Then the function is Lipschitz Continuous in the open set Σ ( open sphere ) if for some constant β
F (x) − F (y ) ≤ β x − y for all x, y ∈ Σ
Quadratic Forms
n n
q = ∑∑ pij xi x j
i =1 j=1
or q = xT Px → for real x
= xH Px → for complex x
where, P is symmteric and positive definite
q = trace ( Pxx T ) = trace ( xx T P )
f ( y)
β f ( x ) + (1 − β ) f ( y )
f ( x)
f ( β x + (1 − β ) y )
∂ ∂ T ∂ T
∂x
( Px ) = P T ,
∂x
( x Py ) = Py ,
∂x
( y Px ) = P T y
∂ T ∂ x
∂x
( x Px ) = Px + P T x,
∂x
( x 2)=
x2
∂
( Ax ) = vec ( A )
∂x
∂A
∂
trace ( BAC ) = BAC ( A −1 )
T
∂A
∂
∂A ( )
trace B ( AT A ) B T = 2AA T AB T B + 2 AB T BA T A
2