Skip to content

Discrete Random Variable

Definition

A real-valued random variable XX is discrete if there is a finite or countably infinite set DD such that P(X∈D)=1\mathbb{P}(X\in D)=1. Its distribution is determined by the masses pX(x)=P(X=x)p_X(x)=\mathbb{P}(X=x) on this set.


Interpretation

A discrete random variable puts all its probability on a list of values, finitely many or countably many x1,x2,…x_1,x_2,\ldots. The probability of any statement about XX is found by adding the masses of the values for which the statement is true.

Probability bars for the number of heads in two coin tosses: 1/4 at 0 for TT, 1/2 at 1 for HT and TH, and 1/4 at 2 for HH.

Here XX is the number of heads in two fair tosses. The labels under the bars show which outcomes give each value: {TT}\{TT\} gives 00, {HT,TH}\{HT,TH\} gives 11 and {HH}\{HH\} gives 22, so the masses are 14\tfrac{1}{4}, 12\tfrac{1}{2} and 14\tfrac{1}{4}, and they sum to 11. A probability such as P(X≥1)=12+14=34\mathbb{P}(X\ge1)=\tfrac{1}{2}+\tfrac{1}{4}=\tfrac{3}{4} is a sum of bars, as in the second Key Result.

The list of values may be infinite as long as it is countable. The number of tosses of a fair coin up to and including the first head takes the values 1,2,3,…1,2,3,\ldots with masses 12,14,18,…\tfrac{1}{2},\tfrac{1}{4},\tfrac{1}{8},\ldots, which sum to 11 as a geometric series (first success distribution). Discrete does not mean integer-valued: a variable that takes only the values 0.50.5 and 2.52.5 is discrete too.

The PMF pXp_X stores the whole distribution, and the CDF is a staircase that jumps by pX(x)p_X(x) at each value xx. A quantity spread over a whole interval, such as an exactly measured waiting time, where every single value has probability zero, is not discrete; such variables are treated later as continuous random variables.


Key Results

  • There is a countable set DD with P(X∈D)=1\mathbb{P}(X\in D)=1.
  • For any set AA, P(X∈A)=∑x∈A∩DpX(x)\displaystyle \mathbb{P}(X\in A)=\sum_{x\in A\cap D}p_X(x).

Examples

  • A fair die has values 1,…,61,\ldots,6, each with probability 1/61/6.
  • A Poisson count has possible values 0,1,2,…0,1,2,\ldots, so a discrete support need not be finite.

Prerequisites

Sources

Aliases: discrete r.v., discrete rv Symbols: element of, intersection, sum

Last updated: 20 October 2026 03:02