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 deceptively simple formula is the backbone of nearly every 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 spades (all 5 cards from 13 spades) is
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: