Linear transformations of discrete distributions
For a nonzero multiplier a, the map x↦ax+b is one-to-one, so each transformed value keeps its paired probability. If a=0, all outcomes map to b and their probabilities combine to 1. The mean and spread identities hold in both cases
- Transform each value Substitute each value of X into Y = aX + b. \(\displaystyle x=2,\quad Y=3(2)-1=5\)
- Keep paired probabilities Copy the probability from the original row to its transformed value \(\displaystyle \Pr(X=2)=\frac{1}{4}\Rightarrow\Pr(Y=5)=\frac{1}{4}\)
- Transform the mean Multiply the original mean by a and add b once \(\displaystyle \operatorname{E}(Y)=a\operatorname{E}(X)+b\)
- Transform the spread Square a for variance and use the absolute value of a for standard deviation \(\displaystyle \operatorname{Var}(Y)=a^2\operatorname{Var}(X),\quad\operatorname{SD}(Y)=|a|\operatorname{SD}(X)\)
Worked example
A discrete random variable X has values -1, 2 and 4 with probabilities 1/4, 1/2 and 1/4. Define Y = -2X + 6. Construct the distribution of Y and find E(Y)
- \(\displaystyle X=-1\Rightarrow Y=8,\quad X=2\Rightarrow Y=2,\quad X=4\Rightarrow Y=-2\)Apply the transformation to every value of X.
- \(\displaystyle \begin{array}{c|ccc}y&-2&2&8\\\Pr(Y=y)&\frac{1}{4}&\frac{1}{2}&\frac{1}{4}\end{array}\)Reorder the transformed values and keep each original probability with its mapped value
- \(\displaystyle \operatorname{E}(X)=(-1)\left(\frac{1}{4}\right)+2\left(\frac{1}{2}\right)+4\left(\frac{1}{4}\right)=\frac{7}{4}\)Find the original expected value from the probability-weighted sum
- \(\displaystyle \operatorname{E}(Y)=-2\operatorname{E}(X)+6=-2\left(\frac{7}{4}\right)+6=\frac{5}{2}\)Apply the linear expectation rule to the transformation
Common mistakes
Difficulty levels
Questions about this topic
How is a transformed distribution constructed?+
Calculate ax+b for every original value x and carry its probability with it. Combine probabilities if several original values map to the same new value. For a nonzero linear multiplier the map is one-to-one; for a=0 all mass lies at b.
Why do the probabilities stay unchanged?+
Each original outcome keeps its probability. A transformed value receives the sum of the probabilities of all outcomes that map to it
How does a linear transformation affect the mean and variance?+
For Y = aX + b, E(Y) = aE(X) + b and Var(Y) = a^2 Var(X); the constant shifts the mean but not the variance
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 10: Discrete random variables