Probability Foundations
View .md

Discrete Uniform Law

When all outcomes in a finite sample space are equally likely, probability reduces to counting.


The Law

If a sample space has NN equally likely outcomes, each outcome has probability:

P(each outcome)=1NP(\text{each outcome}) = \frac{1}{N}

For any event AA that contains nn of those outcomes:

P(A)=nN=outcomes in Atotal outcomesP(A) = \frac{n}{N} = \frac{\text{outcomes in } A}{\text{total outcomes}}


Why It Works

This follows from the additivity axiom. If all NN outcomes have equal probability pp, then by normalization:

N⋅p=P(Ω)=1  ⟹  p=1NN \cdot p = P(\Omega) = 1 \implies p = \frac{1}{N}

And by additivity, an event with nn outcomes has probability n⋅1N=nNn \cdot \frac{1}{N} = \frac{n}{N}.


Simple Examples

Experiment NN (total outcomes) Event nn (outcomes where event occurs) P(A)P(A)
Fair coin 2 Heads 1 12\frac{1}{2}
Fair 6-sided dice 6 Even number 3 36=12\frac{3}{6} = \frac{1}{2}
Fair 6-sided dice 6 Number > 4 2 26=13\frac{2}{6} = \frac{1}{3}
Draw a card 52 Ace 4 452=113\frac{4}{52} = \frac{1}{13}

Connection to Counting

The Discrete Uniform Law bridges probability and counting. When outcomes are equally likely, computing P(A)P(A) is a pure counting problem:

  1. Count the total number of outcomes NN
  2. Count the outcomes where AA actually occurs
  3. Divide to get P(A)=nNP(A) = \frac{n}{N}

For simple events, you can count by inspection. But as events get more complex, you need systematic counting methods — which is exactly what the Counting Methods module covers.

Worked Example: Two Dice

Roll two fair 4-sided dice. Let XX = first roll, YY = second roll.

Sample space: Ω={(x,y):x∈{1,2,3,4} and y∈{1,2,3,4}}\Omega = \{(x, y) : x \in \{1,2,3,4\} \text{ and } y \in \{1,2,3,4\}\} — a 4×4 grid with 16 outcomes, each with probability 116\frac{1}{16}.

Event A: “The first roll is 1.”

Y=1Y=2Y=3Y=4
X=1✓✓✓✓
X=2✗✗✗✗
X=3✗✗✗✗
X=4✗✗✗✗

The entire first row is favorable — 4 outcomes. Just read them off: (1,1),(1,2),(1,3),(1,4)(1,1), (1,2), (1,3), (1,4).

P(X=1)=416=14P(X = 1) = \frac{4}{16} = \frac{1}{4}

Event B: “The sum X+YX + Y is odd.”

Y=1Y=2Y=3Y=4
X=1✗✓✗✓
X=2✓✗✓✗
X=3✗✓✗✓
X=4✓✗✓✗

8 outcomes are favorable (green cells). Notice the checkerboard pattern — odd sums and even sums alternate. You can count by spotting this pattern: half the grid is odd, half is even. No case-by-case breakdown needed.

P(X+Y is odd)=816=12P(X + Y \text{ is odd}) = \frac{8}{16} = \frac{1}{2}

Event C: “The smaller of the two rolls equals 2.”

This means min⁡(X,Y)=2\min(X, Y) = 2 — at least one roll is 2, and neither roll is smaller than 2. There’s no simple pattern to spot here. Instead, we use systematic counting: break the event into non-overlapping cases and count each one.

Y=1Y=2Y=3Y=4
X=1✗✗✗✗
X=2✗✓✓✓
X=3✗✓✗✗
X=4✗✓✗✗

5 outcomes are favorable (green cells). But how do we find them without scanning every cell? We break into cases:

Case 1: Both rolls equal 2.

  • Only (2,2)(2, 2) → 1 outcome

Case 2: First roll is 2, second roll is bigger.

  • (2,3),(2,4)(2, 3), (2, 4) → 2 outcomes

Case 3: Second roll is 2, first roll is bigger.

  • (3,2),(4,2)(3, 2), (4, 2) → 2 outcomes

These cases are disjoint — no outcome appears in more than one case — so we can add them up:

n=1+2+2=5n = 1 + 2 + 2 = 5

P(min⁡(X,Y)=2)=516P(\min(X, Y) = 2) = \frac{5}{16}

The key difference from Event B: Event B had a visual pattern you could exploit (checkerboard). Event C has no such pattern — you must decompose the event into cases and count each case separately. This case-by-case approach is what systematic counting means, and it’s exactly what the Counting Methods module teaches you to do at scale.


When the Discrete Uniform Law Does NOT Apply

The law only works when outcomes are equally likely. A rigged dice — where some numbers are more likely than others — does not satisfy it. For example, if the number 6 comes up twice as often as the other faces, then P(6) ≠ P(1), so counting outcomes gives the wrong answer. You must assign probabilities to each outcome individually; you can’t just count.


The General Procedure

The two-dice example illustrates the general approach for any discrete uniform model:

  1. Set up the sample space — list or diagram all outcomes
  2. Verify equal likelihood — confirm each outcome has the same probability
  3. Identify the event — find which outcomes belong to your event of interest
  4. Count and divide — P(A)=∣A∣∣Ω∣P(A) = \frac{|A|}{|\Omega|}

The hard part is rarely the probability — it’s the counting. For small sample spaces you can enumerate by hand. For larger ones, you need systematic counting techniques (permutations, combinations) to find ∣A∣|A| and ∣Ω∣|\Omega| without listing every outcome.


Key Terms

Discrete Uniform LawWhen all outcomes are equally likely, P(A)=∣A∣ / ∣Ω∣P(A) = |A| \,/\, |\Omega| — the number of favorable outcomes divided by the total.
Equally LikelyThe condition that every outcome has the same probability — this is what makes the Uniform Law work
Favorable OutcomesThe outcomes where the event of interest actually occurs
Systematic CountingBreaking an event into non-overlapping cases and counting each case separately