4.10.27 · HinglishAdvanced Topics (Elite Level)

Stochastic processes — Markov chains, steady-state, random walks

1,704 words8 min readRead in English

4.10.27 · Maths › Advanced Topics (Elite Level)


1. What / Why / How

Memorylessness kyun matter karta hai: agar future poore past par depend karta, toh "rule" bina kisi seema ke bada hota jaata. Current state mein saari history collapse karke, poori dynamics ek fixed matrix mein fit ho jaati hai.

Distributions matrix multiplication se evolve hoti hain

Maano ek row vector hai jahan .

Row vector ko se kyun multiply karte hain? Kyunki humne current state (row index) ke upar sum karte hue law of total probability use ki. Yahi exactly ek vector-matrix product hai.


2. Steady-State (Stationary Distribution)

unique aur reachable kab hai?


3. Random Walks

Figure — Stochastic processes — Markov chains, steady-state, random walks

ki jagah kyun? Steps average par cancel ho jaate hain (mean 0), lekin variances add hote hain. Spread standard deviation ki tarah badhta hai. Yahi diffusion ki pehchaan hai.


4. Common Mistakes (Steel-manned)


5. Active Recall

Recall Markov property ek sentence mein kya hai?

Future sirf present state par depend karta hai, past path par nahin.

Recall Distribution ek step mein kaise evolve hoti hai?

(row vector × transition matrix).

Recall Stationary distribution define karne wali equation?

aur ka left eigenvector eigenvalue 1 ke liye.

Recall

steps ke baad symmetric random walk ka mean aur variance? Mean , variance , typical distance .

Recall Gambler's ruin: fair game mein

se tak pahunchne ki probability? .

Recall (Feynman, ek 12-saal ke bachche ko explain karo) Yeh sab kya hai?

Socho ek frog lily pads ke beech kood raha hai. Woh agla kahan koodega yeh sirf is baat par depend karta hai ki abhi woh kis pad par hai — uski koi memory nahin hai. Agar aap bahut der tak dekhte raho, toh aap predict kar sakte hain ki woh kitna time har pad par bitaata hai: yahi steady-state hai. "Random walk" woh frog hai jo har kood mein coin flip karta hai left ya right jaane ke liye. Woh mostly ghar ke paas rehta hai, aur jitna woh bhatak jaata hai woh hops ki sankhya ke square root ki tarah badhta hai — dheema aur unsteady, seedha nahin.


Connections

  • Linear Algebra — Eigenvalues and Eigenvectors (steady-state = eigenvalue 1)
  • Perron–Frobenius Theorem (uniqueness & convergence)
  • Law of Total Probability (update rule derive karta hai)
  • Central Limit Theorem (random walk → Gaussian, spread )
  • Diffusion and Brownian Motion (random walks ka continuous limit)
  • Google PageRank (ek web Markov chain ki stationary distribution)

Markov property states that
— future sirf present par depend karta hai.
A transition matrix is row-stochastic, meaning
har row ka sum 1 hota hai: .
Distribution after t steps from start
.
Stationary distribution equation
, .
Why does eigenvalue 1 always exist for stochastic
kyunki (rows ka sum 1 hai), isliye ek eigenvalue hai; left eigenvector deta hai.
Conditions for unique, convergent stationary distribution
irreducible + aperiodic.
Balance equation interpretation
ek state mein inflow = us state ki stationary probability: .
Mean position of symmetric random walk after n steps
0.
Variance of symmetric random walk after n steps
(variances add hote hain, mean steps cancel ho jaate hain).
Typical distance travelled in n-step random walk
.
Gambler's ruin (fair) probability of hitting N before 0 from i
.
First-step analysis recurrence for
, .
2-state chain steady state
.
Common error: vs
ek row vector hai, isliye use karo (left multiplication).

Concept Map

simplest kind

obeys

collapses history into

satisfies

lets us track

evolves by total probability

repeated to limit gives

is a

guarantees eigenvalue 1 for

solved in

Stochastic process

Markov chain

Markov property memorylessness

Transition matrix P

Row-stochastic rows sum to 1

Probability row vector pi

Update pi next = pi P

Stationary distribution pi = pi P

Left eigenvector eigenvalue 1

2-state weather chain