<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Maybe you don&#039;t need to</title>
	<atom:link href="http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/</link>
	<description>John D. Cook</description>
	<lastBuildDate>Wed, 22 May 2013 00:05:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Life lessons from functional programming &#8212; The Endeavour</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3245</link>
		<dc:creator>Life lessons from functional programming &#8212; The Endeavour</dc:creator>
		<pubDate>Tue, 13 Nov 2012 13:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3245</guid>
		<description><![CDATA[[...] Maybe you don&#8217;t need to  Just-in-case vs just-in-time Henri Poincaré&#8217;s work schedule [...] ]]></description>
		<content:encoded><![CDATA[<p>[...] Maybe you don&#8217;t need to  Just-in-case vs just-in-time Henri Poincaré&#8217;s work schedule [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3244</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Fri, 02 Nov 2012 02:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3244</guid>
		<description><![CDATA[One example is finding the center of mass of a semicircle (radius = 1). That is, the distance, call it x, from the diameter to the COM. This appears to require calculus.
However: If you rotate the semi-circle about its diameter, it forms a sphere. Pappus&#039; Theorem then applies:
(area) (distance COM travels) = (volume of the solid swept out)
(pi/2)(2pi*x) = (4pi/3)
From which x = 4/(3pi)]]></description>
		<content:encoded><![CDATA[<p>One example is finding the center of mass of a semicircle (radius = 1). That is, the distance, call it x, from the diameter to the COM. This appears to require calculus.<br />
However: If you rotate the semi-circle about its diameter, it forms a sphere. Pappus&#8217; Theorem then applies:<br />
(area) (distance COM travels) = (volume of the solid swept out)<br />
(pi/2)(2pi*x) = (4pi/3)<br />
From which x = 4/(3pi)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Braun</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3243</link>
		<dc:creator>Josh Braun</dc:creator>
		<pubDate>Thu, 01 Nov 2012 21:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3243</guid>
		<description><![CDATA[@Joshua Zucker: I knew someone had to have thought o it before.  Glad to put a name to the phenomenon. :)]]></description>
		<content:encoded><![CDATA[<p>@Joshua Zucker: I knew someone had to have thought o it before.  Glad to put a name to the phenomenon. <img src='http://www.johndcook.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Zucker</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3242</link>
		<dc:creator>Joshua Zucker</dc:creator>
		<pubDate>Thu, 01 Nov 2012 19:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3242</guid>
		<description><![CDATA[Josh Braun&#039;s response is equivalent to Euclidean Algorithm; another way of saying what he said is that it lets you find common factors without prime factorizing.

For me the most miraculous items in this category seem to be with expected value, where first of all linearity lets you dispense with all kinds of information about covariances, and second of all you can sum a whole bunch of infinite series that come up in expected value calculations by solving a simple linear equation instead.]]></description>
		<content:encoded><![CDATA[<p>Josh Braun&#8217;s response is equivalent to Euclidean Algorithm; another way of saying what he said is that it lets you find common factors without prime factorizing.</p>
<p>For me the most miraculous items in this category seem to be with expected value, where first of all linearity lets you dispense with all kinds of information about covariances, and second of all you can sum a whole bunch of infinite series that come up in expected value calculations by solving a simple linear equation instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Wicklin</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3241</link>
		<dc:creator>Rick Wicklin</dc:creator>
		<pubDate>Thu, 01 Nov 2012 17:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3241</guid>
		<description><![CDATA[Solving a differential equation by guessing a solution and then showing that it works.  If the problem has uniqueness of solutions, you are done.]]></description>
		<content:encoded><![CDATA[<p>Solving a differential equation by guessing a solution and then showing that it works.  If the problem has uniqueness of solutions, you are done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franklin Chen</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3240</link>
		<dc:creator>Franklin Chen</dc:creator>
		<pubDate>Thu, 01 Nov 2012 17:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3240</guid>
		<description><![CDATA[There are a lot of examples I can think of. They share in common the fact that one can reason about a system or problem rather than within it. In chess, for example, there are blocked positions in which it is obvious to a human that neither side can break through, but where a computer just using brute force search would never &quot;understand&quot; this structural fact. In mathematical logic, results such as Goedel&#039;s theorem (or equivalently, in computer science the undecidability of the halting problem) result from reasoning about a formal system rather than just following rules within it. More generally, all of mathematics is about being able to prove something without going through all possibilities: something as simple as showing that there are infinitely many primes is fundamental to the whole enterprise (something that I have found many non-mathematicians cannot grasp, because they think in terms of having to show every case, which can&#039;t be done of course, and therefore they think it&#039;s somehow an open question, therefore, whether there could be a final prime).]]></description>
		<content:encoded><![CDATA[<p>There are a lot of examples I can think of. They share in common the fact that one can reason about a system or problem rather than within it. In chess, for example, there are blocked positions in which it is obvious to a human that neither side can break through, but where a computer just using brute force search would never &#8220;understand&#8221; this structural fact. In mathematical logic, results such as Goedel&#8217;s theorem (or equivalently, in computer science the undecidability of the halting problem) result from reasoning about a formal system rather than just following rules within it. More generally, all of mathematics is about being able to prove something without going through all possibilities: something as simple as showing that there are infinitely many primes is fundamental to the whole enterprise (something that I have found many non-mathematicians cannot grasp, because they think in terms of having to show every case, which can&#8217;t be done of course, and therefore they think it&#8217;s somehow an open question, therefore, whether there could be a final prime).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3239</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Thu, 01 Nov 2012 15:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3239</guid>
		<description><![CDATA[If you want to know the integral of a product of two Gaussians, all you need is one evaluation of a third Gaussian.]]></description>
		<content:encoded><![CDATA[<p>If you want to know the integral of a product of two Gaussians, all you need is one evaluation of a third Gaussian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain Murray</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3238</link>
		<dc:creator>Iain Murray</dc:creator>
		<pubDate>Thu, 01 Nov 2012 15:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3238</guid>
		<description><![CDATA[A favourite from this blog: find inv(A)*b without inverting matrix A.

Rejection sampling: draw a sample from a distribution defined by a probability density function, without finding its inverse cumulative distribution.

Homomorphic encryption: compute with encrypted data without first decrypting it: http://www.americanscientist.org/issues/pub/2012/5/alice-and-bob-in-cipherspace/1

Maximum likelihood estimation of exponential family models by stochastic approximation: no need to approximate the likelihood being optimized, just go straight for its derivatives (easier to estimate).

A nice class of things...I look forward to seeing more!]]></description>
		<content:encoded><![CDATA[<p>A favourite from this blog: find inv(A)*b without inverting matrix A.</p>
<p>Rejection sampling: draw a sample from a distribution defined by a probability density function, without finding its inverse cumulative distribution.</p>
<p>Homomorphic encryption: compute with encrypted data without first decrypting it: <a href="http://www.americanscientist.org/issues/pub/2012/5/alice-and-bob-in-cipherspace/1" rel="nofollow">http://www.americanscientist.org/issues/pub/2012/5/alice-and-bob-in-cipherspace/1</a></p>
<p>Maximum likelihood estimation of exponential family models by stochastic approximation: no need to approximate the likelihood being optimized, just go straight for its derivatives (easier to estimate).</p>
<p>A nice class of things&#8230;I look forward to seeing more!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Fitzgerald</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3237</link>
		<dc:creator>Will Fitzgerald</dc:creator>
		<pubDate>Thu, 01 Nov 2012 15:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3237</guid>
		<description><![CDATA[Some people are really good at knowing, as if via proprioception, where the cardinal directions are. This is a challenge for me. One afternoon I was walking with a friend, and asked him which direction was north — I was striving to come up with what I knew about the surroundings we were in to get hints on directions. Look, he said, there&#039;s the sun.]]></description>
		<content:encoded><![CDATA[<p>Some people are really good at knowing, as if via proprioception, where the cardinal directions are. This is a challenge for me. One afternoon I was walking with a friend, and asked him which direction was north — I was striving to come up with what I knew about the surroundings we were in to get hints on directions. Look, he said, there&#8217;s the sun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fogus</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3236</link>
		<dc:creator>fogus</dc:creator>
		<pubDate>Thu, 01 Nov 2012 14:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3236</guid>
		<description><![CDATA[9 has more interesting properties that fall into this category: http://blog.fogus.me/2010/10/30/09/]]></description>
		<content:encoded><![CDATA[<p>9 has more interesting properties that fall into this category: <a href="http://blog.fogus.me/2010/10/30/09/" rel="nofollow">http://blog.fogus.me/2010/10/30/09/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Braun</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3235</link>
		<dc:creator>Josh Braun</dc:creator>
		<pubDate>Thu, 01 Nov 2012 14:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3235</guid>
		<description><![CDATA[When I was a kid, I discovered a trick for determining whether fractions are reducible.  If...

(denominator-numerator)/denominator

...is irreducible, then so is the original fraction, and if it is reducible, so is the original fraction.  Occasionally, it&#039;s easier to eyeball whether the expression above is reducible or not than dealing with what you&#039;re initially given.]]></description>
		<content:encoded><![CDATA[<p>When I was a kid, I discovered a trick for determining whether fractions are reducible.  If&#8230;</p>
<p>(denominator-numerator)/denominator</p>
<p>&#8230;is irreducible, then so is the original fraction, and if it is reducible, so is the original fraction.  Occasionally, it&#8217;s easier to eyeball whether the expression above is reducible or not than dealing with what you&#8217;re initially given.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Tate</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3234</link>
		<dc:creator>Dave Tate</dc:creator>
		<pubDate>Thu, 01 Nov 2012 13:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3234</guid>
		<description><![CDATA[Your example of a probability argument rang a bell.  One of my graduate professors told the story of stumping colleagues in other branches of math with a challenge to prove a somewhat hairy-looking equation involving a complicated sum on one side and an annoying integral on the other.  In the context of a probability class, the proof was by inspection: the left hand side was the probability that the number of events prior to time T in a poisson process with rate L is at least N, and the right-hand side was the probability that an Erlang(N,L) random variable takes a value less than or equal to T.]]></description>
		<content:encoded><![CDATA[<p>Your example of a probability argument rang a bell.  One of my graduate professors told the story of stumping colleagues in other branches of math with a challenge to prove a somewhat hairy-looking equation involving a complicated sum on one side and an annoying integral on the other.  In the context of a probability class, the proof was by inspection: the left hand side was the probability that the number of events prior to time T in a poisson process with rate L is at least N, and the right-hand side was the probability that an Erlang(N,L) random variable takes a value less than or equal to T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Honner</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3233</link>
		<dc:creator>Patrick Honner</dc:creator>
		<pubDate>Thu, 01 Nov 2012 13:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3233</guid>
		<description><![CDATA[I wrote about a &lt;a href=&quot;http://mrhonner.com/2012/06/07/a-surprising-integral/&quot; rel=&quot;nofollow&quot;&gt;similar experience&lt;/a&gt; I had computing an integral:  in this case, applying integration by parts made the problem &lt;i&gt;look&lt;/i&gt; more complicated, but actually made it easier to solve.

I suspect this sort of thing happens a lot in computing integrals (and other cook-bookery type math) where no one algorithm works.]]></description>
		<content:encoded><![CDATA[<p>I wrote about a <a href="http://mrhonner.com/2012/06/07/a-surprising-integral/" rel="nofollow">similar experience</a> I had computing an integral:  in this case, applying integration by parts made the problem <i>look</i> more complicated, but actually made it easier to solve.</p>
<p>I suspect this sort of thing happens a lot in computing integrals (and other cook-bookery type math) where no one algorithm works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evpok</title>
		<link>http://www.johndcook.com/blog/2012/11/01/maybe-you-dont-need-to/comment-page-1/#comment-3232</link>
		<dc:creator>Evpok</dc:creator>
		<pubDate>Thu, 01 Nov 2012 12:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12349#comment-3232</guid>
		<description><![CDATA[The most obvious is in my opinion the summation of the first n terms of an arithmetic sequence

E.g. S = 1 + 2 + … + 2713
2×S = (1 + 2713) + (2 + 2712)  + … +  (2713+1) = 2713×(2713+1)
So S = 2713×(2713+1)/2 = 3681541
So there is no need to waste one&#039;s time with 2712 additions.]]></description>
		<content:encoded><![CDATA[<p>The most obvious is in my opinion the summation of the first n terms of an arithmetic sequence</p>
<p>E.g. S = 1 + 2 + … + 2713<br />
2×S = (1 + 2713) + (2 + 2712)  + … +  (2713+1) = 2713×(2713+1)<br />
So S = 2713×(2713+1)/2 = 3681541<br />
So there is no need to waste one&#8217;s time with 2712 additions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
