AI Tutor
Imagine tossing three fair coins. You do not just care about heads or tails — you want to count the exact number of heads you get.
A rule that turns random outcomes into numerical values is called a random variable.

Discrete Random Variables

A discrete random variable is a variable whose possible values are separate, distinct numbers that you can list or count.
We write uppercase XX to represent the variable itself, and lowercase xx for a specific numerical value it can take.
How do we display every single value XX can take alongside its exact probability?

Probability Distribution Tables

A probability mass function (often written P(X=x)P(X = x)) gives the probability that XX takes the exact value xx.
We summarize the full set of outcomes in a clean layout known as a probability distribution.
Is there an absolute mathematical law that every valid probability distribution must obey?

The Sum of Probabilities