<?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>Fri, 03 Sep 2010 17:36:04 +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>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/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/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/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/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>
<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>

<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 or cockroach, 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 and then a smaller 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 a 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. And how.</p>
<p>The elder sisters died in their early twenties, probably during childbirth. Ammamma, though born heavily underweight, outlived all her other siblings, and she led a blessed 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 laywer, 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>4</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>
		<category><![CDATA[Uncategorized]]></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 explain 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_7d32d9a6e98b5f3c930b7c6ef49f2653.png" align="absmiddle" class="tex" alt="(x)\cdot\Delta{x}=f(x+\Delta{x})-f(x)" /></p>
<p>which in turn can be rewritten as</p>
<p>,p&gt;<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_72c69df55788ec1228af95a619d574d8.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_d2fe88e1bc1d6f42e8110d2d26223b34.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[<div id="attachment_327" class="wp-caption alignnone" style="width: 837px"><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 class="wp-caption-text">There are about 6.7 billion people in the world today. If you got them all together and made them stand in a square grid on a square field such that each person is a meter away from his or her 4 neighbors, the field needs to be about 51 miles x 51 miles  about the size of the red square in the illustration.</p></div>
<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>0</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[Uncategorized]]></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 mistakesince it does not really  know &#8216;What is rightor what it is wrong&#8217;. The more educated we are, we  become trapped in the incompetent syndrome.First, we&#8217;reafraid 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 oflarge 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 andwaste time.  None in the group is allowed toobject 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 ideasslows 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)  bycombining 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 upbringingfrom childhood through adolescencefrom mother to teacher  to playmates and colleagues, toshape 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 thanbe guided merely by copying or  imitating others, by following tradition (even ifyou find  itillogical), 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 orreason-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 thatexpands or enhances theknowlege (acquired formally  or otherwise) during working period. This means ability to &#8216;apply&#8217;  knowledge one hasto 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  differingoptions available before making a decision. Internallyat 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 introspectionmakes 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 approachfrom 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>
		<item>
		<title>The 4 squares problem &#8211; extended</title>
		<link>http://flickeringtubelight.net/blog/2010/05/the-4-squares-problem-extended/</link>
		<comments>http://flickeringtubelight.net/blog/2010/05/the-4-squares-problem-extended/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:54:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Tidbits]]></category>

		<guid isPermaLink="false">http://flickeringtubelight.net/blog/?p=197</guid>
		<description><![CDATA[A &#8220;4 Squares Puzzle&#8221; is doing the rounds over the internet nowadays. here are the original Microsoft Powerpoint slides which I received via email from my father. (Not sure who the original author of these slides is, but the slides report the author to be Nakit Yonetimi.) It may be useful to look over the [...]]]></description>
			<content:encoded><![CDATA[<p>A &#8220;4 Squares Puzzle&#8221; is doing the rounds over the internet nowadays. here are the original Microsoft Powerpoint <a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/fourSquares.pdf">slides</a> which I received via email from my father. (Not sure who the original author of these slides is, but the slides report the author to be Nakit Yonetimi.) It may be useful to look over the pdf file once before proceeding. The question posted in the slides is different from the one I am going to pose, but going through the slides helps build context and helps get mentally warmed up.</p>
<p><img class="alignleft size-full wp-image-219" title="sq_fig1" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig11.gif" alt="" width="168" height="112" />The question I posed to myself after thinking through the puzzle was,  &#8220;How can we divide a square into 7 equal parts with only a straight edge  and a compass available?&#8221; Note that the question implies that we do not  have a ruler or a scale. We have a straight edge, but without any markings on it to indicate inches or centimeters. Even if it did have the markings, such markings can only measure accurately up to a certain level. For example, say you have a scale with markings at the granularity of a millimeter. Say the square had a side equal to some irrational number, say <img src='http://s.wordpress.com/latex.php?latex=pi&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='pi' title='pi' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=%5Csqrt%7B2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sqrt{2}' title='\sqrt{2}' class='latex' />, or, even a simple integer which is not a multiple of 7, such as, 8 millimeters. There is no way to measure <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bpi%7D%7B7%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{pi}{7}' title='\frac{pi}{7}' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B%5Csqrt%7B2%7D%7D%7B7%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{\sqrt{2}}{7}' title='\frac{\sqrt{2}}{7}' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B8%7D%7B7%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{8}{7}' title='\frac{8}{7}' class='latex' /> millimeters using such a scale.</p>
<p>There are at least 2 approaches to dividing this square into 7 parts. The first is a simpler approach and the second is slightly more involved. Let me talk about the second one first. The first one will then become easy to see. The main intuition behind the first idea is that a triangle&#8217;s area depends only on its base and height. If we can mark out 7 equidistant points along the square&#8217;s border, thus creating 7 equal bases, we can join the bases to the center of the square to create 7 regions with equal areas. The heights of these shapes will be equal, and the bases are equal by construction.<span id="more-197"></span></p>
<p><img class="alignleft size-full wp-image-222" title="sq_fig4" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig41.gif" alt="" width="390" height="166" /></p>
<p>As shown in the figure to the far left, the corners of the square are joined, and the intersection gives us the center of the square. Then, assuming we already have the 7 equidistant points of the square&#8217;s edge marked out, joining the center to the 7 points creates 7 regions with equal area, as shown in the figure to the immediate left. It may not be obvious why these regions are equal in area. If you divide up the quadrilateral regions (regions with 4 edges) into 2 triangles, you should start seeing that the area of the quadrilateral piece is the same as the area of a triangular piece since they both have the same height (<img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bl%7D%7B2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{l}{2}' title='\frac{l}{2}' class='latex' />, where <img src='http://s.wordpress.com/latex.php?latex=l&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='l' title='l' class='latex' /> is the length of the square&#8217;s side) and same base (<img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B%7B4%7D%5Ccdot%7Bl%7D%7D%7B7%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{{4}\cdot{l}}{7}' title='\frac{{4}\cdot{l}}{7}' class='latex' />).</p>
<p>The question then is, how do we make those 7 markings on the square? Let us first imagine that we peel off the edge and lay it out along a straight line. If there were some simple way to then divide the peeled out, straight line edge into 7 equal parts, we can visualize rolling the laid out edge back on to the square. Of course, the actual process would involve measuring the widths of each piece using the compass and then laying them back on the square&#8217;s border. At the corners these segments may have to be further broken down into two pieces. How to do that it is relatively intuitive with a compass and I will not go into explaining that. The next two figures illustrate the process of peeling off the edges of the square and laying them onto a straight line, and the process of rolling the laid out edge back on to the square once the 7 equidistant markings have been made.</p>
<p><img class="size-full wp-image-220 alignnone" title="sq_fig2" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig21.gif" alt="" width="768" height="179" /></p>
<p><img class="size-full wp-image-221 alignnone" title="sq_fig3" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig31.gif" alt="" width="768" height="147" /></p>
<p><a href="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig63.gif"><br />
</a></p>
<p>The question now remains, how do we divide the laid out border into 7  equal pieces. More generally, this question can be posed as, how can we  divide any line segment into n equal segments.</p>
<p><img class="alignleft size-full wp-image-227" title="sq_fig6" src="http://flickeringtubelight.net/blog/wp-content/uploads/2010/05/sq_fig63.gif" alt="" width="376" height="512" />The figure to the left  illustrates the steps. The steps are labeled (a) through (e). In Step  (a), we draw a line using the straight edge at some angle to the line  segment to be divided. This edge is shown in a light color and its  length does not really matter. Then in Step (b) make 7 equidistant markings on the newly drawn line segment using the compass. The length between the markings does not matter. Just pick something that seems to fit in the space. Then, in Step (c), the 7th such marking and the end of the original line segment are joined. In Step (d), using the compass, identify a point corresponding to the 7th marking, on the other side of the base line segment. Connect the ends of the base line segment to that point and complete the paralellogram shown in the figure in Step (d). Using the compass mark out the other 6 markings on the line on the other side of the base line segment. This is shown in Step (e). Join the corresponding intermediate markings using the straight edge. Voila! The line segment we wanted to divide into 7 pieces just got divided into 7 equal pieces.</p>
<p>Now, by retracing the steps laid out in the figures above, you can divide the square into 7 equal regions. This question is also posed as, &#8220;How can you divide a square cake into n equal sized pieces?&#8221;. Now that we know how to divide a line into n equal parts using a straight edge and a compass, we may realize that there is a simpler way to divide up the square cake. Instead of dividing up the whole border into 7 equal-length line segments, why not just divide up one side into 7 equal length segments. Then we can cut the square into 7 long rectangles, in a fashion similar to the one proposed in the original puzzle (see the pdf slides posted at the beginning of this article).</p>
<p>This also brings up another interesting question, although quite off-topic, it may seem. We have been using the phrase straight edge throughout this article. But what is straight? How was the first straight edge made? My guess is that a taut string might have been used to define straightness. But then what is space itself is curved? Does that mean a taut string is also actually curved in accordance with the space it is in? What does it even mean to say that space is curved? Curved with respect to what? What is the underlying measure of straightness, against which the space appears curved? There are probably questions for another disussion. I do not know the answer. I will have to think and read a bunch before it may be clear. It may, of course, never be clear. There is no reason everything should make sense. Nature is not obligated to be understandable by humans, much less one particular human that I call me.</p>
]]></content:encoded>
			<wfw:commentRss>http://flickeringtubelight.net/blog/2010/05/the-4-squares-problem-extended/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
