The Observation Theory EncyclopediaFrom TSKAboutBy kindBy chapterBy Lean fileLedgerProvenance

covariance matrix concept

DefinitionThe matrix of pairwise covariances of a set of rows, whose trace is the total variance. Equation 0.3. Also covariance.
ExampleTwo columns with variances 0.3 and 1.7 and no covariance have covariance matrix diag(0.3, 1.7) and trace 2.0.
BookData Mining as Observation, draft 0.2, commit f3914f0; entry id covariance-matrix, kind concept.
Statusmeasures [demonstrated]; measures [predicted]. Corrections: none recorded.
Defining equation

Book equation 0.3.

Assumptions and scope
  • The weighted average of the centred rows’ outer products, the same construction as the read operator with the centred row in place of the sensitivity. Its quadratic form along a unit direction is the variance of the projection onto it, its trace is the total variance, and it is positive semidefinite.
  • Chapter 4 pairs it with the read operator in one basis. Where the two are proportional there is no flip, and where they are not the water-filling allocation reads both.
Prior artnone recorded
Evidencegeometric-observation/claims/LEDGER.md:30, geometric-observation/claims/LEDGER.md:33, lean/DataMiningAsObservation/Covariance.lean
Reviewednot yet reviewed; generated 2026-09-10 from records at the commits on the provenance page.
Σ
Variances on the diagonal and covariances off it, symmetric and positive semidefinite.

Equation

Book equation 0.3.

\[\Sigma_{ij}=\mathbb E\big[(x_i-\mu_i)(x_j-\mu_j)\big],\qquad \operatorname{tr}\Sigma=\sum_{i}\Sigma_{ii}.\]

Book equation 0.5.

\[\Sigma\,v_i=\lambda_i v_i,\qquad \Sigma=\sum_{i=1}^{d}\lambda_i\,v_i v_i^{\top},\qquad v_i\cdot v_j=0\ (i\ne j).\]

Conditions

Conditions are curated in entries.toml rather than read from a record.

Ledger

First stated

Chapter 0 section 0.2 of Data Mining as Observation, paired with the read operator in chapter 4, and Volume 14 chapter 5, geometric-observation/chapters/ch05_the_read_metric_and_the_quotient.md:7-48.

Measurements

none

Failures and corrections

none

Invariance envelope

none declared

Machine checked

lean/DataMiningAsObservation/Covariance.lean, theorems var_eq_quad, trace_eq_total, quad_nonneg, cov_symm, at observation-data-mining f3914f0; what the check covers is stated in the book’s appendix C.

Used in

Data Mining as Observation primers L and S, chapters 0, 1, 2, 3, 4, 9, 10, 11, 12.

Related

read operator; whitening; water-filling; alignment; explained variance.

See also

Book equations stated beside the entry’s terms, not defining it: 0.4.

Sources-table rows that share a record with the entry without naming it: chapter 2 section 2.2, chapter 4 section 4.2.

Status

Generated 2026-09-10 by encyclopedia/generate.py; book at observation-data-mining f3914f0; the commit of every record is listed in the encyclopedia’s provenance.

← covariancecoverage →