Linear combinations of random variables
CIE A-Level MathematicsΒ· 9709 Unit 4: Probability & Statistics 1 & 2, Section 8Β· 25 min read
1. Linearity of Expectation for Linear Combinationsβ β ββββ± 6 min
Linearity of Expectation
This identity holds for any pair of random variables, no matter if they are dependent or independent, for all real constants a, b, c.
This rule extends naturally to any number of variables. For a sum of random variables with weights , the expected value is . No additional conditions apply, making this one of the most robust identities in probability theory.
Given , , calculate the value of
- 1
Apply linearity of expectation directly, no independence checks required
- 2
- 3
Test your understanding of linearity of expectation:
Which of these values is equal to if , ?
3
5
7
9
Reveal answer
3 βCalculation: 22 + 31 -4 = 4 +3 -4 = 3, no dependence between A and B affects the result.
Exam tip:
CIE exam mark schemes award full 2/3 marks for correct substitution of values into the linearity of expectation formula, no working beyond the final calculation is required unless stated.
2. Variance of Linear Combinationsβ β β βββ± 7 min
If X and Y are independent, their covariance , so the formula simplifies to . Note that variance never scales linearly with constants: all coefficients are squared, and the constant offset added to the combination has no impact on variance, as it does not change the spread of the distribution.
Given , , X and Y are independent. Calculate
- 1
Drop the constant offset 10 first, as it does not affect variance
- 2
Square all coefficients, sum the individual variances multiplied by their squared coefficients
- 3
- 4
Exam tip:
You must explicitly state 'X and Y are independent' in your working to justify dropping the covariance term, to avoid losing 1 mark in the exam.
3. Linear Combinations of Independent Normal Variablesβ β β βββ± 6 min
β Calculator OK
Reproductive Property of Normal Distribution
Any linear combination of independent normally distributed random variables is also normally distributed.
If and and X and Y are independent, then . This property is unique to a small set of common distributions, and is tested frequently in CIE Paper 6 and Paper 7.
The mass of a small apple g, the mass of a banana g. Find the probability that the total mass of 1 apple and 1 banana is less than 300g.
- 1
Define the total mass
- 2
- 3
- 4
So
- 5
4. Distinguishing $aX$ vs $X_1 + X_2 + ... + X_a$β β β β ββ± 6 min
This is the single most commonly tested trick in this topic. If you take a single random variable X and multiply it by 2, you get , with variance . If you take two independent copies of X, and , each with the same distribution as X, their sum has variance . These are completely different distributions, and exam questions explicitly test this distinction.
Side by side comparison of the two cases:
Single variable multiplied by 2: $2X$
Every value of X is doubled, so the spread of the distribution is doubled
+ Pros: Simple scaling of the original distribution
β Cons: Variables are perfectly correlated, not independent
Sum of 2 independent copies: $X_1 + X_2$
Two separate independent observations from the same distribution, summed
+ Pros: No covariance term, variance adds linearly
β Cons: Distribution shape is different from scaled X
Given , find the difference between and where are independent copies of X.
- 1
- 2
- 3
Difference = 36 - 12 = 24
Exam tip:
Read the question wording carefully: 'the total of 3 independent observations' means sum of 3 variables, 'three times the value of a single observation' means 3X.
5. Common Pitfalls
Wrong move:
Calculating as instead of
Why:
Forgetting variance measures squared spread, so scaling a variable by a scales its variance by
Correct move:
Always square the constant coefficient when calculating variance of a scaled variable
Wrong move:
Calculating as
Why:
Treating variance like expectation, where the minus sign carries through
Correct move:
Square the negative coefficient, so for independent variables
Wrong move:
Treating as equivalent to
Why:
Confusing scaling a single variable with summing two independent copies
Correct move:
Check question wording: if it refers to multiple separate observations, sum their variances directly
Wrong move:
Including constant offsets in variance calculations
Why:
Assuming adding a fixed number to a distribution changes its spread
Correct move:
Ignore all constant terms when calculating variance, they only affect the expected value
Wrong move:
Applying the normal reproductive property to dependent variables
Why:
Forgetting the rule only applies to independent normal variables
Correct move:
Explicitly confirm independence is stated in the question before using the simplified variance formula
6. Quick Reference Cheatsheet
Operation | Expectation | Variance (independent variables) | Variance (dependent variables) |
|---|---|---|---|
7. Frequently Asked
Do I need variables to be independent to calculate the expected value of a linear combination?
No. The linearity of expectation holds for all random variables, regardless of dependence. Independence is only required to simplify the variance calculation to remove covariance terms.
Why is the sum of two normal variables also normal?
The normal distribution is closed under linear transformations, meaning any linear combination of independent normally distributed variables will itself follow a normal distribution, with parameters derived from the sum of individual expectations and variances.
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 Β· 7
Sum of 3 independent test scores
- 2022 Β· 6
Difference of two normal variables
- 2021 Β· 7
Var(2X) vs Var(X1+X2) comparison
Going deeper
What's Next
Mastering linear combinations of random variables is the critical foundation for sampling distributions, where you will analyze the behaviour of sums and means of large sets of independent observations. This topic also directly supports hypothesis testing for population means, and linear regression analysis, where you will model observed values as linear combinations of parameters and error terms. You will see this concept reused in almost all subsequent Probability & Statistics 2 topics, so ensure you can reliably distinguish between scaled single variables and sums of independent copies to avoid losing easy marks in your exam.
