<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Stuff</title>
	<atom:link href="http://vinayakpathak.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinayakpathak.wordpress.com</link>
	<description>"This isn't life. It's just stuff." -Lester Burnham</description>
	<lastBuildDate>Sat, 14 Jan 2012 14:40:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vinayakpathak.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Stuff</title>
		<link>http://vinayakpathak.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vinayakpathak.wordpress.com/osd.xml" title="Stuff" />
	<atom:link rel='hub' href='http://vinayakpathak.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Opinions and How They Change</title>
		<link>http://vinayakpathak.wordpress.com/2011/11/13/opinions-and-how-they-change/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/11/13/opinions-and-how-they-change/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 05:12:20 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[TCS]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=547</guid>
		<description><![CDATA[An individual forms opinions based on how he can himself assimilate the facts around him and also based on what opinions his friends and other people he interacts with hold. This makes things complicated and intriguing enough that this has been an active area of research since decades. One question is, can we formulate simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=547&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An individual forms opinions based on how he can himself assimilate the facts around him and also based on what opinions his friends and other people he interacts with hold. This makes things complicated and intriguing enough that this has been an active area of research since decades.</p>
<p>One question is, can we formulate simple enough models that match with the data we get from real life experiments? If we could, then we would get some insight into human behavior and a tool for making useful predictions.</p>
<p>The simplest model that has been studied is this:</p>
<p>An opinion is just a real number. Each person starts with an initial opinion. Next, in each time step, he looks at the opinions held by his friends and updates his own opinion to the average of his old opinion and the opinions of his friends. It doesn&#8217;t have to be a simple average. A person may have different trusts for different friends and thus he might want to take a weighted average instead. However the model doesn&#8217;t allow individuals to change the weights at any step. The weights chosen in the beginning have to be the weights always.</p>
<p>Using simple linear algebra tricks and borrowing known results from the <a href="http://en.wikipedia.org/wiki/Markov_chain">Markov Chain</a> literature, it can be shown that this kind of system converges to an equilibrium in most natural cases. An equilibrium here means a set of opinions for which the averaging step doesn&#8217;t lead to any change, i.e., for all individuals, the new opinion remains the same as the old one. In fact, it can be proved that the equilibrium that&#8217;s reached is a consensus, i.e., every individual has the same opinion.</p>
<p>An objection to this model that one might have is the simple representation of an opinion. Can it really be represented by just a single real number?</p>
<p>Anyway, DeGroot, the person who introduced this model also <a href="http://www.jstor.org/pss/2285509">showed</a> that the same thing happens if the opinions are drawn from any vector space and in each time step a person updates his opinion to some convex combination of the opinions of his friends (including himself).</p>
<p>That&#8217;s something.</p>
<p>The only issue is that in real life, people don&#8217;t reach consensus. So what&#8217;s going on?</p>
<p>Of course, the model seems too simple to resemble real life accurately. For one, the weights (or trust) we assign to people changes over time depending on various factors. For example, if a person seems to be changing his mind every minute, we will probably assign a lesser weight to his opinion.</p>
<p>Also, even though this process of repeated averaging has been shown to always converge to a consensus, we don&#8217;t really know the amount of time it takes to reach there. From what I know by quickly glancing through <a href="http://arxiv.org/abs/0905.4241">Bernard Chazelle&#8217;s new work on bird flocking</a>, the time taken by a community whose size is close to the population of a country to reach a consensus is probably way more than the age of the universe.</p>
<p>Anyway. Friedkin and Johnsen <a href="http://www.soc.ucsb.edu/faculty/friedkin/Reprints/JMSSINET90.PDF">modified</a> this model a bit to make it more realistic. In their model, an individual has a fixed internal opinion that doesn&#8217;t change with time and during an averaging step, he takes a weighted average of the opinions of his friends (including himself) and the fixed internal opinion. Because the internal opinion can be different for different people, this system will obviously not reach a consensus always.</p>
<p>The system does have an equilibrium though and Friedkin and Johnsen proved that the equilibrium is almost always reached.</p>
<p>However, their model is different from DeGroot&#8217;s simpler model in a fundamental way. Let me explain.</p>
<p>Given a set of numbers <img src='http://s0.wp.com/latex.php?latex=%7Ba_1%2C+%5Cldots%2C+a_n%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a_1, &#92;ldots, a_n}' title='{a_1, &#92;ldots, a_n}' class='latex' />, the mean is the number that minimizes the function <img src='http://s0.wp.com/latex.php?latex=%7B%28z-a_1%29%5E2%2B%5Cldots+%2B%28z-a_n%29%5E2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{(z-a_1)^2+&#92;ldots +(z-a_n)^2}' title='{(z-a_1)^2+&#92;ldots +(z-a_n)^2}' class='latex' />. Thus the averaging step above can be seen as a step where a person is trying to minimize the cost incurred with respect to the cost function <img src='http://s0.wp.com/latex.php?latex=%7B%5Csum_%7Bj%5Cin+N%28i%29%7D+%28z_i-z_j%29%5E2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;sum_{j&#92;in N(i)} (z_i-z_j)^2}' title='{&#92;sum_{j&#92;in N(i)} (z_i-z_j)^2}' class='latex' />. Here <img src='http://s0.wp.com/latex.php?latex=%7BN%28i%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{N(i)}' title='{N(i)}' class='latex' /> represents the neighborhood of <img src='http://s0.wp.com/latex.php?latex=%7Bi%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{i}' title='{i}' class='latex' />, i.e., the set of friends of <img src='http://s0.wp.com/latex.php?latex=%7Bi%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{i}' title='{i}' class='latex' />.</p>
<p>With the above definition of cost, we can measure the quality of a certain opinion vector. For example, we can say that the sum of costs incurred by each person is the social cost of the whole group. And then given an opinion vector, we can decide how good it is by measuring how far it is from the opinion vector that minimizes the social cost. In particular, we can measure the quality of the opinion vector that the group converges to in equilibrium.</p>
<p>The fundamental difference between DeGroot&#8217;s model and Friedkin and Johnsen&#8217;s model is that in DeGroot&#8217;s model, the equilibrium reached also minimizes the total social cost but in Friedkin and Johnsen&#8217;s model, it does not necessarily.</p>
<p>David Bindel, Jon Kleinberg and Sigal Oren prove in their <a href="http://www.cs.cornell.edu/home/kleinber/focs11-opinions.pdf">FOCS &#8217;11 paper</a> that the situation is not that bad. Even though the total cost at equilibrium may not minimize the total social cost, it can be worse at most by a factor of 9/8. That&#8217;s pretty cool.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/tcs/'>TCS</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/547/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/547/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/547/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=547&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/11/13/opinions-and-how-they-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Building the perfect world in four extremely difficult steps</title>
		<link>http://vinayakpathak.wordpress.com/2011/11/03/building-the-perfect-world-in-four-extremely-difficult-steps/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/11/03/building-the-perfect-world-in-four-extremely-difficult-steps/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 21:55:51 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=540</guid>
		<description><![CDATA[(I had written this for Goodblogs a long time ago.) A perfect world would be one where everyone just did whatever they wanted to and lived happily doing that. If tomorrow, everyone just decides to do whatever they want to, the world will turn into a chaos. For example, no one will want to clean [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=540&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(I had written this for <a href="http://goodblogs.com">Goodblogs</a> a long time ago.)</p>
<p>A perfect world would be one where everyone just did whatever they wanted to and lived happily doing that.</p>
<p>If tomorrow, everyone just decides to do whatever they want to, the world will turn into a chaos. For example, no one will want to clean the garbage and as a result, we will eventually rot in our own filth. To keep the world working, it is necessary that at least some people do things that they don&#8217;t particularly like doing. Can we repair this? In general, can we design a perfect world, a world where you never have to feel guilty, a world where you can just do whatever you feel like at any given moment and that will be the best thing to do for you and for the society? If yes, then what are the steps we need to take?</p>
<p>To understand this, we first need to understand what is the best thing for the society. There are things that are good for some people and bad for the others and there are things, that are good for the society right now, but in the long run, will lead to the decay of mankind. Let&#8217;s, for the time being, define &#8216;best&#8217; as the thing that has the best average over people and over time. That is, we take the average happiness level of the world at this time and then take the average of this average over time. The best thing then, would be the thing that maximizes this average.</p>
<p>Once we have this out of our way, we can understand that the essential problem is to align what an individual feels like doing at a given moment and what&#8217;s the best thing to do for the society at that moment. Since our definition of &#8216;best&#8217; depends on happiness levels of people, there are two extreme approaches to solving this problem. One extreme is to reprogramme the human brain so that it feels happy or sad in a more controlled way. This extreme is slightly trivial. All we need to do is to build the perfect mood enhancing drug and make it compulsory for everyone to take it. This will suddenly boost up the total happiness level of the world. The other extreme is to leave the human brain untouched and reengineer the world in such a way that whatever we want at this moment is made possible immediately. This is perhaps impossible. It&#8217;s easy to imagine an individual getting so angry at another person that he genuinely wants to kill him, or harm him severely in some other way. If then, this were made possible immediately for him, it would create more grief to the person being harmed than happiness to the person inflicting the harm. It&#8217;s similarly easy to imagine completely outrageous, or even physically impossible wishes that a person can make. One might have to break some laws of physcis to make that possible immediately. Since this approach seems impossible and the other extreme is kind of sad, the ideal should lie somewhere between the two extremes.</p>
<p>One possible midway approach is the following.</p>
<p>Step 1 &#8211; Build robots to do all the dirty work that no one in the world wants to do but is necessary to be done. This will leave out the kinds of work that at least some people in the world like doing. Let them do that work. But there might still be problems. The person who likes doing the work X might be living in Japan and the place where X needs to be done might be in Canada. Moreover, if we consider one person who likes doing X, then he may not want to do X all the time. The time when X needs to be done in Canada, he might be in a mood to go swimming with his kids.</p>
<p>Step 2 &#8211; Build a global work organizer. This will be some huge global device that will take the help of the internet. It will monitor what each person in the world is in the mood of doing right now and the things that need to be done at this moment in different parts of the world. Then, it will match the tasks to the suitable people. Since the world is such a large place, we can assume that what a random person wants to do at a given moment is useful for someone somewhere in the world and what&#8217;s useful for a given person is being wanted to be done by someone somewhere in the world. If there is some task, where this doesn&#8217;t happen, we already have step 1 to take care of it. Such things are already being done. There are several outsourcing services online for tasks that do not require physical presence. For example, Mechanical Turk and oDesk are websites that are designed exactly for this purpose. Even GoodBlogs is similar. The previous post I wrote was originally intended to be an email to my mother. But somehow somewhere in the world, there was a group of people who agreed to give me $20 for it. However, building this global work organizer will still not build the perfect world. For that, we will need the next step.</p>
<p>Step 3 &#8211; Upgrade the human mind so that its emotions are in control. For example, no one should ever feel like seriously inflicting any harm on anyone else. Not just this, but one will also need to make sure to not inflict any harm on the future self. Even if everyone is full of kindness and love towards others, one still might want to smoke a cigarette and thus suffer with lung cancer later in life. If not, then one may simultaneously want to learn how to play the piano <em>and</em> to not practise, or, to get a girl <em>and</em> to not develop the skills to woo women etc etc.</p>
<p>Step 4 &#8211; Make learning easy. Even if we are the masters of our own emotions, have robot servants and are never forced to do something that we don&#8217;t want to do, there might be a situation where we want to learn something quickly but we can&#8217;t. For example, one one may be craving good food, but not know how to cook. Then it will be good to have a plugin that they can install on their mind to give them that feature in a few seconds.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/540/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=540&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/11/03/building-the-perfect-world-in-four-extremely-difficult-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Pass My Will</title>
		<link>http://vinayakpathak.wordpress.com/2011/10/20/pass-my-will/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/10/20/pass-my-will/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 22:11:53 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=524</guid>
		<description><![CDATA[Did you hear about the new website http://passmywill.com/ ? This is from a Lifefacker article describing the new service - PassMyWill is a free service that will check in with Facebook and Twitter to see if you&#8217;re alive and posting updates, if you don&#8217;t appear to be active, it will send you an email to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=524&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Did you hear about the new website <a href="http://passmywill.com/">http://passmywill.com/</a> ? This is from a <a href="http://lifehacker.com/5846084/passmywill-sends-out-your-passwords-after-you-die">Lifefacker article</a> describing the new service -</p>
<blockquote><p>PassMyWill is a free service that will check in with Facebook and Twitter to see if you&#8217;re alive and posting updates, if you don&#8217;t appear to be active, it will send you an email to confirm your death, then it sends out emails to everyone on your list if you don&#8217;t respond</p></blockquote>
<p>Even though the service might be genuinely useful for some, I can&#8217;t stop noticing the humor associated with it. For example, what exactly is the confirmation email going to say?</p>
<p>Hey,</p>
<p>We noticed your inactivity on Facebook and were worried that you might have died. Please reply to this email if you are still alive.</p>
<p>Regards,</p>
<p>PassMyWill</p>
<p>It&#8217;s a bit like asking a woman if she&#8217;s pregnant. It&#8217;s funny if it turns out that she&#8217;s just fat. Similarly, the reason why you haven&#8217;t visited Facebook in a while could be just that you were on vacation.</p>
<p>On the plus side, it will serve as a nice reminder to catch up with your friends. If someone&#8217;s started doubting that you might be dead, then it&#8217;s probably the right time to amp up your social life a bit.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/524/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=524&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/10/20/pass-my-will/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Two simple questions</title>
		<link>http://vinayakpathak.wordpress.com/2011/10/04/two-simple-questions/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/10/04/two-simple-questions/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 22:41:43 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[TCS]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=520</guid>
		<description><![CDATA[In how many ways can you distribute distinct objects into different bins? Of course, for each object, there are possible bins, so the total number of ways is . Now, consider the same question, except, the objects are not distinct any more. Thus all that matters is how many of them go into each bin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=520&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In how many ways can you distribute <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> distinct objects into <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> different bins?</p>
<p>Of course, for each object, there are <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> possible bins, so the total number of ways is <img src='http://s0.wp.com/latex.php?latex=%7Bk%5En%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k^n}' title='{k^n}' class='latex' />.</p>
<p>Now, consider the same question, except, the objects are not distinct any more. Thus all that matters is how many of them go into each bin and not which ones in particular.</p>
<p>The answer to this can be slightly complicated to calculate, but if we simplify things a bit and look for a loose upper bound, we can argue as follows. The problem is equivalent to assigning one number between 0 and <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> to each bin so that the sum of all <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> assigned numbers is exactly <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />. If we completely ignore the fact that the sum must be <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />, then we get that the total number of ways of assigning numbers is <img src='http://s0.wp.com/latex.php?latex=%7B%28n%2B1%29%5Ek%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{(n+1)^k}' title='{(n+1)^k}' class='latex' />.</p>
<p>I am certain that I knew both these things back in high school, but it was quite recently that I realized that the first one is exponential in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> and the second one is polynomial in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />. That&#8217;s a huge difference. Just making the objects distinct changes the total search space from polynomial to exponential.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/tcs/'>TCS</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=520&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/10/04/two-simple-questions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>How hard is NP-hard?</title>
		<link>http://vinayakpathak.wordpress.com/2011/10/04/how-hard-is-np-hard/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/10/04/how-hard-is-np-hard/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 22:20:03 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[TCS]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=514</guid>
		<description><![CDATA[Assuming P NP, an NP-hard problem cannot be solved in polynomial time. This means that there cannot exist an algorithm that, for all possible inputs, computes the corresponding output in polynomial time. However, NP-harndess doesn&#8217;t prohibit the existence of an efficient algorithm for only a subset of the possible inputs. For example, there is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=514&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Assuming P<img src='http://s0.wp.com/latex.php?latex=%7B%5Cneq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;neq}' title='{&#92;neq}' class='latex' /> NP, an NP-hard problem cannot be solved in polynomial time. This means that there cannot exist an algorithm that, for all possible inputs, computes the corresponding output in polynomial time. However, NP-harndess doesn&#8217;t prohibit the existence of an efficient algorithm for only a subset of the possible inputs. For example, there is a constant time algorithm for any problem that solves it for a constant number of instances. The algorithm just has a lookup table where the outputs of all the constant number of inputs are stored.</p>
<p>But this is an extreme case. Can there exist an algorithm for an NP-hard problem that solves it in polynomial time for a significantly large number of input instances? Or, more precisely, does there exist an algorithm, that, for all <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />, solves the problem in polynomial time for <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> inputs of size <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> is some fast growing function of <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />?</p>
<p>How fast growing should <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> be? One interesting choice for <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> is something that makes the average case complexity of the algorithm polynomial, i.e., if inputs are chosen uniformly at random from the set of all inputs, then the algorithm takes polynomial time in expectation. Of course, <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> will have to be fairly large for this to happen.</p>
<p>The interesting fact is that this <em>is</em> possible. For example, if you pick a graph on <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> vertices randomly, with a distribution that is uniform over all graphs with <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> vertices, then there exists an <a href="http://portal.acm.org/citation.cfm?id=22145.22193">algorithm</a> that decides whether the graph is hamiltonian or not in expected polynomial time.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/tcs/'>TCS</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/514/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=514&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/10/04/how-hard-is-np-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Hamiltonian cycles in maximal planar graphs</title>
		<link>http://vinayakpathak.wordpress.com/2011/09/25/hamiltonian-cycles-in-maximal-planar-graphs/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/09/25/hamiltonian-cycles-in-maximal-planar-graphs/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 18:14:53 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[TCS]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=506</guid>
		<description><![CDATA[Whitney proved long ago that every maximal planar graph with no separating triangles is Hamiltonian. However, the converse is not necessarily true, that is, there exist maximal planar graphs that are hamiltonian and have separating triangles. So what happens when a maximal planar graph has separating triangles? Is there still some condition under which we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=506&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whitney <a href="http://www.jstor.org/stable/1968197">proved</a> long ago that every maximal planar graph with no separating triangles is Hamiltonian. However, the converse is not necessarily true, that is, there exist maximal planar graphs that are hamiltonian <em>and </em>have separating triangles. So what happens when a maximal planar graph has separating triangles? Is there still some condition under which we can say with certainty that it will be Hamiltonian as well?</p>
<p>One <a href="http://people.math.gatech.edu/~yu/Papers/triang7.pdf">theorem</a> of this kind was shown by Jackson and Yu.</p>
<p>Consider a maximal planar graph <img src='http://s0.wp.com/latex.php?latex=G&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G' title='G' class='latex' /> with a separating triangle <img src='http://s0.wp.com/latex.php?latex=T&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='T' title='T' class='latex' />. <img src='http://s0.wp.com/latex.php?latex=G&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G' title='G' class='latex' /> can be decomposed into two graphs <img src='http://s0.wp.com/latex.php?latex=G_1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_1' title='G_1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=G_2&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_2' title='G_2' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=G_1+%5Ccup+G_2+%3D+G&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_1 &#92;cup G_2 = G' title='G_1 &#92;cup G_2 = G' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=G_1+%5Ccap+G_2+%3D+T&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_1 &#92;cap G_2 = T' title='G_1 &#92;cap G_2 = T' class='latex' />. If <img src='http://s0.wp.com/latex.php?latex=G_1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_1' title='G_1' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=G_2&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G_2' title='G_2' class='latex' /> still has separating triangles, then decompose them similarly. Eventually, we will be left with a collection <img src='http://s0.wp.com/latex.php?latex=S&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='S' title='S' class='latex' /> of maximal planar graphs without any separating triangles. Now, consider a graph whose nodes represent elements of the set <img src='http://s0.wp.com/latex.php?latex=S&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='S' title='S' class='latex' /> and there is an edge between two nodes if they share a separating traingle in <img src='http://s0.wp.com/latex.php?latex=G&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G' title='G' class='latex' />. Let&#8217;s call this graph <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='D' title='D' class='latex' />. The theorem by Jackson and Yu states that if <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='D' title='D' class='latex' /> has maximum degree 3, then <img src='http://s0.wp.com/latex.php?latex=G&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='G' title='G' class='latex' /> is Hamiltonian.</p>
<p>This way of decomposing maximal planar graphs has been popular. It was first <a href="http://cms.math.ca/cjm/v32/cjm1980v32.0734-0765.pdf">used</a> by William Cunningham and Jack Edmonds in 1980. They proved several interesting results about the decomposition graph <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='D' title='D' class='latex' />.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/tcs/'>TCS</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/506/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=506&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/09/25/hamiltonian-cycles-in-maximal-planar-graphs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Intelligence and How to Get it</title>
		<link>http://vinayakpathak.wordpress.com/2011/09/04/intelligence-and-how-to-get-it/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/09/04/intelligence-and-how-to-get-it/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 13:55:21 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=500</guid>
		<description><![CDATA[Some time ago, I read a book called Intelligence and How to Get it: Why Schools and Cultures Count, written by Richard E. Nisbett. That&#8217;s when I became intelligent. The book has some very interesting research about intelligence. It basically tries to argue that intelligence is not completely in the genes. Anyway, while I was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=500&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time ago, I read a book called Intelligence and How to Get it: Why Schools and Cultures Count, written by Richard E. Nisbett.</p>
<p>That&#8217;s when I became intelligent.</p>
<p>The book has some very interesting research about intelligence. It basically tries to argue that intelligence is not completely in the genes.</p>
<p>Anyway, while I was reading the book, I started writing up some interesting stuff that I read, and emailing it to some friends. The idea was of course, to archive things so that, you know, when 10 years from now, I start writing my New York Times bestseller, I have access to all the material I was reading.</p>
<p>Now, I realized that the emails can actually be shared online. So <a href="http://vinayakpathak.files.wordpress.com/2011/09/intelligence1.pdf">here</a> is a pdf that has all the emails in this series. When I was writing those emails, I was not trying to make them into well organized essays. Thus this pdf looks like a collection of various independent thoughts. I have separated those indpendent thoughts with a line made of asterisks.</p>
<p>I did the same thing with some other books that I read too. I will post their respective pdf&#8217;s here as well.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/500/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=500&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/09/04/intelligence-and-how-to-get-it/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>The New X-Men Movie</title>
		<link>http://vinayakpathak.wordpress.com/2011/06/27/the-new-x-men-movie/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/06/27/the-new-x-men-movie/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 16:33:36 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=498</guid>
		<description><![CDATA[It&#8217;s annoying when someone who has never taken a Physics 101 course tries to make a sci-fi movie. Case in point is the new X-men movie &#8211; X-men first class. Let me explain. My first problem is with Magneto. He is the superhero who can change himself into a magnet and pull or push things [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=498&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s annoying when someone who has never taken a Physics 101 course tries to make a sci-fi movie. Case in point is the new X-men movie &#8211; X-men first class. Let me explain.</p>
<p>My first problem is with Magneto. He is the superhero who can change himself into a magnet and pull or push things that are made of iron, or other magnetic materials at his will. All that is acceptable. What&#8217;s not acceptable is when he pulls a whole submarine out of the ocean. Even if we assume that somehow he is able to muster enough magnetic strength into his body to significantly move such a heavy object against the strong pull of gravitation, my problem is this &#8211; what happened to Newton&#8217;s third law of motion?</p>
<p>We were taught in high school that forces exist only in pairs called action-reaction pairs. That is to say, you cannot apply a force on another object independently. Whenever you try to do that, the other object will apply an equal and opposite force on you. For example, when the earth pulls us down, we pull the earth up with the same force. It&#8217;s just that since our mass is so insignificant compared to the mass of the earth, the force has a visible effect on us but very close to zero effect on the earth. And since we are distributed all over the surface, these already negligible effects cancel each other out to a large extent.</p>
<div id="body_ad"></div>
<p>Now if we look at Magneto pulling the submarine out of the ocean with the sheer pull of his magnetic body, Newton&#8217;s third law would suggest that the submarine should also pull Magneto downwards with the same force. And since Magneto&#8217;s own mass is negligible compared to the mass of the submarine, the effect that you see on the submarine should be negligible compared to the effect you see on Magneto. What I am trying to say is that if Magneto can apply a force enough to pull the submarine out, he himself should fly at an enormous velocity towards the submarine and die within milliseconds of the impact.</p>
<p>You might argue that come on, he&#8217;s a superhero and so he can do everything. But the problem with this argument is that he actually has clearly defined powers. His power is to turn himself into a magnet. Honestly, if a superhero could violate Newton&#8217;s third law, then this power would be way more impressive than being able to turn himself into a magnet. He should have been called the third law violato or something, instead of Magneto.</p>
<p>My second problem is that dude who could fly simply by wearing wing-shaped clothes and screaming in an ultrasonic voice. In fact, I can&#8217;t fathom a reasonable scenario that could lead someone into thinking that these two things were related. The only thing that comes to mind is this &#8211; bats emit ultrasonic sounds and they can fly. But really? Is that all that you need to be convinced that you can fly <em>by producing</em> ultrasonic sounds? Human history is full of incidences where someone died because of an attempt at flying without thinking things through. Is this really all they were missing? Scream at the top of your voice while flying? I wonder why inspite of so much advancement in flying technologies, there does not exist a single aircraft that works on this ultra-sonic sound princple. It should be way easier than all that stuff the Wright brothers did! All we really need is a loose sweater and a sonographic equipment from the nearest hospital!</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=498&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/06/27/the-new-x-men-movie/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>What I hate about the way people do research</title>
		<link>http://vinayakpathak.wordpress.com/2011/05/19/what-i-hate-about-the-way-people-do-research/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/05/19/what-i-hate-about-the-way-people-do-research/#comments</comments>
		<pubDate>Thu, 19 May 2011 15:20:54 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=492</guid>
		<description><![CDATA[I agree with this article from Daniel Lemire&#8217;s blog so much that I thought I should post a link to it on my blog. To quote from the article - In the conventional peer review system, you seek to please the reviewers who in turn try to please the editor who in turn is trying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=492&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I agree with <a href="http://lemire.me/blog/archives/2011/05/18/the-perils-of-filter-then-publish/">this</a> article from Daniel Lemire&#8217;s blog so much that I thought I should post a link to it on my blog.</p>
<p>To quote from the article -</p>
<blockquote><p>In the conventional peer review system, you seek to please the reviewers who in turn try to please the editor who in turn is trying to guess what the readers want. It should not be a surprise that the papers are optimized for peer review, not for the reader. While you will eventually get your work published, you may have to drastically alter it to make it pass peer review. <strong>A common theme is that you will need to make it look more complicated.</strong> In a paper I published a few years ago, I had to use R*-trees, not because I needed them, but because other authors had done so. When I privately asked them why they had used R*-trees, while it was easy to check experimentally that they did not help, the answer was “it was the only way to get our paper in a major conference”. So my work has been made more complicated for the sole purpose of impressing the reviewers: “look, I know about R*-trees too!” Several times, during the course of peer review, I was asked to remove material which was judged to be “textbook material”: didactic material is frowned upon in many circles (hint: it is not fancy enough).  Be warned: if you find an easy way to prove a result, and it ends up looking trivial in retrospect, your work may become unpublishable. You will need to invent all sorts for complex related problems to pass peer review. It explains why several  important results appear as remarks in long and complicated papers. Either purposefully, or by habit, people will write in a way to make their paper pass peer review even if it makes the work inaccessible. Do you think research papers have to be boring? If so, you have been brainwashed.</p></blockquote>
<p>Also,</p>
<blockquote><p>You know how you succeed in science these days? Take a few ideas, then try every small variation of these ideas and make a research paper out of each one of them. Each paper will look good and be written quickly, but your body of work will be highly redundant. Instead of working toward deep contributions, we encourage people to repeat themselves more and more and collect many shallow contributions. We sacrifice scholarship for vanity.</p></blockquote>
<p>This is all very true. This kind of attitude is so prevalent in the research community that it cannot go unnoticed. You will find well respected researchers taking up a problem that&#8217;s already solved, finding a variation that&#8217;s completely meaningless and devoid of motivation and then solving it, because as long as the solution turns out to be complicated enough there will be a respected conference or journal to accept it as a paper. New researchers are encouraged to jump into this rat race. Most people are always on a lookout for problems to solve. It doesn&#8217;t really matter if the problem is going to bring new insight into the way we think about the field in which they are working. It doesn&#8217;t really matter if the problem doesn&#8217;t fit into any of the <a href="http://vinayakpathak.wordpress.com/2010/08/22/the-31-kinds-of-research/">three categories I listed in an earlier post</a>. All that matters is that it fits into the fourth one &#8211; that you can get a paper out of it.</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/492/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=492&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/05/19/what-i-hate-about-the-way-people-do-research/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting fact #5</title>
		<link>http://vinayakpathak.wordpress.com/2011/05/14/interesting-fact-5/</link>
		<comments>http://vinayakpathak.wordpress.com/2011/05/14/interesting-fact-5/#comments</comments>
		<pubDate>Sat, 14 May 2011 13:34:36 +0000</pubDate>
		<dc:creator>vinayakpathak</dc:creator>
				<category><![CDATA[Interesting facts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[richard dawkins]]></category>

		<guid isPermaLink="false">http://vinayakpathak.wordpress.com/?p=489</guid>
		<description><![CDATA[Richard Dawkins can&#8217;t roll his tongue into a tube. (He says this in a book. I am not sure if he was just cooking up an example or he really meant this.) Filed under: Interesting facts, Uncategorized Tagged: richard dawkins<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=489&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Richard Dawkins can&#8217;t roll his tongue into a tube.</p>
<p>(He says this in a book. I am not sure if he was just cooking up an example or he really meant this.)</p>
<br />Filed under: <a href='http://vinayakpathak.wordpress.com/category/uncategorized/interesting-facts/'>Interesting facts</a>, <a href='http://vinayakpathak.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://vinayakpathak.wordpress.com/tag/richard-dawkins/'>richard dawkins</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinayakpathak.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinayakpathak.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinayakpathak.wordpress.com/489/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinayakpathak.wordpress.com&amp;blog=1815282&amp;post=489&amp;subd=vinayakpathak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinayakpathak.wordpress.com/2011/05/14/interesting-fact-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vinayakpathak</media:title>
		</media:content>
	</item>
	</channel>
</rss>
