<?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>Xamuel.com</title>
	<atom:link href="http://www.xamuel.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xamuel.com/blog</link>
	<description>Articles by Sam Alexander</description>
	<lastBuildDate>Mon, 02 Apr 2012 14:33:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fifteenth Linkfest</title>
		<link>http://www.xamuel.com/fifteenth-linkfest/</link>
		<comments>http://www.xamuel.com/fifteenth-linkfest/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 14:18:20 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3840</guid>
		<description><![CDATA[This time around, I&#8217;m experimenting with a different format for the linkfests. Besides the format, I made an effort to write a little something about most of the links, rather than just raw links with no editorial value-added. Non-Technical R.J. Lipton: Interdisciplinary Research&#8211;Challenges (regarding the language barrier, I think the biggest problem isn&#8217;t new words [...]]]></description>
			<content:encoded><![CDATA[<p>This time around, I&#8217;m experimenting with a different format for the linkfests.  Besides the format, I made an effort to write a little something about most of the links, rather than just raw links with no editorial value-added.</p>
<h2>Non-Technical</h2>
<p>R.J. Lipton:
<ul>
<li><a href="http://rjlipton.wordpress.com/2012/03/24/interdisciplinary-research-challenges/">Interdisciplinary Research&#8211;Challenges</a> (regarding the language barrier, I think the biggest problem isn&#8217;t new words (even new words for the same thing), the biggest problem is different meanings for the SAME word.  For example, in mathematics, the notion of &#8220;topology&#8221; is pretty clear-cut.  But I&#8217;ve never been able to figure out what the word is supposed to mean when used in, say, the social sciences, where it almost seems to be a meaningless buzzword).  Sometimes vocabulary outside our own field is quite useful: the biological notion of a &#8220;clade&#8221; is used all the time in mathematics, but without ever being given such a short succinct name, and this results in a lot unnecessary verbiage.)</li>
<li><a href="http://rjlipton.wordpress.com/2012/03/19/the-singularity-is-here-in-chess/">The Singularity Is Here In Chess</a> (Detecting cheating in chess using mathematics.  Regarding the Open Problem at the end:  don&#8217;t we already cheat in mathematics using computers?  See e.g. the four color theorem)</li>
</ul>
<p>Timothy Gowers:
<ul>
<li><a href="http://gowers.files.wordpress.com/2012/03/talktalk2.pdf">The Work of Endre Szemerédi</a> (PDF)</li>
<li><a href="http://gowers.wordpress.com/2012/02/26/elseviers-open-letter-point-by-point-and-some-further-arguments/">Elsevier’s open letter point by point, and some further arguments</a> (world-class mathematician vs. mercenary Public Relations department)</li>
</ul>
<p>Bradley Garrett:
<ul>
<li><a href="http://www.placehacking.co.uk/thesis/">Place Hacking: Tales of Urban Exploration</a> (This document will rightfully go down in history as the world&#8217;s first doctoral dissertation on Urban Exploration)</li>
</ul>
<p>Cat Valente:
<ul>
<li><a href="http://www.antipope.org/charlie/blog-static/2012/02/shitsiskosays.html">#shitsiskosays</a> (a 21st century look at the old show Deep Space Nine, which, in retrospect, got The Future pretty badly wrong)</li>
</ul>
<p>Kas Thomas:</p>
<ul>
<li><a href="http://asserttrue.blogspot.com/2011/12/how-google-is-quietly-killing-firefox.html">How Google is Quietly Killing Firefox</a> (I can personally confirm what Kas says about programmers developing a 6th sense for what software is doing)</li>
<li><a href="http://asserttrue.blogspot.com/2012/02/splash-screens-sloth.html">Splash screens == sloth</a></li>
</ul>
<p>Tim Kastelle:
<ul>
<li><a href="http://timkastelle.org/blog/2012/02/you-are-responsible-for-getting-your-ideas-to-spread/">You Are Responsible for Getting Your Ideas to Spread</a> (&#8220;An artist who maintains that he has been misunderstood is almost always a bad artist&#8221;)</li>
</ul>
<p>Patrick Rhone:
<ul>
<li><a href="http://minimalmac.com/post/18189678921/tv-is-broken">TV Is Broken</a> (I can haz 21st century?)</li>
</ul>
<p>The Onion:
<ul>
<li><a href="http://www.theonion.com/articles/this-article-generating-thousands-of-dollars-in-ad,27564/">This Article Generating Thousands Of Dollars In Ad Revenue Simply By Mentioning New iPad</a></li>
</ul>
<p>Paul Graham:
<ul>
<li><a href="http://paulgraham.com/speak.html">Writing and Speaking</a> (this is why I prefer to read things rather than watch someone lecture about them)</li>
</ul>
<p>John Armstrong:
<ul>
<li><a href="http://unapologetic.wordpress.com/2012/03/08/a-continued-rant-on-electromagnetism-texts-and-the-pedagogy-of-science/">A Continued Rant on Electromagnetism Texts and the Pedagogy of Science</a></li>
</ul>
<p>Rich Gibbs:
<ul>
<li><a href="http://richg74.wordpress.com/2012/03/26/spinning-the-tsa/">Spinning the TSA</a> (a murderer on trial can&#8217;t just order the judge not to admit certain witnesses, so why do big institutions get to do exactly that?)</li>
<li><a href="http://richg74.wordpress.com/2012/03/22/new-einstein-archive-site-launched/">New Einstein Archive Site Launched</a> (Awesome news.  But why should these sites be limited to super-megastars like Einstein and Newton?  I dream of a day when EVERY dead scientist has such a site.  The internet might not be big enough to contain the Erdős archive, though&#8230;)</li>
<li><a href="http://richg74.wordpress.com/2012/03/20/firefox-to-support-spdy-protocol/">Firefox to support SPDY Protocol</a> (I could go on for days about the inefficiency of the HTTP protocol)</li>
<li><a href="http://richg74.wordpress.com/2012/03/14/encyclopaedia-britannica-to-drop-print-edition/">Encyclopædia Britannica to Drop Print Edition</a> (I love how twenty years ago, this would&#8217;ve made heads explode, but now it&#8217;s like &#8220;meh&#8230; Britannica hasn&#8217;t shuttered its doors yet?&#8221;)</li>
</ul>
<p>Stuart Buck:
<ul>
<li><a href="http://stuartbuck.blogspot.com/2012/02/trivia-quiz-for-dogs.html">A Trivia Quiz for Dogs</a> (funny)</li>
</ul>
<p>zhai2nan2:
<ul>
<li><a href="http://postgygaxian.wordpress.com/2012/04/01/ubisoft-releases-anno-2070-game-to-showcase-most-annoying-bugs/">Ubisoft releases Anno 2070 game to showcase most annoying bugs</a> (parody)</li>
<li><a href="http://postgygaxian.wordpress.com/2012/03/28/if-its-not-paying-you-anything-and-you-know-youre-not-enjoying-it-drop-it/">If it&#8217;s not paying you anything and you know you&#8217;re not enjoying it, drop it</a> (very obvious sounding, and yet I think we&#8217;ve all been guilty of disobeying this advice from time to time)</li>
</ul>
<p>Alex Papadimoulis:
<ul>
<li><a href="http://thedailywtf.com/Articles/The-ThankYou-Change.aspx">The Thank-You Change</a> (makes me appreciate how intelligent and great at communicating all my own colleagues are)</li>
</ul>
<p>Bill Gasarch:
<ul>
<li><a href="http://blog.computationalcomplexity.org/2012/03/math-was-mistake-i-made-it-too-hard.html">&#8220;Math was a mistake- I made it too hard&#8221;</a> (on an interesting dilemma in quoting people)</li>
<li><a href="http://blog.computationalcomplexity.org/2012/03/how-do-legit-fields-of-knowledge-decide.html">How do legit fields of knowledge decide between competing theories? How does Astrology?</a> (Relativistic Astrology.  Hah!)</li>
</ul>
<p>Thijs Markus:
<ul>
<li><a href="http://falkvinge.net/2012/01/31/why-acta-is-so-mercilessly-pursued/">Why ACTA is so mercilessly pursued</a> (when you stop producing anything of value and instead put everything into branding a product that slave workers overseas produce, and could sell themselves, suddenly you become extremely reliant on the government enforcing your monopoly with strongarm tactics)</li>
</ul>
<p>Kresimir Josic:
<ul>
<li><a href="http://kjosic.wordpress.com/2012/03/27/87/">Thinking Fast and Slow</a> (the social sciences still have a ways to go before they&#8217;re as rigorous as the science sciences)</a></li>
</ul>
<p>Rick Falkvinge:
<ul>
<li><a href="http://owni.eu/2012/03/08/copyright-patent-monopoly-stifle-innovation-falkvinge/">Copyright Monopolies Stifle Innovation &#8211; Just Ask History</a> (I&#8217;ll never understand how the decision to basically round up all the best things in society and bury them, is considered pro-innovation)</li>
</ul>
<p>Casey Bergman:
<ul>
<li><a href="http://caseybergman.wordpress.com/2012/03/24/did-finishing-the-drosophila-genome-legitimize-open-access-publishing/">Did Finishing the Drosophila Genome Legitimize Open Access Publishing?</a> (Going slightly off on a tangent, the other day, a PLoS ONE article on Drosophila was <a href="http://www.reddit.com/r/science/comments/r2wkz/a_fly_species_was_kept_in_complete_darkness_for/">featured on the front page of Reddit</a>, which almost certainly resulted in more people reading the article, in one single day, than would have read it in the entire lifetime of the universe if it had been published in one of the closed-access journals)</li>
</ul>
<p>John Robb:
<ul>
<li><a href="http://globalguerrillas.typepad.com/globalguerrillas/2012/03/drones-that-operate-for-years-on-their-own.html">Drones that Operate for Years on their Own</a></li>
</ul>
<p>Jon Henley:
<ul>
<li><a href="http://www.guardian.co.uk/world/2012/mar/16/greece-on-breadline-cashless-currency?newsfeed=true">Greece on the breadline: cashless currency takes off</a> (I wonder how long until they start using Bitcoins)</li>
</ul>
<p>Michael Lugo:
<ul>
<li><a href="http://gottwurfelt.wordpress.com/2012/02/25/test-design-and-grade-inflation/">Test Design and Grade Inflation</a> (brilliant idea for how to design tests to be more easily graded, I wish more departments would use this as the standard)</li>
</ul>
<p>Assistant Village Idiot:
<ul>
<li><a href="http://assistantvillageidiot.blogspot.com/2012/03/not-point.html">Not The Point</a> (a better title would be, &#8220;how NOT to convert people to your political ideology&#8221;)</li>
</ul>
<p>Simon Grey:
<ul>
<li><a href="http://cygne-gris.blogspot.com/2012/03/government-hypocrisy.html">Government Hypocrisy</a> (more security theater from the TSA)</li>
</ul>
<p>Dave Winer:
<ul>
<li><a href="http://scripting.com/stories/2012/03/16/beforeIUseBranch.html">Before I Use Branch</a> (not so interesting for the specifics of one particular commenting company, but for more general remarks on writing)</li>
<li><a href="http://scripting.com/stories/2012/03/08/theBugInOurProcess.html">The bug in our process</a> (it&#8217;s insane that California, Texas, and New York have the same number of senators as Montana, Wyoming, and Rhode Island)</li>
</ul>
<p>Alexandre Borovik:
<ul>
<li><a href="http://micromath.wordpress.com/2012/03/22/liars-paradox/">Liar&#8217;s Paradox</a> (more precisely, a very short nitpick about certain logic puzzles)</li>
</ul>
<h2>Technical</h2>
<p>Jesse Johnson:
<ul>
<li><a href="http://ldtopology.wordpress.com/2012/03/30/after-the-vhc-4/">After the VHC</a> (It is an interesting paradox that a field can become LESS exciting when an open problem in that field is solved)</li>
</ul>
<p>Jeffrey Morton:
<ul>
<li><a href="http://theoreticalatlas.wordpress.com/2012/03/26/cohomology-groupoidification-and-tqft/">Cohomology, Groupoidification, and TQFT</a></li>
</ul>
<p>Martin Davis:
<ul>
<li><a href="http://www.cs.nyu.edu/pipermail/fom/2012-February/016225.html">What are foundations for?</a></li>
</ul>
<p>Joan Moschovakis and Garyfallia Vafeiadou:
<ul>
<li><a href="http://www.math.ucla.edu/~joan/someaxiomsfinal.pdf">Some axioms for constructive analysis</a> (PDF)</li>
</ul>
<p>Tanya Khovanova:
<ul>
<li><a href="http://blog.tanyakhovanova.com/?p=396">Guessing the Suit</a> (beneath the fluff, there are very interesting questions about information coding here)</a></li>
</ul>
<p>Terence Tao:
<ul>
<li><a href="http://terrytao.wordpress.com/2012/03/23/some-ingredients-in-szemeredis-proof-of-szemeredis-theorem/">Some ingredients in Szemerédi’s proof of Szemerédi’s theorem</a> (includes an interesting comparison with Perelmen&#8217;s proof of the Poincaré conjecture)</li>
</ul>
<p>Gil Kalai:
<ul>
<li><a href="http://gilkalai.wordpress.com/2012/03/23/satoshi-murai-and-eran-nevo-proved-the-generalized-lower-bound-conjecture/">Satoshi Murai and Eran Nevo proved the Generalized Lower Bound Conjecture</a></li>
</ul>
<p>Burt Totaro:
<ul>
<li><a href="http://burttotaro.wordpress.com/2012/03/18/why-believe-the-hodge-conjecture/">Why believe the Hodge Conjecture?</a></li>
</ul>
<p>Russell O&#8217;Connor:
<ul>
<li><a href="http://arxiv.org/abs/1103.2841">Functor is to Lens as Applicative is to Biplate: Introducing Multiplate</a> (See <a href="http://blog.computationalcomplexity.org/2012/03/value-of-academic-publication.html">here</a> for some scandal surrounding the ACM concerning this paper&#8230; we commend O&#8217;Connor for his courage and foresight in making the paper public domain)</ul>
</li>
<p>Bill Gasarch:
<ul>
<li><a href="http://blog.computationalcomplexity.org/2012/02/erdos-de-bruijn-theorem.html">The Erdos- de Bruijn theorem</a> (Be sure to check out the comments as well as the main body of the article)</li>
</ul>
<h2>Art/Photography</h2>
<p>Telefunker:
<ul>
<li><a href="http://telefunker.wordpress.com/2012/03/25/puits-smn-france/">Puits SMN (France)</a> (Ever wonder what it would look like if a mine had its own power plant, and then the mine and the plant were abandoned and allowed to decay?  Look no further)</a></li>
<li><a href="http://telefunker.wordpress.com/2012/03/18/barenquell-brauerei-germany/">Bärenquell Brauerei</a> (abandoned brewery in Germany)</li>
</ul>
<p>Bradley Garrett:
<ul>
<li><a href="http://www.placehacking.co.uk/2012/03/25/space-travellers-barcelona/">Space Travellers: Barcelona</a> (great look at Barcelona though a perspective only an Explorer gets to see)</li>
<li><a href="http://www.placehacking.co.uk/2012/03/21/bolt-action/">Bolt Action</a> (get your daily fix of subway photography)</li>
</ul>
<p>Zachary Abel:
<ul>
<li><a href="http://blog.zacharyabel.com/2012/03/many-morley-triangles/">Many Morley Triangles</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/fifteenth-linkfest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>General Antiderivatives</title>
		<link>http://www.xamuel.com/general-antiderivatives/</link>
		<comments>http://www.xamuel.com/general-antiderivatives/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 13:30:16 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3981</guid>
		<description><![CDATA[This article is inspired by Tom Leinster&#8217;s reader survey recently published in the n-Category Café. For some bizarre reason, few things give me greater joy than seeing a universally acknowledged, absolutely indisputable fact proven wrong. And that is precisely what the inimitable Leinster has done. He&#8217;s discovered a profound error in every calculus book in [...]]]></description>
			<content:encoded><![CDATA[<p>This article is inspired by Tom Leinster&#8217;s <a href="http://golem.ph.utexas.edu/category/2012/03/reader_survey_logx_c.html">reader survey</a> recently published in the <em>n-Category Café</em>.  For some <a href="http://www.xamuel.com/illogician/">bizarre reason</a>, few things give me greater joy than seeing a universally acknowledged, absolutely indisputable fact proven wrong.  And that is precisely what the inimitable Leinster has done.  He&#8217;s discovered a profound error in every calculus book in print, and not in some obscure theorem nobody ever uses, but in the <em>Table of Integrals</em> itself.  Facts drilled into almost every college student for the past half a century or more, are wrong!  &#8230;Or, in the very best case analysis, they are incomplete and misleading.</p>
<h2>The General Antiderivative of 1/x</h2>
<p>As you know, the antiderivative of an antidifferentiable function is not unique.  Indeed, add any constant to a given antiderivative, and you get another.  Thus, students are taught the following</p>
<ul>
<li><strong>Misleading Fact:</strong> The &#8220;general&#8221; antiderivative of 1/x is
<ul style="list-style: none;">
<li><img src="http://www.xamuel.com/images/lnx.gif" alt="" /></li>
</ul>
<p>where C is a constant of integration.</li>
</ul>
<p>But as Tom Leinster pointed out, this indexed family of antiderivates is <em>not</em> exhaustive.  There are antiderivatives of 1/x which do <em>not</em> have the above form for any value of C.  The correct version is</p>
<ul>
<li><strong>Fact:</strong> The <em>truly most general</em> antiderivative of 1/x is
<ul style="list-style: none;">
<li><img src="http://www.xamuel.com/images/lnxpiecewise.gif" alt="" /></li>
</ul>
<p>where C and D are constants of integration.</li>
<li><em>Proof:</em> We&#8217;ll use the following theorem from James Stewart&#8217;s <em>Calculus: Early Transcendentals</em> (6th edition, p.340):
<ul>
<li>If F is an antiderivative of f on an interval I, then the most general antiderivative of f on I is F(x)+C, where C is an arbitrary constant.</li>
</ul>
<p>Note that the domain of 1/x, which is (−∞,0)∪(0,∞), is <em>not</em> an interval, and that&#8217;s why our Fact does not contradict the theorem from Stewart&#8217;s book.  Now, the reader can check by direct differentiation that all functions of the form (*) are antiderivatives of 1/x on (−∞,0)∪(0,∞).  We must show the converse: that if F is <em>any</em> antiderivative of 1/x on (−∞,0)∪(0,∞), then F has the form (*) for some values of C and D.  So, suppose F is any antiderivative of 1/x on (−∞,0)∪(0,∞).  Let F<sup>R</sup> be the restriction of F to (0,∞) and let F<sup>L</sup> be the restriction of F to (−∞,0).  Since F<sup>R</sup> is an antiderivative of 1/x on the interval (0,∞), by the theorem, F<sup>R</sup> has the form ln|x|+C for some particular value of C.  And since F<sup>L</sup> is an antiderivative of 1/x on the interval (−∞,0), again, F<sup>L</sup> has the form ln|x|+D for some particular value of D (we use D here because the variable C is already in use).  This proves F has the form (*).</li>
</ul>
<h2>Generalizing from Leinster&#8217;s Example</h2>
<p>More generally, if the domain of f consists of a disjoint union of n open intervals, where n is either a positive natural number or countable infinity, and if f has any antiderivative on its domain, then the set of antiderivatives of f is an n-dimensional space determined by n constants of integration.</p>
<p>In a comment at the <em>Café</em>, Mike Shulman pointed out that the function 1/cos(x) is an example of a function with an infinite-dimensional space of antiderivatives [Note: we use 1/cos(x) rather than the more esoteric "sec(x)" because sec(x) is an artifact from a more primitive age and its use should be absolutely proscribed in this era, along with its ugly siblings cot(x) and csc(x)].  The most general antiderivative of 1/cos(x) is</p>
<ul style="list-style: none;">
<li><img src="http://www.xamuel.com/images/intoneovercosx.gif" alt="" /></li>
</ul>
<p>where &#8230;,C<sub>-3</sub>,C<sub>-2</sub>,C<sub>-1</sub>,C<sub>0</sub>,C<sub>1</sub>,C<sub>2</sub>,C<sub>3</sub>,&#8230; are countably infinitely many constants of integration.  (The above equation also doubles as a Two-Handed Sword of Science.)</p>
<p>Calculus textbooks include <em>Tables of Integrals</em> which, for seemingly unknown reasons, list certain one-dimensional subspaces of the spaces of antiderivatives of functions.  For example, a Table of Integrals lists the one-dimensional space of functions of the form ln|x|+C as the antiderivatives of 1/x, even though we saw that the antiderivatives of 1/x form a 2-dimensional space.  I say the reason for doing this is seemingly unknown, but there <i>is</i> some method to the textbook writers&#8217; madness, as we&#8217;ll see in the next section.</p>
<h2>Boundary Value Differential Equations Problems</h2>
<p>As I pointed out in my comment on Leinster&#8217;s post, the whole reason we teach freshmen about constant of integration is to facilitate the solution of differential equations with boundary conditions.  Normally&#8211; and this, I believe, explains why textbooks only list a one-dimensional space of antiderivatives&#8211; we only care about such questions when the known boundary conditions and the unknown values in question both lie in an interval where the functions in question are defined.  This is rather subtle, so please consider the following three problems.  On their face, they look identical, but you&#8217;ll quickly see that the first two are radically different than the third.</p>
<ul>
<li><strong>Question 1.</strong> A car&#8217;s velocity function is v(t)=1/t.  At time t=1, the car has position 0.  Find its position at time t=2.</li>
<li><strong>Queston 2.</strong> A car&#8217;s velocity function is v(t)=1/t.  At time t=−2, the car has position 0.  Find its position at time t=−1.</li>
<li><strong>Question 3.</strong> A car&#8217;s velocity function is v(t)=1/t.  At time t=−1, the car has position 0.  Find its position at time t=1.</li>
</ul>
<p>To solve Question 1, we antidifferentiate and obtain the position function y(t)=ln|t|+C for some constant C.  Since y(1)=0, ln|1|+C=0, so C=0, therefore y(t)=ln|t|, and so the answer is y(2)=ln|2|≈0.693.  Similarly, the answer to Question 2 is −ln|2|≈−0.693.</p>
<p>Now, let&#8217;s try to solve Question 3 using the usual technique.  First we write y(t)=ln|t|+C.  Since y(−1)=0, we get C=0.  Thus, it seems, the answer is y(1)=ln|1|+0=0.  <em>But this can&#8217;t possibly be right.</em> Consider a different car, call it Trollcar because its purpose is to troll us.  Trollcar&#8217;s position function is defined to be</p>
<ul style="list-style: none;">
<li><img src="http://www.xamuel.com/images/ytilde.gif" alt="" /></li>
</ul>
<p>By differentiation, we see that Trollcar&#8217;s velocity function is&#8230; umm&#8230; 1/t.  And Trollcar&#8217;s velocity at time t=−1 is&#8230; umm&#8230; ln|−1|=0.  So Trollcar perfectly satisfies the differential equation and the initial conditions, <em>but its position at time t=1 is ln|1|+1=1</em>, contradicting the answer we computed for that initial value problem.</p>
<p>The reason the usual technique failed us in Question 3 is because we used the one-dimensional space of antiderivatives instead of the two-dimensional space.  We did not need both dimensions for Questions 1 and 2, because both the initial condition and the unknown position were in the same interval in the domain of 1/x.  In Question 3, the initial condition was in one interval, and the unknown position was in another.  The <em>correct</em> answer to Question 3 is:  &#8220;Not enough information.&#8221;  The initial condition allows us to compute the constant C from equation (*) way up above, but we don&#8217;t have any information that would allow us to compute the constant D, which we need to compute y(1).</p>
<p>In general, in order to find y(x<sub>0</sub>) in a differential equation boundary-value problem, where x<sub>0</sub> is a particular point in the domain of the position function, we need to be given a sufficient number of boundary conditions <em>within the same interval</em> as x<sub>0</sub> (when I say that a boundary condition is within the same interval as x<sub>0</sub>, I mean that the position function and its derivatives are defined at every point in between).  Boundary conditions separated from the unknown x-value by gaps in the position function&#8217;s domain, are useless.</p>
<p>A related problem is, rather than find a particular position, find the position function itself.  In order to do this, in the case of an nth-order differential equation, it is necessary to have n boundary conditions on <em>each</em> interval of the position function&#8217;s domain.  For example, if a car&#8217;s acceleration function is a(t)=1/t, and we want to find the car&#8217;s position function, we&#8217;re going to need at least 2 boundary values in (−∞,0), and 2 boundary values in (0,∞), a total of 4 boundary values.  If a car&#8217;s velocity function is v(t)=1/cos(t), and we want its position function, we&#8217;re going to need one boundary condition in each interval (π/2+nπ,π/2+(n+1)π), a total of ∞ many boundary conditions.</p>
<h2>The Pedagogical Problem</h2>
<p>Tom Leinster&#8217;s survey focused not on the actual math, but on the pedagogy.  This is, indeed, a rather itchy problem.  Constants of integration already cause freshmen quite enough grief&#8211; are we really supposed to expect them to sit through things like the Two-Handed Sword of Science?</p>
<p>It&#8217;s a difficult problem.  But I think it&#8217;s one which is solvable.  Right now, calculus classes typically budget time for sections like &#8220;How to use Tables of Integrals&#8221;.  In the 21st century, those sections are pretty outdated.  If we threw them out, it would give us plenty of time to explain the subtler theory of calculus.  And if I may quote Brendan Cordy, one of the commenters from Tom&#8217;s post:  &#8220;A wise man once told me that students have no problems with abstraction, so long are they’re comfortable with the concrete cases they’re abstracting from.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/general-antiderivatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toward the Mathematics of Video Game Glitches</title>
		<link>http://www.xamuel.com/glitch-math/</link>
		<comments>http://www.xamuel.com/glitch-math/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 13:31:09 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Logic]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3915</guid>
		<description><![CDATA[&#8220;Some of these tricks we use make the games look broken. But we are not breaking the games, we are just breaking your notion of them.&#8221; ~From the TASVideos introduction page [1]. Somewhere in the list of dozens of papers I want to write someday when I&#8217;m finished with my dissertation, I&#8217;d like to try [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Some of these tricks we use make the games look broken. But we are not breaking the games, we are just breaking your notion of them.&#8221;  ~From the TASVideos introduction page [1].  Somewhere in the list of dozens of papers I want to write someday when I&#8217;m finished with my dissertation, I&#8217;d like to try and write a paper addressing video game glitches.  In the meantime, I&#8217;m writing this short non-peer-reviewed technical note and publishing it on the blog, because a recent paper posted on the arXiv by Greg Aloupis, Erik Demaine, and Alan Guo [2] suddenly brings the issues out of nerdy obscurity and into cutting edge computer science.</p>
<h2>Introduction</h2>
<p>In their paper (which is very interesting and which I highly recommend), Aloupis, Demaine, and Guo claim that the old Nintendo game Super Mario Brothers is NP-Complete.  I immediately saw a (very minor) flaw in their proof, and noted it on Scott Aaronson&#8217;s blog [3].  A few hours later Ryan Landay confirmed [4] that he had independently noticed the same flaw.  Without going into the specific details (see my comment on Scott&#8217;s blog for those), the authors assumed (and we can hardly blame them) that a solid wall is enough to stop a small Mario.  But this assumption is false: Mario can actually jump through certain walls by exploiting glitches in the video game&#8217;s code.</p>
<p>To be clear, I am <i>not</i> claiming that (generalized) Super Mario is easier than NP-Complete.  For all I know, Aloupis et al. are correct (indeed I&#8217;d be shocked if they aren&#8217;t).  It&#8217;s just that the proof in their paper is a tiny bit flawed.  I conjecture that the proof (at least for Super Mario Bros) could be patched up easily&#8230; maybe by placing a &#8220;checkerboard&#8221; of alternating solid blocks and spiky-shelled enemies behind the wall which is meant to be impassable&#8211; so that if Mario attempts to glitch his way through, the spiky-shelled enemies will skewer him.  The point is that the episode places video game glitches in the spotlight.</p>
<p>Console games are extremely complicated, and very difficult to model game theoretically.  Some would say chess is complicated, game theoretically.  But the rules of chess are fairly simple, you can write them down on one page.  You cannot do that for SMB, not if you want to accurately capture the real engine which the game uses.  The true rules of SMB are coded in (I think) 6502 Assembly Code, and are about (I think) 40 kilobytes in their compiled form (so that in disassembled form they&#8217;d be considerably larger).  That utterly dwarfs the rules of chess!</p>
<p>It would be completely impractical to prove things about SMB using its actual machine code.  Instead, we simplify the game and try to intuitively explain it based on our experience playing it.  This yields a model of the game which is enormously simpler.  One such model is what Aloupis et al. study.  In their simplified model of the game, Mario can&#8217;t jump through walls.  But this does not accurately capture the actual rules of the actual console game, as measured by its assembly code (that is, as measured by what the game is capable of being twisted into doing, given a sufficiently superhuman player).</p>
<p>I find it kind of amusing and appropriate that this paper was brought up on Scott Aaronson&#8217;s blog, where issues of quantum complexity theory are so very expertly discussed.  In the universe of Super Mario Bro&#8217;s, the model of physics which says &#8220;Mario can&#8217;t jump through solid walls&#8221; is kind of like Newtonian physics, and the (more accurate) model which says &#8220;Actually, sometimes he can&#8221; is kind of like quantum physics.  Ryan Landay&#8217;s and my instructions for how Mario can quickly solve the Hard puzzles of Aloupis et al. might be viewed as some kind of strange analogy for hypothetical quantum computers which are sometimes hyped up as being capable of performing similar feats in our own world.</p>
<h2>The Substantive Math, part 1: Game Theoretically Defining Glitches</h2>
<p>I wouldn&#8217;t say I&#8217;ve exhausted the literature, but what searching I have done has unearthed very little about glitches through the game theoretical perspective.  In fact, I&#8217;d go so far as to say that there is almost no literature about glitches in any of the current scientific literature.  I could be mistaken here, it could just be that I&#8217;m no good at literature review.  Of course, whole libraries have been written about software exploits, but I think there is something different about video game glitches.</p>
<p>I&#8217;ll focus on glitches which the player can exploit to win the game faster than intended.  Call these <i>speedrun glitches</i>.  These differ from the software exploits most studied in computer science because the end result of a software exploit is usually a <i>state</i> which was never meant to be reached:  the programmers of Internet Explorer never intended for attackers to be able to execute arbitrary code, no matter what route they took.  By contrast, a speedrun glitch aims for a state which is a perfectly normal part of the game&#8211; e.g., the &#8220;You Win&#8221; screen&#8211; but via a <i>route</i> which is unexpected.</p>
<p>It is very difficult to formally define what a speedrun glitch is.  Objectively speaking&#8211; and this philosophy underlies the entire tool-assisted speedrun community&#8211; if it&#8217;s programmed in the game&#8217;s code, it&#8217;s part of the game.  Thus, Mario being able to leap through solid walls is just simply a part of the Super Mario Brothers game.</p>
<p>We cannot simply choose glitches case-by-case on an ad hoc basis:  they are subjective.  To illustrate this:  Aloupis, Demaine, and Guo make the &#8220;crouching slide&#8221; an integral part of their NP-Complete proof for Super Mario Brothers.  This is a phenomenon where a large Mario can duck after building up speed and thereby slide through corridors normally too small for him to fit through.  The question is:  if jumping through walls should be ignored because it is &#8220;an obviously unintended glitch&#8221;, why doesn&#8217;t the same go for crouch sliding?  I imagine the crouch slide is not officially documented in the Super Mario Brothers game manual (though I could be mistaken).  The only way to know whether crouch slide was &#8220;intentional&#8221; would be to read the programmers&#8217; minds as they were programming the game.  It seems less glitchy only because it&#8217;s well-known by almost all players of the game and can be easily performed, whereas jumping through walls is more obscure and is almost impossible for a mortal human to perform.  But these are not considerations we can very well articulate game-theoretically!</p>
<p>For the sake of putting some actual substantive math into this article, I very tentatively propose the following as a possible definition of glitch (or as a step toward such a definition):</p>
<ul>
<li><b>Tentative, sketchy, incomplete, possible definition of video game glitches</b>.  (This definition uses vague notions of largeness and therefore needs more work.)  Let G be a formal one-player game (in the sense of game theory).  Say that G is <i>console-like</i> if G contains a very large number of subgames which are nearly identical to each other, and each of those subgames contains a very large number of subsubgames which are nearly identical to each other, and so on for a large number of levels.  A <i>speedrun glitch</i> is a winning strategy which avoids a large number of said subgames.</li>
</ul>
<p>To understand the intuition here, imagine a winning play of Super Mario Brothers.  Now imagine a play which is identical except that the player waits 1 second longer at the beginning before taking his first step forward.  (This does not alter the winningness of the play, as long as the first play finished the first level with at least 1 second remaining on the clock.)  In the formal game of Mario Brothers, both plays follow extremely similar-looking paths through extremely similar-looking subgames.  Similarly, if two winning plays are identical except that one of them enters the coin-pipe in World 1 Level 2, and the other does not, again this gives two nearly identical paths through two subgames which are nearly identical except for a brief initial part.</p>
<p>Now, suppose I find a way to beat Super Mario through some obscure sequence of keymashings which takes me directly from World 1 Level 1 to the victory screen.  This yields a path through the formal game which skips an extremely huge number of nearly-identical subgames and subsubgames and so on.  (Note: this is not such a hypothetical situation!  Masterjun did almost exactly this for Super Mario World, and MUGG and anymac did something similar in Super Mario Land 2.  See [5],[6]</p>
<p>Of course, there is still a lot of thinking to be done to make this definition precise.  As is, it merely pushes the vagueness bubble around under the carpet:  instead of &#8220;what is a glitch?&#8221;, the question becomes &#8220;what is a large number of subgames and what does it mean for two subgames to be almost identical?&#8221;  It might be necessary to bite the bullet and require that the formal games be extended to explicitly make precise which subgames are intended to be unavoidable.  Especially considering that ideally the definition shouldn&#8217;t give a false positive for strategies which use the intentional so-called &#8220;warp zones&#8221;!</p>
<h2>The Substantive Math, part 2: An Actual Theorem??</h2>
<p>The following theorem sketch is so vague that I won&#8217;t even try to fully spell it out.  I fully acknowledge that I am here committing horrendous crimes against mathematics.  Please have patience with me.  The theorem, vague as it is, attempts to identify the &#8220;trivial and silly&#8221; problem of speedrunning with the dead serious problem of software verification.</p>
<ul>
<li><b>Theorem:</b>  The following problems are equivalent:</p>
<ol>
<li>Finding the fastest speedrun of a game.</li>
<li>Checking that a game has no major game-breaking glitches (at least none which allow the game to be won in a super fast time)</li>
</ol>
</li>
<li><i>Proof:</i>
<ul>
<li>(2 is reducible to 1).  To check that the game has no major game-breaking glitches, first find its fastest speedrun.  Watch the speedrun.  If it does anything that knocks your socks off, you&#8217;ve found your glitches.</li>
<li>(1 is reducible to 2).  To find the fastest speedrun of the game, first disassemble the game into machine code.  Using 2, check the code for game-breaking glitches.  If you find any, pick the most egregious one and use it to make a speedrunning mockery of the game.  If not, you may reduce the speedrunning problem to the much simpler problem of speedrunning the much simpler abstract model of the game which everyone actually thinks of when they play it.  As Aloupis, Demaine, and Guo point out, this may still be NP-Hard, but the space of paths you have to check is extremely drastically reduced (to use [5] as an example, you may immediately rule out any paths which involve having your pet dinosaur repeatedly chew up and spit out P-switches for no apparent reason).</li>
</ul>
</li>
</ul>
<h2>References</h2>
<p>[1] TASVideos.  <a href="http://tasvideos.org/WelcomeToTASVideos.html">Welcome To TAS Videos</a>, 2010.  Retrieved 15 Mar 2012.<br />
[2] Greg Aloupis, Erik Demaine, and Alan Guo.  <a href="http://arxiv.org/pdf/1203.1895v1.pdf">Classic Nintendo Games are (NP-)Hard</a> (PDF).  Preprint.<br />
[3] Scott Aaronson.  <a href="http://www.scottaaronson.com/blog/?p=974">Big News</a>.  <em>Shtetl-Optimized</em>, 2012.<br />
[4] Ryan Landay.  Comment on [3], 2012.<br />
[5] Masterjun.  <a href="http://tasvideos.org/1945M.html">SNES Super Mario World (USA) &#8220;glitched&#8221; in 02:36.4</a>, 2012.  Retrieved 15 Mar 2012.<br />
[6] MUGG and andymac. <a href="http://tasvideos.org/3299S.html">GB Super Mario Land 2 &#8220;glitched&#8221; in 2:08.98</a><br />
[7] Alexander the Great.  Solution to the Gordian Knot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/glitch-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Summation Notation Ambiguous?</title>
		<link>http://www.xamuel.com/summation-notation-ambiguous/</link>
		<comments>http://www.xamuel.com/summation-notation-ambiguous/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 16:16:27 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Logic]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3876</guid>
		<description><![CDATA[Abstract: I analyze the algorithm which students are typically taught for evaluating summation notation, and show that it is inefficient. Then I give an alternate algorithm, eliminating the inefficiency. However, the natural question is: how do we know the two algorithms give the same answer? Although it seems intuitively obvious that they do, it is [...]]]></description>
			<content:encoded><![CDATA[<p><b>Abstract</b>:  I analyze the algorithm which students are typically taught for evaluating summation notation, and show that it is inefficient.  Then I give an alternate algorithm, eliminating the inefficiency.  However, the natural question is: how do we know the two algorithms give the same answer?  Although it seems intuitively obvious that they do, it is actually a very subtle question, justifying the title of this article, &#8220;Is Summation Notation Ambiguous?&#8221;</p>
<h2>The Usual Algorithm</h2>
<p>Let&#8217;s look at how we evaluate summation notation.  Define <i>expressions</i> inductively:  for any number n, n is an expression; the variables x,y,z,&#8230; are expressions; if A and B are expressions, then (A)+(B) and (A)(B) are expressions; and if A and B are expressions and x is a variable, then Sum_(x=0)^(B)A is an expression.</p>
<p>A <i>closed expression</i> is an expression with no free variables (this can be rigorously defined by induction but I&#8217;ll omit that).  For example, Sum_(x=0)^(5)x is a closed expression, but Sum_(x=0)^(y)x is not, because it contains the free variable y; you can&#8217;t calculate the latter sum down to a number if you don&#8217;t know what y is.</p>
<p>From basic algebra, we know how to <i>evaluate</i> a closed expression.  We do it inductively (of course, it usually isn&#8217;t explained to us in such precise detail, but this is equivalent to what we are usually taught):</p>
<ul>
<li>The value of a number n, is n itself.</li>
<li>The value of (A)+(B) is the sum of the values of A and B.</li>
<li>The value of (A)(B) is the product of the values of A and B.</li>
<li>The value of Sum_(x=0)^(B)A is the sum of the values of A(0),&#8230;,A(b), where b is the value of B and each A(i) is the closed expression obtained by replacing all instances of x in A by i.</li>
</ul>
<p>The above definition is an algorithm.  How do we know it converges to an answer?  By induction on expression complexity.  Why isn&#8217;t there a case listed for evaluating variables?  Because the algorithm is only intended to evaluate *closed* expressions, and a variable expression is not closed.  In fact, one very eccentric definition of &#8220;closed expression&#8221; could be &#8220;does not cause the above algorithm to enter an undefined case&#8221;.</p>
<p>Now let&#8217;s zero in on part of the above algorithm.  What does it mean to &#8220;replace all instances of x in A by i&#8221;?  Well, it has a very obvious meaning which we typically take for granted.  You copy A down but write &#8220;i&#8221; wherever &#8220;x&#8221; was.  But of course, a computer has neither eyes nor pencil, so we have to make this precise.  So we define:</p>
<ul>
<li>For a number n, if you replace x by i in n, you get n itself.</li>
<li>For a variable y, if you replace x by i in y, you get: i, if y=x; y, if y≠x.</li>
<li>If you replace x by i in (A)+(B), you get (A(i))+(B(i)), where A(i) and B(i) are the results of replacing x by i in A and B.</li>
<li>If you replace x by i in (A)(B), you get (A(i))(B(i)).</li>
<li>If you replace x by i in Sum_(y=0)^(B)A, where y≠x, you get Sum_(y=0)^(B)A(i).</li>
<li>If you replace x by i in Sum_(x=0)^(B)A, you get Sum_(x=0)^(B)A.</li>
</ul>
<p>Now, the above operations are not without a price.  In order to replace x by i in an expression, a computer must run through every sub-expression, checking which case it is and either copying it or copying an altered form of it.  For example, consider the expression Sum_(x=0)^(9)1 (which should evaluate to 10).  The evaluation algorithm instructs us to evaluate 1(0)+1(1)+1(2)+&#8230;+1(9), where 1(i) means &#8220;the expression obtained by replacing x by i in 1&#8243;.  Each time we compute 1(i), we have to run the &#8220;replace&#8221; subroutine above.  The subroutine tells us to check which type of expression 1 is; we see it&#8217;s a number, so we copy it verbatim.  We do this 10 times, and store 10 separate copies of &#8220;1&#8243; in memory.  What a waste!  Of course, in practice we would skip all this work and immediately see Sum_(x=0)^(9)1=10, but the means by which we do this are ad hoc.  How would you program a computer to do something so clever?  You could shoehorn this one special case into the algorithm, but I could list ten new special cases for each one you add.</p>
<h2>The More Efficient Algorithm</h2>
<p>The problem with the algorithm we&#8217;re taught for evaluating summation notation is it involves writing down lots of modified copies of subexpressions.  If we follow the algorithm to the very letter (as a computer must), we end up doing more substitutions than actual computations, and all those copies-of-subexpressions take up a ton of space (on paper or in RAM).</p>
<p>A better way is to leave the expression and its sub-expressions unchanged, and instead keep track of the values of variables.  In fact, we have one of those situations&#8211; so beautiful whenever they occur&#8211; where the problem is actually easier if you generalize it.  In the previous section, we limited ourselves to evaluating *closed* expressions.  Let us now turn to the more general problem of evaluating arbitrary expressions (which may include free variables), given the values of the variables.  The algorithm writes itself:</p>
<ul>
<li>Input:  an expression S and a list L of variable values, including values of all variables occurring free in S.</li>
<li>Desired Output:  the value of S relative to L.</li>
<li>If S is n, a natural number, then output n.</li>
<li>If S is x, a variable, then output whatever value L says x has.</li>
<li>If S is (A)+(B), then evaluate A and B using L, and output their sum.</li>
<li>If S is (A)(B), then evaluate A and B using L, and output their product.</li>
<li>Suppose S is Sum_(x=0)^(B)A.  Let b be the value of B using L.  Let SUM=0.  For i=0 to b:
<ul>
<li>Let L(x|i) be the list obtained by adding &#8220;x=i&#8221; to L (if L already had a value for x, do not include the old value in L(x|i))</li>
<li>Increment SUM by A(L(x|i)), the value of A relative to L(x|i).</li>
</ul>
</li>
<li>Output SUM.</li>
</ul>
<p>As for closed terms, we have a quick little &#8220;wrapper&#8221; algorithm:</p>
<ul>
<li>Input: a *closed* expression S.  Desired output: its value.</li>
<li>Output the value (using the previous algorithm) of S relative to the empty list.</li>
</ul>
<p>Note that on a computer, this method does not need to involve any copying at all of subexpressions, since instead of passing the (unmodified) subexpressions themselves, we can just pass pointers to them.  We don&#8217;t even need to make copies of L, provided we&#8217;re sufficiently clever with singly-linked lists.</p>
<h2>The Ambiguity</h2>
<p><i>If</i> the two algorithms aren&#8217;t equivalent, then we have something of a crisis for mathematics, because both methods seem equally valid as potential definitions for the value of summation notation; which one is the &#8220;correct&#8221; one?  Mathematicians abhor nothing more than having to make an arbitrary choice.  So the question is: are the two algorithms equivalent?</p>
<p>I love this question because it seems so obvious the answer is yes!  But how the heck do you prove it?  It&#8217;s actually a special case of a more general result in my paper, <a href="http://arxiv.org/pdf/1105.4135.pdf">The First-Order Syntax of Variadic Functions</a> (PDF), which I&#8217;m infinitely happy to say will appear in the very excellent Notre Dame Journal of Formal Logic.  We can view &#8220;expressions&#8221;, as defined here, as terms in first-order logic in an appropriate language, except for one little catch: first-order logic does not come with machinery for summation notation!  No problem, we can just add that machinery.  And that&#8217;s precisely what I do in the paper.</p>
<p>In first-order logic, an <i>assignment</i> is a map which takes variables in the language into elements of the universe.  This corresponds to the &#8220;lists&#8221; in the efficient algorithm above.  If s is an assignment and t is a term, we usually write t^s for the interpretation (value) of t in a structure assuming variable values given by s.  But, due to the above sections, there is an ambiguity in how this should be defined when the language contains something like summation notation.  For simplicity, work in the language with + and *, constant symbols for the naturals, and summation notation, and let the universe be the natural numbers.  At least until we resolve the ambiguity question, there are potentially two term interpretations, which I&#8217;ll write t^s and t_s:</p>
<ul>
<li>If n is (a constant symbol of) a natural then n^s=n_s=n.</li>
<li>If x is a variable then x^s=x_s=s(x).</li>
<li>If A and B are terms then ((A)+(B))^s = A^s + B^s and ((A)+(B))_s = A_s + B_s.</li>
<li>If A and B are terms then ((A)(B))^s = (A^s)(B^s) and ((A)(B))_s = (A_s)(B_s).</li>
<li>If A and B are terms and x is a variable, then (Sum_(x=0)^(B)A)^s = A(x|0)^s +&#8230;+ A(x|B^s)^s, where A(x|i) is the result of substituting (the constant symbol) i for x in A.</li>
<li>If A and B are terms and x is a variable, then (Sum_(x=0)^(B)A)_s = A_(s(x|0)) +&#8230;+ A_(s(x|B_s)), where s(x|i) is the assignment which agrees with s except that it maps x to i.</li>
</ul>
<p>Now, in order to show that the two algorithms in this article are equivalent, it is enough to show that for every term A and assignment s, A^s=A_s.  This seems like it should be a trivial induction on the structure of A.  All the cases except for summation are trivial.  As for the summation case, we start computing:</p>
<ul>
<li>(Sum_(x=0)^(B)A)^s = A(x|0)^s +&#8230;+ A(x|B^s)^s (by definition)</li>
<li>(Sum_(x=0)^(B)A)^s = A(x|0)_s +&#8230;+ A(x|B_s)_s (by induction)</li>
</ul>
<p>Now, what we need to make the final step, is that for each i, A(x|i)_s = A_s(x|i).  So we&#8217;re done by that basic result of first-order logic, the Substitution Lemma, which says precisely this!  &#8230;right?</p>
<p>Well, not quite.  The Substitution Lemma is a theorem of <i>standard</i> first-order logic, and we&#8217;re not working in standard first-order logic, we&#8217;re working in first-order logic with summation notation added.  So, the final step is to re-prove the Substitution Lemma in this nonstandard logic.  And I do that in my paper.  The details become substantially more complicated than they are in ordinary first-order logic.  But boy is it worth it, since now we can use whichever version of summation notation evaluation interchangeably, with no fear of ambiguity.</p>
<h2>Acknowledgments</h2>
<p>Thanks to the anonymous referees from NDJFL, without whose suggestions I never would&#8217;ve been led to notice this ambiguity.  Thanks to Mike Fenwick for reading a rough draft of this article and for much feedback and discussion on it.</p>
<p><strong>FURTHER READING</strong></p>
<p><a href="http://arxiv.org/pdf/1105.4135.pdf">The First-Order Syntax of Variadic Functions</a> (PDF)<br />
<a href="http://www.xamuel.com/goodstein-sequences/">Goodstein Sequences</a><br />
<a href="http://www.xamuel.com/illogician/">The Illogician</a><br />
<a href="http://www.xamuel.com/ambiguous-math/">Ambiguities in Mathematics</a><br />
<a href="http://www.xamuel.com/strong-recursion-weak-recursion/">Obtaining Strong Recursion from Weak Recursion</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/summation-notation-ambiguous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dovetailing</title>
		<link>http://www.xamuel.com/dovetailing/</link>
		<comments>http://www.xamuel.com/dovetailing/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 13:12:59 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Logic]]></category>
		<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3862</guid>
		<description><![CDATA[In computability theory, dovetailing is a method that lets you simulate running multiple programs in parallel, even when there are infinitely many programs to run. This is absolutely crucial because of the non-computability of the Halting Problem. Suppose you have an infinite number of Turing Machines T1, T2, &#8230; and you want to check whether [...]]]></description>
			<content:encoded><![CDATA[<p>In computability theory, <b><i>dovetailing</i></b> is a method that lets you simulate running multiple programs in parallel, even when there are infinitely many programs to run.  This is absolutely crucial because of the non-computability of the Halting Problem.</p>
<p>Suppose you have an infinite number of Turing Machines T1, T2, &#8230; and you want to check whether any of them output &#8220;0&#8243; when run on a blank tape.  A naive solution would be to begin running T1 until you get an output, check whether it&#8217;s &#8220;0&#8243;, if not then begin running T2, and so on.  The problem is, T1 might never halt, and there&#8217;s no way for you to determine whether or not it&#8217;s ever going to halt.</p>
<p>The Dovetailing solution is like this: you run T1 for one step.  Then you run T1 for two steps, followed by T2 for one step.  Next, run T1 for three steps, followed by T2 for two steps, followed by T3 for one step.  And so on.  In the kth iteration, you run T1 for k steps, you run T2 for k-1 steps, &#8230;, and you run Tk for one step.  If any of the machines will ever output &#8220;0&#8243;, you&#8217;ll eventually see it.  (More precisely, if Tk outputs 0 after N steps, you&#8217;ll see this on the (N+k-1)th iteration, assuming you don&#8217;t see a different 0 earlier.)</p>
<p>If the ordered sequence (T1,T2,&#8230;) is recursively enumerable, you can even go so far as to create a single machine which does all this checking for you.  In fact, you can create a machine which accepts an arbitrary input N and then checks whether any of the machines listed by the Nth machine ever output &#8220;0&#8243; on the blank tape.  You can do all kinds of crazy stuff with dovetailing.</p>
<h2>Application to Complexity Analysis</h2>
<p>Suppose you&#8217;ve got two algorithms.  Algorithm A runs in probabilistically-expected time O(n^2) but in the worst-case scenarios, can take as long as O(n^4).  Algorithm B runs in time O(n^3).  Can you get the best of both worlds?  Yes!  You can dovetail the two algorithms together to simulate running them in parallel.  (The dovetailing described above should be altered slightly:  rather than starting over from scratch each time you return to one of your algorithms, start it where you last left it off)  Thus, run one step of A, followed by one step of B, one step of A, one of B, and so on until one of them finishes.  Now you&#8217;ve got yourself an algorithm with probabilistic-expected runtime O(n^2), and you&#8217;ve whittled its worst-case runtime down to O(n^3)!</p>
<p>Of course, only a theorist would think of something like this, since in practice the dovetailed algorithm would tend to be twice as slow as algorithm A, even though they have the same probabilistic big-O runtime.</p>
<h2>Dovetailing Research</h2>
<p>In some sense, all academic research is dovetailed.  We do not know what the optimal strategy is for attacking an open problem like the Riemann Hypothesis.  We could choose one strategy and have the entire mathematics community pursue it single-mindedly.  And if that strategy turned out to be the best one, or even within three or four orders of magnitude of the best one, this would get us a solution faster.  However, it&#8217;s also possible that the strategy is a &#8220;non-halting Turing Machine&#8221;, that it never leads to the solution, and that pursuing it is a waste of time.</p>
<p>So instead we dovetail.  We spend some time following one strategy, then we move to the next, and then the next&#8230;  presumably, if a strategy hasn&#8217;t been completely exhausted, somebody will eventually get around to pushing it a little further&#8230;  and we hope that at least one of the strategies works, and that we aren&#8217;t in the situation where NONE of the machines reaches a desired outcome!</p>
<p><strong>FURTHER READING</strong></p>
<p><a href="http://www.xamuel.com/turing-machines/">Turing Machines</a><br />
<a href="http://www.xamuel.com/levels-of-infinity/">Levels of Infinity</a><br />
<a href="http://www.xamuel.com/strong-recursion-weak-recursion/">Obtaining Strong Recursion from Weak Recursion</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/dovetailing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Commercial Journals Could Add Value</title>
		<link>http://www.xamuel.com/how-commercial-journals-could-add-value/</link>
		<comments>http://www.xamuel.com/how-commercial-journals-could-add-value/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 13:00:35 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Futurism]]></category>
		<category><![CDATA[Society]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3843</guid>
		<description><![CDATA[In the Elsevier Boycott discussions, one thing which keeps coming up is: what value do the commercial academic publishers add? The general consensus is &#8220;not much&#8221;. They do some copy-editing of debatable value (the actual typesetting is now done by the contributing scientists for free), they do some administrative work&#8230; none of this should justify [...]]]></description>
			<content:encoded><![CDATA[<p>In the Elsevier Boycott discussions, one thing which keeps coming up is: what value do the commercial academic publishers add?  The general consensus is &#8220;not much&#8221;.  They do some copy-editing of debatable value (the actual typesetting is now done by the contributing scientists for free), they do some administrative work&#8230; none of this should justify the four-digit costs they claim each individual paper incurs.  Being the constructive type, I got to thinking: how can commercial journals add value in the twenty-first century?  Here are the ideas I came up with.  I&#8217;d be shocked to death if any of these were actually implemented, since that would subtract from the &#8220;all profit all the time&#8221; model which these publishers follow.  But maybe these ideas could have some influence on emerging twenty-first century competitors.</p>
<h2>Marketing</h2>
<p>If we look across the aisle toward <i>book</i> publishers, we see they add a tremendous value to what they print: they market it.  Compare this with academic journals.  These offer nothing in the way of marketing.  The Elsevier outcry has focused on the fact that the community does the writing, the typesetting, the reviewing, the editing, and the judging all for free.  One more task which the community does for free is the marketing.  Who takes the paper on the road and presents it at conferences?  The author.  Who cites the paper?  The author and other authors.  Who hypes it up with blog posts and comments?  The author, and if it&#8217;s a really fantastic paper, others in the community.  Who issues press releases if the paper is groundbreaking?  The author&#8217;s institution and the community.</p>
<p>I&#8217;ve felt hesitant about writing this.  The reason I felt hesitant is because we cannot even imagine academic publishers marketing for us without screwing it up (we shudder to imagine Elsevier spamming math bloggers with form letters).  But as I thought about it, I realized, that isn&#8217;t how it ought to be.  In a perfect world a highly-paid publisher ought to be qualified to talk about what they publish.  If an Elsevier journal publishes a paper about self-distributivity and braid ordering, they ought to have in their employ some scientists competent enough to understand the paper.  Of course, that might be expensive, requiring the publisher to house entire academic departments within its walls.  But we&#8217;re talking about a giant corporation here, and how that corporation could earn its (very expensive) keep.  If we can&#8217;t even imagine handing marketing to the publisher for fear of them screwing it up, then why on Earth do we let them publish us in the first place?</p>
<h2>Proof Verification</h2>
<p>The technology is still learning to walk, but one way a publisher could add very cutting-edge value to the math community would be to hire a bunch of technicians in Coq and Isabelle and other automated proof software, and formally verify accepted math papers.  This is something of a pipe dream, but if the publishers pulled it off, then nobody could deny the tremendous added value.  I recently taught myself Coq when a referee suggested I partially mechanize one of my own papers.  It&#8217;s a fun language.  I bet a lot of math papers could be formally verified by technicians with master&#8217;s degree levels of training in mathematics; if a paper is unverifiable because of too much handwaving, then merely alerting the author to this fact would itself be value-adding.  Inevitably, the verification process would catch subtle glitches that eluded even official peer review, and that too would add terrific value.</p>
<p>To facilitate this, authors could submit two different manuscripts to the publisher.  One would be the &#8220;human&#8221; manuscript where certain proofs can be &#8220;Straightforward.&#8221; or &#8220;Left to the reader.&#8221; or &#8220;By induction on n.&#8221;  The other would be a larger manuscript where those omissions are spelled out, and this, while not itself being published, would be used by the Coq/Isabelle technicians.  This would require more work on the writer&#8217;s behalf, but on the other hand&#8230; &#8230; &#8230;  you guys ARE already checking those details on your own before submitting them as &#8220;straightforward&#8221;, right?!?  (Guilty glances shoot around the room)</p>
<h2>Translation</h2>
<p>Here&#8217;s yet another way the big publishers could add tons of value: translate the journals into all different languages.  Again, this would require they employ competent scientists, but remember: <i>with great profit comes great responsibility</i>.  I, for one, would be thrilled half to death to have my papers translated into Mandarin and French and German and Japanese and Hungarian and&#8230;  Hey, you know how Elsevier always says, &#8220;Acceptance of the copyright agreement will ensure the widest possible dissemination of information&#8221;?  (cough cough BS cough cough)  That might actually <i>mean</i> something if they had a department of competent bilingual technicians paid to translate your paper into exotic foreign tongues!</p>
<h2>Analytics</h2>
<p>&#8220;Translation?  Lame, that&#8217;s so twentieth century.&#8221;  Alright, back to the future, here&#8217;s what else the publishers could provide:  advanced analytics like the ones Google offers webmasters.  What might those analytics look like?  Here&#8217;s a very rudimentary idea&#8230;</p>
<h3>Analytics for your paper, &#8220;Counterexample to the &#8216;Circle is Round&#8217; Conjecture&#8221;</h3>
<ul>
<li>Published in: Transactions of the Kurdish Mathematical Society</li>
<li>Traffic Sources (click for more detailed breakdown):
<ul>
<li>MathSciNet: 27%.</li>
<li>Google Scholar: 13%.</li>
<li>Xamuel.com Eighty-fifth Linkfest: 11%.</li>
<li>Other Sources: 49%.</li>
</ul>
</li>
<li>How Far Readers Got (click for more detailed breakdown):
<ul>
<li>Abstract only: 43%.</li>
<li>Abstract and Introduction: 25%.</li>
<li>Up to first major theorem: 19%.</li>
<li>Entire paper (not including appendices): 6%.</li>
<li>Entire paper (including appendices): 7%.</li>
</ul>
</li>
<li>What Did Readers Spend Their Time On (click for more detailed breakdown):
<ul>
<li>Abstract: 1 minute 23 seconds on average</li>
<li>Introduction: 6 minutes 10 seconds on average</li>
<li>Lemma 1: 12 minutes 53 seconds on average</li>
<li>Proposition 2: 26 minutes 4 seconds on average</li>
<li>Main Theorem: 42 minutes 12 seconds on average</li>
</ul>
</li>
</ul>
<p>Have any other ideas how the big publishers could justify their continued existence?  Post &#8216;em in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/how-commercial-journals-could-add-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fourteenth Linkfest</title>
		<link>http://www.xamuel.com/fourteenth-linkfest/</link>
		<comments>http://www.xamuel.com/fourteenth-linkfest/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 19:23:08 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3564</guid>
		<description><![CDATA[The main theme of this (very belated) Linkfest is the Elsevier Boycott. Conversely, the Boycott has given me a new vision for these Linkfests. No more am I just a blogger posting links to random articles! I am now a guerrilla legitimizer, selectively adding legitimacy to various things published under open access (which includes just [...]]]></description>
			<content:encoded><![CDATA[<p>The main theme of this (very belated) Linkfest is the Elsevier Boycott.  Conversely, the Boycott has given me a new vision for these Linkfests.  No more am I just a blogger posting links to random articles!  I am now a guerrilla legitimizer, selectively adding legitimacy to various things published under open access (which includes just about everything in the blogosphere).  Of course, this isn&#8217;t saying much, because there&#8217;s no point linking to an Elsevier or Springer publication in the first place:  nobody can read &#8216;em without forking over a bajillion dollars.  As soon as Google Scholar starts counting these Linkfests as scholastic citations, this is going to have a major impact (I jest, obviously).</p>
<p>The previous Linkfest was <a href="http://www.xamuel.com/linkfest-13/">Linkfest 13</a>.</p>
<h2>Technical</h2>
<p>Harvey Friedman: <a href="http://www.cs.nyu.edu/pipermail/fom/2012-February/016165.html">Maximality, Choice, and Incompleteness</a></p>
<p>Asger Törnquist and William Weiss: <a href="http://front.math.ucdavis.edu/1201.0382">The &Sigma;<sup>1</sup><sub>2</sub> counterparts to statements that are equivalent to the Continuum Hypothesis</a></p>
<p>John Armstrong: Too many to list!  A very small sample chosen mostly at random:  <a href="http://unapologetic.wordpress.com/2012/01/03/coulombs-law/">Coulomb&#8217;s Law</a>, <a href="http://unapologetic.wordpress.com/2012/01/04/the-biot-savart-law/">The Biot-Savart Law</a>, <a href="http://unapologetic.wordpress.com/2012/01/07/currents/">Currents</a>, <a href="http://unapologetic.wordpress.com/2012/01/12/gauss-law-for-magnetism/">Gauss&#8217; Law for Magnetism</a>, <a href="http://unapologetic.wordpress.com/2012/01/14/faradays-law/">Faraday&#8217;s Law</a>, <a href="http://unapologetic.wordpress.com/2012/02/01/conservation-of-charge/">Conservation of Charge</a>, <a href="http://unapologetic.wordpress.com/2012/02/03/deriving-physics-from-maxwells-equations/">Deriving Physics from Maxwell&#8217;s Equations</a></p>
<p>Yemon Choi: <a href="http://ifwisdomwereteachable.wordpress.com/2012/02/03/primary-literature-whats-that-gramps/">Primary literature? What&#8217;s that, Gramps?</a> (on &#8220;proof by appeal to Fields-medal winning paper&#8221;)</p>
<p>Abhishek Parab: <a href="http://abhishekparab.wordpress.com/2012/02/04/the-riemann-zeta-function/">The Riemann zeta function</a></p>
<p>Carlos Matheus: <a href="http://matheuscmss.wordpress.com/2012/01/12/special-curves-in-hilbert-modular-surfaces-and-lyapunov-exponents-of-prym-eigenforms/">Special curves in Hilbert modular surfaces and Lyapunov exponents of Prym eigenforms</a>, <a href="http://matheuscmss.wordpress.com/2012/02/03/spcs-4/">SPCS 4</a></p>
<p>Terence Tao: <a href="http://terrytao.wordpress.com/2011/12/31/montgomerys-uncertainty-principle/">Montgomery&#8217;s uncertainty principle</a>, <a href="http://terrytao.wordpress.com/2012/01/24/random-matrices-sharp-concentration-of-eigenvalues/">Random matrices: Sharp concentration of eigenvalues</a>, <a href="https://terrytao.wordpress.com/2012/02/02/random-matrices-the-universality-phenomenon-for-wigner-ensembles/">Random matrices: The Universality phenomenon for Wigner ensembles</a>, <a href="https://terrytao.wordpress.com/2012/02/01/every-odd-integer-larger-than-1-is-the-sum-of-at-most-five-primes/">Every odd integer larger than 1 is the sum of at most five primes</a></p>
<p>JoshTAS: <a href="http://joshtas.blogspot.com/2012/02/potentially-incoherent-ramblings.html">Potentially incoherent ramblings regarding Stun-Glitch</a> (this should quiet the critics who complain the &#8220;Technical&#8221; sections of these Linkfests never contain anything besides math/physics)</p>
<p>Nathaniel Johnston: <a href="http://www.njohnston.ca/2012/02/counting-and-solving-final-fantasy-xiii-2s-clock-puzzles/">Counting and Solving Final Fantasy XIII-2&#8242;s Clock Puzzles</a> (as long as we&#8217;re on the subject of video games&#8230;)</p>
<p>David Speyer: <a href="http://sbseminar.wordpress.com/2012/01/29/a-way-to-discover-the-gamma-function/">A way to discover the Gamma function</a></p>
<p>Qiaochu Yuan: <a href="http://qchu.wordpress.com/2012/01/16/a-less-biased-definition-of-a-group/">A less biased definition of a group</a>, <a href="http://qchu.wordpress.com/2012/01/25/a-first-blog-post-on-noncommutative-rings/">A first blog post on noncommutative rings</a></p>
<p>Akhil Mathew: <a href="http://amathew.wordpress.com/2012/01/09/delooping-and-the-bar-construction/">Delooping and the bar construction</a>, <a href="http://amathew.wordpress.com/2012/01/10/categories-and-cohomology-theories/">Categories and cohomology theories</a>, <a href="http://amathew.wordpress.com/2012/01/16/the-quillen-suslin-theorem/">The Quillen-Suslin theorem</a>, <a href="http://amathew.wordpress.com/2012/01/26/homotopy-is-not-concrete/">Homotopy is not concrete</a></p>
<p>Assaf Rinot: <a href="http://blog.assafrinot.com/?p=559">The order-type of clubs in a square sequence</a>, <a href="http://blog.assafrinot.com/?p=588">Dushnik-Miller for regular cardinals (part 1)</a></p>
<p>Daniel Moskovich: <a href="http://ldtopology.wordpress.com/2012/01/15/beyond-the-trivial-connection/">Beyond the trivial connection</a></p>
<p>KW Regan: <a href="http://rjlipton.wordpress.com/2012/01/13/what-makes-a-knot-knotty/">What makes a knot knotty?</a></p>
<p>Lance Fortnow: <a href="http://blog.computationalcomplexity.org/2012/01/being-random-and-trivial-in-dagstuhl.html">Being Random and Trivial in Dagstuhl</a></p>
<p>Ben Webster: <a href="http://sbseminar.wordpress.com/2012/01/09/what-is-a-symplectic-manifold-really/">What is a symplectic manifold, really?</a></p>
<p>Shreevatsa Rajagopalan: <a href="http://shreevatsa.wordpress.com/2012/01/08/are-there-fibonacci-numbers-starting-with-2012/">Are there Fibonacci numbers starting with 2012?</a></p>
<p>Benjamin Steinberg: <a href="http://golem.ph.utexas.edu/category/2012/01/a_semigroup_approach_to_finite.html">A Semigroup Approach to Finite Markov Chains</a></p>
<p>Ngô Quốc Anh: <a href="http://anhngq.wordpress.com/2012/02/06/a-note-on-the-maximum-principle">A note on the maximum principle</a></p>
<p>Andrej Bauer and Peter Lumsdaine: <a href="http://math.andrej.com/wp-content/uploads/2012/01/bw.pdf">On the Bourbaki-Witt Principle in Toposes</a> (PDF)</p>
<p>Dan Brumleve, Joel David Hamkins, and Philipp Schlicht: <a href="http://arxiv.org/pdf/1201.5597.pdf">The mate-in-n problem of infinite chess is decidable</a> (PDF) (seems obvious, &#8217;til you realize that rooks and bishops and queens can travel arbitrarily far in a single move)</p>
<p>Matthias Aschenbrenner, Lou van den Dries, and Joris van der Hoeven: <a href="http://arxiv.org/pdf/1112.5237.pdf">Towards a Model Theory for Transseries</a> (PDF)</p>
<p>Mathieu Hoyrup, Cristobal Rojas, and Klaus Weihrauch: <a href="http://arxiv.org/pdf/1112.2838.pdf">Computability of the Radon-Nikodym derivative</a> (PDF)</p>
<p>Richard Lipton: <a href="http://rjlipton.wordpress.com/2012/02/04/lonely-runner-conjecture-an-attack/">Lonely Runner Conjecture: An Attack</a></p>
<p>John Baez: <a href="http://johncarlosbaez.wordpress.com/2012/02/05/archimedean-tilings-and-egyptian-fractions/">Archimedean Tilings and Egyptian Fractions</a></p>
<h2>Non-Technical</h2>
<p>Timothy Gowers: <a href="http://gowers.wordpress.com/2012/01/21/elsevier-my-part-in-its-downfall/">Elsevier &#8211; my part in its downfall</a> (the blog post that made the boycott explode)</p>
<p>Tyler Neylon and 3,763 others and counting: <a href="http://thecostofknowledge.com/">The Cost of Knowledge</a></p>
<p>John Baez: <a href="http://johncarlosbaez.wordpress.com/2012/01/26/ban-elsevier/">Ban Elsevier</a></p>
<p>Scott Aaronson: <a href="http://www.scottaaronson.com/blog/?p=891">Boycott Elsevier!</a></p>
<p>Rob Ousbey: <a href="http://www.ousbey.com/blog/make-yourself-redundant">My Career Advice: Make Yourself Redundant</a></p>
<p>Frank Quinn: <a href="http://www.ams.org/notices/201201/rtx120100031p.pdf">A Revolution in Mathematics? What Really Happened a Century Ago and Why It Matters Today</a> (pdf)</p>
<p>Sebastian Delmont: <a href="https://plus.google.com/u/0/118383351194421484817/posts/foj5A1fURGt#118383351194421484817/posts/foj5A1fURGt">Good bye, Google Maps… thanks for all the fish</a></p>
<p>Scott Aaronson: <a href="http://www.scottaaronson.com/writings/journal.pdf">Review of The Access Principle by John Willinsky</a> (PDF) (Interesting commentary on academic journals)</p>
<p>Scott Morrison: <a href="http://sbseminar.wordpress.com/2012/02/01/journals-and-the-arxiv/">Journals and the arXiv</a></p>
<p>Spike Japan: <a href="http://spikejapan.wordpress.com/2011/09/18/kiyosato-high-plains-drifter/">Kiyosato: high plains drifter</a></p>
<p>Paul Graham: <a href="http://paulgraham.com/schlep.html">Schlep Blindness</a></p>
<p>Simone Santini: <a href="http://www.fang.ece.ufl.edu/reject.html">Famous rejects in computer science</a> (These are fake, but are funny anyway)</p>
<p>Timmo: <a href="http://vortexquanta.blogspot.com/2012/02/truth-scientific-and-beyond.html">Truth: Scientific and Beyond</a></p>
<p>Rich Gibbs: <a href="http://richg74.wordpress.com/2012/02/05/satellite-phone-encryption-cracked/">Satellite Phone Encryption Cracked</a></p>
<p>Sonic Charmer: <a href="http://rwcg.wordpress.com/2012/02/02/facebook/">(On the name of) Facebook</a></p>
<p>Orchid64: <a href="http://1000thingsaboutjapan.blogspot.com/2012/02/wont-miss-414-beating-around-bush.html">Won&#8217;t Miss #414: Beating around the bush</a> (I can definitely confirm this one)</p>
<p>Tyler Neylon: <a href="http://tylerneylon.com/b/archives/136">97% of US schools cannot afford Elsevier journals</a></p>
<p>Mark Eichenlaub: <a href="http://arcsecond.wordpress.com/2012/01/30/parables/">Parables</a></p>
<p>Dave Winer: <a href="http://scripting.com/stories/2012/02/04/nytGrowingTheWrongWay.html">NYT Growing the Wrong Way</a>, <a href="http://scripting.com/stories/2012/01/03/theInternetIsRealistic.html">The internet is realistic</a>, <a href="http://scripting.com/stories/2012/01/09/theBossesDoEverythingBette.html">The bosses do everything better</a>, <a href="http://scripting.com/stories/2012/01/29/getTheTechBackInTech.html">Get the tech back in tech</a></p>
<p>Tae Kim: <a href="http://www.guidetojapanese.org/blog/2012/01/24/a-gentle-introduction-to-kanji/">A gentle introduction to Kanji</a></p>
<p>Cosma Shalizi: <a href="http://bactra.org/weblog/864.html">Scientific Community to Elsevier: Drop Dead</a></p>
<p>Terence Tao: <a href="http://terrytao.wordpress.com/2012/01/26/the-cost-of-knowledge/">The cost of knowledge</a></p>
<p>Andrew Gelman: <a href="http://andrewgelman.com/2012/01/suggested-resolution-of-the-bem-paradox/">Suggested resolution of the Bem paradox</a></p>
<p>Michael Nielsen: <a href="http://michaelnielsen.org/blog/on-elsevier/">On Elsevier</a></p>
<p>Jeffrey Shallit: <a href="http://recursed.blogspot.com/2012/01/in-memory-of-sheng-yu.html">In Memory of Sheng Yu (1950-2012)</a></p>
<p>Derek Jones: <a href="http://shape-of-code.coding-guidelines.com/2012/01/22/relative-spacing-of-operands-affects-perception-of-operator-precedence/">Relative spacing of operands affects perception of operator precedence</a>, <a href="http://shape-of-code.coding-guidelines.com/2012/01/14/type-compatibility-the-hard-way/">Type compatibility the hard way</a></p>
<p>Michel Bauwens (excerpting Barbara and John Ehrenreich): <a href="http://blog.p2pfoundation.net/p2p-essay-of-the-day-occupywallstreet-and-the-decline-of-the-professional-managerial-class/2012/01/23">Occupy Wall Street and the Decline of the Professional Managerial Class</a></p>
<p>Giovanni Dannato: <a href="http://hereticsway.gluontheferengi.com/2012/01/22/longevity-outliers-people-to-watch/">Longevity Outliers: People to Watch</a></p>
<p>Jonathan McCalmont: <a href="http://futurismic.com/2012/01/18/hang-all-the-critics-towards-useful-video-game-writing/">Hang All The Critics: Towards Useful Video Game Writing</a></p>
<p>Ilkka Kokkarinen: <a href="http://fourthcheckraise.blogspot.com/2012/01/effing-ficient.html">Effing ficient</a> (on price efficiency of universities)</p>
<p>Remy Porter: <a href="http://thedailywtf.com/Articles/The-Shredder.aspx">The Shredder</a></p>
<p>Laura Zirbel: <A href="http://mathgradblog.williams.edu/productive-procrastination-importance-projects/">Productive Procrastination: The Importance of Having Several Projects</a></p>
<p>Delta: <a href="http://www.angrymath.com/2012/01/calculator-equals.html">Calculator Equals</a></p>
<p>Roger Ebert: <a href="http://www.rogerebert.com/apps/pbcs.dll/article?AID=/20111228/COMMENTARY/111229973">I&#8217;ll tell you why movie revenue is dropping&#8230;</a> (and Ilkka&#8217;s <a href="http://fourthcheckraise.blogspot.com/2012/01/on-next-page.html">discussion</a> thereof)</p>
<p>Daniel Lau: <a href="http://www.daniel-lau.com/?p=1407">Comics are Trash</a></p>
<p>JSE: <a href="http://quomodocumque.wordpress.com/2012/01/20/is-commercial-writing-more-honest-than-academia/">Is commercial writing more honest than academia?</a></p>
<p>Izabella Laba: <a href="http://ilaba.wordpress.com/2012/02/05/lets-overhaul-the-seminar/">Let&#8217;s overhaul the seminar!</a>, <a href="http://ilaba.wordpress.com/2012/01/05/the-state-of-the-profession/">The state of the profession (of mathematician)</a></p>
<p>Andrés E. Caicedo: <a href="http://andrescaicedo.wordpress.com/2012/01/24/a-letter/">A letter</a> (on the resignation of the editorial board of Topology)</p>
<p>Steve Blank: <a href="http://steveblank.com/2012/01/04/why-the-movie-industry-cant-innovate-and-the-result-is-sopa/">Why the movie industry can&#8217;t innovate and the result is SOPA</a></p>
<p>Simon Grey: <a href="http://cygne-gris.blogspot.com/2012/01/another-needless-enemy.html">Another Needless Enemy (on U.S. vs. North Korea)</a></p>
<p>Santo D&#8217;Agostino: <a href="http://qedinsight.wordpress.com/2012/01/01/failing-to-learn/">Failing &#8230; To Learn</a>, <a href="http://qedinsight.wordpress.com/2011/12/30/how-much-mathematics-should-a-student-memorize-part-5-the-multiplication-table/">How Much Mathematics Should A Student Memorize? Part 5, The Multiplication Table</a></p>
<p>Jonathan Benson: <a href="http://wakeup-world.com/2011/10/11/indian-government-files-biopiracy-lawsuit-against-monsanto/">Indian Government Files Biopiracy Lawsuit Against Monsanto</a></p>
<p>John Robb: <a href="http://globalguerrillas.typepad.com/globalguerrillas/2011/12/the-proliferation-of-darknets.html">Modern Darknets</a></p>
<p>Jon Purdy: <a href="http://evincarofautumn.blogspot.com/2011/12/web-is-wrong.html">The Web Is Wrong</a></p>
<h2>Art and Photography</h2>
<p>Bradley Garrett: <a href="http://www.placehacking.co.uk/2012/01/12/affectual-affordances/">Home Turf: Carving Places in Space</a></p>
<p>Ken Baker: <a href="http://sketchesoftopology.wordpress.com/2012/02/01/chains-and-tangles/">Chains and Tangles</a></p>
<p>Telefunker: <a href="http://telefunker.wordpress.com/2012/02/05/centrale-thermique-terres-rouges-luxembourg/">Centrale Thermique Terres Rouges (abandoned power station in Luxembourg)</a>, <a href="http://telefunker.wordpress.com/2011/12/26/military-hospital-r-germany/">Military Hospital R</a> (abandoned military hospital from East Germany from before the Iron Curtain fell), <a href="http://telefunker.wordpress.com/2012/01/15/raw-pankow-germany/">RAW Pankow</a> (abandoned German roundhouse in Berlin), <a href="http://telefunker.wordpress.com/2012/01/01/manoir-de-la-chapelle-belgium/">Manoir de la Chapelle</a> (abandoned Belgian villa)</p>
<p>Zhai2nan2: <a href="http://postgygaxian.wordpress.com/2011/12/31/crafting-in-skyrim-and-new-vegas/">Crafting in Skyrim and New Vegas versus design-as-gameplay in Minecraft and Dwarf Fortress</a>, <a href="http://postgygaxian.wordpress.com/2012/01/12/attention-all-costumed-do-gooders-you-are-not-a-superhero-if-your-only-special-power-is-super-cleavage/">Attention all costumed do-gooders: you are NOT a superhero if your only power is super-cleavage</a></p>
<p>Alex Papadimoulis: <a href="http://thedailywtf.com/Articles/Server-Tent,-Bridging-The-Gap,-and-More-Server-Setups.aspx">Server Tent, and other photography</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/fourteenth-linkfest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Reminder Protocol</title>
		<link>http://www.xamuel.com/reminder-protocol/</link>
		<comments>http://www.xamuel.com/reminder-protocol/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:02:04 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Language]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3823</guid>
		<description><![CDATA[Suppose you&#8217;re lying in bed at night, and tomorrow you&#8217;re going in to your department, and suddenly you remember you have a package you need to pick up from the front desk. You can&#8217;t trust yourself to remember this tomorrow, so you turn to your sweetheart and say: &#8220;Remind me to pick up my package [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you&#8217;re lying in bed at night, and tomorrow you&#8217;re going in to your department, and suddenly you remember you have a package you need to pick up from the front desk.  You can&#8217;t trust yourself to remember this tomorrow, so you turn to your sweetheart and say:</p>
<ul>
<li>&#8220;Remind me to pick up my package tomorrow.&#8221;</li>
</ul>
<p>But maybe you&#8217;re not going in to the department tomorrow.  Maybe you&#8217;re going in the day after tomorrow.  It wouldn&#8217;t be appropriate to ask your sweetheart to remind you to pick up your package in two days.  So you need to wait one more day before asking her to remind you.  But what if you won&#8217;t remember to ask her to remind you?  You&#8217;d better take care of that!</p>
<ul>
<li>&#8220;Remind me to ask you to remind me to pick up my package tomorrow tomorrow.&#8221;</li>
</ul>
<p>But what if you aren&#8217;t going in to the department until the day after the day after tomorrow?</p>
<ul>
<li>&#8220;Remind me to ask you to remind me to ask you to remind me to pick up my package tomorrow tomorrow tomorrow.&#8221;</li>
</ul>
<p>I&#8217;ll leave it to you to generalize The Reminder Protocol to an arbitrary number of days after tomorrow.</p>
<p><strong>FURTHER READING</strong></p>
<p><a href="http://www.xamuel.com/first-world-problems/">First World Problems</a> (if this isn&#8217;t one, I don&#8217;t know what is!)<br />
<a href="http://www.xamuel.com/illogician/">The Illogician</a><br />
<a href="http://www.xamuel.com/troll-dad/">Troll Dad</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/reminder-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kafka World Problems</title>
		<link>http://www.xamuel.com/kafka-world-problems/</link>
		<comments>http://www.xamuel.com/kafka-world-problems/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:09:13 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Pictures]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3578</guid>
		<description><![CDATA[When I wrote the article First World Problems, maybe I was a bit harsh on all those poor first-worlders. So that got me thinking: what can I do to give them a break? Suddenly I remembered Franz Kafka&#8217;s classic novel, The Trial, and I knew exactly what I had to do. The basic question is: [...]]]></description>
			<content:encoded><![CDATA[<p>When I wrote the article <a href="http://www.xamuel.com/first-world-problems/">First World Problems</a>, maybe I was a bit harsh on all those poor first-worlders.  So that got me thinking:  what can I do to give them a break?  Suddenly I remembered Franz Kafka&#8217;s classic novel, The Trial, and I knew exactly what I had to do.  The basic question is: what would our problems be like if we lived in Franz Kafka&#8217;s world of draconian bureaucratic oppression?</p>
<p><img class="aligncenter size-full wp-image-3580" title="class" src="http://www.xamuel.com/blog/wp-content/uploads/class.jpg" alt="" width="400" height="379" /></p>
<p><img class="aligncenter size-full wp-image-3581" title="chips" src="http://www.xamuel.com/blog/wp-content/uploads/chips1.jpg" alt="" width="500" height="332" /></p>
<p><img class="aligncenter size-full wp-image-3582" title="lol" src="http://www.xamuel.com/blog/wp-content/uploads/lol1.jpg" alt="" width="400" height="407" /></p>
<div align="center"><iframe align="middle" width="420" height="315" src="http://www.youtube.com/embed/gEyFH-a-XoQ" frameborder="0" allowfullscreen></iframe></div>
<p><img class="aligncenter size-full wp-image-3583" title="metamorphosis" src="http://www.xamuel.com/blog/wp-content/uploads/metamorphosis.jpg" alt="" width="400" height="300" /></p>
<p><img class="aligncenter size-full wp-image-3585" title="angrybirds" src="http://www.xamuel.com/blog/wp-content/uploads/angrybirds1.jpg" alt="" width="480" height="360" /></p>
<p><img class="aligncenter size-full wp-image-3584" title="morningsleepyhead" src="http://www.xamuel.com/blog/wp-content/uploads/morningsleepyhead.jpg" alt="" width="753" height="463" /></p>
<p style="text-align: right;">(Continued:  <a href="http://alessonislearned.com/index.php?comic=31">Morning, Sleepy Head!</a> at ALIL)</p>
<p><img class="aligncenter size-full wp-image-3586" title="video" src="http://www.xamuel.com/blog/wp-content/uploads/video.jpg" alt="" width="400" height="379" /></p>
<p><img class="aligncenter size-full wp-image-3588" title="cereal" src="http://www.xamuel.com/blog/wp-content/uploads/cereal1.jpg" alt="" width="450" height="378" /></p>
<p><strong>FURTHER READING</strong></p>
<p><a href="http://www.xamuel.com/first-world-problems/">First World Problems</a><br />
<a href="http://www.xamuel.com/inglip-comics/">Inglip Comics</a><br />
<a href="http://www.xamuel.com/immune-to-revolution/">Dictators: How to Immunize Yourself Against Revolution</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/kafka-world-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Predictable Premises</title>
		<link>http://www.xamuel.com/predictable-premises/</link>
		<comments>http://www.xamuel.com/predictable-premises/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 13:54:11 +0000</pubDate>
		<dc:creator>Sam Alexander</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Observations]]></category>

		<guid isPermaLink="false">http://www.xamuel.com/blog/?p=3567</guid>
		<description><![CDATA[You can save yourself an enormous amount of time by learning to predict the whole contents of a movie, book, video, etc. based entirely on the premise. Once you have this ability, you no longer need to spend time consuming those products: you already know exactly what they&#8217;ll contain. You can still consume them as [...]]]></description>
			<content:encoded><![CDATA[<p>You can save yourself an enormous amount of time by learning to predict the whole contents of a movie, book, video, etc. based entirely on the premise.  Once you have this ability, you no longer need to spend time consuming those products: you already know exactly what they&#8217;ll contain.  You can still consume them as a way to kill time, but only if you want to.</p>
<p><img class="aligncenter size-full wp-image-3568" title="SHARKTOPUS_DVD" src="http://www.xamuel.com/blog/wp-content/uploads/SHARKTOPUS_DVD.jpg" alt="" width="228" height="320" /></p>
<p>For example, take The Daily Show with Jon Stewart, or The Colbert Report with Stephen Colbert.  People are always linking me to clips from these shows, and I used to consider myself a fan, but nowadays I don&#8217;t follow those links unless I&#8217;m bored or there&#8217;s some compelling reason.  Why?  Because they haven&#8217;t changed in years, and I can almost always predict their punchlines in advance (or if not the exact punchline, the overall idea).  This isn&#8217;t to say the shows are bad at comedy.  They&#8217;re still quite funny!  But I don&#8217;t need to view them.  Even if it were imperative that I maintain a solid grasp on those shows (e.g., if I hang out with a lot of young white people), I still would not need to view individual clips.</p>
<p><img class="aligncenter size-full wp-image-3570" title="250px-Colbert-truthiness" src="http://www.xamuel.com/blog/wp-content/uploads/250px-Colbert-truthiness.jpg" alt="" width="250" height="176" /></p>
<p>Again, there are some bloggers whose every scribbling I used to devour, but nowadays I rapidly skim their posts or skip them entirely.  Based on nothing but the post title, I can pretty reliably predict what they&#8217;re gonna say.  In fact, I&#8217;ll go further than that:  given just the title, if I were forced to, I could write an appropriate article myself.  And I must emphasize, I&#8217;m still talking about some top-notch bloggers here.  It&#8217;s just that I&#8217;ve reached a point where generic articles no longer offer anything unpredictable.  To grow, we must expose ourselves to radically new material.</p>
<p>&#8220;The Onion&#8221; is another great example.  It&#8217;s quite fun to browse The Onion just looking at headlines.  Once you&#8217;ve read a few stories (or maybe even before you&#8217;ve read a few stories) you can begin absorbing all the humor through the headlines alone, no longer needing to actually open them and read the full articles.  I was an Onion reader way back in the early days, before they became bajillionaires (yeah, yeah, call me a hipster).  Back then, most the headlines weren&#8217;t even <em>clickable</em>.  They didn&#8217;t even bother writing stories for them, but those headlines were still the best part of the site.</p>
<p><img class="aligncenter size-full wp-image-3571" title="onionscreenshot" src="http://www.xamuel.com/blog/wp-content/uploads/onionscreenshot1.jpg" alt="" width="638" height="194" /></p>
<p>Any content whose cornerstone is parody, satire, or sarcasm, is bound to become predictable fast (unless it&#8217;s of the finest subtlety).  My deepest respect goes out to writers who keep on reinventing themselves and reinventing themselves, writing from way out of left field, keeping me on the tips of my toes.  And to writers whose work is stuffed full of solid content, whether it be mathematical theorems or cocktail recipes.  If there&#8217;s one thing I&#8217;ve learned from all my blogging, it&#8217;s a deep appreciation for all things unpredictable.</p>
<p><strong>FURTHER READING</strong></p>
<p><a href="http://www.xamuel.com/blogging-vs-academic-writing/">Blogging vs. Academic Writing</a><br />
<a href="http://www.xamuel.com/fun-with-pop-evolutionary-biology/">Fun with Pop-Evolutionary Biology</a><br />
<a href="http://www.xamuel.com/incentives-for-creativity/">Incentives for Creativity</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xamuel.com/predictable-premises/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

