Another important quantity is the so called covariance, a variant of the above defined variance. Consider again the set {Xi} of n stochastic variables (not necessarily uncorrelated) with the multivariate PDF P(x1,…,xn). The covariance of two of the stochastic variables, Xi and Xj, is defined as follows:
cov(Xi,Xj)≡⟨(xi−⟨xi⟩)(xj−⟨xj⟩)⟩=∫⋯∫(xi−⟨xi⟩)(xj−⟨xj⟩)P(x1,…,xn)dx1…dxnwith
⟨xi⟩=∫⋯∫xiP(x1,…,xn)dx1…dxn