How to read a formula (the skill nobody teaches)
Most people bounce off mathematics because they try to read a formula the way they read prose, left to right, all at once. Read it the way you read an unfamiliar function signature instead:
- Find the output. What is on the left of the
=? That is the return value. - Name every symbol. Each letter is a parameter. Which are inputs you supply,
which are constants, and which are dummy loop variables (like the
iinΣ)? - Check the units. If the left side is "seconds", the right side must come out in seconds too. Unit-checking catches most misread formulas.
- Plug in the simplest numbers. Set things to 0, 1 or 2 and see if the output makes sense.
- Push it to the extremes. What happens as an input goes to 0 or to infinity? Extremes show what a formula is really about.
Here is the method on a formula from Ch. 25, the M/M/1 queue's average time in system:
W = 1 / (μ - λ)
| Symbol | Say it as | What it means | Units |
|---|---|---|---|
W |
"W" | average time a request spends waiting plus being served | seconds |
μ |
"mu" | how many requests the server can finish per second | requests/s |
λ |
"lambda" | how many requests arrive per second | requests/s |
- Units:
1 / (requests/s)= seconds. ✓ - Simple numbers:
μ = 100,λ = 50→W = 1/50 s = 20 ms. - Extremes: as
λ → 0(idle server),W → 1/μ = 10 ms, just the service time, which makes sense. Asλ → μ(server at 100% utilization), the denominator goes to 0 andW → ∞. The formula is telling you that queues explode near full utilization, which is the whole lesson of Ch. 25 in one line.
Every formula in this guide is laid out the same way: the formula, a table that names every symbol, then a worked example with real numbers right below it. When a formula looks scary, go back to these five steps.