Mathematics · Free public reading

Random Variables: Counting Outcomes or Measuring Values?

Learn at your own pace. Questions below are reflection prompts, not assessments. You can read every explanation without submitting an answer.

Start by predicting, not memorising

Imagine tossing a fair coin. You cannot know in advance whether it will show heads (H) or tails (T). That is a random experiment.

Your first prediction: Count heads. For one toss, how likely is exactly one head? Now imagine two independent fair tosses. Is exactly one head more likely, less likely, or equally likely? Choose before expanding the outcomes. It is fine to change your mind after checking.

If unsure, try this smaller step: A single fair toss has only H and T. Exactly one of those two outcomes has one head. For two tosses, write the first letter and the second letter separately. Do not guess based only on how many different head counts are possible.

Reveal the mechanism in two small stages

Stage 1: One fair toss

Equally likely actual outcome X = number of heads
T 0
H 1

P(X=0)=1/2 and P(X=1)=1/2. Notice that X is a number assigned to the outcome, not the written H or T itself.

Stage 2: Two independent fair tosses

Equally likely actual outcome X = number of heads
TT 0
TH 1
HT 1
HH 2

Every sequence has probability 1/4. To get exactly one head there are two different sequences, TH and HT. Therefore:

  • P(X=0)=1/4, because only TT gives 0.
  • P(X=1)=2/4=1/2, because TH and HT both give 1.
  • P(X=2)=1/4, because only HH gives 2.

The surprise: P(X=1) is 1/2 in both experiments. Adding a second toss does NOT change the probability of exactly one head in this particular comparison. However, P(X=0) changes from 1/2 to 1/4, and the two-toss experiment makes the count 2 possible. Four sequence outcomes map to three numerical values. The values 0, 1 and 2 are not equally likely.

Pause and explain: Why are TH and HT different outcomes but the same value of X? Say it in your own words before continuing.

Try, get feedback, then retry

Guided check (attempt first): For two tosses, a learner writes P(X=1)=1/3, reasoning "there are three possible values: 0, 1 and 2." Is the answer correct?

Feedback if you chose 1/3: You counted possible head-count values, not equally likely coin sequences. Point to the four rows TT, TH, HT, HH. How many rows have exactly one head? Write "matching rows / all equally likely rows".

Retry, with a smaller question: What is P(X=2) for two tosses? Count only the rows with two heads. After the retry: Only HH matches, so P(X=2)=1/4. Now return to one head: two rows match, giving 2/4.

If you assumed two tosses must make one head more likely: More tosses create more sequences, but also a different number of favourable sequences. Compare the fraction in each experiment: 1/2 and 2/4. They are equal. Do not infer probability merely from the number of tosses.

A count is different from a measurement

A discrete random variable has separate, countable possible values. Our X can be 0, 1 or 2. This does not mean every discrete variable must have integer values: a finite set of fractional values can also be discrete.

Now imagine Y is the exact time in seconds needed to complete a short task. A continuous mathematical model allows Y to vary over a range at arbitrary precision. A digital clock may display 2.3 seconds, but rounding its display does not by itself make the underlying elapsed time discrete. In an ideal continuous model, a single exact value typically has probability zero while an interval may have positive probability.

Supported classification attempt: Is "number of books on a shelf" a count or a measurement? Is "time spent reading" a count or a measurement? If stuck, ask whether the model can reasonably take values between neighbouring whole numbers.

Feedback: Books are counted as whole items (discrete). Exact elapsed time is modelled as continuous. If you were thinking of an app reporting only whole minutes, separate the displayed recording precision from the underlying duration.

Independent transfer: a different setting

A fictional environmental sensor makes three independent pass/fail checks. For this exercise only, each check is equally likely to pass or fail. Let Z = number of passes.

Your independent task:

  1. List all eight possible three-check sequences.
  2. List the possible values of Z.
  3. Count the sequences for each Z and give P(Z=0), P(Z=1), P(Z=2), P(Z=3).
  4. Explain whether the number of passes and the exact time taken to complete the checks are discrete or continuous.

You may return to the two-toss example.

Answer independently on paper or in notes. This public reading does not submit, save, grade or reveal a model answer.