Visual walkthrough — Open addressing — linear probing, quadratic probing, double hashing
We assume nothing except: you can count, and you know what "a fraction" means. Every symbol is earned before it is used.
Step 1 — What is a "slot", a "key", and a "probe"?
WHAT. Picture a row of numbered boxes. Each box is a slot. A key is a number we want to store (like a house address we must file away). When we try to look inside one slot to check "empty or full?", that single act of looking is one probe.
WHY start here. The whole result is a count of probes. If we do not pin down exactly what one probe is, the number is meaningless. A probe = one glance into one slot.
PICTURE. Below, a row of boxes. Green boxes are empty, filled boxes hold keys. The red pointer is doing one probe — one glance.

Step 2 — What is the load factor ?
WHAT. Suppose of the boxes are already full. The fraction of full boxes is
- = how many keys are stored right now,
- = how many slots exist in total,
- (Greek letter "alpha") = the resulting fraction, always between and .
WHY this quantity. When we drop a new key and its home is taken, we start glancing at other slots. The chance any one glance hits a full box is exactly the fraction of full boxes — which is . So is literally "the probability one probe fails." That is the engine of the whole derivation.
PICTURE. Same row, now with full out of , so . The shaded portion of the bar underneath is .

Step 3 — The "uniform hashing" idealisation
WHAT. We pretend that each probe lands on a fresh, independent, uniformly random slot — as if every glance were a new dice roll that ignores where we glanced before.
WHY pretend? Real probe sequences (linear, quadratic, double) are not truly random — but this idealisation is (a) simple enough to compute by hand, and (b) an excellent approximation for Double hashing-quality sequences. We choose randomness because independence is the one property that turns "count the probes" into a clean multiplication. Without independence, the probabilities would tangle together.
PICTURE. Two ways to think of a probe. Left: the true sequence follows a fixed path. Right: our model treats each probe as an independent coin/dice throw with .

Step 4 — The probability that we need more than probes
WHAT. We are doing an unsuccessful search: we probe until we finally land on an empty slot, then stop. Let be the number of probes this takes.
Because every search makes at least one glance (you must look at the home slot before you can know it is full), takes values in — never . In particular before we start we are certainly "still going," so : this is the reason the term of our upcoming sum equals .
We now ask: what is the chance is bigger than — i.e. the first probes were all full?
- = total probes until first empty slot (a random number in ),
- = probability we are still going after probes,
- = multiplied by itself times (Step 3's independence made this legal); at the empty product is , matching .
WHY this exact event. "More than probes needed" happens precisely when the first slots we glanced at were all occupied — because the moment we hit an empty one we stop. Each of those glances is full with probability , independently, so their product is .
PICTURE. A shrinking staircase: at we are certainly still going (height ); after 1 probe, height ; after 2, height . Each step is the previous times .

Step 5 — Turning "survive past " into the average count
WHAT. We want the expected value — the long-run average number of probes. For a random variable taking values in there is a clean identity:
- = the average of over many searches,
- = "add up the following for forever,"
- = the survival probability from Step 4 (the term is ).
WHY this identity holds — a two-line proof. Every positive whole value can be written as a stack of 's: , where is when is still bigger than and once we have counted past it. Take the average (expected value) of both sides; averaging is additive, so it slides inside the sum, and the average of an indicator is just the probability of its event: . Hence That is the whole justification — no calculus, just "a number is a stack of ones."
WHY not just ? That definition also works, but it forces us to know each individual . The tail-sum instead reuses the survival probabilities we already have from Step 4, so it is the shorter road.
PICTURE. The staircase area sliced two ways. Vertical slices = ; horizontal slices = . Same shaded area, easier arithmetic on the right.

Step 6 — Summing the geometric tower
WHAT. Substitute into the tail-sum: This is a geometric series — each term is the one before it times the same ratio . Its closed value (for ) is
- the left side = infinite sum of shrinking pieces,
- = its finite total, because the pieces shrink fast enough to converge.
WHY it collapses. Call the sum . Multiply by : . Subtract: (everything cancels except the leading ). So , giving . We use this trick because it needs no calculus — just careful cancellation.
PICTURE. Nested bars: a full bar of length , then a piece , then … glued end to end they fill a total length , marked by the dashed line.

Step 7 — Reading the curve (and the two edge cases)
WHAT. Plot against and check the endpoints.
- Empty table, : . Exactly one probe — your home slot is always free. ✅ sanity check passes.
- Half full, : probes on average.
- Ninety percent, : probes.
- Approaching full, : the denominator , so . The cost explodes.
WHY the two edges matter. The case proves our formula is not nonsense (it must cost one probe). The blow-up is the reason we rehash: see Load factor and rehashing. We never let the table crawl toward full.
PICTURE. The curve stays gentle until about , then rockets skyward — a "hockey stick." The dots mark .

The one-picture summary
Everything above in a single frame: a probe glance (with fail-chance ) feeds the survival tower , whose tail-sum stacks into the geometric bar of total length , which finally traces the hockey-stick curve.

Recall Feynman retelling — the whole walk in plain words
Imagine dropping a coin into a long row of cups, some already full. Each time you peek into a cup, the chance it is full is just the fraction of cups that are full — call that fraction . You keep peeking until you find an empty cup, and you always peek at least once, so the count is but never . To still be peeking after tries, all earlier cups had to be full, and since each peek is an independent gamble, that chance is multiplied by itself times: . To get the average number of peeks, remember any whole number is a pile of 's: stack up all the "still going" chances — — and because each is a shrinking slice of the last, the whole stack adds up to exactly . Try it: empty row → 1 peek; half full → 2; nine-tenths full → 10; almost full → practically forever. That last cliff is the alarm bell telling you to grow the table.