Variance measures how a single variable moves around its mean. Covariance measures how two variables move together.
Positive covariance means and tend to deviate from their means in the same direction. Negative means opposite. Zero means no linear relationship.
The trouble with covariance is that its magnitude depends on the scales of and , so the number itself is hard to interpret. Correlation rescales covariance to :
Now means perfectly linear with positive slope, means perfectly linear with negative slope, and means no linear relationship. Watch out: does not imply independence — it just rules out a linear relationship. Two independent variables always have , but the converse fails (e.g. on a symmetric ).
Covariance is the engine of portfolio finance. Portfolio variance, factor exposures, and risk decomposition all run through the covariance matrix of asset returns.