Case Study 1 — Mexico City 2026: Pole by Nine Thousandths
Setup
On 31 October 2026, in qualifying for the Mexico City Grand Prix, Lewis Hamilton put his Ferrari on pole with 1:16.514. George Russell's Mercedes was 0.009 s behind on 1:16.523. In the book's data snapshot that is the third-closest dry pole of 2023–2026, behind only the 2024 Canadian dead heat (0.000 s) and Hamilton's own 2023 Hungarian pole (0.003 s). The next four cars were all within 0.21 s: Leclerc (Ferrari) 1:16.633, Verstappen (Red Bull) 1:16.692, Antonelli (Mercedes) 1:16.707 and Norris (McLaren) 1:16.728 in Q3.
The Autódromo Hermanos Rodríguez is an unusual qualifying circuit. Its lap, 4.304 km according to the reference table, opens with one of the longest full-throttle runs of the season, from the grid to Turn 1. It sits at high altitude, and the lap ends with a slow section through the stadium. We'll apply every tool from Chapter 19 to it and ask one question: where did a nine-thousandths pole come from?
All numbers come from code/case_study_01.py.
The data
- OpenF1 laps for the session: official sector times, speed traps and segment codes. Race control's
DELETEDmessages remove 12 laps. - OpenF1 car data (about 3.7 Hz) and location for Hamilton's and Russell's fastest laps. Both pass the quality check: no frozen stretch longer than 0.44 s, no sample gap longer than 1.2 s, and integrated distance at 98.6 % of the official length.
The classification and each driver's fastest legal lap:
position acronym team_ref q1_s q2_s q3_s
1 HAM ferrari 77.341 76.953 76.514
2 RUS mercedes 77.659 77.027 76.523
3 LEC ferrari 77.506 76.944 76.633
4 VER red_bull 77.942 76.876 76.692
5 ANT mercedes 77.918 77.133 76.707
6 NOR mclaren 77.733 76.728 76.824
acronym team_ref lap_number s1 s2 s3 lap d_s1 d_s2 d_s3 i1_speed i2_speed st_speed
HAM ferrari 19 26.852 30.030 19.632 76.514 0.004 0.022 0.108 321.000 307.000 347.000
RUS mercedes 21 26.877 30.008 19.638 76.523 0.029 0.000 0.114 324.000 311.000 350.000
LEC ferrari 23 26.901 30.208 19.524 76.633 0.053 0.200 0.000 321.000 301.000 346.000
VER red_bull 10 26.848 30.237 19.607 76.692 0.000 0.229 0.083 329.000 313.000 350.000
ANT mercedes 23 26.876 30.173 19.658 76.707 0.028 0.165 0.134 329.000 309.000 350.000
NOR mclaren 14 26.991 30.193 19.544 76.728 0.143 0.185 0.020 325.000 311.000 350.000
Norris's best lap of the session, 1:16.728, came in Q2. His Q3 time was 1:16.824. That's the Q2/Q3 pitfall from Section 19.3 again, and it is why the table lists each driver's "fastest legal lap" and not his "Q3 lap".
Analysis
Step 1: the official sectors

📊 Figure (described): For Russell, Leclerc, Verstappen, Antonelli and Norris, three bars per driver show the time against Hamilton's pole lap in Sectors 1–3, and a diamond shows the whole-lap gap. Russell has a small negative S2 bar. Verstappen has a small negative S1 bar and a negative S3 bar. Leclerc and Norris have clearly negative S3 bars but large positive S2 bars. Antonelli is positive in all three. The takeaway is that four of the next five drivers beat the pole lap somewhere, but no one beat it in two sectors and matched it in the third.
Hamilton's pole lap holds none of the session's best sectors. Verstappen was fastest in Sector 1 (26.848 s, on the lap that counted, by 0.004 s), Russell in Sector 2 (30.008 s) and Leclerc in Sector 3 (19.524 s). Combining everyone's best sectors on any legal lap gives an ultimate lap of 76.300 s: Verstappen's S1 from lap 7, which was 26.768 s, plus Russell's S2 and Leclerc's S3. That is 0.214 s under pole.
The theoretical bests are revealing:
acronym theoretical actual gap_s
HAM 76.514 76.514 -0.000
RUS 76.512 76.523 0.011
LEC 76.443 76.633 0.190
VER 76.407 76.692 0.285
ANT 76.654 76.707 0.053
NOR 76.606 76.728 0.122
Hamilton's pole lap is his theoretical best. Russell's theoretical best, 76.512 s, is 0.002 s under the pole time, which means Russell was faster than Hamilton's pole lap on paper. Verstappen's theoretical best is the quickest of all, 0.107 s under pole, but it rests on a Sector 1 he set on lap 7, earlier in the session, and he left 0.285 s on the table, more than anyone else in the top six. "Pole on paper" belonged to Verstappen. Pole on the timing screen belonged to the driver who put his whole lap together.
Step 2: the delta trace

📊 Figure (described): Top panel: speed against distance for Hamilton (solid red) and Russell (dashed teal), with the speed minima numbered 1–8 in lap order. The two traces are almost indistinguishable; Russell's is a few km/h higher at the end of the back straight before corner 6. Bottom panel: Russell's gap to Hamilton. It falls slowly to about −0.06 s along the opening straight, jumps to +0.13 s through the first corner complex, eases back to around +0.03 s by 2 km, rises to +0.16 s through corners 2–3, falls again through the fast middle section, spikes to +0.29 s at the slowest corner (7), and settles at +0.009 s. The takeaway is that the lap was a sequence of swings, with the biggest spike at the slowest corner.
Delta: final +0.009 s; max +0.292 s at 3780 m; min -0.062 s at 1040 m; largest |uniform - anchored| 0.102 s
Apply the pitfall from 19.4 first. The largest point of the trace, +0.292 s at 3,780 m, sits at corner 7, the slowest point on the lap at 64 km/h. Within about 100 m the trace is back to roughly +0.12 s, and it ends at +0.009 s. A real loss of three tenths wouldn't disappear that fast. Most of that spike is alignment error amplified by low speed, exactly as at the Suzuka hairpin. The uniform and anchored versions differ by up to 0.102 s, more than at Suzuka, which is another sign that the inside of this lap is hard to resolve.
Step 3: the corner segments
segment start_m end_m delta_change_s uniform_s corner_kmh min_B_kmh
1 0.000 1682.500 0.040 0.062 96.389 97.069
2 1682.500 2162.500 0.084 0.109 71.463 68.942
3 2162.500 2402.500 0.017 -0.002 80.079 80.130
4 2402.500 2752.500 -0.079 -0.083 177.568 183.000
5 2752.500 3270.000 -0.053 -0.062 174.034 174.037
6 3270.000 3695.000 0.062 0.062 136.000 134.240
7 3695.000 3870.000 0.062 0.059 63.604 67.000
8 3870.000 4245.233 -0.125 -0.137 103.000 105.503
(+ = Russell lost time to Hamilton. corner_kmh is Hamilton's minimum speed; min_B_kmh is Russell's.)
Apply the robustness rule (same sign, within 0.05 s). Seven of the eight segments pass. Segment 3 doesn't: it is +0.017 s anchored and −0.002 s uniform, too small to call. The robust picture is:
- Hamilton gained in the first corner complex (segment 1, +0.040 s, which includes the long opening straight), in the slow corner 2 (+0.084 s, where his minimum was 2.5 km/h higher), and in corners 6 and 7 (+0.124 s together).
- Russell gained through the faster middle section, corners 4 and 5 (−0.132 s together, where his minimum at corner 4 was 5.4 km/h higher), and in the final corner (−0.125 s).
Segments 7 and 8 need a second look. Segment 7 (+0.062 s to Hamilton) and segment 8 (−0.125 s to Russell) are adjacent, both slow, and they partly cancel. Russell's minimum speed was higher in both (67.0 vs 63.6 km/h, and 105.5 vs 103.0 km/h). The boundary between them falls in a slow section where a few metres of misalignment move time from one segment to the other. The sum of the two (−0.063 s) is more trustworthy than either part.
Step 4: the mini-sector map

📊 Figure (described): The circuit outline from Hamilton's location data, cut into 20 equal pieces of about 212 m, coloured red (Hamilton faster, solid) or teal (Russell faster, dashed). Hamilton's five pieces are the braking zone into corner 1, the corner 2–3 complex, and the stretch from corner 6 into corner 7. Russell's 15 cover the long straights and the fast middle section. The takeaway is that Hamilton won fewer, shorter pieces, all in braking zones and slow corners, and they were enough.
20 mini-sectors: HAM faster in 5, RUS in 15; median |swing| 0.024 s, largest 0.146 s
The median mini-sector swing, 0.024 s, is smaller than the noise of a single telemetry mini-sector time from Section 19.6 (about 0.034 s). Most of the 20 pieces are not individually resolved. The pattern is still informative, because it agrees with an independent measurement, the speed traps. Russell was faster at all three: 324 vs 321 km/h at the first intermediate, 311 vs 307 km/h at the second, and 350 vs 347 km/h at the speed trap. A car that is faster on the straights, losing to a car that is better in the slow corners, is a story the traps, the segments and the map all tell independently.
What it means (and doesn't)
What the data support. The pole margin of 0.009 s is the net of sector swings of 0.025 s, 0.022 s and 0.006 s. Within the lap, the robust segments move by up to 0.13 s in each direction. Russell's lap was faster at every speed trap and through the fast middle section. Hamilton's was faster in the slow corners 2, 6 and 7 and through the braking zone into corner 1. On paper (theoretical best) Russell had the fractionally quicker lap, and Verstappen the quickest of all. In practice Hamilton was the one whose best sectors all came on the same lap.
What they don't. The data can't say whether Russell's straight-line advantage came from the car's drag, energy deployment, a tow from a car ahead, or the driver's exit from the previous corner. There is no ERS channel, no aero state, and no way to tell from car data alone whether another car was close ahead. Nor can it say why Hamilton was quicker in the slow corners: brake pressure and steering aren't in the feed. "Ferrari has better traction" or "Mercedes has less drag" would be readings of these numbers, not findings from them, and one lap is too few to make them about the cars rather than the laps.
The general lesson. When two laps are within a hundredth, most of the detail inside the lap is close to the noise floor. The robust statements are the official sectors, the speed traps, and the corner segments where both alignments agree. Everything else is a hypothesis to test across more sessions.
Discussion questions
- Russell's theoretical best (76.512 s) was below Hamilton's pole time. Does that make Russell the "moral" pole winner? What would you need to know about when each of Russell's best sectors was set?
- Segments 7 and 8 are adjacent slow corners that partly cancel. Propose a rule for merging segments whose boundary falls at low speed, and say what it would do to the Suzuka table in Section 19.5.
- Hamilton won 5 of 20 mini-sectors and took pole. Write one sentence for a broadcast graphic that conveys this honestly without the misleading count.
- The speed traps favoured Russell by 3–4 km/h. Using the slope formula from 19.4, roughly how much time is a 3 km/h deficit worth over 1,000 m of straight at 330 km/h? Is that consistent with segment 1?
- Which of the statements in "What the data support" would you be prepared to state on air, and which would you hedge?
Your turn
Run code/case_study_01.py on 2026 Madring qualifying (Norris 1:31.824 against Antonelli 1:31.835, a gap of
0.011 s, with Antonelli 0.280 s faster in Sector 3). Change the session line to
f1data.session(2026, "madring", "Q") and the official length to 5,414 m (from the reference table). Produce the
same three charts. Then answer: is the Sector 3 swing visible as one robust corner segment, or is it spread
across several? Do the speed traps tell the same story as the mini-sector map? Write a five-sentence verdict that
separates what the data support from what they don't.