Modeling With Discrete Uniform Distributions

Apply the discrete uniform distribution to model real-world scenarios with finitely many equally likely integer outcomes. Compute probabilities of events and intervals, and find expected values in context.

Step 1 of 119%

Tutorial

Modeling With the Discrete Uniform Distribution

When an experiment produces a finite set of integer outcomes that are all equally likely, we model it with a discrete uniform distribution. Writing XDU(a,b)X \sim \text{DU}(a, b) means XX takes each integer value in {a,a+1,,b}\{a, a+1, \ldots, b\} with equal probability, and the PMF is

P(X=k)=1ba+1,k{a,a+1,,b}.P(X = k) = \frac{1}{b - a + 1}, \quad k \in \{a, a+1, \ldots, b\}.

To build the model from a real situation:

  1. Identify the set of outcomes and verify they are equally likely.
  2. Find the smallest outcome aa and the largest outcome bb.
  3. The total number of outcomes is n=ba+1n = b - a + 1, so every outcome has probability 1n\dfrac{1}{n}.

Common situations that fit this model include rolling a fair nn-sided die, drawing a numbered ticket where each ticket is equally likely, and randomly generating an integer code in a fixed range.

For instance, a fair 2020-sided die with faces 11 through 2020 produces XDU(1,20)X \sim \text{DU}(1, 20), and

P(X=7)=120.P(X = 7) = \frac{1}{20}.

To find the probability of an event A{a,,b}A \subseteq \{a, \ldots, b\}, count the outcomes in AA and divide by nn:

P(XA)=An.P(X \in A) = \frac{|A|}{n}.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle