Determinant of Covariance Matrix


筆記 covariance matrix R 的 determinant 意義以及他的 bound. 這是在讀 Time-delay estimation via linear interpolation and cross correlation 時的 appendix 證明. 覺得有用就筆記下來.

開門見山, det(R) 可以想成 volumn (等於所有 eigenvalues 相乘), 然後 upper bound 就是所有對角項元素相乘.

det(R)=iλiirii

λi 是 i-th eingenvalue.

事實上只要 Rsquare matrix, 則 |det(R)| 等於用每個 row vector 做出來的 “平行六面體” 的體積 [ref]

以下筆記論文中證明 det(R) 的 upper bound, 從這個 bound 我們也能看出物理意義.


Upper bound of the determinant of positive definite matrix

[Theorem]: 令 HL by L 正定矩陣, 則
det(H)Li=1hii

[Proof]:
先將 H 作如下拆解
H=(˜HhhThLL)

其中 ˜HL1 by L1 矩陣.
Determinant of block matrices 我們知道:
det(H)=det(˜H)(hLLhT˜H1h)
因為 H 是正定, 所以 ˜H 也是正定, 包含其 inverse

Every principal submatrix of a positive definite matrix is positive definite.

正定的 det>0, 以及正定的二次式 >0, 帶入到 (4) 就不難發現
det(H)hLLdet(˜H)

重複此步驟就能推導出 (2)


Determinant of covariance matrix

我們知道 covariance matrix R 是正定 (嚴格上為半正定, 如果沒有兩個完全 linear depedent 的維度的話, 就是正定), 因此符合 upper bound (2).

觀察當 coordinate 之間為 independent 時, 表示非對角項都是 0, 只剩下對角項 (每個維度的 variance). 這時 (2) 的不等式變成等式, 對角項相乘意義相當於算 volumn

可以看出兩點結論

  • covariance matrix 對角項的相乘總是會比 det
  • coordinate 之間是 independent 則 covariance matrix 對角項的相乘會等於 det

Correlation matrix

我們知道 correlation matrix 對角項都是 1, 且是正定

根據以上的討論知道:
0det(corr(X))1


Take Home Messages

R 為 covariance matrix, ˜R 是 correlation matrix

  1. R 對角項的相乘總是會比 det(R)
  2. coordinate 之間是 independent 則 R 對角項的相乘等於 det(R)
  3. det(˜R) 在 0 和 1 之間 (包含)

A 為 square matrix, 則 |det(A)| 等於以每個 row vector 做出來的 “平行六面體” 的體積 [ref]


Reference

  1. Time-delay estimation via linear interpolation and cross correlation
  2. Determinants and Volumes