<?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>Neeldhara Misra</title>
	<atom:link href="http://neeldhara.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://neeldhara.com</link>
	<description>Doing Nothing Since 1987</description>
	<lastBuildDate>Fri, 18 May 2012 14:13:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How Expensive Can Homework Help Be? (2)</title>
		<link>http://neeldhara.com/iterative-compression-2/</link>
		<comments>http://neeldhara.com/iterative-compression-2/#comments</comments>
		<pubDate>Wed, 16 May 2012 10:25:26 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Expositions]]></category>
		<category><![CDATA[expository]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=278</guid>
		<description><![CDATA[This post is based on an expository explanation of iterative compression that I attempted at the Institute Seminar Week in 2010, at IMSc. (Continued from Part 1.)]]></description>
			<content:encoded><![CDATA[<p>This post is based on an expository explanation of iterative compression that I attempted at the Institute Seminar Week in 2010, at IMSc.</p>
<p><a href="http://neeldhara.com/iterative-compression-1/">Read Part 1</a></p>
<hr />
<p>Tapesh is up into the middle of the night waiting for the brainwave that will make him completely self-dependent, at least in the broad context of finding small vertex covers in large graphs. </p>
<p>He is still impressed that he has just found a general scheme for taking a vertex cover of size 24 and bringing it down to 23. Wanting to make the most of the only trick he knew, he wondered if he could use it more than once.</p>
<p>So he looked at the 1,000-vertex monstrosity and contemplated the possibility of working with a manageable chunk first. What if he selected an easy subgraph $H$for isolated consideration? Surely, if $G$ has a vertex cover of 23 vertices, $H$ has one too. So all he would need is to find a vertex cover on 24 vertices, and he already knew how to squish it to one of size 23. </p>
<p>What was the easiest chunk that he could work with? One on which finding a vertex cover of size 24 wasn&#8217;t hard? </p>
<p>But of course, a subgraph on 24 vertices would be really easy to deal with!</p>
<p>The entire graph $H$ would serve as it&#8217;s own vertex cover, would be of size 24 &#8212; it couldn&#8217;t get easier than that.</p>
<p>So Tapesh starts by selecting the first 24 vertices that he can find, and applies his squishing strategy to find a vertex cover on 23 vertices.</p>
<p>What now?</p>
<p>He gives the remaining 976 vertices a hesitant look. </p>
<p>Maybe it was time to grow $H$ to include some more vertices? If Tapesh could get $H$ to eventually morph into being all of $G$&#8230; he would be done!</p>
<p>But if he added a whole bunch of new vertices, he would need to do something about finding a vertex cover of size 24 in the bigger $H$ to make progress&#8230; but that sounded like work <img src='http://neeldhara.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Maybe, maybe just let in <em>one</em> more vertex into the precious subgraph, $H$? Indeed, there is enough room in the vertex cover of size 23 for one more vertex. So $H$ would grow by a single vertex, and so would the vertex cover &#8211; and then Tapesh could squish it <em>again!</em></p>
<p>And there is no stopping Tapesh from repeating this 975 times more, and each time, the reincarnated $H$ would be one larger than before, and every time he would beat down the vertex cover to one of size 23, till he got to the end.</p>
<p>But, Tapesh wonders sleepily, wouldn&#8217;t this take awfully long?</p>
<p>The squishing was quick, and now it has to be done 977 times altogether&#8230; and even at the lesiurely pace of doing one iteration in one second, you would need less than half an hour before you finished. </p>
<p>Not too shabby &#8212; certainly no waiting for unvierses to come and go!</p>
<p>In general, the problem of finding a vertex cover of size $k$ in a graph on $n$ vertices vertices <a href="#" title="There are many algorithms that are speedier, too. You are invited to come up with one that is faster!" class="tinytips">can be done</a> in time: $$O((n-k) \cdot 2^k)$$ following the recipe in this story. </p>
<p>If this algorithm aborts, unable to find a vertex cover of size $k$, it is because a subgraph did not have a vertex cover of size $k$. Of course, this also means that the entire graph does not have a vertex cover of size $k$ either, so the process makes sense. </p>
<p>It is important to note that not every problem is designed to fit this bill, for instance, if the next homework assignment demands a vertex cover that is also connected, the iteration procedure, as it stands, might not be accurate when it reports a negative answer.</p>
<p>The next assignment, therefore, potentially leads to a more demanding adventure. </p>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/iterative-compression-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How expensive can homework help be? (1)</title>
		<link>http://neeldhara.com/iterative-compression-1/</link>
		<comments>http://neeldhara.com/iterative-compression-1/#comments</comments>
		<pubDate>Thu, 10 May 2012 11:38:39 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Expositions]]></category>
		<category><![CDATA[expository]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=233</guid>
		<description><![CDATA[This post is based on an expository explanation of iterative compression that I attempted at the Institute Seminar Week in 2010, at IMSc.]]></description>
			<content:encoded><![CDATA[<p>This post is based on an expository explanation of iterative compression that I attempted at the Institute Seminar Week in 2010, at IMSc.</p>
<hr />
<p>Tapesh has been struggling lately with the dire task of undergraduate homework. He has been asked to find a <a href="http://en.wikipedia.org/wiki/Vertex_cover" target="_blank">vertex cover</a> on 23 vertices &#8211; not one more &#8211; in a graph that has a thousand vertices. Being the straightforward boy, Tapesh considers writing a program that will try its luck on <em>every</em> possible subset of 23 vertices. </p>
<p>He then heads over to <a href="http://www.wolframalpha.com/input/?i=%281000+choose+23%29%2F10%5E24+seconds%2C+age+of+the+universe+in+seconds" title="Follow the link to see the computation." class="tinytips">Wolfram Alpha</a> to check how long it will be before he&#8217;s done, assuming (rather liberally) that he has at his disposal a computer that can perform $10^{24}$ operations per second.</p>
<p>It turns out that he, and more critically, his professor, would be in for a long, long wait. The algorithm would need time proportional to the age of the universe many times over, and this is decidedly depressing, particularly when one&#8217;s expected lifespan appears to be determined by the deadline for turning in homework.</p>
<p>Tapesh now appeals to his very clever cousin, Prodosh, for help.</p>
<p>Prodosh borrows the monstrous graph, and in short order, points out a vertex cover on 24 vertices, using powers evidently beyond what processors with $10^{24}$ FLOPS can do. Tapesh is thrilled, however&#8230;</p>
<p>&#8220;I need to get one with 23, the assignment says <em>not one more</em> &#8212;&#8221;</p>
<p>&#8220;Time for a smoke,&#8221; Prodosh yawns, and then delves into a distracted, pensive mood, with no signs of immediate return.</p>
<p>Tapesh is torn, but he decides to (gulp) show whatever he has so far &#8211; after all, it is progress! </p>
<p>Predictably, Professor Maganlal displays no signs of being impressed, but he grudgingly admits that Tapesh&#8217;s solution (which we will call $T$) is not very far from the correct answer, and points out those vertices in $T$ that happen to partake in the solution that was sought. </p>
<p>Tapesh is back to the drawing board, but with the distinct feeling that he is now armed with enough information to crack the code himself. </p>
<p>His solution $T$ is now partitioned into the good part $(T_G)$, that is, all the vertices of $T$ that belong to $X$, and the bad part $(T_B)$, which are all the vertices that do not belong to $X$.</p>
<p>&#8220;Aha.&#8221;</p>
<p>Necessarily, all the neighbors of the bad part must belong to $X$!</p>
<p>He checks, and sure enough, the number of vertices in $T_G$ and $N(T_B)$ is an exact, resounding 23. Also, very fortunately, there are no edges in $T_B$, so he has no trouble swapping $T_B$ for $N(T_B)$ to get to the newer and smaller vertex cover.
</p>
<p>Mission accompolished!</p>
<p>Now more confident, Tapesh wonders if he could have arrived at $X$ all on his own. Indeed, what would he have done without Pradosh&#8217;s help? And without Professor Maganlal giving him that partition? </p>
<p>Come to think of it, the second question has an easy answer. Tapesh would just try all possible partitions of the solution that Pradosh had given him. He would only have to disregard the partitions that didn&#8217;t work&#8230;  and sooner or later, he would hit the one that his Professor so graciously suggested. This would mean <a href="http://www.wolframalpha.com/input/?i=%282%5E24%29%2F10%5E9+seconds">examining $2^{24}$ subsets</a>, a matter of a split second for a personal computer. </p>
<p>But &#8211; can he replicate Pradosh&#8217;s magic on his own? </p>
<p>Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/iterative-compression-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sprinkles of the Sky</title>
		<link>http://neeldhara.com/sprinkles-of-the-sky/</link>
		<comments>http://neeldhara.com/sprinkles-of-the-sky/#comments</comments>
		<pubDate>Wed, 09 May 2012 15:01:49 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Poetry]]></category>
		<category><![CDATA[writings]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=234</guid>
		<description><![CDATA[Dedicated to the fact that I have never woken up in the morning :(]]></description>
			<content:encoded><![CDATA[<div style="max-width: 450px; margin: 0 auto;">
<div class="two_col">
<h3></h3>
<p>
<p>A dubious draft of air<br />
comes, goes<br />
as if wondering<br />
if the air’s welcoming</p>
<p>Soft rays tiptoe<br />
by the window<br />
as if shy<br />
to come inside
</p>
<p></p>
</div><br />
<div class="two_col last">
<h3></h3>
<p></p>
<p style="text-align: right;">Sprinkles of the sky<br />
lie in drops of dew<br />
as if captive,<br />
somewhat pensive</p>
<p style="text-align: right;">And I snuggle deeper<br />
into a distant dream<br />
as if I could see<br />
a better place to be
</p>
<p></p>
</div></p>
</div>
<div class="clearfix"></div>
<hr />
<p style="margin-top:50px;">
<p>I stole the title from a phrase in <em>Hairat</em>, <a href="http://www.youtube.com/watch?v=oz6LoxmLJTY">a song</a> that features in <a href="http://en.wikipedia.org/wiki/Anjaana_Anjaani">Anjaana Anjaani</a>. Incidentally &#8211; I am very addicted to the entire album!</p>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/sprinkles-of-the-sky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permutations with Cycles</title>
		<link>http://neeldhara.com/permutations-with-cycles/</link>
		<comments>http://neeldhara.com/permutations-with-cycles/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 11:38:06 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Digital Sketches]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[illustrations]]></category>
		<category><![CDATA[permutations]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=9</guid>
		<description><![CDATA[A digital sketch inspired by an expression to do with permutations that have k cycles. ]]></description>
			<content:encoded><![CDATA[<p>This is a digital sketch inspired by the equality:</p>
<p>$$ C(n,k) = C(n-1,k-1) + C(n-1,k) (n-1), $$</p>
<p>where $C(n,k)$ denotes the number of permutations of, say, $[n]$ with $k$ <a title="A permutation cycle is a subset of a permutation whose elements trade places with one another. Ask Google for more if you haven’t encountered them." href="#" class="tinytips">cycles</a>. The equality is nearly self-explanatory — you simply knock off one of the elements (let’s do away with $n$) and stare at permutations of $[n-1]$.</p>
<p><a href='http://neeldhara.com/permutations-with-cycles/#SID9_1_tgl' title='Visit blog to check out this spoiler'>[[Visit blog to check out this spoiler]]</a></p>
<p><a href="http://neeldhara.com/wordpress/wp-content/uploads/2010/06/cycles2.png" rel="lightbox[roadtrip]" title="Permutations with Cycles"><img class="aligncenter" src="http://neeldhara.com/wordpress/wp-content/uploads/2010/06/cycles-small.png" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/permutations-with-cycles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number of Subsets</title>
		<link>http://neeldhara.com/number-of-subsets/</link>
		<comments>http://neeldhara.com/number-of-subsets/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 11:12:21 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Digital Sketches]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=294</guid>
		<description><![CDATA[I remember a particular book that I used to flip through often when I was a kid. It was called Proof by Pictures, or something to that effect. I was fascinated that someone could prove something without saying a word. The “proof” may not always be clear &#8212; when it is, it is quite charming, [...]]]></description>
			<content:encoded><![CDATA[<p>I remember a particular book that I used to flip through often when I was a kid. It was called <em>Proof by Pictures</em>, or something to that effect. I was <em>fascinated</em> that someone could prove something without saying a word. The “proof” may not always be clear &#8212; when it is, it is quite charming, and when it isn&#8217;t, it can usually be treated as a worthy puzzle on its own right.</p>
<p>As a tribute to this bit of nostalgia, here&#8217;s a wallpaper explaining one of the earliest facts one encounters in discrete mathematics, namely that the total number of subsets of an $n$-element set is $2^n$. There are any number of ways of proving this, and I have attempted to capture the one by induction &#8212; in particular, the one where we observe that the new element either belongs, or does not belong, to one of the old subsets (that are made available inductively).</p>
<p><a href="http://neeldhara.com/wp-content/uploads/2010/06/subsets3.png" rel="lightbox[294]" title="subsets"><img src="http://neeldhara.com/wp-content/uploads/2010/06/subsets3-300x224.png" alt="" title="subsets" width="410" height="304" class="aligncenter size-medium wp-image-301" /></a></p>
<p>I am very much the vector graphics noob, so I stuck to the basics mostly out of lack of choice <img src='http://neeldhara.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  There is nothing fancy going on here &#8212; the only thing that may not be immediate is the half-colored star, which was obtained by overlaying a suitably shaped object and using Object &rarr; Clip &rarr; Set (this pretty much amounts to cropping your original object).</p>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/number-of-subsets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seek</title>
		<link>http://neeldhara.com/seek/</link>
		<comments>http://neeldhara.com/seek/#comments</comments>
		<pubDate>Fri, 07 May 2010 11:18:40 +0000</pubDate>
		<dc:creator>Neeldhara Misra</dc:creator>
				<category><![CDATA[Poetry]]></category>
		<category><![CDATA[writings]]></category>

		<guid isPermaLink="false">http://neeldhara.com/?p=73</guid>
		<description><![CDATA[A little poem to celebrate the joy of small things!]]></description>
			<content:encoded><![CDATA[<div style="max-width: 450px; margin: 0 auto;">
<p><div class="two_col">
<h3></h3>
<p><br />
Seek</p>
<p>poetry in a wisp<br />
of smoke, or</p>
<p>tragedy in the details<br />
of your incompetence</p>
<p>stories below<br />
newspaper headlines</p>
<p>peace after<br />
the passing of deadlines</p>
<p>a castle<br />
in the air</p>
<p>a choice<br />
that is fair<br />
</p>
</div><br />
<div class="two_col last">
<h3></h3>
<p></p>
<p style="text-align: right;">the absence of regret<br />
on a death bed</p>
<p style="text-align: right;">a reason, or otherwise<br />
to stay alive -</p>
<p style="text-align: right;">and quite possibly<br />
it shall be<br />
a quest unfulfilled.</p>
<p style="text-align: right;">Find a smile instead,<br />
and you will find<br />
strength</p>
<p style="text-align: right;">(if not reason)</p>
<p style="text-align: right;">to stay</p>
<p style="text-align: right;">another day.</p>
<p></p>
</div></p>
</div>
<div class="clearfix">
</div>
]]></content:encoded>
			<wfw:commentRss>http://neeldhara.com/seek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

