<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>7357</id>
  <path>/www/nrich/html/content/id/7357/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;A mathematician tennis player said:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&amp;quot;In tennis you win a game if you score 4 points before your opponent scores 3 points. Or, if you both score 3 points at some stage you win if you manage to score 2 points in a row after the 3-all stage before your opponent does.&amp;quot;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This sentence is quite a mouthful to say, so first think about what it means! If you play tennis, think about how this mathematically represents the scoring system.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Suppose that you have a fixed chance of $0.6$ of winning any given point. What is your chance of winning a game?&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Numerical extension&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In reality a fixed chance of winning a point is not a good assumption. Suppose that Ahmed has a 60% chance of winning the first point if he serves, 80% chance of winning a point if he has just won a point and a 40% chance of winning a point if he has just lost a point. Suppose that Bryoni&amp;#39;s chances are 85%, 80% and 30% respectively if she serves.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
What chance would each player have of winning a service match?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Explore.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;div class=&quot;framework&quot;&gt;NOTES AND BACKGROUND&lt;br&gt;&lt;/br&gt;
In the 2010 Wimbledon Championships, Isner and Mahut played the longest match in tennis history: the match went on for three days and finished with a score of 70-68! (You can read about it in the Plus article &lt;a href=&quot;http://plus.maths.org/content/anyone-tennis&quot;&gt;here&lt;/a&gt;) After the match, Isner said that a match like this will never happen again.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
I wonder if Isner was correct in this statement. The famous Cambridge mathematician Tim Gowers thought about this question on &lt;a href=&quot;http://gowers.wordpress.com/2010/06/24/a-mathematician-watches-tennis-ii/&quot;&gt;his blog&lt;/a&gt;.&lt;/div&gt;
&lt;p&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;Steve writes&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Once I had understood the scoring systems I realised that I needed to look at the chances of winning based on whether I reached deuce or not. Let $V$ be the event of victory in the the overall game and $D$ the event of reaching deuce ($3$ points all) and $P_0, P_1$ and$P_2$ the probability of winning the game whilst losing $0$, $1$ and $2$ points respectively.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;$$P(V) = P_0+P_1+P_2+ P(V|D)P(D)$$&lt;/p&gt;
&lt;p&gt;$P_0, P_1$ and$P_2$ correspond to games of $4$, $5$ and $6$ points respectively. Each of these must end in a winning point (denoted W). The number of such games equals the number of ways of distributing $0$, $1$ and $2$ lost points (denoted L) amongst $3$, $4$ and $5$ points. The game reaches deuce if $6$ points are played with $3$ $W$s and $3$ $L$s. The number of such games equals the number
of ways of distributing $3$ $L$s into $6$ points. Since each point is won or lost independently of the other points the probabilities multiply. Therefore,&lt;/p&gt;
&lt;p&gt;$$P(V) = (0.6)^4\cdot 1 + (0.6)^4(0.4)\cdot 4 + (0.6)^4(0.4)^2\cdot \frac{5\cdot 4}{2}+P(V|D)\cdot(0.6)^3(0.4)^3\cdot\frac{6\cdot 5\cdot 4}{3\cdot 2}$$&lt;/p&gt;
&lt;p&gt;I now need to use conditional probability to work out the chance of winning given that I reach deuce&lt;/p&gt;
&lt;p&gt;&lt;mdo:image src=&quot;tree.png&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt;The red dots on this tree indicate branches where the probability of winning equals the probability of winning given that I am at deuce $P(V|D)$ and the blue dot is a victory $V$.&lt;/p&gt;
&lt;p&gt;$$P(V|D) = (0.6)^2 + (0.6)(0.4)P(V|D)+(0.4)(0.6)P(V|D)$$&lt;/p&gt;
&lt;p&gt;which can be rearranged to&lt;/p&gt;
&lt;p&gt;$$P(V|D) = \frac{(0.6)^2}{1-2(0.6)(0.4)}$$&lt;/p&gt;
&lt;p&gt;Putting all of this together yields a probability of victory of&lt;/p&gt;
&lt;p&gt;$$P(V) =(0.6)^4\left[ 1+ 4(0.4)+10(0.4)^2\right] +\frac{20(0.6)^5(0.4)^3}{1-2(0.6)(0.4)}$$&lt;/p&gt;
&lt;p&gt;This equals $0.736$ (3dp). I left the probabilities in so that I could check the calculation by replacing the $0.6$ and $0.4$ by $0.5$. In this case, I get $0.5$, which makes sense (even players have an even chance of winning in this set of game rules). I also get a guaranteed victory by changing the $0.6$ to $1$ and setting the $0.4$ to $0$, which also makes sense (you will win if you win
every point!)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;--------------&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For the second part of the problem I used a spreadsheet. It was inefficient, but displayed the probabilities clearly. After a bit of thought it is clear that the $P(V|D)$ depends on whether deuce was reached on a $W$ or on a $L$. I&amp;#39;ll need two new events $D_W$ and $D_L$ for these cases.&lt;/p&gt;
&lt;p&gt;We now have&lt;/p&gt;
&lt;p&gt;$$P(V)= P(V|\bar{D})P(\bar{D})+P(V|D_L)P(D_L)+P(V|D_W)P(D_W)$$&lt;/p&gt;
&lt;p&gt;&lt;mdo:image src=&quot;tree2.png&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt;There is a fun pair of linked trees for the $P(V|D)$ - in the diagram the red circles represent $P(V|D_W)$ and the yellow circles represent $P(V|D_L)$. Reading off the probabilities gives a pair of simultaneous equations:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;$$P(V|D_W) = (0.8)^2+(0.8)(0.2)P(V|D_L)+(0.2)(0.4)P(V|D_W)$$&lt;/p&gt;
&lt;p&gt;$$P(V|D_L)=(0.4)(0.8)+(0.4)(0.2)P(V|D_L)+(0.6)(0.4)P(V|D_W)$$&lt;/p&gt;
&lt;p&gt;This gives $P(V|D_W) = 0.792$ (exact value $\frac{80}{101}$) and $P(V|D_L) = 0.554$ (exact value $\frac{56}{101}$)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Using this piece of conditional probability to simplify the numerical analysis I then used a spreadsheet (&lt;a href=&quot;/content/id/7357/Tennis.xls&quot;&gt;Tennis.xls&lt;/a&gt; ) to calculate that&lt;/p&gt;
&lt;p&gt;$$P(D_L) = 0.0755, \quad P(D_W) = 0.0947$$&lt;/p&gt;
&lt;p&gt;Using this I calculate the chance of victory as&lt;/p&gt;
&lt;p&gt;$$P(V) = 0.7364$$&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For Bryony the numbers are&lt;/p&gt;
&lt;p&gt;$$\begin{eqnarray}P(V|D_W) = 0.753\\P_(V|D_L)=  0.423\\P(D_L) = 0.0857\\P(D_W)= 0.0646\\P(V) =0.7383\end{eqnarray}$$&lt;/p&gt;
&lt;p&gt;So, the players are very evenly matched.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;You can check the results on this spreadsheet: &lt;a href=&quot;/content/id/7357/Tennis.xls&quot;&gt;Tennis.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Why do this problem?&lt;/h3&gt;
&lt;p&gt;This is an interesting and complicated scenario which will require clear probabilistic thinking. There will be various different ways in which the first part of the problem can be attempted, and it would be informative to compare and contrast these. It is quite a difficult problem and could be set to keen students individually or discussed collectively. It would be good as revision of a module
on probability or to motivate the advanced study of probability.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;The main thing to realise is that this modelling situation is more complicated than it might first appear: with a simple counting approach to probability, there is the risk of incorrectly computing an answer without realising it,  so require that all discussion is clearly reasoned. Be prepared to negotiate these probabilistic discussions, as they can be quite difficult for learners to
understand.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The first phase is to encourage learners to get to grips with the problem, and the mathematical description of tennis should stimulate some fun and discussion! Hopefully the discussion and learning can be navigated so that learners realise:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;There are different sorts of winning sequences, such as WWWLW, WWLLW.&lt;/li&gt;
&lt;li&gt;Each winning sequence ends with a W.&lt;/li&gt;
&lt;li&gt;There are arbitrarily long winning sequences WWWLLL(WL)....(WL)WW.&lt;/li&gt;
&lt;li&gt;Not all winning sequences are of the same probability.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Once this framework is understood, learners can attempt to work out ways to represent the situation and work out the probability.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The second part of the problem will require learners to work out some representation using technology, either with a spreadsheet or a piece of computer code. This is a valuable learning exercise, and the first step could be to verify numerically the answer to the first part of the question. For this second part, the probabilities will be numerical, so answers will necessarily be approximate;
learners might need to be encouraged that this is OK!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;What is the shortest possible game?&lt;/div&gt;
&lt;div&gt;How many different sorts of games result in two losses and four wins?&lt;/div&gt;
&lt;div&gt;What is the probability of a game hitting deuce? (i.e. 3 points each)&lt;/div&gt;
&lt;div&gt;How can a game be represented?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
&lt;div&gt;The second part of this question offers plenty of open extension.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;h3&gt;Possible support&lt;/h3&gt;
&lt;div&gt;You could start with either of these simpler, related problems:&lt;/div&gt;
&lt;div&gt;1) The winner is the first to three points.&lt;/div&gt;
&lt;div&gt;2) The winner is the first to be two points clear of his or her opponent.&lt;/div&gt;
&lt;p&gt;&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;p&gt;Consider the difference between games which hit 3 points each and those which don't.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Note that some sequences of games occur with the same probability as others (e.g. LWWWW and WLWWW).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For the numerical parts, you will need to decide the accuracy to which you wish to compute the answers. You might like to verify numerically any answer that you make to the first part of the question.&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;Steve writes&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Once I had understood the scoring systems I realised that I needed to look at the chances of winning based on whether I reached deuce or not. Let $V$ be the event of victory in the the overall game and $D$ the event of reaching deuce ($3$ points all) and $P_0, P_1$ and$P_2$ the probability of winning the game whilst losing $0$, $1$ and $2$ points respectively.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;$$P(V) = P_0+P_1+P_2+ P(V|D)P(D)$$&lt;/p&gt;
&lt;p&gt;$P_0, P_1$ and$P_2$ correspond to games of $4$, $5$ and $6$ points respectively. Each of these must end in a winning point (denoted W). The number of such games equals the number of ways of distributing $0$, $1$ and $2$ lost points (denoted L) amongst $3$, $4$ and $5$ points. The game reaches deuce if $6$ points are played with $3$ $W$s and $3$ $L$s. The number of such games equals the number
of ways of distributing $3$ $L$s into $6$ points. Since each point is won or lost independently of the other points the probabilities multiply. Therefore,&lt;/p&gt;
&lt;p&gt;$$P(V) = (0.6)^4\cdot 1 + (0.6)^4(0.4)\cdot 4 + (0.6)^4(0.4)^2\cdot \frac{5\cdot 4}{2}+P(V|D)\cdot(0.6)^3(0.4)^3\cdot\frac{6\cdot 5\cdot 4}{3\cdot 2}$$&lt;/p&gt;
&lt;p&gt;I now need to use conditional probability to work out the chance of winning given that I reach deuce&lt;/p&gt;
&lt;p&gt;&lt;mdo:image src=&quot;tree.png&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt;The red dots on this tree indicate branches where the probability of winning equals the probability of winning given that I am at deuce $P(V|D)$ and the blue dot is a victory $V$.&lt;/p&gt;
&lt;p&gt;$$P(V|D) = (0.6)^2 + (0.6)(0.4)P(V|D)+(0.4)(0.6)P(V|D)$$&lt;/p&gt;
&lt;p&gt;which can be rearranged to&lt;/p&gt;
&lt;p&gt;$$P(V|D) = \frac{(0.6)^2}{1-2(0.6)(0.4)}$$&lt;/p&gt;
&lt;p&gt;Putting all of this together yields a probability of victory of&lt;/p&gt;
&lt;p&gt;$$P(V) =(0.6)^4\left[ 1+ 4(0.4)+10(0.4)^2\right] +\frac{20(0.6)^5(0.4)^3}{1-2(0.6)(0.4)}$$&lt;/p&gt;
&lt;p&gt;This equals $0.736$ (3dp). I left the probabilities in so that I could check the calculation by replacing the $0.6$ and $0.4$ by $0.5$. In this case, I get $0.5$, which makes sense (even players have an even chance of winning in this set of game rules). I also get a guaranteed victory by changing the $0.6$ to $1$ and setting the $0.4$ to $0$, which also makes sense (you will win if you win
every point!)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;--------------&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For the second part of the problem I used a spreadsheet. It was inefficient, but displayed the probabilities clearly. After a bit of thought it is clear that the $P(V|D)$ depends on whether deuce was reached on a $W$ or on a $L$. I&amp;#39;ll need two new events $D_W$ and $D_L$ for these cases.&lt;/p&gt;
&lt;p&gt;We now have&lt;/p&gt;
&lt;p&gt;$$P(V)= P(V|\bar{D})P(\bar{D})+P(V|D_L)P(D_L)+P(V|D_W)P(D_W)$$&lt;/p&gt;
&lt;p&gt;&lt;mdo:image src=&quot;tree2.png&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt;There is a fun pair of linked trees for the $P(V|D)$ - in the diagram the red circles represent $P(V|D_W)$ and the yellow circles represent $P(V|D_L)$. Reading off the probabilities gives a pair of simultaneous equations:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;$$P(V|D_W) = (0.8)^2+(0.8)(0.2)P(V|D_L)+(0.2)(0.4)P(V|D_W)$$&lt;/p&gt;
&lt;p&gt;$$P(V|D_L)=(0.4)(0.8)+(0.4)(0.2)P(V|D_L)+(0.6)(0.4)P(V|D_W)$$&lt;/p&gt;
&lt;p&gt;This gives $P(V|D_W) = 0.792$ (exact value $\frac{80}{101}$) and $P(V|D_L) = 0.554$ (exact value $\frac{56}{101}$)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Using this piece of conditional probability to simplify the numerical analysis I then used a spreadsheet (&lt;a href=&quot;/content/id/7357/Tennis.xls&quot;&gt;Tennis.xls&lt;/a&gt; ) to calculate that&lt;/p&gt;
&lt;p&gt;$$P(D_L) = 0.0755, \quad P(D_W) = 0.0947$$&lt;/p&gt;
&lt;p&gt;Using this I calculate the chance of victory as&lt;/p&gt;
&lt;p&gt;$$P(V) = 0.7364$$&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For Bryony the numbers are&lt;/p&gt;
&lt;p&gt;$$\begin{eqnarray}P(V|D_W) = 0.753\\P_(V|D_L)=  0.423\\P(D_L) = 0.0857\\P(D_W)= 0.0646\\P(V) =0.7383\end{eqnarray}$$&lt;/p&gt;
&lt;p&gt;So, the players are very evenly matched.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;You can check the results on this spreadsheet: &lt;a href=&quot;/content/id/7357/Tennis.xls&quot;&gt;Tennis.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>5</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Any win for tennis?</title>
  <description>What are your chances of winning a game of tennis?</description>
  <spec_group>Probability
    <specifier>Probability</specifier>
  </spec_group>
  <spec_group>Applications
    <specifier>sport</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Spreadsheets</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Live - Stage 5</specifier>
  </spec_group>
</resource>