The Math of the Mixed Medley: A Data Deep Dive

Courtesy: Connor Bradley (@cobrastats on X)

The 2021 Olympics in Tokyo marked the first time the USA had finished outside of the top two in a 400 medley relay at the Olympic Games. They finished 5th in the inaugural mixed 400 medley relay.

Let’s be honest, the mixed medley is a different animal. It’s not as easy to piece together as a non-mixed 400 medley. Those tend to be pretty simple: take your highest-seeded or fastest swimmer in each stroke 100m, put them together, and voila – you got a relay.

But with six different ways to order the genders, and multiple athletes per stroke, the Tokyo coaching staff was staring into the face of thousands of combinations of athletes (though some much better than others). And while the lineup the USA fielded behind the blocks for the Olympic final was strong, it left several people scratching their heads after finishing two spots off the podium.

Being an armchair coach with hindsight that’s 20/20, it’s easy to criticize the USA staff’s decisions. And it’s clear that the coaches labored over the decision and weren’t just picking names from a hat. Coach Greg Meehan talked through the process after the relay back in Tokyo:

“There’s a lot of math that goes into some of those decisions, but there’s also some environmental circumstances that we’re looking at: Who we’re swimming next to, where we’re swimming in heats, where we’re swimming — knock on wood — potentially, into the finals, how our athletes are moving through the front half of the meet,” Meehan said.

“So, there’s that and looking at the event orders at those particular sessions and making sure that we’re prepping people or we’re swimming people in the right way that’s not impacting their individual swims but also helping us as Team USA win a gold medal.”

Or another way Meehan put it, it’s “mathematics” versus using “gut instinct”.

On the outside, spectators aren’t privy to some of those behind-the-scenes factors that coaches see. But I’m a numbers guy and I’ve got what I got. Therefore, within a vacuum, what do the numbers say about Tokyo, the USA’s strategy heading into Paris, and the mixed medley relay strategy as a whole? Let’s dive into the data.

THE MIXED 400 MEDLEY RELAY

There’s a bit of a luxury with the mixed 400 medley relay and that is – for a country like the USA – you’ve got basically your entire (up to) 52-athlete roster to work with. You’ve got options upon options.

At the same time, all else equal, the mixed medley is a math problem, and a fairly straightforward one: in which two legs does your team give up the least amount of time switching from a male swimmer to a female swimmer? Or a different way of saying it – where have female swimmers closed the gap the most?

I come from an economics background, and a key concept that comes up early in Economics 101 courses with regards to decision-making is maximizing your benefit. First too, understand that every decision has a trade-off (opportunity cost). Here’s the basic idea: when making a decision, you weigh the additional benefit (what you gain) versus the additional cost (what you give up). If you gain more than what you’re giving up, it’s a worthwhile decision. If you give up more than what you gain, not a great decision. When do you stop? When there are no more decisions you can make where the additional benefit outweighs the additional cost. And at that point, you’ve maximized your benefit.

This can be applied especially in the mixed medley relay – but here, our benefit is how fast we go. Looking back at Tokyo, the U.S. went with a male-female-female-male lineup – the only ones in the field to do so. Post-Tokyo, there was talk of “the USA should have had a male breaststroker because everyone else did.” I’d argue that yes – they should have, but no – not because it’s what everyone else was doing. And I feel pretty strongly about this – it’s not what the field is doing or what genders they put where; it’s what kind of lineup your country can piece together regardless of what everyone else is doing. As we’ll see, there were areas where the U.S. could have made gains in net benefit (time) by switching some athletes around in Tokyo.

You can see the thinking behind always having a male breaststroker and (and also a female freestyler) if you think about differences in 100m times between men and women as a percentage of the time and not a fixed amount of time. The table below shows the average best time of the top 200 swimmers in the world this year.

When you compare the times, the percentage difference in time between men and women across all strokes is about the same. But really narrowing it down, breaststroke does technically have the smallest percentage difference. However, since breaststroke is the slowest of the four disciplines, this ends up representing the largest time margin (on average) between male and female swimmers. Then, butterfly and backstroke are about the same, with freestyle having the smallest time difference (since it is the fastest stroke). It’s quite a generalization to say that always, every single time, use a male breaststroker and a female freestyler. It depends on what athletes a country has available to them.

Once again, getting into the numbers, all else is held equal for this analysis. There are many other factors at play: meet schedule, athlete schedule, other swims that day, regression/improvement heading into meet, etc. But raw numbers here: where does your team give up the least amount of time switching from a male swimmer to a female swimmer?

TOKYO

For this analysis, I pulled two main sets of data:

  1. A list of all entrants at the 2020 Tokyo Olympic Games
  2. A list of the top 200 fastest swimmers in each stroke 100m (both men and women) dating back to January 1, 2021, up through July 31, 2021 (just before the mixed medley in Tokyo).

Basically, this gives you all your relatively fast swimmers in each event who are present at the games. We’ll focus in on the fastest American men and women in each 100m discipline.

But once again, the question is: where does the team give up the least amount of time?

According to this, from Ryan Murphy to Regan Smith, the USA was 5.67 seconds slower, from Michael Andrew to Lilly King, 6.58 seconds slower, and so on. The USA gave up the most time in the breaststroke and butterfly legs and the least in backstroke and freestyle.

Back to our cost/benefit analysis. With the MFFM lineup the U.S. chose, what would be the net benefit of switching the male and female swimmers on backstroke and breaststroke? The numbers say the gain from that is getting 6.58 seconds on the breaststroke leg, but that comes at a cost of getting 5.67 seconds slower on the backstroke leg. But since the additional benefit outweighs the additional cost (by 0.91 seconds) – it would seem like a good decision. The same goes for butterfly and freestyle, with the benefit outweighing the cost by 0.24 seconds

Therefore, the USA’s best projected time would come by employing a FMMF lineup. However, the U.S. opted for a Ryan Murphy, Lydia Jacoby, Torri Huske, and Caeleb Dressel lineup. But there was a lot else at play (remember, our analysis is in a vacuum). For one, Abbey Weitzeil and Simone Manuel were coming off the 50 free 11 minutes earlier, which already took away the top two female options for freestyle. Not to mention anything and everything else the coaches had been seeing or hearing from athletes to that point of the meet.

As mentioned before, there were thousands of relay options. I ran every possible relay option for the U.S. at the 2020 Olympics using the criteria outlined above, and it spit out over 10,800 relay options available to the U.S. in Tokyo. The lineup the U.S. chose to go with ranked 83rd by about 1.4 seconds.

It was regularly brought up that the U.S. was the only country to go with a female breaststroker. Of the full list of USA options for the Tokyo games, only 1 in the top 25 and three in the top 50 lineups had a female breaststroker. And once again, this is not at all a knock on any of the female breaststrokers. It just means that the gap between the male and female swimmers in the USA was smaller in the other three strokes.

And while the U.S. certainly has more depth than other countries, the four teams that beat the United States (highlighted above) used the lineup that was their top-projected lineup. Again, could have been a bit more clear-cut for some of those countries, but swim fans were saying the same of the USA.

But as the coaches said, lessons were learned. It’s an easy thing to overthink with so many options and different lineups being within hundredths of seconds of one another. But sometimes, it’s better to let the numbers talk for themselves than try to talk for the numbers.

PARIS

Once again, I pulled two main sets of data:

  1. A list of all entrants at the 2024 Paris Olympic Games
  2. A list of the top 200 fastest swimmers in each stroke 100m (both men and women) dating back to January 1, 2024, up through July 31 (the day this was written; after finals).

Some things are the same, while some are different for the USA heading into the Paris games.

The same? Smith and Murphy still sit atop the throne for USA backstroke. However, from the Tokyo lead-up to the Paris lead-up, Murphy has improved by 0.15 while Smith has improved by 0.73. This means that the gap has gotten even smaller at the top for the US.

Different? Gretchen Walsh’s world record in the 100 butterfly at team trials (along with Dressel’s Olympic-cycle best 50.19) means the gap between top butterfliers in the U.S. has shrunk from 6.21 seconds to 4.99 seconds.

So, while last Olympics it was fairly clear the U.S. should swim its top female swimmers at backstroke and freestyle, it now seems that the US’s best move is to swim its top male swimmers at breaststroke and freestyle while slotting in female swimmers at backstroke and butterfly. Considering Smith and Walsh set the world records in those respective events just over a month ago, it makes sense that those two would close the gap on the USA’s male swimmers in those races.

One reason this plays into the USA’s strengths is the schedule for that day – August 3.

  • The morning consists of heats for both men’s and women’s medley relays. We’ll likely see some more #2 swimmers in the morning.
  • Morning has women’s 50m freestyle heats with semifinals in the evening. But based on the current timeline, Walsh would have almost an hour between her 50m semifinal and the mixed 400 medley final.
  • As of right now, looking at the top relay option, only Gretchen Walsh would have any other (required) swim the day of the mixed medley final.

Now the big question – where does this compare to the rest of the world heading into Paris?

Likely, the two biggest challengers to the U.S. are China and Australia. What’s interesting about the projected podium is that none of the three share the same order of athletes – with the Chinese projecting to end their relay with females while the Australians may look to bookend the race with female swimmers. Let’s take a quick look at both of these team’s lineups

CHINA: NO PAN ZHANLE?

On Wednesday, Pan Zhanle ripped a 46.40 world record in the 100m freestyle. But China’s best projected mixed medley relay leaves him on the bench. How is that? Once again, it’s a math problem.

For China on the women’s side, Wan Letian has been a 59.02 in the women’s 100m backstroke back in April. However, Xu Jiayu‘s 52.02 early in the Games gives him the fastest time this year and a 7-second advantage over Wan. Additionally, as is true with many countries, the breaststroke gap is too big to ignore. Therefore, if China opts to go with men in both the back and breast, they have no choice but to leave Pan off the relay.

Even if you look at just the best swims so far in Paris – even without full 100m butterfly information, this is still the case. In fact, narrowing the focus to just Paris further makes the argument that the Chinese mixed medley relay is better off without Pan Zhanle anchoring. Which feels like a crazy thing to say.

Or you could think of it this way: suppose Wang Changhao ties his best with a 51.20 in the 100m fly. With the best-projected, Pan-less MMFF lineup, adding Pan to the relay would help China get 6.08 seconds faster. However, that would force them to switch out one of the other men for a woman – likely in the breaststroke. Therefore, in getting 6.61 seconds slower on the breaststroke leg, China would see a net change of -0.53 seconds.

AUSTRALIA: AUSSIE OPTIONS?

Looking through what the Australians have available to them, it seems pretty clear what they should do.

It’s worth noting, all 10 of the lineups seen here for Australia are FMMF. In fact, you’ll have to go 1.2 seconds and 18 options back to find a different order.

Additionally, you’ll notice some trends throughout. First of all, former world record holder in the women’s 100m backstroke Kaylee McKeown seems to be the best options for the Aussies leading off. Sam Williamson has been sub-59 twice this year in the 100m breaststroke while Matthew Temple has been sub-51 twice this year in the 100m butterfly.

Then comes the female freestyle leg. While Mollie O’Callaghan has the fastest flat 100m freestyle, both Meg Harris and Emma McKeon split a 51.94 with a relay exchange in the 4×100 freestyle relay early in the week. The Aussies have options there.

SO WHAT’S THE BEST OPTION FOR THE USA?

I don’t know. That’s the thing – all this analysis has been in a vacuum, but that’s not the reality that the USA staff is dealing with.

That’s then where the coaches’ have to start weighing all of those other factors at play. It would seem silly to leave Torri Huske off of the relay at this point. She won the 100 fly and has the fastest flat 100 free by an American woman this year. Most everyone has been a tad bit slower this week, so who do you trust on relays? Illness has been going around the team, how’s everyone feeling? How’s fatigue nearly a week into the meet? There’s a lot to consider.

Limiting the best 100m performances to just this week (at the time this is written, we are still waiting on the men’s 100 fly), there are options. Hypothetically (in a this-past-week vacuum), if Dressel can be 50.10 or faster, you go with a FMMF relay of Regan Smith, Nic Fink, Caeleb Dressel, and Huske. If he’s a bit slower, you go MMFF with Ryan Murphy, Nic Fink, Gretchen Walsh, and Huske. But if you go based on best times in 2024, you go FMFM with Smith, Fink, Walsh, and Jack Alexy.

The U.S. does have three options – FMFM, FMMF, and MMFF – that all project to within three-tenths of a second of one another. The commonality? A male breaststroker. So, it seems that as long as you slot in a male at breaststroke, you can’t go wrong. And that feels like a luxury this deep into the week.

Sometimes, crunching the numbers is fun, and often it’s incredibly helpful. But lineup decisions are above my pay grade, and I’m grateful for that. Therefore, I’ll stick to screaming my head off for the USA no matter what.

If you want to check out the thousands of relay possibilities for not just the USA, but other teams as well, check out this Google Sheet.

If you like R, you can get all the code and data on my GitHub [https://github.com/cobrastats/mixedmedley]

In This Story

26
Leave a Reply

Subscribe
Notify of

26 Comments
newest
oldest most voted
Inline Feedbacks
View all comments
zaj
36 minutes ago

China to win gold with Xu,Tang, Zhang and Pan or Xu, Qin, Zhang and Yang in mixed relays.

This is my opinion.

Stallion06
48 minutes ago

This one is easy. Murph- fink- Gretchen- Huske. Nobody is touching that

They have all medaled in the 100 of that stroke

Ricky Bobby.
Reply to  Stallion06
40 minutes ago

How about prelims?

chlorine son
Reply to  Ricky Bobby.
37 minutes ago

literally whatever we want, we have like 10 good options that will make the final

chlorine son
57 minutes ago

Seems obvious to me that we need to go Murphy, Fink, Walsh, Huske. With the waves in the pool i think it would be foolish to not go MMFF for the US. I feel good if, Murphy Fink can keep it within half a second of XU, and Qin that gretchen and torri will get the job done

Andy Hardt
1 hour ago

Fantastic article! Very well researched. Must have taken a ton of time and effort.

My biggest take-away is that the average fly and back differentials are nearly identical. The default strategy shouldn’t be “MMFF, and modify as needed”: it should be “?M?F, and look closely at your flyers and backstrokers.” By these data, a FMMF lineup should be nearly as common as an MMFF lineup, which I don’t think it currently is.

For instance, take the US 2021 team. Clearly, the actual choice was a disaster, and the data bear that out. But it turns out that the main issue that year was NOT that they used Dressel on the anchor; the second fastest lineup has him doing that! In… Read more »

zaj
1 hour ago

My prefictions:
Mixed 4x100m medley relay
Gold for China ( Xu, Qin, Zhang and Yang )

Men 4x100m medley relay
Gold for China ( Xu, Qin, Wang, Pan ). Most probably WR will be broken.

Kevin Phillips
1 hour ago

Fantastic work. Thank you

Andrew
1 hour ago

Mixed medley needs to be removed from the program

Admin
Reply to  Andrew
1 hour ago

nah

Ricky Bobby.
Reply to  Andrew
55 minutes ago

If Andrew says so, do the opposite.

BoyerM
Reply to  Andrew
54 minutes ago

I actually agree with you on this one. I think it’s a bad look for swimming from the perspective of the casual fan (which matters during the Olympics). It makes the sport look less respectable in my opinion. It would be like basketball adding something silly like the slam dunk contest as an official Olympic event.

CasualSwimmer
Reply to  BoyerM
39 minutes ago

100% disagree, I think it’s one of the most fun events to watch, you don’t know who’s winning until the very last second and there’s not one winning strategy like in the mixed free relay where you “have” to go MMFF
Every country has their strengths and weaknesses, and we get to see in real time which one has the most balanced team

BoyerM
Reply to  CasualSwimmer
36 minutes ago

I completely agree with you on the strategy being interesting, but I’m a swim nerd. I can’t imagine a causal Olympic fan caring about that.

Masters swammer
Reply to  Andrew
39 minutes ago

It seems that there is a big trend in the Olympics towards “mixed team” events. There were a ton of “mixed team” individual sports in the Winter Olympics (mixed team figure skating, mixed team aerial ski jumping, etc.). Track and field also added a mixed relay.

I wonder what’s driving it? Inclusivity is a good thing, but just combining individual scores across men and women and arguing that constitutes a “team” event seems pretty silly and forced. Tennis has had mixed doubles for years, and that seems to work pretty well. Are there other team sports that could have a mixed version that would actually involve men and women participating on the same field simultaneously? Mixed soccer? Mixed beach volleyball?… Read more »

CasualSwimmer
1 hour ago

Could we get a french line up analysis too ? I’m curious to see how it would pan out