Markov-chain setup through city travel
The lesson models Ana's repeated movement among five cities as a stochastic process on a finite state space. Each city is a state, and each stop produces a new state according to a random rule.
Harvard Online · YouTube · 4:45
This 120-second introductory clip presents a Markov-chain-style random travel problem using Ana Markov's inspection route among five cities. The state space is the set of cities, allowed moves are direct flights shown as edges on a map, and the transition rule is uniform selection among currently available neighbors. The segment asks which city Ana will spend the most time in in the long run, highlights that Bayesville is a hub connected to all other cities, and begins a worked trace from Bayesville to Averagemont without giving the final answer inside this excerpt. This 120-second introductory probability clip uses Ana's random air travel among five color-coded cities to motivate Markov chains. It first shows city-specific spinners, including a forced return from East Vandermonde to Bayesville, then states the Markov property as memorylessness: the next city depends only on the current city and the local random mechanism. The video reframes Ana's question about the fraction of time spent in Bayesville into a long-run occupancy problem, plots empirical city percentages against increasing trip counts, and identifies the stabilized limiting profile as the stationary distribution. It closes by claiming that different simulated runs converge to the same stationary distribution. This 45-second introductory probability segment uses a five-city Markov-chain story to explain stationary distribution. After showing a random walk on a network map, it presents a bar chart titled “Stationary Distribution” with percentages 25%, 33%, 17%, 17%, and 8% for Averagemont, Bayesville, Continuopolis, Discretown, and East Vandermonde. The narrator states that the long-run percentage of time in each city is proportional to its number of connections, using Bayesville’s four connections versus East Vandermonde’s one to conclude that Bayesville is visited about four times as often. A quiz reveals Bayesville as the city where Ana spends the most time, accompanied by the visual reminder P(A|B) ≠ P(B|A). The segment closes by aligning the abstract network graph with the stationary bars and stating that network structure determines the stationary distribution. The final 15 seconds are credits with no new mathematics.
Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.
Generated from the video's visuals and explanation; not verbatim speech.
The clip opens with course branding and a bell-curve animation, establishing that this is an introductory probability lesson rather than a theorem-heavy segment.
The narrator introduces Ana Markov as a quality inspector for Normal Distributors and says the company has plants in five cities. This sets up a finite-state example in which locations, not numerical outcomes, are the objects of study.
The key stochastic rule is then stated: after each inspection, Ana chooses her next city randomly from all available connecting flights, with equal probabilities. In modern terms, this is a uniform random walk on the graph of allowed routes.
The five cities are named explicitly: Averagemont, Bayesville, Continuopolis, Discretetown, and East Vandermonde. These names function as the states of the process.
The narrator emphasizes that the network is not complete: some pairs of cities lack direct flights. The example given is that Averagemont connects directly to Bayesville but not directly to East Vandermonde, so one-step transitions depend on adjacency.
The central question is posed: in the long run, which city will Ana spend the most time in? The multiple-choice answers include the five cities, an about-equal option, and an option saying the answer depends on the starting city. This directs attention to long-run behavior rather than a single realized trip.
The clip then begins a concrete trace. Ana is said to be in Bayesville today, and the narrator identifies Bayesville as a major hub with direct connections to all other cities. Structurally, this makes Bayesville the highest-degree node shown in the example.
A spinner with four equal sectors labeled A, C, D, and E is used to choose among the available destinations from Bayesville. The realized outcome is Averagemont, so the demonstrated path segment is Bayesville → Averagemont.
After arriving in Averagemont and completing the inspection, the narrator says it is time to choose the third stop, but the segment ends before that next transition is resolved. Thus the clip introduces the Markov-chain framework and begins an example without supplying the final long-run answer.
The clip opens with a spinner-like random choice device and an airport scene, establishing a traveler who keeps arriving in different cities. The letters on the spinner sectors correspond to destinations, and the repeated return to Bayesville motivates the question of long-term behavior rather than a single trip.
A map then shows East Vandermonde connected back to Bayesville, and the narration states that East Vandermonde only has flights back to Bayesville. The corresponding one-sector spinner labeled B makes this transition deterministic, illustrating that a Markov-chain example can include forced moves as well as random ones.
The narrator explicitly identifies Ana's travel process as a Markov chain. The key structural fact is that each city has its own spinner, so the rule for the next destination is attached to the current state.
The Markov property is then stated in words and on screen: given the present, the future is independent of the past. The clip interprets this as memorylessness, meaning that once the current city is known, earlier stops do not help predict the next one beyond what the current-state spinner already encodes.
Ana's spoken question about the fraction of time spent in Bayesville is generalized into a long-run occupancy problem: as the random process continues, what percentage of time is spent in each city? A passport page full of dated stamps visually records accumulated visits before the analysis switches from individual history to aggregate frequencies.
The video introduces a bar chart with one bar per city, labeled A through E. Each bar height represents the percentage of total time spent in that city so far, so the chart tracks the empirical distribution after increasing numbers of trips.
As the trip counter rises toward 1000, the bars fluctuate less and appear to settle. The narrator names this stabilized profile the stationary distribution of the Markov chain, defining it operationally through long-run empirical stabilization.
The closing claim is that the displayed animation is only one simulated run, but the process converges to the same stationary distribution. The final return to the full city map ties the abstract limiting distribution back to the original travel network.
The clip opens on a stylized map of five connected cities: Averagemont, Continuopolis, Bayesville, Discretown, and East Vandermonde. A yellow airplane moves along an edge from Discretown toward Bayesville while the narration says that the conclusion holds no matter which city Ana starts out in. This frames the problem as a long-run property of a random walk on a fixed network, not a property of the initial state.
The scene changes to a bar chart titled “Stationary Distribution.” Five bars labeled A, B, C, D, and E correspond to the five cities and display approximate long-run percentages: , , , , and . The narrator explains that the percentage of time Ana spends in a city is proportional to its number of connections, so the bar heights represent stationary probabilities determined by node degrees.
The example focuses on Bayesville and East Vandermonde. The narration states that Bayesville has four connections while East Vandermonde has only one. Since stationary probability is proportional to degree, the ratio of their long-run shares is . The displayed values for Bayesville and for East Vandermonde are rounded versions of this relationship.
A quiz slide asks, “Which city do you think she will spend the most time in?” The options include the five cities plus “About equal” and “It depends.” The answer reveal leaves B) Bayesville highlighted, matching the tallest bar in the stationary-distribution chart. A stamp beside Ana reads “BAYESVILLE” and shows , visually reminding viewers that conditional probabilities are not symmetric even though the surrounding discussion is about long-run state proportions.
The map returns and simplifies into an abstract graph of colored nodes connected by black edges. The graph shifts upward while the stationary-distribution bars rise beneath it in matching colors. The narrator concludes that the network structure is the key to determining the stationary distribution, making the visual connection between graph degrees and bar heights explicit.
The remaining interval is end-credit material. Black screens list the course title “STAT110x: Introduction to Probability,” the episode title “A Markovian Journey through Statland,” production credits, illustration and animation credits, voices, music credits, special thanks, the HarvardX logo, and the copyright notice. No additional mathematical content is introduced.
The lesson models Ana's repeated movement among five cities as a stochastic process on a finite state space. Each city is a state, and each stop produces a new state according to a random rule.
From the current city, Ana chooses only among directly connected cities, and each available destination has the same probability. This is the transition mechanism of the example.
Direct flights define the allowed edges. The narrator explicitly notes that not every pair of cities is connected, using Averagemont to East Vandermonde as a non-adjacent example.
The main conceptual target is not where Ana goes next, but which city she visits most often over a long horizon. This shifts the focus from single-step randomness to long-term behavior.
Bayesville is identified as a major hub with direct connections to all other cities, making its graph degree larger than the others shown in the clip.
Starting from Bayesville, the spinner selects among A, C, D, and E and lands on Averagemont. The clip therefore demonstrates one realized transition: Bayesville → Averagemont.
Ana's repeated travel process is presented as a Markov chain because each next destination is chosen by a rule attached to the current city. The clip uses city-specific spinners to make the state-dependent transition mechanism concrete.
The Markov property says that the next state depends only on the present state. In the video's wording, determining Ana's next city depends only on where she currently is and the randomness of her spinner.
Memorylessness is the intuitive name the clip gives to the Markov property: given the current location, past history is irrelevant for predicting the next move.
East Vandermonde has only one outgoing option, a return to Bayesville. This shows that Markov-chain transitions need not be spread over several equally likely outcomes; a state can force the next state with probability 1.
The central problem is not where Ana goes next, but what percentage of her time she spends in each city if the random process continues indefinitely.
A bar chart records the percentage of time spent in each city after various numbers of trips. Bars A, B, C, D, and E correspond to the five cities, and their heights update as the simulation advances.
The stationary distribution is the distribution to which the empirical city frequencies stabilize after many trips. The clip introduces it visually as the settled shape of the bar chart near 1000 trips.
Although the animation shows one particular simulated path, the narrator states that the process converges to the same stationary distribution, framing it as a property of the chain rather than of one sampled run.
The video defines the stationary distribution through a bar chart titled “Stationary Distribution.” Each bar gives the long-run percentage of time Ana spends in one of the five cities. The displayed values are approximately for Averagemont, for Bayesville, for Continuopolis, for Discretown, and for East Vandermonde. This is presented as independent of the starting city.
The central rule stated in the clip is that a city’s stationary percentage is proportional to its number of connections in the network. In graph terms, if is the number of incident edges at node , then the stationary probability satisfies . The video does not write the normalized formula, but the displayed percentages match normalization by total degree.
Bayesville is said to have four connections, while East Vandermonde has one. Applying the degree-proportional rule gives a long-run ratio of . The bar chart’s rounded labels and reflect this relationship. This reasoning explains why Bayesville has the largest stationary share among the five cities.
The quiz asks which city Ana will spend the most time in. The correct revealed answer is B) Bayesville. This agrees with the stationary-distribution chart, where Bayesville’s bar is tallest at , and with the degree rule, since Bayesville has the largest stated number of connections.
A stamp appearing with the Bayesville answer reads . The clip does not define the events and verbally, but the formula warns that reversing the conditioning events generally changes the probability. This is a separate probability concept from the long-run stationary proportions discussed in the narration.
The final mathematical animation removes the decorative map details and leaves an abstract graph whose colored nodes align with the stationary-distribution bars. The narrator states that the network structure is the key to determining the stationary distribution. In this example, the relevant structural feature is each node’s number of connections.
The opening phrase “No matter which city she starts out in” addresses a likely misconception that the initial state determines long-run behavior. The video instead attributes the long-run percentage of time to the network’s connection structure, specifically the number of connections per city.
Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.
The multiple-choice screen labels option A as Averagemont.
The narrator names the five cities and includes Averagemont.
A
City label for Averagemont in the route graph and answer choices.
One of the five states/cities in the example.
The multiple-choice screen labels option B as Bayesville.
The narrator names Bayesville as one of the five cities.
B
City label for Bayesville in the route graph and answer choices.
One of the five states/cities in the example.
The multiple-choice screen labels option C as Continuopolis.
The narrator names Continuopolis as one of the five cities.
C
City label for Continuopolis in the route graph and answer choices.
One of the five states/cities in the example.
The multiple-choice screen labels option D as Discretetown.
The narrator names Discretetown as one of the five cities.
D
City label for Discretetown in the route graph and answer choices.
One of the five states/cities in the example.
The multiple-choice screen labels option E as East Vandermonde.
The narrator names East Vandermonde as one of the five cities.
E
City label for East Vandermonde in the route graph and answer choices.
One of the five states/cities in the example.
The multiple-choice screen shows option F as About equal.
The narrator reads option F as about equal among the five cities.
F
Answer choice stating that long-run time is about equal among the five cities.
Multiple-choice option, not a city state.
The multiple-choice screen shows option G as It depends.
The narrator reads option G as it depends on which city she starts out in.
G
Answer choice stating that the result depends on the starting city.
Multiple-choice option, not a city state.
The letter A labels the green spinner sector and later the green bar in the city-frequency chart.
At 01:52.000 the map labels Averagemont with the same green color used for A.
A
City label for Averagemont; also the state index shown on the spinner and bar chart.
State label in the Markov-chain example
The letter B labels the blue spinner sector and later the blue bar in the city-frequency chart.
At 01:52.000 the map labels Bayesville with the same blue color used for B.
B
City label for Bayesville; also the state index shown on the spinner and bar chart.
State label in the Markov-chain example
The letter C labels the magenta spinner sector and later the magenta bar in the city-frequency chart.
At 01:52.000 the map labels Continuopolis with the same magenta color used for C.
C
City label for Continuopolis; also the state index shown on the spinner and bar chart.
State label in the Markov-chain example
The letter D labels the orange spinner sector and later the orange bar in the city-frequency chart.
At 01:52.000 the map labels Discretown with the same orange color used for D.
D
City label for Discretown; also the state index shown on the spinner and bar chart.
State label in the Markov-chain example
The letter E labels the purple spinner sector and later the purple bar in the city-frequency chart.
At 01:52.000 the map labels East Vandermonde with the same purple color used for E.
E
City label for East Vandermonde; also the state index shown on the spinner and bar chart.
State label in the Markov-chain example
The title of the video is Introducing Markov Chains.
The narrator describes Ana moving from city to city by randomly selecting among available direct connecting flights with equal probabilities.
A map of five cities is connected by lines representing direct flights.
This clip introduces a Markov-chain-style process by describing a traveler who repeatedly moves among a finite set of cities. At each step, the next city is chosen only from the currently available direct connections, and each available connection is selected with equal probability. The example frames the long-run question as which city the traveler spends the most time in.
Finite set of states, here five cities.
Transitions are allowed only along existing direct connections.
From the current state, all available next states are equally likely.
The question concerns the long run rather than a single trip.
The narrator lists the five cities: Averagemont, Bayesville, Continuopolis, Discretetown, and East Vandermonde.
The map displays exactly these five labeled city icons.
The state space is the set of five cities in the company's network: Averagemont, Bayesville, Continuopolis, Discretetown, and East Vandermonde. Each city functions as a state in the stochastic process being discussed.
The process is observed at discrete stops.
Each stop is one of the five named cities.
The narrator says she selects the next city randomly from all available connecting flights with equal probabilities.
A spinner is used to choose among available destinations.
The transition method shown is: from the current city, identify all directly connected cities, then choose one of them uniformly at random. This is the mechanism that turns the map into a random walk on a graph.
Only direct connections from the current city are eligible.
All eligible destinations have the same probability.
The choice is made independently at each stop once the current city is known.
The narrator says not all cities are connected via direct flights to each other.
The narrator gives the example that there is a direct flight from Averagemont to Bayesville but not from Averagemont to East Vandermonde.
Lines appear between some pairs of cities but not others.
The example emphasizes that the transition structure is constrained by a network of direct routes. Some pairs of cities are adjacent and some are not, so the process is a random walk on a specific graph rather than unrestricted movement among all states.
Adjacency means a direct flight exists.
Non-adjacent pairs cannot be reached in one step.
The narrator says Bayesville is a major hub and has direct connections to all the other cities.
The map highlights Bayesville with lines extending to the other four cities.
Bayesville is singled out as the central hub of the network because it has direct connections to every other city. In graph terms, it has the largest visible degree in this example, which makes it structurally important for the long-run behavior question.
Bayesville is adjacent to Averagemont, Continuopolis, Discretetown, and East Vandermonde.
Narrator: "The process that Ana is following is an important example of a Markov chain."
A yellow airplane moves along a route between labeled cities on a map.
The video identifies Ana's repeated random travel process as an example of a Markov chain. The concrete setup is a traveler who uses spinners at different cities to choose the next destination.
The process is sequential in time.
Each step is a move from one city to another.
The next destination is chosen randomly.
Narrator: "The Markov property means that at each time point, determining the next city that Ana will go to depends only on where she currently is and the randomness of her spinner."
On-screen text: "Markov Property: Given the present, the future is independent of the past."
Multiple spinners are shown simultaneously, one per current city, emphasizing that the next move is selected from the present state's spinner.
The Markov property states that the next state depends only on the current state, not on earlier history. In this clip the narrator expresses it as memorylessness: once the present location is known, the past route is irrelevant for predicting the next city.
There is a notion of current state or present location.
One asks how the next state is determined.
The claim is about dependence structure, not about equal probabilities.
Narrator: "This is a form of memorylessness. Given her current location, her past history is irrelevant for predicting where she will go next."
The traveler is shown in Terminal B after earlier arrivals, visually separating the current stop from prior trips.
The video restates the Markov property as memorylessness. This means the predictive rule for the next city uses only the current location and the local random mechanism, not the sequence of previous stops.
Applies to the next-step prediction in the process being modeled.
Narrator: "To answer Ana's question, let's consider the following problem. In the long run, as Ana continues this random process, what percentage of her time will she spend in each city?"
Earlier speech bubble text: "What fraction of my time will I end up spending in Bayesville?"
A passport page records many dated visits to different cities.
Instead of asking where the traveler will be after one specific trip, the video reframes the problem as a long-run frequency question: over many steps, what fraction of time is spent in each state? This is the empirical route to discussing stationary distributions.
The process is continued for many steps.
One measures relative time or visit frequency by city.
Narrator: "Let's plot this after various numbers of trips. We have one bar for each city, and the height of each bar indicates the percentage of time Ana has spent in that city overall."
A five-bar chart appears with bars labeled A, B, C, D, E and a vertical axis marked 10%, 20%, 30%, 40%.
The clip introduces a bar chart whose bars correspond to cities A through E. Each bar height represents the cumulative percentage of time spent in that city after a given number of trips, so the chart tracks an empirical distribution over states as the simulation proceeds.
One bar per state.
Bar height is a percentage of total time or visits up to the current trip count.
Narrator: "At first the plot was fluctuating a lot, but now it seems to have stabilized. The distribution it has stabilized to is called the stationary distribution of the Markov chain."
On-screen title: "Stationary Distribution".
The bar heights change during the simulation and then settle into a stable pattern near 1000 trips.
The stationary distribution is presented as the limiting distribution of the empirical city frequencies after many trips. Visually, it is the stable set of bar heights that the simulation approaches once early fluctuations die out.
The process is run for many steps.
The empirical distribution is observed to stabilize.
Narrator: "We are showing one particular run of the simulation, but Ana's process will always converge to the same stationary distribution."
After the stabilized bar chart, the map reappears with routes among all five cities.
The clip states convergence but does not prove it or list the conditions under which it holds.
The video claims that although the displayed animation is only one simulated run, the underlying process converges to the same stationary distribution. This frames stationary distribution as a property of the chain rather than of one particular trajectory.
Refers to repeated long-run behavior of the same Markov chain.
The narrator asks, In the long run, which city do you think she will spend the most time in?
The screen displays the same question and seven answer choices.
For Ana's random travel process on the five-city network, the clip poses the question of which city she will spend the most time in in the long run.
Ana repeatedly moves from city to city using direct connections only.
At each step she chooses uniformly among available next cities.
The comparison is over the long run.
Over the long run, among the five cities in the network.
The narrator states that not all of these cities are connected via direct flights to each other.
The narrator gives the explicit example that Averagemont connects directly to Bayesville but not to East Vandermonde.
The five-city network does not contain a direct flight between every pair of cities; for example, Averagemont is directly connected to Bayesville but not to East Vandermonde.
Cities are vertices of the route network.
A line between two cities represents a direct flight.
There exists at least one pair of cities without a direct connection.
The narrator says Bayesville is a major hub and has direct connections to all the other cities.
The map shows Bayesville linked to the other four cities.
Bayesville has direct connections to all the other cities in the example network.
The network consists of the five named cities.
Direct connections are represented by lines on the map.
For every other city in the five-city set, there is a direct connection to Bayesville.
Narrator says the next city depends only on where Ana currently is and the randomness of her spinner.
On-screen text: "Given the present, the future is independent of the past."
For Ana's travel process, the next city depends only on the current city and the local random choice mechanism, not on earlier cities visited.
The process is a Markov chain.
The current state is known.
At each time point, conditional on the present state, the future next-step distribution is independent of the past.
Narrator: "The distribution it has stabilized to is called the stationary distribution of the Markov chain."
Title card: "Stationary Distribution".
The clip defines it operationally through stabilization of the empirical bar chart rather than through an algebraic equation.
The distribution to which the long-run empirical city frequencies stabilize is called the stationary distribution of the Markov chain.
The random process is continued for many trips.
The empirical distribution is tracked over time.
In the long run, after many trips.
Narrator: "We are showing one particular run of the simulation, but Ana's process will always converge to the same stationary distribution."
No proof or explicit regularity assumptions are given in this clip.
Although the animation shows one particular simulated run, the process converges to the same stationary distribution regardless of that sampled trajectory.
The same Markov chain is being considered.
The process is run long enough.
For the process shown, across runs in the long run.
The narrator says, “No matter which city she starts out in,” followed by the statement about the percentage of time Ana spends in a city.
The clip does not prove this claim or state the formal Markov-chain conditions under which it holds.
In the presented Markov-chain journey, the long-run percentage of time Ana spends in each city is independent of the city where she starts.
Ana follows the random-walk process depicted in the video.
The discussion concerns the long run.
The video does not explicitly state irreducibility or aperiodicity.
For any starting city among the cities in the network, the long-run percentage-of-time distribution is the same.
The narrator says the percentage of time Ana spends in a city is proportional to its number of connections.
The narrator uses Bayesville with four connections and East Vandermonde with one connection as the example.
The video states proportionality but does not show the normalization calculation.
For each city in the network, the stationary percentage of time spent there is proportional to that city’s number of connections.
The process is the network random walk shown in the video.
“Number of connections” means the node degree in the displayed graph.
The probabilities are interpreted in the long run.
For every city/node i in the displayed network, is proportional to .
The narrator says Bayesville has four connections and East Vandermonde only has one.
The narrator concludes that Ana visits Bayesville four times as often as East Vandermonde in the long run.
The bar chart shows approximately 33% for Bayesville and 8% for East Vandermonde.
The displayed percentages are rounded, so the exact ratio is not visually precise from the chart alone.
Because Bayesville has four connections and East Vandermonde has one, Ana’s long-run visit frequency/proportion of time in Bayesville is four times that in East Vandermonde.
The degree-proportional stationary rule applies.
Bayesville has degree 4.
East Vandermonde has degree 1.
For the two named cities Bayesville and East Vandermonde in the displayed network.
The narrator says, “The network structure is the key to determining the stationary distribution.”
The graph structure is visually paired with the stationary-distribution bars.
The clip does not define “network structure” beyond the displayed connections and degrees.
The stationary distribution is determined by the structure of the connection network.
The network is the five-city graph shown in the video.
The stationary distribution is the long-run percentage distribution discussed earlier.
For the Markov-chain network example shown in the clip.
The narrator says Today Ana is in Bayesville.
A spinner with four equal sectors labeled A, C, D, E is shown.
The narrator says The spinner lands on Averagemont, so that is her next stop.
The narrator then says After she finishes her inspection, it's time to choose the third stop.
The exact sector geometry is visually simplified; the clip presents it as equal-probability selection among available destinations.
Start the process at Bayesville.
The narrator explicitly states that today Ana is in Bayesville.
List the available next cities from Bayesville.
The narration says Bayesville has direct connections to all the other cities, and the spinner shows four destination sectors A, C, D, E.
Choose the next city uniformly at random from those four options.
The narrator says she uses a spinner to pick randomly from all available cities with equal probabilities.
The realized outcome is Averagemont, so the second stop is Averagemont.
The narrator states that the spinner lands on Averagemont and identifies it as her next stop.
After finishing in Averagemont, the process is ready to choose a third stop.
The narrator says it is time to choose the third stop after the inspection.
The clip demonstrates one concrete realization of the random process: Bayesville → Averagemont, with the next transition not yet resolved inside this segment.
The clip first shows a four-sector spinner, then a five-sector spinner, then a single-sector spinner, and finally multiple spinners arranged by city.
Narrator explains that Ana's process is a Markov chain and that the next city depends only on the current city and spinner randomness.
The traveler arrives in a city and uses that city's spinner to choose the next destination.
Observed in the airport, map, and spinner animations.
Different cities have different spinners, including a one-option spinner for East Vandermonde that forces a return to Bayesville.
Shown visually by the spinner layouts and stated in narration about East Vandermonde.
Because the next move is generated from the spinner attached to the current city alone, earlier route history does not enter the next-step rule.
This is the narrator's explicit explanation of the Markov property.
Therefore the travel process is presented as a Markov chain with memoryless transitions.
Direct conclusion stated by the narrator.
The city-specific random-choice setup motivates the Markov property: the future step depends only on the present state.
A bar chart updates from 10 trips to 1000 trips while the trip counter increases.
Narrator says the plot fluctuates at first and then stabilizes, and names the stabilized distribution the stationary distribution.
Plot one bar per city and set each bar height to the percentage of total time spent in that city so far.
Explicitly described by the narrator and shown on screen.
As the number of trips increases, the bar heights change from run to run and from step to step.
Visible in the animated chart from 10 trips onward.
Near 1000 trips the fluctuations become small and the bars appear settled.
Narrator: "At first the plot was fluctuating a lot, but now it seems to have stabilized."
The stabilized profile of bar heights is named the stationary distribution.
Narrator definition plus on-screen title "Stationary Distribution".
The stationary distribution is introduced as the long-run limiting shape of the empirical visit-frequency chart.
The narrator says Bayesville has four connections and East Vandermonde only has one.
The narrator says Ana visits Bayesville four times as often as East Vandermonde in the long run.
The bar chart displays 33% for Bayesville and 8% for East Vandermonde.
The video does not write the intermediate normalized calculation on screen.
Use the stated rule that stationary probability is proportional to number of connections.
Directly stated by the narrator.
Identify the relevant node degrees from the narrated example and the map.
The narrator explicitly gives these connection counts.
Take the ratio of the proportional stationary probabilities.
If two quantities are proportional to 4 and 1 respectively, their ratio is 4 to 1.
Compare the conclusion with the displayed stationary-distribution bars.
The bar chart labels Bayesville with 33% and East Vandermonde with 8%.
Bayesville’s long-run share is about four times East Vandermonde’s because its number of connections is four times as large.
The bar chart displays 25%, 33%, 17%, 17%, and 8% for A, B, C, D, and E.
The narrator says the percentages are proportional to the number of connections.
The map shows Bayesville connected to four other cities and East Vandermonde connected only to Bayesville.
The individual degrees for A, C, and D are not explicitly spoken in this clip.
The displayed percentages are rounded, so the exact degree assignment is inferred from the chart and visible graph.
Normalize the degree-proportional weights so that the stationary probabilities sum to 1.
Standard normalization of a probability distribution; the video states proportionality but does not write this formula.
Use the degrees consistent with the displayed graph and percentages: Averagemont 3, Bayesville 4, Continuopolis 2, Discretown 2, East Vandermonde 1.
The audio explicitly gives Bayesville 4 and East Vandermonde 1; the remaining degrees are inferred from the visible graph and match the displayed percentages.
Compute the normalized probabilities and compare them with the bar-chart labels.
%, ≈33%, ≈17%, and ≈8%, matching the displayed rounded values.
The displayed stationary distribution is consistent with normalizing node degrees by their total sum.
The narrator introduces Ana Markov as a quality inspector for Normal Distributors with plants in five cities.
The narrator explains that she flies randomly through airports with direct connecting flights and stamps her logbook after each inspection.
A map and spinner visualize the route choices.
Given a five-city network of direct flights and a rule that Ana chooses uniformly among available next cities, determine which city she will spend the most time in in the long run.
Five cities: Averagemont, Bayesville, Continuopolis, Discretetown, East Vandermonde.
Ana moves only along direct connections.
At each stop she chooses uniformly among available next cities.
Bayesville is connected to all other cities.
Averagemont is directly connected to Bayesville but not to East Vandermonde.
Identify the city with the greatest long-run occupancy time.
Model the cities as states and the direct flights as allowed transitions.
The narration and map define a finite set of locations connected by routes.
Use the uniform-neighbor rule to define the transition mechanism.
The narrator explicitly says the next city is selected randomly from all available connecting flights with equal probabilities.
Pose the long-run question rather than a single-step question.
The narrator asks which city she will spend the most time in in the long run.
Illustrate one realized path segment: start in Bayesville, spin among A, C, D, E, and land on Averagemont.
The clip shows and narrates this exact sequence.
The clip does not provide the final answer within this segment; it only poses the multiple-choice question and begins an example trace.
Verification would require analyzing the full transition graph and its long-run behavior, which is not completed in this excerpt.
Narrator: "East Vandermonde is more remote and only has flights back to Bayesville, so she will definitely go back to Bayesville next."
A single-sector blue spinner labeled B is shown beside the traveler.
A route line connects East Vandermonde back to Bayesville on the map.
What happens when Ana is in East Vandermonde and uses the local spinner?
East Vandermonde corresponds to state E.
The spinner for East Vandermonde has only one sector, labeled B.
Bayesville corresponds to state B.
Identify the next city forced by the local transition rule.
Read the local spinner for East Vandermonde.
Shown visually as a one-sector spinner.
Since there is only one possible sector, the next destination is fixed.
Narrator explicitly says she will definitely go back to Bayesville next.
Thus the transition from E is deterministically to B.
Combines the map labels with the spinner label B.
The next city is Bayesville (B).
The one-sector spinner and the narrated statement both indicate no alternative destination from East Vandermonde.
Speech bubble text: "What fraction of my time will I end up spending in Bayesville?"
Ana asks: "If I keep doing this, I wonder, what fraction of my time will I end up spending in Bayesville?"
Ana wonders what fraction of her time she will spend in Bayesville if she keeps traveling by the spinner rule.
Ana repeatedly travels using city-specific spinners.
Bayesville is one of the cities in the network.
Express the question that leads to the stationary-distribution discussion.
Recognize that the question is not about one trip but about accumulated time over repeated travel.
The wording "what fraction of my time" indicates a long-run proportion.
The narrator then generalizes this to the percentage of time spent in each city in the long run.
Narrator explicitly reformulates Ana's question as the long-run problem.
The motivating question is the long-run fraction of time spent in Bayesville, later generalized to all cities.
The later bar chart directly measures percentage of time by city, matching the question posed.
A passport page headed "INSPECTOR: Ana Markov" contains a Bayesville stamp reading "P(A|B) = P(B|A)".
Other stamps show city names such as Discretown, Averagemont, Continuopolis, and East Vandermonde.
The clip does not explain the stamp formula; it functions as a visual pun tied to the city name Bayesville.
How does the video visualize Ana's travel history before introducing the long-run frequency chart?
A passport page is shown with multiple dated location stamps.
Some stamps include city names and symbols.
Show accumulated visit history across cities.
The passport lists dated entries for several cities.
Visible on screen with dates such as , , , and others.
Bayesville appears multiple times, reinforcing that revisits are common in the process.
Several stamps are labeled Bayesville.
This historical record motivates counting time by city rather than tracking a single route.
The next scene converts the travel record into a bar chart of percentages.
The passport page serves as a visual log of repeated city visits before the empirical distribution is plotted.
The subsequent chart aggregates exactly the kind of city-visit information recorded on the page.
The quiz slide asks, “Which city do you think she will spend the most time in?”
The options list A) Averagemont, B) Bayesville, C) Continuopolis, D) Discretown, E) East Vandermonde, F) About equal, G) It depends.
The answer B) Bayesville remains highlighted while the other options fade.
The narrator says Bayesville has four connections and East Vandermonde only has one, then says Ana visits Bayesville four times as often as East Vandermonde in the long run.
Which city will Ana spend the most time in?
The stationary distribution bar chart shows %, %, %, %, %.
Bayesville has four connections.
East Vandermonde has one connection.
The narrator states that time percentage is proportional to number of connections.
Identify the city with the largest long-run percentage of time.
Read Bayesville’s stationary percentage from the bar chart.
The bar labeled B is marked 33%.
Compare the displayed stationary percentages across the five cities.
The bar chart labels give the numerical ordering.
Select the city with the largest stationary percentage.
Bayesville has the highest displayed percentage and the largest stated connection count.
B) Bayesville
The answer is visually confirmed when option B remains highlighted and the other options fade; it also agrees with the degree-proportional rule because Bayesville has the largest number of connections.
HarvardX branding appears, followed by a bell-curve animation and the STAT110x title.
HarvardX logo
bell curve
STAT110x title
Logo fades in.
A character slides down a bell-shaped curve.
The course title appears beneath the curve.
No mathematical statement is asserted during this opening beyond visual branding.
This functions as course identification rather than content-bearing mathematics.
A map shows five city icons and lines indicating direct connections.
A spinner with labeled sectors is used to choose destinations.
The exact degree of every non-Bayesville node is not fully enumerated in the audio; only selected adjacencies are explicitly stated.
Five city icons
connecting lines
spinner sectors labeled A, C, D, E
arrow pointer
City labels appear on the map.
Connection lines are drawn between some pairs of cities.
The spinner rotates and points to one sector.
The map represents allowed direct transitions.
The spinner represents equal-probability selection among available destinations.
The visuals encode a random walk on a graph: vertices are cities, edges are direct flights, and the spinner implements uniform neighbor selection.
The screen displays: Which city do you think she will spend the most time in?
Options A through G are listed, including About equal and It depends.
Question text
answer options A-G
The question text appears.
Answer options are revealed sequentially.
The question concerns long-run time allocation, not a single trip.
This screen formalizes the conceptual target of the segment: stationary or long-run behavior of the random process.
Bayesville is highlighted with lines extending to the other four cities.
The narrator calls Bayesville a major hub with direct connections to all the other cities.
Bayesville icon
four outgoing connection lines
other city icons
Bayesville is visually emphasized.
Connections from Bayesville to all other cities are shown.
Bayesville remains the current state in this part of the example.
The highlighted edges represent allowed one-step transitions.
The visual stress on Bayesville foreshadows that node degree affects long-run visit frequency.
First a three-sector spinner with labels C, D, B is shown; then a four-sector spinner with A, C, D, E; then a one-sector spinner labeled B.
Sector colors are consistent with later city colors: A green, B blue, C magenta, D orange, E purple.
The opening three-sector spinner is visible, but the clip does not verbally identify its city in this excerpt.
Three-sector spinner labeled C, D, B
Four-sector spinner labeled A, C, D, E
One-sector spinner labeled B
Traveler Ana
The spinner layout changes from multi-sector choices to a single forced outcome.
The traveler is shown reacting differently as the available destinations change.
Letters label destination sectors.
Colors correspond to specific cities later shown on the map.
The animation contrasts probabilistic choices with a deterministic transition, setting up state-dependent random rules.
A map shows labeled cities including Bayesville, East Vandermonde, Discretown, and later Averagemont and Continuopolis.
Route lines connect cities; East Vandermonde is linked back toward Bayesville.
Bayesville
East Vandermonde
Discretown
Averagemont
Continuopolis
route lines
river
The camera reveals more of the network as the plane travels.
Route lines emphasize possible transitions between cities.
City names and colors remain consistent across scenes.
The map grounds the abstract spinner states in a travel network of cities.
Five spinners are displayed simultaneously in a diamond arrangement, each associated with a different city/state.
The Markov Property text appears immediately afterward.
The exact mapping of every outer spinner to a named city is inferred from colors and labels rather than spoken one by one.
Central five-sector spinner
Outer spinners with two-, three-, and one-sector layouts
Labels A, B, C, D, E
All spinners rotate at once, showing independent local random mechanisms.
The composition emphasizes parallel transition rules rather than a single route.
Each spinner uses the same color-code for destinations.
The central spinner remains the five-state reference view.
This visual compresses the idea that each current state carries its own next-step distribution.
A passport page titled "INSPECTOR: Ana Markov" fills the frame with ten stamp boxes, several filled with city stamps and dates.
Not every stamp date is equally legible in motion.
Passport page
city stamps
date fields
formula stamp P(A|B)=P(B|A)
Filled and empty stamp boxes convey a record of past travel and room for future visits.
The page header remains "INSPECTOR: Ana Markov".
City names recur across multiple stamps.
The page visualizes accumulated path history before the video switches to aggregate frequencies.
A bar chart with bars A, B, C, D, E updates as the trip counter rises from 10 trips to 1000 trips.
The y-axis is labeled 10%, 20%, 30%, 40%.
Exact intermediate percentages at each trip count are not all readable.
Bars A, B, C, D, E
trip counter
percentage axis
Bar heights fluctuate at smaller trip counts.
By around 1000 trips the heights appear much steadier.
The title changes to "Stationary Distribution" after stabilization.
One bar always represents one city/state.
Color coding stays consistent with earlier maps and spinners.
The animation demonstrates convergence of sample frequencies toward a stable distribution.
After the stationary-distribution title, the full map returns with all five city labels and connecting routes.
Averagemont
Bayesville
Continuopolis
Discretown
East Vandermonde
route lines
airplane icon
The view shifts from abstract bar chart back to the geographic network.
The same five-city structure and color coding persist.
The ending ties the abstract stationary distribution back to the original travel process on the network.
A stylized map shows five named cities connected by black lines.
A yellow airplane icon moves along the connection from Discretown toward Bayesville.
The narrator says, “No matter which city she starts out in.”
Averagemont
Continuopolis
Bayesville
Discretown
East Vandermonde
black connection lines
yellow airplane icon
light blue river
The airplane travels along a network edge from Discretown toward Bayesville.
The map establishes the five-city network before the stationary-distribution chart appears.
The five city nodes and their connecting lines remain in fixed positions during the airplane movement.
The city names remain visible on the map.
The animation introduces Ana’s movement as a random walk on a fixed network of cities.
A title reads “Stationary Distribution.”
Bars labeled A through E display 25%, 33%, 17%, 17%, and 8%.
Horizontal divider lines appear inside the tallest blue bar B.
Title “Stationary Distribution”
five colored bars labeled A, B, C, D, E
percentage labels 25%, 33%, 17%, 17%, 8%
horizontal divider lines in bar B
The scene changes from the map to a bar chart.
Percentage labels appear above the bars.
Divider lines subdivide the tallest Bayesville bar.
The bar order A, B, C, D, E remains fixed.
The colors correspond to the city colors used elsewhere in the video.
The chart gives the long-run percentage of time in each city and visually emphasizes that Bayesville’s share is the largest.
The narrator explicitly says not all cities are connected via direct flights to each other.
The narrator gives the counterexample that Averagemont connects to Bayesville but not to East Vandermonde.
One might assume the traveler can move directly between any pair of cities.
The clip states that direct connections are limited; some pairs of cities are not adjacent in one step.
The narrator asks specifically about the long run.
A single realized transition is later shown as an example.
A viewer might infer the answer from a single observed move such as Bayesville to Averagemont.
The question posed is about long-run time spent in each city, not the outcome of one random step.
The narration defines the Markov property in terms of dependence only on the present state, not equal chances.
Spinners shown in the clip have unequal sector sizes and even a one-sector case.
A Markov chain might be mistaken as requiring all next destinations to be equally likely.
The clip's spinners show unequal and even deterministic transition structures; the Markov property concerns dependence on the present state, not uniformity of probabilities.
The narrator shifts from Ana's next-stop question to "In the long run ... what percentage of her time will she spend in each city?"
The stationary distribution is introduced only after a bar chart over many trips.
The stationary distribution could be mistaken for the answer to where the traveler will go on the next trip.
In this clip it is defined through long-run time fractions across many trips, not through a single next-state prediction.
The narrator begins with “No matter which city she starts out in,” then states the long-run percentage result.
The video does not spell out the misconception in words; it is inferred from the emphasis on independence from the starting city.
One might think that the city where Ana starts determines which city she spends the most time in during the long run.
The video states that the long-run percentage of time is independent of the starting city and is instead proportional to each city’s number of connections.
The stamp explicitly reads P(A|B) ≠ P(B|A).
The clip does not provide a verbal explanation or example for the inequality.
One might assume that reversing the conditioning events leaves a conditional probability unchanged.
The displayed inequality states that P(A|B) is not generally equal to P(B|A).
The stationary-distribution bars have unequal heights: 25%, 33%, 17%, 17%, and 8%.
The quiz includes option F) About equal, which fades away when B) Bayesville is revealed.
The video does not explicitly say that “about equal” is wrong; the visual answer reveal implies it.
One might expect Ana to spend about equal time in all cities in the long run.
The bar chart shows unequal stationary percentages, and the answer reveal selects Bayesville rather than “About equal.”
The overall setup describes repeated random movement among cities.
The map names the cities that serve as possible locations.
The general Markov-chain introduction contains the specific finite state space of five cities used in the example.
The next city is chosen from available connecting flights with equal probabilities.
Lines on the map indicate which transitions are available.
The transition rule applies to the state space by specifying how the process moves from one city-state to another.
The map shows a network of cities and direct routes.
The narrator discusses which cities are directly connected.
Understanding uniform selection among available neighbors requires first knowing the graph connectivity that determines which neighbors are available.
Bayesville is described as having direct connections to all other cities.
The map highlights Bayesville's links to the rest of the network.
Bayesville is a special node in the connectivity structure because it is adjacent to every other city in the example.
The long-run question is asked before the hub property is fully illustrated.
The narrator later emphasizes Bayesville's hub status.
The causal explanation of why hub status affects long-run time is not completed in this segment.
Answering the long-run most-visited-city question depends on understanding structural features such as Bayesville's hub degree.
Narrator first calls Ana's process a Markov chain and then explains the Markov property governing it.
The Markov property is the defining feature used to explain why Ana's travel process is a Markov chain.
Narrator says, "This is a form of memorylessness," immediately after stating the Markov property.
In this clip, memorylessness is presented as a verbal restatement of the Markov property.
The narrator answers Ana's fraction-of-time question by plotting percentages after various numbers of trips.
The empirical bar chart is the method used to investigate the long-run fraction-of-time question.
The bar chart stabilizes and is then titled "Stationary Distribution".
Narrator names the stabilized distribution as the stationary distribution.
The stationary distribution is introduced as the limiting, stabilized version of the empirical distribution plotted over trips.
Narrator says the process will always converge to the same stationary distribution.
The convergence claim applies the notion of stationary distribution to repeated long-run behavior of the chain.
The narrator defines the stationary percentage as proportional to number of connections.
The bar heights correspond to the network degrees discussed in the narration.
The degree-proportional rule is applied to compute or explain the stationary distribution’s long-run percentages.
The narrator says the network structure is the key to determining the stationary distribution.
The abstract graph is aligned with the stationary-distribution bars.
The statement about network structure gives the broader principle behind the specific stationary-distribution values shown earlier.
The narrator describes repeated random travel among cities using direct connections.
A five-city map with connecting lines is shown.
The narrator says not all cities are directly connected and gives Averagemont to East Vandermonde as a non-example.
The narrator asks which city she will spend the most time in in the long run.
The same wording appears on the multiple-choice screen.
The narrator says Bayesville is a major hub with direct connections to all other cities.
The map highlights Bayesville's links to the rest of the network.
The narrator says the next city is selected randomly from all available connecting flights with equal probabilities.
A spinner is used to choose among destinations.
On-screen text explicitly names "Markov Property".
Narrator identifies Ana's process as a Markov chain and then explains the dependence rule.
Title card reads "Stationary Distribution".
Narrator defines it as the distribution the plot stabilizes to.
Narrator shifts from next-stop talk to "In the long run ... what percentage of her time ..."
Narrator says East Vandermonde only has flights back to Bayesville.
A one-sector spinner labeled B is shown.
Narrator explains that each bar height indicates the percentage of time Ana has spent in that city overall.
Narrator says one run is shown but the process will always converge to the same stationary distribution.
Covered · Opening branding and course title animation; no substantive mathematical claim beyond identifying the lesson context.
Covered · Narrator introduces Ana Markov, Normal Distributors, five manufacturing cities, and the routine of surprise inspections.
Covered · The rule of choosing the next city uniformly among available direct connections is stated and visualized with a spinner and map.
Covered · The narrator explains that not all cities are directly connected and gives the Averagemont-to-Bayesville versus Averagemont-to-East Vandermonde contrast.
Covered · The long-run multiple-choice question is displayed and read aloud with options A through G.
Covered · Ana is placed in Bayesville, and the narrator identifies Bayesville as a hub connected to all other cities.
Covered · A concrete transition example is shown: spinner from Bayesville lands on Averagemont, then the narrator says it is time to choose the third stop.
Covered · Opening spinner and airport scenes introduce the random travel setup that the narrator later identifies as a Markov chain.
Covered · Map route, forced return from East Vandermonde, and Ana's fraction-of-time question establish the example and the long-run problem.
Covered · Narrator names the process a Markov chain and states the Markov property as memorylessness.
Covered · Passport history and narration reframe the problem as long-run percentage of time in each city.
Covered · Animated bar chart tracks empirical city percentages as trip count increases.
Covered · Stabilized bar chart is named the stationary distribution.
Covered · Narrator claims convergence to the same stationary distribution while the map returns.
Covered · Map and airplane introduce the random-walk setting and the independence from starting city.
Covered · Stationary-distribution bar chart displays the long-run percentages and degree-proportional interpretation.
Covered · Quiz asks which city receives the most long-run time; Bayesville is revealed, with a conditional-probability stamp.
Covered · The map simplifies to a graph and aligns with the stationary bars while the narrator states that network structure determines the stationary distribution.
Covered · End credits contain course and production information but no additional mathematical content.
Reviewed subject paths