Matrix Expectations
In all the expressions below, x is a vector of random
variables with whose mean vector and covariance matrix are given
by: E(x) = m and E((x-m)(x-m)T)
= S.
The expressions for cubic and quartic expectations are
restricted to two special cases:
- [x:Independent] means that the components of x
are independent. In particular, we require that E(x(i)px(j)q)=E(x(i)p)E(x(j)q).
We define mr=E((x-m)r)
where the rth power is elementwise. Note
that S=DIAG(m2).
- [x:Gaussian]
means that the components of x are Real and have a
multivariate Gaussian pdf: (2*pi)-n/2
|S|-1/2exp( (x-m)T
S-1 (x-m) ) where x has
dimension n. If x is both
Gaussian and Independent then mk
= diag( (S/2)^(k/2)
* k! / (k/2)!)
Vectors and matrices a, A, b, B, c, C, d and D
are constant (i.e. not dependent on x).
General Properties
- The covariance matrix S is Hermitian and positive semi-definite.
- S is strictly positive
definite unless there is a deterministic relation
between the elements of x of the form a'x =
0 for some non-zero a.
- If the elements of x are uniformly spaced samples
from a continuous signal, then S is Toeplitz.
- E(tr(Y)) = tr(E(Y)) where Y depends
on x.
Linear Expectations
- E(Ax + b) = Am + b
- E(Ax) = Am
- E(x + b) = m + b
Quadratic Expectations
- E((Ax + a)(Bx + b)T) = ASBT
+ (Am+a)(Bm+b)T
- E(xxT) = S + mmT
- E(xaT x) = (S
+ mmT)a
- E(xT axT)
= aT(S + mmT)
- E((Ax)(Ax)T) = A(S +
mmT)AT
- E((x + a)(x + a)T)
= S + (m+a)(m+a)T
- E((Ax+a)T (Bx+b)) = tr(ASBT)
+ (Am+a)T (Bm+b)
- E(xT x) = tr(S)
+ mT m
- E(xTAx) = tr(AS)
+ mTAm
- E((Ax)T (Ax)) =
tr(ASAT) + (Am)T
(Am)
- E((x+a)T (x+a)) =
tr(S) + (m+a)T
(m+a)
Cubic Expectations
For [x:Independent]
:
- E((Ax + a)(Bx + b)T (Cx
+ c)) = A DIAG(BT C) m3
+ ASBT (Cm+c) + ASCT
(Bm+b) + tr(BSCT)*(Am+a)
+ (Am+a)(Bm+b)T (Cm+c)
- E(xxT x) = m3
+ 2Sm + (tr(S)+ mT
m)* m
- E((Ax + a)(Ax + a)T(Ax
+ a)) = A DIAG(AT
A) m3 + (2ASAT
+ (Am+a)(Am+a)T)(Am+a) +
tr(ASAT) *
(Am+a)
- E((Ax + a)bT(Cx
+ c)(Dx + d)T ) = ?
For [x:Gaussian]
:
- E((Ax + a)(Bx + b)T(Cx
+ c)) = ASBT(Cm+c) + ASCT(Bm+b)
+ tr(BSCT)*(Am+a)
+ (Am+a)(Bm+b)T(Cm+c)
- E(xxTx) = 2Sm
+ (tr(S)+ mTm)*
m
- E((Ax + a)(Ax + a)T(Ax
+ a)) = (2ASAT +
(Am+a)(Am+a)T)(Am+a) + tr(ASAT)
* (Am+a)
- E((Ax + a)bT(Cx
+ c)(Dx + d)T ) = ?
Quartic Expectations
For [x:Independent]
:
For [x:Gaussian]
:
- E((Ax + a)(Bx + b)T(Cx
+ c) (Dx + d)T) = (ASBT+(Am+a)(Bm+b)T)(CSDT+(Cm+c)
(Dm+d)T) + (ASCT+(Am+a)(Cm+c)T)(BSDT+(Bm+b)
(Dm+d)T + (Bm+b)T(Cm+c)*
(ASDT - (Am+a)(Dm+d)T)
+ tr(BSCT)*(ASDT
+ (Am+a)(Dm+d)T)
- E(xxTxxT)
= 2(S+mmT)^2 + mTm*
(S - mmT) + tr(S)*
(S + mmT)
- E(xxTAxxT)
= (S+mmT)(AS+AmmT)
+ (SAT+mAmT)(S+mmT)
+ mTAm * (S - mmT)
+ tr(AS)*(S + mmT)
- [m=0]:
E(xxTAxxT)
= SAS + SATS
+ tr(AS)*S
- E((xTAx) * xxT)
=(S+mmT)(AS+AmmT)
+ (SAT+mAmT)(S+mmT)
+ mTAm * (S - mmT)
+ tr(AS)*(S + mmT)
- [m=0]:
E((xTAx) * xxT)
=SAS + SATS +
tr(AS)*S
- E((Ax + a)(Ax + a)T(Ax
+ a) (Ax + a)T) = 2(ASAT+(Am+a)(Am+a)T)2
+ (Am+a)T(Am+a)* (ASAT
- (Am+a)(Am+a)T) + tr(ASA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