<?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>The Flickering Tubelight</title>
	<atom:link href="http://flickeringtubelight.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://flickeringtubelight.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 05 Feb 2011 02:30:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A simple problem that led us to Ramanujan&#8217;s work on Integer Partitioning</title>
		<link>http://flickeringtubelight.net/blog/2010/09/a-simple-problem-that-led-us-to-ramanujans-work-on-integer-partitioning/</link>
		<comments>http://flickeringtubelight.net/blog/2010/09/a-simple-problem-that-led-us-to-ramanujans-work-on-integer-partitioning/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 14:12:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=182</guid>
		<description><![CDATA[Raghu, my cousin, sent me an email with the following problem a few months ago.
Question
Manish was on his way to an interview. On the way, he encountered his long lost cousin, Vijay, whom he hadn&#8217;t met in more than a decade. They started catching up on lost time. Manish learned that Vijay had 3 sons. [...]]]></description>
			<content:encoded><![CDATA[<p>Raghu, my cousin, sent me an email with the following problem a few months ago.</p>
<h2>Question</h2>
<p>Manish was on his way to an interview. On the way, he encountered his long lost cousin, Vijay, whom he hadn&#8217;t met in more than a decade. They started catching up on lost time. Manish learned that Vijay had 3 sons. When he asked about their ages, Vijay replied, &#8220;You&#8217;re going for an interview, right? Consider this a trial question. Figure out their ages from this: The product of the ages of my three sons is 36.&#8221; To this, Manish grumbled that he needed more information. Vijay, then, pointed to a sign board across the street that displayed the address of the area and said that the sum of the ages of his three children was equal to the last two digits of the <span id="lw_1255020725_0" class="yshortcuts">pin code (zip code)</span> of that area. Manish demanded still more information. Finally, Vijay said, &#8220;My eldest son wore a black shirt today. This is all I can tell you.&#8221;</p>
<p>What were the ages of the three children?<span id="more-182"></span></p>
<h2>Solution</h2>
<p>Say the ages are a, b and c. We know from clue 1 that a.b.c = 36, where &#8220;.&#8221; represents multiplication. First step in identifying such factors is to factorize 36 into its smallest factors &#8211; 1.2.2.3.3. The next step is to figure out how to group these 5 numbers into 3 groups. Note that we can have more 1s in the factorization. For example, what if 2 kids are 1 year old and 1 &#8220;kid&#8221; is 36 years old? So, to allow that to happen, we need another 1 in the factors. So the factors are 1.1.2.2.3.3. By trial and error, we recognize that the way to make 3 groups from 6 objects is by making groups of:</p>
<p>1 + 1 + 4 (call it Grouping Style 1, or GS1)</p>
<p>1 + 2 + 3 (call it Grouping Style 2, or GS2)</p>
<p>and 2 + 2 + 2 (call it Grouping Style 3, or GS3)</p>
<p>GS1 requires selecting 1 out of 6 for the first component, 1 out of remaining 5 for the second component and the remaining 4 automatically go into the third component. There are 6 ways to choose the first component, 5 ways to choose the second component and 1 way to chose the third component. This gives us a total of 6.5=30 combinations for GS1. Many of these will turn out to be identical. After some work, we can whittle down the GS1 groupings to the following:</p>
<p>1,1,36</p>
<p>1,2,18</p>
<p>1,3,12</p>
<p>2,2,9</p>
<p>2,3,6</p>
<p>3,3,4</p>
<p>GS2 requires selecting 1 out of 6 for the first component, 2 out of 5 for the second component and the remaining 3 automatically go into the third component. There are 6 ways to choose the first component, 5C2 = 10 ways to choose the second component, and 1 way to choose the third component. This gives us a total of 6.10=60 combinations for GS2. In reality it is easier to work it out by trial and error. After some work, and after recognizing and ignoring the combinations that we have already seen under GS1, we can whittle down the GS2 groupings to the following:</p>
<p>1,4,9</p>
<p>1,6,6</p>
<p>Similar analysis for GS3 gives us no new combinations.</p>
<p>Before we can use clue 2, we need to add up the ages in these combinations. Doing so, we get the following:</p>
<p>1+1+36=38</p>
<p>1+2+18=21</p>
<p>1+3+12=16</p>
<p>2+2+9=13</p>
<p>2+3+6=11</p>
<p>3+3+4=10</p>
<p>1+4+9=14</p>
<p>1+6+6=13</p>
<p>Notice that all the combinations give us unique totals, except for two combinations which both give us 13. The fact that the second clue did not suffice to answer the question indicates that the total of the ages must have been 13. The children could be aged (2,2 and 9) or (1,6 and 6). Any other value for the total age and the answer would have been clear after clue 2.</p>
<p>Clue 3 tells us of the existence of an eldest child. The color of the shirt is immaterial. In the (1,6 and 6) combination, there is no eldest child. There are 2 elder children, who are twins. In the (2,2 and 9) combination, there is an eldest child. Hence, that is the answer. The children are aged 2 years, 2 years and 9 years.</p>
<h2>Intersecting Ramanujan&#8217;s trail</h2>
<p>With the specific problem out of the way, let us think about a generalization to the problem. India&#8217;s best known mathematician, Srinivasa Ramanujan, hiked (given his genius, he probably breezed) along a mathematical thought process, probably in 1913, leading to his work on Integer Partitions. In attempting to solve this problem, I seem to have unknowingly stepped onto this trail briefly. Let me explain. Remember that we had to figure out how many ways could 6 objects be grouped into 3 groups. I listed these out as groupings with (1,1,4), (1,2,3) and (2,2,2) objects. There are 3 grouping styles possible, no more, no less. But as the number of total objects grows larger, or the number of groups to create changes, the number of such grouping styles are harder to figure out. At least they seem to follow no simple pattern. For example, to group 6 objects into 2 groups, there are also 3 ways &#8211; {5,1}, {4,2} and {3,3}. To group 7 objects into 2 groups, there are only 3 groupings &#8211; {6,1} and {5,2} and {4,3}. To group 7 objects into 3 groups, however, there are 4 groupings &#8211; {1,1,5}, {1,2,4}, {1,3,3}, and {2,2,3}.</p>
<p>The question is, is there a more general formula to figure this (the number of distinct ways to group N objects into G groups) out? And another question is &#8211; what is Integer Partitioning and how is that related to this problem?</p>
<p>So before going into the theory, let us try to do look at this problem from different angles, and we may see an opening to solving it. Let us use the following example &#8211; find the number of ways of grouping 7 objects into 2 groups. We discovered (through some mental enumerations, I admit) that there are three grouping styles &#8211; {6,1}, {5,2}, {4,3} &#8211; possible here. But now, let me draw your attention to a simple fact &#8211; notice that the sum of the numbers each of the groupings is equal to 7. Hardly a surprise, you say. There were 7 objects to begin with. And regardless of how we group them, the total object count is 7. Big deal! But it is often rewarding to look at problems from a different perspective. We now know that &#8220;grouping 7 objects into 2 groups&#8221; is essentially the same as &#8220;finding 2 positive integers that add up to 7&#8243;. How many ways are there to add up 2 positive integers to get a total of 7? 6+1=7 and 5+2=7 and 4+3=7. No more ways to do it. So, the number of ways to group N things into G groups is equal to the number of ways to add G positive integers to make N. Allow me create a short hand notation to identify this count. I will use P(N,G). P for partition, but really you can use any symbol. I think it only makes sense when N&gt;=G. Otherwise P(N,G)=0.</p>
<p>P(N,G) = number of ways to add G positive integers to make N = numbers of ways to divide N objects into G groups</p>
<p>There are a couple of simple properties of P(N,G) which are easy to observe. There is only 1 way to divide N objects into N groups, and that is to assign 1 object per group. Similarly there is 1 way to divide N objects into 1 group, and that is to place all objects into 1 group. Symbolically,</p>
<p>P(N,N) = 1</p>
<p>P(N, 1) = 1</p>
<p>OK, I think we have beaten that one into submission (if not to death).</p>
<p>Note that we have only defined it. We we after a general formula for P(N,G). And we do not have that yet.</p>
<p>Now, let us visualize this slightly differently, meditate upon it a bit, and see if we can uncover some other properties about P(N,G). The following figure shows the objects, and groupings, visually. This style of representation, called, Ferrers Diagrams, uses one dot for one object. And it arranges the dots in each group along a <em>column</em>. There are 3 groupings shown &#8211; these are our friends {6,1}, {5,2} and {4, 3}. If we stare at this for some time we realize that the reason there are 2 columns is because we wanted 2 groups. This means there is at least 1 <em>row</em>, the first row, which has 2 dots in each of the groupings. Now, imagine that we remove those two dots from each of the groupings. What are we left with?</p>
<p><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning1.png"><img class="alignnone size-medium wp-image-660" title="IntegerPartitioning1" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning1-299x174.png" alt="" width="299" height="174" /></a></p>
<p>The figure below shows the case where the 2 dots in the first row are removed. We are left with 5 dots. But more importantly notice the groupings that are left. {5}, {4,1} and {3,2}. These are some of the ways you can group 5 objects. This time, we do not necessarily group 5 objects into 2 groups &#8211; since we have a grouping, {5}, with only 1 group. It may be interesting to see how many ways there are in all to group 5 objects &#8211; not necessarily into 1 or 2 groups, but rather into <em>any</em> number of groups.</p>
<p><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning2.png"><img class="alignnone size-medium wp-image-661" title="IntegerPartitioning2" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning2-299x168.png" alt="" width="299" height="168" /></a></p>
<p>The following figure shows <em>all</em> the ways to group 5 objects.</p>
<p>1 group &#8211; {5}</p>
<p>2 groups &#8211; {4,1}, {3,2}</p>
<p>3 groups &#8211; {3,1,1}, {2,2,1}</p>
<p>4 groups &#8211; {2,1,1,1}</p>
<p>5 groups &#8211; {1,1,1,1,1}</p>
<p><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning3.png"><img class="alignnone size-full wp-image-659" title="IntegerPartitioning3" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/IntegerPartitioning3.png" alt="" width="748" height="268" /></a></p>
<p>Note that the number of ways to group 5 into 1 and 2 groups in this figure exactly matches the 3 groups in the previous figure. That is P(7,2) = P(5,1)+P(5,2)! That is a breakthrough. So maybe there is a way to break down any P(N,G) into smaller and smaller pieces and add up the totals of the smaller pieces. For example, P(N,G) = P(N-G,1)+P(N-G,2)+ &#8230; + P(N-G,G). Let&#8217;s try this for P(7,2).</p>
<p>P(7,2) = P(5,1) + P(5,2) = 1 + P(3,1) + P(3,2) = 1 + 1 + P(1,1) = 1 + 1 + 1 = 3</p>
<p>Not quite a closed form, but an recursive solution.</p>
<h2>Integer Partitioning and a Generating Function for it</h2>
<p>By the way, this is a good place to (finally) get into Integer Partitioning. In the figure above we listed out <em>all</em> the ways to group 5 objects. That <em>is</em> the Integer Partitioning of 5. I use P(5) to represent it.</p>
<p>P(5) = P(5,1) + P(5,2) + P(5,3) + P(5,4) + P(5,5)</p>
<p>Though it is possible to use the recursive technique I described above to solve for P(5) term by term, there is a very interesting alternative way to figure it out. It is based on a near mind-bending technique, based on <em>Generating Functions</em>. It is powerful technique, used in many different places. I have not yet been able to pin down if the abstraction involved in using Generating Functions is pure genius or if it simply falls out of the mechanics of mathematics if only you start from the correct perspective. Let me attempt to convey how Generating Functions work in this specific situation.</p>
<p>We want to find out all the possible ways to group N objects. But instead of starting with this specific problem we turn the problem on its head and solve a much more general problem. Let us use a bunch of 1s, a bunch of 2s, a bunch of 3s etc. and see what we can add them up to. We do this exhaustively. That is, we we do not let <em>any</em> combination fall through the cracks. Then, we can count up all the different ways a bunch of addends give us the total N. For example, if N is 5, and we do this exhaustive (but structured) adding of all integers (repetitions allowed) and see how many combinations add to 5. We can be sure that none of the addends will be 6 or greater. Similarly, the <em>number</em> of addends will also be no greater than 5, because each addend is at least 1, and with 5 1s we already are at 5. So, the number of combinations we need to look at only needs to cover the addends 1 through 5, and no more than 5 of those addends.</p>
<p>This exhaustive search seems hard to do. But <em>generating functions</em> provide a structured method to approach this. Let us do it one step at a time. We will look at the potential contributions to the total, of each candidate addend one at a time.  Let us look at the addend 1. What totals can 1 contribute to? 1s can add up to 1 in 1 way, {1}. 1s can add up to 2 in 1 way, {1,1}. 1s can add up to 3 in 1 way {1,1,1} and so on. That is, 1 alone can add up to <em>any</em> N, AND, in only 1 way for each given N. In fact if there is no 1 in the addends, then 1 can contribute 0 to the total. In generating function terms this would be represented as follows:</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_69a03512c3aee910860f83d0009cf6e3.png" align="absmiddle" class="tex" alt="1+ x+x^2+x^3+x^4+ ... " /></p>
<p>What? Where did that come from? That is typically, always the reaction in my own mind when I see that. Essentially, the order of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_1f31f8c0da2e32b6acaa5b9a0e5154e9.png" align="absmiddle" class="tex" alt="x^k" />, which is k, indicates the total that the addends (remember we are only talking about the addends being 1) add up to. The coefficient of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_1f31f8c0da2e32b6acaa5b9a0e5154e9.png" align="absmiddle" class="tex" alt="x^k" />, which is 1, indicates the number of ways the addends can be added up to get to k. There is only 1 way to do this using only 1s. And there may be no 1s in the addends, and that is the term <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_1fbafd7495b60c9332f7887a3ae2c07e.png" align="absmiddle" class="tex" alt="x^0=1" />.</p>
<p>But what if 2s are allowed? There can be 1 two, or 2 twos, or 3 twos, etc. Thus the generating function based on contributions only from twos is as follows:</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_5dba174bc073f3ef8503acb33dc3e5e0.png" align="absmiddle" class="tex" alt="1+ x^2 + x^4 + x^6 + ... " /></p>
<p>This basically means twos can add up to 0 or 2 or 4 or 6 or 8 etc.</p>
<p>Now, we know that we can have both 1s and 2s in the set of addends. In fact, we can have 1s, and 2s, and 3s, and 4s etc. Let us restrict the addends to 1s and 2s for the time being. There can be 1 one and 1 two, or 1 one and 2 twos or 2 ones and 1 two etc. How do we mathematically express these combinations? This is where the true import of the elegance of generating functions becomes clear. By allowing the contributions of the addends to be in the power of x position, products of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_347b99be8c291ade0c6b4d680e18916a.png" align="absmiddle" class="tex" alt="x^a" /> and <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_dcfb056901a422c68ba50c438ae7c635.png" align="absmiddle" class="tex" alt="x^b" /> correctly give us the sum in the power&#8217;s position, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0e23fc9dd1637fc9aa5c3cb8c3c2f91f.png" align="absmiddle" class="tex" alt="x^(a+b)" />.  Further, if there are multiple ways to add up to a given addend, they show up in the coefficient position. That is, as an example, say we want to figure out the Integer Partitions of any number N, using only the addends 1 and 2, we can <em>multiply</em> the individual addends&#8217; generating polynomials.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_5f53fc51b5b4e8fcdf493e680d47b4b7.png" align="absmiddle" class="tex" alt="(1+x+x^2+x^3+x^4+...) . (1+x^2+x^4+x^6+...)" /></p>
<p>This product of infinite polynomials will give us every possible way to add up 1s and 2s to get us to a specific total N. Say N=5, then we know we need not worry about <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_aca32a2d4ede6a4a5babdc499b929bff.png" align="absmiddle" class="tex" alt="x^5" /> and above in either polynomial.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_b270911d642c04b98671cc6751caeaaf.png" align="absmiddle" class="tex" alt="(1+x+x^2+x^3+x^4) . (1+x^2+x^4)" /></p>
<p>And after some math, we end up with the necessary coefficient for <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_aca32a2d4ede6a4a5babdc499b929bff.png" align="absmiddle" class="tex" alt="x^5" />, and that is the number of ways to get to 5 using only 1s and 2s.</p>
<p>Now, just extending this to allow contributions from the addends 3, 4, 5 etc., we get the full generating function for Integer Partitioning.</p>
<p>P(N) = coefficient of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_bb8ff14b3a9066cd00876b872d73a795.png" align="absmiddle" class="tex" alt="x^N" /> in <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7e371625f7427d6278d6d104e2d52ddb.png" align="absmiddle" class="tex" alt="(1+x+x^2+x^3+x^4+...) . (1+x^2+x^4+x^6+...) . (1+x^3+x^6+x^9+...) . (1+x^4+x^8+x^12+...)..." /></p>
<p>Whew! So we have that out of the way. What amazes me no end is how generating functions are able to hijack this polynomial product form to solve (or, more accurately, bring structure to) seemingly impossible scenarios that need counting. Notice that we still do not have a closed form for the Partition of Integers, P(N). Computers can be employed for the multiplication of terms and accumulation of coefficients.</p>
<h2>A Closed Form Approximation</h2>
<p>In 1918, Srinivasa Ramanujan and his advisor, G. Hardy, came up with a <em>closed form</em> , albeit a closed form for an <em>approximation</em> to P(N). With the current understanding of Integer Partitioning, this seems like an amazing accomplishment. This closed form was:</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_6cc545f579fa05596cc8fbb9e88f2ca2.png" align="absmiddle" class="tex" alt="P(N) \approx \frac{e^{\pi\cdot\sqrt{2N/3}}}{4N\sqrt{3}}" /></p>
<p>This produces pretty good approximations. For example, P(100) = 190,569,292, and this closed form approximates it to around 199 million.</p>
<h2>References</h2>
<p>1. Joseph Laurendi, Partitions of Integers, 2005, http://www.artofproblemsolving.com/Resources/Papers/LaurendiPartitions.pdf</p>
<p>2. Wikipedia, http://en.wikipedia.org/wiki/Partition_%28number_theory%29</p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/09/a-simple-problem-that-led-us-to-ramanujans-work-on-integer-partitioning/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ammamma</title>
		<link>http://flickeringtubelight.net/blog/2010/09/ammamma/</link>
		<comments>http://flickeringtubelight.net/blog/2010/09/ammamma/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 03:53:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=505</guid>
		<description><![CDATA[&#8220;Ammamma&#8230;Boost&#8230;&#8221;, I would ask her for a hot malt beverage, as she would get busy in her tiny kitchen after her short afternoon nap on the hard concrete floor, with a strategically placed pillow for her head. Ammamma means maternal grandmother in my mother tongue, Telugu. Amma is mom, and ammamma is, literally, momom. She [...]]]></description>
			<content:encoded><![CDATA[
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma4/' title='ammamma4'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma4-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma4" /></a>
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma2/' title='ammamma2'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma2-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma2" /></a>
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma6/' title='ammamma6'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma6-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma6" /></a>
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma1/' title='ammamma1'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma1-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma1" /></a>
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma5/' title='ammamma5'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma5-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma5" /></a>
<a href='http://flickeringtubelight.net/blog/2010/09/ammamma/ammamma3/' title='ammamma3'><img width="150" height="150" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/09/ammamma3-150x150.jpg" class="attachment-thumbnail" alt="" title="ammamma3" /></a>

<p>&#8220;Ammamma&#8230;Boost&#8230;&#8221;, I would ask her for a hot malt beverage, as she would get busy in her tiny kitchen after her short afternoon nap on the hard concrete floor, with a strategically placed pillow for her head. Ammamma means maternal grandmother in my mother tongue, Telugu. Amma is mom, and ammamma is, literally, momom. She would then get busy preparing the late afternoon coffees for the elders, starting with the eldest &#8211; Tatagaru, and Boost for the kids. Although I mostly saw her only over summer holidays, this particular aspect of her routine was probably eternal. In fact, all her routines were seemingly eternal yet inexplicably fresh every time. She would hunker down at the old, grime-laden, two-burner gas stove sitting on the floor of her tiny kitchen and with what seemed like an impossibly tiny collection of utensils, groceries and gadgets, came up with the most exquisite of dishes. Simple fare it always was, and she was not a great cook, but the taste of her cooking was earthy and heavenly. Vegetables of all manner were shallow fried. Coffee and Boost was not served before being poured several times, alternating between two tumblers to generate froth (steamed milk). &#8220;Boost tagutawa, Kishtappa, aain?&#8221;, she would ask. The &#8220;aain?&#8221; was kind  of like Amitabh Bachchan&#8217;s pan-laden mouth confirming something &#8211;  &#8220;aain?&#8221;.</p>
<p><span id="more-505"></span></p>
<p>Kishtappa was her pet name for me. And she had a way with all children. She was our story-teller come in-house-magician come mystery-keeper come stand-up-comedian come play-pal, all rolled into one. Above all, she was our friend. Maybe because she had only very little formal education (&#8220;<em>Appatlo</em>, SLC pass aiyyenu&#8221;, she would confirm &#8211; &#8220;I completed 8th grade in <em>those</em> days&#8221;.), or maybe because she was married off when only 9 years old, my grandmother never really got along as well with adults as she did with kids, and always seemed to have stamina for reliving the childhood which she did not get to truly enjoy. She had a way with kids. And with five daughters and three sons she never ran out of kids or grandkids or great-grandkids to enthrall.</p>
<p>Ammamma was the queen of her territory in my Tatagaru&#8217;s large house in Dondaparthy, in Visakhaptnam. Her territory included her tiny kitchen, the attached utility area (her bathing area), the verandah just outside the kitchen where we would all eat (sitting on the rough concrete floor), a step down area from the verandah where the dishes would be washed and which led to the back yard, the strip connecting these rooms in the back of the house to the front verandah of the house (at the head of this strip was where she would strategically place her pillow ever afternoon for a watchful nap), <em>and</em>, the sacred sanctum of her territory, the store room (<em>ammamma kottu</em>) which remained mostly under lock and key. Except at some strange hours at the night. This was truly ammamma&#8217;s territory. I have probably only caught a glimpse of the inside of this room a handful of times, and I think I have been lucky enough to step into the room only once or twice. The room was just a large walk-in pantry with wooden shelves loaded with boxes and bags of all sizes and descriptions. The occasional mice, cockroach, or a scorpion (none of which would faze the dauntless ammamma) along with the dim lighting in the room and ammamma&#8217;s reluctance to let kids enter added to the eeriness of that store room. On the rare occasion we kids found the room open and would gather enough courage to peek in, ammamma would bustle out form the dark confines of the room, shoo us kids away, and tell us kids to stay away from the ghoul-laden innards of the place. She would then promptly hand us 25 paise or 50 paise and ask us to go get ourselves some mint candy (<em>straangu billalu</em>) from the Nair kottu &#8211; Mr. Nair&#8217;s small shop which sold everything from candy to biscuits to soft-drinks (of which, <em>goli-soda</em> was a strange attraction) to cigarettes to stationery. It was a shop where it seemed you could find anything that could be held in one hand.</p>
<p>Ammamma had a very interesting relationship with her husband, my Tatagaru (respected grandfather). To us she seemed to never be in speaking terms with her husband. I have never seen her converse with Tatagaru. However, her day would revolve around him. Being a lawyer, Tatagaru would spent some hours of the day at the Vizag District Court. And the rest of the day, his clients would come see him at his elaborate home office. He was a simple man, often sporting only a dhoti (similar to Gandhiji), but his office was well endowed, with lots of Law books and legal proceedings, case studies etc. He had an office room, which was separated from the road outside by a small waiting room for clients to wait in if he had company. Ammamma would have to keep an eye on Tatagaru, for he was a man of few words and if he needed lunch or one of the many servings of coffee, she would prepare that. She also had to occasionally keep an eye out for important clients and make sure they were served coffee or water etc. She was particularly displeased with lady clients who would spend a lot of time in Tatagaru&#8217;s office and would keep an eye on them as well. The office room was always open and though there was nothing to be concerned about, I guess she was possessive after all. These lady clients were often from small villages, and were from farming families. They would be visiting Tatagaru in relation to some land-related case. Often they would wear only a saree without a blouse to go with it, and this seems to particularly displease ammamma, although she would never make a big fuss about it. At most it would be an extra visit to the office to remind Tatagaru, &#8220;Vadinchestaanu, kallu kadukkoni randi&#8221; (&#8220;I will serve&#8221; &#8211; likely lunch &#8211; &#8220;wash your feet and come&#8221;).</p>
<p>I felt that the best times ammamma had was with her grand kids. With her kids, she was probably too young herself. With her great-grand kids, she was too old. But the best times she had was with us grand kids. She would play and teach us card games and tricks, then she would tell us stories or read us stories from the children&#8217;s magazine &#8220;Chandamama&#8221;, or read us jokes from her Telugu magazines, such as &#8220;Swathi&#8221;, &#8220;Andhra Jyoti&#8221; or &#8220;Andhra Prabha&#8221;. She would play &#8220;ashta-chamma&#8221; (similar to Ludo) or some variant of knucklebones with us kids, and perpetually keep us enthralled.</p>
<p>Maybe it was childish innocence. More likely it was sagely wisdom. Ammamma was never one to get too emotionally attached or emotionally charged. Her actions were devoid of any scheming, but like I said, probably not out of innocence, but rather out of a sagely understanding of the futility of such schemes. She was happy-go-lucky. She might have been different when younger, but as she grew older, she became a person of caricaturable simplicity. Maybe that is why we kids loved her. We could understand her. She would get happy at the small things in life, while the elders were never truly happy with anything. Some small things I remember about her were the way she would comb her tiny swathe of hair very meticulously each day after her bath and after applying a generous portion of hair oil. She would neatly part her hair at the center and with a vigor exceeding her age she would straighten her hair on each side, before finally tying it up into a braid or a knot. That she managed to do all this with a tiny mirror, and a tiny comb, each less than a few inches in size, never ceased to amaze. She loved the cinema, and would take us kids and go watch movies, mostly mythological or allegoric ones. She took me to watch &#8220;Keelu Gurramu&#8221; (the Magic Horse) once. For someone who enjoyed mythological movies, she was not much into devout worship or religious rituals. She lived an uncomplicated, pragmatic life. Although some of her beliefs would be considered backward (such as resisting graduate education for her girls), her practical point of view was that it would get harder to find a good match if the girl were overly educated. Regardless, and thanks to the calming influence of Tatagaru, most of her sons <em>and</em> daughters got a good education, some going on to complete their Masters, and all others picking up Bachelors&#8217; degrees.</p>
<p>Ammama visited Bhilai, the steel city that was my birth place, and where my father used to work, at least a couple of times. And for her, visiting Bhilai was a wonderful time off. A vacation. Once she had a cataract operation (I think it was her left eye) at Durg (a town near Bhilai) and she was very pleased with the outcome. The other eye, which was operated upon in Visakapatnam itself was never quite the same, she said. Regardless, ever since her eye operations we only remember seeing her with thick lensed spectacles, with a thick black frame. The only time we&#8217;d then see her without her glasses was during her afternoon naps, and even still, the glasses would be tucked neatly under her pillow, lest we kids stepped on her only pair while running around during our afternoon games.</p>
<p>Ammamma was born Adibhatla Venkata Ratnamma on May 5th, 1921, in the hamlet called Dimili Agraharam, near Elamanchili town in present day Andhra Pradesh. Her father was Sri Adibhatla Suryanarayana, who was an inspector in the Revenue Department, and her mother was Adibhatla Perindevamma. She had two elder sisters and an elder brother. When she was born she was grossly underweight (likely, very premature) and her mother had given up hope about her surviving. The newborn did not have enough strength to even suckle milk be it from the breast or bottle. The elder sisters would go and get milk from other nursing mothers in the village and feed the newborn using a cotton wick. This was the only way the sickly child would ingest food. After three months of such feeding the mother was finally convinced that ammamma would survive. She survived. And how.</p>
<p>The elder sisters died in their early twenties, probably during childbirth. Ammamma, though born sickly and underweight, outlived all her other siblings, and she led a blessed, healthy life. She was married to Sri Tata Sri Rama Murthy, my Tatagaru, on March 16th, 1930 in &#8220;Kanukurthi vari satram&#8221; in Vijayanagaram city. It was a 5-day long wedding, complete with city-tours aboard a pearl-encrusted palanquin. Henceforth she became <em>Tata</em> Venkata Ratnamma. Married to someone destined to be a renowned lawyer, blessed with loving children and grandchildren, living a exceptionally healthy life, managing to keep her distance from petty attachments while retaining the ability to stay happy, ammamma had a great life. Recently, she had her first great-great-grandchild. Her second daughter&#8217;s first daughter&#8217;s daughter had a daughter. Truly rare. If we go looking for any misfortunes in her life, the untimely loss of her eldest son-in-law is probably the only one.</p>
<p>Ammamma passed away about 4 hours ago, sometime between 5:15AM and 5:30 AM on September 2nd, 2010 (India time). She was admitted to the hospital in the early hours of September 1st when she seemed to have lost consciousness after a few days of minimized food intake. Her blood pressure was quite low. In the hospital, she regained consciousness, recognized people, recognized the doctors and asked about all her grandkids. The IV drip helped her improve her blood pressure to near normal levels, and the oxygen mask helped her weakened heart. She seemed to be on her way to a steady recovery. Finally, it was her kidneys that failed. A woman who was so strong in her life, by her 90th year had gotten really good at putting up a stern fight against and evading any illness. She was a throat cancer survivor. And just as she gave us all hope that this would just be another of her minor illnesses, which she would fight down handily, she pulled off her last magic trick. She decided to say goodbye without any drama, without any emotion, without any inconvenience to others. Kavita and I must have been at the ISKCON temple in Hillsborough, North Carolina chanting &#8220;Hare Krishna, Hare Krishna, Krishna Krishna, Hare Hare &#8230; Hare Rama, Hare Rama, Rama Rama, Hare Hare&#8221; right when, for the last time, Ammamma must have said her favorite prayer one last time &#8211; &#8220;Krishna Vasudeva&#8221;. On our way back, we got the call.</p>
<p>Ammamma left us on Krishnashtami (Lord Krishna&#8217;s birthday), and left us with happy memories.  There is not a single negative memory I have of her. That is probably how any  grandson feels about his grandmother, and she <em>was</em> the only grandmother I  knew. But still, I feel that she was special. She was different. Knowing her was a boon  for me. And like Kavita reminded me, Ammamma was the only grandmother <em>she</em> knew as well. Kavita shares the same kind of happy memories with Maamma (as she called Ammamma) as I did. Ammamma taught me more than she will ever know. Or, maybe in her own  way, she did know all along. Happy-go-lucky. Happy-went-lucky.</p>
<p><span style="color: #888888;">Acknowledgements: Some of the memories and Ammamma&#8217;s biography are based on recollections by my cousin, Prasad. Most of the pictures are from Anant.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/09/ammamma/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Discovering Hamming Codes</title>
		<link>http://flickeringtubelight.net/blog/2010/07/discovering-hamming-codes/</link>
		<comments>http://flickeringtubelight.net/blog/2010/07/discovering-hamming-codes/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 02:43:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=480</guid>
		<description><![CDATA[Digital data, transmitted over a communication medium (wireless, optical fiber, copper wire), or stored in some storage medium (such as computer memory or hard disk), is prone to bit-flips and errors. For example, if the message &#8220;10110101000101010&#8243; means &#8220;BILL JOHN&#8221; and communication channel noise flips a bit, the message received may be &#8220;10010101000101010&#8243;, meaning, &#8220;KILL [...]]]></description>
			<content:encoded><![CDATA[<p>Digital data, transmitted over a communication medium (wireless, optical fiber, copper wire), or stored in some storage medium (such as computer memory or hard disk), is prone to bit-flips and errors. For example, if the message &#8220;10110101000101010&#8243; means &#8220;BILL JOHN&#8221; and communication channel noise flips a bit, the message received may be &#8220;10010101000101010&#8243;, meaning, &#8220;KILL JOHN&#8221;. Now, that could create a problem. The problem also exists in data that is sitting untouched on a digital storage medium. Have you ever noticed that if you open some photo file on your computer, after years of storage, they develop strange colors and often do not display fully? This could be due to some bit errors in the stored 1s and 0s that represent the image file data.<span id="more-480"></span></p>
<p>One way to avoid (or, at least drastically reduce) this problem is to either send or store multiple copies of the information. Say you send the message &#8220;BILL JOHN&#8221; 3 times. One of the times the error converts this to &#8220;KILL JOHN&#8221;, but two of the times the message transmits successfully. Then you know that most likely the intended message was &#8220;BILL JOHN&#8221;. Similarly, your bank probably stores your account information of multiple storage locations to avoid this and other problems (such as, catastrophic data loss due to a fire).  However, redundancy is not very efficient, and may be overkill. Further, it may not be always possible to apply (say the communication takes a long time and repeat communication is not possible).</p>
<p>Another solution is to add a small amount of extra information to the message being communicated or stored to validate the correctness of the data. This is, in effect, redundancy, but is often a more space-efficient form of it. Its purpose is primarily to detect errors in the message data, not to handle catastrophic destruction of data (which is the primary purpose of full redundancy). The most common way to detect errors in transmitted data is by the use of parity bits. The data is first divided into blocks of bits, say 7 or 15-bit blocks. Next, for each block of bits a parity bit is added, thus making the block size 8 or 16 bits. For example, if the original data is &#8220;10110101000101010&#8243;, and the block size is 7 +1 parity bit, then the data is first extended to make it a multiple of 7. So, say the message is changed to &#8220;000010110101000101010&#8243;. Then, it is broken into 7-bit blocks &#8211; &#8220;0000101&#8243;, &#8220;1010100&#8243;, &#8220;0101010&#8243;. And finally, for each 7-bit block one more bit is added. Say, it is added to the right end. The parity bit is dependent on the data bits. The parity bit is set to a 1 or a 0 depending on the number of 1s in the message. If there are an odd number of 1s in the message, the parity bit is set to 1 to make the total parity of the 8-bit block even. I am assuming even parity in this example; the parity may also be set up to be odd. Going back to the example, if there are already an even number of 1s in the 7-bit data block the parity bit is set to 0. The recipient knows what the block size is, where the parity bit appears, and what kind of parity (Even or Odd Parity) is being used. This is part of a pre-established communication agreement. For example, &#8220;0000101&#8243; has 2 1s, that is, an even number of 1s. The parity bit is set to 0 and appended to these 7 bits to make the transmission block, &#8220;0000101<strong>0</strong>&#8220;. Upon transmission, say there is a bit flip and the message becomes &#8220;00101010&#8243;. The receiver can then figure out that the parity, which is supposed to be even is now odd, and therefore indicates an error. The receiver can then request a retransmission. Notice that the parity bit itself may be transmitted in error, and that triggers an error as well (even though in reality the data bits were all transmitted fine). The size of the block is set to be small enough so that the probability of a bit flip is very very low. More importantly, the probability of <em>two</em> flips is infinitesimally small. Notice that if there <em>are</em> two flips, however, a single bit parity scheme as described above will not work. There is then a need for a more involved parity scheme. If the channel or storage medium has a propensity for unidirectional flips (that is, say it can only flip a 1 to a 0, bit never a 0 to a 1), then a counter may be maintained along with the data to count the number of 1s in the data block. If the number of 1s changes, then the receiver can detect an error. It is a little tricky once you realize that the number of 1s counted must include the number of 1s in the counter itself! The counter bits need to be transmitted as well, and are subject to bit flips as well.</p>
<p>In some situations, there may not be a second copy to rerequest the data upon detecting the error. Or in case of a communication channel, it may take too long to request a replay. And regardless of the application, it seems mathematically challenging to come up with a way to send a message such that not only is the error detected, it is also corrected by the receiver. This was the challenge that Richard Hamming took up an solved in an ingenious way. Here I would like to think through the same problem and come with a solution, which will then help us think through some of Hamming&#8217;s thoughts in the 1930s and 40s.  We will stick to the single bit error scenario. We can always reduce the block size sufficiently that only a single bit error can occur with any meaningful probability.</p>
<p>The first insight that led to the discovery of the Hamming code seems to be that some extra meta data (just like parity) needs to be transmitted in addition to the main data. In the presence of this extra data the receiver must be able to identify a bit flip in any bit in the transferred message (including a bit flip in the meta bits).  How do we uniquely identify a bit that flipped? We need to identify the position of the bit that flipped. In a message with d bits of data and p bits of meta data, the total number of transmitted bits is d+p. To identify a unique position where the flip may have occurred, we need log2(d+p) bits. The genius of Hamming was in recognizing that the bits being transmitted should be grouped into several groups such that each bit was a member of a unique set of groups. Further, the binary representation of the bit positions was the simplest way to identify the groups.</p>
<p>Say the message were 10 bits long. That is, d+p=10. The 10 positions can be represented as:</p>
<p>0001 &#8211; message bit 1<br />
0010 &#8211; message bit 2<br />
0011 &#8211; message bit 3<br />
0100 &#8211; message bit 4<br />
0101 &#8211; message bit 5<br />
0110 &#8211; message bit 6<br />
0111 &#8211; message bit 7<br />
1000 &#8211; message bit 8<br />
1001 &#8211; message bit 9<br />
1010 &#8211; message bit 10</p>
<p>Notice that we start from 0001, and not 0000. This is because we need to make sure all numbers have 1 (or 0). This means to represent 8 positions (d+p=8), we actually need 4 bits. So the number of groups = log2(d+p+1). Further, notice that the binary representation of every message-bit-position has 1s in unique power-of-2 positions. This is obvious. After all, that is how we represent the positions uniquely. But the insight Hamming was able to draw was that each of the representations (left column above) with a 1 in a certain power-of-2 position could be clubbed together into a group. That is, in the example above, message bits with a 1 in the 2^0 position could be grouped into Club 0. Message bits with a 1 in the 2^1 position could be grouped into Club 1. Notice that some of the numbers which were members of Club 1 were also members Club 0 (for example message bit 3). Similarly, Club 2 and Club 3 could be formed. Further, exactly 4 clubs were needed to identify every bit (including the meta bits uniquely).</p>
<p>0 | 0 | 0 | 1 | &#8211; message bit 1  &#8211; Club 0<br />
0 | 0 | 1 |0 | &#8211; message bit 2 &#8211; Club 1<br />
0 | 0 | 1 | 1 | &#8211; message bit 3 &#8211; Club 0,1<br />
0 | 1 | 0 | 0 | &#8211; message bit 4 &#8211; Club 2<br />
0 | 1 | 0 | 1 | &#8211; message bit 5 &#8211; Club 0, 2<br />
0 | 1 | 1 | 0 | &#8211; message bit 6 &#8211; Club 1, 2<br />
0 | 1 | 1 | 1 | &#8211; message bit 7 &#8211; Club 0, 1, 2<br />
1 | 0 | 0 | 0 | &#8211; message bit 8 &#8211; Club 3<br />
1 | 0 | 0 | 1 | &#8211; message bit 9 &#8211; Club 0, 3<br />
1 | 0 | 1 | 0 | &#8211; message bit 10 &#8211; Club 1, 3</p>
<p>Notice that <em>no</em> two bit-position-representations <em>can</em> belong to the same set of Clubs. After all, every bit position is represented uniquely in binary, and a 1 in the binary representation corresponds to a &#8220;key&#8221; to a certain club. No two binary representations are the same and so no two bit-positions can belong to the same club combination.</p>
<p>The groups/clubs thus formed are:</p>
<p>Club 0 &#8211; message bits 1, 3, 5, 7, 9<br />
Club 1 &#8211; message bits 2, 3, 6, 7, 10<br />
Club 2 &#8211; message bits 4, 5, 6, 7<br />
Club 3 &#8211; message bits 8, 9, 10</p>
<p>Now, Hamming must have realized that he has created clubs with careful membership such that a unique member could be located if we knew which clubs he belonged to. So, a flipping bit can be located if that flip can identify all the clubs the bit belongs to. The clubs must start with some common property, and the flip must change that property for each club that it belongs to. This would help identify the clubs in which the flipped bit has membership, and by that unique combination, we can identify the flipped bit.</p>
<p>That unique property that Hamming gave each club was parity. Since no two clubs has the same membership, each club needed at least 1 unique parity bit. Since we want to keep the number of parity bits as small as possible to keep the message overhead as small as possible, the smallest solution would need as many parity bits as clubs. And we know that for transmitting d+n bits, we need log2(d+p+1) bits to represent the positions and, therefore, log2(d+p+1) clubs. This leads to the following observation:</p>
<p>The minimum overhead bits/parity bits = log2(d+p+1). But we assumed that the number of parity bits = p.</p>
<p>p &gt;= log2(d+p+1)</p>
<p>Now we know how many groups, which bits make up the groups and the minimum number of parity bits. In the above example with d+p=10, p=4. Thus for 6 data bits we need to transmit 4 parity bits. But we must recognize that the parity bits cannot be simply lumped together into any casually selected positions. This is because without careful selection we may not have at least 1 parity bit per group. For example if the first 4 bit positions of a 10 bit message are used for parity, there would be no parity bits in Club 3. If we instead used the last 4 bits in a 10-bit message for parity, each club would have at least one parity bit, but all 3 of Club 3&#8217;s members would be parity bits. This creates a dependency on filling out the parity bits on the sender side. First parity bit 7 would have to be established based on Club 2 which has 3 data bits and only 1 parity bit. Then the remaining parity bits in Club 0 and Club 1 would have to be established, followed finally by the parity for Club 3. Hamming realized that it would be much easier to ensure that one parity bit belonged to 1 club, no more no less. All the members of a club are data bits except the one parity. This helps speed up setting the parity bit &#8211; there is no dependency and fixed order in which the parity bits need to be established. The bit positions in the message which belong t0 only 1 club are positions with a single 1 and all else 0s. These are also the power-of-two bit positions. Bit position 1, 2, 4 and 8. By making these bits parity bits, there is another advantage. At the receiving end, once parity is established for the various clubs, if it turns out that club 2 and club 1 are not maintaining parity, then to identify the bit position which flipped all that is needed is to calculate 2^2 + 2^1 = 6. Bit at position 6 is the only bit which is a member of Club 2 and 1 and no other club.</p>
<p>References:<br />
I found this video of a class, held in University of New South Wales, Australia, and taught by Professor Richard Buckland, to be very useful in helping me understand how Hamming Codes work. The Hamming Code material starts at minute 8:00.<a href="http://www.youtube.com/watch?v=kE7V7UI4jpk"> http://www.youtube.com/watch?v=kE7V7UI4jpk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/07/discovering-hamming-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Badal &#8211; a call for change</title>
		<link>http://flickeringtubelight.net/blog/2010/07/badal-a-call-for-change/</link>
		<comments>http://flickeringtubelight.net/blog/2010/07/badal-a-call-for-change/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 18:05:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Poetry]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=457</guid>
		<description><![CDATA[बदल
भीडों के धक्कों में खुश रहने वाले,
तमाशों के रंगों को सच कहने वाले,
औरों की बातों को अपना बता कर,
चुराये खयालात अकड से जता कर,
जो डरते हैं पर डर जताते नहीं हैं,
शर्मिन्दा हैं, सर झुकाते नहीं हैं ।
न जाने के उनमे वो खुद ही कहां हैं ।
ढूंढें तो औरों कि परछाइयां हैं ।
जो खुद से, खुदी से, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>बदल</strong></p>
<p>भीडों के धक्कों में खुश रहने वाले,<br />
तमाशों के रंगों को सच कहने वाले,<br />
औरों की बातों को अपना बता कर,<br />
चुराये खयालात अकड से जता कर,<br />
जो डरते हैं पर डर जताते नहीं हैं,<br />
शर्मिन्दा हैं, सर झुकाते नहीं हैं ।<br />
न जाने के उनमे वो खुद ही कहां हैं ।<br />
ढूंढें तो औरों कि परछाइयां हैं ।<br />
जो खुद से, खुदी से, खुदा से ख़फा हैं,<br />
बेखबर, बेहुनर, बेकस, बेवफा हैं ।<br />
बदल दो ये मक्सद, ये मंज़र, ये मंज़िल ।<br />
कफस से कदम पर कफन ही कज़ा है ।</p>
<p><strong><span id="more-457"></span>Transliterated to English:</strong><br />
bheedon ke dhakkon mein khush rehne waale,<br />
tamaashon ke rangon ko sach kehne waale,<br />
auron ki baaton ko apna bataa kar,<br />
churaaye khayaalaat akad se jataa kar,<br />
jo darte hian par dar jataate nahin hain,<br />
sharminda hian, sar jhukaate nahin hain,<br />
na jaane ke unme vo khud hi kahaan hain.<br />
dhoonde to auron ki parchchaaiyaan hain.<br />
jo khud se, khudi se, khuda se khafaa hain,<br />
bekhabar, behunar, bekas, bewafaa hain.<br />
badal do ye maksad, ye manzar, ye manzil,<br />
kafas se kadam par kafan hi kazaa hai.</p>
<p><strong>Meaning in English:</strong><em><br />
(Note: I present the intended meaning. If the actual meaning of my words turns out different, especially if it changes the intention, please let me know.)</em><strong><br />
Badal</strong> = Change (as a command)</p>
<p>Those who are happy jostling amidst crowds,<br />
Those who say that the colors of worldly parades are true,<br />
Those who claim others&#8217; words as their own,<br />
Those who show off stolen ideas,<br />
Those who are afraid, but do not show their fear,<br />
Those who are ashamed, but don&#8217;t let their heads hang,<br />
They do not know who they really are within,<br />
Upon looking, they find that they are only the shadows of others.<br />
Those who are unhappy with themselves, their sense of self-respect, and God,<br />
They are unware, unskilled, friendless and unfaithful.<br />
Change such ambition, such scenery, such a goal.<br />
By destiny, one step from this cage is death.</p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/07/badal-a-call-for-change/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fascinating course on Justice by Michael Sandel</title>
		<link>http://flickeringtubelight.net/blog/2010/06/interesting-course-on-justice-by-michael-sandel/</link>
		<comments>http://flickeringtubelight.net/blog/2010/06/interesting-course-on-justice-by-michael-sandel/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:17:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Tidbits]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=460</guid>
		<description><![CDATA[Here is a link to video lectures from Harvard University&#8217;s course on Justice, taught by Professor Michael Sandel. (Watch the introductory video which should start automatically, and then look for the Episode list to the bottom right of the page. 12 hour long lectures &#8211; but worth the time.)
http://www.justiceharvard.org/
It contains some fascinating discussions on morals, [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a link to video lectures from Harvard University&#8217;s course on Justice, taught by Professor Michael Sandel. (Watch the introductory video which should start automatically, and then look for the Episode list to the bottom right of the page. 12 hour long lectures &#8211; but worth the time.)</p>
<p><a href="http://www.justiceharvard.org/">http://www.justiceharvard.org/</a></p>
<p>It contains some fascinating discussions on morals, philosophy, rights and justice. Professor Sandel has a very interesting teaching style, where he almost helps the students discover right vs. wrong, rather than just teaching it to them. Also, he has an extraordinary delivery style &#8211; careful and sincere. It is clear that he is actively participating in the discussion himself; he tailors the material such that it conveys all the crucial points while at the same time allowing the journey to these crucial points to be shaped by the students in the classroom. The class itself is comprised of over a thousand students, hanging on to every word from the teacher, and is a sight to behold.</p>
<p>A must watch. More accurately, a must think.</p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/06/interesting-course-on-justice-by-michael-sandel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts on the mathematical constant e</title>
		<link>http://flickeringtubelight.net/blog/2010/05/thoughts-on-the-mathematical-constant-e/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/thoughts-on-the-mathematical-constant-e/#comments</comments>
		<pubDate>Sun, 16 May 2010 15:54:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=432</guid>
		<description><![CDATA[e for exponential
The mathematical constant  shows up in strange places. Moreover, its significance is not as easy to grasp as that of the other famous constant, , because there is no easy physical object in whose context to imagine it. For example,   is the ratio of the circumference to the diameter of [...]]]></description>
			<content:encoded><![CDATA[<h2>e for exponential</h2>
<p>The mathematical constant <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up in strange places. Moreover, its significance is not as easy to grasp as that of the other famous constant, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4f08e3dba63dc6d40b22952c7a9dac6d.png" align="absmiddle" class="tex" alt="\pi" />, because there is no easy physical object in whose context to imagine it. For example,  <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4f08e3dba63dc6d40b22952c7a9dac6d.png" align="absmiddle" class="tex" alt="\pi" /> is the ratio of the circumference to the diameter of  a circle. Yes, it is irrational, but if you can get over that mystery (or ignore it for the time being), it is straightforward to <em>imagine</em> what <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4f08e3dba63dc6d40b22952c7a9dac6d.png" align="absmiddle" class="tex" alt="\pi" /> is. Every circle does seem to have a certain <em>circleness</em>, which makes them all look the same. It is intuitively not hard to agree with the hunch that every circle has an unchanging ratio between the circumference and the diameter; and it makes sense to keep that ratio handy and give it a name.</p>
<p>The constant <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> is considerably more elusive. It appears, at first, to be a number you would not go hunting after. You just happen to stumble upon in during one of your mathematical excursions; it seems interesting enough that you then pick it up and put in in your pocket for some potential use later. After stumbling upon the same thing along other mathematical excursions, in hindsight, it does seem to be something rather useful. Something you <em>should</em> have gone looking for.<span id="more-432"></span></p>
<p>Jacob Bernoulli, sometime in the late 1600s, stumbled upon this constant when he was trying to calculate the maximum compound interest that can be earned on an investment by compounding continuously.</p>
<p>If you invest 1 dollar in an account that earns 100% annual interest, then after 1 year the value of your investment will be 2 dollars assuming the compounding (interest calculation) happens once during the year. Assuming you do not touch the money and let it grow, by the end of 2 years, the money would have doubled again and you&#8217;ll have 4 dollars in all. Now, imagine the bank decided to compound every 6 months instead of once a year. The annual interest rate remains the same, 100%. 50% is applied at the end of 6 months and another 50% is applied at the end of the year. The 1 dollar grows to 1.50 after the first 6 months. For the second half of the year 1.50 dollars grow in value. At the end of the first year, the total value in your account is 1.50 + (1.50*50%), that is, 2.25 dollars. Not bad! Just by compounding every 6 months you made 2.25 instead of 2. Now you start thinking (as, perhaps, did Jacob Bernoulli). What if the bank compounded every 3 months? What if the bank compounded every month? Every week? Every day? Every second? Every picosecond? A similar question is what Jacob Bernoulli asked himself in the late 1600s. It turns out that this calculation results in an infinite series, which when added up closes in on 2.718281&#8230;This means if your bank was really generous and compounded <em>continuously</em>, your 1 dollar would become 2.718281 dollars at the end of the year. Quite a swing there &#8211; between 2 and 2.71, wouldn&#8217;t you say? And this given that the interest rate is unchanged between the two scenarios. (Aside: In general, pay some attention to how often your investments are being compounded, not <em>just</em> to the the annual rate of return.)</p>
<p>That number, 2.718281&#8230;, shows up in such seemingly disparate scenarios that it may be hard to see the connection between those scenarios. I recall that the way this constant was introduced to me in school was entirely different from the discussion above. I was taught that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c9d81daf1dc94d468bf1ad47a8180461.png" align="absmiddle" class="tex" alt="c\cdot{e^{x}}" />, where <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4a8a08f09d37b73795649038408b5f33.png" align="absmiddle" class="tex" alt="c" /> is a constant, is the only function whose derivative is equal to itself. That is, the slope of the curve is the value of the curve. Wow, I thought. That is quite a curve. I now feel that though that was correct, it may not have been the best way to introduce <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" />; it does not say <em>why</em> <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c9d81daf1dc94d468bf1ad47a8180461.png" align="absmiddle" class="tex" alt="c\cdot{e^{x}}" /> is the <em>only</em> function that satisfies this property. Further, it is not explained why a function that does satisfy this property should even <em>be</em> of the basic form <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_378ef468365a2fd4ae953f909ad2dee0.png" align="absmiddle" class="tex" alt="a^{x}" />, where a is a constant.</p>
<p>I decided therefore to think through two things. First, I wanted to understand <em>why</em> <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c9d81daf1dc94d468bf1ad47a8180461.png" align="absmiddle" class="tex" alt="c\cdot{e^{x}}" /> the <em>only </em>function whose slope at a given <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is the same as its value. I wanted to approach this problem by using the knowledge of this special property, and then trying to come up with the function <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> which would fit this requirement. Second, I wanted to tie together the two seemingly different arenas where e shows up &#8211; continuous compounding and as the base of the curve whose slope is equal to its value. There are other areas where <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up also. For example, if the probability of winning a wager is 1 in <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" />, and a man places <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> bets, then the probability that he wins at least one bet is <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e829777ab97c93ef78b95b37ec071e96.png" align="absmiddle" class="tex" alt="\frac{1}{e}" />. This question is related closely to the <em>hat check</em> problem (also known as <a href="http://en.wikipedia.org/wiki/Derangement">Derangements</a>). <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> also shows up in <a href="http://en.wikipedia.org/wiki/Euler%27s_identity">Euler&#8217;s Identity</a>. I will need to do more digging before I attempt to understand, intuitively, why <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up in those scenarios so I may not tackle these in much depth in this article.</p>
<h2><em>Why</em> is <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c9d81daf1dc94d468bf1ad47a8180461.png" align="absmiddle" class="tex" alt="c\cdot{e^{x}}" /> the <em>only</em> function whose slope at a given <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is the same as its value?</h2>
<p>Before I looked at this particular issue and attempted to uncover the function <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> which gave me this special property, I decided to start small. I decided to look at some other canonical functions that might have been interesting. For example, &#8220;What is a function whose value, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />, is equal to <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" />?&#8221;, &#8220;What is a function whose value is equal to <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_32f5240d0dbf2ccbe75ef7f8ef2015e0.png" align="absmiddle" class="tex" alt="x^2" />?&#8221;, &#8220;What is a function whose value is equal to <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />?&#8221;. The first question is easy. It defines <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_f8abf34599677984dfe91b4f300389f6.png" align="absmiddle" class="tex" alt="f(x)=x" />. The curve for this is a straight line at a <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4af7d16ee8abbb68901ca728d6d66eb5.png" align="absmiddle" class="tex" alt="45^{\circ}" /> angle through the origin. The second one is easy as well. It defines <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_d271cedde6675e55152d3c7a4236f775.png" align="absmiddle" class="tex" alt="f(x)=x^2" />. A parabola passing through the origin, (1,1) and (-1,1). The third question is the easiest of all, but the one that gets us closest to the question we are going after. It defines <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_a8057018c4637b6521b5be0a17519865.png" align="absmiddle" class="tex" alt="f(x)=f(x)" />! That is silly. Any function will fit. Notice, however, that in the third question the value of the function is dependent on the value of the function and not directly on <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" />. This starts to highlight the significance of the question we are trying to answer. We want to discover a function, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_48879efd6f01be071ce5f17d2d102051.png" align="absmiddle" class="tex" alt="f(x)=f'(x)" />. There is something quirky going on here. The right hand side is the derivative of the left hand side. So which comes first? It seems like you cannot really know the slope at <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />, until you define <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />. But then, you need the slope of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> to define <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> because its value <em>is</em> the slope of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />. It is a bit confusing. The trick is to realize that this function is continuous. So the value of the slope of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> will be pretty close to the value of the slope of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_38a932caefd461a1063aa32f21fb5ffd.png" align="absmiddle" class="tex" alt="f(x-\Delta{x})" />, the slope of the curve <em>just</em> prior to x. (This recursion also vaguely points to an upcoming infinite series.)</p>
<p>Now, let us try to find the function which satisfies the interesting property, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_48879efd6f01be071ce5f17d2d102051.png" align="absmiddle" class="tex" alt="f(x)=f'(x)" />. In words, this means the <em>rate</em> of growth of this function at a given point is equal to the value of the function at that point. More on that in a bit. Let us use the fact that the function is continuous and therefore, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_74caf4d1ec90d3a36ea7c7bbfe65b516.png" align="absmiddle" class="tex" alt="f'(x)" />, the slope of the function <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> at <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is given by the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_cb461640770db1f53f41d005ba80f131.png" align="absmiddle" class="tex" alt="f'(x)=\frac{f(x+\Delta{x})-f(x)}{\Delta{x}}" /></p>
<p>Since we <em>know</em> that the function we are trying to uncover has the special property that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_48879efd6f01be071ce5f17d2d102051.png" align="absmiddle" class="tex" alt="f(x)=f'(x)" />, we can substitute <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> instead of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_74caf4d1ec90d3a36ea7c7bbfe65b516.png" align="absmiddle" class="tex" alt="f'(x)" /> in the previous equation, to get the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_559b621365785f1f261b7e3ee234d980.png" align="absmiddle" class="tex" alt="f(x)=\frac{f(x+\Delta{x})-f(x)}{\Delta{x}}" /></p>
<p>This can be rewritten as</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8907255c33a0872cf41376aea67ad54b.png" align="absmiddle" class="tex" alt="f(x)\cdot\Delta{x}=f(x+\Delta{x})-f(x)" /></p>
<p>which in turn can be rewritten as</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_77af21e01765b6968d7b9b8645dae9d2.png" align="absmiddle" class="tex" alt="f(x)\cdot(1+\Delta{x})=f(x+\Delta{x})" /></p>
<p>I will substitute <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> with <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0d99278a0c5a59c1ed3ef4e8420682cb.png" align="absmiddle" class="tex" alt="x-\Delta{x}" /> (this is unfortunately one of those things which you do <em>after</em> you have worked out the steps and realize that doing something like this may make things a little cleaner to understand).</p>
<p>So we get, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_ce43eacc5ce2f8253c77387cd0905b88.png" align="absmiddle" class="tex" alt="f(x-\Delta{x})\cdot(1+\Delta{x})=f(x)" /></p>
<p>Swapping the right and left sides, we get the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_ee82a2c1deb4a2c008de1dc38cdb3095.png" align="absmiddle" class="tex" alt="f(x)=f(x-\Delta{x})\cdot(1+\Delta{x})" /></p>
<p>The above equation represents <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> in terms of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_38a932caefd461a1063aa32f21fb5ffd.png" align="absmiddle" class="tex" alt="f(x-\Delta{x})" />. Using steps similar to the ones shown above if we express <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_38a932caefd461a1063aa32f21fb5ffd.png" align="absmiddle" class="tex" alt="f(x-\Delta{x})" /> in terms of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0742b20f5c77cfb3ed26433fa693a2b8.png" align="absmiddle" class="tex" alt="f(x-2\cdot\Delta{x})" /> we get the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_37b2607446f16c5128f87a967aa050d0.png" align="absmiddle" class="tex" alt="f(x)=f(x-2\cdot\Delta{x})\cdot(1+\Delta{x})^2" /></p>
<p>Extending this process <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> times we get the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_25a4cf252408c54a9ef8179507799639.png" align="absmiddle" class="tex" alt="f(x)=f(x-n\cdot\Delta{x})\cdot(1+\Delta{x})^n" /></p>
<p>If <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> is large enough that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_72feff558dbc6136047b57d529b409a1.png" align="absmiddle" class="tex" alt="n\cdot\Delta{x}=x" /> then the above equation becomes very interesting.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7a69f9b00ed22198ac9029021a84216f.png" align="absmiddle" class="tex" alt="f(x)=f(0)\cdot(1+\frac{x}{n})^n" /></p>
<p>Notice that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is still not a power to any base. So <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" /> is still not an exponential curve, at least it does not look so. It does seem like it may expand into a sum of polynomials with the largest polynomial being of degree <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" />. A polynomial, however large in degree, grows slower than an exponential curve (as long as the degree is finite). However, note that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> is not a finite integer. It is an infinitely large number because <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_56f4fb7d80196b954a5a33facf4b9a23.png" align="absmiddle" class="tex" alt="\Delta{x}" /> is infinitesimally small. So there is still hope that this sum of polynomials may catch up to an exponential curve. Now, we apply a trick which changes the nature of this curve. A sum of polynomials becomes an exponential curve, and the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> goes up to a &#8220;position of power&#8221;. We simply reapply the equation <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_72feff558dbc6136047b57d529b409a1.png" align="absmiddle" class="tex" alt="n\cdot\Delta{x}=x" /> to the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_15699da5162c6174d970b58e778138fc.png" align="absmiddle" class="tex" alt="\frac{x}{n}" /> and the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> term in the above equation to get the following.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0887549c642d568058f69931f1f19ced.png" align="absmiddle" class="tex" alt="f(x)=f(0)\cdot(1+\Delta{x})^\frac{x}{\Delta{x}}" /></p>
<p>Now, say we represent <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_1d32d8aaaa8ce8210bc9de688c09308c.png" align="absmiddle" class="tex" alt="\frac{1}{\Delta{x}}" /> by a new variable, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8d9c307cb7f3c4a32822a51922d1ceaa.png" align="absmiddle" class="tex" alt="N" />. Then the above equation can be written as follows.</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_69f8cd0a4cb9b4df957ee96502f04bcf.png" align="absmiddle" class="tex" alt="f(x)=f(0)\cdot(1+\frac{1}{N})^{{x}\cdot{N}}" /></p>
<p>which in turn can be written as</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_786bb06d74932edeebe61d219c8abcc0.png" align="absmiddle" class="tex" alt="f(x)=f(0)\cdot((1+\frac{1}{N})^N)^x" /></p>
<p>And now we start seeing the exponential form emerge. The <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is the power to which <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0750543f1200a9510dc39b462722fe68.png" align="absmiddle" class="tex" alt="(1+\frac{1}{N})^N" /> must be raised to evaluate <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_50bbd36e1fd2333108437a2ca378be62.png" align="absmiddle" class="tex" alt="f(x)" />.</p>
<p>This term, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_0750543f1200a9510dc39b462722fe68.png" align="absmiddle" class="tex" alt="(1+\frac{1}{N})^N" />, when expanded out (remember that <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8d9c307cb7f3c4a32822a51922d1ceaa.png" align="absmiddle" class="tex" alt="N" /> is infinitely large) hones in on a constant, 2.718281. And that is why, a special name is given to this term (<img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" />). The right hand side thus becomes <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_ff2d26be6b0b506663911208302f91b3.png" align="absmiddle" class="tex" alt="e^x" />.</p>
<p>This takes the general form <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_eb415307499a489e6e9ebf6d2f506853.png" align="absmiddle" class="tex" alt="f(x)=c\cdot{e^x}" />, where <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_07bab375a7f255602b9f2985b304fe9a.png" align="absmiddle" class="tex" alt="c = f(0)" />, the value of the function at <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e11729b0b65ecade3fc272548a3883fc.png" align="absmiddle" class="tex" alt="x=0" />. In other words we have proved that a function that satisfies the property that the curve&#8217;s value at any point is equal to the slope of the curve at that point follows the general form of an exponential curve.</p>
<h2>How is continuous compounding related to the base of the exponential curve whose slope is  equal to its value?</h2>
<p>Now that we understand the general structure of the exponential curve and its special property, slope equals value, let us revisit the issue of continuous compounding. How is that related to this curve? It is intuitive once we realize that the <em>rate</em> at which money grows at any point in time is directly proportional to the <em>amount</em> of money in the account at that point in time. This is the same as saying the <em>slope</em> of the curve at a given point is directly proportional to the <em>value</em> of the function at that point. The interest rate plays the role of tempering the <em>proportionality</em>. For example, if the interest rate is 100%, the value of the continuously compounding account after <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> units of time (<img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> years) is <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8867b399ea90faa4cb5d5163025016f6.png" align="absmiddle" class="tex" alt="f(x) =c \cdot e^{100\% \cdot x}" />. Here <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_4a8a08f09d37b73795649038408b5f33.png" align="absmiddle" class="tex" alt="c" /> is the amount in the account at the beginning (value of the function at <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_f4bff8c9a4fa0cfee395df7e0dade218.png" align="absmiddle" class="tex" alt="x=0, f(0)" />). If the interest rate is 8%, then the value at time <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> years is <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c61324159496444763875a29718388e8.png" align="absmiddle" class="tex" alt="f(x)=c\cdot e^{80\% \cdot x}" />. Once we see that the two phrases, &#8220;slope of a curve is proportional to its value&#8221; and &#8220;rate of growth of something is proportional to the amount of that something&#8221;, are saying the same thing, it is clearer that these two ways of defining or discovering <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> are equivalent.</p>
<h2>Other places <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up</h2>
<p>Another place <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up is called Derangements, as in the opposite of arrangement. A popular example used to explain this issue is the <em>hat check</em> problem. Say there are <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" /> people who check in at a party, and the butler takes their hats as they enter the party. There are boxes to hold the hats, one per guest. The boxes have names on them to identify which guest&#8217;s hat should go into it. The butler, however, does not know the names of the guests. He puts the hats into those boxes randomly. When the number of hats (and boxes) is large, the probability that <em>no hat is in the right box</em> is <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e829777ab97c93ef78b95b37ec071e96.png" align="absmiddle" class="tex" alt="\frac{1}{e}" />. I have been able to work this out mathematically, but I still have not been able to understand this intuitively. Maybe the reason <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up here has nothing to do with the properties of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_ff2d26be6b0b506663911208302f91b3.png" align="absmiddle" class="tex" alt="e^x" />. Maybe it just so happens that the same summation, which adds up to e, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_58cb916ff717ed6eed51eb31eaad66c4.png" align="absmiddle" class="tex" alt="(1+\frac{1}{n})^n" />, shows up here.</p>
<h3>Solution to Hat Check Problem: An Outline</h3>
<p>The probability that all hat are in wrong boxes = 1 &#8211; probability that at least one hat is in the right box</p>
<p>= 1 &#8211; (prob. that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_207540b5d67149d0d26722001b22e54e.png" align="absmiddle" class="tex" alt="1^{st}" /> hat is in the right box OR prob that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_d517e3a509a09010ea03e8b689dae5d0.png" align="absmiddle" class="tex" alt="2^{nd}" /> hat is the right box OR &#8230; OR probability that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_dee7141541b0575f29b52d84bb7580f6.png" align="absmiddle" class="tex" alt="n^{th}" /> hat is in the right box)</p>
<p>Note that for the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" /> hat to be in the right box the first i-1 hats have to avoid that box. Therefore,</p>
<p>Probability that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" /> hat is in the right box = (probability that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_207540b5d67149d0d26722001b22e54e.png" align="absmiddle" class="tex" alt="1^{st}" /> hat has not taken up the right  box of  the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" /> hat).(probability that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_d517e3a509a09010ea03e8b689dae5d0.png" align="absmiddle" class="tex" alt="2^{nd}" /> hat has not taken up the right  box of  the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" />  hat)&#8230;(probability that the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_084e59c9abe583f3018a6e8ea6b6b9b0.png" align="absmiddle" class="tex" alt="i-1^{th}" /> hat has not taken up the right  box of  the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" />  hat).(the <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_97361f12a3555fc4fc4e2ffce1799ac3.png" align="absmiddle" class="tex" alt="i^{th}" /> hat <em>does</em> take up the right box)</p>
<p>Using this, the probability that all hat are in wrong boxes</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_933d03fccb87d944badf2c4497699935.png" align="absmiddle" class="tex" alt=" = 1 -  (     \frac{1}{n} + ( \frac{1}{n} \cdot (1-\frac{1}{n}))   +  (  \frac{1}{n}  \cdot  (1-\frac{1}{n})^2  )  +  (  \frac{1}{n}  \cdot  (1-\frac{1}{n})^3  )  + ... + (  \frac{1}{n}  \cdot  (1-\frac{1}{n})^n  )    )" /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9c53f508e1ffbc9fec17b45f696f4646.png" align="absmiddle" class="tex" alt=" = 1 - ( \frac{1}{n}) \cdot (1 + (1-\frac{1}{n}) + (1-\frac{1}{n})^2  + (1-\frac{1}{n})^3 + ... + (1-\frac{1}{n})^n ) " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_08033a55378c88eb5ee235a2c780609e.png" align="absmiddle" class="tex" alt=" = 1 - \frac{1}{n} \cdot A " /></p>
<p>where,</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_49934049f07e96662510c93af42fcc0b.png" align="absmiddle" class="tex" alt=" A = 1 + (1-\frac{1}{n}) + (1-\frac{1}{n})^2 + (1-\frac{1}{n})^3 + ... +  (1-\frac{1}{n})^n " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_c2e78d8d3114caf8ff7bbb64f1e129af.png" align="absmiddle" class="tex" alt=" A \cdot (1-\frac{1}{n}) = (1-\frac{1}{n}) + (1-\frac{1}{n})^2 + (1-\frac{1}{n})^3 + ... +   (1-\frac{1}{n})^n + (1-\frac{1}{n})^{n+1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_eb114c837a9f7e16843a0f83fd242908.png" align="absmiddle" class="tex" alt=" A \cdot (1-\frac{1}{n}) + 1 = 1 + (1-\frac{1}{n}) + (1-\frac{1}{n})^2 + (1-\frac{1}{n})^3 + ... +   (1-\frac{1}{n})^n + (1-\frac{1}{n})^{n+1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_eae36eee648aa46b8b871c4f64d95c94.png" align="absmiddle" class="tex" alt=" A \cdot (1-\frac{1}{n}) + 1 = A + (1-\frac{1}{n})^{n+1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9ef776cb210292aba7a1b12cfdb630eb.png" align="absmiddle" class="tex" alt=" A = \frac{(1-\frac{1}{n})^{n+1} - 1}{(1-\frac{1}{n}) - 1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_eb0d481fae6699c9a128549ab06a24c5.png" align="absmiddle" class="tex" alt=" A = \frac{(1-\frac{1}{n})^{n+1} - 1}{-\frac{1}{n}} " /></p>
<p>Putting this <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" /> back in the equation for the probability we are looking for, we get,</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_859f8463e8461ae5b9879f594d550d27.png" align="absmiddle" class="tex" alt=" = 1 + (1-\frac{1}{n})^{n+1} - 1 " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_203b286cc7e79623e1bb7c6e93770913.png" align="absmiddle" class="tex" alt=" = (1-\frac{1}{n})^{n+1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_f00f81432918c4d66c9e8e808c4e5bf3.png" align="absmiddle" class="tex" alt=" = (\frac{n-1}{n})^{n+1} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e0da64a2acfb5251c39c5c111c4b126f.png" align="absmiddle" class="tex" alt=" = (\frac{n}{n-1})^{-n-1} " /></p>
<p>now, replacing <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_a438673491daae8148eae77373b6a467.png" align="absmiddle" class="tex" alt="n-1" /> by <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8d9c307cb7f3c4a32822a51922d1ceaa.png" align="absmiddle" class="tex" alt="N" />,</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_877897a189ef3731d1ef592fea407842.png" align="absmiddle" class="tex" alt=" = (\frac{N+1}{N})^{-N-2} " /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_9c9f867217b465ae2eddd42e385543ab.png" align="absmiddle" class="tex" alt=" = (1+\frac{1}{N})^{-N} \cdot (1+\frac{1}{N})^{-2} " /></p>
<p>The second term goes to <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_cfcd208495d565ef66e7dff9f98764da.png" align="absmiddle" class="tex" alt="0" /> as <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_8d9c307cb7f3c4a32822a51922d1ceaa.png" align="absmiddle" class="tex" alt="N" /> increases. So we are left with,</p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_3d0b87f27a338090cf360b91bebe5520.png" align="absmiddle" class="tex" alt=" = \frac{1}{(1+\frac{1}{N})^{N}}" /></p>
<p><img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_454d15e1e90ac89c99605653ea34e126.png" align="absmiddle" class="tex" alt=" = \frac{1}{e}" /></p>
<p>I do not know why <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up here. But, well, it does. Yet another place where <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up with unabated vigor is when representing complex numbers, and, of course, in that famous Euler&#8217;s equation that brings together 5 of the most interesting quantities in mathematics, <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_66d24771ec114e071c1c13223f816869.png" align="absmiddle" class="tex" alt="e^{i\pi}+1=0" />. I will go into exploring that another time.</p>
<h2>References and Acknowledgments</h2>
<p>My discussions with  my friend Mani, and my investigations on the internet led to this write up. I found the Wikipedia site very useful to tie together the seemingly unconnected ways in which the constant <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> shows up in real life. The BetterExplained.com website has a very good illustrated tutorial for those who want to understand the concept of <img src="http://flickeringtubelight.net/blog/wp-content/cache/tex_e1671797c52e15f763380b45e841ec32.png" align="absmiddle" class="tex" alt="e" /> in simple terms.</p>
<p>Wikipedia.com &#8211; <a href="http://en.wikipedia.org/wiki/E_%28mathematical_constant%29">http://en.wikipedia.org/wiki/E_(mathematical_constant)</a></p>
<p>BetterExplained.com &#8211; <a href="http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/">http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/thoughts-on-the-mathematical-constant-e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We, the people &#8230;</title>
		<link>http://flickeringtubelight.net/blog/2010/05/we-the-people/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/we-the-people/#comments</comments>
		<pubDate>Sun, 02 May 2010 21:24:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Tidbits]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=326</guid>
		<description><![CDATA[Reference for the population figure: http://www.google.com/publicdata?ds=wb-wdi&#38;met=sp_pop_totl&#38;tdim=true&#38;dl=en&#38;hl=en&#38;q=world+population

]]></description>
			<content:encoded><![CDATA[<a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/worldPop.png"><img class="size-full wp-image-327 " title="worldPop" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/worldPop.png" alt="" width="827" height="559" /></a>
<p>Reference for the population figure: http://www.google.com/publicdata?ds=wb-wdi&amp;met=sp_pop_totl&amp;tdim=true&amp;dl=en&amp;hl=en&amp;q=world+population</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/we-the-people/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We made a garden trellis with PVC piping</title>
		<link>http://flickeringtubelight.net/blog/2010/05/we-made-a-garden-trellis-with-pvc-piping/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/we-made-a-garden-trellis-with-pvc-piping/#comments</comments>
		<pubDate>Sun, 02 May 2010 18:20:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=277</guid>
		<description><![CDATA[We have two 4&#8242;x8&#8242; (4 feet by 8 feet) raised beds, which we use for vegetable plants. Kavita has been asking me to either buy or build a trellis for her climbing plants (cucumbers, tomatoes and eventually some types of squash and gourds). I read several websites online and decided to build a simple trellis [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_284" class="wp-caption alignleft" style="width: 420px"><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig1.jpg"><img class="size-full wp-image-284 " title="Trellis_fig1" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig1.jpg" alt="" width="410" height="353" /></a><p class="wp-caption-text">Figure1: Basic plan showing the material required</p></div>
<p>We have two 4&#8242;x8&#8242; (4 feet by 8 feet) raised beds, which we use for vegetable plants. Kavita has been asking me to either buy or build a trellis for her climbing plants (cucumbers, tomatoes and eventually some types of squash and gourds). I read several websites online and decided to build a simple trellis using PVC piping. It took one trip to the local Home Depot, and then about 2 hours of work. The cost for the material was under $10 (I already had all the tools needed).</p>
<p>We decided to build one and test it out before getting carried away  and  building more. We decided that we would roughly want the trellis to  be  4 feet wide by 5 feet high. At the Home Depot we did some quick   calculations based on the basic design we had in mind and came up with a   total of about 29 feet of PVC tube. The calculation is shown in Figure   1.</p>
<div id="attachment_285" class="wp-caption alignright" style="width: 292px"><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig2.jpg"><img class="size-full wp-image-285 " title="Trellis_fig2" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig2.jpg" alt="" width="282" height="190" /></a><p class="wp-caption-text">Figure 2: Materials and Tools for the project    (4-way, + shaped, PVC connector missing)</p></div>
<p>The PVC pipes are sold in 10&#8242; pieces. We got 3 pieces. We also got  some string (I tried polypropylene string since I did not know any  better, we&#8217;ll see how that works out).</p>
<p>Figure 2 shows most of the material and tools. The one caveat is, since  I took this picture <em>after</em> completing the project, the one 4-way  1/2&#8243; PVC pipe connector used at the center of the frame is missing from  the picture. I had extra connectors of the other type, so I could use  them for the picture. Also, one other thing that is missing from the  picture is a power drill and drill bits. I used a 3/16&#8243; drill bit to  drill evenly spaced holes in the pipes to draw the string through, to  create a framework.</p>
<div id="attachment_287" class="wp-caption alignleft" style="width: 136px"><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig3.jpg"><img class="size-full wp-image-287 " title="Trellis_fig3" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig3.jpg" alt="" width="126" height="170" /></a><p class="wp-caption-text">Figure 3: Trellis plan with the stringing shown</p></div>
<div id="attachment_283" class="wp-caption alignright" style="width: 133px"><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig4.jpg"><img class="size-full wp-image-283 " title="Trellis_fig4" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/Trellis_fig4.jpg" alt="" width="123" height="163" /></a><p class="wp-caption-text">Figure 4: Framework ready, stringing is yet to    be  completed</p></div>
<p>The spacing between the holes and how the trellis is supposed to look    eventually is shown in Figure 3.</p>
<p>The thing that took the most time was measuring and marking the PVC    pipes, cutting them to the right size with the saw, then measuring and    marking the locations for the holes for the string to go through and then drilling the holes with    the power drill. Since the PVC pipe keeps rolling about, making it stable before drilling is important. I just used an old rag to wrap around the pipe in order to hold it somewhat still.</p>
<p>Once the pieces were all ready, putting the trellis  together took less than 10 minutes. There was no need for glue, since  the connectors fit quite snugly. Figure 4 shows the trellis laid out on the lawn (with only one piece  of string drawn through, Kavita will work on getting the rest of the  mesh this evening).</p>
<p>We are not sure how well this will hold up, how long it will last  etc. I  will update the post with some pictures on the trellis in action,   later.</p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/we-made-a-garden-trellis-with-pvc-piping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Light Humor</title>
		<link>http://flickeringtubelight.net/blog/2010/05/light-humor/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/light-humor/#comments</comments>
		<pubDate>Sun, 02 May 2010 04:09:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cartoons]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=265</guid>
		<description><![CDATA[



Light, at the end of the tunnel



]]></description>
			<content:encoded><![CDATA[<h2 class="mceTemp">
<dl id="attachment_267" class="wp-caption alignnone" style="width: 584px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-267  " title="lightAtTheEndOfTheTunnel.png" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/lightAtTheEndOfTheTunnel.png.jpg" alt="" width="574" height="382" /></dt>
<dd class="wp-caption-dd">
<h1>Light, at the end of the tunnel</h1>
</dd>
</dl>
</h2>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/light-humor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Out-of-the-box thinking</title>
		<link>http://flickeringtubelight.net/blog/2010/05/out-of-the-box-thinking/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/out-of-the-box-thinking/#comments</comments>
		<pubDate>Sat, 01 May 2010 21:47:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Philosophy]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=251</guid>
		<description><![CDATA[At the beginning of the previous post I had included a set of slides which propose the 4 squares problem and teach us that we should always be ready to think of a simple solution whenever possible. This theme caused a flurry of emails among some of my family members, and I would like to [...]]]></description>
			<content:encoded><![CDATA[<p>At the beginning of the previous post I had included a set of slides which propose the 4 squares problem and teach us that we should always be ready to think of a simple solution whenever possible. This theme caused a flurry of emails among some of my family members, and I would like to present some of the interesting ideas that arose in that discussion.<span id="more-251"></span></p>
<p>Dr. K. Ramamurthy (my dad&#8217;s uncle) wrote the following in response to this issue.</p>
<div>
<blockquote><p><span style="color: #333399;">Questions 1 and 2 are just easy. Question 3 was one I had in my high school and  solved then itself. Question 4 reminds me of a problem I was posing in my  management classes titled: Educated Incompetence. A child in its  innocence poses questions and answers too in a weird and simplistic way  because it is not afraid of making a mistake�since it does not really  know &#8216;What is right�or what it is wrong&#8217;. The more educated we are, we  become trapped in the incompetent syndrome.�First, we&#8217;re�afraid of  making a mistake and feel embarrassed. We, therefore, tend to make sure of the  correct solution and more often than not,�avoid such a situation.</span></p>
<p><span style="color: #333399;">Innovative thinking is of this genre and to be incorporated into  the general education. This is &#8220;Thinking Out of the Box!&#8221;</span></p>
<p><span style="color: #333399;">I&#8217;ve tried this interactive method of &#8216;Problem Solving&#8217;�with small  and big groups, as well as with the educated and working classes. It works.  Simple solutions emanate in the process, more often than not by the  uneducated. Qualified people such as engineers� opt for complicated  solutions as they&#8217;re conditioned by education and precise thinking. I&#8217;ve  read of�large companies inviting home-makers, maids, etc., to solve  many-a-corporate problem using common sense and native intelligence, not  constrained by pre-knowledge.</span></p>
<p><span style="color: #333399;">Based on this behavioral pattern, brain storming was developed.  Here a problem is posed and a group of people (who may know nothing of the  problem or problem area)�are assembled to find a solution through group  interaction. The rules of the game are: think wildly, randomly and  instantly. No logic or reason should be allowed to play a role and�waste time.  None in the group is allowed to�object to what another says. Ideas  should flow at a fast speed without any kind of interruption. All  ideas/points are noted on a sheet of paper, blackboard, or these days on  a computer screen big enough to be seen by all. If there are 10 persons  in the group, we should get over 100 ideas in a span of say 30 minutes.  Once the flow of ideas�slows down considerably, stop the game. Now is  the time to analyze the ideas and do what we may say, a realistic  check. Discard outlandish ideas, look for practical solution(s)  by�combining or fusing ideas and finally,  develop an acceptable, practical, and usable solution.</span></p></blockquote>
</div>
<p><span style="color: #333399;"><span style="color: #000000;">This gave rise to some thoughts which� I present here.</span></span></p>
<blockquote><p><span style="color: #003300;"><span style="color: #808000;">I agree that educated incompetence is a real phenomenon. I see it at  work, at school, and even within our family. Typically, it manifests  itself as a minor irritant with small repercussions; however, on  occasion, it can bloat into a dangerous phenomenon, affecting  life-changing decisions we make.</span></span></p>
<p><span style="color: #808000;">The people who think that they  know (or, more accurately, who have been conditioned to think they ought  to know) feel this pressure to pretend that they know. They may not  know, but their ego does not let them accept or project their ignorance.</span></p>
<p><span style="color: #808000;">Now, take the case of a person who is formally uneducated. That  person may not have any degrees, but may have sufficient common sense  and, indeed, an abundant supply of humility. Unfortunately, lack of  formal education,  brings lack of confidence in addition to the abundance of humility.  Abundance of formal education brings abundance of confidence  (over-confidence, in most cases) and a lack of humility. The best kind  of education encourages the right amount of confidence, and the right  amount of humility.</span></p>
<p><span style="color: #808000;">That begs the question, &#8220;What is the  fundamental problem with formal education?&#8221;.</span></p>
<p><span style="color: #808000;">Formal educational  arrangements often cannot give one-on-one attention that is necessary to  truly explore the limits of an individual&#8217;s potential. The result of  this fundamental clash between individual potentials and group  educational-arrangements is a lowering of the education bar. Further, in  order to smoothly impart knowledge to a group, and then to smoothly  measure the efficiency of that process, a common canonical framework  (the box) must be constructed. All formal education builds within the  confines of this framework. This explains why, in exams, typically, all  questions have a reasonably fixed answer. Mathematical problems,  typically, only provide precisely the data necessary to solve the  problem. No unnecessary data is provided. In Chemistry lab, only the  reagents and equipment necessary to prove the workings of a certain  reaction are provided. To me it is not at all surprising that relying  only on formal education as a means to educating yourself is bound to  teach you a canonical view of the world and its problems. It teaches you  to construct the boundaries of your sandbox of thoughts before trying  to solve a problem. It teaches you that when you have a problem you just  need to use the resources readily visible within this sandbox. It does  not, typically, teach you where to look for resources to solve a  problem. It does not teach you how to get rid of the sandbox. And most  significantly it does not teach you how to look *for* problems. Problems  are assumed to be handed to you, with your job being restricted  to looking for solutions. This is a fundamental problem with all forms  of formal education. And, if you think about it, this formal educational  structure is a direct result of the simplifications that *must* be made  for any, large-scale, practical, hand-off of human understanding from  one generation to the next. That is, I am not blaming the formal  education. I am saying it is doing exactly what it was meant to do. To  identify and solve real-life problems, it helps to know how to solve a  canonical, artificially-created, abstract versions of the real-life  problem. Formal education signed up to distill real-life problems into  canonical problems and teach us how to proceed from that point further.  It did not sign up for more.</span></p>
<p><span style="color: #808000;">Now, the responsibility of the  second half of education &#8211; the ability to identify a real-life problem  (before it is handed over to you on a platter), the ability to whittle  down a real-life problem into a canonical form, the  ability to identify parameters that affect the solution to this problem  from a much larger selection than you are used to dealing with &#8211; lies  with the individual. Even if we could, in a perfect society, provide  one-on-one attention to each student, human brains are not very good at  communication of complex thought. The only brain that can efficiently  sift through the deluge of complex thoughts that arise inside it, it the  very same brain where these thoughts arise. This ability to learn by  looking inwards has been called meditation, self-awareness, reflection,  wisdom, and, common sense. This is an ability that cannot be taught by  formal educational tools. It is, therefore, a resource available to the  educated and the uneducated in equal measure. The uneducated person,  probably enjoys it in purer, undiluted proportions. The formally  educated person may, unfortunately, end up suspicious of such  free-ranging thoughts arising in his or her mind and proceed  to quell them. This may explain why educated people often appear to be  unimaginative and conforming &#8211; thinking &#8220;inside-the-box&#8221; out of habit.</span></p>
<p><span style="color: #808000;">Maybe  this makes a case for a statutory warning to be legally enforced on all  formal educational fora &#8211; FORMAL EDUCATION, HOWEVER ADVANCED, IS ONLY  RESPONSIBLE FOR A SMALL FRACTION OF YOUR OVERALL EDUCATION</span></p>
<p><span style="color: #808000;">(PS:  By the way, be careful not to interpret this to mean that everything  your maid-servant says is wise.)</span></p></blockquote>
<p>I read some more interesting insights form Dr. Ramamurthy a few emails down the chain.</p>
<div>
<blockquote><p><span style="color: #000080;">In our earlier discussion on the topic, we referred to education  and upbringing�from childhood through adolescence�from mother to teacher  to playmates and colleagues, to�shape one&#8217;s outlook and ways of looking  at a problem. What&#8217;s important in this process is the ability of the  individual to develop &#8216;logic-based&#8217; or &#8216;reason-based&#8217; thinking in  resolving problems faced rather than�be guided merely by copying or  imitating others, by following tradition (even if�you find  it�illogical), or mutely following others in authority. In these  instances, &#8216;grooved thinking&#8217; overtakes everyother consideration. If  from childhood one is encouraged to think independently and even to  question established authority (of parents or elders) &#8211; what I&#8217;d call  &#8220;free-lance thinking&#8221; &#8211; then out-of-box thinking becomes part of one&#8217;s  psyche or�reason-based thinking. This is what I was alluding to in my  previous discussion on the topic.</span></p>
<p><span style="color: #000080;">Now a word on &#8216;Experience.&#8217; Experience is not mere passsage of time  (or what we many-a-time allude to as Seniority. Experience in my  opinion is one that�expands or enhances the�knowlege (acquired formally  or otherwise) during working period. This means ability to &#8216;apply&#8217;  knowledge one has��to a variety of situations, difficulties, ups &amp;  downs in tackling problems confronted by him. This enlarges his vision,  gives a practical edge in assessing problems, evaluates  differing�options available before making a decision. Internally�at your  sub-conscious level you&#8217;re in fact going a process of &#8216;brain-storming&#8217;  before coming to a conclusion. This process of internal (to oneself)  evalaution or introspection�makes you think out of the trodden path of  rules/regulations and precedents. That&#8217;s out of box thinking. Education  and upbringing should nurture this attitude and approach�from young age.</span></p></blockquote>
</div>
<p>And here is my response:</p>
<blockquote><p><span style="color: #808000;">In fact, rational thinking is a necessary  condition to allow out of the box thinking. It is not a sufficient  condition though. A bit of inspired (some may even call it non-rational,  creative or artistic) thinking becomes necessary as well. This is that  spark of subconscious creativity that conscious rational thinking can  then give form to. </span></p></blockquote>
<p><span style="color: #003300;"><span style="color: #000000;">All this talk of rational vs creative, boxed-in vs out-of-the box thinking reminds me of the following incident which happened recently.</span></span></p>
<div><span style="color: #003300;"><span style="color: #000000;"></p>
<div id="attachment_275" class="wp-caption alignnone" style="width: 419px"><img class="size-full wp-image-275 " title="leftBrain" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/leftBrain.jpg" alt="" width="409" height="614" /><p class="wp-caption-text">&quot;No, K. The problem is not that I use only my left brain. The problem is that I can only use the brain that is left.&quot;</p></div>
<p></span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/out-of-the-box-thinking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

