Movement II: One Random Variable
EE 520: Random Processes (Fall 2026). Instructor: John Lipor.
Session 4 built random variables from scratch, one ad-hoc count at a time. But the same few shapes keep reappearing, and three questions from a single search make the point. How many of cells produce a detection on one sweep? Each cell succeeds or fails on its own, a fixed number of independent yes/no trials: that count is binomial. How many passes until this cell finally gives up its target? We repeat one trial until the first success: that waiting time is geometric. If two vehicles each search their own cell, how long until the whole job is done? That is the maximum of two waiting times, and here our tools run out: we have no formula for a maximum. Today we catalog the handful of named models that cover almost every sensor and count in the course, and we forge the one genuinely new tool of the session, the CDF method, which answers every question about a maximum or a minimum.
The atom of every count is a single yes/no trial.
Definition 1 (Bernoulli). takes the value with probability and with probability . It is the indicator of a success, so and .
Stacking independent copies of the same trial and counting the successes gives the workhorse count model.
Definition 2 (Binomial). is the number of successes in independent trials, each succeeding with probability . Its PMF is the factor counting which trials succeeded.
We do not need the PMF to find the mean and variance: Session 4’s machinery delivers them for free. Write with the indicator of trial . By linearity (no independence needed), Because the trials are independent, the cross terms in the variance of the sum vanish and the variances add: This is the whole point of the indicator method: the binomial is not a new object, it is Bernoullis added up, and its summary statistics follow from linearity and independence exactly as in the last session.
Instead of fixing the number of trials, fix the goal (the first success) and let the number of trials be random.
Definition 3 (Geometric). is the number of independent trials up to and including the first success, where each trial succeeds with probability . Its support is and since the first trials must fail and the -th must succeed.
Convention (fix this once and never deviate). We count the trial on which the first success occurs, so the geometric starts at . Many textbooks instead count the number of failures before the first success, which starts at ; the two conventions differ by exactly . Ours is the “number of passes until this cell is searched successfully” count, which is what a search log records.
The survival probability follows directly: the event is exactly “the first trials all failed,” so For the mean we introduce a general tool that will pay off repeatedly.
Theorem 1 (Tail-sum formula). For a nonnegative integer-valued random variable ,
Proof: HW2, Problem 1(b). We use only the statement here. Applied to the geometric, by [eq:geomtail], so the mean is a geometric series: A cell searched with per-pass success probability takes, on average, passes to give up its target. The rarer the success, the longer the wait, in exact inverse proportion.
The geometric has a startling property: having waited without success tells you nothing about how much longer you must wait.
Proposition 1 (Memorylessness). If , then for all nonnegative integers ,
Proof. Using the definition of conditional probability and the survival formula [eq:geomtail], and noting so the intersection is , ◻
In search terms: a cell that has resisted passes is, given the target is still there, exactly as hard to clear as it was on the first pass. The trials do not tire and do not learn; each pass faces the same odds.
This is easy to misread, and the misreading collides with everything Movement I taught. Memorylessness is a statement about the conditional law of the waiting time given that the target is present in the cell. It says nothing about whether the target is present. Those are different questions, and Session 2 already answered the second one: each failed pass is evidence, and the failed-search update flows probability out of the searched cell, so unconditionally our belief that the target is even in this cell falls with every empty pass. Both facts hold at once, and they do not conflict. Conditioned on presence, the remaining wait is undiminished; but our confidence in that very conditioning erodes. Persistence that ignores the second fact, and searches forever because “the odds each pass are unchanged,” is exactly the error Session 2 warned against.
Two clocks, not one. Memorylessness governs the wait given presence; Bayes governs belief in presence. A run of failures leaves the first clock untouched and runs the second one down. Never let “the geometric is memoryless” become “the failures told us nothing”: they told us nothing about the wait, and a great deal about the location.
Definition 4 (Poisson). has support and PMF Its mean and variance are both (the mean is a short exercise from the series for ; the variance is left as one).
The Poisson earns its central place as the limit of a binomial with many trials, each rarely successful. Fix a count and let while holding the mean fixed, i.e., :
The first factor is a product of ratios each tending to , and the third is the classical limit . This is the law of rare events: a great many independent chances, each unlikely, produce a Poisson count.
The limit is not a curiosity. It says the Poisson is what a binomial becomes whenever the batch is large and each success is rare, which is exactly the regime of most sensing counts.
Poisson is the universal rare-count model. Photons striking a detector in a gate, packets arriving at a relay, false alarms across a large sensor array: each is a huge number of independent, individually unlikely opportunities. That is why Poisson is the count model of choice, and why it returns in Session 10 as the noise model for photon-counting detection.
Now to the tool the Launch promised. When several independent quantities are in play and we ask for the largest or the smallest, neither the PMF nor the PDF is the natural object; the CDF is. The reason is that “” and “” both factor cleanly across independent variables, whereas “” does not.
Theorem 2 (Distributions of a maximum and a minimum). Let be independent and identically distributed with common CDF . Write and . Then
Proof. The maximum is at most exactly when every is at most : using independence to factor and identical distribution to collapse each factor to . Symmetrically, the minimum exceeds exactly when every exceeds : In each case independence turned the joint statement about all variables into a product, and identical distribution collapsed the factors. ◻
The two formulas share one moral, worth stating on its own before we use them.
When you hear “max” or “min,” reach for the CDF. The event and the event each say something about all the variables at once, and independence turns “all at once” into a product. Never try to attack a maximum or a minimum through its PMF or density directly; write down its CDF (or its survival probability) and differentiate only at the end if you need a density.
The Launch asked when a two-cell job is finished. Each of two cells is known to hold a target, and a dedicated vehicle searches each one, the passes synchronized; on every pass each vehicle independently detects its target with probability . Vehicle ’s time to detection is , and the job is done at .
Distribution. Reach for the CDF. Each has by [eq:geomtail], so the maximum half of Theorem 2 gives Three passes finish the job only about three times in four, even though each single target is found within three passes with probability .
Mean. The tail-sum formula (Theorem 1) asks for , so work with the survival probability Reindexing with and summing two geometric series, A single cell takes passes on average. Two cells searched in parallel take longer, because we must wait for the slower search, but far less than twice as long.
The job has memory. Each search is memoryless, but the job is not. The chance of finishing on the next pass, given that the job is not yet done, is , which equals on the first pass (both targets must be found at once), on the second, and climbs toward thereafter: the longer the job runs, the more likely one target is already found, leaving a single geometric search. Proposition 1 is a property of one geometric clock, not of a maximum of them.
A large array has cells, and each independently raises a false alarm (a detection where nothing is present) with probability on a sweep. Let be the number of false alarms. Exactly, , with mean . Because is large and is small with moderate, the law of rare events says is very nearly .
Compare the two at , the probability of a clean sweep: The two agree to three decimal places. Is it the large that makes this work? Try a binomial with the same mean but a few likely trials: cells with , so again . Now , while the Poisson approximation still says , almost twice too large. Matching the mean does not make a count Poisson.
The limit computation tells us what does. At the exact value is , and the series (valid for ) gives, with , The first factor is the Poisson value; the second is the error, and with fixed it is controlled by , not by . For it is about , which is exactly the ratio of the two unrounded values above. For the correction terms are no longer small, and the exact value is only about of the Poisson one. The law of rare events is a statement about rare: the Poisson model is accurate when each individual chance is unlikely, and then it needs only the single number , no factorials and no thousand-fold product.
Work these in class.
(Mechanical, geometric.) A cell is searched with
per-pass success probability
.
What is the expected number of passes to detection, and what is the
probability the cell survives more than
passes?
Answer:
passes;
.
(CDF method.) Two independent fair dice are rolled, each
with CDF
for
.
Using the CDF method, find
and
.
Answer:
;
and
.
(Conceptual, memorylessness.) A cell has been searched
times without success. A colleague argues: “the geometric is memoryless,
so those failures carry no information; our belief the target is here is
unchanged.” Identify the one true clause and the one false clause.
Answer: True: given the target is present, the remaining wait
is unchanged (memorylessness of the conditional law). False: our belief
the target is present is unchanged; Session 2’s failed-search update has
driven that belief down with every empty pass.
The course thesis asks first, “what is uncertain?” This session’s answer is that most of the time the uncertain count has one of a few recognizable shapes: a fixed batch of independent trials is binomial, a wait for the first success is geometric, and a flood of individually unlikely chances is Poisson. Naming the shape hands you its mean, its spread, and its behavior at a glance. Two ideas reached past the catalog. Memorylessness split one clock into two, the undiminished wait given presence and the eroding belief in presence, and reconciled them with Movement I rather than contradicting it. And the CDF method answered the questions the PMF could not: whenever “max” or “min” is spoken, the CDF factors across independent variables and the PMF does not, so the CDF is the tool. Next session carries the CDF into continuous territory, where variables have no PMF at all but every one of them still has a CDF, and where the geometric’s continuous twin, the memoryless waiting time on a clock rather than a counter, appears as the exponential distribution.
You need the mean of a
waiting time and you know only its survival probability
.
Which formula turns the survival probabilities into the mean, and what
does it give?
Answer: the tail-sum formula
.
Five independent sensors have iid detection times with common CDF
.
In one line, what is the probability the first detection
happens after time
,
and why is this easier than working with the PMF of the minimum?
Answer:
;
the event “all five exceed
”
factors across independent sensors, whereas “the minimum equals
”
does not.
A cell has failed
searches, each with per-pass success probability
.
A student says the geometric’s memorylessness means the
failures are uninformative. What, precisely, is unchanged, and what has
in fact changed?
Answer: unchanged is the remaining wait given the target is
present; changed (fallen) is the belief that the target is present
at all, by the Session 2 failed-search update.