ENG 301 · Engineering Mathematics IV (Probability and Statistics)
Our notes
2 min readThe Markov property
The future depends on the present state only, not on how the process got there: P(Xₙ₊₁ = j | Xₙ = i, earlier states) = P(Xₙ₊₁ = j | Xₙ = i) = pᵢⱼ.
- Transition matrix P = [pᵢⱼ]: each row sums to 1.
- Drawn as a state diagram (circles for states, arrows labelled with probabilities).
n-step transitions
P⁽ⁿ⁾ = Pⁿ (Chapman-Kolmogorov). If the starting distribution is the row vector π⁽⁰⁾, then π⁽ⁿ⁾ = π⁽⁰⁾Pⁿ.
Worked example. A machine is Working (W) or Broken (B) each day:
| from \ to | W | B |
|---|---|---|
| W | 0.9 | 0.1 |
| B | 0.5 | 0.5 |
Working today, P(working in 2 days) = 0.9 × 0.9 + 0.1 × 0.5 = 0.81 + 0.05 = 0.86.
Steady state
For a regular chain (some power of P has all entries positive), π⁽ⁿ⁾ tends to a unique stationary distribution π with πP = π and Σπᵢ = 1, whatever the start.
Worked example (continued). π_W = 0.9π_W + 0.5π_B → 0.1π_W = 0.5π_B → π_W = 5π_B. With π_W + π_B = 1: π_W = 5/6 ≈ 0.833, π_B = 1/6. In the long run the machine works 83% of days.
- The mean return time to state i is 1/πᵢ (the machine returns to "broken" every 6 days on average).
Classifying states
- Accessible / communicating states; a chain is irreducible if every state can reach every other.
- Absorbing state: pᵢᵢ = 1 (once in, never leaves): "scrapped", "graduated", "debt written off".
- Transient (may never return) and recurrent (certain to return) states; periodic states (return only at multiples of some d > 1).
- In absorbing chains we compute the probability of ending in each absorbing state and the expected steps before absorption (using the fundamental matrix N = (I − Q)⁻¹).
Continuous-time Markov chains
State changes happen after exponential times, with rates instead of probabilities.
Worked example. A repairable unit fails at rate λ and is repaired at rate μ. Balance: flow out of "up" = flow in: λπ_up = μπ_down. So availability π_up = μ/(λ + μ). With MTTF = 1/λ = 990 h and MTTR = 1/μ = 10 h: A = (1/10)/(1/990 + 1/10) = 990/1,000 = 0.99, as in the reliability topic.
- Birth-death processes and queues (M/M/1: arrivals rate λ, service rate μ, traffic intensity ρ = λ/μ < 1; P(n customers) = (1 − ρ)ρⁿ; mean number in the system ρ/(1 − ρ)) come from the same balance equations.
Worked example. A single ATM: customers arrive at 20 an hour and each takes 2 minutes on average (μ = 30 an hour). ρ = 2/3; mean number at the ATM = (2/3)/(1/3) = 2 people.
Exams usually ask: write a transition matrix from a story; draw the state diagram; n-step probabilities; steady-state distribution; classify states; availability from a two-state continuous chain; simple M/M/1 results.
Common mistake: writing the transition matrix with columns summing to 1. In the usual convention each row (the "from" state) sums to 1, and distributions are row vectors multiplied on the left.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Markov chain
(opens en.wikipedia.org in a new tab)
Wikipedia, Markov chain, CC BY-SA 4.0 · licence
-
Stochastic matrix
(opens en.wikipedia.org in a new tab)
Wikipedia, Stochastic matrix, CC BY-SA 4.0 · licence
Watch
-
Best pick L24.4 Discrete-Time Finite-State Markov Chains
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
L24.2 Introduction to Markov Processes
2 min · ≈ 9 MB · about ₦5
(opens youtube.com in a new tab)
-
L24.8 Recurrent and Transient States
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
L25.7 Steady-State Probabilities and Convergence
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
L25.9 Visit Frequency Interpretation of Steady-State Probabilities
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.