# Maths point—the mathematics of tennis

#### Expert reviewers

Professor Cheryl Praeger AM FAA

School of Mathematics and Statistics

The University of Western Australia

## Essentials

- Mathematics is used to rank players, plan tournaments, analyse probabilities, evaluate strategies, and track and predict tennis ball trajectories.
- Major tournaments use a single-elimination structure to keep the number of matches manageable.
- Not every point in a tennis match ends up counting towards the overall result. It is possible for a player to win a match despite their opponent having won more points (or games) overall.
- A player who is just a little more likely to win every individual point is a lot more likely to win games (and sets, and the match).

A thrilling
Grand Slam
**GLOSSARY**
**Grand Slam**Also called the majors, the four Grand Slam tournaments consist of the Australian Open (played on hard courts in January), the French Open (played on clay courts in May-June), Wimbledon (played on grass courts in June-July) and the US open (played on hard courts in August-September).
tennis final appears to be a long way from the world of mathematics. Yet there are many ways in which mathematics sits quietly underneath the surface.

As the players emerge to the cheers of the crowd and stroll onto the court to confront each other—fated to meet by a tournament structure prepared weeks ago—commentators draw upon a wealth of statistics to discuss the upcoming match for the watching fans. Blisteringly fast serves turn into thrilling rallies where every motion of the ball is tracked in real time by analysing radar signals. After the tournament is over, the world rankings are adjusted.

How does knowledge of mathematics help us gain insight into the world of tennis?

## Planning the play-offs

Long before players set foot on the court, every match in their tournament needs to be scheduled. To decide how best to match up the players in the first round, the entrants to the tournament must first be
seeded
**GLOSSARY**
**seeded**A system to determine the order in which entrants are favoured to win a tournament, so they can be ‘planted’ into the appropriate tournament bracket. The 1st seed is the player deemed most likely to win, the 2nd seed is next-most likely to win, and so on, usually stopping at the 16th or 32nd seed.
. The easiest way to seed the players is to look at their world rankings—but how are these determined in the first place?

#### World rankings

Every week the men's Association of Tennis Professionals (ATP) and the Women’s Tennis Association (WTA) compute and update the world rankings for professional tennis players. They do this by awarding ranking points to every player (separately for
singles
**GLOSSARY**
**singles**A tennis match played between two opposing players, using the inner set of sidelines to mark the left-right boundary of the court.
—and
doubles
**GLOSSARY**
**doubles**A tennis match played between two opposing pairs of players, using the outer set of sidelines to mark the left-right boundary of the court.
—matches) then ranking players in order from most to fewest points. In order to rank doubles teams, the ranking points from both players in the team are simply added together.

How are the ranking points calculated? Each player’s best tournament results over the last 52 weeks are selected (though some important tournaments, such as the four Grand Slam tournaments, must be included in the calculation), and points are awarded for each tournament based on the type of tournament and how far the player progressed before being eliminated.

The WTA currently awards players in a 2016 Grand Slam tournament 780 points for being eliminated in the semi-finals, 1,300 points for being eliminated in the final and 2,000 points for winning the tournament; the points almost double for every extra round that a player progresses. This is an example of exponential growth, a mathematical process that causes numbers to grow rapidly.

At the time of writing, Samantha Stosur is the highest-ranked Australian women’s tennis player. In 2015, Stosur was eliminated in the round of 64 in the Australian open (earning 70 points), the round of 32 in the French Open (earning 130 points) and Wimbledon (another 130 points), and the round of 16 in the US Open (earning 240 points). So, at the very start of 2016, the Grand Slam tournaments contributed 70 + 130 + 130 + 240 = 570 points towards Stosur’s combined ranking points (for singles tennis) for the previous 52 weeks.

#### Seeding a tournament

Once the players are ranked, seeding a tournament can just be a matter of listing the top 32 entrants in order of ATP or WTA rankings. This is how the Australian Open, French Open and US Open tournaments are seeded. Wimbledon, however, chooses to do things a little differently. Instead of using the ATP ranking points, they use their own modified points calculated using the formula:

$$\text{Ranking points} = \text{ATP} + G_{\text{all}} + \left(75 \% \times G_{\text{best}} \right)$$

where:

- ATP is the total ATP points accumulated by the player until the Monday before the tournament starts
- G
_{all}is the total number of points earned for all grass court tournaments in the past 12 months - G
_{best}is the number of points awarded for the player’s best performance at a grass court tournament in the 12 months before that.

As Wimbledon is played on grass courts, the formula is designed to give more weight to ranking points that players earned on grass courts. Interestingly, Wimbledon bases their seeding for the women’s tournament on the unmodified WTA rankings, in line with the other Grand Slams.

#### Structuring a tournament

Once the top players have been seeded, there are two main considerations that determine how tennis tournaments are structured.

First, the number of matches needs to be kept to a manageable level. Grand Slam tournaments start with a field of 128 players. If we design a tournament in which every player plays a match against every other player, then every single player would have to play at least 127 matches throughout the tournament (exhausting!) and there would be at least 8,128 matches in total. The tournament would have to run over most of the year!

Can we do better? What is the fewest number of matches that we need in the tournament?

If we assume that a player has to lose at least one match in order to be knocked out of the tournament, then no matter how we structure the tournament we’re going to need at least 127 matches. That is because we’re starting with a field of 128 players, and 127 of them have to be knocked out before we can determine the winner.

Can we design a tournament that determines a winner after precisely 127 matches? Yes, we can, and it’s surprisingly straightforward. We use what is called a ‘single-elimination’ tournament structure (or what mathematicians who study graph theory might call a ‘binary tree’).

This tournament features the mathematical process of exponential decay—half the players that start any given round are knocked out by the end of that round, which causes the number of players left in the tournament to drop off rapidly as the tournament progresses. The winner and runner-up of the whole tournament only need to play 7 matches, and every other player in the tournament players fewer matches. With the minimum number of 127 matches played, the Grand Slam tournaments can be held in a very reasonable timeframe of 2-3 weeks.

The second thing to consider is that, ideally, the tournament should become more difficult for the players as the rounds progress—players should be more likely to encounter higher-ranking players later in the tournament. This will naturally happen as stronger players triumph in their rounds, but we need to be careful in our tournament design: we want to make sure that the top seeds don’t meet each other (and knock each other out) at the start of the tournament, so we place the seeded players carefully in tournament brackets. The first and second seeds are placed at the very ends of the first round, like so:

This ensures that, if the first and second seeds win all of their matches, they can’t face each other until the finals. A similar idea is used to make sure the top 4 seeds can’t meet each other until the semi-finals—seeds 3 and 4 are placed (randomly) in the following two positions.

Likewise, none of the top 8 seeds can meet until the quarter-finals, the top 16 won’t meet until the fourth round and the top 32 seeded players won’t meet until the third round. The remaining 96 unseeded players (8 of which are ‘wild card’ entries to the tournament, selected on other grounds than their world ranking) are then placed randomly in the remaining slots. This careful setup of the tournament draw is why you never see two big-names clashing until the later stages of the tournament.

### Structuring a small tournament

Click the player seed numbers to select match winners. Notice how the tournament structure prevents top-seeded players from facing each other until later matches.

## Scrutinising the scores

Moving from tournament organisation to analysis of the game itself, perhaps the most striking feature of tennis is its unique scoring system. It turns out that it’s not just a quirky flavour—the division of a match into points, games and sets actually impacts the final results in some unexpected ways.

#### A surprising paradox

One of the key features of the tennis scoring system is that, unlike sports such as cricket or football, not every point ultimately affects the outcome of the match. To see how this works, consider a match between Alice and Bob in which Alice is serving the first game of the first set. Alice wins the first 3 points, so at that stage the score is 40-0.

If Alice wins the next point, she wins the game, and the overall score for the match sits at 1-0.

But suppose Bob manages to score the next 2 points instead. The score sits at 40-30. Alice then wins the next point, she wins the game—and the overall score for the match again sits at 1-0. The same outcome occurs both times, regardless of whether or not Bob won his two points! Bob’s two points were effectively erased once Alice won the game, and have no influence whatsoever on the final outcome of the match.

This can lead to strange situations in which players can win more points than their opponents—or even more games—and yet still lose the match! This surprising result is closely related to a phenomenon in statistics called Simpson’s Paradox, where looking at data in greater detail can lead to different conclusions than looking at data on a broad scale. How often does this actually occur in professional tennis matches? A study in 2013 set out to answer this question by analysing 61,000 professional tennis matches over a 21 year timespan. It found that about 4.5 per cent of games were won by the players with fewer overall points (so roughly 1 game in 22).

One of the most famous examples of this phenomenon occurred in the first round of Wimbledon in 2010, when American player John Isner defeated French player Nicolas Mahut, despite Isner winning fewer points overall (Isner won 478 points and Mahut won 502). The final score for the match was 6-4, 3-6, 6-7, 7-6, 70-68 (remember: no tie-breakers in the fifth set at Wimbledon). This match also holds the record for the longest tennis match in history: 11 hours and 5 minutes spread across 3 days. A plaque commemorating this feat remains on Wimbledon Court 18.

Matches where the losing player wins more games (as opposed to points) are more rare, but still possible. In the final match of the 2009 Wimbledon Championship, Swiss player Roger Federer defeated American player Andy Roddick, despite Federer winning 38 games to Roddick’s 39 games. The final score was 5-7, 7-6, 7-6, 3-6, 16-14.

So why not switch to a simpler scoring system where only the total number of points matters? Tradition (and quirky flavour) aside, it turns out that the same mechanism that allows players to win with fewer points may also give consistently better players a better chance to win the match.

#### Winning probabilities

Mathematicians use Markov chains to analyse any system that moves from one state to another with certain probabilities. In his 1989 book *Game, Set and Math*, British mathematician Ian Stewart used the mathematics of Markov chains to analyse a model tennis match. He found that if one player has probability p** **of winning any given point (which means their opponent has probability 1−p of winning any given point), then the probability that that player would win any given game was not p. Instead, it was given by the formula:

$$p^4 + 4p^4(1-p) + \frac{10p^4(1-p)^2}{1-2p(1-p)}$$

What does this mean? If p=0.5, so both players are equally likely to win a point, then the probability that either player wins the game is also 0.5, as expected. However, the graph of this function has an interesting shape.

The graph shows that if the probability of winning a point differs from 0.5 (or 50 per cent) by just a little bit, the probability of winning a game changes by a lot. If the probability of a player winning each point moves up to 60 per cent, the probability of winning each game jumps up to over 73 per cent. A 70 per cent chance of winning each point translates into a 90 per cent chance of winning each game.

Stewart also found other formulas linking the probability of winning each individual point to the probabilities of winning sets and the match. The effect is magnified as we move from games to sets to matches.

### Probability calculator

If the probability of a player or team winning a point is anything other than 50 per cent, the probability of changing the match changes by a lot.

Probability of winning a **game**

Probability of winning a **set**

(with a tie-breaker)

Probability of winning a **match**

Note that this model is only a simple model. In particular, analysis of professional tennis matches shows that the probabilities of each player winning a given point does not stay the same throughout the match, but changes based on the outcomes of previous points. Nonetheless, it is useful to note that the scoring system of tennis rewards players who can maintain a consistent edge over their opponents, even if the edge is only small.

## Ongoing developments

Mathematicians have served up many papers concerning tennis, and it remains an active area of research to this day. We are continuing to learn more about the effects of the scoring system and how it might be made fairer, the best strategies for players to adopt, the impact of the home-court advantage and many other topics. The game is continually changing as new technologies—such as the Hawk-Eye system for tracking ball trajectories—are introduced. The aspects we’ve covered in this article are just the opening points in tennis maths.