<?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>Oh So Boring... &#187; bing</title>
	<atom:link href="http://www.ohsoboring.com/tag/bing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ohsoboring.com</link>
	<description>The trials and tribulations of a man and his life. Tribulations, that&#039;s an odd word. Let&#039;s blog about it...</description>
	<lastBuildDate>Sun, 05 Feb 2012 07:39:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Bing v. Wolfram&#124;Alpha: Differences</title>
		<link>http://www.ohsoboring.com/2009/12/03/bing-v-wolframalpha-differences/</link>
		<comments>http://www.ohsoboring.com/2009/12/03/bing-v-wolframalpha-differences/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 22:00:13 +0000</pubDate>
		<dc:creator>Fortran</dc:creator>
				<category><![CDATA[boring]]></category>
		<category><![CDATA[Nerd!]]></category>
		<category><![CDATA[Random Thing]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[exponentiation]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[wolfram]]></category>
		<category><![CDATA[wolfram alpha]]></category>
		<category><![CDATA[wolframalpha]]></category>

		<guid isPermaLink="false">http://www.ohsoboring.com/?p=385</guid>
		<description><![CDATA[A while back it was announced that Bing would be using Wolfram&#124;Alpha as their math engine.  Which is cool, because Bing is a pretty interesting engine, and W&#124;A is a very cool one, indeed. However, there is a bit of an issue with its integration, I believe. Namely: they give different answers!  I know this [...]]]></description>
			<content:encoded><![CDATA[<p>A while back <a href="http://blog.wolframalpha.com/2009/11/11/microsoft%E2%80%99s-bing-introducing-one-of-wolframalpha%E2%80%99s-first-commercial-api-customers/">it was announced</a> that <a href="http://www.bing.com">Bing</a> would be using <a href="http://www.wolframalpha.com/">Wolfram|Alpha</a> as their math engine.  Which is cool, because Bing is a pretty interesting engine, and W|A is a <a href="http://www.boingboing.net/2009/12/02/wolfram-alpha-answer.html"><em>very</em> cool one</a>, <a href="http://blog.wolframalpha.com/2009/12/01/step-by-step-math/">indeed</a>.</p>
<p>However, there is a bit of an issue with its integration, I believe. Namely: they give different answers!  I know this because I tried out an example in the <a href="http://blog.wolframalpha.com/2009/11/11/microsoft%E2%80%99s-bing-introducing-one-of-wolframalpha%E2%80%99s-first-commercial-api-customers/">first link</a> up there, that of 2^2^2^2^2.  It turns out the answer to this is a bit vague, so differing solutions are not unexpected, but still&#8230;</p>
<p>Why? <a href="http://en.wikipedia.org/wiki/Exponentiation">Exponentiation</a> is not associative, unlike addition or multiplication (it might satisfy the Lie algebra equivalent of the <a href="http://en.wikipedia.org/wiki/Jacobi_identity">Jacobi identity</a>, I dunno), so the order matters. A lot.  Thus, while 2+(3+4) = (2+3)+4, and likewise for multiplication, 2^(3^4) !=  (2^3)^4. This being exponentiation, it really doesn&#8217;t. The latter is 4096, the former is 2417851639229258349412352. Juuuuuuuuuuuuuuuuuuuuust a bit different. So without parentheses, things are vague.</p>
<p>Now how about the example in the article? We&#8217;ll get to that. Let&#8217;s start with 3 2&#8242;s. (2^2)^2 = 16, 2^(2^2) = 16. Phew safe. So, 2^2^2 is fine.</p>
<p>2^2^2^2? Given that, <a href="http://www.bing.com/search?q=2^2^2^2&amp;go=&amp;form=QBRE&amp;qs=n">Bing outputs</a> the &#8220;bottom-up&#8221; answer: ((2^2)^2)^2 = 256. <a href="http://www.wolframalpha.com/input/?i=2^2^2^2">W|A outputs</a> the &#8220;top-down&#8221;: 2^(2^(2^2)) = 65536. Ah ha.</p>
<p>The disparity is growing, but not bad. So adding one more ^2 shouldn&#8217;t be too horrible, right?</p>
<p>Wrong.</p>
<p>Exponentiation grows quickly so order reaaaaaallly matters.</p>
<p>2^2^2^2^2? As expected from above, Bing should do 256^2=65536 and <a href="http://www.bing.com/search?q=2^2^2^2^2&amp;go=&amp;form=QBRE&amp;qs=n">it does</a>. W|A? Well, it does 2^65536. This is a big number. How big? Well&#8230;</p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">20035299304068464649790723515</a></p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">602557504478254755697514192650</a></p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">169737108940595563114530895061</a></p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">308809333481010382343429072631</a></p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">818229493821188126688695063647&#8230;</a></p>
<p><a href="http://www.wolframalpha.com/input/?i=2^2^2^2^2">&#8230;8091458852699826141425030123391</a></p>
<p>That is a 19729 digit number. Big.</p>
<p>Therein lies the difference, but which is right? Hmm. Most mathematicians think of <a href="http://en.wikipedia.org/wiki/Exponentiation#Identities_and_properties">repeated exponentiation as &#8220;top-down&#8221;</a>. So, my main question is why isn&#8217;t Bing using W|A as it says? Or is there some extra option I need to assemble?</p>
<p>Oh well. Just an odd thing I noticed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohsoboring.com/2009/12/03/bing-v-wolframalpha-differences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

