Average: formulas & methods

Keep the method clear, then put it into practice.

An arithmetic mean is total divided by count. Recover the total first when a group changes.

x̄
Arithmetic mean; n > 0.
S
sum of observations; n > 0.
n
number of observations; n > 0.
n₁
Number of observations in group 1.
n₂
Number of observations in group 2.
x̄₁
Arithmetic mean of group 1.
x̄₂
Arithmetic mean of group 2.

Mean and total

x̄ = S/n; S = nx̄

Use the number of observations, including repetitions.

Combine groups

Combined mean = (n₁x̄₁ + n₂x̄₂)/(n₁ + n₂)

Weight each mean by its group size.

Add one value

New mean = (nx̄ + b)/(n + 1)

b is the new observation.

Remove one value

New mean = (nx̄ − a)/(n − 1)

a is the removed observation; n > 1.

Replace one value

New mean = x̄ + (b − a)/n

Count stays unchanged.

Average speed

Average speed = total distance/total time

Equal distances at positive speeds u and v: 2uv/(u + v).

Explanations and worked examples

Open a method when you need more detail.

Full notation guide
x̄
Arithmetic mean; n > 0.
S
sum of observations; n > 0.
n
number of observations; n > 0.
n₁
Number of observations in group 1.
n₂
Number of observations in group 2.
x̄₁
Arithmetic mean of group 1.
x̄₂
Arithmetic mean of group 2.
a
Value removed.
b
Value added.
wᵢ
Nonnegative weight; the total weight is positive.
xᵢ
observation; the total weight is positive.
u
Positive travel speeds expressed in the same units.
v
Positive travel speeds expressed in the same units.
1. Recover a total or a missing value

The mean summarises a sum distributed across n observations. Multiplying by n recovers the sum, which allows missing values to be found by subtraction.

S = nx̄
Missing value = required total − sum of known values
Worked example

Five scores have an average of 72. Four are 68, 75, 70 and 80. Find the fifth.

  1. Required total = 5 × 72 = 360.
  2. Known total = 68 + 75 + 70 + 80 = 293.
  3. Missing score = 360 − 293 = 67.

67.

Remember

  • The mean need not be one of the observed values.
2. Combine groups with the correct weights

Group means must be weighted by the number of observations in each group. More generally, multiply each value by its weight, add, then divide by the total weight.

Combined mean = (n₁x̄₁ + n₂x̄₂)/(n₁ + n₂)
Weighted mean = Σ(wᵢxᵢ)/Σwᵢ
Worked example

12 students average 65 marks and 18 students average 75. Find the combined mean.

  1. Total marks = 12 × 65 + 18 × 75 = 2,130.
  2. Total students = 30.
  3. Mean = 2,130/30 = 71.

71 marks.

Remember

  • Averaging 65 and 75 directly works only for equal group sizes. Σ denotes the sum over all observations or groups.
3. Add or remove observations

Update both the total and the count. For several additions or removals, use their combined total and their combined number.

After adding b: mean = (nx̄ + b)/(n + 1)
After removing a: mean = (nx̄ − a)/(n − 1)
Worked example

Eight numbers average 24. Adding one number raises the average to 26. Find the added number.

  1. Old total = 8 × 24 = 192.
  2. New total = 9 × 26 = 234.
  3. Added value = 234 − 192 = 42.

42.

Remember

  • Do not divide the changed total by the old count. The remaining count must be positive.
4. Replace a value or correct a recording error

When the count is fixed, a change in the sum changes the mean by that amount divided by n. For an error correction, b is the correct value and a is the recorded value.

New mean − old mean = (b − a)/n
Corrected sum = recorded sum − wrong value + correct value
Worked example

The mean of 20 values was calculated as 50 using 86 instead of 68. Find the correct mean.

  1. The sum was overstated by 86 − 68 = 18.
  2. Correct mean = 50 − 18/20 = 49.1.

49.1.

Remember

  • Check the direction: correcting an overstated value decreases the mean.
5. Equally spaced values and uniform changes

For an arithmetic progression, pair the first and last terms, then the second and second-last. Each pair has the same sum, so the mean is the midpoint of the endpoints. Adding c to every observation adds c to the mean.

Mean of an arithmetic progression = (first + last)/2
If every value becomes ax + b, the new mean is ax̄ + b
Worked example

Find the mean of the even integers from 12 through 30 inclusive.

  1. The values are equally spaced.
  2. Mean = (12 + 30)/2 = 21.

21.

Remember

  • The endpoint rule does not apply to an arbitrary unevenly spaced list. Mean age increases by t after t years only for the same unchanged group.
6. Average speed is weighted by time

Use total distance divided by total time. For two equal distances, the slower leg takes longer and therefore receives more time weight. For equal times, the arithmetic mean of speeds is valid.

Equal distances: average speed = 2uv/(u + v)
Equal times: average speed = (u + v)/2
Worked example

A traveller covers 60 km at 30 km/h and another 60 km at 60 km/h. Find the average speed.

  1. Total distance = 120 km.
  2. Total time = 60/30 + 60/60 = 3 hours.
  3. Average speed = 120/3 = 40 km/h.

40 km/h.

Remember

  • The arithmetic mean 45 km/h is incorrect for equal distances. Include stoppage time if the requested journey average includes stops.
Practise average questions