<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Math Goes Pop!</title>
	<atom:link href="http://www.mathgoespop.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mathgoespop.com</link>
	<description>Ruminations on the Intersection Between Mathematics and Popular Culture</description>
	<lastBuildDate>Wed, 01 Sep 2010 19:01:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Scott Pilgrim Vs. Gravity</title>
		<link>http://www.mathgoespop.com/2010/09/scott-pilgrim-vs-gravity.html</link>
		<comments>http://www.mathgoespop.com/2010/09/scott-pilgrim-vs-gravity.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 15:00:31 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math in the Movies]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[scott pilgrim]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=663</guid>
		<description><![CDATA[<p style="text-align: left;">More than three weeks after its opening, Scott Pilgrim Vs. The World appears to be limping towards the end of its theatrical run.  For whatever reason (some blame marketing, others blame Michael Cera exhaustion, for others the fault lies with a crowded weekend of opening releases) this action comedy with a video game aesthetic <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/09/scott-pilgrim-vs-gravity.html">Scott Pilgrim Vs. Gravity</a></span>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">More than three weeks after its opening, <a href="http://www.imdb.com/title/tt0446029/">Scott Pilgrim Vs. The World</a> appears to be limping towards the end of its theatrical run.  For whatever <a href="cle/scott-pilgrim-vs-box-office-how-something-so-good-did-so-bad-20335?page=0,0">reason</a> (some blame marketing, others blame Michael Cera exhaustion, for others the fault lies with a crowded weekend of opening releases) this action comedy with a video game aesthetic and a heart of platinum has failed to find an audience.  Critical response has been very positive, and everyone I know who&#8217;s seen the film has enjoyed it, so it&#8217;s unfortunate that this level of support hasn&#8217;t translated into higher revenues.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/OnyXasjpjNE?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/OnyXasjpjNE?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">While I&#8217;m sure many people have their own explanations for why this film didn&#8217;t resonate with a larger crowd, I would like to posit my own: that our culture&#8217;s math anxiety runs so deep, we instinctively run when there&#8217;s even a hint of mathematics afoot.  For if you look closely enough, you can find some mathematics in this film.</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/Picture-7.png"><img class="aligncenter size-full wp-image-722" title="Picture 7" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/Picture-7.png" alt="" width="340" height="501" /></a></p>
<p style="text-align: left;">As you probably know, the plot of the film involves Scott Pilgrim fighting his way through the <a href="http://en.wikipedia.org/wiki/List_of_Scott_Pilgrim_characters#Ramona.27s_Evil_Exes">seven evil exes</a> of Ramona Flowers, the girl of his dreams.  And don&#8217;t let his wiry frame fool you, for Scott Pilgrim has played enough Street Fighter to know how to throw a serious punch.  This, combined with his sharp wits, make Scott a deadly opponent.</p>
<p style="text-align: left;">That&#8217;s not to say that these fights are a breeze, however.  Consider Scott&#8217;s fight against Ramona&#8217;s third evil ex, Todd Ingram.  Because of his vegan diet, he has certain psychic and telekinetic powers that give him a distinct advantage.  Luckily for Scott, though, he is not the sharpest of the evil exes.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/EW9PYF7FcWc?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/EW9PYF7FcWc?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">Immediately prior to this clip, in an act of unparalleled physical strength, Todd Ingram executed a most righteous uppercut on Scott Pilgrim that sent him flying through the air.  He landed some time later in a pile of garbage.  When I watched this scene, one thought came to mind, a thought that I could not dispel for the rest of the movie: how high up did Scott Pilgrim go?  Such a question may seem unanswerable, but with some careful measurement and a simple application of the classical <a href="http://en.wikipedia.org/wiki/Equations_of_motion">equations of motion</a>, an answer is entirely within our grasp.</p>
<p style="text-align: left;">Consider the setup: Todd and Scott begin in a face off.</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/Picture-21.png"><img class="aligncenter size-full wp-image-730" title="toddscott" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/Picture-21.png" alt="" width="770" height="342" /></a></p>
<p style="text-align: left;">Todd then hits Scott and he flies upward with some initial velocity <em>v<sub>0</sub></em>. After a certain time, Scott returns to earth.</p>
<p style="text-align: left;">In the film, Scott remains airborne for approximately 23.6 seconds.  If we ignore air resistance, since it takes him about as long to go up as it does to come down, this means he reaches the top of his trajectory around 11.8 seconds into his flight.  We can then find the initial velocity, because we know that when Scott Pilgrim reaches the top of his trajectory, his velocity will momentarily be zero.</p>
<p style="text-align: left;">More specifically, the velocity at any time <em>t </em>is given by</p>
<p style="text-align: center;"><em>v</em>(<em>t</em>) = <em>v<sub>0</sub> + gt</em>,</p>
<p style="text-align: left;">where<em> g</em> is the acceleration due to gravity, typically approximated by -9.8 m/s<sup>2</sup> (since Scott Pilgrim is Canadian, I think it&#8217;s only fair that we perform this analysis in the standard units of his homeland).  In particular, <em>v</em>(11.8) = 0, so we have</p>
<p style="text-align: center;"><em>v<sub>0</sub></em> = 9.8 x 11.8 = 115.6 m/s,</p>
<p style="text-align: left;">so Todd sends Scott flying at a speed of approximately 115.6 meters per second, or a whopping 258.6 miles per hour.</p>
<p style="text-align: left;">Given this initial speed, how high up will Scott travel?  For this, we can use the equation governing the vertical position (which is the integral of our velocity equation).  If we set Scott&#8217;s initial height to be 0, then his height at time <em>t</em> is given by</p>
<p style="text-align: center;"><em>y</em>(<em>t</em>) = <em>v<sub>0</sub> t+ gt</em><sup>2</sup>/2.</p>
<p style="text-align: left;">Since we now know the initial velocity, we can plug in values at t = 11.8 (when Scott reaches the highest point).  This gives us<em> y</em>(11.8) = 115.6 x 11.8 &#8211; 9.8 x (11.8)<sup>2</sup>/2, which is approximately 681.8 meters (if you prefer, around 2,237 feet).</p>
<p style="text-align: left;">Of course, this number isn&#8217;t very meaningful without context.  As you  can see from the picture below (courtesy of <a href="http://en.wikipedia.org/wiki/List_of_tallest_buildings_and_structures_in_the_world">Wikipedia</a>), Scott flew way above the Empire State  building, and until recently would&#8217;ve flown above the highest  skyscrapers in the world.  In other words, that punch sent him up fairly  high.</p>
<div id="attachment_731" class="wp-caption aligncenter" style="width: 611px"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/scottnoair.jpg"><img class="size-full wp-image-731 " title="scottnoair" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/scottnoair.jpg" alt="" width="601" height="299" /></a><p class="wp-caption-text">Click for a larger view</p></div>
<p style="text-align: left;">Admittedly, this analysis is oversimplified by the fact that we ignored air resistance.  If we try to take this into account, what sort of answer will we obtain?</p>
<p style="text-align: left;">One can obtain analogous answers in the case where air resistance is included, but the mathematics involved quickly becomes more complicated.  Let me simply summarize the results, and for those brave souls who want more explanation, I will provide it at the end.</p>
<p style="text-align: left;">First of all, even though Scott&#8217;s trip takes 23.6 seconds, with air resistance included we can no longer assume that he reaches the zenith of his trip in half the time.  This is because air resistance on the way down will slow his acceleration, so it will actually take longer for him to come down than it did for him to go up.  I have calculated that in this case, instead of reaching the peak at 11.8 seconds, he actually reaches it at closer to 8.1 seconds.</p>
<p style="text-align: left;">As for the peak itself, once you know the time the peak is reached it&#8217;s not hard to compute.  In this case, I found that the peak distance was around 649.1 meters.  Lower than in the previous case, but not as much lower as I would&#8217;ve thought.</p>
<p style="text-align: left;">Perhaps the most interesting thing to note is the change in initial velocity.  To keep Scott in the air for 23.6 seconds with no air resistance, we saw that Todd must propel him with an initial velocity of 115.6 m/s.  With air resistance, however, to keep Scott in the air for that long requires a much greater initial velocity &#8211; around 455.1 meters per second, which is over 1,000 miles an hour.  This is also well above the <a href="http://en.wikipedia.org/wiki/Speed_of_sound">speed of sound</a>, so Scott should have produced a sonic boom as he traveled upwards &#8211; the fact that he doesn&#8217;t in the film shines a light on Canada&#8217;s best kept secret: it lies inside a perfect <a href="http://en.wikipedia.org/wiki/Vacuum">vacuum</a>.</p>
<p style="text-align: left;">Those interested in the details of the air resistance problem, read on.  But be careful, there is mathematics ahead!</p>
<p style="text-align: center;">*</p>
<p style="text-align: left;">To solve the problem in this case, I began with Newton&#8217;s second law:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=F%20%3D%20ma&#038;bg=T&#038;fg=000000&#038;s=0' alt='F = ma' title='F = ma' class='latex' />,</p>
<p style="text-align: left;">where <img src='http://s.wordpress.com/latex.php?latex=a%20%3D%20a%28t%29%20%3D%20v%27%28t%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='a = a(t) = v&#039;(t)' title='a = a(t) = v&#039;(t)' class='latex' /> is Scott&#8217;s acceleration as a function of time, and <em>v</em> is his velocity.</p>
<p style="text-align: left;">The <a href="http://en.wikipedia.org/wiki/Drag_%28physics%29">drag force</a> provided by air resistance, ignored in our earlier calculations, is directly proportional to the square of the velocity.  Moreover, when Scott is traveling upwards, the drag force points in the same direction as the force of gravity.  This means that the net force on Scott&#8217;s body must be <img src='http://s.wordpress.com/latex.php?latex=-mg%20-cv%5E2&#038;bg=T&#038;fg=000000&#038;s=0' alt='-mg -cv^2' title='-mg -cv^2' class='latex' />, for some constant <em>c</em>.</p>
<p style="text-align: left;">When Scott reaches the zenith and begins to descend, the drag force points in the OPPOSITE direction of the gravitational force, so on this side of the trip we see that the net force is <img src='http://s.wordpress.com/latex.php?latex=-mg%20%2B%20cv%5E2&#038;bg=T&#038;fg=000000&#038;s=0' alt='-mg + cv^2' title='-mg + cv^2' class='latex' />.  Note that this net force will shrink in magnitude until the object reaches its <a href="http://en.wikipedia.org/wiki/Terminal_velocity">terminal velocity</a>, which we will denote by <img src='http://s.wordpress.com/latex.php?latex=v_%7Bterm%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='v_{term}' title='v_{term}' class='latex' />.  Since the sum of the forces is 0 when an object reaches terminal velocity, we see that <img src='http://s.wordpress.com/latex.php?latex=v_%7Bterm%7D%20%3D%20%5Csqrt%7B%5Cfrac%7Bmg%7D%7Bc%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='v_{term} = \sqrt{\frac{mg}{c}}' title='v_{term} = \sqrt{\frac{mg}{c}}' class='latex' />.</p>
<p style="text-align: left;">With this setup, we can now prove the following claim.</p>
<p style="text-align: left;">Claim: Suppose an object is thrown vertically upwards with some initial velocity and lands at a later time <img src='http://s.wordpress.com/latex.php?latex=t_%7Bfinal%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t_{final}' title='t_{final}' class='latex' />.  Then the time at which the object reached the highest point on its trajectory, denoted <img src='http://s.wordpress.com/latex.php?latex=t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t_{top}' title='t_{top}' class='latex' />, satisfies the following equation:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Ccos%7B%28%5Cfrac%7Bgt_%7Btop%7D%7D%7Bv_%7Bterm%7D%7D%7D%29%5Ccosh%28%5Cfrac%7Bg%28t_%7Bfinal%7D-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29%20%3D%201.&#038;bg=T&#038;fg=000000&#038;s=0' alt='\cos{(\frac{gt_{top}}{v_{term}}})\cosh(\frac{g(t_{final}-t_{top})}{v_{term}}) = 1.' title='\cos{(\frac{gt_{top}}{v_{term}}})\cosh(\frac{g(t_{final}-t_{top})}{v_{term}}) = 1.' class='latex' /></p>
<p style="text-align: left;">Why is this true?  Well, on the upwards trajectory, isolating the acceleration we see that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=v%27%28t%29%20%3D%20-g%20-%20%5Cfrac%7Bcv%28t%29%5E2%7D%7Bm%7D%20%3D%20-g%281%2B%28%5Cfrac%7Bv%28t%29%7D%7Bv_%7Bterm%7D%7D%29%5E2%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='v&#039;(t) = -g - \frac{cv(t)^2}{m} = -g(1+(\frac{v(t)}{v_{term}})^2)' title='v&#039;(t) = -g - \frac{cv(t)^2}{m} = -g(1+(\frac{v(t)}{v_{term}})^2)' class='latex' />.</p>
<p style="text-align: left;">By separation of variables, this gives</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bdv%7D%7B%281%2B%28%5Cfrac%7Bv%7D%7Bv_%7Bterm%7D%7D%29%5E2%29%7D%20%3D%20-g%20dt.&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{dv}{(1+(\frac{v}{v_{term}})^2)} = -g dt.' title='\frac{dv}{(1+(\frac{v}{v_{term}})^2)} = -g dt.' class='latex' /></p>
<p style="text-align: left;">Since <img src='http://s.wordpress.com/latex.php?latex=%5Cint%20%5Cfrac%7Bdx%7D%7B1%2Bx%5E2%7D%20%3D%20%5Carctan%7Bx%7D%20%2B%20C&#038;bg=T&#038;fg=000000&#038;s=0' alt='\int \frac{dx}{1+x^2} = \arctan{x} + C' title='\int \frac{dx}{1+x^2} = \arctan{x} + C' class='latex' />, this implies that <img src='http://s.wordpress.com/latex.php?latex=v_%7Bterm%7D%5Carctan%28%5Cfrac%7Bv%7D%7Bv_%7Bterm%7D%7D%29%20%3D%20-gt%20%2B%20k&#038;bg=T&#038;fg=000000&#038;s=0' alt='v_{term}\arctan(\frac{v}{v_{term}}) = -gt + k' title='v_{term}\arctan(\frac{v}{v_{term}}) = -gt + k' class='latex' /> for some constant <em>k</em>.   Solving for <em>v</em> we find that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=v%28t%29%20%3D%20v_%7Bterm%7D%5Ctan%28%5Cfrac%7B-gt%2Bk%7D%7Bv_%7Bterm%7D%7D%29.&#038;bg=T&#038;fg=000000&#038;s=0' alt='v(t) = v_{term}\tan(\frac{-gt+k}{v_{term}}).' title='v(t) = v_{term}\tan(\frac{-gt+k}{v_{term}}).' class='latex' /></p>
<p style="text-align: left;">Moreover, since <img src='http://s.wordpress.com/latex.php?latex=v%28t_%7Btop%7D%29%20%3D%200&#038;bg=T&#038;fg=000000&#038;s=0' alt='v(t_{top}) = 0' title='v(t_{top}) = 0' class='latex' />, we see that <img src='http://s.wordpress.com/latex.php?latex=k%20%3D%20gt_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='k = gt_{top}' title='k = gt_{top}' class='latex' />.</p>
<p style="text-align: left;">Integrating once more and using the fact that the initial height is 0, we find that for <img src='http://s.wordpress.com/latex.php?latex=t%20%5Cleq%20t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t \leq t_{top}' title='t \leq t_{top}' class='latex' />,</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cfrac%7Bv_%7Bterm%7D%5E2%7D%7Bg%7D%28%5Clog%28%5Ccos%28%5Cfrac%7B-g%28t-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29%29-%5Clog%28%5Ccos%28%5Cfrac%7Bgt_%7Btop%7D%7D%7Bv_%7Bterm%7D%7D%29%29%29.&#038;bg=T&#038;fg=000000&#038;s=0' alt='y(t) = \frac{v_{term}^2}{g}(\log(\cos(\frac{-g(t-t_{top})}{v_{term}}))-\log(\cos(\frac{gt_{top}}{v_{term}}))).' title='y(t) = \frac{v_{term}^2}{g}(\log(\cos(\frac{-g(t-t_{top})}{v_{term}}))-\log(\cos(\frac{gt_{top}}{v_{term}}))).' class='latex' /></p>
<p style="text-align: left;">A similar argument works for the downwards trajectory &#8211; the only difference is that now the force of gravity and the drag force are in opposite directions.  This has the effect of turning the velocity into a function of tanh, rather than tan.  The end result is that for <img src='http://s.wordpress.com/latex.php?latex=t%20%5Cgeq%20t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t \geq t_{top}' title='t \geq t_{top}' class='latex' />, we have</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=v%28t%29%20%3D%20v_%7Bterm%7D%5Ctanh%28%5Cfrac%7B-g%28t-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29.&#038;bg=T&#038;fg=000000&#038;s=0' alt='v(t) = v_{term}\tanh(\frac{-g(t-t_{top})}{v_{term}}).' title='v(t) = v_{term}\tanh(\frac{-g(t-t_{top})}{v_{term}}).' class='latex' /></p>
<p style="text-align: left;">Since <img src='http://s.wordpress.com/latex.php?latex=y%28t_%7Bfinal%7D%29%20%3D%200&#038;bg=T&#038;fg=000000&#038;s=0' alt='y(t_{final}) = 0' title='y(t_{final}) = 0' class='latex' />, by integrating once more we can also conclude that for <img src='http://s.wordpress.com/latex.php?latex=t%20%5Cgeq%20t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t \geq t_{top}' title='t \geq t_{top}' class='latex' />,</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cfrac%7Bv_%7Bterm%7D%5E2%7D%7Bg%7D%28%5Clog%28%5Ccosh%28%5Cfrac%7B-g%28t_%7Bfinal%7D-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29%29-%5Clog%28%5Ccosh%28%5Cfrac%7Bg%28t-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29%29%29.&#038;bg=T&#038;fg=000000&#038;s=0' alt='y(t) = \frac{v_{term}^2}{g}(\log(\cosh(\frac{-g(t_{final}-t_{top})}{v_{term}}))-\log(\cosh(\frac{g(t-t_{top})}{v_{term}}))).' title='y(t) = \frac{v_{term}^2}{g}(\log(\cosh(\frac{-g(t_{final}-t_{top})}{v_{term}}))-\log(\cosh(\frac{g(t-t_{top})}{v_{term}}))).' class='latex' /></p>
<p style="text-align: left;">Note that at <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%20t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t = t_{top}' title='t = t_{top}' class='latex' /> we have two ways of writing the position, depending on which formula for <img src='http://s.wordpress.com/latex.php?latex=y%28t%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='y(t)' title='y(t)' class='latex' /> we&#8217;d like to use.  Setting the two equations equal at <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%20t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t = t_{top}' title='t = t_{top}' class='latex' />, canceling out the common factors of <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bv_%7Bterm%7D%5E2%7D%7Bg%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{v_{term}^2}{g}' title='\frac{v_{term}^2}{g}' class='latex' />, and exponentiating each side, we are led to the equality <img src='http://s.wordpress.com/latex.php?latex=%5Ccos%7B%28%5Cfrac%7Bgt_%7Btop%7D%7D%7Bv_%7Bterm%7D%7D%7D%29%3D%201%2F%5Ccosh%28%5Cfrac%7Bg%28t_%7Bfinal%7D-t_%7Btop%7D%29%7D%7Bv_%7Bterm%7D%7D%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='\cos{(\frac{gt_{top}}{v_{term}}})= 1/\cosh(\frac{g(t_{final}-t_{top})}{v_{term}})' title='\cos{(\frac{gt_{top}}{v_{term}}})= 1/\cosh(\frac{g(t_{final}-t_{top})}{v_{term}})' class='latex' />, which proves the claim.</p>
<p style="text-align: left;">This allows us to find <img src='http://s.wordpress.com/latex.php?latex=t_%7Btop%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t_{top}' title='t_{top}' class='latex' /> numerically given <em>g</em>, <img src='http://s.wordpress.com/latex.php?latex=t_%7Bfinal%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t_{final}' title='t_{final}' class='latex' />, and  <img src='http://s.wordpress.com/latex.php?latex=v_%7Bterm%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='v_{term}' title='v_{term}' class='latex' />.  As usual, we approximate <em>g</em> by 9.8 meters per second per second.  For the terminal velocity, I consulted this <a href="http://hypertextbook.com/facts/JianHuang.shtml">website</a> to find the terminal velocity of a skydiver.  I averaged the first four estimates that were in a similar range, and came up with an estimate of 54.7 m/s as a terminal velocity for Scott.  Once again, we use 23.6 as the value for <img src='http://s.wordpress.com/latex.php?latex=t_%7Bfinal%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='t_{final}' title='t_{final}' class='latex' />.  Graphing <img src='http://s.wordpress.com/latex.php?latex=%5Ccos%7B%28%5Cfrac%7Bgt%7D%7Bv_%7Bterm%7D%7D%7D%29%5Ccosh%28%5Cfrac%7Bg%28t_%7Bfinal%7D-t%29%7D%7Bv_%7Bterm%7D%7D%29%20-%201&#038;bg=T&#038;fg=000000&#038;s=0' alt='\cos{(\frac{gt}{v_{term}}})\cosh(\frac{g(t_{final}-t)}{v_{term}}) - 1' title='\cos{(\frac{gt}{v_{term}}})\cosh(\frac{g(t_{final}-t)}{v_{term}}) - 1' class='latex' /> for these values of the parameters, you will see that there is a root near <em>t</em> = 8.1.  This gives us the time at which Scott achieves his maximum height, and this in turn can be used to find that maximum height, <img src='http://s.wordpress.com/latex.php?latex=y%28t_%7Btop%7D%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='y(t_{top})' title='y(t_{top})' class='latex' />, and the initial velocity, <img src='http://s.wordpress.com/latex.php?latex=v%280%29%20%3D%20v_%7Bterm%7D%5Ctan%28%5Cfrac%7Bgt_%7Btop%7D%7D%7Bv_%7Bterm%7D%7D%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='v(0) = v_{term}\tan(\frac{gt_{top}}{v_{term}})' title='v(0) = v_{term}\tan(\frac{gt_{top}}{v_{term}})' class='latex' />.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/09/scott-pilgrim-vs-gravity.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Weird Al&#8217;s Keen Eye</title>
		<link>http://www.mathgoespop.com/2010/08/weird-als-keen-eye.html</link>
		<comments>http://www.mathgoespop.com/2010/08/weird-als-keen-eye.html#comments</comments>
		<pubDate>Sat, 28 Aug 2010 19:38:18 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math Fail]]></category>
		<category><![CDATA[arithmetic]]></category>
		<category><![CDATA[weird al]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=710</guid>
		<description><![CDATA[<p>If you follow &#8220;Weird Al&#8221; Yankovic on Twitter (and really, why wouldn&#8217;t you?), you may have noticed this picture, which he posted earlier this week along with the tweet &#8220;Wow, waffles for just .25 cents?  That means I can get 400 for a dollar!!&#8221;</p>
<p style="text-align: center;"></p>
<p style="text-align: left;">Kudos to you, Mr. Yankovic, for spotting what <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/08/weird-als-keen-eye.html">Weird Al&#8217;s Keen Eye</a></span>]]></description>
			<content:encoded><![CDATA[<p>If you follow <a href="http://en.wikipedia.org/wiki/%22Weird_Al%22_Yankovic">&#8220;Weird Al&#8221; Yankovic</a> on <a href="http://twitter.com/alyankovic">Twitter</a> (and really, why wouldn&#8217;t you?), you may have noticed this picture, which he posted earlier this week along with the tweet &#8220;Wow, waffles for just .25 cents?  That means I can get 400 for a dollar!!&#8221;</p>
<p style="text-align: center;"><a href="http://twitpic.com/2hsi4b"><img class="aligncenter size-full wp-image-715" title="Picture 6" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/Picture-6.png" alt="" width="480" height="416" /></a></p>
<p style="text-align: left;">Kudos to you, Mr. Yankovic, for spotting what I can only assume to be a mathematical error of the type we&#8217;ve seen <a href="http://www.mathgoespop.com/category/math-fail">before</a>.  If this music thing doesn&#8217;t pan out, maybe you can work for <a href="http://www.mathgoespop.com/2009/03/verizon-employees-suck-at-math.html">Verizon</a>.</p>
<p>Then again, maybe it&#8217;s not an error, in which case I can only hope that Weird Al wastes no time in naming this establishment, so that I can patronize it before they catch wise.</p>
<p>(Thanks to Nate for sending this my way!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/08/weird-als-keen-eye.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Futurama Theorem</title>
		<link>http://www.mathgoespop.com/2010/08/the-futurama-theorem.html</link>
		<comments>http://www.mathgoespop.com/2010/08/the-futurama-theorem.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:00:17 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math Gets Around]]></category>
		<category><![CDATA[Math on TV]]></category>
		<category><![CDATA[futurama]]></category>
		<category><![CDATA[groups]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=683</guid>
		<description><![CDATA[<p>In case you missed it, Futurama was recently resurrected from beyond the television grave, and this summer it began airing new half-hour episodes on Comedy Central.  Although it&#8217;s never reached the height of popularity achieved by its older sibling, The Simpsons, Futurama nevertheless has its own share of dedicated fans.  Many of those fans appreciate <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/08/the-futurama-theorem.html">The Futurama Theorem</a></span>]]></description>
			<content:encoded><![CDATA[<p>In case you missed it, <a href="http://en.wikipedia.org/wiki/Futurama">Futurama</a> was recently resurrected from beyond the television grave, and this summer it began airing new half-hour episodes on Comedy Central.  Although it&#8217;s never reached the height of popularity achieved by its older sibling, <a href="http://en.wikipedia.org/wiki/The_Simpsons">The Simpsons</a>, Futurama nevertheless has its own share of dedicated fans.  Many of those fans appreciate the differences between this show and The Simpsons, the most obvious of which is the former&#8217;s futuristic setting and sci-fi influences.</p>
<p><a href="http://upload.wikimedia.org/wikipedia/en/d/de/Futurama_title_screen.jpg"><img class="aligncenter" src="http://upload.wikimedia.org/wikipedia/en/d/de/Futurama_title_screen.jpg" alt="" width="360" height="270" /></a></p>
<p>The setting of the show naturally lends itself to math and science jokes, and in this department Futurama does not disappoint.  Last week, however, they seriously stepped their game up a notch, by featuring the proof of an original mathematical result as a central feature in the plot of the story.</p>
<p style="text-align: left;">The mathematics evolves quite organically.  In the show, Amy and Professor Farnsworth have created a mind-switching device, which can swap the minds of any two individuals.  After a brief discussion, they decide it would be neat to swap their own brains:</p>
<p><center></p>
<table style="font: 11px arial; color: #333333; background-color: #f5f5f5; text-align: left; height: 353px;" cellspacing="0" cellpadding="0" width="360">
<tbody>
<tr style="background-color: #e5e5e5;" valign="middle">
<td style="padding: 2px 1px 0px 5px; text-align: center;"><a style="color: #333; text-decoration: none; font-weight: bold;" href="http://www.comedycentral.com/shows/futurama/index.jhtml" target="_blank">Futurama</a></td>
<td style="padding: 2px 5px 0px; text-align: center; font-weight: bold;">Thursdays 10pm / 9c</td>
</tr>
<tr style="height: 14px;" valign="middle">
<td style="padding: 2px 1px 0px 5px;" colspan="2"><a style="color: #333; text-decoration: none; font-weight: bold;" href="http://www.comedycentral.com/videos/index.jhtml?videoId=351388&amp;title=the-mind-switcher" target="_blank">The Mind-Switcher</a><a></a></td>
</tr>
<tr style="height: 14px; background-color: #353535;" valign="middle">
<td style="padding: 2px 5px 0px; overflow: hidden; width: 360px; text-align: right;" colspan="2"><a style="color: #96deff; text-decoration: none; font-weight: bold;" href="http://www.comedycentral.com/" target="_blank">www.comedycentral.com</a></td>
</tr>
<tr valign="middle">
<td style="padding: 0px;" colspan="2"><object style="display: block;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="360" height="301" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="bgcolor" value="#000000" /><param name="flashvars" value="autoPlay=false" /><param name="src" value="http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:351388" /><param name="wmode" value="window" /><param name="allowfullscreen" value="true" /><embed style="display: block;" type="application/x-shockwave-flash" width="360" height="301" src="http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:351388" allowfullscreen="true" wmode="window" flashvars="autoPlay=false" bgcolor="#000000"></embed></object></td>
</tr>
<tr style="height: 18px;" valign="middle">
<td style="padding: 0px;" colspan="2">
<table style="margin: 0px; text-align: center; height: 100%;" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr valign="middle">
<td style="padding: 3px; width: 33%;"><a style="font: 10px arial; color: #333; text-decoration: none;" href="http://www.comedycentral.com/shows/futurama/index.jhtml" target="_blank">Futurama New Episodes</a></td>
<td style="padding: 3px; width: 33%;"><a style="font: 10px arial; color: #333; text-decoration: none;" href="http://www.comedycentral.com/shows/big-lake/index.jhtml" target="_blank">Big Lake</a></td>
<td style="padding: 3px; width: 33%; text-align: center;"><a style="font: 10px arial; color: #333; text-decoration: none;" href="http://www.comedycentral.com/shows/big-lake/about/index.jhtml" target="_blank">A New Comedy from Will Ferrell and Adam McKay</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p></center></p>
<p style="text-align: left;">As you might expect, before long they decide they want to swap back.  Unfortunately, due to the brain&#8217;s natural immune response, they discover that once two people have switched minds once, they can never switch back (obviously).<br />
This raises a question: once two people have swapped minds, can they get back to their original bodies by means of a third party?  Bender eagerly switches minds with Amy at this point, for reasons that aren&#8217;t important here.  Afterwards, though, Farnsworth and Amy have the following discussion:</p>
<blockquote>
<p style="text-align: left;">Prof. Farnsworth (in Bender&#8217;s body): Now then Amy, we&#8217;ll simply switch bodies, and then we&#8217;ll&#8230; no, I&#8217;d be back in my body, but then you and Bender would be switched.  And the Amy and Bender bodies can&#8217;t trade minds again, since they just did!</p>
<p style="text-align: left;">Amy (in Prof. Farnsworth&#8217;s body): Oh no!  Is it possible to get everyone back to normal using four or more bodies?</p>
<p style="text-align: left;">Prof. Farnsworth: I&#8217;m not sure.  I&#8217;m afraid we need to use&#8230;.MATH!</p>
<p style="text-align: left;"><em>(dramatic music underscores this last point)</em></p>
</blockquote>
<p style="text-align: left;">Throughout the rest of the episode, mind swapping occurs quite frequently.  Amy (as the professor) swaps with Leela, Fry swaps with Dr. Zoidberg, Nikolai (the playboy ruler of the Robo-Hungarian empire) swaps with a bucket, and so on.  By the episode&#8217;s end, so much mind swapping has been going on that it&#8217;s hard to keep track.  Nevertheless, in the end it is discovered by <a href="http://theinfosphere.org/%27Sweet%27_Clyde_Dixon">&#8216;Sweet&#8217; Clyde Dixon</a> that by including no more than 2 new people in this mind swap game, everyone can always return to their original body.  The proof is shown briefly, but for interested parties, here it is in all its glory (the proof was written up by writer <a href="http://en.wikipedia.org/wiki/Ken_Keeler">Ken Keeler</a>, who earned a Ph.D. in applied math from Harvard University):</p>
<div class="wp-caption aligncenter" style="width: 570px"><a href="http://pool.theinfosphere.org/images/4/4e/Prisoner_of_Benda_Theorem_on_Chalkboard.png"><img src="http://pool.theinfosphere.org/images/4/4e/Prisoner_of_Benda_Theorem_on_Chalkboard.png" alt="" width="560" height="315" /></a><p class="wp-caption-text">Click for a larger version.</p></div>
<p style="text-align: center;">
<p style="text-align: left;">
<p style="text-align: left;">The reader with some background will realize that this is  a statement about the <a href="http://en.wikipedia.org/wiki/Symmetric_group">symmetric group</a> on n elements (the notation used on the holographic chalk board is explained in the link).  The gist of the argument is as follows: suppose that <em>k</em> people have swapped bodies.  Label these people so that the 1st person is in the 2nd person&#8217;s body, the 2nd person is in the 3rd person&#8217;s body, and so on, so that the last person (a.k.a. the <em>k</em>th person) must be in the 1st person&#8217;s body.</p>
<p style="text-align: left;">With two additional people (let&#8217;s call them Xerxes and Yelena, or x and y for short) we can get everyone back to normal by using the following procedure: have the first body switch with y&#8217;s body, then have the <em>k</em>th body switch with x&#8217;s body.  Next, have the <em>k</em>th body switch with y&#8217;s body, and then, in turn, have x&#8217;s body switch with the <em>k-</em>1<sup>st</sup> body, <em>k</em>-2<sup>nd</sup> body, and so on, until x&#8217;s body has switched with the 1st body.  At the end of this procedure, everyone will be back to normal except for x and y, who will be in different bodies.  But since they haven&#8217;t switched with each other yet, they can then switch back.</p>
<p style="text-align: left;">I&#8217;ve omitted certain details that keep this from being a complete proof, but this is the heart of the idea (for more advanced readers, I have taken <em>i</em> = <em>k</em> &#8211; 1 in the episode&#8217;s written argument).  If the procedure seems confusing, let&#8217;s take a particular example.  Suppose that Professor Farnsworth and Amy knew of this theorem at the episode&#8217;s opening: then they&#8217;d know they could switch back with the aid of two other people.  Let&#8217;s take Leela and Hermes as the other two players (since they seem to be the most responsible).</p>
<p style="text-align: left;">The theorem states that to get back to normal, first Amy&#8217;s body and Leela&#8217;s body should swap (the choice of Amy over Farnsworth or Leela over Hermes is arbitrary).  Recall that Farnsworth is in Amy&#8217;s body, so after the swap, he will be in Leela&#8217;s body, while Leela will be in Amy&#8217;s:<a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/al.jpg"><img class="aligncenter size-full wp-image-702" title="al" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/al.jpg" alt="" width="328" height="375" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">After that, Farnsworth&#8217;s body and Hermes&#8217; body should swap.  This gives the following picture:</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/fh.jpg"><img class="aligncenter size-full wp-image-701" title="fh" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/fh.jpg" alt="" width="328" height="375" /></a>Now swap Leela&#8217;s body and Farnsworth&#8217;s body.  Note that after this swap, Farnsworth&#8217;s mind and his body have been reunited!</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/fl.jpg"><img class="aligncenter size-full wp-image-700" title="fl" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/fl.jpg" alt="" width="328" height="375" /></a>We can also reunite Amy with her body by swapping the bodies of Amy and Hermes:</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/ah.jpg"><img class="aligncenter size-full wp-image-699" title="ah" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/ah.jpg" alt="" width="328" height="375" /></a>Now Leela is in Hermes&#8217; body and Hermes is in Leela&#8217;s.  But since they haven&#8217;t swapped with each other at any point, we can now swap them with each other, thereby returning everyone to their original state!</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/hl.jpg"><img class="aligncenter size-full wp-image-698" title="hl" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/hl.jpg" alt="" width="328" height="375" /></a></p>
<p style="text-align: left;">This shows that we can get everyone back to their original state in only 5 moves.  Moreover, each person only has their mind swapped 3 times.</p>
<p style="text-align: left;">This gives rise to several questions: in a group of <em>n</em> people, what is the minimum number of swaps needed to return everyone to normal?  What is the maximum number? (The answer depends on the number of cycles in the <a href="http://en.wikipedia.org/wiki/Permutation">permutation</a> under consideration.)  What is the maximum number of times an individual&#8217;s mind must swap in order for the group to return to normal?  If we place caps on this maximum (say, because the cerebral immune response gets stronger with repeated use), what restrictions does this place on how much fiddling with the mind swapping device before people won&#8217;t be able to return to their bodies?</p>
<p style="text-align: left;">For this episode in particular, everyone returns to their bodies in 13 movies, although the speaker in the video below explains how that number can be reduced to 9.</p>
<p style="text-align: left;">If you are able to catch this episode when it airs again, I would highly encourage you to do so.  Kudos to the writing staff of Futurama for not shying away from a bit of more advanced mathematics.  While this result doesn&#8217;t have far-reaching consequences, the fact that it is an original piece of work inspired by the plot of the episode is a great example of how critical thinking can be used to solve all types of problems.</p>
<p style="text-align: left;">In closing, I&#8217;d like to point out that I&#8217;m not the only person to have discussed this problem on the interweb.  The video below offers a great explanation as well.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/dow7bWdr_YA?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/dow7bWdr_YA?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/08/the-futurama-theorem.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Math of the Rubik&#8217;s Cube</title>
		<link>http://www.mathgoespop.com/2010/08/math-of-the-rubiks-cube.html</link>
		<comments>http://www.mathgoespop.com/2010/08/math-of-the-rubiks-cube.html#comments</comments>
		<pubDate>Fri, 20 Aug 2010 19:54:44 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math in the News]]></category>
		<category><![CDATA[groups]]></category>
		<category><![CDATA[rubik's cube]]></category>
		<category><![CDATA[will smith]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=660</guid>
		<description><![CDATA[<p>It&#8217;s rare for mathematical research to break into the mainstream media.  New papers are posted on the arXiv every day, and published in journals all over the world throughout the year, but unless a famous problem is purported to have been solved (in this case, a famous problem is usually one that has a cash prize <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/08/math-of-the-rubiks-cube.html">Math of the Rubik&#8217;s Cube</a></span>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s rare for mathematical research to break into the mainstream media.  New papers are posted on the <a href="http://arxiv.org/">arXiv</a> every day, and published in journals all over the world throughout the year, but unless a famous problem is purported to have been solved (in this case, a famous problem is usually one that has a cash prize associated with its solution), knowledge of such advances is only found by those specifically seeking it.  Last week, however, there an exception to this general rule was made for a new result concerning the <a href="http://en.wikipedia.org/wiki/Rubik%27s_Cube">Rubik&#8217;s cube</a>.<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Rubik%27s_cube.svg/500px-Rubik%27s_cube.svg.png"><img class="aligncenter" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Rubik%27s_cube.svg/500px-Rubik%27s_cube.svg.png" alt="" width="400" height="416" /></a>The conclusion, reached by an international team of mathematicians, is that the Rubik&#8217;s cube can always be solved in 20 moves or less, and that, moreover, their result is in some sense the best possible.  This result was featured on the front page of <a href="http://news.yahoo.com/s/afp/20100813/od_afp/ussciencerubikoffbeat">Yahoo News</a> for a couple of days, which I found surprising.</p>
<p>What do I mean by &#8220;best possible&#8221;?  Well, since 1995 it&#8217;s been known that the minimum number of moves needed to solve a Rubik&#8217;s cube is <em>at least</em> 20 &#8211; in other words, it was proven that there exists a configuration of the Rubik&#8217;s cube which is solvable in 20, but no fewer than 20, moves.  But it was not clear if this could be improved &#8211; after all, once this result has been proven, is it possible to find a cube that needs 21 moves to be solved?  What about 22? or 25?  or 1,000?</p>
<p>In the same year, it was shown that the maximum number of moves could be bounded above by 29.  So, for the past 15 years, we have known that every possible configuration of the Rubik&#8217;s cube (of which there are 43,252,003,274,489,856,000) can be solved in somewhere between 20 and 29 moves.  The question, since then, has been to narrow this gap in order to find the smallest number of moves for which every configuration is actually solvable.</p>
<p>So, we now know that number is 20.  The researchers who discovered this fact have created a <a href="http://www.cube20.org/">website</a> in honor of it, in which you can learn more about this history of the problem, as well as see examples of configurations that require exactly 20 moves to solve.</p>
<p style="text-align: left;">For those of you who may fancy yourselves Rubik&#8217;s cube hobbyists, however (yes, Will Smith, I am talking to you), it&#8217;s unlikely that you can solve a Rubik&#8217;s cube in such a small number of moves.  When people learn techniques to solve Rubik&#8217;s cubes, they are necessarily techniques that are simple enough for a human to remember.  This means that they may not always be the most efficient.  But now we know that even with the most efficient approach, there are some times when 20 moves will be needed.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/gUncHGvBuks?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/gUncHGvBuks?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">For this reason, 20 is referred to as &#8220;God&#8217;s number.&#8221;  Yes, I thought it sounded a little pretentious too.  The reasoning is that an omniscient being would presumably choose the most efficient algorithm.  Although my feeling is that God has better things to do than solve Rubik&#8217;s cubes.</p>
<p>In any event, the Rubik&#8217;s cube is a rare piece of pop culture iconography in that there are a substantial number of advanced mathematical questions one can ask about it.  Mostly this is because the transformations of the Rubik&#8217;s cube that you perform when you try to solve it (or, if you are a jerk, the transformations that you perform when you try to screw up somebody&#8217;s solved one) endow the cube with a <a href="http://en.wikipedia.org/wiki/Group_%28mathematics%29">group</a> structure; in less technical terms, it means that composing two transformations gives a transformation, there is an identity transformation (the transformation that doesn&#8217;t do anything), every transformation is invertible (every move you make can be reversed), and transformations are <a href="http://en.wikipedia.org/wiki/Associativity">associative</a> (given transformations <em>a</em>, <em>b</em>, and <em>c</em>, applying <em>a</em> to the composition of <em>b</em> and <em>c</em> is the same as applying the composition of <em>a</em> and <em>b </em>to <em>c</em>).  The curious reader can find more about the Rubik&#8217;s cube group <a href="http://en.wikipedia.org/wiki/Rubik%27s_cube_group">here</a>.</p>
<p style="text-align: left;">The Rubik&#8217;s cube also holds the distinction of being the only mathematical object (that I&#8217;m aware of) that had a starring role in an 80&#8242;s cartoon show.  Who knew that anthropomorphic Rubik&#8217;s cubes could be so creepy looking?</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/LYs_GCy9PRk?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/LYs_GCy9PRk?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">While some readers may be excited by this discovery, others are undoubtedly less impressed.  After all, the Rubik&#8217;s cube is just a silly game, isn&#8217;t it?  Knowing that it can be solved in under 20 moves doesn&#8217;t advance our understanding of how the world works, does it?  Furthermore, a brief examination of their argument reveals that much of the work involved was manual checking of billions of separate cases by computer.  This is not an elegant solution by any means &#8211; while this certainly gives a proof of God&#8217;s number, it not a proof from <a href="http://en.wikipedia.org/wiki/Proofs_from_THE_BOOK">The Book</a>.</p>
<p>On the other hand, there are ideas going on here that are interesting and have been asked in a general context. For example, the notion of taking a finite group and a set of generators for that group, and asking how many generators you need to get to any element of the group, has been <a href="http://www.uoregon.edu/~kantor/PAPERS/STOCdiameter.pdf">studied</a> before (such a number is referred to as the diameter of that group with respect to the set of generators).  In general, the problem of calculating the diameter of a group is quite hard, so having an example in which the diameter is known is helpful, regardless of where that example comes from.</p>
<p>Besides, in the words of the Joker, why so serious?  Not all results have to shatter the way we perceive the world.  Math should be recreational, too.  Having said that, I have mixed feelings about this result being used as representative of what mathematicians do, for reasons I&#8217;ve stated before.  Mathematics is more about ideas than it is about brute force calculation (although the latter is sometimes necessary).  Of course, there are ideas involved in reducing the number of cubes to consider, so that the calculations can be carried out in a reasonable time frame.  Also, I understand why a result like this can capture the public&#8217;s imagination: it&#8217;s easy to state for a general audience.</p>
<p>The result raises other questions as well: what if we consider an n by n by n cube, for general 3 x 3 x 3?  What&#8217;s the minimum number of moves needed to solve every  2 x 2 x 2 cube, for example, or every 4 x 4 x 4 cube?  Intuition tells me that the amount of computation involved may grow quite rapidly as n increases, so we may not be able to answer this question for many values of n, but since the 3 x 3 x 3 case is known, it shouldn&#8217;t be hard to solve the 2 x 2 x 2 case (in fact, the solution is <a href="http://www.jaapsch.net/puzzles/cube2.htm">known</a>: in this case, God&#8217;s number is 11).  What about general Rubik&#8217;s blocks, where the shapes may not be cubes?</p>
<p>Another question: we know that in the 3 x 3 x 3 case, God&#8217;s number is 20.  But how frequent are the positions that require 20 cubes to solve?  Are they rare, and in most cases do we expect that 20 can be improved?  In other words, what is the proportion of worst-case scenarios?  This question is addressed on the new Rubik&#8217;s Cube website mentioned <a href="http://www.cube20.org/">earlier</a>.   Of course, analogous questions can be formulated for more general cubes.</p>
<p style="text-align: left;">And as is frequently the case in mathematics, this result is not without controversy.  For even though these researchers claim to have shown that you can&#8217;t do better than 20, the video below highlights a method that can be used to solve any Rubik&#8217;s cube in just one move!  (Spoiler alert: yes, a Rubik&#8217;s cube will blend).</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/NrqHHBibRvs?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/NrqHHBibRvs?fs=1&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/08/math-of-the-rubiks-cube.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Protractors for Some, Miniature American Flags for Others!</title>
		<link>http://www.mathgoespop.com/2010/08/protractors-for-some-miniature-american-flags-for-others.html</link>
		<comments>http://www.mathgoespop.com/2010/08/protractors-for-some-miniature-american-flags-for-others.html#comments</comments>
		<pubDate>Wed, 11 Aug 2010 15:00:12 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Et cetera]]></category>
		<category><![CDATA[protractor]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=637</guid>
		<description><![CDATA[<p>Last weekend I went to the Pasadena Flea Market, self-described as &#8220;one of the most famous markets in the world.&#8221;  I had not anticipated on finding anything math related, and although I did stumble across an old adding machine, the most surprising find was what greeted me at the door.
R.G. Canning produces the flea market every <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/08/protractors-for-some-miniature-american-flags-for-others.html">Protractors for Some, Miniature American Flags for Others!</a></span>]]></description>
			<content:encoded><![CDATA[<p>Last weekend I went to the Pasadena Flea Market, <a href="http://www.rosebowlstadium.com/RoseBowl_flea-market.htm">self-described</a> as &#8220;one of the most famous markets in the world.&#8221;  I had not anticipated on finding anything math related, and although I did stumble across an old adding machine, the most surprising find was what greeted me at the door.<a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/protractors.jpg"><br />
</a><a href="http://www.mathgoespop.com/wp-content/uploads/2010/08/protractors.jpg"><img class="aligncenter size-large wp-image-638" title="protractors" src="http://www.mathgoespop.com/wp-content/uploads/2010/08/protractors-768x1024.jpg" alt="" width="420" height="560" /></a>R.G. Canning <a href="http://www.rgcshows.com/">produces</a> the flea market every month, but I have no idea why they were giving away protractors.  There&#8217;s furniture for sale, but I would think rulers would be the preferred measuring device when browsing through such items.  Perhaps instead they thought that August would be a good month to get rid of a surplus of protractors, with back to school around the corner?  Whatever the case, kudos to R.G. Canning attractions for their protractor giveaway bonanza.</p>
<p>Of course, I&#8217;m not sure how many protractors were actually taken.  Unfortunately, most people didn&#8217;t seem interested.  Their loss, I suppose.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/08/protractors-for-some-miniature-american-flags-for-others.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Race to Where?</title>
		<link>http://www.mathgoespop.com/2010/08/race-to-the-top.html</link>
		<comments>http://www.mathgoespop.com/2010/08/race-to-the-top.html#comments</comments>
		<pubDate>Tue, 10 Aug 2010 01:43:41 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math Education]]></category>
		<category><![CDATA[Math in the Movies]]></category>
		<category><![CDATA[algebra]]></category>
		<category><![CDATA[education standards]]></category>
		<category><![CDATA[terminator]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=630</guid>
		<description><![CDATA[<p>Late last month there was apparently a bit of a ruckus over whether or not California should adopt new national education standards as part of a competition among the states dubbed &#8220;Race to the Top.&#8221;</p>
<p>Although Race to the Top (the brain child of education secretary Arne Duncan) hasn&#8217;t received much media attention, it was one of <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/08/race-to-the-top.html">Race to Where?</a></span>]]></description>
			<content:encoded><![CDATA[<p>Late last month there was apparently a bit of a ruckus over whether or not California should adopt new national education standards as part of a competition among the states dubbed &#8220;<a href="http://en.wikipedia.org/wiki/Race_to_the_Top">Race to the Top.</a>&#8221;</p>
<p>Although Race to the Top (the brain child of education secretary Arne Duncan) hasn&#8217;t received much media attention, it was one of the many byproducts of last year&#8217;s economic stimulus act.  Recently, though, it&#8217;s been the subject of more discussion &#8211; a relatively detailed <a href="http://news.yahoo.com/s/mcclatchy/20100808/pl_mcclatchy/3585264">article</a> on the program was published over the weekend, for example.</p>
<p>For Californians (and residents of other states, I&#8217;m sure), participation in Race to the Top has been met with some controversy.  The latest debate, as I mentioned above, has been about education standards.  Race to the Top comes with its own set of national education standards, and adopting those standards helps a state&#8217;s odds of winning some federal education funding.  Ergo, the California State Board of Education had to vote on whether or not to adopt the new national standards.</p>
<p>On the one hand, advocates for adopting the national standards point to the roughly $700 million in funding that California could potentially receive from the program.  On the other hand, most people seem to be in agreement that California&#8217;s standards are (or I guess I should say were, since the national standards have since been <a href="http://articles.sfgate.com/2010-08-03/bay-area/22010265_1_national-academic-standards-common-core-standards-new-standards">adopted</a>) actually stronger than the proposed national ones.  <a href="http://www.sfgate.com/cgi-bin/article.cgi?file=/c/a/2010/07/30/ED5Q1ELG9S.DTL">This</a> opinion piece articulates the opposition perspective very well &#8211; essentially they cite a number of statistics showing that California students&#8217; math performance is improving, and that imposing stricter guidelines (such as having all 8th graders take Algebra I) is a contributing factor in these improvements.</p>
<p>I&#8217;m no expert on these issues, so I&#8217;m not quite sure where I stand.  On principle I&#8217;d like to support anything that gets more money into schools, but it seems kind of ridiculous that the way for California to increase its chances of receiving funding is by weakening its education standards.  Regarding the question of which is the lesser of two evils (weakening standards or snubbing a potential influx of cash), I guess that depends on how likely California is to receive funding.  The Economic Policy Institute <a href="http://epi.3cdn.net/4835aafd6e80385004_5nm6bn6id.pdf">found</a> that the winners of the first round of Race to the Top were essentially selected arbitrarily; if that&#8217;s the case, how much trust should be placed in this competition in the first place?  Moreover, doesn&#8217;t the adoption of national standards to some extent stifle innovation?  In an area so in need of innovation as mathematical education, this doesn&#8217;t seem like a good thing.</p>
<div class="wp-caption aligncenter" style="width: 251px"><img src="http://upload.wikimedia.org/wikipedia/en/8/85/Terminator2poster.jpg" alt="" width="241" height="350" /><p class="wp-caption-text">Remember: robots would not exist without math.</p></div>
<p>Then again, California badly needs the cash (maybe Arnold should have stuck to making movies about aliens and robots and being pregnant). Additionally, isn&#8217;t it an open question as to how much standards really matter?  As pointed out in an op-ed from July 30th in the San Francisco Chronicle,</p>
<blockquote><p>[W]hat seems to matter when it comes to student performance isn&#8217;t the standards themselves but how they&#8217;re implemented. For example, Maryland has easier standards than California, according to a study by the Thomas B. Fordham Institute. But Education Week ranks Maryland first in the country for overall quality, including academic achievement as well as student success in the workplace.</p></blockquote>
<p>I would hope that no one would argue that strict education standards are more important than having inspiring and well-educated teachers.  So, if California can acquire funds to help recruit and retain the best teachers, I guess the sacrifice is worth it.  A final verdict is beyond my pay scale, though.</p>
<p>(Hat tip to dad for many of the links above.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/08/race-to-the-top.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top Chef Mathematics</title>
		<link>http://www.mathgoespop.com/2010/07/top-chef-mathematics.html</link>
		<comments>http://www.mathgoespop.com/2010/07/top-chef-mathematics.html#comments</comments>
		<pubDate>Wed, 28 Jul 2010 23:22:55 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math Gets Around]]></category>
		<category><![CDATA[Math on TV]]></category>
		<category><![CDATA[Pigeonhole Principle]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[stirling's formula]]></category>
		<category><![CDATA[top chef]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=520</guid>
		<description><![CDATA[<p>If you like food, Washington DC, hubris, or reality television, then chances are you are a fan of Bravo&#8217;s cooking competition Top Chef.  Every year the show takes a group of aspiring chefs, places them in a house in a new city, and throws weekly challenges their way.  Following the Survivor template, every week one chef <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/07/top-chef-mathematics.html">Top Chef Mathematics</a></span>]]></description>
			<content:encoded><![CDATA[<p>If you like food, Washington DC, hubris, or reality television, then chances are you are a fan of Bravo&#8217;s cooking competition <a href="http://en.wikipedia.org/wiki/Top_Chef">Top Chef</a>.  Every year the show takes a group of aspiring chefs, places them in a house in a new city, and throws weekly challenges their way.  Following the Survivor template, every week one chef is voted off, and at the end someone is crowned Top Chef (and given a large check).  This season, the action takes place in our nation&#8217;s capitol.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="512" height="288" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.hulu.com/embed/NhByDp2e69Ld2PuJ5T1qQw" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="512" height="288" src="http://www.hulu.com/embed/NhByDp2e69Ld2PuJ5T1qQw" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">Now, a show such as this might seem to have very little to do with mathematics.  But look, and ye shall find.  In the second episode of this past season, the chefs were paired up for one of the challenges.  There were 16 chefs at the time, combining to make 8 pairs.  The pairing was determined by drawing knives: 16 knives were presented in a knife block, and each had a number on it from 1 to 8.  The number was printed on the blade, so each chef would walk to the block, draw a knife, and read the number.  The knives were not replaced afterwards.  Pairs were formed by people who drew the same number.</p>
<div id="attachment_558" class="wp-caption aligncenter" style="width: 542px"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-14.png"><img class="size-full wp-image-558" title="topchef" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-14.png" alt="" width="532" height="375" /></a><p class="wp-caption-text">This dude loves the number 3.</p></div>
<p style="text-align: left;">In this particular episode, the first six numbers drawn were 2, 1, 3, 6, 7, and 7.  In particular, the first pair was formed on the 6th draw.  This leads to a natural question: how long would you expect it to take before the first pair is formed?  Six draws seemed a bit long to me (I would have expected the first pair to have been formed sooner), so I immediately set about trying to understand the answer to this question.</p>
<p style="text-align: left;">To ease ourselves into it, let&#8217;s simplify things.  Instead of 8 pairs, suppose there were only 3.  And instead of knives, which are dangerous and pointy, let&#8217;s suppose people were choosing balls from a bag.  Rather than differentiating the balls by writing numbers on them, let&#8217;s differentiate them by color.  So suppose you have a bag with 3 pairs of balls: one pair red, one pair green, and one pair blue.</p>
<p style="text-align: left;">The game is this: you draw a ball from a bag and put it aside.  You keep doing this until you have drawn a pair.  The question is how long it will take before the first pair is drawn.<a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag31.jpg"><img class="aligncenter size-full wp-image-561" title="bag3" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag31.jpg" alt="" width="300" height="200" /></a></p>
<p style="text-align: left;">Right away we see that you will get a pair some time between your second and your fourth draw.  Obviously you can&#8217;t get a pair after only drawing one ball, so you need a minimum of two draws.  On the other hand, if you don&#8217;t have a pair after drawing three, you must have one ball of each color, which means your fourth draw MUST give you a pair of some color.</p>
<p style="text-align: left;">Given this observation, we can now start to calculate probabilities.  What is the probability that you will have a pair after two draws?  Well, this happens precisely when your first and second draw are the same color.  The probability of this happening is equal to 1/5, since there is no restriction on the first ball you draw, but then there is a 1 in 5 chance that the second one you draw will be the other ball with the same color.</p>
<div id="attachment_562" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag3one.jpg"><img class="size-full wp-image-562" title="bag3one" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag3one.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">You have a 1 in 5 chance of picking the second green ball after picking the first one, for example.</p></div>
<p style="text-align: left;">What about the probability that you&#8217;ll have a pair after exactly three draws?  In order for this to happen, your second draw must be a different color than the first, and your third draw must be the same color as either your first or second draw.  Of the 5 balls remaining after your first draw, 4 will have a different color from the first, meaning that the probability of drawing a second ball which is a different color than the first is 4/5.  Similarly, the probability of drawing a third ball which is the same color as either the first or the second ball is 1/2 (see the picture below).  Thus, by the laws of conditional probability, the odds that you will have a pair after your third draw is 4/5 x 1/2 = 2/5.</p>
<div id="attachment_563" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag3two.jpg"><img class="size-full wp-image-563" title="bag3two" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/bag3two.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">You have a 2 in 4 (i.e. 1 in 2) chance of pulling a blue or green ball given that the results of your first two draws were blue and green, for example.</p></div>
<p style="text-align: left;">The same argument works when calculating the odds that the pair will come on the fourth draw.  There is no restriction on the first draw, there is a 4/5 chance that your second draw will be a different color from the first, there is a 1/2 chance that the third draw will be a different color from the second, and there is then a 100% chance that your fourth draw will be the same color as one of your earlier draws.  This again gives a probability of 2/5.  We see that the probabilities add up to one, as they should.</p>
<p style="text-align: left;">Given these probabilities we can also calculate the <a href="http://en.wikipedia.org/wiki/Expected_value">expected value</a>: on average, how many draws will you need before you get a pair?  Since the probability of two draws is 1/5, the probability of three draws is 2/5, and the probability of four draws is 4/5, we see that the average is</p>
<p style="text-align: center;">2 x 1/5 + 3 x 2/5 + 4 x 2/5 = 16/5 = 3.2.</p>
<p style="text-align: left;">In other words, on average you will need 3.2 draws before you come up with a pair.</p>
<p style="text-align: left;">It&#8217;s more interesting, of course, to deal with <em>c</em> different colors, rather than just 3.  We can still perform this analysis, and try to find probabilities and expectations.  Suppose we have <em>c</em> pairs of balls, each pair of a different color.  We draw the balls without replacement from a bag until we find a pair of the same color, then we stop.  We can define a <a href="http://en.wikipedia.org/wiki/Random_variable">random variable</a> <img src='http://s.wordpress.com/latex.php?latex=Y_c&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_c' title='Y_c' class='latex' /> to be the draw on which we complete our first pair. For example, in the case <em>c</em> = 3 above, we saw that <img src='http://s.wordpress.com/latex.php?latex=Y_3%20%3D%202&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_3 = 2' title='Y_3 = 2' class='latex' /> with probability 1/5, <img src='http://s.wordpress.com/latex.php?latex=Y_3%20%3D%203&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_3 = 3' title='Y_3 = 3' class='latex' /> with probability 2/5, and <img src='http://s.wordpress.com/latex.php?latex=Y_3%20%3D%204&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_3 = 4' title='Y_3 = 4' class='latex' /> with probability 2/5.</p>
<p style="text-align: left;">As before, notice that <img src='http://s.wordpress.com/latex.php?latex=Y_c&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_c' title='Y_c' class='latex' /> must take a value between 2 and <em>c</em> + 1.  This is because we can&#8217;t draw a pair before our 2nd draw, and after <em>c</em> draws, the worst case scenario is for us to have each ball of a different color.  Since we have exhausted all color possibilities, the <em>c</em> + 1st draw must give us a pair (in essence we are applying the <a href="http://en.wikipedia.org/wiki/Pigeonhole_principle">Pigeonhole Principle</a>).  So, to describe the behavior of <img src='http://s.wordpress.com/latex.php?latex=Y_c&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_c' title='Y_c' class='latex' /> we need to calculate the probability that $Y_c = k$ for <em>k</em> between 2 and <em>c</em> + 1.</p>
<p style="text-align: left;">The same sort of argument as in the simple case <em>c</em> = 3 works here.  Suppose you want to calculate <img src='http://s.wordpress.com/latex.php?latex=P%28Y_c%20%3D%20k%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='P(Y_c = k)' title='P(Y_c = k)' class='latex' />.  In order to find your first pair on the <em>k</em>th draw, you need to NOT draw a pair on your 2nd, 3rd, 4th, &#8230;, or <em>k</em> &#8211; 1st draw, and then have the color on the <em>k</em>th draw match one of the colors you have already drawn.  Since there are a total of 2<em>c</em> balls in the bag to begin with, we see that the odds of not drawing a pair on the 2nd draw is <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B2c-2%7D%7B2c-1%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{2c-2}{2c-1}' title='\frac{2c-2}{2c-1}' class='latex' />, the odds of not drawing a pair on the 3rd draw is <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B2c-4%7D%7B2c-2%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{2c-4}{2c-2}' title='\frac{2c-4}{2c-2}' class='latex' /> (since there are 2<em>c</em> &#8211; 2 balls remaining, and you want to avoid 2 that are colors you&#8217;ve already drawn, leaving you with 2<em>c</em> &#8211; 2 &#8211; 2 = 2<em>c</em> &#8211; 4 options), and so on, so that the odds of not getting a pair on the <em>k &#8211; </em>1st draw is <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B2c-2%28k-2%29%7D%7B2c-%28k-2%29%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{2c-2(k-2)}{2c-(k-2)}' title='\frac{2c-2(k-2)}{2c-(k-2)}' class='latex' />.  Meanwhile, in order to draw a pair on your <em>k</em>th draw, you must pull one of the <em>k</em> &#8211; 1 colors that have already been pulled.  Since there are 2<em>c</em> &#8211; k + 1 balls remaining, the probability that this happens is <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bk-1%7D%7B2c-k%2B1%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{k-1}{2c-k+1}' title='\frac{k-1}{2c-k+1}' class='latex' />.</p>
<p style="text-align: left;">Combining these, we see that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=P%28Y_c%20%3D%20k%29%20%3D%20%5Cfrac%7Bk-1%7D%7B2c-k%2B1%7D%5Cprod_%7Bj%3D1%7D%5E%7Bk-2%7D%5Cfrac%7B2c-2j%7D%7B2c-j%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='P(Y_c = k) = \frac{k-1}{2c-k+1}\prod_{j=1}^{k-2}\frac{2c-2j}{2c-j}' title='P(Y_c = k) = \frac{k-1}{2c-k+1}\prod_{j=1}^{k-2}\frac{2c-2j}{2c-j}' class='latex' /></p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%3D%20%5Cfrac%7Bk-1%7D%7B2c-k%2B1%7D2%5E%7Bk-2%7D%5Cprod_%7Bj%3D1%7D%5E%7Bk-2%7D%5Cfrac%7Bc-j%7D%7B2c-j%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='= \frac{k-1}{2c-k+1}2^{k-2}\prod_{j=1}^{k-2}\frac{c-j}{2c-j}' title='= \frac{k-1}{2c-k+1}2^{k-2}\prod_{j=1}^{k-2}\frac{c-j}{2c-j}' class='latex' /></p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%3D%202%5E%7Bk-2%7D%5Cfrac%7Bk-1%7D%7B2c-k%2B1%7D%5Cfrac%7B%28c-1%29%21%7D%7B%282c-1%29%21%7D%5Cfrac%7B%282c-k%2B1%29%21%7D%7B%28c-k%2B1%29%21%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='= 2^{k-2}\frac{k-1}{2c-k+1}\frac{(c-1)!}{(2c-1)!}\frac{(2c-k+1)!}{(c-k+1)!}' title='= 2^{k-2}\frac{k-1}{2c-k+1}\frac{(c-1)!}{(2c-1)!}\frac{(2c-k+1)!}{(c-k+1)!}' class='latex' /></p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%3D%20%5Cfrac%7B2%5E%7Bk-2%7D%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7Dc-1%5C%5Ck-2%5Cend%7Barray%7D%5Cright%29%7D%7B%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7D2c-1%5C%5Ck-1%5Cend%7Barray%7D%5Cright%29%7D.&#038;bg=T&#038;fg=000000&#038;s=0' alt='= \frac{2^{k-2}\left(\begin{array}{c}c-1\\k-2\end{array}\right)}{\left(\begin{array}{c}2c-1\\k-1\end{array}\right)}.' title='= \frac{2^{k-2}\left(\begin{array}{c}c-1\\k-2\end{array}\right)}{\left(\begin{array}{c}2c-1\\k-1\end{array}\right)}.' class='latex' /></p>
<p>(Recall that the binomial coefficient <img src='http://s.wordpress.com/latex.php?latex=%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7Dn%5C%5Ck%5Cend%7Barray%7D%5Cright%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='\left(\begin{array}{c}n\\k\end{array}\right)' title='\left(\begin{array}{c}n\\k\end{array}\right)' class='latex' /> is given by <img src='http://s.wordpress.com/latex.php?latex=%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7Dn%5C%5Ck%5Cend%7Barray%7D%5Cright%29%20%3D%20%5Cfrac%7Bn%21%7D%7Bk%21%28n-k%29%21%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\left(\begin{array}{c}n\\k\end{array}\right) = \frac{n!}{k!(n-k)!}' title='\left(\begin{array}{c}n\\k\end{array}\right) = \frac{n!}{k!(n-k)!}' class='latex' />, and as usual n! = n x (n-1) x &#8230; 3 x 2 x 1 is the product of all integers from 1 to n.) With this formula, we can now see how likely it was for the first pairing on Top Chef to have occurred on or after the 6th draw.  In this case there are 8 pairs, so <em>c</em> = 8, and we see that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=P%28Y_8%20%5Cgeq%206%29%20%3D%20%5Csum_%7Bk%3D6%7D%5E%7B9%7DP%28Y_8%20%3D%20k%29%20%3D%20%5Csum_%7Bk%3D6%7D%5E%7B9%7D%20%5Cfrac%7B2%5E%7Bk-2%7D%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7D7%5C%5Ck-2%5Cend%7Barray%7D%5Cright%29%7D%7B%5Cleft%28%5Cbegin%7Barray%7D%7Bc%7D15%5C%5Ck-1%5Cend%7Barray%7D%5Cright%29%7D%2C&#038;bg=T&#038;fg=000000&#038;s=0' alt='P(Y_8 \geq 6) = \sum_{k=6}^{9}P(Y_8 = k) = \sum_{k=6}^{9} \frac{2^{k-2}\left(\begin{array}{c}7\\k-2\end{array}\right)}{\left(\begin{array}{c}15\\k-1\end{array}\right)},' title='P(Y_8 \geq 6) = \sum_{k=6}^{9}P(Y_8 = k) = \sum_{k=6}^{9} \frac{2^{k-2}\left(\begin{array}{c}7\\k-2\end{array}\right)}{\left(\begin{array}{c}15\\k-1\end{array}\right)},' class='latex' /></p>
<p style="text-align: left;">which comes out to 16/39, or roughly 41.03%.</p>
<p style="text-align: left;">Of course, there&#8217;s still the question of expectation: approximately how large do we expect <img src='http://s.wordpress.com/latex.php?latex=Y_c&#038;bg=T&#038;fg=000000&#038;s=0' alt='Y_c' title='Y_c' class='latex' /> to be (remember we saw that <img src='http://s.wordpress.com/latex.php?latex=E%28Y_3%29%20%3D%2016%2F5&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_3) = 16/5' title='E(Y_3) = 16/5' class='latex' />)?  I&#8217;ll spare you the details, but one can show that for general <em>c</em>, the expected value is given by</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=E%28Y_c%29%20%3D%20%5Cfrac%7B2%5E%7B2c%7D%28c%21%29%5E2%7D%7B%282c%29%21%7D.&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_c) = \frac{2^{2c}(c!)^2}{(2c)!}.' title='E(Y_c) = \frac{2^{2c}(c!)^2}{(2c)!}.' class='latex' /></p>
<p style="text-align: left;">In particular, in the case <em>c</em> = 8 from Top Chef, we find that <img src='http://s.wordpress.com/latex.php?latex=E%28Y_8%29%20%3D%20%5Cfrac%7B32768%7D%7B6435%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_8) = \frac{32768}{6435}' title='E(Y_8) = \frac{32768}{6435}' class='latex' />, which is approximately 5.09.  So on average, for <em>c</em> = 8 we expect to find a pair after a little more than 5 draws.</p>
<p style="text-align: left;">For the more advanced reader, one final question: what happens to the expected value as <em>c</em> grows large?  As it turns out, we can write the expected value in a very nice form in terms of the <a href="http://en.wikipedia.org/wiki/Gamma_function">Gamma function</a> (which one can think of as a generalization of the factorial to the entire real line).  Using the doubling formula <img src='http://s.wordpress.com/latex.php?latex=%5CGamma%28z%29%5CGamma%28z%2B1%2F2%29%20%3D%202%5E%7B1-2z%7D%5Csqrt%7B%5Cpi%7D%5CGamma%282z%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='\Gamma(z)\Gamma(z+1/2) = 2^{1-2z}\sqrt{\pi}\Gamma(2z)' title='\Gamma(z)\Gamma(z+1/2) = 2^{1-2z}\sqrt{\pi}\Gamma(2z)' class='latex' />, the interested reader can show that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=E%28Y_c%29%20%3D%20%5Csqrt%7B%5Cpi%7D%5Cfrac%7B%5CGamma%28c%2B1%29%7D%7B%5CGamma%28c%2B1%2F2%29%7D.&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_c) = \sqrt{\pi}\frac{\Gamma(c+1)}{\Gamma(c+1/2)}.' title='E(Y_c) = \sqrt{\pi}\frac{\Gamma(c+1)}{\Gamma(c+1/2)}.' class='latex' /></p>
<p style="text-align: left;">If one then uses <a href="http://en.wikipedia.org/wiki/Stirling%27s_approximation">Stirling&#8217;s formula</a> to approximate the Gamma function, it follows that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=E%28Y_c%29%20%5Capprox%20%5Csqrt%7Bc%5Cpi%7D%2C&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_c) \approx \sqrt{c\pi},' title='E(Y_c) \approx \sqrt{c\pi},' class='latex' /></p>
<p style="text-align: left;">in other words <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7BE%28Y_c%29%7D%7B%5Csqrt%7Bc%7D%7D%20%5Crightarrow%20%5Csqrt%7B%5Cpi%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\frac{E(Y_c)}{\sqrt{c}} \rightarrow \sqrt{\pi}' title='\frac{E(Y_c)}{\sqrt{c}} \rightarrow \sqrt{\pi}' class='latex' /> as <img src='http://s.wordpress.com/latex.php?latex=c%20%5Crightarrow%20%5Cinfty.&#038;bg=T&#038;fg=000000&#038;s=0' alt='c \rightarrow \infty.' title='c \rightarrow \infty.' class='latex' />  What a wonderful asymptotic!  This tells us that the number of draws we will need from a bag of <em>c</em> pairs before obtaining our first pair grows like the square root of <em>c</em> times a factor of <img src='http://s.wordpress.com/latex.php?latex=%5Csqrt%7B%5Cpi%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\sqrt{\pi}' title='\sqrt{\pi}' class='latex' />.  We can compare the estimate given here for <img src='http://s.wordpress.com/latex.php?latex=E%28Y_8%29&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_8)' title='E(Y_8)' class='latex' /> with the exact value computed above &#8211; in doing so, we find that <img src='http://s.wordpress.com/latex.php?latex=E%28Y_8%29%20%5Capprox%20%5Csqrt%7B8%5Cpi%7D%20%5Capprox%205.01&#038;bg=T&#038;fg=000000&#038;s=0' alt='E(Y_8) \approx \sqrt{8\pi} \approx 5.01' title='E(Y_8) \approx \sqrt{8\pi} \approx 5.01' class='latex' />.  So indeed, the approximation is fairly close to the true value (and the approximation will only get better as <em>c</em> grows).</p>
<p style="text-align: left;">There are many related questions one could ask.  For example, what if instead of pairs, we look at collections of triplets, or quadruplets?  What if we consider formation of the 2nd pair or 3rd pair instead of only considering the 1st pair?  What if we allow for different numbers of balls of each color (e.g. 2 red balls and 3 green balls)?  But I&#8217;ve already gone on too long, so I will leave these questions for another time.  I don&#8217;t know if these questions go by a certain name or not &#8211; I couldn&#8217;t find this particular problem anywhere.  If anyone knows of a paper or book where these problems are discussed, I would be much obliged.</p>
<p style="text-align: left;">In the mean time, I will close with a picture of <a href="http://en.wikipedia.org/wiki/Tom_Colicchio">Tom Colicchio</a> looking like a badass.  Clearly the worlds of chefs and rock stars have collided &#8211; will mathematicians be next?</p>
<p style="text-align: left;"><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-15.png"><img class="aligncenter size-full wp-image-598" title="tc" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-15.png" alt="" width="375" height="310" /></a></p>
<p style="text-align: left;">(Kudos to <a href="http://rtm.wustl.edu/index.html">Dr. Moore</a> for some helpful commentary.)</p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/07/top-chef-mathematics.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Housekeeper and the Professor</title>
		<link>http://www.mathgoespop.com/2010/07/the-housekeeper-and-the-professor.html</link>
		<comments>http://www.mathgoespop.com/2010/07/the-housekeeper-and-the-professor.html#comments</comments>
		<pubDate>Thu, 22 Jul 2010 04:18:01 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math in Books]]></category>
		<category><![CDATA[baseball]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[number theory]]></category>
		<category><![CDATA[ruth-aaron pair]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=322</guid>
		<description><![CDATA[<p>Some time ago, I heard about a book from Japan called The Housekeeper and the Professor, written by Yoko Ogawa in 2003 and translated by Stephen Snyder last year.  As the title suggests, the book centers on the relationship between a housekeeper, her son, and a math professor.  The main conceit of the book is that <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/07/the-housekeeper-and-the-professor.html">The Housekeeper and the Professor</a></span>]]></description>
			<content:encoded><![CDATA[<p>Some time ago, I heard about a book from Japan called <a href="http://en.wikipedia.org/wiki/The_Housekeeper_and_the_Professor">The Housekeeper and the Professor</a>, written by Yoko Ogawa in 2003 and translated by Stephen Snyder last year.  As the title suggests, the book centers on the relationship between a housekeeper, her son, and a math professor.  The main conceit of the book is that the Professor suffered an accident some years before that impaired his memory, so that his short term memory only lasts around 80 minutes.  In other words, every day the housekeeper and her son come to visit the professor, it is as if they are meeting him for the first time.  He copes by clipping small notes to his clothing, and in spite of his disability he still dabbles in mathematics.  <a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-13.png"><img class="aligncenter size-full wp-image-540" title="ProfHouse" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-13.png" alt="" width="210" height="314" /></a></p>
<p>One part <a href="http://www.imdb.com/title/tt0209144/">Memento</a>, one part <a href="http://www.imdb.com/title/tt0268978/">A Beautiful Mind</a>, the book was named a New York Times Book Review Editors&#8217; Choice, and was popular enough in Japan to warrant a film adaptation (the Japanese language trailer for which can be found below).  Clearly, then, the book has resonated with people regardless of language.  But how does the book stack up from a mathematical perspective?</p>
<p style="text-align: center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.nipponcinema.com/v2/play.swf?config=http://www.nipponcinema.com/cfg/the-professor-and-his-beloved-equation-trailer" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="360" src="http://www.nipponcinema.com/v2/play.swf?config=http://www.nipponcinema.com/cfg/the-professor-and-his-beloved-equation-trailer" allowfullscreen="true"></embed></object>
</p>
<p style="text-align: left;">At first glance, it may sound like there&#8217;s a lot of fodder for me to complain about here.  After all, how many times have we seen mathematicians in popular culture with some sort of mental handicap?  Granted, memory loss is a new twist &#8211; usually insanity is the preferred condition.  Still, though, I don&#8217;t think it&#8217;s too much to ask for a mathematician who&#8217;s just a normal dude (or even, gasp, a normal lady).</p>
<p style="text-align: left;">Unfortunately, he is also but the latest entry in a long line of  mathematicians in popular culture who are socially maladjusted.  He&#8217;s also incredibly reclusive &#8211; he has a strong aversion to crowds, and when he accompanies the housekeeper and her son to a baseball game midway through the novel, it&#8217;s fairly clear that he hasn&#8217;t been on an outing in some time.  One could explain these traits as a byproduct of his mental condition, of course: it&#8217;s natural for him to be shy around people when he is always meeting them for the first time, and there&#8217;s a danger in taking him out for too long lest he should forget what he&#8217;s doing out in the first place.  But part of me feels like these are convenient excuses for rehashing familiar tropes about people who study mathematics.</p>
<p style="text-align: left;">It&#8217;s not all bad, though.  In fact, I found myself able to forgive much of what I didn&#8217;t like about this portrayal of mathematicians, because there are many positive features about the professor as well.  For starters, the professor is able to form a close relationship to the housekeeper&#8217;s son (who he nicknames Root, because the child&#8217;s flat head of hear reminds him of the square root sign).  Even though the professor can&#8217;t remember who Root is from day to day, every time the boy comes to the professor&#8217;s house, the professor dotes on him like a father.  He obsesses over the safety of Root more than the housekeeper, and keeps Root in his mind as much as he can, given his circumstances.</p>
<p style="text-align: left;">Of course, his concern about Root wouldn&#8217;t be complete if it didn&#8217;t include concern over his mathematics education.  Here&#8217;s another thing Ogawa does quite well &#8211; she is able to not only show the professor&#8217;s love of mathematics, but she is also able to illustrate how that passion can inspire others.  The professor is a number theorist, and he is always looking for meaning behind numbers (something which, in the hands of a poorer story-teller, would no doubt incite my rage).  What makes the professor&#8217;s interest significant is that he never discusses numbers for the sake of random numerological connections &#8211; instead, he is able to take small observations and use them to hint at larger mathematical ideas.  Here&#8217;s one such example, from the day the three of them went to a baseball game (this may be my favorite passage from the book):</p>
<blockquote><p style="text-align: left;">And when he noticed that his seat number was 714 and Root&#8217;s was 715, he began to lecture again and completely forgot to sit down.</p>
<p style="text-align: left;">&#8220;The home run record Babe Ruth set in 1935 is 714.  On April 8, 1974, Hank Aaron broke that record, hitting his 715th off of Al Downing of the Dodgers.  The product of 714 and 715 is equal to the product of the first seven prime numbers: 714 x 715 = 2 x 3 x 5 x 7 x 11 x 13 x 17 = 510510.  And, the sum of the prime factors of 714 equals the sum of the prime factors of 715: 714 = 2 x 3 x 7 x 17, 715 = 5 x 11 x 13; 2 + 3 + 7 + 17 = 5 + 11 + 13 = 29.  A pair of consecutive whole numbers with these properties is quite rare.  There are only 26 such pairs up to 20,000.  This one is the Ruth-Aaron pair.  Just like prime numbers, they are more rare as the numbers get larger.  And 5 and 6 are the smallest pair.  But the proof to show that those pairs are infinite in number is quite difficult*. . . . The important thing is that I&#8217;m sitting in 714 and you&#8217;re in 715, instead of the opposite.  It&#8217;s the young who have to break the old records.  That&#8217;s the way the world works, don&#8217;t you think?&#8221; (90)</p>
</blockquote>
<div class="wp-caption aligncenter" style="width: 330px"><img src="http://i.cdn.turner.com/sivault/multimedia/photo_gallery/0904/this.day.sports.history.april8/images/hank-aaron.jpg" alt="" width="320" height="452" /><p class="wp-caption-text">Happy to have broken the home run record, or happy to be part of an interesting number phenomenon?</p></div>
<p style="text-align: left;">There are vignettes like this peppered throughout the book, where the professor will link an everyday observation to some kind of mathematics.  In the story, which is told from the housekeeper&#8217;s perspective, we see how this inspires the housekeeper to think about simple mathematical problems.  In spite of her lack of formal training, the professor is able to inspire in her a sense of mathematical curiosity (something which all math teachers should aspire to do).  Those of the mathematical persuasion are rarely shown as being able to interest people who are less mathematically inclined.  I&#8217;m glad to see that this book bucks that trend.</p>
<p style="text-align: left;">Moreover, this book does a better than average job of discussing what makes mathematics so appealing to those of us who study it.  Consider the following exchange between the housekeeper and the professor, after she apologizes for sending a proof of his to a journal via regular mail instead of express:</p>
<blockquote><p style="text-align: left;">&#8220;No, there was no need to send it express.  Of course, it&#8217;s important to arrive at the correct answer before anyone else, but it&#8217;s just as important that the proof is elegant.&#8221;</p>
<p style="text-align: left;">&#8220;I had no idea a proof could be beautiful . . . or ugly.&#8221;</p>
<p style="text-align: left;">&#8220;Of course it can,&#8221; he said.  Getting up from the table, he came over to the sink where I was washing the dishes and peered at me as he continued.  &#8220;The truly correct proof is one that strikes a harmonious balance between strength and flexibility.  There are plenty of proofs that are technically correct but are messy and inelegant or counterintuitive.  But it&#8217;s not something you can put into words&#8212;explaining why a formula is beautiful is like trying to explain why the stars are beautiful.&#8221; (16)</p>
</blockquote>
<p style="text-align: left;">While I don&#8217;t necessarily agree with the last part, I think it&#8217;s refreshing to find a discussion of what accounts for mathematical beauty in a book like this.  This type of discussion between a mathematical expert and a mathematical amateur is not often present in works that center on mathematics &#8211; more frequently, the conversation is between math experts, or is not about mathematics at all.  Providing this type of simple insight to a reader who may not have a mathematical background is certainly a plus.</p>
<p style="text-align: left;">Despite falling into some tired stereotypes, the professor emerges as a fully realized character.  His memory problems are much more than a gimmick, and while they enable certain stereotypes to persist, Ogawa also uses his disability to showcase a degree of empathy for other people that is not often found in portrayals of those who study mathematics.  Overall I found that I quite enjoyed the book &#8211; if you&#8217;ve got a lazy Sunday coming up (the book is short, so you could easily finish it in a weekend), I&#8217;d certainly recommend giving this story a shot.</p>
<p style="text-align: left;">*Actually, the question as to whether or not there are infinitely many such pairs is actually still open.  See <a href="http://mathworld.wolfram.com/Ruth-AaronPair.html">here</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/07/the-housekeeper-and-the-professor.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let’s Make a Deal with Paul the Octopus</title>
		<link>http://www.mathgoespop.com/2010/07/lets-make-a-deal-with-paul-the-octopus.html</link>
		<comments>http://www.mathgoespop.com/2010/07/lets-make-a-deal-with-paul-the-octopus.html#comments</comments>
		<pubDate>Wed, 14 Jul 2010 15:00:40 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Animal Math]]></category>
		<category><![CDATA[Math in the News]]></category>
		<category><![CDATA[Sports]]></category>
		<category><![CDATA[monty hall]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[soccer]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=486</guid>
		<description><![CDATA[<p>As summer reaches its midpoint, we come to the end of another rousing year of World Cup soccer.  As with any international sporting event, fans all over the world have undoubtedly had their share of ups and downs.  Of all the countries in this year&#8217;s tournament, however, I think Germany may be receiving the most attention, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/07/lets-make-a-deal-with-paul-the-octopus.html">Let’s Make a Deal with Paul the Octopus</a></span>]]></description>
			<content:encoded><![CDATA[<p>As summer reaches its midpoint, we come to the end of another rousing year of World Cup soccer.  As with any international sporting event, fans all over the world have undoubtedly had their share of ups and downs.  Of all the countries in this year&#8217;s tournament, however, I think Germany may be receiving the most attention, for even though they didn&#8217;t make it into the finals, the Germans have one thing no other country has: a precognitive octopus.</p>
<p>At least, that is what the media would have us believe.  For the past several weeks, <a href="http://en.wikipedia.org/wiki/Paul_the_Octopus">Paul the Octopus</a> has captured the hearts, minds, and stomachs of people around the world.  He&#8217;s a charming octopus, to be sure, but it isn&#8217;t his good looks that have gotten him this far.  Instead, it&#8217;s his seeming ability to correctly predict the outcome of soccer matches.  As time has gone on and Paul&#8217;s predictions have continued to prove themselves accurate, the amount of press he has received has only increased.  Articles about him are everywhere on the internet: <a href="http://g.sports.yahoo.com/soccer/world-cup/news/dinner--fbintl_dw-octopus070810.html">here</a>&#8216;s one discussing public outrage after he correctly predicted Spain to defeat Germany in the semifinals, and <a href="http://g.sports.yahoo.com/soccer/world-cup/news/dinner--fbintl_dw-octopus070810.html">here</a>&#8216;s an article discussing his preference for Spain over the Netherlands in the finals.  Search for &#8220;Paul the Octopus&#8221; in Google News and you will find thousands of results.</p>
<div class="wp-caption aligncenter" style="width: 349px"><a href="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Oktopus-Orakel_Paul_mit_Schuh.JPG/450px-Oktopus-Orakel_Paul_mit_Schuh.JPG"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Oktopus-Orakel_Paul_mit_Schuh.JPG/450px-Oktopus-Orakel_Paul_mit_Schuh.JPG" alt="" width="339" height="452" /></a><p class="wp-caption-text">This is one popular mollusk.</p></div>
<p>Of course, I suppose it&#8217;s possible that Paul really can see into the future, at least as far as soccer is concerned.  After all, he did correctly predict the winner of every game asked of him; an impressive feat, seeing as how his advice was requested a total of 8 times.  However, <a href="http://en.wikipedia.org/wiki/Occam%27s_razor">Occam&#8217;s Razor</a> suggests that we should look for a simpler explanation.</p>
<p>A natural first choice is to guess that Paul was simply guessing randomly, and is very lucky.  The odds of this happening are small &#8211; assuming he has a 50% chance of picking correctly, the odds of him being right each one of the 8 times he predicted a winner in this World cup would be 1/2<sup>8</sup>, which is only approximately .39%.  Very low odds indeed.</p>
<p>This analysis ignores biases that may be present &#8211; in particular, Paul&#8217;s octopus vision may bias him towards certain flag designs (which, given the fact that he frequently chooses Germany, seems plausible).  The Wikipedia article I linked to discusses other sorts of possible bias.  However, these biases would only influence which box he selected &#8211; they wouldn&#8217;t necessarily affect the odds that his selection would correspond to the winning team (although it is possible that he is being persuaded to throw his chips in for the favored team, which would increase the likelihood of his success).  Either way, questions concerning how Paul makes his selection are more interesting to me, so let me focus for the moment on that.</p>
<p>First of all, one could easily argue that unlike flipping a coin, the trials here (i.e. Paul&#8217;s selections) are NOT independent.  Indeed, what&#8217;s going on here may be very similar to an article in the New York Times a couple of years ago that discussed the lurking presence of the Monty Hall Problem in a classic experiment from psychology (which I discussed <a href="http://www.mathgoespop.com/2008/08/math-in-the-news-monty-hall-strikes-again.html">here</a>).</p>
<p>The idea is quite simple.  Paul chooses between two opponents in the World Cup by selecting a piece of food from one of two boxes.  Each box is labeled with a country&#8217;s flag, and this is the most obvious distinction between the boxes.  Suppose, for the sake of argument, that Paul has in his mind a ranking of his preferences for the flags, starting with the one he likes the most, and ending with the one he likes the least.  Assuming between any pair of flags Paul prefers one to another, one could theoretically determine his preferences by giving him sufficiently many pairings of different flags.  Moreover, assuming he does have preferences, the game selections are no longer independent, because each game gives us some information about his preferences.</p>
<p>Let&#8217;s dig deeper and look at his selections throughout the World Cup.  Paul gave predictions for 8 games, and those 8 games involved 9 separate teams (only one game did not involve Germany).  In the first game, Germany versus Australia, Paul selected Germany.  Let us note that as: <a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/geraus.jpg"><img class="aligncenter size-full wp-image-525" title="geraus" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/geraus.jpg" alt="" width="425" height="91" /></a>Now, already this gives us information about Paul&#8217;s preferences.  There are 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 9! = 362,880 possible ways to order these 9 teams, since you can choose any one of the 9 teams to be your favorite, any one of the 8 remaining to be your second favorite, and so on.  But given the above information, we already know that any choice with Australia ranked higher than Germany can not match Paul&#8217;s preferences.  This eliminates a surprising number of possible outcomes &#8211; half, in fact, since for every list in which Germany is ranked higher than Australia, we can flip these two countries to obtain a ranking in which Australia is higher than Germany.</p>
<p>This then affects the probability of all subsequent pairings!  Let&#8217;s take a look at the next game.  In the second game, Paul correctly predicted Serbia to defeat Germany.  We can write this as: <a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/serbger.jpg"><img class="aligncenter size-full wp-image-527" title="serbger" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/serbger.jpg" alt="" width="425" height="91" /></a>This gives us even more information!  Now, not only do we know that Paul prefers Germany to Australia, we also know he prefers Serbia to Germany.</p>
<p>Moreover, suppose (as seems reasonable) we assume the probability that he prefers Germany to Australia is 50%.  Now, after the first match, we know he prefers Germany to Australia &#8211; the right followup question to ask is, what is the probability he prefers Serbia to Germany GIVEN that he prefers Germany to Australia?  In particular, we have a conditional probability question here &#8211; these two facts are not independent!  For example, the fact that Paul prefers Germany to Australia means that Germany cannot be last in his rankings &#8211; this should <em>decrease</em> the probability that he prefers Serbia to Germany.  And indeed it does: supposing that each of the 362,880 rankings is equally likely, the probability that someone will prefer Serbia to Germany given that they prefer Germany to Australia is not 50%, but is only 33%!</p>
<p>To see why, consider an arbitrary ranking of the 9 teams.  If we only consider the relative placement of Serbia (S), Germany (Ge), and Australia (A), there are 6 possible rankings among these three:</p>
<ol>
<li> S &gt; Ge &gt; A </li>
<li>S &gt; A &gt; Ge </li>
<li>Ge &gt; S &gt; A </li>
<li>Ge &gt; A &gt; S </li>
<li>A &gt; Ge &gt; S </li>
<li>A &gt; S &gt; Ge.</li>
</ol>
<p>However, if we also know that Ge &gt; A, then rankings 2, 5, and 6 are eliminated, leaving us only with</p>
<ol>
<li>S &gt; Ge &gt; A</li>
<li>Ge &gt; S &gt; A</li>
<li>Ge &gt; A &gt; S.</li>
</ol>
<p>In particular, of these three remaining, Serbia is ranked higher than Germany only once.  Therefore, the probability that S &gt; G GIVEN that G &gt; A is only 1/3, or 33%.  (If you prefer, you can use a counting argument to show this as well.)</p>
<p>Of course, just as the first match gave us information, so did the second.  Therefore, when it comes to the third match, we have even more information at our disposal.  The third match was between Germany and Ghana, and Paul correctly identified Germany.  In other words: <a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/gergha.jpg"><img class="aligncenter size-full wp-image-530" title="gergha" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/gergha.jpg" alt="" width="425" height="91" /></a>Now the appropriate question to ask, of course, is: what is the probability that Paul prefers Germany to Ghana, given that he prefers Serbia to Germany and Germany to Australia?  Well, we know that Germany can&#8217;t be his first or his last choice, because it must be preceded by Serbia and followed by Australia.  Therefore, among these four countries, Germany must rank second or third.</p>
<p>If Germany ranks second, Serbia must be first, but we are free to make Australia third or fourth.  Similarly, if Germany is third, then Australia must be last, and we are free to make Serbia first or second.  In other words, we have four outcomes:</p>
<ol>
<li>S &gt; Ge &gt; Gh &gt; A</li>
<li>S &gt; Ge &gt; A &gt; Gh</li>
<li>S &gt; Gh &gt; Ge &gt; A</li>
<li>Gh &gt; S &gt; Ge &gt; A.</li>
</ol>
<p>Among these four choices, only 2 have Germany preferred over Ghana.  Thus the conditional probability that one would prefer Germany to Ghana is again 50%.</p>
<p>The interested reader can easily continue on in this fashion.  If you&#8217;re impatient, however, you can calculate the probability that Paul would have made the selections he did more directly.  All we need to know is who Paul selected in each match.  I&#8217;ll tell you that in the subsequent matches, Paul picked Germany over England, Germany over Argentina, Spain over Germany, Germany over Uruguay, and Spain over the Netherlands.</p>
<p>Given this information, suppose you want to know the probability that Paul selects Germany over Australia, Argentina, Uruguay, Ghana, and England, while he selected Spain over Germany and the Netherlands and Serbia over Germany.  As stated before, there are 9! possible lists of preferences.  In this case, it&#8217;s not hard to determine how many would lead to the behavior seen in this year&#8217;s World Cup.  Since Paul picked Germany over 5 teams, but behind 2 teams, we know that Germany can only be ranked 3rd or 4th (any higher and there wouldn&#8217;t be room for Spain and Serbia above, any lower and there wouldn&#8217;t be room for the 5 teams below).</p>
<p>If Germany is ranked 3rd, then we can choose to put either Spain or Serbia in 1st place.  Whichever one we don&#8217;t put in first place will then need to go in 2nd place, so that both countries are ranked higher than Germany.  After that, we are free to order the remaining countries however we like.  In other words, we see that there are 2 x 6! = 1,440 possible lists of preferences if Germany is ranked 3rd:</p>
<ol>
<li>2 choices</li>
<li>1 choice</li>
<li>Germany</li>
<li>6 choices</li>
<li>5 choices</li>
<li>4 choices</li>
<li>3 choices</li>
<li>2 choices</li>
<li>1 choice.</li>
</ol>
<p>Meanwhile, if Germany is in 4th place, we need to figure out how many ways there are to choose the three teams above it.  Notice that since Australia, Argentina, Uruguay, Ghana and England must all be ranked lower than Germany, the three countries ranked above it must be Spain, Serbia, and the Netherlands.  However, since we also need the Netherlands to be ranked below Spain, this only gives us three possibilities for the ranking of the first three teams: Spain, Serbia, Netherlands; Spain, Netherlands, Serbia; and Serbia, Spain, Netherlands.  Once we have made that selection, however, we are free to choose the 5 teams below Germany however we please.  In other words, if Germany is 4th, there are 3 x 5! = 360 possible lists of preferences.</p>
<p>Combining these, we see that there are 1,800 possible lists of preferences that would lead to the behavior shown by Paul.  Since the total number of outcomes is 9!, this gives a probability of only 1,800/9!, or roughly .49%.  This is the same value you will get if you calculate the remaining conditional probabilities and multiply them together.</p>
<p>Of course, if one wants a more impressive number, one can always try to correct for bias in Paul&#8217;s selection.  For example, suppose we assume that Paul will never choose England or Australia if given the option of a different flag &#8211; this seems reasonable, given experiments on how his species sees (the other flags have more contrast and are more focused on horizontal shapes, which apparently his species is drawn to).  If we make this assumption, the number of potential preference lists drops to 7! x 2 = 10,080, in which case the probability that Paul would choose as he did jumps up to 17.9%!</p>
<p>There are valid concerns about this model, though.  For instance, given the choice between two flags, why should we assume that Paul will always choose the same one over the other?  Equivalently, why should we believe that Paul&#8217;s decisions follow a prescribed preference list?  Indeed, when Paul was used to make predictions in 2008, he selected Germany over Spain, unlike his selection of Spain over Germany in 2010.  In 2008, it was Germany who was the victor, and so Paul guessed incorrectly &#8211; perhaps he learns from his mistakes, after all.</p>
<p>Whatever the case, I doubt this octopus has any special ability.  And even if he does, I don&#8217;t know that that would necessarily be a good thing.  For we all know that when 8 limbs are combined with super powers, nothing good can come of it.</p>
<div class="wp-caption aligncenter" style="width: 290px"><a href="http://upload.wikimedia.org/wikipedia/en/b/b6/2826_DocOck.jpg"><img src="http://upload.wikimedia.org/wikipedia/en/b/b6/2826_DocOck.jpg" alt="" width="280" height="425" /></a><p class="wp-caption-text">Is this the future that Paul&#39;s powers portend?  I believe it is.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/07/lets-make-a-deal-with-paul-the-octopus.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New Birthday Problem</title>
		<link>http://www.mathgoespop.com/2010/07/a-new-birthday-problem.html</link>
		<comments>http://www.mathgoespop.com/2010/07/a-new-birthday-problem.html#comments</comments>
		<pubDate>Wed, 07 Jul 2010 15:00:30 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Math in the News]]></category>
		<category><![CDATA[martin gardner]]></category>
		<category><![CDATA[monty hall]]></category>
		<category><![CDATA[probability]]></category>

		<guid isPermaLink="false">http://www.mathgoespop.com/?p=506</guid>
		<description><![CDATA[<p>Last week, Slashdot posted an interesting link to a problem posed at the most recent Gathering 4 Gardner, a mathematical (or perhaps I should say mathemagical) convention created in honor of the late Martin Gardner.  The question, posed by Gary Foshee, is as follows: you have a friend with two children, one of whom is a <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.mathgoespop.com/2010/07/a-new-birthday-problem.html">A New Birthday Problem</a></span>]]></description>
			<content:encoded><![CDATA[<p>Last week, Slashdot posted an interesting <a href="http://science.slashdot.org/story/10/06/28/2221252/The-Tuesday-Birthday-Problem?from=rss&amp;utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Slashdot%2Fslashdot+%28Slashdot%29">link</a> to a problem posed at the most recent <a href="http://www.g4g4.com/">Gathering 4 Gardner</a>, a mathematical (or perhaps I should say mathemagical) convention created in honor of the late Martin Gardner.  The question, posed by Gary Foshee, is as follows: you have a friend with two children, one of whom is a boy born on a Tuesday.  What is the probability that the other child is a boy?</p>
<p>Forget about the Tuesday fact for a moment &#8211; if you have a friend with two children, one of whom is a boy, what is the probability that the other child is a boy?  You might expect that the answer should be 50%, since the sex of one child shouldn&#8217;t affect the sex of the other.  But this is not quite right, because you&#8217;re not told whether the boy is the older or younger child.</p>
<p>There are only four possibilities when one has two children, so the situation is easy to analyze.  With two kids, the four possibilities are boy boy, boy girl, girl boy, and girl girl.  If you know that one of the kids is a boy, this eliminates girl girl from the list of potential combinations, leaving us with the three outcomes boy boy, boy girl, and girl boy.  Of these three outcomes, we see that only the first has two boys, and so we conclude that the probability of the second child being a boy is 1/3, NOT 1/2!</p>
<p><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-4.png"><img class="aligncenter size-full wp-image-511" title="Picture 4" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-4.png" alt="" width="292" height="292" /></a></p>
<p>There&#8217;s another way to answer this question, one that generalizes nicely to the more complicated question asked by Foshee.  There are two cases to consider: either the boy you know about is the younger child, or the older child.  If the boy you know about is the younger child, there are two possibilities for the older child (girl or boy).  Similarly, if the boy you know about is the older child, there are two possibilities for the younger child (girl or boy).  This gives four outcomes, but you have counted the boy boy outcome twice.  In other words, we see there are only three distinct outcomes, and only one of them has two boys, so again we see that the probability is 1/3.</p>
<p>Now let&#8217;s return to the original question.  Again, it seems like the fact that the boy was born on a Tuesday shouldn&#8217;t matter, but if we do the same analysis as above, we&#8217;ll see that this is not the case.  The information about the day does make the number of outcomes larger, however, so it&#8217;s easier to get mixed up.</p>
<p>As before, let&#8217;s split into two cases, depending on whether the Tuesday boy is younger or older.  If the younger child is the Tuesday boy, then there are 14 possible outcomes for the older child, since there are 2 choices for the sex of the child and 7 choices for the day of the week on which the child was born.  Similarly, if the older child is the Tuesday boy, there are once again 14 possible outcomes for the younger child.  However, notice that we have counted the outcome of two boys both born on Tuesday twice, just as we counted the outcome of two boys twice in the simpler problem.  Correcting for this double counting, we see that there are 14 + 14 &#8211; 1 = 27 possible outcomes.  Of these outcomes, 13 of them correspond to having a two boys &#8211; if the younger child is the Tuesday boy, there are 7 possible outcomes that will give us two boys, and if the older child is the Tuesday boy, there are again 7 possible outcomes.  As before, though, we&#8217;ve counted both children being Tuesday boys twice, so we subtract 1 to correct for this double-counting, which leaves us with a total of 7 + 7 &#8211; 1 = 13 desired outcomes.  This means that the probability of the second child being a boy is 13/27.  While still not equal to 1/2, this is much closer to 1/2 than 1/3.</p>
<p><a href="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-5.png"><img class="aligncenter size-full wp-image-513" title="Picture 5" src="http://www.mathgoespop.com/wp-content/uploads/2010/07/Picture-5.png" alt="" width="378" height="378" /></a></p>
<p>Much like the <a href="http://www.mathgoespop.com/2008/08/math-in-the-news-monty-hall-strikes-again.html">Monty Hall</a> problem, however, one can understand the mathematical reasoning behind this problem and still have trouble with the intuition.  After all, why should the day on which a child was born have any bearing on the sex of the other child?  On the face of it, the solution to this problem doesn&#8217;t make any sense.  One way to try and marry this solution to our intuition is to assign some numbers and explore the data, seeing where our intuition diverges from this picture.</p>
<p>Suppose we take a survey of 19,600 families with two children (you will understand why I&#8217;ve chosen this seemingly random number in a moment).  Of those families, suppose they are evenly divided among boy boy, boy girl, girl boy, and girl girl households.  In particular, we see that there are 4,900 families with two boys, 4,900 families with two girls, and 9,800 families with a boy and a girl (in half of these families the boy is older, and in half the boy is younger).</p>
<p>Now suppose we further subdivide the data according to the day of the week in which the child was born.  Suppose that a child is equally likely to have been born on any day of the week.  This means that, for example, among the 4,900 families with two boys, 4,900 ÷ 49 = 100 will have boys who were both born on Monday, 100 will have boys for which the oldest was born on Monday and the youngest Tuesday, 100 will have boys for which the oldest was born on Monday and the youngest Wednesday, and so on.  In other words, for every possible combination of sexes and days of birth, there will be 100 families that match that combination.</p>
<p>Suppose, now, that you take a random family in which one of the children is a boy born on Tuesday.  There will be 1,400 families for which the younger child is a born boy on Tuesday, and 1,400 families for which the older child is a boy born on Tuesday, which means there are 2,700 families total families under consideration (note that we have counted the 100 families with two boys born on Tuesday twice).  Of those 2,700 families, 1,300 will have two boys, for the same reason as above (you can also look at the diagram above &#8211; imagine each square as representing 100 families in the survey).  So, if we pick a FAMILY at random with a boy born on Tuesday, the probability that the other child is a boy is 1,300 out of 2,700, or 13/27.</p>
<p>Now, instead of picking a family at random, suppose we pick a BOY at random who was born on Tuesday, and ask for the probability that the boy&#8217;s sibling is also a boy.  In this case, note that there are 2,800 boys in our sample who were born on Tuesday &#8211; 1,400 who are the younger sibling and 1,400 who are the older sibling.  In particular, note that we don&#8217;t subtract out the families with two boys both born on Tuesday for double counting in this case; this is because we are choosing the boy, not the family, and choosing the younger boy born on Tuesday is different from choosing the older boy born on Tuesday.  Because there&#8217;s nothing to subtract out, we see that of these 2,800 boys, 1,400 have sisters and 1,400 have brothers.  Therefore the probability that the BOY has a brother is 1/2, the answer our intuition gave us from the beginning!</p>
<p>In other words, you can try to understand this seeming paradox as a difference in perspective.  If we look from the perspective of the family unit, the probability that a two-child FAMILY with one son born on Tuesday will have two sons is 13/27, slightly less than one half.  However, from the perspective of the children, the probability that a BOY born on Tuesday in a two-child family will have a brother as opposed to a sister is 1/2.  In this latter case, the day of the week really is irrelevant.</p>
<p>For some, however, this explanation still may not seem like enough.  I&#8217;d encourage anyone with a different approach to sound off below!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathgoespop.com/2010/07/a-new-birthday-problem.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
