Probability

Random Variable

A student records results after opening a box of colored marbles.

Random Variable definition

A random variable assigns a numerical value to each outcome of a random process.

In Spanish
variable aleatoria
Topic
Probability basics

Random Variable in a picture

Random Variable diagramFor two coin flips, the number of heads is 0 for TT, 1 for HT or TH, and 2 for HH.TT → 0No headsHT or TH → 1One headHH → 2Two heads
For two coin flips, the number of heads is 0 for TT, 1 for HT or TH, and 2 for HH.

How it works

Several outcomes can receive the same value. A discrete random variable has possible values that can be listed, such as counts. A continuous random variable is modeled on a range of values, such as time. A distribution describes the probabilities associated with the variable.

Worked examples

What values can the number of heads in two flips take?

0, 1, or 2.

A die is rolled and X records twice the number shown. What are the possible X values?

2, 4, 6, 8, 10, and 12.

Is elapsed time a discrete count?

It is usually modeled as continuous.

Common mistake

Distinguish the outcome from its assigned value. For two flips, HT and TH are different outcomes with the same head count.

Quick check

Must a random variable assign numbers?

Show answer

Yes.

Can different outcomes share a value?

Show answer

Yes.

Is the number of heads discrete?

Show answer

Yes.

Sources

Flashcard

Random Variable

Reveal the definition

A random variable assigns a numerical value to each outcome of a random process.

Effortless Math. “Random Variable.” Math Dictionary.