A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Variance and Standard Deviation of Random Variables

College Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
1,847topics build on this
451prerequisites beneath it
See this on the map →
Expected ValueExpected Value: Theory and Properties+4 more→→Accuracy, Precision, and ErrorBatch Normalization+17 more
variance standard-deviation random-variable spread

Core Idea

The variance of a random variable X is Var(X) = E[(X − μ)²] = E(X²) − [E(X)]², measuring expected squared deviation from the mean. The standard deviation σ = √Var(X) restores original units. Key rules: Var(aX + b) = a²Var(X) (adding a constant doesn't change spread; scaling multiplies variance by the square of the scale factor). For independent variables, Var(X + Y) = Var(X) + Var(Y) — variances add for independent random variables, but standard deviations do not.

How It's Best Learned

Use the shortcut formula E(X²) − μ² in practice, but derive Var(X) = E[(X − μ)²] conceptually first. Emphasize the independence requirement for adding variances — this is a common source of errors.

Common Misconceptions

Explainer

You learned that the expected value E(X) gives the long-run average of a random variable. But two very different distributions can share the same mean — knowing the average tells you nothing about how spread out the outcomes are. Variance measures that spread: it asks, on average, how far from the mean does X land?

The formula Var(X) = E[(X − μ)²] says: for each possible outcome of X, compute its squared distance from the mean μ, then average those squared distances. Squaring serves two purposes: it makes all deviations positive (no cancellation between outcomes above and below the mean), and it heavily penalizes large deviations, making variance more sensitive to outliers than the mean absolute deviation. In practice, the equivalent shortcut formula Var(X) = E(X²) − [E(X)]² is faster to compute and avoids calculating each deviation individually. The standard deviation σ = √Var(X) simply restores the original units — if X is measured in dollars, variance is in dollars-squared and standard deviation is in dollars.

The two scaling rules are essential. First, adding a constant b to X shifts every outcome by the same amount, so the shape of the distribution doesn't change and neither does its spread: Var(X + b) = Var(X). Second, multiplying X by a stretches each deviation by a factor of a, so squared deviations grow by a²: Var(aX) = a²Var(X). Combined: Var(aX + b) = a²Var(X). The corresponding rule for standard deviation follows: SD(aX + b) = |a|·SD(X). Note that the constant b vanishes entirely.

The independence rule is where students most often stumble: for independent X and Y, Var(X + Y) = Var(X) + Var(Y). This looks obvious but conceals a trap — standard deviations do not add. If σ_X = 3 and σ_Y = 4, then σ_{X+Y} = √(9 + 16) = √25 = 5, not 7. The 3-4-5 right triangle is appearing: standard deviations combine like perpendicular vectors, not like collinear ones. Without independence, the formula becomes Var(X + Y) = Var(X) + 2Cov(X, Y) + Var(Y), where the covariance term captures the dependence between X and Y. The independence rule is the special case where that covariance is zero.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Variance and Standard Deviation of Random Variables

Longest path: 91 steps · 451 total prerequisite topics

Prerequisites (6)

Leads To (19)