Introduction to Linear Transformations of Random Variables
A <strong>linear transformation</strong> of a random variable is one of the most powerful tools in probability and statistics , it lets us rescale, shift, and combine random variables while keeping our calculations tractable.
Linear Transformation of a Random Variable: For a random variable , a linear transformation takes the form , where and are real constants. The constant is a scale factor and is a shift (translation).
Linear transformations appear constantly in real-world contexts:
- Converting temperatures from Celsius to Fahrenheit:
- Converting units (e.g., cm to inches)
- Applying a fixed markup or tax to a random price
The key results for a single random variable are:
These two formulas form the foundation of this subtopic. Understanding why they work, and how to apply them carefully, is essential for HL exam success.
Think of as a factory's daily output (random). If you multiply every outcome by (change the unit price) and add (a fixed daily overhead), the average output scales by and shifts by , but the spread only changes with , not , because shifts everything equally.
Expected Value of a Linear Transformation
The expected value (mean) of a linear transformation of a random variable satisfies:
This result follows directly from the linearity of expectation , one of the most important principles in probability theory.
Proof sketch (discrete case):
Since all probabilities sum to 1, the term simply contributes .
This formula is valid for both discrete and continuous random variables. The linearity of expectation does not require independence.
Unit conversion example:
Suppose the height of a randomly selected student (in cm) has cm. We convert to inches using the transformation .
Now suppose there is also a fixed platform of height inches, so :
A common error is to write and forget the constant . The shift does affect the expected value , it shifts the entire distribution.