Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If $\mathbf {Z}$ is random vector and $A$ is a fixed matrix, could someone explain why $$\mathrm{cov}[A \mathbf {Z}]= A \mathrm{cov}[\mathbf {Z}]A^\top.$$

share|improve this question
up vote 10 down vote accepted

For a random (column) vector $\mathbf Z$ with mean vector $\mathbf{m} = E[\mathbf{Z}]$, the covariance matrix is defined as $\operatorname{cov}(\mathbf{Z}) = E[(\mathbf{Z}-\mathbf{m})(\mathbf{Z}-\mathbf{m})^T]$. Thus, the covariance matrix of $A\mathbf{Z}$, whose mean vector is $A\mathbf{m}$, is given by $$\begin{align}\operatorname{cov}(A\mathbf{Z}) &= E[(A\mathbf{Z}-A\mathbf{m})(A\mathbf{Z}-A\mathbf{m})^T]\\ &= E[A(\mathbf{Z}-\mathbf{m})(\mathbf{Z}-\mathbf{m})^TA^T]\\ &= AE[(\mathbf{Z}-\mathbf{m})(\mathbf{Z}-\mathbf{m})^T]A^T\\ &= A\operatorname{cov}(\mathbf{Z})A^T. \end{align}$$

share|improve this answer
I corrected my typo. Thanks for pointing out my error. – user92612 Aug 29 '14 at 14:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.