Chapter 4 Exercises — Distance Optimization
Difficulty: ⭐ concept check · ⭐⭐ calculation or short code · ⭐⭐⭐ analysis or judgment · ⭐⭐⭐⭐ open research
All model numbers come from golfkit.flight / golfkit.impact (ISA sea level, calm, centre strike
unless stated). Simulated sessions are labelled SIMULATED with their seed. Real tour numbers come from
ESPN data through golfkit (2015–2025 player stats, field-adjusted SG: Total). Run scripts from the
chapter directory.
Part A — Concepts ⭐
A1. Write the distance equation in words: which three launch quantities does carry depend on, and which one is "the engine"?
A2. Smash factor falls as spin loft rises. Explain in one or two sentences why a pitching wedge can't reach a driver's smash factor even with a perfect strike.
A3. In Figure 4.2, the delivery lines run diagonally from low-launch/low-spin to high-launch/high-spin. Why can't a golfer move straight up the launch axis (more launch, same spin) by changing only the loft of his driver?
A4. What is the difference between the "free" optimum and the constrained optimum in
flight.optimize_launch, and why does this book use only the constrained one?
A5. The TrackMan Combine's average (14.5-handicap) golfer launches the driver at 12.6°, two degrees higher than the PGA TOUR's 10.4°. Restate the "amateurs launch it too low" claim in the form the reference file recommends.
A6. Give two reasons this book quotes carry, not total, as the headline distance, and one situation where total is the number you actually care about.
A7. A distance matrix reports median carry, P10 and P90. Which one do you use (a) to pick a club for a 150-yard shot to the middle of a green, (b) to check whether you can carry a pond 140 yards away, (c) to check whether you might fly a green into a back bunker?
A8. Why is "ten yards of driving distance is worth 0.25 strokes per round on tour" a description and not a promise?
A9. Walt's 40 simulated drivers average 120.7 mph, 9.5° and 3,344 rpm, and those average numbers fly 167.8 yards, but the 40 carries average 161.4. Explain the gap without equations, and say why it matters when someone quotes "the carry of the average launch".
A10. Two golfers have identical median 7-iron carries of 150 yards. One has a carry SD of 4 yards, the other 12. Describe how their distance matrices and their club choices over a front bunker should differ.
Answers to Part A
A1. Carry depends on ball speed, launch angle and spin rate (plus spin axis and the air). Ball speed is the engine; launch and spin decide how well it's used.
A2. A wedge's spin loft is large (around 35–40° for a tour PW delivery), and smash falls with the cosine of spin loft because more of the impact goes into spinning the ball; at 25° of spin loft the toolkit's relation already gives only 1.371.
A3. Loft changes launch and spin together: launch ≈ 0.85·δ + 0.15·α and spin ∝ sin(δ − α). Raising δ raises both. Only a change in attack angle (α), or strike location, moves the line itself.
A4. The free optimum searches every launch and spin pair and always lands on the low-spin edge of the aerodynamic calibration (for 133 mph: 25.5°, 1,863 rpm), where lift is extrapolated and no real delivery can go. The constrained optimum only searches launch/spin pairs a real driver delivery can produce at a given attack angle, which is what TrackMan's optimizer tables mean by "optimal".
A5. Amateurs "launch too low for the spin they carry, and spin too high, because they hit down on the driver."
A6. Roll depends on ground conditions that change daily; the roll model is an assumption fitted to driver data only; carries clear hazards. Total matters for tee shots on firm, open courses with no forced carries.
A7. (a) Median. (b) P10. (c) P90.
A8. It's a cross-sectional association across player-seasons (r² = 0.06); longer players may differ in other ways, and extra distance can come with lost accuracy.
A9. Carry is a curved function of the launch numbers: near the best launch and spin, any miss in either direction costs distance, and a mishit costs a lot. Averaging the launch numbers first hides those losses, so the "average launch" describes a better shot than the typical one. A quoted carry of average launch conditions overstates what a golfer usually hits, more so the bigger his spread.
A10. Same median, very different P10 and P90: about 145 and 155 yards for the tight golfer versus about 135 and 165 for the loose one (±1.28 SD for a normal spread). Over a front bunker 140 yards away, the tight golfer can take the 150-yard club; the loose golfer needs more club or a different target, because one shot in ten or more of his will finish short of 135.
Part B — Calculations ⭐⭐
B1. The TrackMan Combine 5-handicap group swings 101 mph and produces 147 mph of ball speed. What's the smash factor? How much ball speed would the tour-average smash (171/115) give at 101 mph?
Solution
Smash = 147 / 101 = 1.455. Tour-average smash = 171 / 115 = 1.487, so ball speed = 101 × 1.487 = 150.2 mph,
3.2 mph more. (The model prices that strike improvement at +6.8 yards of carry for this group;
code/04_amateur_gap.py.)
B2. Use the smash relation $S = \sqrt{(a\cos\text{SL})^2 + (\tfrac{2}{7}\sin\text{SL})^2}$ with Walt's coefficient a = 1.489 and his spin loft of 17.0°. Compute his smash factor and ball speed at 88 mph.
Solution
cos 17° = 0.9563, sin 17° = 0.2924. a·cos SL = 1.489 × 0.9563 = 1.4239; (2/7)·sin SL = 0.2857 × 0.2924 = 0.0835. S = √(1.4239² + 0.0835²) = √(2.0275 + 0.0070) = √2.0345 = 1.426 (the model prints 1.427). Ball speed = 88 × 1.426 ≈ 125.5 mph, matching the Anchor C "before" number.
B3. A golfer swings 95 mph with a level attack angle (0°) and delivers 14.7° of dynamic loft. Using launch ≈ 0.85·δ + 0.15·α and spin ≈ 126.2 · v · sin(δ − α), estimate launch and spin. Compare them with the model's carry-optimal window at 95 mph and 0° (Section 4.3).
Solution
Launch ≈ 0.85 × 14.7 = 12.5°. Spin ≈ 126.2 × 95 × sin 14.7° = 126.2 × 95 × 0.2538 ≈ 3,043 rpm. The model's window is 12.5° and 3,044 rpm: this golfer is in it.
B4. Over a winter of speed training, a golfer adds 6 mph of driver club speed. Give a low and a high estimate of the extra carry using this chapter's numbers, and say what each assumes.
Solution
Low: 6 × 2.5 = 15 yards (the bottom of the reference range for real golfers). High: 6 × 3.07 = 18.4 yards (the model's re-optimised slope at a 0° attack, which assumes launch and spin are re-tuned to the new speed and the strike stays as good). A golfer who hits down 5° should use 2.96 yd/mph at most (17.8 yards).
B5. Your 8-iron and 9-iron medians are 9 yards apart, with carry SDs of 4 and 5 yards. What's the probability that a given 8-iron carries shorter than a given 9-iron? What if both SDs were 9 yards?
Solution
√(4² + 5²) = √41 = 6.40. Φ(−9 / 6.40) = Φ(−1.41) ≈ 0.08. With SDs of 9: √162 = 12.73, Φ(−0.71) ≈ 0.24. Same gap, three times the overlap: dispersion, not gapping, is the problem in the second case.
B6. From 20 shots, your 7-iron carry SD is 6.0 yards. What's the standard error of that SD? How many shots would you need for the SE to be 10% of the SD?
Solution
SE ≈ 6.0 / √(2 × 19) = 6.0 / 6.16 = 0.97 yards (16% of the SD). For 10%: 1/√(2(n−1)) = 0.10 → n − 1 = 50 → n = 51 shots.
B7. Using the real tour fit SG ≈ 0.177 + 0.0250 × (yards over field), what's the expected difference in field-adjusted SG: Total per round between a player 12 yards longer than the field and one 4 yards shorter? Over a four-round event?
Solution
16 yards × 0.0250 = 0.40 strokes per round; × 4 = 1.60 strokes per event. With r² = 0.06, individual players scatter far around that expectation.
B8. A tour 7-iron carries 169.7 yards at sea level in the model, and the model's altitude slope for it is 1.59% per 1,000 ft. Estimate its carry at 3,000 ft. What does Titleist's rule (elevation × 0.00116, in percent) give?
Solution
Model: 3 × 1.59% = 4.77% → 169.7 × 1.0477 = 177.8 yards (+8.1). Titleist: 3,000 × 0.00116 = 3.48% → 175.6 yards (+5.9). The model's iron slope is steeper than Titleist's single rule, which the reference file notes is "smaller for slower swings and shorter shots" in Titleist's own description and is not club-specific.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Decode your launch monitor ⭐⭐. A golfer's 30-shot driver average is 101 mph club speed, 147 mph
ball speed, 11.2° launch and 2,987 rpm (the TrackMan Combine 5-handicap row). Assume an attack angle of
−1.6°. Rebuild his delivery as code/04_amateur_gap.py does (dynamic loft from launch with the 0.85 face
share; spin coefficient k from his spin; smash coefficient a from 147/101), then call
yardbook.distances.driver_gain_report(delivery, attacks=(0.0, 3.0)).
Expected output: a five-row table whose "best loft, same attack" row is within half a yard of
"today", and whose attack rows add roughly +4 and +11 yards. (Our run: +0.0, +3.7 and +10.6 yards from a
232.6-yard model carry.)
C2. Optimize your target ⭐⭐. Use impact.optimize_delivery to make your own fitting window: run your
driver club speed at attack angles −3°, 0° and +3°, for both "carry" and "total". Print launch, spin,
carry and total.
Expected shape: six rows; launch rises and spin falls as attack rises; the total-optimal rows launch
about 2–3° lower with about 500–600 rpm less spin than the carry-optimal rows. Check one row against our
output: at 100 mph and 0°, the carry window is 11.6°, 2,987 rpm, 232.7 yards.
C3. Build your model ⭐⭐⭐. Rerun Walt's session in code/07_distance_matrix.py with the "mid" and
"tight" noise presets (same seed, 4019, 40 shots per club). Make a three-row comparison for the driver and
the 7-iron: median carry, P10, carry SD, lateral SD.
Expected output (our run): driver median 163.2 / 170.1 / 175.8 yards for loose / mid / tight, P10 136.5 /
153.3 / 167.8, carry SD 17.6 / 11.0 / 5.4; 7-iron median 108.2 / 111.8 / 115.0, SD 10.3 / 7.1 / 3.7.
Write two sentences on what this says about the value of a better strike versus a better loft for Walt.
C4. Compare two players ⭐⭐. Run code/07_distance_matrix.py (Walt, loose, seed 4019) and
code/case_study_02.py (Coach Tasha, tight, seed 3001). For each, compute the lateral SD of every club as
degrees of its median carry (atan(lateral_sd / carry_median)), and plot the two golfers on one chart
(club on the x-axis in loft order, degrees on the y-axis, one line per golfer, house style).
Expected shape: Tasha's line sits below Walt's for every club; both lines are highest for the driver and
fairway woods. (Our run: Walt 7.1° driver, 3.3° PW; Tasha 3.8° driver, 1.7° PW.)
C5. Analyze the tour ⭐⭐⭐. In code/08_tour_distance_real.py, repeat the distance–SG fit at the
player-event level instead of the player-season level: for every player-event with 4 complete rounds,
regress SG: Total per round on driving distance over that event's field. Then split majors from other
events.
Expected output (our run, in code/case_study_01.py, which also requires a driving-accuracy value):
30,225 player-events in 436 events; slope 0.144 strokes per round per 10 yards (r = 0.15); majors 0.241
(1,161 player-events in the 18 majors that have ESPN player stats); non-majors 0.140. Explain why the event-level slope (0.144) is smaller than the season-level slope (0.25).
(Hint: a single event's driving distance is a noisy measure of a player's true distance. What does
noise in x do to a regression slope?)
C6. Design your practice plan ⭐⭐. Use distance_matrix on Walt's 40-shot session and list every
neighbouring pair with overlap_next above 0.3. For each, write one line: is it a gapping problem (fix
with equipment) or a dispersion problem (fix with practice)? Then use B6's formula to decide how many shots
per club his next session needs for each SD to be known within ±15%.
Expected output: the 5-wood/hybrid (0.49), 5-iron/6-iron (0.61), 6-iron/7-iron (0.39), 8-iron/9-iron
(0.35) and 9-iron/PW (0.35) pairs (the second decimal can move by one with rounding); ±15% needs 1 + 1/(2 × 0.15²) ≈ 24 shots per club.
C7. Decode your launch monitor ⭐⭐⭐. yardbook.distances.simulate_range_session writes the same
column names as Chapter 3's yardbook.strike. Feed Walt's 7-iron shots (_out/walt_range_session.csv)
to strike.diagnose_session(..., club="7-iron") and report its smash mean and SD and its spin-loft
mean. Which of the Chapter 3 diagnoses would you expect it to flag, given the "loose" preset's 12 mm
toe-heel strike SD?
Expected output (our run): the loose session's 7-iron smash averages 1.230 with an SD of 0.053 and a
spin-loft mean of 26.6°; the same club and seed with the "tight" preset gives a smash of 1.275 with an SD
of 0.015. The strike, not the loft, is what differs.
Part D — Judgment ⭐⭐⭐
D1. The shaft pitch. A salesman tells Walt that a new low-spin shaft will "take 300 rpm off and add 10 yards". Using the hypothetical −300 rpm row in Section 4.5, what would you tell Walt? What would you want to see on a launch monitor before believing any shaft claim?
D2. Lesson or fitting? A 105-mph player attacks the driver at −4°, launches 9° with 3,500 rpm, and plays a firm, links-style course with few forced carries. He has budget for either a fitting or a series of lessons this season, not both. Which do you recommend, and what number from this chapter would you show him?
D3. The DFS long-course angle. A DFS player wants to overweight the longest hitters at a 7,700-yard course this week. Using Section 4.7 and the toolkit's course-fit result, write a three-sentence response.
D4. Club championship yardages. A 7.8-handicap golfer has only a 10-shot session for each iron, two weeks before his club championship. His 7-iron and 6-iron medians from that session are 6 yards apart. Should he change his gapping before the event? What would you have him do instead?
D5. Bending one iron. Coach Tasha's simulated matrix (Case Study 2) has a 13.9-yard gap from 9-iron to PW and only 7.0 yards from 8-iron to 9-iron. She can strengthen the PW by 1° or weaken the 9-iron by 1°. Using the case's results, which is better, and what side effect on the club's flight should she check before doing it?
Discussion notes for Part D
D1. In the model, a hypothetical 300 rpm reduction on top of +2° of loft gives +2.7 yards of carry and 0.0 of total for Walt: nowhere near 10 yards. Spin reduction at a fixed launch mostly buys roll, not carry (Section 4.2's Productive Struggle). Before believing any shaft claim, want 30+ shots with each shaft, same head, same session, with spin, launch, ball speed, carry and dispersion compared by their means and standard errors.
D2. Lessons first. His −4° attack is the lever: in the model, moving from −5° to 0° at 105 mph adds
about 12 yards of carry at the optimum (235.5 → 247.9), and a firm course rewards the lower-spin flight a
better attack produces. A fitting at −4° only slides him along his line. Show him the table in
Section 4.3, or run driver_gain_report for his delivery.
D3. Distance is associated with better SG (0.25 strokes per round per 10 yards across player-seasons), but most of that is already in the players' SG ratings. The toolkit's course-fit test gives distance a coefficient of about 0.012 strokes per round per yard beyond the rating, and course-fit features as a group add at most 0.0015 strokes per round out of sample. Price the players on skill; let distance break ties, not drive the build.
D4. No. With 10 shots, a 6-yard gap is inside the noise: Section 4.8's five 10-shot sessions gave Walt's 6-iron–7-iron gap anywhere from −0.6 to +14.5 yards. Have him hit 30+ shots per iron before deciding, and play the championship from medians with P10 checks on forced carries.
D5. Weaken the 9-iron. Both options shrink the 9-iron→PW gap from 13.9 to 11.9 yards (same seed), but only weakening the 9-iron also opens the cramped 8-iron→9-iron step, from 7.0 to 9.0 yards. Strengthening the PW leaves that 7-yard step untouched and makes the PW-to-wedge gap below it bigger. The side effect is small at this loft: in the model a degree changes a 9-iron's apex by about a foot and its landing angle by about half a degree. Check that the weaker 9-iron's flight still suits her in wind.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1 (with Chapter 1). Chapter 1's threshold concept is that the ball doesn't know what club hit it. Walt's 5-iron and 6-iron carry within 3 yards of each other noise-free (127.4 and 124.4). Use the launch conditions in Section 4.8's noise-free table to explain why, in terms of ball speed, launch and spin, a "stronger" club can fail to go farther.
M2 (with Chapter 2). Walt's matrix is labelled "SIMULATED — seed 4019". Rerun it with seed 4020 and report the driver and 7-iron medians. Then write the figure note you'd put on a chart of the result, following Chapter 2's labelling rule.
M3 (with Chapter 3). In the model, every median in Walt's session is below the noise-free carry of his average delivery (by 15.4 yards for the driver). Using Chapter 3's strike-location model, explain why strike errors in both directions (toe and heel, high and low) shorten the ball on average instead of cancelling.
M4 (with Chapters 1 and 3). The model's best driver spin at 90 mph and 0° attack is about 3,100 rpm; at 125 mph and +5° it is about 2,040. Using Chapter 1's lift and drag ideas and Chapter 3's spin-loft relation, explain both why optimal spin falls with speed and why it falls with upward attack.
M5 (with Chapter 2). ESPN's player-stats file stores missing driving distances as zeros. What would happen to the 2015–2025 trend in Figure 4.10 if you forgot to drop them? Which direction would the bias go, and would it be the same every year?
Notes for Part M
M1. At 73.5 mph the 5-iron produces 99.4 mph of ball speed but launches only 11.9° with 4,040 rpm, so it flies low (34.7-ft apex) and lands at 26.9°; the 6-iron gives up 3.7 mph of ball speed but launches 14.1° with 4,747 rpm and stays up longer (41.7-ft apex). Carry depends on all three launch numbers, not on the number stamped on the sole.
M2. Any seed gives a different, equally valid sample; the medians should move by a few yards (compare the 25-shot checkpoint run). Note: "SIMULATED — yardbook.distances (golfkit.impact + flight), 40 shots per club, seed 4020; delivery noise assumed. Walt is fictional."
M3. In the toolkit's model the effective head mass falls with the square of the offset, and the heel side also loses COR, so every off-centre strike loses ball speed whatever its direction. Errors in loft and attack around an optimum also lose carry on both sides (the flat-topped curves of Figure 4.3). Losses that are always negative can't cancel.
M4. A faster ball generates more lift at a given spin (lift grows with speed squared), so it needs less spin and less launch to stay up, and extra spin mostly adds drag. Upward attack lowers spin loft for the same launch, and spin ∝ sin(spin loft), so the reachable line sits lower; along that lower line the best point also sits at lower spin.
M5. Zeros would pull every year's mean down sharply, and by different amounts each year, because the share of missing values varies by event and season (in this snapshot 5,560 of the file's 66,112 rows have a zero driving distance). The trend could be distorted in either direction.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Your own presets. Replace amateur_bag's scaled deliveries with your own: hit 30 shots per club on
a launch monitor that reports attack angle and dynamic loft, build a Delivery per club from your means,
and estimate your own DeliveryNoise from the shot-to-shot SDs. Compare the simulated matrix with your
real one. Where does the simulation miss, and why?
E2. Reproduce the Combine gap. Section 4.4 found that the Combine's published carries sit 9–15 yards
below the carry of their average launch conditions. Using simulate_range_session on each Combine group's
driver delivery, find the delivery noise (especially strike-location SD) that reproduces the gap for each
group. Is a single noise level enough, or does the bogey group's 15-yard gap need a much looser strike?
State every assumption with a 🧪.
E3. Altitude in the real scores. Using ESPN driving distance over the field and event venues, investigate whether events at high-altitude venues show larger driving distances for the same players (compare each player's distance over field at those events with his own average). Write up what you can and can't conclude without weather data. Chapter 6 takes this further.