<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Azimuth]]></provider_name><provider_url><![CDATA[https://johncarlosbaez.wordpress.com]]></provider_url><author_name><![CDATA[John Baez]]></author_name><author_url><![CDATA[https://johncarlosbaez.wordpress.com/author/johncarlosbaez/]]></author_url><title><![CDATA[Game Theory (Part&nbsp;14)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Here is the first test in our game theory course.  If you&#8217;re following along on this blog, you can do it and then look at the answers below.</p>
<h3> Definitions </h3>
<p><b>1.</b> Define a <b>Nash equilibrium</b> for a 2-player normal form<br />
game.  </p>
<p><b>2.</b>  Define the <b>expected value</b> of some function with respect to some probability distribution.</p>
<h3> Proof </h3>
<p><b>3.</b> Suppose <img src='https://s0.wp.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A' title='A' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='B' title='B' class='latex' /> are the payoff matrices for 2-player normal form game.  Prove that if <img src='https://s0.wp.com/latex.php?latex=%28i%2Cj%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='(i,j)' title='(i,j)' class='latex' /> is a Nash equilibrium, there cannot exist a choice <img src='https://s0.wp.com/latex.php?latex=i%27&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#039;' title='i&#039;' class='latex' /> for player A that strictly dominates choice <img src='https://s0.wp.com/latex.php?latex=i.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i.' title='i.' class='latex' /> </p>
<h3> 2-Player normal form games </h3>
<p>Consider this 2-player normal form game:</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brrr%7D+++%28-2%2C1%29+%26+%284%2C2%29+%26+%282%2C-5%29++%5C%5C++++%282%2C3%29+%26+%28-6%2C2%29+%26+%285%2C3%29+%5C%5C+++%281%2C0%29+%26+%282%2C-4%29+%26+%284%2C-3%29+%5Cend%7Barray%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{rrr}   (-2,1) &amp; (4,2) &amp; (2,-5)  &#92;&#92;    (2,3) &amp; (-6,2) &amp; (5,3) &#92;&#92;   (1,0) &amp; (2,-4) &amp; (4,-3) &#92;end{array}  ' title='&#92;begin{array}{rrr}   (-2,1) &amp; (4,2) &amp; (2,-5)  &#92;&#92;    (2,3) &amp; (-6,2) &amp; (5,3) &#92;&#92;   (1,0) &amp; (2,-4) &amp; (4,-3) &#92;end{array}  ' class='latex' />
</div>
<p><b>4.</b>  Find all the Nash equilibria.  Draw a box around each Nash<br />
equilibrium.</p>
<p><b>For problems 5-8 <i>do not  simplify your answers</i> by working out the binomial coefficients, etc.</b></p>
<h3> Probabilities </h3>
<p><b>5.</b>  If you draw 3 cards from a well-shuffled standard deck,<br />
what is the probability that at least 2 are hearts?</p>
<p><b>6.</b>  If you flip 4 fair and independent coins,  what is the probability that exactly 2 land heads up?</p>
<h3> Expected values </h3>
<p><b>7.</b> Suppose you pay $2 to enter a lottery. Suppose you have a 1% chance of winning $100, and otherwise you win nothing.  What is the expected value of your payoff, including your winnings but also the money you paid?</p>
<p><b>8.</b>  Suppose you draw two cards from a well-shuffled standard deck. Suppose you win $100 if you get two aces, $10 if you get one ace, and nothing if you get no aces.  What is your expected payoff?</p>
<h3> Extra credit </h3>
<p>About how many ways are there to choose 3 atoms from all the atoms in the observable universe?  Since this  question is for extra credit, I&#8217;ll make it hard: I&#8217;ll only accept answers written in <b>scientific notation</b>, for example <img src='https://s0.wp.com/latex.php?latex=2+%5Ctimes+10%5E%7B50%7D.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='2 &#92;times 10^{50}.' title='2 &#92;times 10^{50}.' class='latex' /></p>
<hr />
<p>And here are the answers to the first test.</p>
<h3> Definitions </h3>
<p><b>1.</b>  Given a 2-player normal form game where A&#8217;s<br />
payoff is <img src='https://s0.wp.com/latex.php?latex=A_%7Bij%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A_{ij}' title='A_{ij}' class='latex' /> and B&#8217;s payoff is <img src='https://s0.wp.com/latex.php?latex=B_%7Bij%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='B_{ij}' title='B_{ij}' class='latex' />, a pair of choices <img src='https://s0.wp.com/latex.php?latex=%28i%2Cj%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='(i,j)' title='(i,j)' class='latex' /> is a <b>Nash equilibrium</b> if:</p>
<p>1) For all <img src='https://s0.wp.com/latex.php?latex=1+%5Cle+i%27+%5Cle+m%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1 &#92;le i&#039; &#92;le m,' title='1 &#92;le i&#039; &#92;le m,' class='latex' /> <img src='https://s0.wp.com/latex.php?latex=A_%7Bi%27j%7D+%5Cle+A_%7Bij%7D.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A_{i&#039;j} &#92;le A_{ij}.' title='A_{i&#039;j} &#92;le A_{ij}.' class='latex' /></p>
<p>2)  For all <img src='https://s0.wp.com/latex.php?latex=1+%5Cle+j%27+%5Cle+n%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1 &#92;le j&#039; &#92;le n,' title='1 &#92;le j&#039; &#92;le n,' class='latex' /> <img src='https://s0.wp.com/latex.php?latex=B_%7Bij%27%7D+%5Cle+B_%7Bij%7D.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='B_{ij&#039;} &#92;le B_{ij}.' title='B_{ij&#039;} &#92;le B_{ij}.' class='latex' /></p>
<p><b>2.</b>  The <b>expected value</b> of a function <img src='https://s0.wp.com/latex.php?latex=f+%3A+X+%5Cto+%5Cmathbb%7BR%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='f : X &#92;to &#92;mathbb{R}' title='f : X &#92;to &#92;mathbb{R}' class='latex' /> with respect to a probability distribution <img src='https://s0.wp.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='p' title='p' class='latex' /> on the finite set <img src='https://s0.wp.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='X' title='X' class='latex' /> is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Csum_%7Bi+%5Cin+X%7D+f%28i%29+p_i+++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;sum_{i &#92;in X} f(i) p_i   ' title='&#92;sum_{i &#92;in X} f(i) p_i   ' class='latex' />
</div>
<p><b>Note that a good definition makes it clear what term is being defined, by writing it in boldface or underlining it.  Also, it&#8217;s best if all variables used in the definition are explained: here they are <img src='https://s0.wp.com/latex.php?latex=f%2C+X&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='f, X' title='f, X' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=p.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='p.' title='p.' class='latex' /></b></p>
<h3> Proof </h3>
<p><b>3.  Theorem.</b>  Suppose <img src='https://s0.wp.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A' title='A' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='B' title='B' class='latex' /> are the payoff matrices for 2-player normal form game.  If <img src='https://s0.wp.com/latex.php?latex=%28i%2Cj%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='(i,j)' title='(i,j)' class='latex' /> is a Nash equilibrium, there cannot exist a choice <img src='https://s0.wp.com/latex.php?latex=i%27&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#039;' title='i&#039;' class='latex' /> for player A that strictly dominates choice <img src='https://s0.wp.com/latex.php?latex=i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i' title='i' class='latex' />.  </p>
<p><b>Proof.</b> Suppose that <img src='https://s0.wp.com/latex.php?latex=%28i%2Cj%29&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='(i,j)' title='(i,j)' class='latex' /> is a Nash equilibrium.  Then</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=A_%7Bij%7D+%5Cge+A_%7Bi%27+j%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A_{ij} &#92;ge A_{i&#039; j} ' title='A_{ij} &#92;ge A_{i&#039; j} ' class='latex' />
</div>
<p>for any choice <img src='https://s0.wp.com/latex.php?latex=i%27&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#039;' title='i&#039;' class='latex' /> for player A. On the other hand, if choice <img src='https://s0.wp.com/latex.php?latex=i%27&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#039;' title='i&#039;' class='latex' />  strictly dominates choice <img src='https://s0.wp.com/latex.php?latex=i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i' title='i' class='latex' />, then</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=A_%7Bi%27j%7D+%3E+A_%7Bi+j%7D+++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='A_{i&#039;j} &gt; A_{i j}   ' title='A_{i&#039;j} &gt; A_{i j}   ' class='latex' />
</div>
<p>This contradicts the previous inequality, so there cannot exist<br />
a choice <img src='https://s0.wp.com/latex.php?latex=i%27&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i&#039;' title='i&#039;' class='latex' /> for player A that strictly dominates choice <img src='https://s0.wp.com/latex.php?latex=i&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='i' title='i' class='latex' />.   &#9608;</p>
<p><b><br />
Note that the really good way to write a proof involves:</p>
<p>&bull; First writing &#8220;Theorem&#8221; and stating the theorem.<br />
&bull; Saying &#8220;Proof&#8221; at the start of the proof.<br />
&bull; Giving an argument that starts with the hypotheses and leads to the conclusion.<br />
&bull; Marking the end of the proof with &#8220;Q.E.D.&#8221; or “&#9608;&#8221; or something similar.</b></p>
<h3> 2-Player normal form games </h3>
<p><b>4.</b>  In this 2-player normal form game, the three Nash equilibria are marked with boxes:</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brrr%7D+++%28-2%2C1%29+%26+%5Cboxed%7B%284%2C2%29%7D+%26+%282%2C-5%29++%5C%5C++++%5Cboxed%7B%282%2C3%29%7D+%26+%28-6%2C2%29+%26+%5Cboxed%7B%285%2C3%29%7D+%5C%5C+++%281%2C0%29+%26+%282%2C-4%29+%26+%284%2C-3%29+%5Cend%7Barray%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{rrr}   (-2,1) &amp; &#92;boxed{(4,2)} &amp; (2,-5)  &#92;&#92;    &#92;boxed{(2,3)} &amp; (-6,2) &amp; &#92;boxed{(5,3)} &#92;&#92;   (1,0) &amp; (2,-4) &amp; (4,-3) &#92;end{array}  ' title='&#92;begin{array}{rrr}   (-2,1) &amp; &#92;boxed{(4,2)} &amp; (2,-5)  &#92;&#92;    &#92;boxed{(2,3)} &amp; (-6,2) &amp; &#92;boxed{(5,3)} &#92;&#92;   (1,0) &amp; (2,-4) &amp; (4,-3) &#92;end{array}  ' class='latex' />
</div>
<h3> Probabilities </h3>
<p><b>5.</b>  If you draw 3 cards from a well-shuffled standard deck,<br />
what is the probability that at least 2 are hearts? </p>
<p><b>Answer.</b> One correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7B%5Cbinom%7B13%7D%7B2%7D+%5Cbinom%7B39%7D%7B1%7D%7D%7B%5Cbinom%7B52%7D%7B3%7D%7D+%2B++++++%5Cfrac%7B%5Cbinom%7B13%7D%7B3%7D+%5Cbinom%7B39%7D%7B0%7D%7D%7B%5Cbinom%7B52%7D%7B3%7D%7D+%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{&#92;binom{13}{2} &#92;binom{39}{1}}{&#92;binom{52}{3}} +      &#92;frac{&#92;binom{13}{3} &#92;binom{39}{0}}{&#92;binom{52}{3}} }' title='&#92;displaystyle{ &#92;frac{&#92;binom{13}{2} &#92;binom{39}{1}}{&#92;binom{52}{3}} +      &#92;frac{&#92;binom{13}{3} &#92;binom{39}{0}}{&#92;binom{52}{3}} }' class='latex' />
</div>
<p>since there are:</p>
<p>&bull; <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B52%7D%7B2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{52}{2}' title='&#92;binom{52}{2}' class='latex' /> ways to choose 3 cards, all equally likely,</p>
<p>&bull; <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B13%7D%7B2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{13}{2}' title='&#92;binom{13}{2}' class='latex' /> ways to choose 2 hearts and <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B39%7D%7B1%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{39}{1}' title='&#92;binom{39}{1}' class='latex' /> ways to chose 1 non-heart, and</p>
<p>&bull; <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B13%7D%7B3%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{13}{3}' title='&#92;binom{13}{3}' class='latex' /> ways to choose 2 hearts and <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B39%7D%7B0%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{39}{0}' title='&#92;binom{39}{0}' class='latex' /> ways to chose 0 non-hearts.</p>
<p>Another correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7B%5Cbinom%7B13%7D%7B2%7D+%5Ccdot+39+%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%2B++++++%5Cfrac%7B%5Cbinom%7B13%7D%7B3%7D%7D+%7B%5Cbinom%7B52%7D%7B2%7D%7D%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{&#92;binom{13}{2} &#92;cdot 39 }{&#92;binom{52}{2}} +      &#92;frac{&#92;binom{13}{3}} {&#92;binom{52}{2}}} ' title='&#92;displaystyle{ &#92;frac{&#92;binom{13}{2} &#92;cdot 39 }{&#92;binom{52}{2}} +      &#92;frac{&#92;binom{13}{3}} {&#92;binom{52}{2}}} ' class='latex' />
</div>
<p>This is equal since <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B39%7D%7B0%7D+%3D+1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{39}{0} = 1' title='&#92;binom{39}{0} = 1' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B39%7D%7B1%7D+%3D+39.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{39}{1} = 39.' title='&#92;binom{39}{1} = 39.' class='latex' /></p>
<p><b>6.</b>  If you flip 4 fair and independent coins, what is the probability that exactly 2 land heads up?</p>
<p><b>Answer.</b>  The probability </p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+%5Cfrac%7B%5Cbinom%7B4%7D%7B2%7D%7D%7B2%5E4%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{ &#92;frac{&#92;binom{4}{2}}{2^4} } ' title='&#92;displaystyle{ &#92;frac{&#92;binom{4}{2}}{2^4} } ' class='latex' />
</div>
<p>since there are <img src='https://s0.wp.com/latex.php?latex=2%5E4&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='2^4' title='2^4' class='latex' /> possible ways the coins can land, all<br />
equally likely, and <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B4%7D%7B2%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{4}{2}' title='&#92;binom{4}{2}' class='latex' /> ways to choose 2 of the 4 coins to land heads up. </p>
<h3> Expected values </h3>
<p><b>7.</b>  Suppose you pay $2 to enter a lottery.  Suppose you have a 1% chance of winning $100, and otherwise you win nothing.  What is the expected value of your payoff, including your winnings but also the money you paid?</p>
<p><b>Answer.</b>  One correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=0.01+%5Ccdot+%5C%2498+%5Cquad+%2B+%5Cquad+0.99+%5Ccdot+%28-%5C%24+2%29+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='0.01 &#92;cdot &#92;$98 &#92;quad + &#92;quad 0.99 &#92;cdot (-&#92;$ 2) ' title='0.01 &#92;cdot &#92;$98 &#92;quad + &#92;quad 0.99 &#92;cdot (-&#92;$ 2) ' class='latex' />
</div>
<p>Another correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=0.01+%5Ccdot+%5C%24100+%5Cquad+%2B+%5Cquad+0.99+%5Ccdot+%5C%240+%5Cquad+-+%5Cquad+%5C%242+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='0.01 &#92;cdot &#92;$100 &#92;quad + &#92;quad 0.99 &#92;cdot &#92;$0 &#92;quad - &#92;quad &#92;$2 ' title='0.01 &#92;cdot &#92;$100 &#92;quad + &#92;quad 0.99 &#92;cdot &#92;$0 &#92;quad - &#92;quad &#92;$2 ' class='latex' />
</div>
<p>Of course these are equal.</p>
<p><b>8.</b>  Suppose you draw two cards from a well-shuffled standard deck. Suppose you win $100 if you get two aces, $10 if you get one ace, and nothing if you get no aces.  What is your expected payoff?</p>
<p><b>Answer.</b>  One correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B+++%5Cfrac%7B%5Cbinom%7B4%7D%7B2%7D+%5Cbinom%7B48%7D%7B0%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%24100+%5Cquad+%2B+%5Cquad+%5Cfrac%7B%5Cbinom%7B4%7D%7B1%7D+%5Cbinom%7B48%7D%7B1%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%2410+%5Cquad+%2B+%5Cquad++++++%5Cfrac%7B%5Cbinom%7B4%7D%7B0%7D+%5Cbinom%7B48%7D%7B2%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%24+0+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{   &#92;frac{&#92;binom{4}{2} &#92;binom{48}{0}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 &#92;quad + &#92;quad &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 &#92;quad + &#92;quad      &#92;frac{&#92;binom{4}{0} &#92;binom{48}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$ 0 } ' title='&#92;displaystyle{   &#92;frac{&#92;binom{4}{2} &#92;binom{48}{0}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 &#92;quad + &#92;quad &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 &#92;quad + &#92;quad      &#92;frac{&#92;binom{4}{0} &#92;binom{48}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$ 0 } ' class='latex' />
</div>
<p>since <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B4%7D%7Bn%7D+%5Cbinom%7B48%7D%7B3-n%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{4}{n} &#92;binom{48}{3-n}' title='&#92;binom{4}{n} &#92;binom{48}{3-n}' class='latex' /> is the number of ways to pick <img src='https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='n' title='n' class='latex' /> aces and <img src='https://s0.wp.com/latex.php?latex=3-n&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='3-n' title='3-n' class='latex' /> non-aces.  Of course we can also leave off  the last term, which is zero:</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++%5Cfrac%7B%5Cbinom%7B4%7D%7B2%7D+%5Cbinom%7B48%7D%7B0%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%24100+%5Cquad+%2B+%5Cquad+++++%5Cfrac%7B%5Cbinom%7B4%7D%7B1%7D+%5Cbinom%7B48%7D%7B1%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%2410+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{  &#92;frac{&#92;binom{4}{2} &#92;binom{48}{0}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 &#92;quad + &#92;quad     &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' title='&#92;displaystyle{  &#92;frac{&#92;binom{4}{2} &#92;binom{48}{0}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 &#92;quad + &#92;quad     &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' class='latex' />
</div>
<p>Since <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B48%7D%7B0%7D+%3D+1&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{48}{0} = 1' title='&#92;binom{48}{0} = 1' class='latex' /> we can also write this as</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++%5Cfrac%7B%5Cbinom%7B4%7D%7B2%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%24100++%5Cquad+%2B+%5Cquad+++++%5Cfrac%7B%5Cbinom%7B4%7D%7B1%7D+%5Cbinom%7B48%7D%7B1%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%2410+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{  &#92;frac{&#92;binom{4}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$100  &#92;quad + &#92;quad     &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' title='&#92;displaystyle{  &#92;frac{&#92;binom{4}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$100  &#92;quad + &#92;quad     &#92;frac{&#92;binom{4}{1} &#92;binom{48}{1}}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' class='latex' />
</div>
<p>Or, since <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B4%7D%7B1%7D+%3D+4&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{4}{1} = 4' title='&#92;binom{4}{1} = 4' class='latex' /> and <img src='https://s0.wp.com/latex.php?latex=%5Cbinom%7B48%7D%7B1%7D+%3D+48&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;binom{48}{1} = 48' title='&#92;binom{48}{1} = 48' class='latex' /> we can write this as</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%7B++++%5Cfrac%7B%5Cbinom%7B4%7D%7B2%7D%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%24100+%2B++++++%5Cfrac%7B4+%5Ccdot+48%7D%7B%5Cbinom%7B52%7D%7B2%7D%7D+%5Ccdot+%5C%2410+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;displaystyle{    &#92;frac{&#92;binom{4}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 +      &#92;frac{4 &#92;cdot 48}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' title='&#92;displaystyle{    &#92;frac{&#92;binom{4}{2}}{&#92;binom{52}{2}} &#92;cdot &#92;$100 +      &#92;frac{4 &#92;cdot 48}{&#92;binom{52}{2}} &#92;cdot &#92;$10 } ' class='latex' />
</div>
<p>But I said not to bother simplifying the binomial coefficents.</p>
<h3> Extra credit </h3>
<p>About how many ways are there to choose 3 atoms from all the atoms in the observable universe?  Since this  question is for extra credit, I&#8217;ll make it hard: I&#8217;ll only accept answers written in <b> scientific notation</b>, for example <img src='https://s0.wp.com/latex.php?latex=2+%5Ctimes+10%5E%7B50%7D.&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='2 &#92;times 10^{50}.' title='2 &#92;times 10^{50}.' class='latex' /></p>
<p><b>Answer.</b> In class I said the number of atoms in the<br />
observable universe is about <img src='https://s0.wp.com/latex.php?latex=10%5E%7B80%7D%2C&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='10^{80},' title='10^{80},' class='latex' /> and I said I might put this on the test.  So, the answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cbegin%7Barray%7D%7Bccl%7D+%5Cdisplaystyle%7B+%5Cbinom%7B10%5E%7B80%7D%7D%7B3%7D%7D+%26%3D%26++%5Cdisplaystyle%7B+%5Cfrac%7B10%5E%7B80%7D%2810%5E%7B80%7D+-+1%29%2810%5E%7B80%7D+-+2%29%7D%7B3+%5Ccdot+2++%5Ccdot+1%7D+%7D+%5C%5C++%5C%5C+%26%5Capprox%26+++%5Cdisplaystyle%7B+%5Cfrac%7B10%5E%7B80%7D+%5Ccdot+10%5E%7B80%7D+%5Ccdot+10%5E%7B80%7D%7D%7B6%7D+%7D+%5C%5C+++%5C%5C+%26%3D%26+%5Cdisplaystyle%7B+%5Cfrac%7B10%5E%7B240%7D%7D%7B6%7D+%7D+%5C%5C+++%5C%5C++%26%5Capprox+%26+1.667+%5Ctimes+10%5E%7B239%7D+%5Cend%7Barray%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;begin{array}{ccl} &#92;displaystyle{ &#92;binom{10^{80}}{3}} &amp;=&amp;  &#92;displaystyle{ &#92;frac{10^{80}(10^{80} - 1)(10^{80} - 2)}{3 &#92;cdot 2  &#92;cdot 1} } &#92;&#92;  &#92;&#92; &amp;&#92;approx&amp;   &#92;displaystyle{ &#92;frac{10^{80} &#92;cdot 10^{80} &#92;cdot 10^{80}}{6} } &#92;&#92;   &#92;&#92; &amp;=&amp; &#92;displaystyle{ &#92;frac{10^{240}}{6} } &#92;&#92;   &#92;&#92;  &amp;&#92;approx &amp; 1.667 &#92;times 10^{239} &#92;end{array} ' title='&#92;begin{array}{ccl} &#92;displaystyle{ &#92;binom{10^{80}}{3}} &amp;=&amp;  &#92;displaystyle{ &#92;frac{10^{80}(10^{80} - 1)(10^{80} - 2)}{3 &#92;cdot 2  &#92;cdot 1} } &#92;&#92;  &#92;&#92; &amp;&#92;approx&amp;   &#92;displaystyle{ &#92;frac{10^{80} &#92;cdot 10^{80} &#92;cdot 10^{80}}{6} } &#92;&#92;   &#92;&#92; &amp;=&amp; &#92;displaystyle{ &#92;frac{10^{240}}{6} } &#92;&#92;   &#92;&#92;  &amp;&#92;approx &amp; 1.667 &#92;times 10^{239} &#92;end{array} ' class='latex' />
</div>
<p>Note that the question asked for an <i>approximate</i> answer, since we don&#8217;t know exactly how many atoms there are in the  observable universe.  The right answer to a question like this gives <i>no more decimal places than we have in our data</i>, so <img src='https://s0.wp.com/latex.php?latex=1.667+%5Ctimes+10%5E%7B239%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='1.667 &#92;times 10^{239}' title='1.667 &#92;times 10^{239}' class='latex' /> is actually <i>too precise!</i>  You only have one digit in the data I gave you, so a better answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cmathbf%7B+2+%5Ctimes+10%5E%7B239%7D+%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;mathbf{ 2 &#92;times 10^{239} }  ' title='&#92;mathbf{ 2 &#92;times 10^{239} }  ' class='latex' />
</div>
<p>Since the figure <img src='https://s0.wp.com/latex.php?latex=10%5E%7B80%7D&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='10^{80}' title='10^{80}' class='latex' /> is very approximate, another correct answer is</p>
<div align="center">
<img src='https://s0.wp.com/latex.php?latex=%5Cmathbf%7B+10%5E%7B239%7D+%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0' alt='&#92;mathbf{ 10^{239} }  ' title='&#92;mathbf{ 10^{239} }  ' class='latex' />
</div>
]]></html></oembed>