Chapter 10 Exercises — The Circuit
Difficulty: ⭐ concept check · ⭐⭐ calculation or short analysis · ⭐⭐⭐ multi-step analysis or judgment · ⭐⭐⭐⭐ open-ended project
All data exercises run offline from the book's data snapshot through the toolkit and project/boxbox/circuit.py. Run scripts from the chapter directory. Where an answer is given, it comes from the chapter's own runs; if your number differs, check your filters first.
Part A — Concepts ⭐
A1. Explain in two sentences why the lap-time integral $T = \oint ds/v$ makes slow corners disproportionately important.
A2. The chapter measures full-throttle share by distance, not by time. Which circuits would look less flat-out if you measured by time instead, and why?
A3. Official turn counts and detected corners differ: 19 vs 9 at Monaco in 2026, and 18 vs 6 at Silverstone. Give two reasons, and say which count a lap simulator should use.
A4. What does the quality check reject, and why does it matter more for a profile built from five laps than for one built from 50?
A5. Define the k-means silhouette score in words. What does a silhouette of 0.31 tell you about how "natural" the circuit types are?
A6. Why is the location z channel useless for measuring altitude above sea level, and what in our data does reveal altitude?
A7. Distinguish green-flag pit loss, pit-lane time and stationary time. Which one varies most between circuits, and why?
A8. In section 10.7, why does the band decomposition sum exactly to the lap-time gap?
A9. Name three circuit properties that matter to performance and that are not in our data. For each, suggest an indirect signal we do have.
A10. Why did the median number of pit stops per circuit fail to correlate with either the pit loss or the degradation index?
Answers (Part A)
- A1. Time per metre is $1/v$, so a metre at 80 km/h costs four times as much as a metre at 320 km/h. The same small speed loss in a slow corner therefore costs much more time than on a straight.
- A2. Slow, twisty circuits such as Monaco and Marina Bay. Time-weighting gives more weight to slow sections, where the throttle is partly open, so their share of time at full throttle is lower than their share of distance.
- A3. Official counts include kinks, double apexes and flat-out bends. The detector requires a speed drop of at least 20 km/h. A lap simulator should use the curvature of the track map (Chapter 11), not either count. If it needs corners as events, it should use speed-limited corners.
- A4. It rejects frozen telemetry (speed and rpm repeating while moving for more than 2.0 s), sample gaps above 1.5 s, and integrated distance outside 97–102 % of the official length. With five laps, one bad lap is 20 % of the sample and can move the median.
- A5. For each circuit, silhouette compares the mean distance to its own cluster with the mean distance to the nearest other cluster, scaled to −1…1. A value of 0.31 means the circuits form a continuum with soft boundaries, not tight islands.
- A6. z is relative within each lap and has an arbitrary origin. The weather station's air pressure reveals altitude: 781 mbar in Mexico City against about 1,000 mbar at most circuits.
- A7. Pit-lane time runs from entry line to exit line. Stationary time is the wheels-stopped part, which our data almost never hold. Pit loss is the lap-time cost relative to staying out. Pit loss varies most (19.3 s at Spa to 28.2 s at Imola), because it depends on how much track the pit lane bypasses.
- A8. The bands partition the reference lap's distance grid, and the time gap is the sum of per-step differences. Every 5 m step lands in exactly one band.
- A9. Examples: surface roughness (indirect: the deg index, though Pirelli's compound choice confounds it); kerb aggressiveness (indirect: track-limits deletions in race control); wind on each straight (indirect: OpenF1 weather wind speed and direction, combined with the track map's straight headings).
- A10. Stop counts depend on what happened in each race: safety cars, red flags, weather and circuit-specific rules (Monaco 2025 required at least three sets). With only 2–4 dry races per circuit, those events dominate the medians.
Part B — Calculations & Physics ⭐⭐
B1. Cornering speed with downforce. Using the 🧪 parameters of section 10.1 ($m$ = 800 kg, $\mu$ = 1.6, $C_LA$ = 4.0 m², $\rho$ = 1.161 kg/m³), compute $v_{\max}$ for $R$ = 80 m with and without downforce.
Solution
Without downforce: $\sqrt{1.6 \times 9.81 \times 80} = \sqrt{1255.7} = 35.4$ m/s = 127.6 km/h.
With downforce: the denominator is $1 - (1.6 \times 1.161 \times 4.0 \times 80)/(1600) = 1 - 0.3715 = 0.6285$, so $v^2 = 1255.7/0.6285 = 1998$, $v = 44.7$ m/s = 160.9 km/h.
Downforce is worth +26 %, between the 8 % at 30 m and the 81 % at 150 m.
B2. Mexico City's air. In qualifying the median pressure was 781.2 mbar and the median air temperature 26.3 °C. Compute $\rho$. Then compute the drag at 300 km/h as a fraction of the drag at Suzuka (1,011.0 mbar, 15.6 °C) at the same speed.
Solution
$\rho_{\text{MEX}} = 78{,}120 / (287.05 \times 299.45) = 0.909$ kg/m³. $\rho_{\text{SUZ}} = 101{,}100 / (287.05 \times 288.75) = 1.220$ kg/m³.
Drag scales with $\rho$ at a fixed speed, so the ratio is $0.909/1.220 = 0.745$: 25.5 % less drag in Mexico City.
B3. Power-limited top speed. If top speed is set by $P = \tfrac12\rho C_DA v^3$, what top-speed gain does the density ratio 0.783 (Mexico City against the calendar median) predict? The measured 2026 values were 350 km/h against a median of 330.5 km/h. Compare the two, and give one reason they differ.
Solution
$v \propto \rho^{-1/3}$, so the predicted ratio is $(1/0.783)^{1/3} = 1.085$: +8.5 %, or about 358.7 km/h from a 330.5 km/h base. The measured ratio is 350/330.5 = 1.059, or +5.9 %.
Possible reasons: the power unit's output also falls in thin air; Mexico City's longest straight (1,011 m) may end before the car reaches its terminal speed; and sampling under-reads the true peak by a few km/h. Our data cannot separate these.
B4. Climbing Spa. Spa's steepest 500 m climb rises 36.8 m. Compute the average gradient and the extra resisting force on an 800 kg car. At 250 km/h, how much power does climbing absorb?
Solution
The gradient is $36.8/500 = 7.4$ %, so $\sin\theta \approx 0.0736$. The extra force is $mg\sin\theta = 800 \times 9.81 \times 0.0736 = 578$ N. At 69.4 m/s that absorbs $578 \times 69.4 = 40.1$ kW, power that is not available for accelerating. (The mass is a 🧪 assumption.)
B5. Break-even stint gain from geography. At the pooled medians, Spa's stop costs 19.274 s and Imola's 28.164 s. If fresh tyres are worth a constant 1.078 s/lap (the book's pooled fresh-tyre delta), how many laps must a new set run to repay the stop at each circuit?
Solution
Spa: 19.274 / 1.078 = 17.9 laps. Imola: 28.164 / 1.078 = 26.1 laps.
The same tyre advantage needs 8.3 more laps to repay a stop at Imola. That is one geometric reason extra stops are more attractive at Spa.
B6. Fade cost. On the 2026 Albert Park longest straight, the peak was 324 km/h and the lift came at 266 km/h, 585 m later. Assuming a linear fall in speed, compute the time to cover the 585 m, and compare it with holding 324 km/h.
Solution
The mean speed is 295 km/h = 81.94 m/s, giving 7.14 s. At 90.0 m/s the stretch takes 6.50 s. The difference is 0.64 s, an upper bound on the fade's cost (Case Study 2).
B7. Time share and leverage. On a lap where 11.7 % of the time is spent below 120 km/h and 23.9 % above 280 km/h, a car improves its speed by 1 % in one band only. Which improvement saves more time, and by how much on a 90 s lap?
Solution
A 1 % speed gain saves about 1 % of the time spent in that band. Below 120 km/h: $0.01 \times 0.117 \times 90 = 0.105$ s. Above 280 km/h: $0.01 \times 0.239 \times 90 = 0.215$ s.
The flat-out improvement saves more because more time is spent there. But a 1 % speed gain is far easier to find in corners (setup, tyres) than at 300+ km/h (drag and power).
B8. The aero crossover speed. With the 🧪 parameters of section 10.1, at what speed does downforce equal the car's weight? How does that speed change in Mexico City's air (0.909 kg/m³)? What does the change imply for which corners feel "aero" there?
Solution
Set $\tfrac12\rho C_LAv^2 = mg$, so $v = \sqrt{2mg/(\rho C_LA)}$.
At the calendar median: $\sqrt{15{,}696/(1.161 \times 4.0)} = \sqrt{3{,}380} = 58.1$ m/s = 209 km/h. In Mexico City: $\sqrt{15{,}696/(0.909 \times 4.0)} = \sqrt{4{,}317} = 65.7$ m/s = 237 km/h.
The crossover moves up by 28 km/h. Corners taken at 210–235 km/h, which are "aero corners" elsewhere, become weight-dominated in Mexico City's air. The car is effectively running less downforce everywhere at a given speed. That is consistent with Mexico City's median detected corner of 101.9 km/h in 2026, among the slowest on the calendar, although the layout contributes too, and our data cannot separate the two.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Analyze this session ⭐⭐. Profile the 2025 Hungarian GP qualifying with C.circuit_profile(2025, "hungaroring", with_strategy=False). Print the summary. Then compare its full-throttle share and braking zones with the 2026 Hungaroring profile.
Expected: 2025: 65.8 % full throttle and 8 braking zones. 2026: 57.7 % and 10. Explain the 8.1-point drop using Case Study 2.
C2. Compare these drivers ⭐⭐. For the 2026 Singapore GP qualifying, take the top two quality-checked laps (C.top_laps(q, n=2)). Compute telemetry.delta_time and the band split with band_losses from code/05_team_speed_band_strengths.py.
Expected shape: four band values summing to the lap gap. In a low-speed circuit, check whether more than the calendar-typical 2.4 % of the gap sits below 120 km/h.
C3. Build the profile table for 2024 ⭐⭐. Run C.profile_table(years=(2024,), with_location=False) and classify it with C.classify_circuits.
Expected (from Case Study 2): k = 3, silhouette 0.334, n = 20 dry circuits. Baku sits in the medium-speed group and Las Vegas in the high-speed group. Which 2024 circuits are missing from the 2025 table, and why?
C4. Sensitivity of the corner detector ⭐⭐⭐. Rerun C.corner_table on the 2026 Silverstone pole lap with prominence_kmh = 10, 20 and 30. How many corners does each find, and in which classes?
Expected shape: the count rises as prominence falls, mostly by adding fast corners. Report the counts and decide which threshold best matches your sense of "a corner that limits speed".
C5. Elevation from 2024 ⭐⭐. Location data for 14 of the 2024 qualifying sessions are now on disk. Use C.elevation_profile on the 2024 Spa or Red Bull Ring pole lap (whichever has location) and compare the range with the 2025–2026 values (102.0 m and 63.3–63.4 m).
Expected: agreement to within about 1 m. Larger differences suggest a feed problem; check lap_quality.
C6. Predict the race: deg by compound ⭐⭐⭐. Modify circuit_deg_index to return the index per compound (SOFT/MEDIUM/HARD). Run it for Bahrain and Baku.
Expected shape: Bahrain's index stays high on every compound, while Baku's stays near zero. Comment on whether a compound-specific index changes Bahrain's or Baku's place in Figure 10.9.
C7. Air density and the speed trap ⭐⭐⭐. Repeat the density analysis of section 10.5 using the official speed trap (laps.st_speed, the maximum per session over the top five drivers) instead of the sampled top speed, for 2025 and 2026.
Expected: Mexico City should still lead. Report Spearman ρ between density and speed-trap speed for each year, with n.
C8. Build the strategy: a geography lookup ⭐⭐. Write a function geography(circuit_ref) that returns pit loss (with n), the data-corrected deg index (with n), the break-even laps (pit loss ÷ 1.078) and the speed type. Print it for all 2026 circuits, sorted by break-even laps.
Expected: Spa first (about 17.9 laps), Losail and Sepang near the bottom (over 25 laps). Note that Sepang has no dry race, so no deg index.
C9. Analyze this session: the quality check in action ⭐⭐. For the 2026 Japanese GP qualifying, loop over the classified order and run C.lap_quality on every driver's fastest lap. Print the frozen time, the maximum gap and the distance ratio for each.
How many laps fail? Who is the first driver whose lap passes? Then build the Suzuka 2026 profile twice: once with the quality check, and once with the check disabled (take the top five laps regardless). Compare the full-throttle share and the braking-zone count.
Expected: the fastest laps of Antonelli, Russell and Leclerc all fail. Antonelli's has 25.9 s frozen. The first valid lap is Piastri's (P3). Without the check, a frozen stretch reads as constant throttle and speed, so expect the full-throttle share to be distorted. Report by how much.
C10. Compare these drivers: teammates by band ⭐⭐⭐. For every dry 2026 qualifying session, compare the two Ferrari drivers' fastest quality-checked laps with band_losses, using the faster Ferrari as the reference. Summarise the median relative deficit per band over sessions.
Is the teammate split flatter than the team-vs-team split of section 10.7? What does a flat teammate split suggest about where car differences show up and where driver differences show up?
Expected shape: one row per session and four bands, summing to the teammate gap. Expect smaller, noisier values than the team-vs-team pattern, with bootstrap intervals that mostly include zero. Report n.
C11. Predict the race: grid power by circuit type ⭐⭐⭐. Using code/output/ch10_grid_finish.csv (from 06_air_and_grid.py) and the 2026 speed types, compute the median grid–finish Spearman correlation for each speed type.
Does the low-speed type (Monaco, Marina Bay) have more grid power than the other two? Test the difference with a permutation test (shuffle type labels across circuits 10,000 times, random_state=42).
Expected: with only two low-speed circuits and 3–4 races each, the test will have little power. State the p-value and say what sample size would be needed.
Part D — Strategy & Judgment ⭐⭐⭐
D1. Call the pit stop: 2026 Barcelona GP. Re-read the 📋 scenario in section 10.6. Now change one input: suppose the VSC had come on lap 30, when Hamilton's mediums were 11 laps younger and his lead was similar. Would you still stop? Argue it lap by lap, using Barcelona's degradation index (0.105 s/lap) and the risk of needing a second stop later.
D2. Design the setup: Las Vegas vs Monaco. You run a car with Ferrari's 2026 pattern: relatively strong in medium corners, weak on straights (section 10.7). For each of Las Vegas and Monaco, would you trim the rear wing (less drag, less downforce) or add wing? Use the reference-lap time shares (Las Vegas: 42.1 % above 280 km/h; Monaco: 2.4 %) and the cornering equation to justify your choice.
D3. Use a neighbour circuit. The 2026 Qatar GP is next and has no 2026 data. Box Box's similar_circuits gives 2025 Losail's nearest neighbours as Barcelona (0.46), Albert Park (0.50) and Imola (0.52). Which neighbour's 2026 data would you borrow for (a) the expected full-throttle share and fade, and (b) the degradation index? Justify each choice, and state what could go wrong.
D4. When is a cluster label misleading? A broadcaster calls Baku "a power circuit like Monza". Using section 10.4 and the master table, write a 150-word note for the strategy team explaining in what sense this is right and in what sense it is wrong, and what it means for tyre and setup planning.
D5. Brief the drivers. You have two minutes with your drivers before the 2026 Las Vegas weekend. Using the circuit's profile (80.8 % flat out, a 1,735 m longest straight, six slow corners and no medium or fast ones, a 0.025 s/lap deg index, a 22.4 s pit loss, the lowest grid–finish correlation on the calendar at 0.45, and a coldest-of-the-year track), write the five bullet points you would give them. Each bullet must cite one number and say what it means for driving or racing.
Notes for Part D (one defensible line each)
- D1. At lap 30 the stint would be shorter and the remaining distance longer, so a second stop becomes more likely on a high-degradation circuit. The VSC discount (about 7.8 s, the book's pooled median) still makes the stop cheap. The question is whether the finish stint is too long for one set.
- D2. Las Vegas: trim. The flat-out band holds the most time and was where the deficit lay. Monaco: add wing, or at least don't trim. Almost no time is spent above 280 km/h, and the cornering term dominates.
- D3. (a) Albert Park or Barcelona 2026 for the energy-related fade: both show large fades. (b) For degradation, none of the neighbours is a safe proxy: Barcelona's is high (0.105 s/lap) and Losail's own history is low (0.019 s/lap). Use Losail's own 2023–2025 history, refitted.
- D5. For example: the straights decide the lap (80.8 % flat out), so protect exits from the six slow corners. The cold track (the coolest median race track temperature on the calendar, 17.5 °C in the book's weather tables) means tyre warm-up on out-laps. Low wear (0.025 s/lap) means a one-stop is likely. The grid is weak (ρ 0.45), so a bad qualifying is recoverable. The stop costs 22.4 s, mid-calendar, so a safety-car stop is a genuine option.
- D4. Right: Baku has the longest straight and a high full-throttle share (73.8 %). Wrong: its nine slow corners and ten braking zones make it a medium-speed, traction-and-braking circuit with low tyre wear (0.011 s/lap), unlike Monza's fast corners.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1 (with Chapter 1). Chapter 1's traction circle says a tyre can't brake and corner at full strength at once. Using a 2026 track map coloured by brake (color_by="brake"), identify a corner on the Monaco pole lap where braking continues into the turn. What does the speed trace show at that point?
M2 (with Chapter 3). Chapter 3 models drag as $\tfrac12\rho C_DAv^2$. Using the 2026 Monza and Mexico City qualifying top speeds (336 km/h and 350 km/h) and densities (1.144 and 0.909 kg/m³), what ratio of $C_DA \cdot$(1/power) between the two weekends would explain the top speeds if both were power-limited? Interpret the answer in setup terms.
M3 (with Chapter 4). Chapter 4 showed that raw race-stint slopes are near zero. Compute, for Bahrain and Baku, the raw, canonical and data-corrected deg indices (circuit_deg_index(..., correction=...)). Which correction moves each circuit most, and why?
M4 (with Chapter 7). Chapter 7 extracts braking zones. Compare our braking-zone counts with the Brembo "braking sections per lap" table in section 10.3. Re-count Suzuka 2025 using min_duration_s=0 and a 10 km/h minimum drop. Do you approach Brembo's 12?
M5 (with Chapter 9). Chapter 9 measured the driver's physical load. Which circuit in the master table should be hardest on a driver's neck, and which on their legs (braking effort)? Name the two features you use, and acknowledge what the data can't see.
Answer sketch for M2
With power-limited top speed, $v^3 \propto P/(\rho C_DA)$, so $C_DA/P \propto 1/(\rho v^3)$. The ratio of Monza to Mexico City is $(0.909 \times 350^3)/(1.144 \times 336^3) = 0.909 \times 42.875 / (1.144 \times 37.933) = 38.97/43.40 = 0.898$.
So Monza's $C_DA/P$ comes out about 10 % lower than Mexico City's. That is consistent with the low-drag Monza wing level, even though Monza's measured top speed is lower. The thin air in Mexico City gives a "free" drag reduction that more than offsets its higher-downforce wing. (The power-limited assumption is 🧪 and may not hold on Mexico's 1 km straight.)
Part E — Research & Extension ⭐⭐⭐⭐
E1. A circuit "severity" index from public sources. Build a table of per-event Pirelli C-number allocations for 2023–2026 from Pirelli's race previews, citing each source. Use it to re-estimate the circuit degradation index conditional on the compounds used. Does the ranking change? Does the telemetry profile predict wear once compound choice is controlled?
E2. Wind on the straights. OpenF1 weather has wind speed and direction. Combine it with the heading of each straight from the track map (x/y) to compute the head- or tailwind component on the longest straight in each 2025–2026 qualifying session. Does it explain any of the residual variation in top speed after air density?
E3. A two-dimensional circuit map for 2027. Using Box Box, write a short report (with figures) that a strategy team could use before each 2027 race. It should cover the circuit's speed type, nearest neighbours, strategy geography, fade risk and the team-specific band pattern of your chosen car. Make the code rerunnable on new data when it arrives.