9709/62

Mathematics 9709/62May/June 2012

Cambridge AS Level · Probability & Statistics 1 · worked solutions for every part, with the mark scheme

7
questions
50
marks
75
minutes

Topics Probability · Discrete Random Variables · Representation of Data · Permutations and Combinations · The Normal Distribution

Q14MRepresentation of DataFree sample

The ages, xx years, of 150 cars are summarised by x=645\sum x = 645 and x2=8287.5\sum x^2 = 8287.5. Find (xxˉ)2\sum(x - \bar{x})^2, where xˉ\bar{x} denotes the mean of xx.

DifficultyMedium-Easy
Worked solution

Approach

For nn data values, the mean is xˉ=xn\bar{x} = \frac{\sum x}{n}. The sum of squared deviations from the mean, (xxˉ)2\sum(x - \bar{x})^2, is a measure of total variation. It can be found directly from the summary statistics using the identity

(xxˉ)2=x2(x)2n\sum(x - \bar{x})^2 = \sum x^2 - \frac{(\sum x)^2}{n}

We first compute the mean, then substitute the given values of x\sum x, x2\sum x^2 and nn into the identity (or, equivalently, into the variance formula and multiply by nn).

Working

Compute the mean:

xˉ=xn=645150=4.3\bar{x} = \frac{\sum x}{n} = \frac{645}{150} = 4.3

The variance is

s2=x2nxˉ2=8287.51504.32s^2 = \frac{\sum x^2}{n} - \bar{x}^2 = \frac{8287.5}{150} - 4.3^2 s2=55.2518.49=36.76s^2 = 55.25 - 18.49 = 36.76

so the standard deviation is

s=36.76=6.063s = \sqrt{36.76} = 6.063

Hence the sum of squared deviations from the mean is nn times this variance:

(xxˉ)2=150×6.0632=150×36.76=5514\sum(x - \bar{x})^2 = 150 \times 6.063^2 = 150 \times 36.76 = 5514

Answer

(xxˉ)2=5514\sum(x - \bar{x})^2 = 5514
Final answer

5514

Detailed explanation

Walkthrough

We are given summary data for 150 ages: the total x=645\sum x = 645 and the sum of the squares x2=8287.5\sum x^2 = 8287.5. We want the total squared distance of each data point from the mean, called the sum of squared deviations, (xxˉ)2\sum(x - \bar{x})^2.

Step 1 — Find the mean. The mean is the total divided by the number of values:

xˉ=645150=4.3\bar{x} = \frac{645}{150} = 4.3

so the mean age is 4.34.3 years.

Step 2 — Use the identity. The sum of squared deviations is linked to the summary statistics by

(xxˉ)2=x2(x)2n\sum(x - \bar{x})^2 = \sum x^2 - \frac{(\sum x)^2}{n}

This identity comes from expanding the square:

(xxˉ)2=(x22xxˉ+xˉ2)=x22xˉx+nxˉ2\sum(x - \bar{x})^2 = \sum(x^2 - 2x\bar{x} + \bar{x}^2) = \sum x^2 - 2\bar{x}\sum x + n\bar{x}^2

and then substituting xˉ=xn\bar{x} = \frac{\sum x}{n}, which simplifies 2xˉxnxˉ22\bar{x}\sum x - n\bar{x}^2 to (x)2n\frac{(\sum x)^2}{n}.

Step 3 — Substitute the values. Using x=645\sum x = 645, x2=8287.5\sum x^2 = 8287.5 and n=150n = 150:

(xxˉ)2=8287.56452150=8287.52773.5=5514\sum(x - \bar{x})^2 = 8287.5 - \frac{645^2}{150} = 8287.5 - 2773.5 = 5514

Equivalently, compute the variance first:

s2=x2nxˉ2=8287.51504.32=55.2518.49=36.76s^2 = \frac{\sum x^2}{n} - \bar{x}^2 = \frac{8287.5}{150} - 4.3^2 = 55.25 - 18.49 = 36.76

and then multiply by n=150n = 150:

150×36.76=5514150 \times 36.76 = 5514

Key Takeaways

This question shows that the total spread around the mean can be found directly from the two summary statistics x\sum x and x2\sum x^2 — no raw data is needed. The central identity

(xxˉ)2=x2(x)2n\sum(x - \bar{x})^2 = \sum x^2 - \frac{(\sum x)^2}{n}

is the same idea behind the variance formula s2=x2nxˉ2s^2 = \frac{\sum x^2}{n} - \bar{x}^2 and the standard deviation s=s2s = \sqrt{s^2}. Recognising these equivalent forms and switching between them quickly is a key examination skill.

Common Mistakes

  • Forgetting to divide by nn when computing the mean: the mean is xˉ=xn\bar{x} = \frac{\sum x}{n}, not x\sum x on its own.
  • Using the wrong identity, e.g. writing x2(x)2\sum x^2 - (\sum x)^2 instead of x2(x)2n\sum x^2 - \frac{(\sum x)^2}{n}. The division by nn is essential.
  • Stopping at the variance: the question asks for (xxˉ)2\sum(x - \bar{x})^2, which is the variance multiplied by n=150n = 150. Failing to multiply by 150 loses the final mark (the mark scheme explicitly awards a method mark for the multiplication).
  • Rounding intermediate values too aggressively, which can push the final answer outside the accepted range. The mark scheme accepts answers rounding to 5510, but exact working is safest.

Things to Be Careful About

  • The mean 4.34.3 is exact here because 645÷150=4.3645 \div 150 = 4.3; use the exact value rather than a rounded one.
  • When using the standard-deviation route, keep s=6.063s = 6.063 to enough significant figures before multiplying by 150, so that 6.063236.766.063^2 \approx 36.76 retains accuracy.
  • The result has units of squared years, years2\text{years}^2, since it is a sum of squared deviations.
  • A faster equivalent route is to skip the standard deviation and evaluate (xxˉ)2=8287.56452150\sum(x - \bar{x})^2 = 8287.5 - \frac{645^2}{150} directly; both routes are acceptable and earn full marks.
Techniques used
compute the mean from the sum of data valuesapply the identity for the sum of squared deviationsrelate variance and standard deviation to the sum of squared deviations

The rest of this paper

6 more questions
  • Q2Probability · Discrete Random Variables5M
  • Q3Discrete Random Variables6M
  • Q4Representation of Data6M
  • Q5Permutations and Combinations7M
  • Q6Probability · Permutations and Combinations9M
  • Q7The Normal Distribution · Discrete Random Variables · Probability13M
Loading the full paper…