Expected value of a linear transformation
E(aX + b)
How the mean of aX + b follows from the mean of X: multiply by a and add b.
E(aX + b)=13
E(aX + b) equals (2 times 5) plus 3, equals 10 plus 3, equals 13
Den här sidan finns på svenska. Byt till svenska
Theorem — what does that mean?
How the mean of aX + b follows from the mean of X.
In Swedish: Väntevärde av en linjär transformation
E(aX + b)
How the mean of aX + b follows from the mean of X: multiply by a and add b.
E(aX + b)=13
E(aX + b) equals (2 times 5) plus 3, equals 10 plus 3, equals 13
You are given
E(aX + b) = a · E(X) + b
Holds for any random variable X with a mean and any constants a and b. Unlike the variance, the constant b is not lost: shifting every value shifts the mean the same amount.
Temperatures with a mean of 20 °C, converted with F = 1.8·C + 32: E(F) = 1.8 · 20 + 32 = 68 °F.
E(X) = 10, a = −1 and b = 4:
| Working | E(aX + b) | |
|---|---|---|
| Wrong | 1 · 10 + 4 | 14 |
| Right | −1 · 10 + 4 | −6 |
The factor multiplies the mean with its sign. A fair die doubled and shifted by 3 has mean 2 · 3.5 + 3 = 10.
The rule is also why a sample mean converts like any single value. The definition of the mean is on the expected value page.
| Solve for | Rearranged | With the numbers | Comes to |
|---|---|---|---|
| E(aX + b) | aE(X) | 2·5 | 13 |
| a | E(aX + b) | 13 | 2 |
| E(X) | E(aX + b) | 13 | 5 |
| b | E(aX + b) | 13 | 3 |
Last reviewed October 11, 2026 ·How pages are reviewed
Statistics and probabilityAll formulas
Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.