Appendix C — Physics and Math Reference
This appendix collects every equation the book uses in one place. Each entry gives:
- the equation;
- a one-line reading in plain English;
- the units;
- a worked number, taken from a value the book measured or from a labelled model;
- a link to the chapter that develops it.
The worked numbers are not retyped from the chapters. They are recomputed by
appendices/code/appendix_c_checks.py, which calls the same Box Box modules the chapters built
(project/boxbox/physics.py, aero.py, power.py, brakes.py, setup.py, pacejka.py). Its full output is
in appendices/code/output/appendix_c_checks.txt. Run it yourself; it needs no network.
🧪 Illustrative model: rows marked 🧪 use parameters that are assumptions chosen to be plausible for a current F1 car, not team data. They come from the
CarParams,AeroParams,ChassisParamsandTyreParamsdataclasses, whose defaults the chapters derived or calibrated against telemetry. Use them for differences and trade-offs, never as a team's real numbers.
Symbols used throughout.
| Symbol | Meaning | Unit |
|---|---|---|
| $m$ | car mass (car + driver + fuel) | kg |
| $g$ | gravitational acceleration (book code uses 9.81) | m/s² |
| $v$ | speed (convert km/h ÷ 3.6 before using any formula) | m/s |
| $\rho$ | air density | kg/m³ |
| $C_LA$, $C_DA$ | lift (downforce) and drag coefficient × reference area | m² |
| $\mu$ | tyre–road friction coefficient | – |
| $R$, $\kappa$ | corner radius, curvature $\kappa = 1/R$ | m, 1/m |
| $N$ | race length | laps |
| $P$ | pit loss (Part II) or power (Part I) — the row says which | s or kW |
C.1 Forces, friction and the traction circle
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $F_{\max} = \mu N_z,\; N_z = mg + F_L$ | the tyres can push sideways or lengthways with at most $\mu$ times the load pressing them down | N | 🧪 car at rest: $1.6 \times 780 \times 9.81 = 12{,}243$ N | Ch 1 |
| $\sqrt{a_x^2 + a_y^2} \le \mu\,(1 + F_L/mg)$ | braking, accelerating and cornering share one grip budget; downforce enlarges it | g | Canada 2026 pole lap: combined peak 4.83 g (estimate, 0.5 s window) | Ch 1 |
| $\left(\dfrac{F_x}{F_{x,\max}}\right)^2 + \left(\dfrac{F_y}{F_{y,\max}}\right)^2 \le 1$ | the friction ellipse: the limits need not be equal in the two directions | – | Suzuka 2025 pole (VER 1:26.983): 11.3% of lap time with both $\lvert a_x\rvert$ and $\lvert a_y\rvert$ above 1 g | Ch 5 |
| $a_x = dv/dt$ (Savitzky–Golay, 0.5 s window) | longitudinal g is the smoothed slope of the speed trace | g | braking held 0.5 s, dry pole laps: median 4.49 g (2025, n = 22), 3.85 g (2026, n = 20) | Ch 1 |
| $a_y = v\,\omega = v^2\kappa$ | lateral g is speed times heading rate, or speed squared times curvature | g | 1 s peak, dry pole laps: median 5.97 g (2025), 5.40 g (2026); values above about 6 g are unreliable | Ch 1 |
| $\mu(F_z) = \mu_0\left(1 + p\,\dfrac{F_z - F_{z0}}{F_{z0}}\right),\; p<0$ | tyres get less grippy per newton as the load rises (load sensitivity) | – | 🧪 $\mu_0 = 1.70$ at 4 kN, $p = -0.15$: $\mu = 1.445$ at 8 kN, so doubling the load gives 1.70× the force | Ch 5 |
📐 Definition: a 🧪 car in this appendix means
physics.CarParams()with its defaults: $m$ = 780 kg, $C_LA$ = 7.33 m², $C_DA$ = 1.30 m², $\mu$ = 1.6, $\rho$ = 1.225 kg/m³. Its $C_LA$ is the value that makes downforce equal weight at 150 km/h for a 795 kg car, the figure Mercedes-AMG F1 gives (cited indata/reference/engineering_reference.csv).
C.2 Cornering speed
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $v_{\max} = \sqrt{\mu g R}$ | without downforce, corner speed grows only with the square root of the radius | m/s | 🧪 $R$ = 60 m: 110.5 km/h | Ch 1 |
| $v_{\max}^2 = \dfrac{\mu g R}{1 - \mu\rho C_LA R/2m}$ | with downforce, grip rises with speed, so the denominator shrinks and corner speed climbs faster | m²/s² | 🧪 $R$ = 60 m: 165.2 km/h | Ch 1 |
| $R^{*} = \dfrac{2m}{\mu\rho C_LA}$ | above this radius the point-mass car never reaches the grip limit: the corner is flat out | m | 🧪 109 m; fitted 2026 car 153 m | Ch 1 |
| $\dfrac{a_{y,\max}}{g} = \mu + \dfrac{\mu\rho C_LA}{2mg}\,v^2 = \mu + k v^2$ | the lateral limit is a constant (mechanical grip) plus a term in $v^2$ (aero grip) | g | apex fit 2026 (n = 144 apexes): $1.510 + 6.666\times10^{-4}\,v^2$; 2025 (n = 150): $1.117 + 9.251\times10^{-4}\,v^2$ ($v$ in m/s) | Ch 1, Ch 3 |
| $v^{*} = \sqrt{\mu/k}$ | the crossover speed where aero grip equals mechanical grip (downforce = weight) | m/s | 125 km/h [103–146] (2025), 171 km/h [126–227] (2026), bootstrap over apexes | Ch 8 |
| $\dfrac{a_y}{g} = \mu_0 X - k X^2$, $X = v^2$ term | a quadratic in $v^2$ tests whether grip grows less than in proportion to downforce | g | $v^4$ coefficient −0.295 / −0.146 / −0.170 (2024/25/26, $v^2$ in 1000 m²/s²); CIs exclude 0 | Ch 5 |
C.3 Drag, downforce and power
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $F_L = \tfrac12\rho\,C_LA\,v^2$ | downforce rises with the square of speed | N | 🧪 car: 7,794 N at 150 km/h, 31,178 N at 300 km/h (weight 7,652 N) | Ch 3 |
| $F_D = \tfrac12\rho\,C_DA\,v^2$ | drag rises with the square of speed | N | 🧪 car: 1,382 N at 150 km/h, 5,530 N at 300 km/h | Ch 3 |
| $P_D = F_D\,v = \tfrac12\rho\,C_DA\,v^3$ | the power drag absorbs rises with the cube of speed | W | 🧪 $C_DA$ 1.59, $\rho$ 1.18: 543 kW at 300 km/h | Ch 3 |
| $L/D = C_LA / C_DA$ | aero efficiency; speed and density cancel | – | 🧪 4.72 (DRS closed, 7.5/1.59), 6.25 (open, 7.5/1.20) | Ch 3 |
| $m a = \dfrac{\eta P}{v} - F_D - C_{rr}(mg + F_L)$ | on a straight, power pushes, drag and rolling resistance pull back; acceleration is what is left | m/s² | effective $C_DA$ from 2025 qualifying (621 kW 🧪): 1.593 m² closed, 1.203 m² open, $\Delta C_DA$ = 0.390 m² (24.5%) | Ch 3 |
| $\eta P = v\left[\tfrac12\rho(C_DA + C_{rr}C_LA)v^2 + C_{rr}mg\right]$ | terminal speed: where drag and rolling losses use up all the power | m/s | 🧪 675 kW × 0.92, $C_DA$ 1.34 → 324 km/h; 400 kW × 0.92, $C_DA$ 1.27 → 276 km/h | Ch 6 |
| $\eta_{\text{th}} = P_{\text{ICE}} / (\dot m\,\text{LHV})$ | thermal efficiency: shaft power out over fuel power in | – | 🧪 LHV 43 MJ/kg: 100 kg/h = 1,194 kW, so 555 kW → 46.5%; 3,000 MJ/h = 833 kW, so 400 kW → 48.0% | Ch 6 |
C.4 Energy and deployment time
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $t = 1000\,E/P$ | how long a stored energy lasts at a given power ($E$ in MJ, $P$ in kW) | s | 4 MJ / 120 kW = 33.3 s (2014–25); 8.5 MJ / 350 kW = 24.3 s; 7 MJ / 350 kW = 20.0 s (2026) | Ch 6, Ch 28 |
| $P_K^{\max}(v) = \min(350,\,1800 - 5v)$ for $v < 340$; $6900 - 20v$ to 0 at 345 | 2026 MGU-K cap tapers with speed ($v$ in km/h) | kW | 350 kW to 290 km/h, 300 at 300, 200 at 320, 150 at 330, 0 at 345 km/h | Ch 6, Ch 29 |
| $P_K^{\text{OT}}(v) = \min(350,\,7100 - 20v)$, 0 at 355 | the Overtake curve holds 350 kW to about 337 km/h | kW | 350 kW at 330 and 337 km/h; 200 kW at 345 km/h | Ch 29 |
| $E_{\text{demand}} = \int P_K^{\max}(v)\,dt$ over full throttle | the energy a lap would need to run the MGU-K at its cap everywhere | MJ | 2026 qualifying median 15.69 MJ against an 11–12 MJ budget; over budget at 18 of 20 circuits | Ch 6 |
| $\Delta v_{\text{fade}} = v_{\text{peak}} - v_{\text{end}}$ at full throttle | the clipping signature: speed lost while the driver is still flat out | km/h | median max fade 1.0 km/h (2025) vs 24.5 km/h (2026), top-5 qualifying laps | Ch 6 |
| $m_{\text{fuel/lap}} = \dot m_{\max}\,t_{\text{FT}}$ | fuel burned per lap at the flow cap | kg | 2025 qualifying: median 1.39 kg/lap; 85.6 kg per race at the cap | Ch 6 |
⚠️ Common pitfall: treating energy and power as interchangeable. "350 kW" is a rate; "8.5 MJ" is an amount. Convert with $t = E/P$ before you compare an era's numbers. Every 2026 energy figure also depends on the session type and on whether it is before or after the in-season changes from Miami (see Appendix G).
C.5 Braking distance
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $a(v) = g\,(A + B v^2)$, $A = \mu$, $B = \dfrac{\rho(\mu C_LA + C_DA)}{2mg}$ | deceleration at the limit: grip plus drag, both growing with $v^2$ | m/s² | fitted q90 envelope 2025: $A$ = 0.99, $B$ = 7.76 × 10⁻⁴; 2026: 0.84, 7.50 × 10⁻⁴ | Ch 7 |
| $d = \dfrac{1}{2gB}\ln\dfrac{A + Bv_0^2}{A + Bv_1^2} + v_0 t_{\text{on}}$ | stopping distance, plus the distance covered before the brakes bite | m | 320 → 80 km/h: 119.2 m (2025, $t_{\text{on}}$ 0.125 s); 132.2 m (2026, 0.172 s)* | Ch 7 |
| $t = \dfrac{\arctan(v_0\sqrt{B/A}) - \arctan(v_1\sqrt{B/A})}{g\sqrt{AB}} + t_{\text{on}}$ | stopping time | s | 2.45 s (2025), 2.71 s (2026) | Ch 7 |
| $d = \dfrac{v_0^2 - v_1^2}{2a}$ (constant $a$) | the textbook version, when deceleration does not change with speed | m | constant 5 g, 320 → 80 km/h: 75.5 m, 1.36 s — far shorter than any measured stop | Ch 7 |
* Chapter 7 quotes 132.4 m for 2026 from the unrounded fit; recomputing from the rounded coefficients printed above gives 132.2 m.
Measured check. Of 230 stops from ≥ 320 km/h to ≤ 120 km/h in dry qualifying 2023–2026, none took under 100 m or under 2 s. The median was 146.3 m and 3.19 s.
C.6 Load transfer
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $\Delta F_{z,x} = \dfrac{m\,a_x\,g\,h}{L}$ ($a_x$ in g) | braking moves load forward in proportion to g, centre-of-gravity height and 1/wheelbase; springs don't change the total | N | 🧪 780 kg, $h$ 0.28 m, $L$ 3.40 m: 2,521 N at 4 g; 2,779 N at −4.41 g (Norris, 2026 Hungary pole lap) | Ch 8 |
| $\Delta F_{z,y}^{f} = \dfrac{\lambda_f\,m\,a_y\,g\,h}{t_f}$, $\Delta F_{z,y}^{r} = \dfrac{(1-\lambda_f)\,m\,a_y\,g\,h}{t_r}$ | the total lateral transfer is fixed; the front share $\lambda_f$ (LLTD) is a setup choice | N | 🧪 4.51 g, $\lambda_f$ 0.5, tracks 1.60/1.55 m: 3,020 N front + 3,117 N rear | Ch 8 |
| $\Delta F_{y,\text{lost}} \approx 2\lvert p\rvert\mu_0\,\Delta F_z^2 / F_{z0}$ | uneven axle loads cost grip, and the loss grows with the square of the transfer | N | 🧪 1,500 N of transfer: 287 N lost; 3,000 N on an 8,000 N axle: 8.4% | Ch 5, Ch 8 |
| $\text{front share} = N_f / (N_f + N_r)$ | ideal brake balance follows the axle loads | – | 🧪 about 46–55% through a 2026 stop | Ch 7 |
C.7 Tyres: the Magic Formula and the thermal model
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $\alpha = \arctan(v_y/v_x)$; $\kappa = (\omega R_w - v)/v$ | slip angle (how far the wheel crabs) and slip ratio (tread speed vs road speed) | rad, – | not observable in our data | Ch 5 |
| $y = D\sin\!\big(C\arctan(Bx - E(Bx - \arctan Bx))\big)$ | Pacejka's Magic Formula: force rises with slip, peaks and falls away; $B$ stiffness, $C$ shape, $D$ peak, $E$ curvature | N | 🧪 pacejka.DEFAULT at 4 kN: $F_y$ = 5,094 N at 2°, 6,800 N at 6° (the peak) |
Ch 5 |
| $x_{\text{peak}} = \tan(\pi/2C)/B$ ($E$ = 0) | the slip at which grip is highest | rad | 🧪 0.105 rad (6.0°) | Ch 5 |
| $C_\alpha = BCD$ | cornering stiffness: the slope at zero slip | N/rad | 🧪 3,290 N/deg at 4 kN | Ch 5 |
| $P_{\text{slip}} = \lvert F_x\kappa v\rvert + \lvert F_y v\sin\alpha\rvert$ | the heat a sliding tyre generates | W | 🧪 Antonelli push lap, Las Vegas 2026 Q: 3.6 kW per tyre (mean, model) | Ch 5 |
| $C_s\dot T_s = \eta_s P - G_{sc}(T_s - T_c) - G_{\text{air}}(v)(T_s - T_{\text{air}}) - G_{\text{road}}(T_s - T_{\text{track}})$ | surface node: friction heat in, conduction to the carcass and losses to air and track out | W | 🧪 $\tau_s = C_s/\sum G$ = 900/75 = 12 s at 60 m/s | Ch 5 |
| $C_c\dot T_c = (1-\eta_s)P + P_{\text{flex}} + G_{sc}(T_s - T_c) - G_{\text{rim}}(T_c - T_{\text{air}})$ | carcass node: the rest of the heat plus flexing, losing heat through the rim | W | 🧪 $\tau_c$ = 9,000/60 = 150 s: the surface follows corners, the carcass follows runs | Ch 5 |
🔍 Why this works: each node of the thermal model behaves like a capacitor discharging through the conductances around it, so its time constant is simply $\tau = C/G_{\text{total}}$. Two very different time constants (12 s and 150 s) are why a tyre can feel cold on a restart lap even though the carcass is still warm.
C.8 The lap-time integral and the value of speed
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $T = \oint \dfrac{ds}{v(s)} \approx \sum_i \dfrac{\Delta s}{\bar v_i}$ | a lap time is the sum, metre by metre, of the time spent covering each metre | s | Canada 2026 pole (RUS 72.578 s): integrating speed over distance gives 72.680 s | Ch 1, Ch 11 |
| $dT = -\dfrac{ds\,dv}{v^2}$ | a km/h gained is worth far more in a slow corner than on a straight | s | +1 km/h over 100 m: 36 ms at 100 km/h, 9 ms at 200, 4 ms at 300 | Ch 1 |
| $v_{\max}^2(s) = \dfrac{\mu g}{\lvert\kappa(s)\rvert - B_{\text{lat}}}$ | step 1 of a lap simulator: the corner limit at every point of the track | m²/s² | 🧪 infinite (flat out) wherever $\lvert\kappa\rvert \le B_{\text{lat}}$ | Ch 11 |
| $v_i^2 = v_{i+1}^2 + 2\,a_{\text{brake}}(v_{i+1})\,f_i\,\Delta s$, $f_i = \sqrt{1 - (a_{y,i}/a_{y,\max})^2}$ | step 2, backward pass: how fast you can arrive and still slow down in time, sharing grip with cornering | m²/s² | — | Ch 11 |
| $m a_x = \min\!\left(\dfrac{\eta(P_{\text{ICE}} + P_K)}{v},\; k\,m\,a_{y,\max} f_i\right) - F_D - C_{rr}(mg + F_L)$ | step 3, forward pass: power- or traction-limited acceleration | N | 🧪 Silverstone 2026 Q preset: 61.3% of lap time power-limited, 20.4% braking, 17.3% traction, 0.9% at the corner limit | Ch 11 |
⚠️ Common pitfall: trusting an uncalibrated lap simulator's absolute lap time. Chapter 11's preset car, built entirely from parameters fitted elsewhere in the book, was slower than reality at all 42 sessions it was tested on (median 10.46 s with 2025 parameters, 6.73 s with 2026 ones). Use a simulator for differences until you have calibrated it against whole laps.
C.9 Fuel correction
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $F(L) = F_0\left(1 - \dfrac{L - 0.5}{N}\right)$ | fuel on board at mid-lap $L$, burning linearly | kg | toolkit default $F_0$ = 100 kg (an ASSUMPTION): lap 1 of 57 carries 99.1 kg, lap 29 50.0 kg | Ch 4, Ch 20 |
| $t_{\text{fc}} = t - s_{kg}\,F(L)$ | the fuel-corrected lap: what the lap would take with an empty tank | s | default $s_{kg}$ = 0.03 s/kg (ASSUMPTION): lap 1 of 57 corrected by 2.974 s | Ch 20 |
$t_{iL} = \alpha_i + \beta L + \dots$; $\hat\beta$ from estimate_fuel_effect |
the data-driven fuel + track-evolution slope per lap of race distance | s/lap | −0.056 [−0.061, −0.050] s/lap, 76 dry races 2023–26; an upper bound on the pure fuel effect | Ch 20 |
| $s_{kg} = -\hat\beta N / F_0$ | convert the slope into seconds per kilogram (needs a start load) | s/kg/lap | 0.033 [0.031, 0.034] at 100 kg; 0.030 at 110 kg | Ch 20 |
| $\hat\beta \approx -\dfrac{T F_0}{3 m N}$ | 🧪 a cube-root physics estimate of the fuel slope | s/lap | observed / predicted median 0.94, r = 0.55 | Ch 20 |
The 2026 start-fuel load is not in the reference tables (no race fuel-mass limit was found in the 2026 regulations), so for 2026 races the chapters lead with each race's own data-driven slope.
C.10 Degradation fits
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $t_{\text{fc},a} = c + d\,a + \varepsilon$ (clean laps, stint lap 1 dropped, ≥ 8 laps) | the degradation rate $d$ is the slope of fuel-corrected lap time on tyre age within a stint | s/lap | pooled 2023–26 dry races, default correction: SOFT 0.064, MEDIUM 0.051, HARD 0.048 s/lap (3,262 stints) | Ch 4, Ch 22 |
| $d_{\text{default}} = d_{\text{raw}} + 0.03 \times 100 / N$ | the default correction adds a constant to every raw slope | s/lap | +0.0526 s/lap at $N$ = 57; +0.042 at $N$ = 71. Raw MEDIUM 0.003, HARD −0.002 | Ch 22 |
| $t(a) = c_0 + c_1(a - \bar a) + c_2(a - \bar a)^2$ | a quadratic stint fit; $c_2 > 0$ means wear accelerates. The curvature does not depend on the fuel correction | s/lap² | convex in 63.5% of 3,262 stints; median $c_2$ 0.0015 s/lap² | Ch 5 |
| $t = \text{base} + \beta_{\text{fuel}}(L - N) + \delta_c + k_c\,a + \varepsilon$ | the lap-time decomposition: fuel, compound offset and wear added to a base pace | s | the chapter's threshold concept | Ch 4 |
| $\Delta = \overline{t}_{\text{new},1..3} - \overline{t}_{\text{old},-3..-1}$ | the fresh-tyre delta: new set vs old set across a stop | s/lap | −1.078 s/lap [−1.124, −1.046], n = 1,594 stops (default correction) | Ch 4, Ch 12 |
| $\Delta T \approx 0.0017 \times \Delta T_{\text{track}}$ | wear rises with track temperature, within a circuit | s/lap per °C | +0.017 s/lap per +10 °C [0.008, 0.026] | Ch 4, Ch 22 |
⚠️ Common pitfall: quoting a degradation rate without its fuel correction. Raw MEDIUM and HARD slopes are close to zero because falling fuel load hides the wear. Always say "raw", "default (100 kg × 0.03 s/kg)" or "data-driven" next to the number. Appendix H tabulates all three by compound and season.
C.11 Strategy: pit loss, break-even and the critical degradation rate
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $P = (t_{\text{in}} + t_{\text{out}}) - 2\,t_{\text{ref}}$ | green-flag pit loss: the in- and out-laps minus two normal laps | s | pooled median 22.512 s (n = 1,921); Spa 19.274 s to Imola 28.164 s | Ch 12 |
| $P_{\text{SC}}$, $P_{\text{VSC}}$ (near-field variant) | the same stop measured against nearby cars over the same two laps | s | SC 12.722 s [11.02, 14.50] (n = 137); VSC 15.671 s [14.48, 16.82] (n = 106) | Ch 14 |
| $n_{\text{be}} = P/\Delta$ | a stop pays for itself after this many laps on fresh tyres, if the advantage stays constant | laps | 22.512 / 1.078 = 20.9 laps (17.9 at Spa, 26.1 at Imola) | Ch 12 |
| $W_k = \dfrac{dN}{2}\left(\dfrac{N}{k+1} - 1\right)$ | total wear time with $k$ stops and equal stints | s | $d$ = 0.051, $N$ = 57: a second stop saves 13.81 s of wear | Ch 12 |
| $d^{*}_{k\to k+1} = \dfrac{2(k+1)(k+2)(P + w)}{N^2}$ | the extra stop pays only if the tyre wears faster than this | s/lap | $N$ = 57, $P$ = 22.512, $w$ = 0: 0.0831 s/lap for a 2nd stop, 0.1663 for a 3rd; $N$ = 66, $P$ = 23.682: 0.0652 | Ch 12 |
| $s^{*} = \dfrac{d_2 N + o_2 - o_1 + (d_1 - d_2)/2}{d_1 + d_2}$ | the best stop lap for a one-stop with two compounds (offsets $o$, rates $d$) | lap | Barcelona 2026, M → H: lap 26.6 (search: 27) | Ch 12 |
| $G \approx R\,d\,a - \Delta_{\text{SC}}$ | rough gain from an extra stop under a neutralisation | s | — (inputs vary by race) | Ch 14 |
🔍 Why this works: the $N^2$ in the critical rate comes from wear accumulating as a triangle inside each stint. Halving every stint more than halves the wear, but you pay a fixed price per stop. That is why race length matters as much as the wear rate.
C.12 Probability: Poisson hazards
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $\hat\lambda = \dfrac{\text{events}}{\text{laps at risk}}$ | the per-lap hazard of a neutralisation | 1/lap | 2023–26: lap 1 = 16/91 = 0.176; laps 2–$N$ = 102/5,106 = 0.0200; SC-only, all laps 0.0115 | Ch 14 |
| $P(\ge 1 \text{ in laps } a..b) = 1 - \exp\!\left(-\sum_{L=a}^{b}\lambda_L\right)$ | chance of at least one event in a window of laps | – | 57-lap race: 67.3% from laps 2–57, 72.6% including lap 1 | Ch 14 |
| $P(K \ge 1) = 1 - e^{-\mu}$ | at least one event per race, if counts are Poisson with mean $\mu$ | – | $\mu$ = 62 SC deployments / 91 races = 0.68 → 49.4%, against 48.4% observed | Ch 14 |
| $k_c = \text{observed}/\text{expected}$ | a circuit's multiplier on the base hazard | – | Singapore $k$ = 1.33 (0.89–1.91), pooled | Ch 14 |
| $\log E[Y] = \beta_0 + \beta_1 x + \dots$ | Poisson regression; $e^{\beta}$ is a rate ratio | – | green passes, 2026 vs 2025: rate ratio 1.76 [1.36, 2.28] (38 races, circuit FE) | Ch 29 |
| $h = 1 - (1 - p_{\text{DNF}})^{1/N}$ | per-lap retirement hazard implied by a race DNF rate | 1/lap | DNF rate 18.3% of 2026 starters (status-based): over 57 laps, $h = 1 - 0.817^{1/57}$ = 0.0035 per lap | Ch 29, Ch 37 |
C.13 Betting: implied probability and Kelly
| Equation | Reading | Units | Worked number | Develops it |
|---|---|---|---|---|
| $q = 1/o$ | the probability a decimal price implies (before removing the margin) | – | price 1.80 → 0.556 | Ch 38 |
| $\text{edge} = p\,o - 1$ | expected profit per unit staked if your probability $p$ is right | – | $p$ = 0.626 (pole → win, 2023–26), price 1.80 (assumed): +0.127 | Ch 38 |
| $f^{*} = \dfrac{b p - (1-p)}{b}$, $b = o - 1$ | the Kelly fraction: the share of the bankroll that maximises long-run growth | – | same inputs: $f^{*}$ = 0.159; half-Kelly 0.079 | Ch 38 |
| $\text{LL} = -\ln p_{\text{winner}}$ | log loss of a race forecast; the score the Kelly criterion is built on | nats | uniform 22-car forecast: $\ln 22$ = 3.09 | Ch 26 |
The 1.80 price is an illustrative assumption: the book's data snapshot contains no bookmaker odds. The 0.626 is the measured pole-to-win rate for 2023–2026; using a base rate as $p$ ignores everything else you know about the race, which is exactly the point Chapter 38 develops.
C.14 Units and conversions
| From | To | Multiply by | Example |
|---|---|---|---|
| km/h | m/s | 1/3.6 | 330 km/h = 91.67 m/s |
| km/h | mph | 1/1.609344 | 330 km/h = 205.1 mph; 300 km/h = 186.4 mph |
| m/s | km/h | 3.6 | 83.33 m/s = 300 km/h |
| kW | hp (mechanical) | 1/0.74570 | 120 kW = 161 hp; 350 kW = 469 hp; 400 kW = 536 hp |
| kW | PS (metric hp) | 1/0.73550 | 350 kW = 476 PS |
| MJ | kWh | 1/3.6 | 4 MJ = 1.111 kWh; 8.5 MJ = 2.361 kWh |
| MJ/h | kW | 1/3.6 | 3,000 MJ/h = 833 kW |
| kg/h × MJ/kg | kW | 1/3.6 | 100 kg/h × 43 MJ/kg 🧪 = 1,194 kW |
| g | m/s² | 9.80665 (book code uses 9.81) | 5 g = 49.0 m/s² |
| kg/m³ | lb/ft³ | 0.0624 | 1.225 kg/m³ = 0.0765 lb/ft³ |
| hPa | Pa | 100 | 781.9 hPa = 78,190 Pa |
| °C | K | + 273.15 | 26.4 °C = 299.55 K |
Common speeds for reference: 80 km/h (the default pit-lane limit) = 22.22 m/s = 49.7 mph; 200 km/h = 55.56 m/s = 124.3 mph; 350 km/h = 97.22 m/s = 217.5 mph.
C.15 Air density from weather
Downforce, drag and the engine's air supply all scale with air density, so every cross-circuit aero comparison should start from the session's weather. OpenF1 gives station pressure (hPa), air temperature (°C) and relative humidity (%) for every session.
Dry air (ideal gas):
$$\rho = \frac{p}{R_d\,T}, \qquad R_d = 287.05\ \text{J/(kg·K)}$$
In words: density is pressure divided by the gas constant times the absolute temperature. Higher altitude (lower $p$) and hotter air (higher $T$) both thin the air.
Moist air:
$$\rho = \frac{p - p_v}{R_d T} + \frac{p_v}{R_v T}, \qquad R_v = 461.5\ \text{J/(kg·K)}, \qquad p_v = \frac{RH}{100}\times 610.94\,\exp\!\left(\frac{17.625\,T_c}{T_c + 243.04}\right)$$
In words: water vapour is lighter than dry air, so humid air is slightly thinner; the saturation pressure
uses the Magnus approximation. This is boxbox.aero.air_density(pressure_hpa, temp_c, humidity_pct).
Worked example: the 2026 Mexico City Grand Prix qualifying session (session medians from the OpenF1
weather table, computed in appendix_c_checks.py):
Mexico City 2026 Q: p = 781.9 hPa, T = 26.4 C, RH = 30%
dry: rho = 781.9*100 / (287.05 * 299.55) = 0.909 kg/m3
moist: rho = 0.905 kg/m3 (Magnus vapour pressure)
median of the other 20 2026 Q sessions (moist): 1.147 kg/m3; Mexico -21.1%
highest 2026 Q session: shanghai 1.223 kg/m3
ISA sea-level standard (CarParams default): 1.225 kg/m3
The air at the Autódromo Hermanos Rodríguez was about a fifth thinner than at a typical 2026 qualifying session. Every aero force in C.3 falls by the same fraction at equal speed: the car makes about 21% less downforce and 21% less drag. Mexico 2026 also produced the season's fastest speed-trap reading (351 km/h, Chapter 1). Note that the ideal-gas value here (0.909) and Chapter 1's (0.909) match, and the moist-air value (0.905) matches Chapter 3's.
The full 2026 qualifying table from the script (session medians; ρ in kg/m³):
| Rd | Circuit | p (hPa) | T (°C) | RH (%) | ρ dry | ρ moist |
|---|---|---|---|---|---|---|
| 1 | albert_park | 1013.5 | 20.5 | 63.7 | 1.202 | 1.195 |
| 2 | shanghai | 1023.5 | 17.7 | 34.5 | 1.226 | 1.223 |
| 3 | suzuka | 1008.7 | 16.5 | 51.3 | 1.213 | 1.209 |
| 4 | miami | 1010.1 | 33.9 | 30.5 | 1.146 | 1.139 |
| 5 | villeneuve | 1028.6 | 21.3 | 24.4 | 1.217 | 1.214 |
| 6 | monaco | 1017.5 | 23.7 | 54.4 | 1.194 | 1.187 |
| 7 | catalunya | 1006.3 | 30.7 | 27.7 | 1.154 | 1.148 |
| 8 | red_bull_ring | 943.0 | 33.4 | 25.4 | 1.072 | 1.066 |
| 9 | silverstone | 1007.6 | 25.2 | 48.0 | 1.177 | 1.170 |
| 10 | spa | 968.4 | 20.9 | 55.5 | 1.147 | 1.141 |
| 11 | hungaroring | 984.2 | 26.8 | 23.2 | 1.143 | 1.139 |
| 12 | zandvoort | 1020.9 | 18.2 | 56.7 | 1.221 | 1.215 |
| 13 | monza | 994.6 | 34.0 | 34.4 | 1.128 | 1.120 |
| 14 | madring | 943.0 | 30.9 | 17.9 | 1.080 | 1.077 |
| 15 | baku | 1023.9 | 24.5 | 68.7 | 1.198 | 1.189 |
| 16 | sepang | 1006.5 | 32.8 | 49.7 | 1.146 | 1.135 |
| 17 | marina_bay | 1010.3 | 29.8 | 75.1 | 1.162 | 1.148 |
| 18 | americas | 1001.8 | 29.7 | 38.9 | 1.152 | 1.145 |
| 19 | rodriguez | 781.9 | 26.4 | 30.1 | 0.909 | 0.905 |
| 20 | interlagos | 922.4 | 20.6 | 92.4 | 1.094 | 1.084 |
| 21 | vegas | 941.1 | 13.2 | 33.5 | 1.145 | 1.142 |
⚠️ Common pitfall: using a sea-level density (1.225 kg/m³) everywhere. It overstates aero forces by about 7% at a typical warm 2026 session and by about 35% at Mexico City. Chapter 1 also found that Mexico's thin air did not produce a detectable shift in apex grip (residual −0.04 g, n = 8), so density matters most on the straights, where drag and the engine's breathing set the speed.
Where each equation lives
| Topic | Chapter | Box Box module |
|---|---|---|
| Forces, traction circle, cornering, lap-time integral | Ch 1 | physics.py |
| Drag, downforce, air density | Ch 3 | aero.py |
| Degradation, warm-up, cliff, decomposition | Ch 4 | tyres.py |
| Magic Formula, thermal model | Ch 5 | pacejka.py |
| Power, energy, deployment, fuel flow | Ch 6 | power.py |
| Braking distance and energy | Ch 7 | brakes.py |
| Load transfer, mechanical grip | Ch 8 | setup.py |
| Lap simulation | Ch 11 | lapsim.py |
| Break-even, critical degradation, one-stop optimum | Ch 12 | strategy.py |
| Neutralisation hazards | Ch 14 | neutralisation.py |
| Fuel correction, race pace | Ch 20 | pace.py |
| Degradation modelling | Ch 22 | degradation.py |
| Kelly and odds | Ch 38 | betting.py |
The statistical tools behind the intervals quoted here (Wilson, bootstrap, exact Poisson) are in Appendix E. Metric definitions are in Appendix D.