The weighted mean
Weighted mean
One formula for all of these
Average of averages: (an + bm)/(n + m).
Mixtures: (500 × 0.1 + 200 × 0.2)/(500 + 200).
What do these two calculations have in common?
What this lesson covers
The idea
The weighted mean of x1, ..., xn with weights w1, ..., wn is (w1x1 + ... + wnxn)/(w1 + ... + wn).
One formula for all of these
Average of averages: (an + bm)/(n + m). Mixtures: (500 × 0.1 + 200 × 0.2)/(500 + 200).
What do these two calculations have in common?
- Each value is multiplied by how big it is, then we divide by the total size
- Nothing: they are different kinds of problem
The mean depth of a pit
Brahmagupta (c. 628 CE) used this formula for the mean depth of an irregular pit. For example, a pit is 2 m deep for some length, 5 m deep for some length and 3 m deep for the rest. Change the lengths (the weights) and watch the mean depth. Try 4 sets of lengths.
Weighted mean
The weighted mean of x₁, x₂, …, xₙ with weights w₁, w₂, …, wₙ is (w₁x₁ + w₂x₂ + ⋯ + wₙxₙ)/(w₁ + w₂ + ⋯ + wₙ).
Each value is weighted (multiplied) by how big or how important it is, and we divide by the total weight. Pit: (3 × 2 + 1 × 5 + 4 × 3)/(3 + 1 + 4) = 23/8 ≈ 2.88 m. This formula appears in Brahmagupta's Brāhmasphuṭasiddhānta (c. 628 CE). Śrīdharācārya (c. 750 CE) used weighted means to estimate the purity of gold alloys.
Notes
Weighted mean = (w₁x₁ + w₂x₂ + ⋯ + wₙxₙ)/(w₁ + w₂ + ⋯ + wₙ). Multiply each value by its weight, add, and divide by the total weight.
Check yourself
Find the weighted mean of 4, 8, 10 with weights 1, 2, 2.
Answer: 8
(4 + 16 + 20)/5 = 40/5 = 8.
In the weighted mean, what do we divide by?
If all the weights are equal, the weighted mean is …
- The sum of the weights, w₁ + w₂ + ⋯ + wₙ — correct. Yes. The total weight.
- The number of values, n. That is the plain mean. The weighted mean divides by the total weight.
- The largest weight. Divide by the sum of all the weights.
- the ordinary mean of the values — correct. Yes. With w₁ = w₂ = ⋯ = w, the w cancels: (x₁ + ⋯ + xₙ)/n.
- always 0. Equal weights cancel out; they don't make the mean 0.
- the largest value. Equal weights give each value the same pull: the ordinary mean.