<?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>BetterExplained &#187; Calculus</title>
	<atom:link href="http://betterexplained.com/articles/category/math/calculus/feed/" rel="self" type="application/rss+xml" />
	<link>http://betterexplained.com</link>
	<description>Learn Right, Not Rote.</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:14:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Intuitive Understanding of Sine Waves</title>
		<link>http://betterexplained.com/articles/intuitive-understanding-of-sine-waves/</link>
		<comments>http://betterexplained.com/articles/intuitive-understanding-of-sine-waves/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 14:00:25 +0000</pubDate>
		<dc:creator>kalid</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://betterexplained.com/?p=1183</guid>
		<description><![CDATA[Sine waves confused me. Yes, I can mumble "SOH CAH TOA" and draw lines within triangles. <strong>But what does it mean</strong>?

I was stuck thinking sine had to be extracted from other shapes. A quick analogy:

<blockquote>
You: Geometry is</blockquote>&#8230; <a href="http://betterexplained.com/articles/intuitive-understanding-of-sine-waves/" class="read_more">Read article</a>]]></description>
			<content:encoded><![CDATA[<p>Sine waves confused me. Yes, I can mumble "SOH <span class="caps">CAH TOA</span>" and draw lines within triangles. <strong>But what does it mean</strong>?</p>

<p>I was stuck thinking sine had to be extracted from other shapes. A quick analogy:</p>

<blockquote>
You: Geometry is about shapes, lines, and so on...

<p>Alien: Oh? Can you show me a line?</p>

<p>You (looking around): Uh... see that brick, there? A line is one edge of that brick.</p>

<p>Alien: So lines are part of a shape?</p>

<p>You: Sort of. Yes, most shapes have lines in them. But a line is a basic concept on its own: a beam of light, a direct route on a map, or even a vector in many dimensions. You see--</p>

Alien: Lines come from bricks. Bricks bricks bricks.<br />
</blockquote>

<p>The frustration! Because sine is introduced with angles and circles, my brain thinks "Sine comes from circles. Circles circles circles."</p>

<p>No more. In a sentence:</p>

<p><strong>Sine a natural sway, the epitome of smoothness: it makes circles "circular" in the same way lines make squares "square".</strong></p>

<p>Let's build our intuition by seeing sine as its own shape, and <em>then</em> understand how it fits into circles and the like. Onward!</p>

<h2>Sine vs Lines</h2>

<p>Remember to separate an <em>idea</em> from an <em>example</em>: squares are <em>examples</em> of lines. Sine clicked when it became its own idea, not "part of a circle."</p>

<p>Let's observe sine in a simulator (Email readers, you may need to open the article directly):</p>

<p><iframe style="width: 500px; height: 300px" src="http://jsfiddle.net/nfeZF/64/embedded/result/"></iframe></p>

<p>Hubert will give the tour:</p>


<ul>
<li><strong>Click start</strong>. Go, Hubert go! Notice that smooth back and forth motion? That's Hubert, but more importantly (sorry Hubert), that's sine! It's natural, the way springs bounce, pendulums swing, strings vibrate... and many things move.</li>
<li><strong>Change "vertical" to "linear"</strong>. Big difference -- see how the motion gets constant and robotic, like a game of pong?</li>
</ul>



<p>Let's explore the differences <a href="http://www.youtube.com/watch?v=WAyTK6jF5o8">with video</a>:</p>

<p><iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/WAyTK6jF5o8" frameborder="0" allowfullscreen></iframe></p>


<ul>
<li><strong>Linear motion</strong> is constant: we go a set speed and turn around instantly. It's the unnatural motion in the robot dance (notice the linear bounce with no slowdown at 0:07, the strobing effect at :38).</li>
</ul>




<ul>
<li><strong>Sine</strong> changes its speed: it starts fast, slows down, stops, and speeds up again. It's the enchanting smoothness in liquid dancing (human sine wave at 0:12 and 0:23, natural bounce at :47).</li>
</ul>



<p>Unfortunately, textbooks don't show sine with animations or dancing. No, they prefer to introduce sine with a timeline (try setting "horizontal" to "timeline"):</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-plot.gif" width="500" />
(<a href="http://en.wikipedia.org/wiki/File:Sine.svg">source</a>)</p>

<p>Egads. This is the schematic diagram we've always been shown. Does it give you the feeling of sine? Not any more than a skeleton portrays the agility of a cat. Let's watch sine move and <em>then</em> chart its course.</p>

<h2>The Unavoidable Circle</h2>

<p>Circles have sine. Yes. But seeing the sine inside a circle is like getting the eggs back out of the omelette. It's all mixed together!</p>

<p>Let's take it slow. In the simulation, set Hubert to vertical:none and horizontal: sine*. See him wiggle sideways? That's the motion of sine. There's a small tweak: normally sine starts the cycle at the neutral midpoint and races to the max. This time, we start at the max and fall towards the midpoint. Sine that "starts at the max" is called cosine, and it's just a version of sine (like a horizontal line is a version of a vertical line).</p>

<p>Ok. Time for both sine waves: put vertical as "sine" and horizontal as "sine*". And... we have a circle!</p>

<p>A horizontal and vertical "spring" combine to give circular motion. Most textbooks draw the circle and try to extract the sine, but I prefer to build up: start with pure horizontal or vertical motion and add in the other.</p>

<h2>Quick Q &#038; A</h2>

<p>A few insights I missed when first learning sine:</p>

<p><strong>Sine really is 1-dimensional</strong></p>

<p>Sine wiggles in one dimension. Really. We often graph sine over time (so we don't write over ourselves) and sometimes the "thing" doing sine is also moving, but this is optional! A spring in one dimension is a perfectly happy sine wave.</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-1d.gif" /></p>

<p><strong>Circles are an <em>example</em> of two sine waves</strong></p>

<p>Circles and square are a combination of basic components (sines and lines). But circles aren't the "origin" of sines any more than squares are the root cause of lines.</p>

<p><strong>What do the values of sine mean?</strong></p>

<p>Sine cycles between -1 and 1. It starts at 0, grows to 1.0 (max), dives to -1.0 (min) and returns to neutral. I also see sine like a percentage, from 100% (full steam ahead) to -100% (full retreat).</p>

<p><strong>What's is the input 'x' in sin(x)?</strong></p>

<p>Tricky question. Sine is a cycle and x, the input, is <strong>how far along we are in the cycle</strong>.</p>

<p>Let's look at lines:</p>


<ul>
<li>You're traveling on a square. Each side takes 10 seconds.</li>
<li>After 1 second, you are 10% complete on that side</li>
<li>After 5 seconds, you are 50% complete</li>
<li>After 10 seconds, you finished the side</li>
</ul>



<p>Linear motion has few surprises. Now for sine (focusing on the "0 to max" cycle):</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-growth.png" /></p>


<ul>
<li>We're traveling on a sine wave, from 0 (neutral) to 1.0 (max). This portion takes 10 seconds.</li>
<li>After 5 seconds we are... 70% complete! Sine rockets out of the gate and slows down. Most of the gains are in the first 5 seconds</li>
<li>It takes 5 more seconds to get from 70% to 100%. And going from 98% to 100% takes almost a full second!</li>
</ul>



<p>Despite our initial speed, sine slows so we gently kiss the max value before turning around. This smoothness makes sine, sine.</p>

<p>For the geeks: Press "show stats" in the simulation. You'll see the percent complete of the total cycle, mini-cycle (0 to 1.0), and the value attained so far. Stop, step through, and switch between linear and sine motion to see the values.</p>

<p>Quick quiz: What's higher, 10% of a linear cycle, or 10% of a sine cycle? Sine. Remember, it barrels out of the gate at max speed. The average speed is indeed hit at 50% of the cycle time, but in the beginning we're going faster than average.</p>

<p><strong>So x is the 'amount of your cycle'. What's the cycle?</strong></p>

<p>It depends on the context.</p>


<ul>
<li>Basic trig: 'x' is degrees, and a full cycle is 360 degrees</li>
<li>Advanced trig: 'x' is radians (<a href="http://betterexplained.com/articles/intuitive-guide-to-angles-degrees-and-radians/">they are more natural!</a>), and a full cycle is going around the unit circle (2*pi radians)</li>
</ul>



<p>Play with values of x here:</p>

<p><iframe width="425" height="320" frameborder="0" marginwidth="0" marginheight="0" src="http://tinyurl.com/3nrecr8"></iframe></p>

<p>But again, cycles depend on circles! Can we escape their tyranny?</p>

<h2>Pi without Pictures</h2>

<p>Imagine a sightless alien who only notices shades of light and dark. Could you describe pi to him? It's hard to flicker the idea of a circle's circumference, right?</p>

<p>Let's step back a bit. Sine is a repeating pattern, which means it must... repeat! It goes from 0, to 1, to 0, to -1, to 0, and so on.</p>

<p><strong>Let's define pi as the time sine takes from 0 to 1 and back to 0.</strong> Whoa! Now we're using pi without a circle too! Pi is a concept that <em>just happens</em> to show up in circles:</p>


<ul>
<li>Sine is a gentle back and forth rocking</li>
<li>Pi is the time from neutral to max and back to neutral</li>
<li>n*Pi (0*Pi, 1*pi, 2*pi, and so on) are the times you are at neutral</li>
<li>2*Pi, 4*pi, 6*pi, etc. are full cycles</li>
</ul>



<p>Aha! That is why pi appears in so many formulas! Pi doesn't "belong" to circles any more than 0 and 1 do -- <strong>pi is about sine returning to center</strong>! A circle is an <em>example</em> of a shape that repeats and returns to center every 2*pi units. But springs, vibrations, etc. return to center after pi too!</p>

<p><strong>Question: If pi is half of a natural cycle, why does it go on forever (i.e., irrational)?</strong></p>

<p>Can I answer a question with a question? Why does the diagonal of a "unit square" have length sqrt(2), which also goes on forever?</p>

<p>But yes, I realize it's <a href="http://en.wikipedia.org/wiki/Hippasus">philosophically inconvenient</a> when nature behaves randomly. I don't have a good intuition.</p>

<h2>How fast is sine?</h2>

<p>I've been tricky. Previously, I said "imagine it takes sine 10 seconds from 0 to max". And now it's pi seconds from 0 to max back to 0? What gives?</p>


<ul>
<li>sin(x) is the <em>default</em>, off-the-shelf sine wave, that indeed takes pi units of time from 0 to max to 0 (or 2*pi for a complete cycle)</li>
<li>sin(2x) is a wave that moves twice as fast</li>
<li>sin(x/2) is a wave that moves twice as slow</li>
</ul>



<p>So, we use sin(n*x) to get a sine wave cycling as fast as we need. Often, the phrase "sine wave" is referencing the general shape and not a specific speed.</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-variations.png" /></p>

<h2>Part 2: Understanding the definitions of sine</h2>

<p>That's a brainful -- take a break if you need it. Hopefully, sine is emerging as its own pattern. Now let's <a href="http://betterexplained.com/articles/developing-your-intuition-for-math/">develop our intuition</a> by seeing how common definitions of sine connect.</p>

<h2>Definition 1: The height of a triangle / circle!</h2>

<p>Sine was first found in triangles. You may remember "SOH <span class="caps">CAH TOA</span>" as a mnemonic</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/SOH.png" /></p>


<ul>
<li><span class="caps">SOH</span>: Sine is Opposite / Hypotenuse</li>
<li><span class="caps">CAH</span>: Cosine is Adjacent / Hypotenuse</li>
<li><span class="caps">TOA</span>: Tangent is Opposite / Adjacent</li>
</ul>



<p>For a right triangle with angle x, sin(x) is the length of the opposite side divided by the hypotenuse. If we make the hypotenuse 1, we can simplify to:</p>


<ul>
<li>Sine = Opposite</li>
<li>Cosine = Adjacent</li>
</ul>



<p>And with more cleverness, we can draw our triangles with hypotenuse 1 in a circle with radius 1:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-unit-circle.png" /></p>

<p>Voila! A circle containing all possible right triangles (since they can be scaled up using similarity). For example:</p>


<ul>
<li>sin(45) = .707</li>
<li>Lay down a 10-foot pole and raise it 45 degrees. It is 10 * sin(45) = 7.07 feet off the ground</li>
<li>An 8-foot pole would be 8 * sin(45) = 5.65 feet</li>
</ul>



<p>These direct manipulations are great for construction (the <a href="http://en.wikipedia.org/wiki/History_of_trigonometry">pyramids</a> won't calculate themselves). Unfortunately, after thousands of years we start thinking the <em>meaning</em> of sine is the height of a triangle. No no, it's a shape that <em>shows up</em> in circles (and triangles).</p>

<p>Realistically, for many problems we go into "geometry mode" and start thinking "sine = height" to speed through things. That's fine -- just don't get stuck there.</p>

<h2>Definition 2: The infinite series</h2>

<p>I've avoided the elephant in the room: <strong>how in blazes do we actually calculate sine!?</strong> Is my calculator drawing a circle and measuring it?</p>

<p>Glad to rile you up. Here's the circle-less secret of sine:</p>

<p><strong>Sine is acceleration opposite to your current position</strong></p>

<p>Using our bank account metaphor: Imagine a perverse boss who gives you a raise the exact <em>opposite</em> of your current bank account! If you have $50 in the bank, then your raise next week is -$50. Of course, your income might be $75/week, so you'll still be earning some money ($75 - $50 for that week), but eventually your balance will decrease as the "raises" overpower your income.</p>

<p>But never fear! Once your account hits negative (say you're at -$50), then your boss gives a legit $50/week raise. Again, your income might be negative, but eventually the raises will overpower it.</p>

<p>This constant pull towards the center keeps the cycle going: when you rise up, the "pull" conspires to pull you in again. It also explains why neutral is the max speed for sine: If you are at the max, you begin falling and accumulating more and more "negative raises" as you plummet. As you pass through then neutral point you are feeling all the negative raises possible (once you cross, you'll start getting positive raises and slowing down).</p>

<p>By the way: since sine is acceleration opposite to your current position, and a circle is made up of a horizontal and vertical sine... you got it! Circular motion can be described as "a constant pull opposite your current position, towards your horizontal and vertical center".</p>

<h2>Geeking Out With Calculus</h2>

<p>Let's describe sine with calculus. Like e, we can break sine into smaller effects:</p>


<ul>
<li>Start at 0 and grow at unit speed</li>
<li>At every instant, get pulled back by negative acceleration</li>
</ul>



<p>How should we think about this? See how each effect above changes our distance from center:</p>


<ul>
<li>Our initial kick increases distance linearly: y (distance from center) = x (time taken)</li>
<li>At any moment, we feel a restoring force of -x. We integrate twice to turn negative acceleration into distance:</li>
</ul>



<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/9628e9f099a8387f4c62d72bd2af9f6b.png' title='\displaystyle{ \iint -x = -x^3/3! }' alt='\displaystyle{ \iint -x = -x^3/3! }' align=absmiddle class='tex' /></p>

<p>Seeing how acceleration impacts distance is like seeing how a raise hits your bank account. The "raise" must change your income, and your income changes your bank account (two integrals "up the chain").</p>

<p>So, after "x" seconds we might guess that sine is "x" (initial impulse) minus x^3/3! (effect of the acceleration):</p>

<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-model-1.png" /></p>

<p>Something's wrong -- sine doesn't nosedive! With e, we saw that "interest earns interest" and sine is similar. The "restoring force" changes our distance by -x^3/3!, which creates <em>another</em> restoring force to consider. Consider a spring: the pull that yanks you down goes too far, which shoots you downward and creates <em>another</em> pull to bring you up (which again goes too far). Springs are crazy!</p>

<p>We need to consider every restoring force:</p>


<ul>
<li>y = x is our initial motion, which creates a restoring force of impact:</li>
<li>y = -x^3/3!, which creates a restoring force of impact:</li>
<li>y = x^5/5!, which creates a restoring force of impact:</li>
<li>y = -x^7/7! which creates a restoring force of impact...</li>
</ul>



<p><img src="http://betterexplained.com/wp-content/uploads/sine/sine-better-models.png" /></p>

<p>Just like e, sine can be described with an infinite equation:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/ca6adf601c50e7f1d55c8804bb458968.png' title='\displaystyle{sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ... }' alt='\displaystyle{sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ... }' align=absmiddle class='tex' /></p>

<p>I saw this formula a lot, but it only clicked when I saw sine as a <em>combination of an initial impulse and restoring forces</em>. The initial push (y = x, going positive) is eventually overcome by a restoring force (which pulls us negative), which is overpowered by its own restoring force (which pulls us positive), and so on.</p>

<p>A few fun notes:</p>


<ul>
<li>Consider the "restoring force" like "positive or negative interest". This makes the sine/e connection in <a href="http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/">Euler's formula</a> easier to understand. Sine is like e, except sometimes it earns negative interest. There's more to learn here <img src='http://betterexplained.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</li>
<li>For small amounts, "y = x" is a good guess for sine. We just take the initial impulse and ignore any restoring forces.</li>
</ul>



<h2>The Calculus of Cosine</h2>

<p>Cosine is just a shifted sine, and is fun (yes!) now that we understand sine:</p>


<ul>
<li>Sine: Start at 0, initial impulse of y = x (100%)</li>
<li>Cosine: Start at 1, no initial impulse</li>
</ul>



<p>So cosine just starts off... sitting there at 1. We let the restoring force do the work:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/447ceef8f15d28bd997f3d7a8b441318.png' title='\displaystyle{y = 1 - x^2/2!}' alt='\displaystyle{y = 1 - x^2/2!}' align=absmiddle class='tex' /></p>

<p>Again, we integrate -1 twice to get -x^2/2!. But this kicks off another restoring force, and before you know it:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/7952197434837dbc9cbd6bc3a2bc15c9.png' title='\displaystyle{cos(x) = 1 - x^2/2! + x^4/4!}' alt='\displaystyle{cos(x) = 1 - x^2/2! + x^4/4!}' align=absmiddle class='tex' /></p>

<h2>Definition 3: The differential equation</h2>

<p>We've described sine's behavior with specific equations. A more succinct way (<a href="http://www.wolframalpha.com/input/?i=y%27%27+%3D+-y">equation</a>):</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/d3ea12e48b8e6159c66818c9baa5a633.png' title='\displaystyle{y&amp;#039;&amp;#039; = -y}' alt='\displaystyle{y&amp;#039;&amp;#039; = -y}' align=absmiddle class='tex' /></p>

<p>This beauty says:</p>


<ul>
<li>Our current position is y</li>
<li>Our acceleration (2nd derivative, or y'') is the opposite of our current position (-y)</li>
</ul>



<p>Both sine and cosine make this true. I first hated this definition; it's so divorced from a visualization. I didn't realize it described the essence of sine, "acceleration opposite your position".</p>

<p>And remember how sine and e are connected? Well, e^x can be be described by (<a href="http://www.wolframalpha.com/input/?i=y%27%27+%3D+y">equation</a>):</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/5c5da41edfd48a9b9af233292a32e6f8.png' title='\displaystyle{y&amp;#039;&amp;#039; = y}' alt='\displaystyle{y&amp;#039;&amp;#039; = y}' align=absmiddle class='tex' /></p>

<p>The same equation with a positive sign ("acceleration equal to your position")! When sine is "the height of a circle" it's really hard to make the connection to e.</p>

<p>One of my great mathematical regrets is not learning differential equations. But I want to, and I suspect having an intuition for sine and e will be crucial.</p>

<h2>Summing it up</h2>

<p>The goal is to move sine from some mathematical trivia ("part of a circle") to its own shape:</p>


<ul>
<li>Sine is a smooth, swaying motion between min (-1) and max (1). Mathematically, you're accelerating opposite your position. This "negative interest" keeps sine rocking forever.</li>
<li>Sine <em>happens to appear</em> in circles and triangles (and springs, pendulums, vibrations, sound...)</li>
<li><strong>Pi</strong> is the time from neutral to neutral in sin(x). It doesn't "belong" to circles any more than 0 and 1 do.</li>
</ul>



<p>Let sine enter your mental toolbox (<i>Hrm, I need a formula to make smooth changes...</i>). Eventually, we'll understand the foundations intuitively (<a href="http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/">e</a>, <a href="http://betterexplained.com/articles/prehistoric-calculus-discovering-pi/">pi</a>, <a href="http://betterexplained.com/articles/intuitive-guide-to-angles-degrees-and-radians/">radians</a>, <a href="http://betterexplained.com/articles/a-visual-intuitive-guide-to-imaginary-numbers/">imaginaries</a>, sine...) and they can be mixed into a scrumptious math salad. Enjoy!</p>]]></content:encoded>
			<wfw:commentRss>http://betterexplained.com/articles/intuitive-understanding-of-sine-waves/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Understanding Calculus With A Bank Account Metaphor</title>
		<link>http://betterexplained.com/articles/understanding-calculus-with-a-bank-account-metaphor/</link>
		<comments>http://betterexplained.com/articles/understanding-calculus-with-a-bank-account-metaphor/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 17:30:57 +0000</pubDate>
		<dc:creator>kalid</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://betterexplained.com/?p=1137</guid>
		<description><![CDATA[Calculus examples are boring. "Hey kids! Ever wonder about the distance, velocity, and acceleration of a moving particle? No? Well you're locked in here for 50 minutes!"

I love physics, but it's not the best lead-in. It makes us wait&#8230; <a href="http://betterexplained.com/articles/understanding-calculus-with-a-bank-account-metaphor/" class="read_more">Read article</a>]]></description>
			<content:encoded><![CDATA[<p>Calculus examples are boring. "Hey kids! Ever wonder about the distance, velocity, and acceleration of a moving particle? No? Well you're locked in here for 50 minutes!"</p>

<p>I love physics, but it's not the best lead-in. It makes us wait till science class (9th grade?) and worse, it implies calculus is "math for science class". Couldn't we introduce the themes to 5th graders, and relate it to everyday life?</p>

<p>I think so. So here's the goal:</p>


<ul>
<li>Use money, not physics, to introduce calculus concepts</li>
<li>Explore how patterns relate (bank account to salary; salary to raises)</li>
<li>Use our intuition to explore potential issues (can we keep drilling into patterns?)</li>
</ul>



<p>Strap on your math helmet, time to dive in.</p>

<h2>Money money money</h2>

<p>My favorite calculus example is the relationship between your bank account, salary, and raises.</p>

<p>Here's Joe ("<em>Hi, Joe</em>"). You, the sly scoundrel you are, sneak onto Joe's computer and monitor his bank account each week. What can you learn?</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/balance1.png" alt="calculus example money" title="calculus example money" /></p>

<p>Ack. Clearly, not much happened -- Joe isn't earning anything. And what if you see this?</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/balance2.png" alt="calculus example money" title="calculus example money" /></p>

<p>Easy enough: Joe's making some money. And how much? With a quick subtraction, we can figure out his weekly paycheck. Turns out Joe is making a steady $100/week.</p>


<ul>
<li>Key idea: If I know your bank account, I know your salary</li>
</ul>



<p>The bank account is <em>dependent</em> on the salary -- it changes because of the weekly salary.</p>

<h2>Raise the roof</h2>

<p>Let's go deeper: knowing the salary, what else can we figure out? Well, the salary is another pattern to analyze -- we can see if it changes! That is, we can tell if Joe's salary is changing week by week (is he getting a raise?).</p>

<p>The process:</p>


<ul>
<li>Look at Joe's weekly bank account</li>
<li>Take the difference in bank account to get the weekly salary</li>
<li>Take the difference in salary to get the weekly raise (if any)</li>
</ul>



<p>In the first example ($100/week), it's clear there's no raise (sorry, Joe). The main idea is to "take the difference" to analyze the first pattern (bank account to salary) and "take the difference again" to find yet another pattern (salary to raise).</p>

<h2>Working backwards</h2>

<p>We just went "down", from bank account to salary. Does it work the other way: knowing the salary, can I predict the bank account?</p>

<p>You're hesitating, I can tell. Yes, knowing Joe gets $100/week is nice. But... don't we need to know the starting account balance?</p>

<p>Yes! The <em>changes</em> to his account (salary) is not enough -- where did it start? For simplicity (i.e., what you see in homework problems) we often assume Joe starts with $0. But, if you are actually making a prediction, you want to know the initial conditions (the "+ C").</p>

<h2>A More Complex Pattern</h2>

<p>Let's say Joe's account grows like this: 100, 300, 600, 1000, 1500...</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/example1.png" alt="calculus example money bank account" title="calculus example money bank account" /></p>

<p>What's going on? Is it random? Well, we can do our week-by-week subtraction to get this:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/example2.png" alt="calculus example money salary" title="calculus example money salary" /></p>

<p>Interesting -- Joe's income is changing each week. We do another week-by-week difference and get this:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/example3.png" alt="calculus example money raise" title="calculus example money raise" /></p>

<p>And yep, Joe's getting a steady raise of $100/week. Let's get wild and chart them on the same graph:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/calculusmoney/allcharts.png" alt="calculus example money bank account" title="calculus example money bank salary" /></p>

<p>One way to think about it: Joe gets a raise each week, which changes his salary, which changes his bank account. As the raises continue to appear, his salary continues to increase and his bank account rises. You can almost think of the raise "pushing up" the salary, which "pushes up" the bank account.</p>

<h2>So... Where's the Calculus?</h2>

<p>What's the formula for Joe's bank account for any week? Well, it's the sum of his salaries up to that point:</p>

<p>100 + 200 + 300 + 400... = 100 * n * (n + 1)/2</p>

<p>The formula for <a href="http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/">adding up a series of numbers</a> (1 + 2 + 3 + 4...) is very close to n^2/2, and gets closer as the number of steps increases.</p>

<p>This is our first "calculus" relationship:</p>


<ul>
<li>A constant raise ($100/week) leads to a...</li>
<li>Linear increase in salary (100, 200, 300, 400) which leads to a...</li>
<li>Quadratic (something * n^2) increase in bank account (100, 300, 600, 1000... you see it curve!)</li>
</ul>



<p>Now, why is it roughly 1/2 * n<sup>2</sup> and not n<sup>2</sup>? One intuition: The linear increase in salary (100, 200, 300) gives us a triangle. The area of the triangle represents all the payments so far, and the area is 1/2 * base * height. The base is n (the number of weeks) and the height (income) is 100 * n.</p>

<p>Geometric arguments get more difficult in higher dimensions -- just because we <em>can</em> work out 2*100 with addition doesn't mean it's the easiest way. Calculus gives us the rules to jump between patterns (taking derivatives and integrals).</p>

<h2>Points to Explore</h2>

<p>Our understanding of bank accounts, salaries, and raises lets us explore deeper.</p>

<p><strong>Could we figure out the total earnings between weeks 1 and 10?</strong></p>

<p>Sure! There's two ways: we could add up our income for each week (week 1 salary + week 2 salary + week 3 salary...) or just subtract the bank account (Week 10 bank account - week 1 bank account). This idea has a beefy name: the Fundamental Theorem of Calculus!</p>

<p><strong>Can we keep going "down" (taking derivatives) beyond the raise?</strong></p>

<p>Well, why not? If the raise is $100/week, if we take the difference again we see it drops to 0 (there is no "raise raise", aka the raise is always steady). But, we can imagine the case where the raise itself is raising (week1 raise = 100, week2 raise = 200). Using our intuition: if the "raise raise" is constant, the raise is linear (something * n), the income is quadratic (something * n<sup>2</sup>) and the bank account is cubic (something * n<sup>3</sup>). And yes, it's true!</p>

<p><strong>Can derivatives go on forever?</strong></p>

<p>Yep. Maybe the connection is bank account =&gt; salary =&gt; raise =&gt; inflation =&gt; milk output of Farmer Joe's cow =&gt; how much Joe feeds the cow each week. Many patterns "stop having derivatives" once we get to the root cause. But certain interesting patterns, like exponential growth, have an infinite number of components! You have interest, which earns interest, which earns interest, which earns interest... forever! You can never find the single "root cause" of your bank account because an infinite number of components went into it (pretty trippy).</p>

<p><strong>What happens if the raise goes negative?</strong></p>

<p>Interesting question. As the raise goes negative, his salary will start lowering. But, as long as the salary is above zero, the bank account will keep rising! After all, going from $200 to $100 per week, while bad to you, still helps your bank account. Eventually, a negative raise will overpower the salary, making it negative, which means Joe is now paying his employer. But up until that point, Joe's bank account would be growing.</p>

<p><strong>How quickly can we check for differences?</strong></p>

<p>Suppose we're measuring a stock portfolio, not a bank account. We might want a second-by-second model of our salary and account balance. The idea is to measure at intervals short enough to get the detail we need -- a large aspect of calculus is deciding what "limit" is enough to say "Ok, this is accurate enough for me!".</p>

<p>The calculus formulas you typically see (integral of x = 1/2 * x^2) are different from the "discrete" formulas (sum of 1 to n = 1/2 * n * (n + 1)) because the discrete case is using "chunky" intervals.</p>

<h2>Key Takeaways</h2>

<p>Why do I care about the analogy used? The traditional "distance, velocity, acceleration" doesn't lead to the right questions. What's the next derivative of acceleration? (It's called "jerk", and it's rarely used). Such a literal example is like having kids think multiplication is only for finding area, and only works on two numbers at a time.</p>

<p>Here's the key points:</p>


<ul>
<li>Calculus helps us find related patterns (bank account, to salary, to raises)</li>
<li>The "derivative" is going "down" (finding week-by-week changes to get your salary)</li>
<li>The "integral" is going "up" (adding up your salary to get your bank account)</li>
<li>We can figure out a formula for a pattern (given my bank account, predict my salary) or get a specific value (what's my salary at week 3?)</li>
<li>Calculus is useful outside the hard sciences. If you have a pattern or formula (production rate, size of a population, <span class="caps">GDP </span>of a country) and want to examine its behavior, calculus is the tool for you.</li>
<li>Textbook calculus involves memorizing the rules to derive and integrate formulas. Learn the basics (x^n, e, ln, sin, cos) and leave the rest to machines. Our brainpower is better spent learning how to translate our thoughts into the language of math.</li>
</ul>



<p>In my fantasy world, derivatives and integrals are just two everyday concepts. They're "what you can do" to formulas, just like addition and subtraction are "what you can do" to numbers.</p>

<p>"Hey kids, we find the total mass using addition (Mass1 + Mass2 = Mass3). And to find out how our position changes, we use the derivative".</p>

<p>"Duh -- addition is how you combine stuff. And yeah, you take the derivative to see how your position is changing. What else would you do?"</p>

<p>One can always dream. Happy math.</p>

<p><span class="caps">PS.</span> Want more?</p>


<ul>
<li>I have another <a href="http://betterexplained.com/articles/a-gentle-introduction-to-learning-calculus/">visual introduction to calculus</a> in terms of shapes</li>
<li>Learn to see integration as a <a href="http://betterexplained.com/articles/a-calculus-analogy-integrals-as-multiplication/">better multiplication</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://betterexplained.com/articles/understanding-calculus-with-a-bank-account-metaphor/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Intuitive Understanding Of Euler&#039;s Formula</title>
		<link>http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/</link>
		<comments>http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 18:55:21 +0000</pubDate>
		<dc:creator>kalid</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://betterexplained.com/?p=686</guid>
		<description><![CDATA[Euler's identity seems baffling:



It emerges from a more general formula:



Yowza -- we're relating an <em>imaginary exponent</em> to sine and cosine! And somehow plugging in pi gives -1? Could this ever be intuitive?

Not according to 1800s mathematician Benjamin&#8230; <a href="http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/" class="read_more">Read article</a>]]></description>
			<content:encoded><![CDATA[<p>Euler's identity seems baffling:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/2acd58c7dcd28737fd97b42365ffb335.png' title='\displaystyle{e^{i\pi} = -1}' alt='\displaystyle{e^{i\pi} = -1}' align=absmiddle class='tex' /></p>

<p>It emerges from a more general formula:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/7b46af39dd17362a0a03d90c6cb89fdb.png' title='\displaystyle{ e^{ix} = cos(x) + i sin(x)}' alt='\displaystyle{ e^{ix} = cos(x) + i sin(x)}' align=absmiddle class='tex' /></p>

<p>Yowza -- we're relating an <em>imaginary exponent</em> to sine and cosine! And somehow plugging in pi gives -1? Could this ever be intuitive?</p>

<p>Not according to 1800s mathematician Benjamin Peirce:</p>

<blockquote>
It is absolutely paradoxical; we cannot understand it, and we don't know what it means, but we have proved it, and therefore we know it must be the truth.<br />
</blockquote>

<p>Argh, this attitude makes my blood boil! Formulas are not magical spells to be memorized: we must, must, <strong>must</strong> find an insight. Here's mine:</p>

<p><strong>Euler's formula describes two equivalent ways to move in a circle.</strong></p>

<p>That's it? This stunning equation is about spinning around? Yes -- and we can understand it by building on a few analogies:</p>


<ul>
<li>Starting at the number 1, see multiplication as a <a href="http://betterexplained.com/articles/rethinking-arithmetic-a-visual-guide/">transformation</a> that changes the number (1 * e^(i*pi))</li>
<li>Regular <a href="http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/">exponential growth</a> continuously increases 1 by some rate; <a href="http://betterexplained.com/articles/a-visual-intuitive-guide-to-imaginary-numbers/">imaginary</a> exponential growth continuously <em>rotates</em> a number</li>
<li>Growing for "pi" units of time means going pi <a href="http://betterexplained.com/articles/intuitive-guide-to-angles-degrees-and-radians/">radians</a> around a circle</li>
<li>Therefore, e^(i*pi) means starting at 1 and rotating pi (halfway around a circle) to get to -1</li>
</ul>



<p>That's the high-level view -- let's dive into the details. By the way, if someone tries to impress you with "e^(i*pi) = -1", ask them about <em>i</em> to the <i>i</i>th power. If they can't think it through, Euler's formula is still a magic spell to them.</p>

<p><strong>Update:</strong> While writing, I thought a <a href="http://www.youtube.com/watch?v=qpOj98VNJi4">companion video</a> might help explain the ideas more clearly:</p>

<p><object width="520" height="317"><param name="movie" value="http://www.youtube.com/v/qpOj98VNJi4&amp;hl=en_US&amp;fs=1?rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/qpOj98VNJi4&amp;hl=en_US&amp;fs=1?rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="520" height="317"></embed></object></p>

<p>It follows the post -- watch together, or at your leisure.</p>

<h2>Understanding cos(x) + i * sin(x)</h2>

<p>The equals sign is overloaded. Sometimes we mean "set one thing to another" (like x = 3) and others we mean "these two things describe the same concept" (like sqrt(-1) = i).</p>

<p>Euler's formula is the latter: it gives two formulas which explain how to move in a circle. If we examine circular motion using trig, and travel x radians:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/euler/circle_traverse.png" /></p>


<ul>
<li>cos(x) is the x-coordinate (horizontal distance)</li>
<li>sin(x) is the y-coordinate (vertical distance)</li>
</ul>



<p>The statement</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/7dceae636a34a7e235b324845b03d7b4.png' title='\displaystyle{cos(x) + i \cdot sin(x)}' alt='\displaystyle{cos(x) + i \cdot sin(x)}' align=absmiddle class='tex' /></p>

<p>is a clever way to smush the x and y coordinates into a single number. The analogy "complex numbers are 2-dimensional" helps us interpret a single complex number as a position on a circle.</p>

<p>When we set x to pi, we're traveling "pi" units along the outside of the unit circle. Because the total circumference is 2*pi, plain old pi is halfway around, putting us at -1.</p>

<p>Neato: The right side of Euler's formula (cos(x) + i*sin(x)) describes circular motion with imaginary numbers. Now let's figure out how the <em>e</em> side of the equation accomplishes it.</p>

<h2>What is Imaginary Growth?</h2>

<p>Combining x- and y- coordinates into a complex number is tricky, but manageable. But what does an imaginary <em>exponent</em> mean?</p>

<p>Let's step back a bit. When I see "3^4" I think of it like this:</p>


<ul>
<li>3 is the <em>end result</em> of growing instantly (using e) at a rate of ln(3). 3 = e^ln(3)</li>
<li>3^4 is the same as growing to 3, but then growing for 4x as long. So 3&#94;4 = e&#94;(ln(3) * 4) = 81</li>
</ul>



<p>Instead of seeing numbers on their own, you can think of them as something e had to "grow to". Real numbers, like 3, give an interest rate of ln(3) [1.1] and that's what e "collects" as its going along, growing continuosly.</p>

<p>Regular growth is simple -- it keeps "pushing" a number in the same (real) direction it was going. 3 &#215; 3 pushes in the original direction, making it 3 times larger (9).</p>

<p><img src="http://betterexplained.com/wp-content/uploads/euler/imaginary_growth.png" /></p>

<p>Imaginary growth is different -- the "interest" we earn is in a different direction! It's like a jet engine that's was strapped on sideways -- instead of going forward, we start pushing at 90 degrees.</p>

<p>The neat thing about a constant orthogonal (perpendicular) push is that it doesn't speed you up or slow you down -- it rotates you! Taking any number and multiplying by <em>i</em> will not change its magnitude, just the direction it points.</p>

<p>Intuitively, here's how I see <strong>continuous imaginary growth rate</strong>: "When I grow, don't push me forward or back in the direction I'm already going. Rotate me instead."</p>

<h2>But Shouldn't We Spin Faster and Faster?</h2>

<p>I wondered that too. Regular growth compounds in our original direction, so we go 1, 2, 4, 8, 16, multiplying 2x each time and staying in the real numbers. We can consider this e^(ln(2)*x): grow instantly at a rate of ln(2) for "x" seconds.</p>

<p>And hey -- if our growth rate was twice as fast (2*ln(2) vs ln(2)), it would look the same as growing for twice as long (2x vs x). The magic of e lets us swap rate and time; 2 seconds at ln(2) is the same growth as 1 second at 2*ln(2).</p>

<p>Now, imagine we have some imaginary growth rate (R*i) which rotates us: e^R*i becomes imaginary and grows to "i". Well, if we double that, we get i&#94;2 (-1) and as we keep going we just spin around the circle.</p>

<p>Now imagine we double that rate (2R*i). Would that spin us off the circle? Nope! Having a rate of 2R*i means we just spin twice as fast, or alternatively, spin at a rate of R for twice as long.</p>

<p>Once we realize that some exponential growth rate can take us from 1 to i, increasing that rate just spins us faster. We'll never escape the circle.</p>

<p>However, if our growth rate is complex (a+bi vs Ri) then the real part (a) will grow us like normal, while the imaginary part (bi) rotates us. But let's not get fancy: Euler's formula, e^(i*x), is about the <em>purely imaginary</em> growth that keeps us on the circle (more later).</p>

<h2>A Quick Sanity Check</h2>

<p>While writing, I had to clarify a few questions for myself:</p>

<p><strong>Why e^x -- aren't we rotating 1?</strong></p>

<p><em>e</em> represents the process of starting at 1 and growing continuously at 100% interest for 1 unit of time.</p>

<p>When we write <em>e</em> we're capturing that entire process in a single number -- e represents all the whole rigamarole of continuous growth. So really, e^x is saying "start at 1 and grow continuously at 100% for x seconds", and starts from 1 like we want.</p>

<p><strong>But what does i as an exponent do?</strong></p>

<p>For a regular exponent like 3^4 we ask:</p>


<ul>
<li>What is the implicit growth rate? We're growing from 1 to 3 [the bottom of the exponent].</li>
<li>How do we <strong>change</strong> that growth rate? We scale it by 4x (^4, the top of the exponent).</li>
</ul>



<p>We can convert our growth into "e" format: our instantaneous rate is ln(3), and we increase it to ln(3) * 4. Again, the top exponent (4) just scaled our growth rate.</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/7e1a1ae16542eb3630e81cae537c32b4.png' title='\displaystyle{3^4 = e^{ln(3) \cdot 4} = (e^{ln(3)})^4}' alt='\displaystyle{3^4 = e^{ln(3) \cdot 4} = (e^{ln(3)})^4}' align=absmiddle class='tex' /></p>

<p>When the top exponent is i (as in 3^i), we just multiply our implicit growth rate by i. So instead of growing at plain old ln(3), we're growing at ln(3) * i.</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/b865b4dd6684cc514f14b18245eb8d7b.png' title='\displaystyle{3^i = e^{ln(3) \cdot i} = (e^{ln(3)})^i}' alt='\displaystyle{3^i = e^{ln(3) \cdot i} = (e^{ln(3)})^i}' align=absmiddle class='tex' /></p>

<p>The top part of the exponent <em>modifies</em> the implicit growth rate of the bottom part.</p>

<h2>The Nitty Gritty Details</h2>

<p>Let's take a closer look. Remember this definition of <em>e</em>:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/84fd17d3417c5d065f224c96675ae48d.png' title='\displaystyle{e = \lim_{n\to\infty} \left( 1 + \frac{100\%}{n} \right)^n}' alt='\displaystyle{e = \lim_{n\to\infty} \left( 1 + \frac{100\%}{n} \right)^n}' align=absmiddle class='tex' /></p>

<p>That 1/n represents the interest we earned in each microscopic period. We assumed the interest was real -- but what if it were imaginary?</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/9ca3dd28cb9f89b0a7b2d18d7082f8cd.png' title='\displaystyle{e = \lim_{n\to\infty} \left( 1 + \frac{100\%\cdot i}{n} \right)^n}' alt='\displaystyle{e = \lim_{n\to\infty} \left( 1 + \frac{100\%\cdot i}{n} \right)^n}' align=absmiddle class='tex' /></p>

<p><img src="http://betterexplained.com/wp-content/uploads/euler/imaginary_interest.png" /></p>

<p>Now, our newly formed interest adds to us in the 90-degree direction. Surprisingly, this does not change our length -- this is a tricky concept, because it appears to make a triangle where the hypotenuse must be larger. We're dealing with a limit, and the extra distance is within the error margin we specify. This is something I want to tackle another day, but take my word: continuous perpendicular growth will rotate you. This is the heart of sine and cosine, where your change is perpendicular to your current position, and you move in a circle.</p>

<p>We apply <em>i</em> units of growth in infinitely small increments, each pushing us at a 90-degree angle. There is no "faster and faster" rotation - instead, we crawl along the perimeter a distance of |i| = 1 (magnitude of i).</p>

<p>And hey -- the distance crawled around a circle is an angle in radians! We've found another way to describe circular motion!</p>

<p><strong>To get circular motion:</strong> Change continuously by rotating at 90-degree angle (aka imaginary growth rate).</p>

<p>So, Euler's formula is saying "exponential, imaginary growth traces out a circle". And this path is the same as moving in a circle using sine and cosine in the imaginary plane.</p>

<p>In this case, the word "exponential" is confusing because we travel around the circle at a constant rate. In most discussions, exponential growth is assumed to have a cumulative, compounding effect.</p>

<h2>Some Examples</h2>

<p>You don't really believe me, do you? Here's a few examples, and how to think about them intuitively.</p>

<p><strong>Example: e^i</strong></p>

<p>Where's the x? Ah, it's just 1. Intuitively, without breaking out a calculator, we know that this means "travel 1 radian along the unit circle". In my head, I see "e" <em>trying</em> to grow 1 at 100% all in the same direction, but i keeps moving the ball and forces "1" to grow along the edge of a circle:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/ae1e0668adbadcd1f7bea31dbcff6241.png' title='\displaystyle{e^i = cos(1) + i \cdot sin(1) = .5403 + .8415i}' alt='\displaystyle{e^i = cos(1) + i \cdot sin(1) = .5403 + .8415i}' align=absmiddle class='tex' /></p>

<p>Not the prettiest number, but there it is. Remember to put your calculator in radian mode when punching this in.</p>

<p><strong>Example: 3^i</strong></p>

<p>This is tricky -- it's not in our standard format. But remember, <img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/c088b0aa18cca5739cf517b549fbb15a.png' title='\displaystyle{3^i = 1 \cdot 3^i}' alt='\displaystyle{3^i = 1 \cdot 3^i}' align=absmiddle class='tex' /> -- the real question is "How do we transform 1"?</p>

<p>We want an initial growth of 3x at the end of the period, or an instantaneous rate of ln(3). But, the <em>i</em> comes along and changes that rate of ln(3) to "i * ln(3)":</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/0c8f3767a010f4ca6add335f7bee43a3.png' title='\displaystyle{3^i = (e^{ln(3)})^i = e^{ln(3)\cdot i}}' alt='\displaystyle{3^i = (e^{ln(3)})^i = e^{ln(3)\cdot i}}' align=absmiddle class='tex' /></p>

<p>We <em>thought</em> we were going to transform at a regular rate of ln(3) (a little faster than 100% continuous growth since e is about 2.718). But oh no, <em>i</em> spun us around: now we're transforming at an imaginary rate which means we're just rotating about. If <em>i</em> was a regular number like 4, it would have made us grow 4x faster. Now we're growing at a speed of ln(3), but sideways.</p>

<p>We should expect a complex number on the unit circle -- there's nothing in the growth rate to increase our size. Solving the equation:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/4180ffeee698f2208c07fb5384f91901.png' title='\displaystyle{3^i = e^{ln(3) \cdot i} = cos(ln(3)) + i \cdot sin(ln(3)) = .4548 + .8906i}' alt='\displaystyle{3^i = e^{ln(3) \cdot i} = cos(ln(3)) + i \cdot sin(ln(3)) = .4548 + .8906i}' align=absmiddle class='tex' /></p>

<p>So, rather than ending up "1" unit around the circle (like e^i) we end up ln(3) units around.</p>

<p><strong>Example: i^i</strong></p>

<p>A few months ago, this would have had me tears. Not today! Let's break down the transformations:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/a48a992232a8911b7cce8cf3c7b0381d.png' title='\displaystyle{i^i = 1 \cdot i^i}' alt='\displaystyle{i^i = 1 \cdot i^i}' align=absmiddle class='tex' /></p>

<p>We start with 1 and want to change it. Like solving 3^i, what's the instantaneous growth rate represented by <em>i</em> as a base?</p>

<p>Hrm. Normally we'd do ln(x) to get the growth rate needed to reach x it the end of 1 unit of time. But for an imaginary rate? We need to noodle this over.</p>

<p>In order to start with 1 and grow to <em>i</em> we need to start rotating at the outset. How fast? Well, we need to get 90 degrees (pi/2 radians) in 1 unit of time. So our rate is "i * pi/2". Remember our rate must be imaginary since we're rotating, not growing! Plain old "pi/2" is about 1.57 and results in regular growth.</p>

<p>This should make sense: to turn 1.0 to <em>i</em> at the end of 1 unit, we should rotate pi/2 radians (90 degrees) in that amount of time. So, to get "i" we can use e^(i * pi/2).</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/b7abfa157b0af38a0f55fdb57daa2612.png' title='\displaystyle{i = e^{i * \frac{\pi}{2}}}' alt='\displaystyle{i = e^{i * \frac{\pi}{2}}}' align=absmiddle class='tex' /></p>

<p>Phew. That describes i as the base. How about the exponent?</p>

<p>Well, the <em>other</em> i tells us to change our rate -- yes, that rate we spent so long figuring out! So rather than rotating at a speed of i * pi/2, which is what a base of <em>i</em> means, we transform the rate to:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/337b4a4acc58dc5f3db90b14ac789602.png' title='\displaystyle{\frac{\pi}{2}i \cdot i = \frac{\pi}{2} \cdot -1 = -\frac{\pi}{2}}' alt='\displaystyle{\frac{\pi}{2}i \cdot i = \frac{\pi}{2} \cdot -1 = -\frac{\pi}{2}}' align=absmiddle class='tex' /></p>

<p>The i's cancel and make the growth rate real again! We rotated our rate and pushed ourselves into the negative numbers. And a negative growth rate means we're shrinking -- we should expect i^i to make things smaller. And it does:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/ae77d7310bad7af54c5996ca77234c74.png' title='\displaystyle{i^i = e^{- \frac{\pi}{2}} \sim .2}' alt='\displaystyle{i^i = e^{- \frac{\pi}{2}} \sim .2}' align=absmiddle class='tex' /></p>

<p>Tada! (Search "i^i" on Google to use its calculator)</p>

<p>Take a breather: You can intuitively figure out how imaginary bases and imaginary exponents should behave. Whoa.</p>

<p>And as a bonus, you figured out ln(i) -- to make e^x become i, make e rotate pi/2 radians.</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/7c0fa4de0660efe2c0e9cb5607e873de.png' title='\displaystyle{ln(i) = i \cdot \frac{\pi}{2}}' alt='\displaystyle{ln(i) = i \cdot \frac{\pi}{2}}' align=absmiddle class='tex' /></p>

<p><strong>Example: (i^i)&#94;i</strong></p>

<p>A double imaginary exponent? If you insist. First off, we know what our growth rate will be inside the parenthesis:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/75dec4aa2a2bdd2a18b963ec3198d2f4.png' title='\displaystyle{i^i = (e^{\frac{\pi}{2}i})^i = e^{-\frac{\pi}{2}}}' alt='\displaystyle{i^i = (e^{\frac{\pi}{2}i})^i = e^{-\frac{\pi}{2}}}' align=absmiddle class='tex' /></p>

<p>We get a negative (shrinking) growth rate of -pi/2. And now we modify that rate <em>again</em> by <em>i</em>:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/d03f3fae5e27aee0ff5e2754cd994888.png' title='\displaystyle{{(i^i)^i = (e^{-\frac{\pi}{2}})^i = e^{-\frac{\pi}{2}i}}' alt='\displaystyle{{(i^i)^i = (e^{-\frac{\pi}{2}})^i = e^{-\frac{\pi}{2}i}}' align=absmiddle class='tex' /></p>

<p>And now we have a negative rotation! We're going around the circle a rate of -pi/2 per unit time. How long do we go for? Well, there's an implicit "1" unit of time at the very top of this exponent chain; the implied default is to go for 1 time unit (just like e = e^1). 1 time unit gives us a rotation of -pi/2 radians (-90 degrees) or -i!</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/c864006c97d5ba579b712416b0c5abf9.png' title='\displaystyle{(i^i)^i = -i}' alt='\displaystyle{(i^i)^i = -i}' align=absmiddle class='tex' /></p>

<p>And, just for kicks, if we squared that crazy result:</p>

<p><img src='http://74.50.62.72/wp-content/plugins/wp-latexrender/pictures/881c41a6765c5f40b6a2c8f75982c4c9.png' title='\displaystyle{((i^i)^i)^2 = -1}' alt='\displaystyle{((i^i)^i)^2 = -1}' align=absmiddle class='tex' /></p>

<p>It's "just" twice the rotation: 2 is a regular number so doubles our rotation rate to a full -180 degrees in a unit of time. Or, you can look at it as applying -90 degree rotation twice in a row.</p>

<p>At first blush, these are really strange exponents. But with our analogies we can take them in stride.</p>

<h2>Complex Growth</h2>

<p>We can have real and imaginary growth at the same time: the real portion scales us up, and the imaginary part rotates us around:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/euler/complex_growth.png" /></p>

<p>A complex growth rate like (a + bi) is a mix of real and imaginary growth. The real part a, means "grow at 100% for <em>a</em> seconds" and the imaginary part b means "rotate for <em>b</em> seconds". Remember, rotations don't get the benefit of compounding since you keep 'pushing' in a different direction -- rotation adds up linearly.</p>

<p>With this in mind, we can represent any point on any sized circle using (a+bi)! The radius is e^a and the angle is determined by e&#94;(b*i). It's like putting the number in the expand-o-tron for two cycles: once to grow it to the right size (a seconds), another time to rotate it to the right angle (b seconds). Or, you could rotate it first and the grow!</p>

<p>Let's say we want to know the growth amount to get to 6 + 8i. This is really asking for the natural log of an imaginary number: how do we grow e to get (6 + 8i)?</p>


<ul>
<li>Radius: How big of a circle do we need? Well, the magnitude is sqrt(6^2 + 8&#94;2) = sqrt(100) = 10. Which means we need to grow for ln(10) = 2.3 seconds to reach that amount.</li>
<li>Amount to rotate: What's the angle of that point? We can use arctan to figure it out: atan(8/6) = 53 degrees = .93 radian.</li>
<li>Combine the result: ln(6+8i) = 2.3 + .93i</li>
</ul>



<p>That is, we can reach the random point (6 + 8i) if we use e^(2.3 + .93i).</p>

<h2>Why Is This Useful?</h2>

<p>Euler's formula gives us another way to describe motion in a circle. But we could already do that with sine and cosine -- what's so special?</p>

<p>It's all about perspective. Sine and cosine describe motion in terms of a <em>grid</em>, plotting out horizontal and vertical coordinates.</p>

<p><img src="http://betterexplained.com/wp-content/uploads/euler/equal_paths.png" /></p>

<p>Euler's formula uses polar coordinates -- what's your angle and distance? Again, it's two ways to describe motion:</p>


<ul>
<li>Grid system: Go 3 units east and 4 units north</li>
<li>Polar coordinates: Go 5 units at an angle of 71.56 degrees</li>
</ul>



<p>Depending on the problem, polar or rectangular coordinates are more useful. Euler's formula lets us convert between the two to use the best tool for the job. Also, because e^(ix) can be converted to sine and cosine, we can rewrite formulas in trig as variations on e, which comes in very handy (no need to memorize sin(a+b), you can derive it -- more another day). And it's beautiful that every number, real or complex, is a variation of e.</p>

<p>But utility, schmutility: the most important result is the realization that baffling equations can become intuitive with the right analogies. Don't let beautiful equations like Euler's formula remain a magic spell -- <a href="http://betterexplained.com/articles/developing-your-intuition-for-math/">build on the analogies</a> you know to see the insights inside the equation.</p>

<p>Happy math.</p>

<h2>Appendix</h2>

<p>The screencast was fun, and feedback is definitely welcome. I think it helps the ideas pop, and walking through the article helped me find gaps in my intuition.</p>

<p>References:</p>


<ul>
<li>Brian Slesinsky has a neat <a href="http://slesinsky.org/brian/misc/eulers_identity.html">presentation on Euler's formula</a></li>
<li>Visual Complex Analysis has a great discussion on Euler's formula -- see p. 10 in the <a href="http://books.google.com/books?id=ogz5FjmiqlQC&amp;%23038;dq=visual+complex+analysis&amp;%23038;printsec=frontcover&amp;%23038;source=bn&amp;%23038;hl=en&amp;%23038;ei=4zBCTN3hIIfUtQPS4IHLDA&amp;%23038;sa=X&amp;%23038;oi=book_result&amp;%23038;ct=result&amp;%23038;resnum=6&amp;%23038;ved=0CDwQ6AEwBQ%23v=onepage&amp;%23038;q&amp;%23038;f=false">Google Book Preview</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>A Friendly Chat About Whether 0.999&#8230; = 1</title>
		<link>http://betterexplained.com/articles/a-friendly-chat-about-whether-0-999-1/</link>
		<comments>http://betterexplained.com/articles/a-friendly-chat-about-whether-0-999-1/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:41:20 +0000</pubDate>
		<dc:creator>kalid</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[hyperreal]]></category>
		<category><![CDATA[limit]]></category>

		<guid isPermaLink="false">http://betterexplained.com/?p=431</guid>
		<description><![CDATA[Does .999&#8230; = 1? The question invites the curiosity of students and the ire of pedants. A famous joke illustrates my point:

<blockquote>
A man is lost at sea in a hot air balloon. He sees a lighthouse approaching in</blockquote>&#8230; <a href="http://betterexplained.com/articles/a-friendly-chat-about-whether-0-999-1/" class="read_more">Read article</a>]]></description>
			<content:encoded><![CDATA[<p>Does .999&#8230; = 1? The question invites the curiosity of students and the ire of pedants. A famous joke illustrates my point:</p>

<blockquote>
A man is lost at sea in a hot air balloon. He sees a lighthouse approaching in the fog. &#8220;Where am I?&#8221; he shouts desperately through the wind. &#8220;You&#8217;re in a balloon!&#8221; he hears as he drifts off into the distance.<br />
</blockquote>

<p>The response is correct but unhelpful. When people ask about 0.999&#8230; they aren&#8217;t saying &#8220;Hey, could you find the limit of a convergent series under the axioms of the real number system?&#8221; (Really? Yes, Really!)</p>

<p>No, there&#8217;s a broader, more interesting subtext: <i>What happens when one number gets infinitely close to another?</i></p>

<p>It&#8217;s a rare thing when people wonder about math: <strong>let&#8217;s use the opportunity!</strong> Instead of bluntly offering technical definitions to satisfy some need for rigor, let&#8217;s allow ourselves to explore the question.</p>

<p>Here&#8217;s my quick summary:</p>


<ul>
<li><strong>The meaning of 0.999&#8230; depends on our assumptions about how numbers behave.</strong></li>
<li>A common <em>assumption</em> is that numbers cannot be &#8220;infinitely close&#8221; together &#8212; they&#8217;re either the same, or they&#8217;re not. With these rules, 0.999&#8230; = 1 since we don&#8217;t have a way to represent the difference.</li>
<li>If we allow the idea of &#8220;infinitely close numbers&#8221;, then yes, 0.999&#8230; can be less than 1.</li>
</ul>



<p>Math can be about questioning assumptions, pushing boundaries, and wondering &#8220;What if?&#8221;. Let&#8217;s dive in.</p>

<h2>Do Infinitely Small Numbers Exist?</h2>

<p>The meaning of 0.999&#8230; is a tricky concept, and depends on what we allow a number to be. Here&#8217;s an example: Does &#8220;3 &#8211; 4&#8243; mean anything to you?</p>

<p>Sure, it&#8217;s -1. Duh. But the question is only simple because you&#8217;ve embraced the advanced idea of negatives: you&#8217;re ok with numbers being <em>less than nothing</em>. In the 1700s, when negatives were brand new, the concept of &#8220;3-4&#8243; was eyed with great suspicion, if allowed at all. (Geniuses of the time thought negatives &#8220;wrapped around&#8221; after you passed infinity).</p>

<p>Infinitely small numbers face a similar predicament today: they&#8217;re new, challenge some long-held assumptions, and are considered &#8220;non-standard&#8221;.</p>

<h2>So, Do Infinitesimals Exist?</h2>

<p>Well, do negative numbers exist? Negatives exist if you allow them and have consistent rules for their use.</p>

<p>Our current number system assumes the long-standing <a href="http://en.wikipedia.org/wiki/Archimedean_property">Archimedean property:</a> if a number is smaller than every other number, it must be zero. More simply, <em>infinitely small numbers don&#8217;t exist</em>.</p>

<p>The idea should make sense: numbers should be zero or not-zero, right? Well, it&#8217;s &#8220;true&#8221; in the same way numbers must be there (positive) or not there (zero) &#8212; it&#8217;s true because we&#8217;ve implicitly excluded other possibilities.</p>

<p>But, it&#8217;s no matter &#8212; let&#8217;s see where the Archimedean property takes us.</p>

<h2>The Traditional Approach: 0.999&#8230; = 1</h2>

<p>If we assume infinitely small numbers don&#8217;t exist, we can show 0.999&#8230; = 1.</p>

<p>First off, we need to figure out what 0.999&#8230; means. Most mathematicians see the problem like this:</p>


<ul>
<li>0.999&#8230; represents a series of numbers: 0.9, 0.99, 0.999, 0.9999, and so on</li>
<li>The question: does this series get <em>so close</em> (converge) to a result that we cannot tell it apart?</li>
</ul>



<p>This is the reasoning behind <em>limits</em>: Does our &#8220;thing to examine&#8221; get <em>so darn close</em> to another number that we can&#8217;t tell them apart, no matter how hard we try?</p>

<p>&#8220;Well,&#8221; you say, &#8220;How do you tell numbers apart?&#8221;. Great question. The simplest way to compare is to subtract:</p>


<ul>
<li>if a &#8211; b = 0, they&#8217;re the same</li>
<li>if a &#8211; b is not zero, they&#8217;re different</li>
</ul>



<p>The idea behind limits is to find some point at which &#8220;a &#8211; b&#8221; becomes zero (less than any number); that is, we can&#8217;t tell the &#8220;number to test&#8221; and our &#8220;result&#8221; as different.</p>

<h2>The Error Tolerance</h2>

<p>It&#8217;s still tough to compare items when they take such different forms (like an infinite series). The next clever idea behind limits: define an <em>error tolerance</em>:</p>


<ul>
<li>You give me your tolerance for error / accuracy level (call it &#8220;e&#8221;)</li>
<li>I&#8217;ll see whether I can get the two things to fall within that tolerance</li>
<li>If so, they&#8217;re equal! If we can&#8217;t tell them apart, no matter how hard we try, they must be the same.</li>
</ul>



<p>Suppose I sell you a raisin granola bar, claiming it&#8217;s 100 grams. You take it home, examine the non <span class="caps">FDA</span>-approved wrapper, and decide to see if I&#8217;m lying. You put the snack on your scale and it shows 100 grams. The scale is accurate to 1 gram. Did I trick you?</p>

<p>You couldn&#8217;t know: as far as you can tell, within your accuracy, the granola bar is indeed 100 grams. Our current problem is similar: I&#8217;m selling you a &#8220;granola bar&#8221; weighing 1 gram, but sneaky me, I&#8217;m actually giving you one weighing 0.999&#8230; grams. Can you tell the difference?</p>

<p>Ok, let&#8217;s work this out. Suppose your error tolerance is 0.1 gram. Then if you ask for 1, and I give you 0.99, the difference is 0.01 (one hundredth) and you don&#8217;t know you&#8217;ve been tricked! 1 and .99 look the same to you.</p>

<p>But that&#8217;s child&#8217;s-play. Let&#8217;s say your scale is accurate to 1e-9 (.000000001, a billionth of a gram). Well then, I&#8217;ll sell you a candy bar that is .999999999999 (only one <em>trillionth</em> of a gram off) and you&#8217;ll be fooled again! Hah!</p>

<p>In fact, instead of picking a specific tolerance like 0.01, let&#8217;s use a general one (e):</p>


<ul>
<li>Error tolerance: e</li>
<li>Difference: Well, suppose e has &#8220;n&#8221; digits of precision. Let 0.999&#8230; expand until we have a difference requiring <strong>n+1</strong> digits of precision to detect.</li>
<li>Therefore, the tolerance can always be less than e! And the difference appears to be zero.</li>
</ul>



<p>See the trick? Here&#8217;s a visual way to represent it:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/0.999/visualizing_0.999.png" alt="visualizing 0.999..." title = "visualizing 0.999..." /></img></p>

<p>The straight line is what you&#8217;re expecting: 1.0, that perfect granola bar. The curve is the number of digits we expand 0.999&#8230; to. The idea is to expand 0.999&#8230; until it falls within &#8220;e&#8221;, your tolerance:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/0.999/beating_the_error_margin.png" alt="beating the error margin" title = "beating the error margin" /></img></p>

<p>At some point, <em>no matter what you pick for e</em>, 0.999&#8230; will get close enough to satisfy us mathematically.</p>

<p>(As an aside, 0.999&#8230; isn&#8217;t a <em>growing process</em>, it&#8217;s a final result on its own. The curve represents the idea that we can approximate 0.999&#8230; with better and better accuracy &#8212; this is fodder for another post).</p>

<p>With limits, <strong>if the difference between two things is smaller than any margin we can dream of, they must be the same.</strong></p>

<h2>Assuming Infinitesimals Exist</h2>

<p>This first conclusion may not sit well with you &#8212; you might feel tricked. And that&#8217;s ok! We seem to be ignoring something important when we say that 0.999&#8230; equals 1 because <em>we</em>, with our finite precision, cannot tell the difference.</p>

<p>Newer number systems have developed the idea that infinitesimals exist. Specifically:</p>


<ul>
<li>Infinitely small numbers can exist: they aren&#8217;t zero, but look like zero to us.</li>
</ul>



<p>This seems to be a confusing idea, but I see it like this: atoms don&#8217;t exist to cavemen. Once they&#8217;ve cut a rock into grains of sand, they can go no further: that&#8217;s the smallest unit they can imagine. Things are either grains, or not there. They can&#8217;t <em>imagine</em> the concept of atoms too small for the naked eye.</p>

<p>Compared to other number systems, we&#8217;re cavemen. What we call &#8220;tiny numbers&#8221; are actually gigantic. In fact, there can be another &#8220;dimension&#8221; of numbers too small for us to detect &#8212; numbers that differ <em>only</em> in this tiny dimension look identical to us, but are different under an infinitely powerful microscope.</p>

<p>I interpret 0.999&#8230; like this: Can we make a number a bit less than 1 in this new, infinitely small dimension?</p>

<h2>Hyperreal Numbers</h2>

<p>Hyperreal numbers are one system that uses this &#8220;tiny dimension&#8221; to examine infinitely small numbers. In this, infinitesimals are usually called &#8220;h&#8221;, and are considered to be 1/H (where big H is infinity).</p>

<p>So, the idea is this:</p>


<ul>
<li>0.999&#8230; &lt; 1  [We're assuming it's allowed to be smaller, and infinitely small numbers exist]</li>
<li>0.999&#8230; + h = 1   [h is the infinitely small number that makes up the gap]</li>
<li>0.999&#8230; = 1 &#8211; h [Equivalently, we can subtract an infinitely small amount from 1]</li>
</ul>



<p>So, 0.999&#8230; is just a <em>tiny</em> bit less than 1, and the difference is h!</p>

<h2>Back to Our Numbers</h2>

<p>The problem is, &#8220;h&#8221; doesn&#8217;t exist back in our macroscopic world. Or rather, h looks the same as zero to us &#8212; we can&#8217;t tell that it&#8217;s a tiny atom, not the lack of any matter altogether. Here&#8217;s one way to visualize it:</p>

<p><img src="http://betterexplained.com/wp-content/uploads/0.999/infinitesimal_difference.png" alt="infinitesimal difference" title="infinitesimal difference" /></img></p>

<p>When we switch back to our world, it&#8217;s called taking the &#8220;standard part&#8221; of a number. It essentially means we throw away all the h&#8217;s, and convert them to zeroes. So,</p>


<ul>
<li>0.999&#8230; = 1 &#8211; h [there is an infinitely small difference]</li>
<li>St(0.999&#8230;) = St(1 &#8211; h) = St(1) &#8211; St(h) = 1 &#8211; 0 = 1 [And to us, 0.999... = 1]</li>
</ul>



<p>The happy compromise is this: in <em>a more accurate dimension</em>, 0.999&#8230; and 1 are different. But, when we, with our finite accuracy, try to describe the difference, we cannot: 0.999&#8230; and 1 look identical.</p>

<h2>Lessons Learned</h2>

<p>Let&#8217;s hop back to our world. The purpose of &#8220;Does 0.999&#8230; equal 1?&#8221; is <em>not</em> to spit back the answer to a limit question. That&#8217;s interpreting the query as &#8220;Hey, <em>within our system</em> what does 0.999&#8230; represent?&#8221;</p>

<p>The question is about exploration. It&#8217;s really, &#8220;Hey, I&#8217;m wondering about numbers infinitely close together (.999&#8230; and 1). How do we handle them?&#8221;</p>

<p>Here&#8217;s my response:</p>


<ul>
<li>Our idea of a number has evolved over thousands of years to include new concepts (integers, decimals, rationals, reals, negatives, imaginary numbers&#8230;).</li>
<li>In our current system, we haven&#8217;t allowed infinitely small numbers. As a result, 0.999&#8230; = 1 because we don&#8217;t allow there to be a gap between them (so they must be the same).</li>
<li>In other number systems (like the <em>hyperreal numbers</em>), 0.999&#8230; is less than 1. Here, infinitely small numbers are allowed to exist, and this tiny difference (h) is what separates 0.999&#8230; from 1.</li>
</ul>



<p>There are life lessons here: can we extend our mental model of the world? Negatives gave us the conception that every number can have an opposite. And you know what? It turns out matter can have an opposite too (Dark matter destroys regular mass when they come in contact, just like 3 + (-3) = 0).</p>

<p>Let&#8217;s think about infinitesimals, a tiny dimension beyond our accuracy:</p>


<ul>
<li>Some theories of physics reference tiny &#8220;curled up&#8221; dimensions which are embedded into our own. These dimensions may be infinitely small compared to our own &#8212; we never notice them. To me, &#8220;infinitely small dimensions&#8221; are a way to describe something which is there, but undetectable to us.</li>
<li>The physical sciences use &#8220;significant figures&#8221; and error margins to specify the inherent inaccuracy of our calculations. We <em>know</em> that reality is different from what we actually measure: infinitesimals help make this distinction explicit.</li>
<li>Making models: An infinitely small dimension can help us create <a href="http://betterexplained.com/articles/why-do-we-need-limits-and-infinitesimals/">simple but accurate models</a> to solve problems in our world. The idea of &#8220;simple but accurate enough&#8221; is at the heart of <a href="http://betterexplained.com/articles/a-betterexplained-guide-to-calculus/">calculus</a>.</li>
</ul>



<p>Math isn&#8217;t just about solving equations. Expanding our perspective with strange new ideas helps disparate subjects click. Don&#8217;t be afraid wonder &#8220;What if?&#8221;.</p>

<h2>Appendix: Where&#8217;s the Rigor?</h2>

<p>When writing, I like to envision a super-pedant, concerned more with satisfying (and demonstrating) his rigor than educating the reader. This mythical(?) nemesis inspires me to focus on intuition. I really should give Mr. Rigor a name.</p>

<p>But, rigor has a use: it helps ink the pencil-lines we&#8217;ve sketched out. I&#8217;m not a mathematician, but others have <a href="http://arxiv.org/abs/0811.0164">written about the details</a> of interpreting 0.999&#8230; and 1 or less than 1:</p>

<blockquote>
&#8220;So long as the number system has not been specified, the students&#8217; hunch that .999&#8230; can fall infinitesimally short of 1, can be justified in a mathematically rigorous fashion.&#8221;<br />
</blockquote>

<p>My goal is to educate, entertain, and spread interest in math. Can you think of a more salient way to get non-math majors interested in the ideas behind analysis? Limits aren&#8217;t going to market themselves.</p>]]></content:encoded>
			<wfw:commentRss>http://betterexplained.com/articles/a-friendly-chat-about-whether-0-999-1/feed/</wfw:commentRss>
		<slash:comments>103</slash:comments>
		</item>
	</channel>
</rss>

