PROOF 64
Prove.
The mean makes the deviations sum to zero
On finite data.
A way to read this proof
First separate what is assumed from what is to be proved. At each step, ask which definition or earlier result permits the move. If it is unclear, return to that premise rather than skipping to the conclusion.
Definition D1
For data x₁, …, xₙ (n ≥ 1), a value c satisfying n·c = x₁ + ⋯ + xₙ is called the mean of the data and is written x̄.
Proof.
∎
Definition D2
The difference xᵢ − c between a data point xᵢ and a reference value c is called the deviation with respect to c. When the reference value is the mean, it is simply called the deviation.
Proof.
∎
Lemma L1
For every c, Σ(xᵢ − c) = Σxᵢ − nc
Proof.
∎
Theorem T1
If c is the mean of the data, then Σ(xᵢ − c) = 0. That is, the deviations sum to 0.
Proof.
∎
Theorem T2
A c satisfying Σ(xᵢ − c) = 0 is the mean of the data, and there is at most one such c.
Proof.
∎
Corollary C
Such a c actually exists, and x̄ = (x₁ + ⋯ + xₙ)n⁻¹.
Proof.
∎
Remark
Can A9 be removed from this proof?
That the mean is unique and that the mean exists are different claims. Check which block leans on division.