4.9.4 · D1Probability Theory & Statistics

Foundations — Expected value, variance, standard deviation — properties

1,610 words7 min readBack to topic

Before you can read a single formula in Expected value, variance, standard deviation — properties, you need to own every symbol it throws at you. Below, each idea is built from nothing, tied to a picture, and justified — then the next idea stands on it.


1. A number line and a point on it

Everything starts with the number line: a horizontal ruler where every position is a number. Small numbers on the left, big numbers on the right, in the middle.

A single point on that line is one specific outcome — say, "the die showed a ", which we mark at position .

We need this because a random variable's job is to land somewhere on this ruler, and both of our summaries (center, spread) are described as locations and distances on it.


2. The symbol — a random variable

Picture: think of a dart that will land somewhere on the ruler. is "wherever the dart lands." Roll a die → is the face. Flip a coin and score heads as is or .

Why the topic needs it: all the formulas — , — are questions about this dart's habits. Capital letters like always mean "a random number." Lowercase means "one specific possible value it could take."


3. Probability — how much mass sits at each value

Picture: stack a lump of clay at each possible value. A taller lump = more likely. The total clay must weigh exactly — because something always happens.

The symbol (capital Greek sigma) just means "add up over all the possibilities ." Read as "add every lump's weight." That total is — this fact is used constantly in the parent note to make terms collapse.

For continuous variables (which can be any real number, not just a list), the clay is smeared into a smooth curve called the density. Then "adding up" becomes an integral , which is just a sum over infinitely many infinitely-thin slices.


4. Expected value and its symbol

Picture: put your finger under the ruler and slide it until neither side tips. That finger position is .

Why "opposite × mass"? Each lump pulls the balance toward its position , with pulling strength equal to its weight . Averaging position weighted by mass gives — the physics center of mass. That is why the formula in the parent looks the way it does.


5. Distance from the mean, and why we square it

To talk about spread, we ask: how far is a typical outcome from the center ?

The deviation of a value is : how far right () or left () of the balance point it sits.

We remove signs by squaring: is always , and it punishes far-away points more than nearby ones (a deviation of contributes ).


6. Variance and standard deviation

Picture: for each lump, measure its distance to the finger, square it, then take the mass-weighted average of those squares. A wide spread → big squared distances → big variance.

Units problem: if is in metres, squared distances are in m². To get back to plain metres we take a square root.

The symbol (Greek "sigma", lowercase) always means standard deviation; therefore means variance. That is why the parent freely writes both.


7. Functions of , and the symbol

Sometimes we care not about but about a rule applied to it — call the rule . So is "take whatever landed on, then transform it."

  • (used for variance).
  • → a straight-line rescale (used for scale/shift rules).

Why the topic needs it: in the computational formula is exactly LOTUS with . Without this shortcut you'd have to rebuild the whole distribution of .


8. A second variable , and how two variables relate

To add randomness (like summing coin flips), we need a second random variable : another dart on the same ruler.

Full detail lives in Covariance and Correlation; here you only need to recognise the symbol and know that independence makes it vanish — which is why the sum-of-variances rule needs independence.


9. Prerequisite map

Number line and a point

Random variable X

Probability mass p_i

Expected value E of X = mu

Sum sigma and integral

Deviation X minus mu

Square the deviation

Variance

Standard deviation sigma

Function g of X and LOTUS

Second variable Y

Independence and covariance

Variance of a sum

Read it top-down: geometry (number line) feeds the random variable and probability mass; those feed the mean; the mean feeds deviations, squares, variance, and finally standard deviation. Functions and a second variable branch off to power LOTUS and the sum rule. These foundations connect onward to Law of Large Numbers and Central Limit Theorem, which describe what happens to means and spreads as you collect many samples.


Equipment checklist

Cover the right side and test yourself.

What does a capital mean versus a lowercase ?
is the random number (the dart); is one specific value it could take.
What does say in words?
All the probability mass added up equals one — something always happens.
In one phrase, what is physically?
The balance point (center of mass) of the probability mass on the number line.
Why is the average deviation always zero?
Because the mean is the balance point — left and right pulls cancel exactly.
Why do we square deviations instead of just averaging them?
Squaring removes the sign so misses on both sides count, and it punishes far outliers more.
What does mean and how is it related to variance?
is the standard deviation, equal to — spread in the original units.
What does LOTUS let you compute without a new distribution?
The average of a function , using the original values and masses: .
When does ?
When and are independent (or at least uncorrelated).