A linear combination of random variables is a new random variable defined by the equation , where and are constants.
The constants represent scaling factors or weights applied to each individual variable, while represents a constant shift or intercept added to the total.
This mathematical structure allows statisticians to model complex scenarios, such as the total weight of a shipment containing different types of items or the total return on a financial portfolio.
When random variables are independent, the variance of their sum is the sum of their scaled variances.
The formula for the variance of a linear combination of independent variables is . Note that the coefficients are squared because variance is a measure of squared units.
Even if the variables are subtracted (e.g., ), the variances are still added because . Variability always increases when combining independent sources of error.
The standard deviation of the combination is the square root of the resulting variance: .
If the random variables are dependent, the variance formula must include a covariance term to account for their relationship.
The general formula is , where measures how much the variables change together.
If and are positively correlated, the total variance is higher than the sum of individual variances; if negatively correlated, the total variance is reduced.
It is critical to distinguish between and .
| Scenario | Expression | Result | Explanation |
|---|---|---|---|
| Scaling | The variable is stretched; every deviation is doubled, so squared deviation is quadrupled. | ||
| Summing | Two independent variables with the same distribution. Their errors may partially cancel out, leading to less growth in variance. |
Always verify the independence assumption before dropping the covariance term from a variance calculation.
Check for Independence: In exam questions, look for keywords like 'independent', 'randomly selected', or 'uncorrelated' before using the simple variance sum formula.
The Square Rule: Always remember to square the coefficients when calculating variance (), but do NOT square them when calculating the mean ().
Subtraction is Addition: For variance, is , not . Variability cannot be 'subtracted' away by adding more random components.
Units Check: Ensure your final answer for standard deviation has the same units as the original mean. If you are working with variance, the units are squared.