Linear transformation of a random variable
By Jude Wallis · Updated
A linear transformation rescales and shifts a random variable, moving its mean by the same rule while changing its standard deviation only by the multiplier.
A linear transformation replaces with for fixed numbers and . The mean follows the rule the values follow, (mu-Y, the mean of Y), but the standard deviation answers only to the multiplier: (sigma-Y). Adding slides every value the same distance, which cannot change how far apart any two of them are, and the absolute value keeps positive when is negative. In variance terms .
Daily high temperatures in Celsius have mean 20 and standard deviation 4. Converting with gives a mean of degrees Fahrenheit and a standard deviation of degrees.
"So the standard deviation is " is the wrong sentence, and it is the one this topic produces most. A standard deviation measures distances between values. Lifting the whole distribution by 32 moves both ends of every distance, so every distance survives untouched. Only the stretch by 1.8 does anything at all, and a spread of 39.2 degrees on daily temperatures should have failed a sanity check before the algebra did.
Standardizing is the case worth recognizing on sight: is with , which is why a z-score has mean 0 and standard deviation 1.
Linear is the entire condition. Squaring is not linear and neither rule survives it: for taking 0, 1 and 2 with probabilities 0.5, 0.3 and 0.2, , but takes 0, 1 and 4 with those same probabilities, so its mean is , not .
Transforming one variable is a different operation from combining two. Adding or subtracting random variables, where variances add under independence, is among the topics College Board removed from the course with the Fall 2026 revision, and that removal says nothing either way about rescaling a single variable.
More random variables and distributions terms, or browse the full statistics glossary.