Seyed Masoud Hosseini · Overview · Study log · Weekly summaries · Ideas · Search · Transcript · RSS feed

Probability · Lecture 50 of 76 · 50:57

13. Bernoulli Process

13. Bernoulli Process on YouTube

Study guide

What this lecture covers

This lecture begins the last major topic of MIT 6.041: random processes, which model random phenomena evolving over time rather than a single random variable in isolation. It introduces the simplest such process, the Bernoulli process, a sequence of independent, identically biased coin flips, and asks two natural questions: given a fixed amount of time, how many arrivals occur, and given a fixed number of arrivals, how long does it take?

The lecture sits at the start of the random processes unit and lays groundwork for the continuous-time analogue (the Poisson process) covered next, as well as for Markov chains later in the course. After watching, you should be able to state the Bernoulli process's assumptions, compute distributions for arrival counts and waiting times, explain the memorylessness property and when it does or doesn't apply, and describe what happens when Bernoulli processes are split or merged.

Key ideas

  • Bernoulli process definition: an infinite sequence of independent trials, each with the same success probability p, such as repeated coin flips or a simplified model of arrivals to a facility.
  • Number of arrivals in n slots is binomial: with mean n*p and variance n*p*(1-p).
  • Time until the first arrival is geometric: with parameter p, mean 1/p, counting trials up to and including the first success.
  • Memorylessness: given only what happened up to a point determined without foresight, the future is still a fresh sequence of independent Bernoulli trials, regardless of what came before, including runs of successes or failures.
  • Sum of independent geometrics: the time until the k-th arrival, Yk, is the sum of k independent geometric inter-arrival times, with E[Yk] = k/p and Var(Yk) = k * Var(T); its exact PMF is derived from independence between the count of arrivals before time t and the event of an arrival at time t.
  • Splitting a Bernoulli process: routing each arrival independently with probability q to one of two destinations produces two independent Bernoulli processes with parameters p*q and p*(1-q).
  • Merging two independent Bernoulli processes: recording an arrival whenever either process has one produces another Bernoulli process, with success probability p + q - p*q.
  • Infinite sequences have zero individual probability: any specific infinite sequence of coin flip outcomes, including all-heads, has probability 0, analogous to any single point having zero probability under a continuous distribution.

Walkthrough

Defining the Bernoulli process (2:03)

The lecture defines the Bernoulli process as a sequence of independent trials with constant success probability p, giving examples (lottery tickets, financial market up/down days, arrivals to a bank or server), and notes the two key assumptions: independence across trials and a constant p, which may only hold approximately over limited time windows in real applications.

Two views of a random process (6:08)

The lecture presents the Bernoulli process first as a collection of random variables with known individual and joint distributions (simplified here because independence makes joint PMFs a simple product), and second as a single experiment whose sample space is the set of all infinite 0/1 sequences, showing that any specific infinite sequence, including all successes, has probability zero.

Binomial counts and geometric waiting times (17:22)

For a fixed number of time slots, the number of arrivals is binomial with mean np and variance np(1-p). For the time until the first arrival, the lecture derives the geometric distribution, with mean 1/p.

The memorylessness property (21:30)

Using the idea of being "called in to watch" at a time determined without foresight, the lecture argues that whatever happened before that point (however unusual) does not affect the statistics of what happens afterward, which remains a sequence of independent Bernoulli trials. It contrasts this with a subtle example (the length of the first string of losing days), showing why a naive geometric-minus-one guess is wrong and deriving the correct geometric answer by choosing the right point to start watching.

Time until the k-th arrival (33:46)

The lecture defines inter-arrival times T1, T2, T3, ... as independent geometric random variables and shows that the time until the k-th arrival, Yk, is their sum. It derives the exact PMF of Yk directly (rather than via repeated convolution) using independence between the number of arrivals in the first t-1 slots and the event of an arrival at slot t, and gives its mean and variance as k times those of a single geometric.

Splitting and merging Bernoulli processes (43:03)

The lecture shows that routing each arrival to one of two destinations via an independent coin flip splits a Bernoulli process into two independent Bernoulli processes with parameters p*q and p*(1-q). It then shows the reverse: merging two independent Bernoulli processes by recording an arrival whenever either has one produces another Bernoulli process with parameter p + q - p*q, previewing ideas that return in continuous time.

Before you watch

  • Be comfortable with the binomial and geometric distributions and their mean and variance formulas.
  • Review the concept of independence between random variables, since the Bernoulli process's key assumption is independence across time slots.

Check your understanding

  1. What two assumptions define a Bernoulli process, and when might the constant-p assumption fail in a real system?
  2. Explain the memorylessness property in your own words, and why it fails if the observer has foresight.
  3. Why is the length of the first string of losing days geometric, rather than "geometric minus one"?
  4. Derive the PMF of the time until the k-th arrival using independence between two events.
  5. Why does splitting a Bernoulli process by an independent routing coin produce two Bernoulli processes rather than some other kind of process?

Vocabulary

random process (phrase)
A model of something random that changes or unfolds over time.
This chapter studies random processes instead of single random variables.
Bernoulli process (phrase)
A sequence of independent trials, each succeeding with the same fixed probability.
Repeated coin flips form a simple Bernoulli process.
arrival (noun)
An event that happens at a specific point in a sequence or in time.
Each success in the process counts as one arrival.
trial (noun)
One repetition of a random experiment.
Each coin flip is one trial in the process.
binomial (adjective)
Relating to the count of successes in a fixed number of independent trials.
The number of arrivals in n slots is binomial.
geometric (adjective)
Relating to the number of trials needed to get the first success.
The time until the first arrival is geometric.
memorylessness (noun)
The property that the future of a process does not depend on what has already happened.
Memorylessness means past flips don't affect future ones.
foresight (noun)
Knowledge of what will happen before it happens.
Memorylessness requires that the decision is made without foresight.
inter-arrival time (phrase)
The time or number of steps between two consecutive arrivals.
Each inter-arrival time is an independent geometric variable.
split (verb)
To divide something into separate parts.
We can split a Bernoulli process into two independent ones.
merge (verb)
To combine two things into one.
We merge two independent Bernoulli processes into a single one.
route (verb)
To send something along a particular path or destination.
Each arrival is routed to one of two destinations at random.
sample space (phrase)
The set of all possible outcomes of a random experiment.
The sample space here is the set of all infinite 0/1 sequences.
isolation (noun)
The state of being considered alone, separate from anything else.
Random processes evolve over time rather than existing in isolation.
groundwork (noun)
Basic preparation that later work will build on.
This lecture lays groundwork for the Poisson process.
analogue (noun)
A version of something in a different but related setting.
The Poisson process is the continuous-time analogue of the Bernoulli process.
facility (noun)
A place or system that provides a service, such as a bank or server.
Arrivals to a facility can be modeled as a Bernoulli process.
constant (adjective)
Staying the same and not changing.
The success probability p is assumed to be constant.
joint distribution (phrase)
A distribution that describes several random variables together at once.
Independence makes the joint distribution a simple product.
run (noun)
A series of the same outcome happening one after another.
The lecture studies the length of the first run of losing days.
subtle (adjective)
Not obvious, requiring careful thought to notice.
The losing-days example has a subtle point about where to start counting.
destination (noun)
The place where something ends up.
Each arrival is routed to one of two destinations.
preview (verb)
To give an early look at something covered in more detail later.
Merging previews ideas that return in continuous time.
infinite sequence (phrase)
A list of outcomes that continues forever, without an end.
Any specific infinite sequence of flips has probability zero.
assumption (noun)
Something taken to be true without being directly proven.
Constant p is a key assumption of the Bernoulli process.
approximately (adverb)
Close to a value but not exactly equal to it.
The constant-p assumption may only hold approximately in practice.

Chapters

From the YouTube description

MIT 6.041 Probabilistic Systems Analysis and Applied Probability, Fall 2010
View the complete course: http://ocw.mit.edu/6-041F10
Instructor: John Tsitsiklis

License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu

← A Coin with Random Bias · Bernoulli Process Practice 1 →