Courses / Mathematics I
Data Analysis and Probability

Random Variables and Distributions

Mathematics I 325 words Free to read

Numbers Governed by Chance

A random variable assigns a number to each outcome of a random experiment — turning "heads or tails" into "number of heads." This lets us do arithmetic and calculus with chance. Random variables come in two kinds:

A key subtlety for continuous variables: the probability of any single exact value is zero — probability lives in intervals (areas under the density), not at points. This is the integral calculus of Unit 6 applied to chance.

Two numbers summarise a random variable:

Expectation is linear: E[aX+b]=aE[X]+bE[aX + b] = a\,E[X] + b, and E[X+Y]=E[X]+E[Y]E[X + Y] = E[X] + E[Y] for any X,YX, Y (independent or not). Variance is not linear — Var(aX)=a2Var(X)\operatorname{Var}(aX) = a^2\operatorname{Var}(X), and variances add only for independent variables. Random variables are the bridge from raw probability to statistics and the modelling of real quantities.

Common pitfall: thinking a continuous random variable has a positive probability at a single exact value. For a continuous distribution, P(X=c)=0P(X = c) = 0 for any specific cc — probability is the area under the density over an interval, and a single point has zero width, hence zero area. Only for discrete variables does an individual value carry positive probability.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes
Start Mathematics I free

Data Analysis and Probability