<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Someone and Anyone &#187; Mathematics</title>
	<atom:link href="http://someoneandanyone.wordpress.com/category/mathematics/feed/" rel="self" type="application/rss+xml" />
	<link>http://someoneandanyone.wordpress.com</link>
	<description>"I walk slowly, like one who comes from so far away he doesn't expect to arrive."</description>
	<lastBuildDate>Sat, 21 Mar 2009 06:55:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='someoneandanyone.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e310cd72db5683c9fa9bc30839babf1b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Someone and Anyone &#187; Mathematics</title>
		<link>http://someoneandanyone.wordpress.com</link>
	</image>
			<item>
		<title>Harry Vs Draco</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/29/harry-vs-draco/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/29/harry-vs-draco/#comments</comments>
		<pubDate>Thu, 29 May 2008 16:42:24 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[arithmetic]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=47</guid>
		<description><![CDATA[Harry Potter and Draco Malfoy are the frontrunners for the &#8220;Best Student of the Year&#8221; award at Hogwarts. Professor Dumbledore suggests that they play a certain game (invented by a great wizard) to determine the winner. Dumbledore describes the game to Harry and Draco as follows.
Consider a board as below, with two distinct non-zero integers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=47&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Harry Potter and Draco Malfoy are the frontrunners for the &#8220;Best Student of the Year&#8221; award at Hogwarts. Professor Dumbledore suggests that they play a certain game (invented by a great wizard) to determine the winner. Dumbledore describes the game to Harry and Draco as follows.</p>
<p>Consider a board as below, with two distinct non-zero integers <em>m</em> and <em>n</em> &#8220;thrown&#8221; onto it. At the beginning of the game, Dumbledore, as the impartial referee, will provide <em>m</em> and <em>n</em>. Then, there will be a toss to decide who gets to make the first move. The winner of the toss can either make the first move himself or invite his opponent to make the first move.</p>
<p><a href="http://someoneandanyone.files.wordpress.com/2008/05/a.png"><img class="aligncenter size-medium wp-image-50" src="http://someoneandanyone.files.wordpress.com/2008/05/a.png?w=300&#038;h=275" alt="" width="300" height="275" /></a></p>
<p>When his turn comes, each player has to introduce a new positive integer onto the board such that it is the difference between any two existing integers on the board.</p>
<p>For example:</p>
<p style="padding-left:30px;">First move: Player 1 would introduce <em>k = |m &#8211; n|</em></p>
<p style="padding-left:30px;">Second move: Player 2 would introduce either <em>x = |m &#8211; k|</em> or <em>y = |n &#8211; k|</em></p>
<p style="padding-left:30px;">Third move: (Assuming that Player 2 introduced <em>x</em><em> = |m &#8211; k|</em> in the second move) Player 1 introduces either <em>u = |m &#8211; x|</em> or <em>v = |n &#8211; x|</em> or <em>w = |k &#8211; x|</em> or <em>y = |n &#8211; k|</em></p>
<p style="padding-left:30px;">Fourth move: Player 2 introduces&#8230;</p>
<p style="padding-left:30px;">and so on&#8230;</p>
<p>The game goes on like this and concludes only when one of the players finds it impossible to introduce any more new numbers to the board; the other player thus wins.</p>
<p>Well, now, the stage is set. Dumbledore has provided <em>m</em> and <em>n</em>. Harry has won the toss!</p>
<p>Can you help Harry ensure that he wins the game? Who should make the first move and why?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=47&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/29/harry-vs-draco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>

		<media:content url="http://someoneandanyone.files.wordpress.com/2008/05/a.png?w=300" medium="image" />
	</item>
		<item>
		<title>Analysis of Strategies for the n-Door Monty Hall Problem</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/21/analysis-of-strategies-for-the-n-door-monty-hall-problem/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/21/analysis-of-strategies-for-the-n-door-monty-hall-problem/#comments</comments>
		<pubDate>Tue, 20 May 2008 20:12:27 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[dilemma]]></category>
		<category><![CDATA[generalization]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Monty_Hall]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[proof]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=29</guid>
		<description><![CDATA[In an earlier post (see comments also), I had put forth a question about the winning strategy for the famous n-Door Monty Hall problem. Let me pose it again here, this time in a general way.
Of the following strategies, which has the highest chance of winning in the n-door problem (n &#62; 3)?

Stick with your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=29&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In an <a title="The Multi-Stage Monty Hall Problem" href="http://someoneandanyone.wordpress.com/2008/05/17/the-multi-stage-monty-hall-problem/" target="_blank">earlier post</a> (see <a title="Comments for " href="http://someoneandanyone.wordpress.com/2008/05/17/the-multi-stage-monty-hall-problem/#comments" target="_blank">comments</a> also), I had put forth a question about the winning strategy for the famous n-Door Monty Hall problem. Let me pose it again here, this time in a general way.</p>
<p>Of the following strategies, which has the highest chance of winning in the n-door problem (n &gt; 3)?</p>
<ol>
<li>Stick with your initial choice till the very end without switching</li>
<li>Stick with your initial choice till the end and switch only at the last stage</li>
<li>Switch your choice at the very beginning and stick with this new door till the very end without switching again</li>
<li>Switch at every possible stage</li>
</ol>
<p>For those who are already familiar with the 3-door problem, strategy 4 might intuitively seem to be the best strategy. However, that is not the case!</p>
<p>Consider n doors as follows: <span style="font-size:12pt;">C, G<sub>1</sub>, G<sub>2</sub>, …, G<sub>n-1</sub> </span></p>
<p><strong>Assertion 1:</strong> The door we choose at the first stage is <span style="font-size:12pt;">C</span> (the &#8220;car door&#8221;) with probability 1/n, while it is a <span style="font-size:12pt;">G<sub>x</sub></span> (one of the &#8220;goat doors&#8221;) with probability (n &#8211; 1)/n.</p>
<p><strong>Strategy 1: </strong><em>Stick with your initial choice till the very end without switching</em></p>
<p>This strategy is equivalent to simply picking a door uniformly at random. Hence, it is trivially true that the probability of picking <span style="font-size:12pt;">C</span> (i.e. probability of winning the car) is <strong>1/n</strong>.</p>
<p><strong>Strategy 2:</strong> <em>Stick with your initial choice till the end and switch only at the last stage</em></p>
<p>This strategy is interesting. At every stage except the last one, Monty Hall will go ahead and show us one of the goat doors. That is, out of a total of (n &#8211; 1) goat doors, we are shown (n &#8211; 2). Hence, the unopened door at the last stage and the door we chose at the first stage are the only two mystery doors to us! One of these contains the car, while the other contains a goat. As we can see, by waiting till the last stage, we maximized our own information content.</p>
<p>If the door we chose at the first stage is <span style="font-size:12pt;">C</span>, then according to this strategy, we definitely lose &#8212; because the other mystery door (to which we have to switch) then contains a goat.</p>
<p>However, if we chose a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage, then we <em>always</em> win! Because the other mystery door (to which we have to switch) then contains the car.</p>
<p>Therefore, the probability of winning with this strategy is <em>(probability of choosing a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage)  * 1</em>. From Assertion 1, this equals <strong>(n &#8211; 1)/n</strong>.</p>
<p><strong>Strategy 3:</strong> <em>Switch your choice at the very beginning and stick with this new door till the very end without switching again</em></p>
<p>According to this strategy, we choose a door at the first stage and switch our choice at the second stage. Thereafter, we stick to the door that we chose at the second stage, till the end of the game.</p>
<p>If the door we chose at the first stage is <span style="font-size:12pt;">C</span>, then we definitely lose &#8212; because we would switch to a goat door at the second stage and stick with it thereafter.</p>
<p>So, we could win only if we chose a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage. However, merely choosing a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage does not mean we always win. After the first stage, Monty shows us one of the goat doors. This still leaves (n &#8211; 2) other doors (excluding our initial choice) as a mystery to us. So, we will switch to one of the remaining (n &#8211; 2) doors uniformly at random. So, the probability of switching to <span style="font-size:12pt;">C</span> is 1/(n &#8211; 2).</p>
<p>Therefore, the probability of winning with this strategy is <em>(probability of choosing a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage) * 1/(n &#8211; 2)</em>. Hence, It follows (from Assertion 1) that the probability of winning with this strategy is (n &#8211; 1)/(n (n &#8211; 2)) or <strong>(n &#8211; 1)/(n<sup>2</sup> &#8211; 2n)</strong>.</p>
<p><strong>Strategy 4:</strong> <em>Switch at every possible stage</em></p>
<p>In this strategy, we keep hopping from one door to another door at every stage. In this approach, the only way to win is by switching to <span style="font-size:12pt;">C</span> at the (n &#8211; 1)th stage, no matter which doors we have switched to up until then. The only thing that matters is whether we are able to switch to <span style="font-size:12pt;">C</span> at the last stage. This can happen if and only if we are at a <span style="font-size:12pt;">G<sub>x</sub></span> at the (n &#8211; 2)th stage.</p>
<p>It is obvious that by the time we reach the last stage, Monty would have revealed all but one goat door. So, we&#8217;ll be left with two doors &#8212; one goat door (i.e. some <span style="font-size:12pt;">G<sub>x</sub></span>) and <span style="font-size:12pt;">C</span>. Hence, it is clear that we <em>will</em> win if we are at the solitary goat door at the end of the (n &#8211; 2)th stage.</p>
<p>Let us first see what is the probability (P) of making it to some <span style="font-size:12pt;">G<sub>x</sub></span> at the last-but-one stage, given that we start with <span style="font-size:12pt;">C</span> at the first stage. In other words, having started with <span style="font-size:12pt;">C</span> at the first stage, what is the probability that we will have reached some <span style="font-size:12pt;">G<sub>x</sub></span> after exactly (n &#8211; 3) transitions (or switches)?</p>
<p>From <span style="font-size:12pt;">C</span>, we will <em>always</em> make a transition to some goat door other than the one that Monty reveals at the end of the first stage. So, we can make a transition to one of the remaining (n &#8211; 2) goat doors with probability 1. That leaves us with exactly (n &#8211; 4) transitions after which to reach some goat door. From here on, Monty is going to unveil one goat door at each stage except the last. So, the number of possible transitions at each stage, no matter what door we are at, keeps decreasing by 1. Also, note that there is a transition from every goat door to <span style="font-size:12pt;">C</span>.</p>
<p>Therefore, the probability of transition to a goat door for the third stage is ((n &#8211; 3) &#8211; 1)/(n &#8211; 3); the probability of transition to a goat door for the fourth stage is (n &#8211; 5)/(n &#8211; 4); &#8230; ; the probability of transition to a goat door for the (n &#8211; 3)th stage is 2/3; the probability of transition to a goat door for the (n &#8211; 2)th stage is 1/2.</p>
<p>Therefore, with <span style="font-size:12pt;">C</span> as the initial choice, the probability that we reach some <span style="font-size:12pt;">G<sub>x</sub></span> after exactly (n &#8211; 2) stages is given by</p>
<p>P =  1 * (n &#8211; 4)/(n &#8211; 3) * (n &#8211; 5)/(n &#8211; 4) * &#8230; * 2/3 * 1/2.</p>
<p>This implies P = 1/(n &#8211; 3).</p>
<p>However, this seems to hold only if we <em>do not</em> make any transitions to <span style="font-size:12pt;">C</span> up to the end of (n &#8211; 2) stages. But what if we <em>do</em> switch to <span style="font-size:12pt;">C</span> at some stage? Then, we switch back to one of the remaining (n &#8211; m &#8211; 1) instances of <span style="font-size:12pt;">G<sub>x</sub></span> with probability 1, where m is the stage number that took us to <span style="font-size:12pt;">C</span>. Therefore, switching to <span style="font-size:12pt;">C</span> at some intermediate stage does not affect our calculation of P.</p>
<p>Now, let us see what is the probability (Q) of making it to some <span style="font-size:12pt;">G<sub>x</sub></span> at the last-but-one stage, given that we start with a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage. In other words, having started with some <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage, what is the probability that we will have reached another <span style="font-size:12pt;">G<sub>x</sub></span> after exactly (n &#8211; 3) transitions?</p>
<p>From a <span style="font-size:12pt;">G<sub>x</sub></span>, we will make a transition to either some <span style="font-size:12pt;">G<sub>x</sub></span> other than the one that Monty reveals at the end of the first stage or <span style="font-size:12pt;">C</span>. So, for the second stage, the probability that we make a transition to one of the remaining (n &#8211; 3) goat doors is (n &#8211; 3)/(n &#8211; 2); for the third stage, the probability that we make a transition to one of the remaining (n &#8211; 4) goat doors is (n &#8211; 4)/(n &#8211; 3); &#8230; ; for the (n &#8211; 3)th stage, the probability that we make a transition to one of the remaining 2 goat doors is 2/3; for the (n &#8211; 2)th stage, the probability that we make a transition to the remaining 1 goat door is 1/2.</p>
<p>Therefore, with some <span style="font-size:12pt;">G<sub>x</sub></span> as the initial choice, the probability that we reach another <span style="font-size:12pt;">G<sub>x</sub></span> after (n &#8211; 2) stages is given by</p>
<p>Q = (n &#8211; 3)/(n &#8211; 2) * (n &#8211; 4)/(n &#8211; 3) * &#8230; * 2/3 * 1/2</p>
<p>This implies Q = 1/(n &#8211; 2).</p>
<p>Again, at any stage, if we make a transition to <span style="font-size:12pt;">C</span>, then we make a transition to a <span style="font-size:12pt;">G<sub>x</sub></span> at the next stage with probability 1. Therefore, switching to <span style="font-size:12pt;">C</span> at some intermediate stage does not affect our calculation of Q.</p>
<p>Thus, the probability of winning with the strategy of always switching is <em>(probability of choosing <span style="font-size:12pt;">C</span> at the first stage) * P + (probability of choosing a <span style="font-size:12pt;">G<sub>x</sub></span> at the first stage) * Q</em>. From Assertion 1, it follows that the probability of winning with this strategy is given by 1/(n * (n &#8211; 3)) + (n &#8211; 1)/(n * (n &#8211; 2)). This equals <strong>(n<sup>2</sup> &#8211; 3n + 1)/(n<sup>3</sup> &#8211; 5n<sup>2</sup> + 6n)</strong>.</p>
<p>In the order of probability of winning, the above four strategies compare as follows:</p>
<p><em>Strategy 2 &gt; Strategy 4 &gt; Strategy 3 &gt; Strategy 1</em>.</p>
<p>There are many other strategies for playing this game, of course. For ex., you could switch and stick alternately (or with any other pattern, for that matter). However, intuitively, it seems that it would pretty much be impossible to beat Strategy 2 &#8212; as n increases, the probability of winning approaches 1. Perhaps, there exists a formal proof of the supremacy of Strategy 2. But I&#8217;ve not been able to find it on the Web. If you come across such a proof, please leave a comment.</p>
<p><strong>PS: If you find any discrepancies in this article, please let me know. I am not too sure about the correctness of the proof for strategy 4.<br />
</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=29&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/21/analysis-of-strategies-for-the-n-door-monty-hall-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
		<item>
		<title>The Birthday Problem</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/19/the-birthday-problem/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/19/the-birthday-problem/#comments</comments>
		<pubDate>Mon, 19 May 2008 06:36:20 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[birthday_problem]]></category>
		<category><![CDATA[intuition]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=28</guid>
		<description><![CDATA[The well-known birthday problem:
How many people do you need to assemble before the probability that some two of them have the same birthday is greater than 0.5?
Assumptions: (1) A year has 365 days (no leap year), and (2) By &#8220;same birthday&#8221;, we only mean the same day and month (not necessarily the same year).
My first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=28&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The well-known birthday problem:</p>
<blockquote><p>How many people do you need to assemble before the probability that some two of them have the same birthday is greater than 0.5?</p></blockquote>
<p><strong>Assumptions:</strong> (1) A year has 365 days (no leap year), and (2) By &#8220;same birthday&#8221;, we only mean the same day and month (not necessarily the same year).</p>
<p>My first intuition was 183 &#8212; the smallest number that is more than half the number of days in a year. But as it turns out, 183 is the number of people you need to assemble before the probability that someone has the same birthday as <em>you</em> &#8212; a specific person &#8212; is greater than 0.5!</p>
<p>Look closely. The question is not about someone matching a particular person&#8217;s birthday. It is about the birthdays of <em>some two people</em> matching. Enough said. What is the right answer then, and why? How do we generalize this to matching the birthdays of some <em>N</em> people?</p>
<p>If you are guessing or have worked out a solution now, please leave comments.</p>
<p>The point of asking such questions (even though they might seem trivial to some) is to further our own understanding, and more importantly, to <em>enjoy</em> the process of understanding! So, if you already know the answer, please defer commenting.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=28&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/19/the-birthday-problem/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
		<item>
		<title>The Multi-Stage Monty Hall Problem</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/17/the-multi-stage-monty-hall-problem/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/17/the-multi-stage-monty-hall-problem/#comments</comments>
		<pubDate>Sat, 17 May 2008 16:05:22 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[dilemma]]></category>
		<category><![CDATA[generalization]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Monty_Hall]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=27</guid>
		<description><![CDATA[Some time back, Sids had a post on the Monty Hall problem/game, which is as follows (Source: Wikipedia).
Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=27&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some time back, <a title="Monty Hall Problem" href="http://www.grok.in/blog/2008/04/21/to-switch-or-not-to-switch-that-is-the-question/" target="_blank">Sids had a post</a> on the Monty Hall problem/game, which is as follows (Source: Wikipedia).</p>
<blockquote><p>Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice?</p></blockquote>
<p>In this case, there are three doors. So, the game is played in two stages &#8212; Stage 1: Choose a door; Stage 2: Switch or stick with your choice. Here, the probability that you win the car is 2/3 if you switch your choice. So, yes. It <em>is</em> to your advantage to switch. See <a title="Monty Hall Game" href="http://www.nytimes.com/2008/04/08/science/08monty.html" target="_blank">this page</a> for details.</p>
<p>Let us now generalize this game to <em>N</em> doors. That means, the game is played in (<em>N </em>- 1) stages.</p>
<p>Stage 1: Choose a door</p>
<p>For stages <em>X</em> = 2 through (<em>N</em> &#8211; 1):</p>
<p style="padding-left:30px;">Monty Hall shows you one of the &#8220;goat doors&#8221;. Then, you either switch to one of the remaining (<em>N </em>- <em>X</em>) doors or stick with your choice</p>
<p>Questions:</p>
<ol>
<li>What strategy has the highest probability of winning in this scenario?</li>
<li>Why is this the best strategy?</li>
<li>What is the probability of winning with this strategy?</li>
</ol>
<p>For simplicity, let us consider <em>N</em> = 4. You get to choose a door at the first stage, and for the next two stages, you can either switch or stick. So the various permutations are:</p>
<ol>
<li>Choose, Stick, Stick</li>
<li>Choose, Stick, Switch</li>
<li>Choose, Switch, Stick</li>
<li>Choose, Switch, Switch</li>
</ol>
<p>Which of these four strategies wins most probably? And why? Once this is figured out, try looking at the generalized problem with <em>N</em> doors.</p>
<p>PS: If you already know the answer (or have found a link to it), kindly procrastinate on writing a comment about it. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=27&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/17/the-multi-stage-monty-hall-problem/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
		<item>
		<title>On Domain Stretching, Conditional Convergence and Absolute Convergence</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/16/on-domain-stretching-conditional-convergence-and-absolute-convergence/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/16/on-domain-stretching-conditional-convergence-and-absolute-convergence/#comments</comments>
		<pubDate>Fri, 16 May 2008 06:54:40 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[absolute_convergence]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[conditional_convergence]]></category>
		<category><![CDATA[domain_stretching]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematical_analysis]]></category>
		<category><![CDATA[series]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=24</guid>
		<description><![CDATA[Sometimes, an infinite series may not be as expressive as (or carry as much information as) the function it represents. In this post, we&#8217;ll mainly discuss this concept (and also look at conditional and absolute convergence briefly).


Consider the following infinite series: f(x) = 1 + x + x2 + x3 + x4 + x5 + [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=24&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="margin-bottom:0;text-align:left;">Sometimes, an infinite series may not be as expressive as (or carry as much information as) the function it represents. In this post, we&#8217;ll mainly discuss this concept (and also look at conditional and absolute convergence briefly).</p>
<p></p>
<p style="margin-bottom:0;text-align:left;">
<p style="margin-bottom:0;">Consider the following infinite series:<em> f(x) = 1 + x + x<sup>2 </sup>+ x<sup>3</sup> + x<sup>4</sup> + x<sup>5</sup> + &#8230;</em>. Does this series ever converge? Try substituting <em>1/2</em> for <em>x</em> and see what happens. It converges, as we saw <a title="On Convergence" href="http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/" target="_blank">here</a>. So, we write this as <em>f(1/2) ~ 2</em>. The twiddle or tilde sign here indicates that <em>f(x) asymptotically tends to 2 at x = 1/2</em>. Similarly, it is possible to prove the following: <em>f(-1/2) ~ 2/3</em>; <em>f(1/3) ~ 3/2</em>; <em>f(-1/3) ~ 3/4</em> and so on. It is trivially true that <em>f(0) = 1</em>.</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Let us now substitute <em>1</em> for <em>x</em>. We get <em>f(1) = 1 + 1 + 1 + 1 + &#8230;</em>. The series diverges at <em>x = 1</em>. It is obvious that the series diverges for <em>x = 2, 3, 4, 5, &#8230;</em> too. Observe the behaviour of <em>f(x)</em> when <em>x = -1</em>. We get <em>f(-1) = 1 &#8211; 1 + 1 &#8211; 1 + 1 &#8211; 1 + &#8230;</em>. If you take an even number of terms, then <em>f(-1) = 0</em>, and if you take an odd number of terms, then <em>f(-1) = 1</em>. We see that the partial sum of this series is definitely not becoming infinitely large. However, it is not converging either. This is considered a form of divergence. We can verify that <em>f(-2), f(-3), f(-4), &#8230;</em> also diverge. Loosely speaking, they seem to oscillate and go off to positive infinity and negative infinity at once.</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">We see that <em>f(x)</em> seems to have values only when <em>x</em> is between <em>-1</em> and <em>1</em>, exclusive. In other words, we have:</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;"><strong>Observation 1:</strong> <em>The domain of the function f(x) is from </em><em>-1 to </em><em>1, exclusive.</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Now, let us rewrite <em>f(x)</em> here and simplify it a bit.</p>
<p>
<p style="margin-bottom:0;text-align:left;"></p>
<p style="margin-bottom:0;text-align:left;"><em>f(x) = 1 + x + x<sup>2 </sup>+ x<sup>3</sup> + x<sup>4</sup> + x<sup>5</sup> + &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">That is, <em>f(x) = 1 + x (</em><em>1 + x + x<sup>2 </sup>+ x<sup>3</sup> + x<sup>4</sup> + &#8230; )</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">This implies <em>f(x) = 1 + x f(x)</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Therefore, we have <em>f(x) = 1 / (1-x)</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">On simplification, we have:</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;"><strong>Equation 1:</strong> <em>1 / (1-x) = 1 + x + x<sup>2 </sup>+ x<sup>3</sup> + x<sup>4</sup> + x<sup>5</sup> + &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Now, the question we ask is: <em>Are the LHS and the RHS of this equation one and the same?</em> Earlier in this post, we had discussed the value of the RHS for various values of <em>x</em>, viz. <em>-1/2</em>, <em>-1/3</em>, <em>0</em>, <em>1/3</em>, <em>1/2</em>. You will see that the LHS concurs. However, they are <em>not</em> one and the same thing! <em>They have different domains.</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">We can see that <em>1 / (1-x)</em> has values everywhere except at <em>x = 1</em>. When we see this in contrast to Observation 1, we see that the domain of <em>1 / (1-x)</em> is &#8220;stretched&#8221;. It includes the domain of the infinite series and more. This indicates that an infinite series sometimes defines only a part of a function. More appropriately, <em>an infinite series might define a function over only a part of the function&#8217;s domain</em>.</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">So, that was about &#8220;domain stretching&#8221; to uncover hidden properties of a function. I was sorely tempted to discuss this beautiful concept here. So, I <em>had</em> to make some room for it. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="margin-bottom:0;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p style="margin-bottom:0;">At this point, you are free to jump to Equation 2 below, from where our actual discussion of conditional and absolute convergence begins. Or, you can just stay on and see <em>why</em> Equation 2 is true.</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">On integrating Equation 1, we get:</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;"><em>-log(1 &#8211; x) = x + x<sup>2</sup>/2 + x<sup>3</sup>/3 + x<sup>4</sup>/4 + x<sup>5</sup>/5 + &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Therefore, <em>log(1 &#8211; x) = &#8211; x &#8211; x<sup>2</sup>/2 &#8211; x<sup>3</sup>/3 &#8211; x<sup>4</sup>/4 &#8211; x<sup>5</sup>/5 &#8211; &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">At <em>x = -1</em>, we get:</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;"><strong>Equation 2:</strong><em> 1 &#8211; 1/2 + 1/3 &#8211; 1/4 + 1/5 &#8211; 1/6 + &#8230; = log 2</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Let us denote this series (the LHS of Equation 2) as <em>S</em>. So, <em>S</em> converges to <em>log 2</em>. However, for <em>S</em> to converge to <em>log 2</em>, there is a <em>condition</em> that needs to be satisfied: <em>the terms have to be added in that order</em>. If you add the terms in a different order, the series might either converge to a different quantity or diverge. For example, let us rearrange the terms in this series as follows:</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;"><em>1 &#8211; 1/2 &#8211; 1/4 + 1/3 &#8211; 1/6 &#8211; 1/8 + 1/5 &#8211; 1/10 &#8211; &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Or <em>(1 &#8211; 1/2) &#8211; 1/4 + (1/3 &#8211; 1/6) &#8211; 1/8 + (1/5 &#8211; 1/10) &#8211; &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">This is equivalent to <em>1/2 &#8211; 1/4 + 1/6 &#8211; 1/8 + 1/10 &#8211; &#8230;</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">This simplifies to <em>1/2 (1 &#8211; 1/2 + 1/3 &#8211; 1/4 + 1/5 &#8211; &#8230;)</em> or <em>1/2 (S)</em></p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">The rearranged series sums up to half of <em>S</em>!</p>
<p>
<p style="margin-bottom:0;"></p>
<p style="margin-bottom:0;">Such series, whose limit depends on the order in which their terms are arranged, are said to be <em>conditionally convergent</em>. Those series that converge to the same quantity, <em>no matter what order they are summed in</em>, are said to be <em>absolutely convergent</em>.</p>
<p style="margin-bottom:0;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong>Other articles in this series:</strong> <a title="On Convergence" href="http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/" target="_blank">On Convergence</a>, <a title="On Divergence" href="../2008/05/15/on-divergence/" target="_blank">On Divergence</a></p>
<p style="margin-bottom:0;">
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=24&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/16/on-domain-stretching-conditional-convergence-and-absolute-convergence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
		<item>
		<title>On Divergence</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/15/on-divergence/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/15/on-divergence/#comments</comments>
		<pubDate>Thu, 15 May 2008 06:22:52 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[divergence]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematical_analysis]]></category>
		<category><![CDATA[series]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=23</guid>
		<description><![CDATA[My earlier plan was to write a bit about the various types of convergence in this article. However, I think we would do better to understand divergence first. So, here goes. In the previous post, we saw an infinite series that converged. In other words, it exhibited limiting behaviour. (This infinite series was a geometric [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=23&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My earlier plan was to write a bit about the various types of convergence in this article. However, I think we would do better to understand <em>divergence</em> first. So, here goes. In the <a title="On Convergence" href="http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/" target="_blank">previous post</a>, we saw an infinite series that <em>converged</em>. In other words, it exhibited limiting behaviour. (This infinite series was a <em>geometric series</em> with <em>1</em> as the first term and <em>1/2</em> as the common ratio. As a matter of fact, <em>any</em> geometric series, with a first term <em>a</em> and a common ratio <em>r,</em> converges. That is, the sequence of its partial sums has a limit. As we saw, for the geometric series in the previous post, the limit of the sequence of its partial sums is <em>2</em>.) But, what of those infinite series that do not exhibit limiting behaviour towards any quantity? Such series (i.e. ones that are <em>not</em> convergent) are said to be <em>divergent</em>. The partial sums of a divergent series go on increasing <em>without limit</em>. Loosely speaking, the sequence of partial sums of a divergent series tends to infinity.</p>
<p>From the example infinite geometric series in the previous post, we can make the following observation:</p>
<p><strong>Observation 1:</strong> <em>If a series converges, then the individual terms of the series must tend to zero</em>.</p>
<p>In that series, the tenth term is <em>0.001953125</em>, the twentieth term is <em>0.0000019073486328125</em>, the fiftieth term is (approx.) <em>0.00000000000000177636</em>, and so on. Notice how the <em>N</em>th term is tending to zero as <em>N</em> increases. So, Observation 1 seems true enough. And therefore, we can conclude that if the individual terms in a series <em>do not</em> approach zero, then the series <em>diverges</em>. However, the converse of Observation 1 is <em>not true</em>. If the individual terms of a series tend to zero, the series does not necessarily converge &#8212; it may diverge. A very good example of this is the following <em>harmonic series</em>: <em>1 + 1/2 + 1/3 + 1/4 + 1/5 + &#8230;</em>.</p>
<p>In this harmonic series, the tenth term is <em>0.1</em>, the hundredth term is <em>0.01</em>, the millionth term is <em>0.000001</em>, and so on. It is clear that as <em>N</em> increases, the <em>N</em>th term in this series tends to zero. However, this series is known to diverge. And there happens to be a rather old but elegant proof of its divergence by <a title="Nicole d'Oresme" href="http://en.wikipedia.org/wiki/Nicole_Oresme" target="_blank">Nicole d&#8217;Oresme</a>, a French scholar (<em>c.</em> 1323 &#8211; 1382).</p>
<p>d&#8217;Oresme observed that <em>(1/3 + 1/4)</em> is greater than <em>1/2</em>. Similarly, <em>(1/5 + 1/6 + 1/7 + 1/8 )</em> is greater than <em>1/2</em>. So is <em>(1/9 + 1/10 + 1/11 + 1/12 + 1/13 + 1/14 + 1/15 + 1/16)</em>. And so on. By first taking two terms, then four terms, then eight terms, then sixteen terms, and so on, it is possible to group the series into infinitely many &#8220;blocks&#8221;, where each block adds up to a value greater than <em>1/2</em>. No matter how many such blocks we consider, it is always possible to come up with the next, well-defined block. That is, there is always a value <em>x &gt; 1/2</em> waiting to be added, no matter how many blocks we have already added up. Loosely speaking, the sum of the entire series must therefore be infinite. That is, the sum of the series increases without limit. The series diverges. <em>Quod Erat Demonstrandum</em>.</p>
<p>This elegant proof by d&#8217;Oresme seemed to have been lost on the world for several centuries. <a title="Pietro Mengoli" href="http://www-history.mcs.st-and.ac.uk/Biographies/Mengoli.html" target="_blank">Pietro Mengoli</a> proved this result all over again in 1647, using a different approach. Forty years later, <a title="Johann Bernoulli" href="http://en.wikipedia.org/wiki/Johann_Bernoulli" target="_blank">Johann Bernoulli</a> proved it with yet another approach. Shortly after, <a title="Jakob Bernoulli" href="http://en.wikipedia.org/wiki/Jakob_Bernoulli" target="_blank">Jakob Bernoulli</a> came up with yet another proof! Neither Mengoli nor the Bernoulli brothers seemed to have known about d&#8217;Oresme&#8217;s fourteenth century proof. <a title="John Derbyshire, " href="http://www.johnderbyshire.com/Books/Prime/page.html" target="_blank">John Derbyshire</a> asserts that d&#8217;Oresme&#8217;s proof remains the most elegant of all the proofs for this result, and is the one given in textbooks today.</p>
<p><strong>PS:</strong> Johann Bernoulli was the father of Daniel Bernoulli (of <a title="Bernoulli's Principle" href="http://en.wikipedia.org/wiki/Bernoulli's_principle" target="_blank"><em>Bernoulli&#8217;s Principle</em></a> fame). Jakob Bernoulli (of <em><a title="Bernoulli Trial" href="http://en.wikipedia.org/wiki/Bernoulli_trial" target="_blank">Bernoulli Trial</a></em> and <em><a title="Bernoulli Numbers" href="http://en.wikipedia.org/wiki/Bernoulli_numbers" target="_blank">Bernoulli Numbers</a></em> fame) was Johann Bernoulli&#8217;s elder brother. That is one super-cool family, eh? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong>Other articles in this series:</strong> <a title="On Convergence" href="http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/" target="_blank">On Convergence</a>, <a title="On Domain Stretching, Conditional Convergence and Absolute Convergence" href="http://someoneandanyone.wordpress.com/2008/05/16/on-domain-stretching-conditional-convergence-and-absolute-convergence/" target="_blank">On Domain Stretching, Conditional Convergence and Absolute Convergence</a><a title="On Convergence" href="http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/" target="_blank"><br />
</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=23&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/15/on-divergence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
		<item>
		<title>On Convergence</title>
		<link>http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/</link>
		<comments>http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/#comments</comments>
		<pubDate>Wed, 14 May 2008 18:16:02 +0000</pubDate>
		<dc:creator>Anyone</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[convergence]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematical_analysis]]></category>
		<category><![CDATA[series]]></category>

		<guid isPermaLink="false">http://someoneandanyone.wordpress.com/?p=22</guid>
		<description><![CDATA[Currently, I&#8217;m reading John Derbyshire&#8217;s Prime Obsession. In this book, Derbyshire makes a very good effort to explain about the distribution of prime numbers and the Reimann Hypothesis in the layman&#8217;s language. Mathematics has been treated rather loosely at several places in the book, but you can forgive Derbyshire that. He has, in fact, tried [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=22&subd=someoneandanyone&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Currently, I&#8217;m reading John Derbyshire&#8217;s <a title="John Derbyshire, " href="http://www.johnderbyshire.com/Books/Prime/page.html" target="_blank"><em>Prime Obsession</em></a>. In this book, Derbyshire makes a very good effort to explain about the distribution of <a title="Wikipedia article on Prime Numbers" href="http://en.wikipedia.org/wiki/Prime_number" target="_blank">prime numbers</a> and the <a title="Wikipedia article on the Riemann Hypothesis" href="http://en.wikipedia.org/wiki/Riemann_hypothesis" target="_blank">Reimann Hypothesis</a> in the layman&#8217;s language. Mathematics has been treated rather loosely at several places in the book, but you can forgive Derbyshire that. He has, in fact, tried to make mathematical concepts less mathematical and more intuitive in his book. The subject of the book is not central to the subject of this series of articles, though. In the next few articles, I am going to try and explain the concepts of convergence and divergence as simply as I can, using some examples from Derbyshire&#8217;s book. In this article, I&#8217;ll be talking about the concept of convergence.</p>
<p>Consider a <em>finite</em> series. For ex. <em>1 + 1/2 + 1/4 + 1/8</em>. This series (essentially a sum) can be calculated precisely, because the number of terms in it is finite. The sum, in fact, <strong>is equal to</strong> <em>15/8</em> or <em>1.875</em>. Any such finite series can be equated to a known quantity. However, when a series is infinite, i.e. it has infinitely many terms, precisely computing the sum is not possible &#8212; the series computed up to any large <em>N</em> can always be bettered by adding the <em>(N+1)</em>th term. In other words, it is not possible to <em>equate</em> the sum of an infinite series to a known quantity. So, the question is: can it be &#8220;approximated&#8221; at least? In other words, does it exhibit <em>limiting behaviour</em> towards some quantity? To put it in yet another way, does it <em>tend toward</em> some quantity? The answer is: Yes, sometimes. (At other times, you cannot zero in on a quantity for an infinite series at all. More on that in a later post.)</p>
<p>Consider the following <em>infinite</em> series now: <em>1 + 1/2 + 1/4 + 1/8 + 1/16 + &#8230;</em>. Both, the finite series we saw earlier and this infinite series, have the same pattern of occurrence of terms (or <em>progression</em>). They are both <em>geometric series</em>, with <em>1</em> as the first term and <em>1/2</em> as the common ratio. Yet, these two series are entirely different in nature.</p>
<p>I know I have said that computing an infinite series is not possible. Even so, let us just start adding up the terms in the above infinite series. Let us see where it leads us. Up to four terms, the sum is <em>1.875</em>, as we have seen earlier. The mathematical term of art for this is: <em>the <strong>partial sum</strong></em><strong> </strong><em>up to four terms is 1.875</em>. Up to five terms, the sum is <em>1.9375</em>. Up to six terms, <em>1.96875</em>. Up to ten terms, <em>1.998046875</em>. If you keep adding more and more terms like this, you will notice that the partial sum <em>improves</em> with the addition of more and more terms. However, you will also notice that the improvement in the <em>N</em>th partial sum over the <em>(N-1)</em>th partial sum diminishes vanishingly as <em>N</em> increases.</p>
<p>Let us now take a &#8220;metrological&#8221; perspective of this &#8212; let us trace this infinite series on an imaginary six-inch scale/ruler. Let us assume that the <em>N</em>th term in the series indicates the length (in inches, say) that we have to progress on the ruler. Assuming that we are at the zero mark to start off with, let us start moving along the ruler according to the value of each successive term. The first term is <em>1</em>. So, on reading the first term, we progress to the 1-inch mark on the ruler. Since the second term is <em>1/2</em>, we now move to the 1.5-inch mark. At the third term, we find ourselves at the 1.75-inch mark. And so on. Basically, at the <em>N</em>th term, our progress on the ruler is half of that at the <em>(N-1)</em>th term. Hence, for infinitely large <em>N</em>, the progress on the ruler is infinitesimally small compared to the <em>(N-1)</em>th term.</p>
<p>As we can verify on the imaginary ruler, as more and more terms are added, the partial sum of the series gets closer and closer to the quantity <em>2</em> <strong>without ever <em>equalling</em> it</strong>. However, there is <em>no limit</em> to how close the partial sum of the series can get to <em>2</em>. For any <em>N</em>, the <em>N</em>th partial sum is closer to <em>2</em> than the <em>(N-1)</em>th partial sum. The larger <em>N</em> gets, the close the <em>N</em>th partial sum gets to <em>2</em>. For no value of <em>N</em> will the <em>N</em>th partial sum be <em>equal</em> to <em>2</em>, though. The mathematical term of art for this phenomenon is: <em>the series <strong>asymptotically tends to</strong> 2</em>. Loosely speaking, this means that the sum equals <em>2</em> at infinity. This is known as <strong>convergence</strong>. The series <em>converges</em> to <em>2</em>.</p>
<p>We know that PageRank <em>converges</em> to the principal eigenvector of the modified adjacency matrix (<em>L</em>) of the Web. What this means is that the PageRank vector, no matter how many power iterations we conduct, will get painfully close to the principal eigenvector of <em>L</em>, but it will never <em>be</em> the principal eigenvector of <em>L</em>. However, there is no limit on how close the PageRank vector can get to the principal eigenvector of <em>L</em>.</p>
<p>There exist variants of convergence as well &#8212; <em>absolute convergence</em> and <em>conditional convergence</em>. (There are also <em>pointwise convergence </em>and <em>uniform convergence</em>, but I&#8217;m not yet fully equipped to explain them well.<em>)</em> But I think we&#8217;ll discuss those in another post, partly because I feel they might, by themselves, warrant a separate discussion and partly because my body is begging for some sleep right now.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong>Other articles in this series:</strong> <a title="On Divergence" href="http://someoneandanyone.wordpress.com/2008/05/15/on-divergence/" target="_blank">On Divergence</a>, <a title="On Domain Stretching, Conditional Convergence and Absolute Convergence" href="../2008/05/16/on-domain-stretching-conditional-convergence-and-absolute-convergence/" target="_blank">On Domain Stretching, Conditional Convergence and Absolute Convergence</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/someoneandanyone.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/someoneandanyone.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/someoneandanyone.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/someoneandanyone.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/someoneandanyone.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/someoneandanyone.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/someoneandanyone.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/someoneandanyone.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/someoneandanyone.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/someoneandanyone.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/someoneandanyone.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/someoneandanyone.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=someoneandanyone.wordpress.com&blog=1711167&post=22&subd=someoneandanyone&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://someoneandanyone.wordpress.com/2008/05/14/on-convergence/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/82c3f0999d4705a5010d895c8c7282ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Anyone</media:title>
		</media:content>
	</item>
	</channel>
</rss>