Permutations, combinations, and the multiplication principle
Every probability calculation rests on one fundamental question: how many outcomes are there? If we can count the total number of equally likely outcomes and the number of favorable ones, then
This formula requires that all outcomes in the sample space are equally likely — for instance, each card draw or die roll. When outcomes have unequal probabilities (e.g., biased coins, weighted sampling), you must sum probabilities directly instead of counting. With that caveat, this formula is the backbone of nearly every discrete probability interview question you will encounter.
If one task can be completed in ways and a second, independent task can be completed in ways, the two tasks together can be completed in ways.
Example. A standard die has 6 faces. Rolling two dice produces equally likely outcomes. The probability of rolling a total of 7 is because exactly six pairs sum to 7: .
A permutation counts ordered arrangements. The number of ways to arrange items chosen from distinct items is
When , this reduces to , the total number of ways to arrange all items.
Example. How many ways can 3 traders be assigned to 3 distinct desks? Answer: .
When order does not matter we use combinations. The number of ways to choose items from is
This is read " choose ." The in the denominator removes the duplicate orderings we counted in the permutation formula.
Example — Poker hands. A standard deck has 52 cards. The number of distinct 5-card hands is
The probability of being dealt a flush in a specific suit, say spades (all 5 cards from the 13 spades), is
Since there are 4 suits, the probability of a flush in any suit is (excluding straight flushes).
You have a bag with 5 red and 4 blue balls. You draw 3 at random without replacement. What is the probability that exactly 2 are red?
Step 1 — Total ways to draw 3 from 9: .
Step 2 — Favorable: choose 2 red from 5 and 1 blue from 4:
Step 3 — Probability: .
Interview Tip: Always state your counting model before computing. Interviewers want to hear "I'm choosing an unordered subset of size from , so I use ." Verbalizing this avoids the most common mistake — confusing permutations with combinations.
The number of ways to distribute identical items into distinct bins is
This appears frequently when counting portfolio allocations or partitioning trades across accounts.
Counting is the gateway to probability. Master and the multiplication principle and you will be able to set up the vast majority of discrete probability problems you see in interviews.
Permutations (order matters):
Combinations (order doesn't matter):
Stars and bars: Number of ways to put identical items into bins:
Inclusion-exclusion: