Case Study 1 — Thin Air in Mexico City: The 2026 Pole Lap at 350 km/h

Setup

On 31 October 2026, in qualifying for the Mexico City Grand Prix, Lewis Hamilton put his Ferrari on pole with a 1:16.514. George Russell's Mercedes was 0.009 s behind, Charles Leclerc third at 0.119 s, Max Verstappen fourth at 0.178 s and the soon-to-be champion Andrea Kimi Antonelli fifth at 0.193 s. Two cars separated by nine thousandths of a second over 4.3 km: a gap you could lose in a single sample of telemetry.

This case is not really about the nine thousandths, though. It is about the air. Every aerodynamic force in Chapter 1 carries the factor $\rho$, the air density:

$$F_L = \tfrac12 \rho\, C_L A\, v^2, \qquad F_D = \tfrac12 \rho\, C_D A\, v^2$$

The Autódromo Hermanos Rodríguez sits at high altitude, which means lower air pressure, which means thinner air. Thinner air means less drag (good for top speed) and less downforce (bad for corners). The question for this case is simple to ask and harder to answer: can we see the thin air in the free data?

The data

  • Weather: OpenF1 records air temperature and pressure about once a minute at every session. From those, the ideal-gas law gives density: $\rho = p / (R\,T)$, with $R$ = 287.05 J/(kg·K) for dry air and $T$ in kelvin. (Humidity changes density by well under 1% at track conditions; we ignore it.) The function is physics.air_density(pressure_hpa, temp_c).
  • Speed traps: OpenF1's laps table carries st_speed, the official timing-loop speed trap, for each lap.
  • Telemetry: car data (≈3.7 Hz) for the two front-row laps; position data for the apex analysis.
  • Apexes: the 144 corner apexes on 2026 dry pole-quality laps from Chapter 1's code/05_downforce_in_the_data.py.

Everything is reproduced by code/case_study_01.py.

Analysis

Step 1: how thin is the air?

2026 qualifying sessions: air density from the session weather (ideal gas, dry air)
      circuit  pressure_hpa  air_c   rho  trap_max_kmh  trap_p90_kmh
    rodriguez         781.9  26.40 0.909         351.0         350.0
red_bull_ring         943.0  33.40 1.072         323.0         315.0
      madring         943.0  30.90 1.080         309.0         302.0
   interlagos         922.4  20.60 1.094         266.0         251.7
        monza         994.6  34.00 1.128         338.0         327.0
 ...
    zandvoort        1020.9  18.20 1.221         331.0         315.0
     shanghai        1023.5  17.70 1.226         322.0         313.0

Mexico City rho = 0.909 kg/m³ vs median of the other 20 sessions 1.153 (-21.1 %)

The Mexico City session's median pressure was 781.9 hPa, against roughly 1,000–1,030 hPa at sea-level circuits. At 26.4 °C that gives 0.909 kg/m³: 21.1% thinner than the median of the other twenty 2026 qualifying sessions. No other circuit is close; the next-lowest are the Red Bull Ring and the Madring (Madrid) at about 1.07–1.08 kg/m³. Note how much temperature matters too: hot Monza (34.0 °C) has lower density than cool Silverstone despite similar pressure.

📐 Definition: Air density $\rho$ is mass of air per cubic metre. Every aerodynamic force is proportional to it, so a 21% drop in $\rho$ means, for an unchanged car, 21% less downforce and 21% less drag at the same speed.

Step 2: the straight-line consequence

Less drag means a higher top speed for the same power. The drag power is $P = \tfrac12 \rho\, C_D A\, v^3$, so at fixed power $v_{\max} \propto \rho^{-1/3}$. A 21.1% drop in density, other things equal, would raise top speed by a factor of $(1/0.789)^{1/3} = 1.082$: about 8%.

Air density against the fastest speed-trap reading in each 2026 qualifying session

📊 Figure (described): For each 2026 qualifying session, the fastest speed-trap reading against the session's air density. Mexico City (diamond) is isolated at the far left with the lowest density (0.909 kg/m³) and the highest trap speed (351 km/h). The other sessions scatter between 266 and 341 km/h at densities of 1.07–1.23 kg/m³, with no clear trend among them: trap location and straight length matter more than small density differences.

Mexico City produced the highest speed-trap reading of the 2026 season's qualifying sessions on disk, 351 km/h, and its 90th-percentile trap speed (350 km/h) is higher than every other session's maximum. Among the other twenty sessions, though, there is no visible trend with density. That is a lesson in confounding: the speed trap sits at a different place on each circuit, after a straight of different length, and teams choose a different rear wing for each. Mexico's density is so far outside the others that it shows through anyway. The sampled telemetry tells the same story: Hamilton's lap and Russell's both peak at 350 km/h in the car data, and the same circuit gave a sampled maximum of 351 km/h on Norris's 2025 pole lap at a density of 0.908 kg/m³.

2025 Mexico pole NOR (mclaren) 75.586 s, sampled top 351 km/h, rho 0.908
2026 Mexico pole HAM (ferrari) 76.514 s, sampled top 350 km/h, rho 0.909

The 2026 pole was 0.928 s slower than 2025's, consistent with the book's season-wide finding that 2026 dry poles at the same circuits were a median 2.48% slower (Chapter 29). Mexico's own gap is 1.23%, smaller than the median.

Step 3: the front-row duel

HAM: 76.514 s, quality {'ok': True, 'frozen_s': 0.84, 'max_gap_s': 1.2, 'max_jump_g': 5.3, 'distance_ratio': 0.9863}, top 350 km/h, full throttle 58.9 %
RUS: 76.523 s, quality {'ok': True, 'frozen_s': 0.0, 'max_gap_s': 1.2, 'max_jump_g': 5.1, 'distance_ratio': 0.9858}, top 350 km/h, full throttle 56.8 %
Delta at the line: 0.009 s; largest deficit for RUS: 0.325 s at 3780 m; largest lead: -0.050 s at 1035 m

Hamilton vs Russell, 2026 Mexico City GP qualifying: speed and delta

📊 Figure (described): Speed traces of Hamilton's 1:16.514 and Russell's 1:16.523 with the time gap below (positive = Russell behind). The two traces are nearly identical; Russell is slightly ahead on the opening straight (−0.050 s at 1,035 m), drops behind through the first braking zone and the following corners (about +0.2 s), gradually recovers, and shows a sharp spike to +0.325 s in the slow stadium section near 3,780 m that collapses again within 100 m, ending 0.009 s behind.

Both laps pass the quality gate (Hamilton's has a 0.84 s stretch where speed and rpm repeat, under the 2 s threshold). The delta trace is a warning as much as a result. The spike to +0.325 s at 3,780 m, in the slowest part of the lap, recovers almost entirely within about 100 m. A real 0.3 s deficit does not evaporate in 100 m. What we are seeing is mostly alignment error: the toolkit's delta_time rescales Russell's integrated distance uniformly to match Hamilton's, and at 64 km/h a few metres of misalignment is a few tenths of a second. The book's Anchor A analysis of Suzuka found the same artefact at the hairpin and fixed it by anchoring each lap to the official sector lines (Chapter 19). The trustworthy reading here is modest: two laps within a hundredth, with Russell slightly behind after the first sector and slowly recovering. Full-throttle shares differ by two points (58.9% against 56.8%), which at this resolution is a hint about driving style, not a finding.

Step 4: do Mexico's corners show the missing downforce?

If density enters the downforce term, Mexico's apexes should sit below the season's line of lateral g against $v^2$, increasingly so at high speed. We fit the 2026 line on the other circuits and compare:

2026 line without Mexico: a_y = 1.530 + 6.536e-4 v² (n = 136)
Mexico apexes vs that line:
 dist_m  v_kmh  ay_g  pred  resid
 1275.0  96.39  1.72  2.00  -0.27
 2090.0  71.46  1.59  1.79  -0.19
 2235.0  80.08  1.56  1.85  -0.30
 2570.0 177.57  3.54  3.12   0.42
 2935.0 174.03  3.55  3.06   0.49
 3605.0 136.00  2.60  2.46   0.13
 3785.0  63.60  1.47  1.73  -0.27
 3955.0 103.00  1.73  2.06  -0.33
Mexico mean residual -0.04 g (n = 8); other circuits' residual SD 0.84 g
All 2026 apexes: R² with v² = 0.417; with rho·v² = 0.409

Mexico City's apexes against the 2026 season line

📊 Figure (described): Estimated apex lateral g against apex speed for 136 apexes at the other 2026 circuits (grey), the line fitted to them, and Mexico City's eight apexes (diamonds). The six Mexico apexes below 140 km/h sit slightly below the line (by 0.2–0.3 g); the two fast ones, at about 175 km/h, sit above it (by about 0.4–0.5 g). On average Mexico is on the line.

The prediction fails, or at least the data cannot confirm it. Mexico's eight apexes are, on average, on the line (mean residual −0.04 g), and the two fast apexes, where missing downforce should hurt most, sit above it. Replacing $v^2$ by $\rho v^2$ in the regression does not improve the fit (R² 0.409 against 0.417).

Why might that be?

  • Teams adapt. The point-mass model assumes the same car everywhere. A plausible reading is that teams fit higher-downforce wings in Mexico to win back some of the lost load, a choice the thin air makes cheaper because drag is down too. The data cannot confirm what wing anyone ran.
  • The test has little power. Eight apexes, against a residual scatter of 0.84 g at the other circuits, cannot detect an effect of a few tenths of a g. A 21% cut in the downforce term at 175 km/h would be worth about 0.3 g on the fitted line, smaller than the scatter.
  • Our lateral estimates are noisy. Chapter 1 showed they carry an upward bias at high speed. Any bias that differs between circuits swamps a small density effect.

What it means (and doesn't)

  • It means the thin air is clearly visible where the physics is simple and the effect is large: Mexico's density is 21% below the season median, and the season's highest trap speeds are there.
  • It means a straight-line analysis is easier than a corner analysis. Top speed depends on two numbers (power and $\rho C_D A$); cornering depends on downforce, tyres, setup and the driver all at once.
  • It doesn't mean that downforce is unaffected by density. The physics is not in doubt. What we learned is that this dataset, with this method, cannot measure the effect, because teams change the car and our corner estimates are too noisy. "We could not detect it" is a result; "it isn't there" would be an error.
  • It doesn't mean Hamilton beat Russell in any particular corner. At 0.009 s the honest conclusion is a dead heat that went Hamilton's way.

Discussion questions

  1. Using $v_{\max} \propto \rho^{-1/3}$, how much top speed would a car gain moving from Zandvoort's 2026 qualifying density (1.221) to Mexico's (0.909), all else equal? Why is the observed difference in trap speeds (331 against 351 km/h) not a test of that prediction?
  2. Monza's density in 2026 qualifying (1.128 kg/m³ at 34.0 °C) was lower than Silverstone's (1.177 at 25.2 °C) at almost the same pressure. What does that say about planning setups from the calendar alone?
  3. The delta trace shows a 0.325 s spike that collapses within 100 m. List two ways to tell an alignment artefact from a real time loss.
  4. Suppose you had 80 apexes at Mexico instead of 8, and the mean residual was still −0.04 g. What would you then conclude about teams' downforce choices there?
  5. The power unit also breathes air. Why might the 2026 rules (a larger electrical share of power) change how much altitude costs an engine? (See Chapter 6.)

Your turn

Repeat Step 4 for 2025 using the 2025 apexes in code/output/apex_points.csv (2025 Mexico pole: Norris, ρ = 0.908 kg/m³). Fit the 2025 line without Mexico, compute Mexico's mean residual and its standard error ($\text{SD}/\sqrt{n}$), and say whether 2025 tells a different story from 2026. Then pool both seasons with a season indicator and test whether a $\rho v^2$ term beats $v^2$. Report n, the coefficients and their intervals, and one sentence on what the data can and cannot say.