Find the mean and variance of aX + b and of sums and differences of independent random variables, avoid the X₁ + X₂ versus 2X trap, and calculate unbiased estimates of a population mean and variance.
Each is in the Maths AI glossary, with every other term in the subject.
An estimator whose expected value differs from the population parameter it estimates, so that it tends to overestimate or to underestimate.
The single numerical value that an estimator gives for one particular sample, used as a best guess of a population parameter.
A rule or formula, applied to sample data, that is used to estimate a population parameter; because the sample is random, an estimator is itself a random variable.
Random variables for which the value taken by any one of them does not change the probability distribution of any of the others.
A random variable of the form
With a free account, Augment remembers where you stopped and what you have practiced.
A new random variable formed from a random variable by multiplying every value by a constant and adding a constant ; it has and .
A fixed numerical value that describes a whole population or probability model and that is usually unknown.
The mean of the values in a sample, ; as an estimator, , it is an unbiased estimator of the population mean .
The square root of the variance of a random variable, , measured in the same units as the variable itself.
A value calculated only from the data in a sample; it varies from one sample to another.
The value , calculated from a sample of size , whose estimator has expected value equal to the population variance .
An estimator whose expected value equals the population parameter it estimates, so that over all possible samples it neither overestimates nor underestimates on average.
The expected value of the squared deviation of a random variable from its mean, , where ; it measures how widely the values of spread about its mean in the long run.
Find the expected value, variance and standard deviation of a linear transformation of a random variable.
Calculate the expected value of a linear combination of random variables, whether or not they are independent.
Calculate the variance of a linear combination of independent random variables, squaring each coefficient and adding.
Distinguish between the sum of independent observations and the multiple of one observation.
Find probabilities for sums and differences of independent normal random variables, using technology.
Explain the difference between a population parameter, a statistic, an estimator and an estimate, and what makes an estimator unbiased.
Calculate the unbiased estimates of and of
Convert between and using the factor
Many quantities of interest are built from other random quantities. A taxi fare is a fixed charge plus a rate times a random distance; the total weight in an aircraft is the sum of many passengers' weights; the profit on a trade is the difference between two random prices. Knowing the mean and the spread of each part is enough to find the mean and the spread of the whole, provided the parts are combined linearly and, for the spread, provided they are independent. The same rules explain why the average of a sample is a trustworthy guide to the average of a population, and why the spread of a sample has to be adjusted before it is used to estimate the spread of a population.
The rules come in two parts. Means scale, shift, add and subtract in the same way as the quantities themselves. Variances follow three different rules: a shift leaves them unchanged, a scale factor is squared, and when independent quantities are combined their variances always add, even when the quantities are subtracted. Most errors with combinations of random variables come from forgetting one of these three rules.
A random variable has an expected value , its long-run mean, often written . Two random variables can have the same expected value and behave very differently: one may always land close to its mean while the other swings far above and below it. A measure of spread is needed, and it is built the same way as the variance of a data set in subtopic 4.3: take the deviation from the mean, square it so that positive and negative deviations do not cancel, and average.
The variance is in squared units: if is a mass in grams, is in . Its square root returns to the original units and is easier to interpret.
For a fair six-sided die, the score takes the values 1 to 6 with probability each, so . The squared deviations from 3.5 are 6.25, 2.25, 0.25, 0.25, 2.25 and 6.25, and their mean is
so the standard deviation is . For most named distributions the variance is known without any calculation: for the
A linear transformation changes every value of by the same rule : multiply by a constant , then add a constant . Converting units, adding a fixed charge, applying an exchange rate and rescaling test scores are all linear transformations.
If every value of is multiplied by , the long-run average is multiplied by . If is then added to every value, the long-run average rises by exactly . For a discrete variable this follows in one line from the definition of expected value and the fact that the probabilities add to 1:
Adding moves every value and the mean by the same amount, so every deviation is unchanged and the spread does not change. Multiplying by multiplies every deviation by , so every squared deviation is multiplied by
The absolute value matters when is negative. The variable has : it decreases when increases, but its values are just as spread out as those of
The same rules hold for data: subtopic 4.3 shows that adding a constant to every data value shifts the mean but not the standard deviation, and multiplying scales both. The random-variable version is used when the quantity is a model of a process rather than a list of observed values.
Transformation | New mean | New variance | New standard deviation |
|---|---|---|---|
A fixed charge plus a rate per unit is one of the commonest linear transformations. The fixed part moves the mean but leaves the spread alone, while the rate scales both the mean and the standard deviation.
Test designers, universities and competitions often rescale raw scores so that the new scores have a chosen mean and standard deviation. If raw scores have mean and standard deviation , the transformation with
A linear combination adds or subtracts several random variables, each multiplied by a constant. The total mass of a suitcase and the items packed in it, the difference between the times of two runners, and the value of an investment split between two assets are all linear combinations.
The mean of a sum is the sum of the means. If one shop takes $500 a day on average and another takes $300, together they take $800 a day on average, whatever the connection between them. Scaling and subtracting work in the same way, so for any random variables the expected value follows the coefficients and signs.
This result does not need the variables to be independent. Even if two shops' takings rise and fall together (both busy on sunny days), their combined mean is still the sum of their separate means; independence matters only when the spread is combined.
Two random variables are independent when knowing the value of one tells nothing about the other. The idea is the same as independent events in subtopic 4.6, applied to every possible pair of values.
In models, independence is usually an assumption that has to be stated and judged. Service times of different customers, masses of different items from a production line and weights of different passengers are normally treated as independent. The masses of two cakes cut from the same sheet, the times of two runners in the same race on a windy day, or the returns on two shares in the same industry are not, and a model that assumes independence will misjudge their spread.
Variances of independent variables add. For two dice, the total has 36 equally likely outcomes, and the variance of the totals can be found from the table of the 11 possible values. Working it through gives
The reason is that independent deviations do not systematically cancel or reinforce each other. Sometimes both dice are above average, sometimes both are below, sometimes one is above and the other below; these cases balance out so that the mixed terms average to zero, and only the separate spreads remain. The same argument works for a difference. The difference of two dice runs from to 5, a range of 10, just like the total, which runs from 2 to 12. Subtracting a random quantity adds uncertainty just as adding one does, so
Combining this with the rule for each term gives the general result for independent variables:
Every coefficient is squared, and every term is added, whatever the sign in front of it, because .
The graph of the four normal curves shows both rules at once. The means combine with the signs ( and ), while the variances add in both cases, so the curves for and
YouTubeThe expectation rule holds for any variables, but the variance rule can fail badly without independence. Taking , the most dependent case possible, gives , whose variance is , not
Two expressions look alike but describe different situations:
Both have the same mean, . Their variances differ:
The total of separate observations is less spread out because high and low values tend to offset each other. A single value multiplied by has no chance to offset: if it is high, all copies are high together.

The bar charts of two dice make the difference visible. The total of two separate rolls reaches 2 or 12 only when both dice are extreme, with probability each, and is most likely to be 7. One roll doubled is equally likely to be 2, 4, 6, 8, 10 or 12, so extreme values are six times as likely. Its variance is
Many questions compare one quantity with a combination of others: "is one large bottle heavier than two small ones?", "does a queue of four customers clear before a queue of three?". The method is always to form a single combined variable whose sign answers the question, find its mean and variance, and then find the probability that it is positive or negative.
Combinations with coefficients other than 1 arise when a quantity is split into parts. An investor who puts a fraction of a sum into asset A, with percentage return , and the rest into asset B, with return , receives the return
On 8 January 2003, Air Midwest Flight 5481, a Beechcraft 1900D, crashed shortly after take-off from Charlotte, North Carolina, killing all 19 passengers and both crew. The loading had been calculated with the approved average passenger weights, which had not been revised since 1936. Investigators found that the real average passenger was more than 20 lb (9 kg) heavier than the estimate, and that the aircraft was 580 lb (264 kg) over its maximum take-off weight, with its centre of gravity behind the allowed limit. A maintenance error in the elevator controls also contributed.
Source: Wikipedia, "Air Midwest Flight 5481", summarising the US National Transportation Safety Board report; accessed 2026.
A total load is a sum of independent random variables, so the rules for linear combinations show what goes wrong when the mean used for planning is too low. The model below is hypothetical: suppose the weight of an adult passenger with carry-on bags, kg, has mean 91 kg and standard deviation 15 kg, while the loading sheet assumes 82 kg per passenger, 9 kg too low. For 19 passengers, the total is
The loading sheet expects kg. The planning error grows in proportion to the number of passengers, kg, while the random variation of the total grows only with
Model of the true mean | Planned total | Mean of true total | SD of true total | P(true total > planned + 100 kg) |
|---|---|---|---|---|
82 kg (planning figure correct) | 1558 kg | 1558 kg | 65.4 kg | 0.0631 |
91 kg (planning figure 9 kg too low) | 1558 kg | 1729 kg | 65.4 kg | 0.861 |
With a correct planning figure, random variation alone pushes the real load more than 100 kg over the plan on only about 6% of flights, and a safety margin can be set to cover that. With a planning figure 9 kg too low, the same overload happens on about 86% of flights. Random variation in a sum of many independent parts partly cancels out, whereas an error in the assumed mean is repeated for every passenger and builds up in full. A consistent error of this kind is a bias, and avoiding bias is the main requirement when a mean or a variance is estimated from a sample.
Statistical work usually runs in the opposite direction. Instead of knowing and and predicting a total, a researcher has a sample and wants to learn about the population it came from. The numbers that describe the population are fixed but unknown; the numbers calculated from the sample are known but change from sample to sample.
The word "parameter" here has the statistical meaning; it is a special case of a parameter of a model, the constant that fixes which member of a family of distributions is used.
A statistic used to guess a parameter is called an estimator. The distinction between the rule and the number it produces matters: the rule "add the values and divide by " is the same for every sample, while the number it gives changes each time.
The sample mean
Different samples give different estimates, so any single estimate will usually miss the true value. A good estimator should at least be right on average: if it were applied to every possible sample, the mean of all its estimates should equal the parameter.
An unbiased estimator can still be far from the truth for an unlucky sample. Unbiasedness describes the average behaviour of the method and gives no guarantee about any single estimate.
The bias of a sample in subtopic 4.1 comes from how the sample is chosen; the bias of an estimator comes from the formula applied to it. Both push results consistently in one direction, and neither is reduced by taking a larger sample of the same kind.
The sample mean is the obvious estimator of a population mean, and it is unbiased. The calculation is the formula for the mean of data from subtopic 4.3, , or
The rules for linear combinations show why it is unbiased. Each observation of a random sample has mean , and is the linear combination
The same rules give the spread of when the observations are independent:
Estimating is less straightforward. The natural choice is the variance of the sample, dividing by , written :
This is a biased estimator: on average it is too small. The deviations are measured from , the centre of the sample itself, rather than from the unknown . The sample mean is always the point that makes the sum of squared deviations of that sample as small as possible, so measuring from gives a smaller total than measuring from would, except in the rare case
The bias can be seen exactly in a tiny example. A population consists of the three values 1, 4 and 7 in equal proportions, so and
Sample |
|---|
The mean of the nine sample means is exactly , so is unbiased. The mean of the nine values of is 3, only half of

The dot plots show both estimators side by side. Neither ever gives exactly 6 for a sample of two, and is more spread out, but only is centred on the true value.
In general,
One way to see why is right: once is known, the deviations
YouTubeThe correction matters most for small samples. For it multiplies the variance by 1.5; for by about 1.11; for by about 1.01. For very large samples
A GDC's one-variable statistics function gives both standard deviations at once. The labels differ between models, which causes many errors.
What the GDC shows | What it is | Use for |
|---|---|---|
sample mean | unbiased estimate of | |
or |
On a TI-84 Plus CE, enter the data in a list and use STAT → CALC → 1-Var Stats; on a Casio fx-CG50, use MENU → Statistics → CALC → 1-VAR. The GDC gives , a standard deviation; the unbiased estimate of the variance is its square.
When data come as a frequency table, the GDC must be told the frequencies as well as the values. Without the frequency list it treats each distinct value as a single observation.
A librarian records the number of books, , borrowed by each of a random sample of 50 visitors.
Books borrowed, | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
Frequency, | 6 | 11 | 14 | 9 | 7 | 3 |
Data are sometimes summarised only by , and . Expanding the sum of squared deviations gives
An equivalent route is
Linear transformations, combinations and unbiased estimates appear on Papers 1, 2 and 3, often combined with the normal distribution (subtopic 4.9), the distribution of a sample mean (subtopic 4.15), or a confidence interval or test (subtopics 4.16 and 4.18) that uses the estimates found in an earlier part. Typical questions:
find and of a combination such as or , sometimes for Poisson variables where the variance equals the mean (2–3 marks);
find the probability that a total exceeds a limit, or that one quantity exceeds a multiple or a total of others, with normal variables (4–6 marks);
Marks go to: naming the combined variable; the mean; the variance with squared coefficients and added variances; the distribution with both parameters; the probability. Answers are exact or to 3 significant figures.
Questions on unbiased estimates are often the first two parts of a longer question; the answers are then used to build a confidence interval or carry out a test. Carry the unrounded values forward from the GDC, and remember that a later -interval or -test uses , the square root of the unbiased variance.
A random variable has and . Find
Cars | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
Frequency | 9 | 17 | 12 | 8 | 4 |
Find unbiased estimates of the population mean and variance. [3]
For a random sample of 12 values, and . Find unbiased estimates of and
; ; SD
and
I can find the mean, variance and standard deviation of , including when is negative.
I can explain why adding a constant does not change a variance.
I can find and to rescale a variable to a given mean and standard deviation.
I can find the expected value of any linear combination and know that it needs no independence.
50 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
An examination is marked out of 80. A candidate's raw mark is first converted to a percentage, . The percentage is then scaled using to give the final scaled score.
Find an expression for .
2 marks
A botanical garden has an entrance, , and five glasshouses, , , , and
The passenger lift in the Torre Sabina office building displays the sign "Maximum load 1000 kg".
The masses of adults who use the lift are normally distributed with mean 76.5 kg and standard deviation 13.2 kg. Assume that the masses of the people in the lift are independent.
Twelve adults enter the lift. Let be their total mass, in kg. Find the mean and the variance of .
2 marks
Find the probability that the total mass of the twelve adults exceeds the maximum load.
2 marks
The building manager wants the probability that the total mass of the adults in the lift exceeds 1000 kg to be less than 1%. Find the greatest number of adults that should be allowed in the lift at one time.
3 marks
The entries of the mathematics: applications and interpretation formula booklet that 4.14 uses. Each opens in the explained booklet.
For a normal random variable , the variance is the second parameter, .
A fare of 4.50 plus 1.80 per kilometre for a random distance km is the linear transformation .
Find and the standard deviation of .
The profit is a linear transformation of with and .
The fee shifts every profit by the same amount, so it does not affect the variance.
The standard deviation is . The mean profit per customer is $5.30, with a standard deviation of $3.60. As a check, the standard deviation of is
(b) The fixed charge of $4.50 does not change the spread.
The standard deviation is $5.58 and the variance is about 31.1 dollars². The variance could equally be found as ; both routes give the same number because squaring and scaling can be done in either order.
(b) Find the rescaled score of a student whose raw score is 80.
(c) The raw scores are normally distributed. Find the proportion of students with a rescaled score above 65.
(a) The standard deviation is multiplied by , so and .
The mean becomes , so (3 s.f.).
(b) . The rescaled score is 62.
(c) A linear transformation of a normal variable is still normal, because it only stretches and shifts the bell curve, so .
Using the GDC's normal cdf with lower bound 65, a very large upper bound, mean 50 and standard deviation 10:
About 6.68% of students have a rescaled score above 65. The same answer comes from the raw scores: a rescaled 65 corresponds to a raw score of , and
The total of three service times is a linear combination with every coefficient equal to 1.
Find the mean and the standard deviation of .
The expected value follows the signs and includes the constant.
For the variance, square each coefficient, add the terms, and ignore the constant 5.
The mean of is 8 and its standard deviation is 9.85 (3 s.f.).
is one observation multiplied by : the mass of one apple counted 5 times, or the cost of 5 litres of fuel when the price per litre is random.
(a) Let , where the are independent with the same distribution as .
(b) A sum of independent normal variables is normal (subtopic 4.15), so . The standard deviation is
Using the GDC's normal cdf with upper bound 15, mean 12.6 and standard deviation :
(c) is one customer's time tripled. It has the same mean, 12.6, but variance , three times too large, because it assumes all three customers take an equally long or short time. It would give
Find the probability that a randomly chosen large bottle contains more juice than two randomly chosen small bottles together. [5]
Let , where and are two independent small bottles. The large bottle holds more exactly when . (M1)
$$ \mathrm{E}(D) = 1010 - 2(503) = 4 $$ (A1)
Each of the three volumes contributes its own variance, and they all add.
$$ \mathrm{Var}(D) = 12^2 + 8^2 + 8^2 = 272 $$ (M1)(A1)
So , with standard deviation
$$ \mathrm{P}(D > 0) = 0.596 $$ A1
The probability is 0.596. The large bottle holds only 4 ml more than two small ones on average, so the result is not much better than an even chance.
(a) Find the mean and standard deviation of when .
(b) Show that .
(c) Find the mean and standard deviation of when , and comment on the result.
(a) .
The standard deviation is (3 s.f.).
(b) Using the variance rule for independent variables,
as required.
(c) , and
With 10% in the riskier investment, the mean return (4.4%) is higher than putting everything into the safer one (4%), and the standard deviation (4.74%) is lower than either investment on its own (5% and 15%). Splitting money between independent investments reduces risk, because their ups and downs partly offset. In reality, returns on investments are often positively related, which reduces this benefit.
1, 1 | 1 | 0 | 0 |
1, 4 | 2.5 | 2.25 | 4.5 |
1, 7 | 4 | 9 | 18 |
4, 1 | 2.5 | 2.25 | 4.5 |
4, 4 | 4 | 0 | 0 |
4, 7 | 5.5 | 2.25 | 4.5 |
7, 1 | 4 | 9 | 18 |
7, 4 | 5.5 | 2.25 | 4.5 |
7, 7 | 7 | 0 | 0 |
Mean of the nine | 4 | 3 | 6 |
, dividing by |
square it for the unbiased estimate of |
or | , dividing by | describing the sample itself (subtopic 4.3) |
The unbiased estimate of is 157 g (3 s.f.).
The unbiased estimate of is 104 g² (3 s.f.).
As a check, , and , the same value. Squaring the rounded 10.2 would give 104.04, so the unrounded value is carried forward.
The unbiased estimate of the mean is 2.18 books. The unbiased estimate of the variance is , about 1.99.
If the frequency list is forgotten, the GDC reports and , the mean of the six numbers 0 to 5: a quick sign that the frequencies were left out.
The unbiased estimates are 35.7 minutes for the mean and 22.8 minutes² (3 s.f.) for the variance.
Check by the other route:
find unbiased estimates of and from raw data, a frequency table or and (1–2 marks each), as the first step of an interval or a test;
find a new mean and standard deviation after scores are multiplied and shifted.
g A1
(M1)
g² A1
[3 marks]
(b) Let , where is the mass of the loaf (M1)
(A1)
(M1)(A1)
, A1
Note: award M0 for or for .
[5 marks]
(c) would mean one roll's mass multiplied by 13, which has variance ; the 13 rolls have independent masses, so the variance of their total is R1
[1 mark]
(d) g A1
(M1)
g² A1
Note: award A0 for 66.0, the biased estimate .
[3 marks]
Total [12 marks]
and are independent with , , and . (a) Find and . [3] (b) Find and , where are independent observations of . [2]
The price of a jacket in euros has mean €42 and standard deviation €6.50. An online shop converts the price to dollars by multiplying by 1.08 and then adds $3 for shipping. Find the mean and standard deviation of the price in dollars. [3]
The masses of adults using a lift are modelled by kg, independently. The lift's safe load is 1000 kg. Find the probability that 12 adults exceed the safe load. State one assumption you have made. [5]
A jug holds ml of water, which is poured into four glasses. The capacity of each glass is ml, independently. Find the probability that the four glasses cannot hold all the water in the jug. [5]
The reaction times, in seconds, of a random sample of seven drivers are 0.42, 0.37, 0.51, 0.45, 0.39, 0.48, 0.44. Find unbiased estimates of the population mean and variance. [3]
A random sample of 50 households gives the following numbers of cars.
A sample of 15 measurements has standard deviation . Find and the unbiased estimate of the population variance. [2]
Explain why tends to underestimate the population variance, and why the effect is larger for small samples. [2]
(a) ; . (b) ; .
Mean , so $48.36; SD , so $7.02.
; . Assumption: the adults' masses are independent (for example, not members of one sports team).
, , ; the glasses overflow when : . (The probability they can hold it all is .)
s; , so s².
With the frequency list: , ; .
; .
; .
Deviations are measured from , which is the value that makes the sum of squared deviations of the sample smallest, so they are smaller on average than deviations from ; the factor by which falls short on average is furthest from 1 when is small.
The expected value of any linear combination follows the coefficients and signs: , with or without independence.
For independent variables, : square the coefficients and always add.
Variances add; standard deviations do not.
The total of independent copies has variance ; one value multiplied by has variance .
To compare quantities, form one combined variable (such as ), find its mean and variance, state its distribution, then find the probability that it is positive or negative.
A population parameter is fixed and usually unknown; a statistic is calculated from a sample; an estimator is the rule, an estimate the number it gives; an unbiased estimator has expected value equal to the parameter.
is an unbiased estimate of ; is an unbiased estimate of ; is biased (too small on average).
On a GDC, is and is ; include the frequency list for a frequency table; convert standard deviations with .
I can find the variance of a combination of independent variables, squaring coefficients and adding.
I can explain why for independent variables.
I can tell from and give the variance of each.
I can set up a combined variable such as and find a probability for it when the variables are normal.
I can state the independence assumption in context.
I can explain the difference between a population parameter, a statistic, an estimator and an estimate.
I can explain what makes an estimator unbiased, using an example.
I can find unbiased estimates of and from raw data and from a frequency table with a GDC.
I can find unbiased estimates from , and .
I can convert to , and to , with the correct factor.
A1
[2 marks]
Find the scaled score of Chiara, whose raw mark is 52.
1 mark
A1
[1 mark]
Find an expression for .
2 marks
(M1)
A1
Note: Accept or .
[2 marks]
A grade 7 is awarded for a scaled score of 75 or more. Hence find the minimum raw mark needed for a grade 7.
1 mark
A1
[1 mark]
Find and comment on your answer.
2 marks
A1
a scaled score over 100 is possible, which does not make sense for a percentage scale (so the scaling should be capped at 100) R1
[2 marks]
The raw marks of the candidates are modelled by a normal distribution with mean 48 and standard deviation 9. Find the probability that a randomly chosen candidate is awarded a grade 7.
3 marks
, OR sketch of normal curve with area to the right of 56 shaded (M1)(A1)
A1
Note: Follow through from part (d).
[3 marks]
Find the mean and the standard deviation of the scaled scores.
3 marks
(M1)A1
standard deviation A1
[3 marks]
– | 7 | 11 | 9 | 14 | 10 | |
7 | – | 6 | 12 | 9 | 13 | |
11 | 6 | – | 8 | 5 | 12 | |
9 | 12 | 8 | – | 10 | 6 | |
14 | 9 | 5 | 10 | – | 11 | |
10 | 13 | 12 | 6 | 11 | – |
Siobhan wants to visit every glasshouse once, starting and finishing at the entrance.
Use the nearest neighbour algorithm, starting at , to find an upper bound for her total walking time.
3 marks
By deleting vertex and using Prim's algorithm starting at , find a lower bound for her total walking time.
4 marks
Deleting vertex gives a lower bound of 42 minutes. Let be her least possible total walking time. Write down the best inequality for .
2 marks
The times, in minutes, that Siobhan spends inside the glasshouses are independent and normally distributed as follows.
Glasshouse | |||||
|---|---|---|---|---|---|
Mean |
Siobhan follows the route found in part (a). Find the probability that her whole visit, walking and time in the glasshouses, takes no more than 115 minutes.
3 marks
The garden closes at 17:00. Find the latest time, to the nearest minute, that Siobhan can arrive at the entrance so that the probability that she finishes her visit before closing is at least 0.95.
3 marks
12 |
15 |
10 |
18 |
9 |
Standard deviation | 2 | 3 | 1.5 | 4 | 2 |
Find the mean and the variance of , the total time she spends inside the glasshouses.
3 marks