6.2 Linear combinations of random variables
- Syllabus
- 9709–2028–2029
- Topic
- 6.2
- Level
- A2
| Quantity | Result | Condition |
|---|---|---|
| E(aX+b) | aE(X)+b | always |
| Var(aX+b) | a2Var(X) | always |
| E(aX+bY) | aE(X)+bE(Y) | always |
| Var(aX+bY) | a2Var(X)+b2Var(Y) | X,Y independent |
| Starting distributions | Resulting distribution |
|---|---|
| X normal | aX+b is normal |
| independent normal X,Y | aX+bY is normal |
| independent X∼Po(λ),Y∼Po(μ) | X+Y∼Po(λ+μ) |
If independent X∼N(10,4) and Y∼N(6,9), then X−Y∼N(10−6,4+9)=N(4,13). The mean subtracts, but the variances add because the coefficient of Y is squared: (−1)2=1.
If independent counts A∼Po(2) and B∼Po(3.5) refer to compatible exposure, then A+B∼Po(5.5). A difference of Poisson variables is not Poisson by this result.
Define the required total, difference or cost as a linear combination; calculate its mean; calculate its variance with squared coefficients and an independence check; identify the resulting distribution; only then standardise or evaluate its probability.
Constants shift expectation but contribute no variance. Never subtract variances for a difference of independent variables, and do not use the independent-variance or Poisson-sum result when dependence is present.