Skip to content
LoveToCalc

Theorem — what does that mean?

Expected value of a linear transformation

How the mean of aX + b follows from the mean of X.

In Swedish: Väntevärde av en linjär transformation

Expected value of a linear transformation

The relation

E(aX + b)=aE(X)+b

How the mean of aX + b follows from the mean of X: multiply by a and add b.

Solve for

E(aX + b)=13

E(aX + b) equals (2 times 5) plus 3, equals 10 plus 3, equals 13

Working3 steps

Practice questions

You are given

  • E(aX + b)=13
  • E(X)=5
  • b=3

The formula

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.

A negative factor

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.

Common mistakes

The rule is also why a sample mean converts like any single value. The definition of the mean is on the expected value page.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
E(aX + b)aE(X)+b2·5+313
aE(aX + b)−bE(X)13−352
E(X)E(aX + b)−ba13−325
bE(aX + b)−aE(X)13−2·53

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

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.