How Long Might a Process Take to Reach a Target for the First Time? Define the target, starting state and transition rules, then distinguish the probability of reaching the target by a deadline from the expected time of first arrival. A stationary distribution, a single successful trajectory and an average hitting time answer different questions. Learners should inspect the full probability model rather than interpreting an expected time as a deadline.
This international lab extends the Markov Transition, Expected Value, Dynamic Programming and Sequential Probability Updating Labs through a fictional review process. All probabilities are stipulated. VCE and EnDist are proposed frameworks, not validated interventions, and future superintelligence remains hypothetical.
- Define a first hitting time and an absorbing target.
- Propagate probabilities of paths that have not reached the target.
- Use first-step equations and solve expected times.
- Justify finiteness under the stipulated transitions.
- Distinguish eventual success, deadline probability and average duration.
- Check a new model and an unreachable-target counterexample.
Choose your reading route
Coursework series: Markov Transition and Stationary Distribution Lab · Expected Value and Variability Lab · Dynamic Programming and Subproblem Lab · Sequential Probability Updating Lab · Vocabulary Coding and Engineering
Continue this coursework series: Amortised Cost and Resizing Lab · First-Passage and Hitting-Time Lab (this article) · Missing Data and Denominator Lab · Nominalisation and Agency Studio
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
Chapter 26
CHAPTER 1 OF 26 · Understand the capability
1. The capability: ask when a target is reached
A fictional review packet moves between two unfinished states until it is accepted. The coordinator wants the probability that it is accepted within a given number of steps, and the expected number of steps before the first acceptance. These questions cannot be answered from a single transition probability alone.
The deliverables are a state contract, probability trace, first-step equations, a finiteness argument and a new transfer. This is a mathematical lesson in tracking paths, not a forecast of real review durations or a promise about an AI workflow.
CHAPTER 2 OF 26 · Understand the capability
2. Define a first hitting time
Let T be the smallest nonnegative step at which a process enters a specified target state G. If the process begins in G, T=0. If it never reaches G, T=∞. First hitting time differs from a first return time, which requires at least one step.
For this lab we make G absorbing: after entering it, the process stays there. The probability of occupying G at step t then equals the probability of first reaching G by t. A nonabsorbing model could leave the target after a visit, so its occupancy at t would not necessarily equal that cumulative probability.
Background reading: ProbabilityCourse: first-step recursion and mean hitting times.
CHAPTER 3 OF 26 · Understand the capability
3. Vocabulary Coding and Engineering for time-to-target
Distinguish transition, first passage, occupancy, absorption, deadline probability and expected time. A statement that a process takes four steps may mean a particular realised path, an expected value or a guaranteed maximum. These are different claims.
Under proposed VCE, record the step unit, initial state, target and event defining the count. A receiver should be able to tell whether time zero is included. Keeping these meanings explicit prevents a generated average from being misrepresented as a guaranteed duration.
Related framework: Vocabulary Coding and Engineering.
CHAPTER 4 OF 26 · Work through the example
4. Read the fictional review model
The invented Cedar packet has states A (awaiting initial review), B (awaiting final review) and G (accepted). In A, the next step stays in A with probability 1/2 or moves to B with probability 1/2. In B, it returns to A with probability 1/4 or reaches G with probability 3/4.
G remains G with probability one. Each step uses the same transition rule, and conditional on the present state the next state does not depend on earlier history. Initially the packet is in A. No measured review data, external actions or real acceptance decisions are represented.
| Current | Next A | Next B | Next G |
|---|---|---|---|
| A | 1/2 | 1/2 | 0 |
| B | 1/4 | 0 | 3/4 |
| G | 0 | 0 | 1 |
CHAPTER 5 OF 26 · Work through the example
5. Find the earliest possible acceptance
Starting in A, no direct edge leads to G, so acceptance by step one is impossible. At step one the unfinished mass is 1/2 in A and 1/2 in B. At step two, the path A→B→G reaches the target with probability (1/2)(3/4)=3/8.
No other path reaches G by step two. Thus P(T≤2)=3/8. The complementary probability 5/8 represents all paths still unfinished after two steps. Keep the event label beside every calculation; it is not the chance of success at each future step.
CHAPTER 6 OF 26 · Work through the example
6. Propagate the unfinished probability mass
Let a_t and b_t be the probabilities of occupying unfinished states A and B at step t. Initially a_0=1 and b_0=0. The next unfinished mass is a_(t+1)=a_t/2+b_t/4 and b_(t+1)=a_t/2.
The absorbed mass is g_t=1−a_t−b_t. Equivalently g_(t+1)=g_t+3b_t/4. The newly accepted mass at step t+1 is 3b_t/4. Check that every row sums to one, preserving both already accepted and unfinished probabilities.
CHAPTER 7 OF 26 · Work through the example
7. Build the deadline table
At step two, a_2=3/8 and b_2=1/4, leaving g_2=3/8. At step three, a_3=1/4 and b_3=3/16, leaving g_3=9/16. At step four, a_4=11/64 and b_4=1/8, so g_4=45/64.
Therefore the probability of acceptance within four steps is 45/64, about 70.31%. The probability of still waiting is 19/64. These are exact properties of the invented process, not observed completion proportions. The two unfinished states must remain distinct because their next-step rules differ.
| Step t | Unfinished A | Unfinished B | Reached G |
|---|---|---|---|
| 0 | 1 | 0 | 0 |
| 1 | 1/2 | 1/2 | 0 |
| 2 | 3/8 | 1/4 | 3/8 |
| 3 | 1/4 | 3/16 | 9/16 |
| 4 | 11/64 | 1/8 | 45/64 |
CHAPTER 8 OF 26 · Work through the example
8. Separate first arrival from cumulative arrival
The chance of first acceptance exactly at step three is g_3−g_2=9/16−3/8=3/16. Exactly at step four it is g_4−g_3=45/64−36/64=9/64.
The cumulative probability includes all earlier arrivals. Summing cumulative probabilities across steps would count earlier successes repeatedly. If a question asks whether acceptance occurred before or by a deadline, state whether the endpoint step is included.
| First arrival step | Exact-step probability | Cumulative probability |
|---|---|---|
| 1 | 0 | 0 |
| 2 | 3/8 | 3/8 |
| 3 | 3/16 | 9/16 |
| 4 | 9/64 | 45/64 |
CHAPTER 9 OF 26 · Work through the example
9. Justify that the expected hitting time is finite
From A, the probability of reaching G within two steps is 3/8. From B it is at least 3/4, since acceptance can occur immediately. Thus from either unfinished state, the chance of surviving another two steps without acceptance is at most 5/8.
By applying this bound repeatedly using the transition model, P(T>2k)≤(5/8)^k for integers k≥0. The survival probability tends to zero. Grouping the nonnegative integer survival-sum terms into pairs gives the finite bound E[T] ≤ 2Σ(k≥0)(5/8)^k = 16/3. This proves finiteness rather than merely assuming it because the equations look solvable.
CHAPTER 10 OF 26 · Identify failure modes
10. Derive the first-step equations
Let h_A and h_B be expected steps to first reach G from A and B, and h_G=0. Each transition uses one step, after which the expected remaining time depends on the next state. For A, h_A=1+h_A/2+h_B/2.
For B, h_B=1+h_A/4+3h_G/4=1+h_A/4. These equations follow by conditioning on the first transition. The finiteness argument makes their use as finite expectations legitimate for this particular model.
CHAPTER 11 OF 26 · Identify failure modes
11. Solve and verify the expected times
The first equation rearranges to h_A=2+h_B. Substituting the second gives h_A=3+h_A/4, hence h_A=4. Then h_B=1+4/4=2. Both values are measured in transition steps under the model.
Substitute back: 1+4/2+2/2=4, and 1+4/4=2. The solution agrees with the equations and does not exceed the established upper bound from A. The expected time of four is not a maximum: 19/64 of the probability mass remains unfinished at step four.
CHAPTER 12 OF 26 · Identify failure modes
12. Do not confuse expectation with a deadline
A generated report says all packets are accepted within four steps because the expected time is four. The computed deadline probability contradicts that inference. A random duration can exceed its expected value, even when the expectation is finite.
The correct statement is that the mean first-passage time from A is four steps under the stipulated process. The probability of hitting by four is 45/64. A particular path can remain in A for many steps; the expectation summarises weighted possible durations rather than a guaranteed limit.
CHAPTER 13 OF 26 · Identify failure modes
13. Understand the survival-sum interpretation
For a nonnegative integer-valued hitting time, T counts one unit for every integer t≥0 such that T>t. Taking expectations gives E[T]=Σ from t=0 to infinity of P(T>t), with the possibility of infinity.
In the main example the first five terms, t=0 through 4, are 1,1,5/8,7/16,19/64. Their sum is 215/64, below four. Later positive terms complete the expectation. This offers a second interpretation of mean hitting time, while the first-step equations avoid adding infinitely many individual terms.
CHAPTER 14 OF 26 · Identify failure modes
14. Test a different starting distribution
Suppose the initial state is A with probability 1/4 and B with probability 3/4. Conditional expectation gives E[T]=(1/4)4+(3/4)2=5/2 steps. This is not obtained by changing the transition rows.
The chance of acceptance by step one is (3/4)(3/4)=9/16. Starting uncertainty changes both the first-passage distribution and its mean. A reusable result should retain the initial state or distribution, not just the model’s transition matrix.
CHAPTER 15 OF 26 · Identify failure modes
15. Inspect an unreachable-target variant
Change the model so A always stays A. Beginning in A, the target is unreachable and T=∞ with probability one. The first-step equation would demand h_A=1+h_A, which has no finite solution.
Do not force a numerical answer by subtracting infinity or assigning zero to an unreachable state. A missing route is a substantive model outcome. This connects first-passage reasoning with the Prerequisite Reachability Lab, while distinguishing probabilistic time from deterministic reachability.
CHAPTER 16 OF 26 · Identify failure modes
16. Compare the absorbing model with ordinary occupancy
Imagine a changed process where G can later return to A. First acceptance still occurs when G is first visited, but Pr(state at t is G) may be less than P(T≤t), because some previously accepted paths have left.
To compute the first-passage distribution, one may track whether the target has ever been reached or make it absorbing for that calculation. This does not claim the original process literally stops at acceptance. Distinguish the analytical representation from a changed operational rule.
CHAPTER 17 OF 26 · Identify failure modes
17. Audit a generated probability trace
Suppose an assistant reports P(T≤3)=3/16 by using only the newly accepted mass at step three. That is the exact-step probability, not cumulative acceptance. The earlier 3/8 must also be counted, giving 9/16.
Ask learners to reconstruct the unfinished mass and verify both the sum-to-one invariant and successive absorbed-mass increments. If AI produces a percentage without an event definition, recover the missing question before deciding whether the number is incorrect.
CHAPTER 18 OF 26 · Identify failure modes
18. A prompt for an auditable first-passage model
Try: Starting at A, use transitions A→A=1/2, A→B=1/2, B→A=1/4, B→G=3/4, G→G=1. Trace a_t,b_t,g_t through step four and compute exact and cumulative arrival probabilities. Define T and its time-zero condition.
Continue: prove finiteness with a two-step survival bound, derive the first-step expectation equations, solve and substitute back. Explain why a mean of four is not a guaranteed deadline. Change the initial distribution and test the unreachable variant separately; do not infer real process durations.
CHAPTER 19 OF 26 · Identify failure modes
19. A proposed assessment rubric
Score five dimensions from zero to three: state and target definition; faithful probability trace; distinction between exact and cumulative arrival; justified expectation and finiteness; independent transfer and limits. Zero indicates absent evidence, one substantial errors, two mostly correct with a gap, three independently reproducible.
Record assisted output, independent reasoning and recipient reconstruction separately. Accept accessible tables, diagrams or spoken derivations. The fifteen-point rubric is proposed coursework, not a validated measure of probability literacy or educational improvement.
CHAPTER 20 OF 26 · Test independent transfer
20. Independent transfer: a new review chain
Change A’s row to stay with probability 1/4 and move to B with 3/4. Change B’s row to return to A with probability 1/2 and enter G with 1/2. Start in A. Calculate acceptance by step two, a finiteness argument and the expected times before consulting the check.
Worked check: P(T≤2)=(3/4)(1/2)=3/8. From either unfinished state the two-step success probability is at least 3/8, so the earlier geometric survival argument still proves finiteness. The equations give h_A=4/3+h_B and h_B=1+h_A/2; hence h_A=14/3 and h_B=10/3. Equal two-step success probabilities do not force equal means.
CHAPTER 21 OF 26 · Test independent transfer
21. Primary learning: reach the finish card
Use adult-prepared fictional state cards and a small set of equally likely tokens to determine moves. Make the target a clearly marked finish card, and count steps until it is reached. Repeat with manageable transitions and accessible alternatives.
Ask why some paths finish quickly and others take longer. A small classroom sample need not match the theoretical probabilities exactly. Formal equations can wait until readiness; the foundation is recognising first arrival as a different question from where an object is at one particular step.
CHAPTER 22 OF 26 · Test independent transfer
22. Secondary learning: probability trees and recurrence
Students can draw the first two transitions, then use a state-mass table to avoid enumerating every long path. Calculate the probability of arrival by a deadline and compare it with the probability of first arrival on one exact step.
Introduce the first-step equations and the elementary geometric bound when appropriate. Ask learners to test the changed starting state and an unreachable target. The purpose is to explain assumptions and calculations rather than simply operate a probability simulator.
CHAPTER 23 OF 26 · Test independent transfer
23. University, institutions and EnDist
Advanced work can investigate absorbing chains, matrix methods, first-passage distributions and uncertainty in estimated transition probabilities. Operational use requires reliable observations, a defensible state model and domain review. The fictional packet does not establish a real service standard.
Under proposed EnDist, a useful handover carries the state definitions, transition assumptions, first-passage event, initial distribution and proof. A receiver can evaluate a different deadline without asking the original assistant. This is a proposed distribution practice, not measured societal improvement.
CHAPTER 24 OF 26 · Four-week coursework plan
24. A four-week coursework sequence
Week one: define states, target and first arrival; compute the first two steps with a tree. Week two: construct the mass trace, distinguish exact from cumulative probability and check conservation. Week three: prove finiteness and solve the first-step equations.
Week four: release the new review model before its answer, assess independent and receiver reconstruction, then compare the unreachable and nonabsorbing variants. Adapt pacing and ordinary access supports; the sequence is a proposed teaching plan, not validated instruction.
CHAPTER 25 OF 26 · Four-week coursework plan
25. Questions about first-passage times
Does eventual arrival with probability one automatically establish a finite mean in every process? No; a finite-mean argument is separate. Does the expected time give a guaranteed deadline? No. Does starting in the target produce a first hitting time of zero? Yes, under our definition.
Does target occupancy always equal cumulative first arrival? Only when the model retains absorbed paths or otherwise records prior arrival. Can an assistant invent missing transition probabilities? No; label assumptions explicitly and obtain suitable evidence for real predictions.
CHAPTER 26 OF 26 · Four-week coursework plan
26. Sources, boundaries and next steps
ProbabilityCourse supplies background on first-step conditioning and mean hitting times. The packet models, transitions, traces, transfer and rubric are original fictional teaching constructions. No operational data, product benchmark or empirical educational effect is represented.
Next, choose another small target-reaching model, prove whether the mean is finite, and hand the probability trace to a receiver for an independent deadline calculation. The enduring capability is interpreting the time-to-target question without replacing probability by a promise.
References: ProbabilityCourse: first-step recursion and mean hitting times.
Related coursework: Markov Transition and Stationary Distribution Lab · Expected Value and Variability Lab · Dynamic Programming and Subproblem Lab · Sequential Probability Updating Lab.