<?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>Euler&#8217;s Identity &#8211; BetterExplained</title>
	<atom:link href="https://betterexplained.com/topics/eulers-identity/feed/" rel="self" type="application/rss+xml" />
	<link>https://betterexplained.com</link>
	<description>Math lessons that click</description>
	<lastBuildDate>Sat, 13 Aug 2022 16:54:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Intuitive Understanding Of Euler&#8217;s Formula</title>
		<link>https://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/</link>
					<comments>https://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/#disqus_thread</comments>
		
		<dc:creator><![CDATA[kalid]]></dc:creator>
		<pubDate>Mon, 19 Jul 2010 17:55:21 +0000</pubDate>
				<category><![CDATA[Calculus]]></category>
				<category><![CDATA[Math]]></category>
				<category><![CDATA[Popular]]></category>
				<category><![CDATA[Euler's Formula]]></category>
				<category><![CDATA[Euler's Identity]]></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 imaginary exponent to sine and cosine! And somehow plugging in pi gives -1? Could this ever be intuitive? Not according to 1800s mathematician Benjamin Peirce: It is absolutely paradoxical; we cannot understand it, and we don't know what it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Euler's identity seems baffling:</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/2acd58c7dcd28737fd97b42365ffb335.png' width='69' height='17' alt='\displaystyle{e^{i\pi} = -1}' class='tex'></p>

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

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/2fd89c7b7e57630dc0d9029015d17d45.png' width='171' height='21' alt='\displaystyle{ e^{ix} = \cos(x) + i \sin(x)}' 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>

<p>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.</p>
</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="https://betterexplained.com/articles/rethinking-arithmetic-a-visual-guide/">transformation</a> that changes the number: <img src="https://betterexplained.com/latex/4b7ca20a7bd1ea95387b.png" alt="$1 \cdot e^{i \pi}$" width="44" height="16" style="vertical-align:-0.2px" class="bex-math"></img></li>
<li>Regular <a href="https://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/">exponential growth</a> continuously <em>increases</em> 1 by some rate for some time period; <a href="https://betterexplained.com/articles/a-visual-intuitive-guide-to-imaginary-numbers/">imaginary</a> exponential growth continuously <em>rotates</em> 1 for some time period</li>
<li>Growing for "pi" units of time means going pi <a href="https://betterexplained.com/articles/intuitive-guide-to-angles-degrees-and-radians/">radians</a> around a circle</li>
<li>Therefore, <img src="https://betterexplained.com/latex/bc3515a42ed42e85d532.png" alt="$e^{i \pi}$" width="22" height="16" style="vertical-align:-0.2px" class="bex-math"></img> 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 <img src="https://betterexplained.com/latex/5b6ec705692e4a5b74d7.png" alt="$e^{i \pi} = -1$" width="69" height="17" style="vertical-align:-1.49px" class="bex-math"></img>, 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 video might help explain the ideas more clearly:</p>

<iframe width="640" height="360" src="https://www.youtube.com/embed/qpOj98VNJi4" frameborder="0" allowfullscreen></iframe>

<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 <img src="https://betterexplained.com/latex/5e21130dd3ad440221f7.png" alt="$\sqrt{-1} = i$" width="69" height="20" style="vertical-align:-2.54px" class="bex-math"></img>).</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 decoding="async" src="https://betterexplained.com/wp-content/uploads/euler/circle_traverse.png" alt="imaginary numbers traversing a circle" class="webpexpress-processed"></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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/a013ee5eebae51d59c248434c7aa0116.png' width='125' height='18' alt='\displaystyle{\cos(x) + i \sin(x)}' 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 <img src="https://betterexplained.com/latex/6cbee51e8365518a121a.png" alt="$\pi$" width="11" height="8" style="vertical-align:-0.2px" class="bex-math"></img>, we're traveling <img src="https://betterexplained.com/latex/6cbee51e8365518a121a.png" alt="$\pi$" width="11" height="8" style="vertical-align:-0.2px" class="bex-math"></img> units along the outside of the unit circle. Because the total circumference is <img src="https://betterexplained.com/latex/8d3b93b989885b7167af.png" alt="$2\pi$" width="20" height="13" style="vertical-align:-0.2px" class="bex-math"></img>, plain old <img src="https://betterexplained.com/latex/6cbee51e8365518a121a.png" alt="$\pi$" width="11" height="8" style="vertical-align:-0.2px" class="bex-math"></img> is halfway around, putting us at -1.</p>

<p>Neato: The right side of Euler's formula (<img src="https://betterexplained.com/latex/654bed89b342825c41c6.png" alt="$\cos(x) + i \sin(x)$" width="127" height="19" style="vertical-align:-4.53px" class="bex-math"></img>) 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 <img src="https://betterexplained.com/latex/7aa1a645fe3a23a173cb.png" alt="$3^4$" width="17" height="16" style="vertical-align:-0.4px" class="bex-math"></img>, 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). In other words: <img src="https://betterexplained.com/latex/b720d5f44d721bb5e3bd.png" alt="$3 = e^{\ln(3)}$" width="71" height="18" style="vertical-align:-1.49px" class="bex-math"></img></li>
<li><img src="https://betterexplained.com/latex/7aa1a645fe3a23a173cb.png" alt="$3^4$" width="17" height="16" style="vertical-align:-0.4px" class="bex-math"></img> is the same as growing to 3, but then growing for 4x as long. So <img src="https://betterexplained.com/latex/5c3d428819d09077c0b9.png" alt="$3^4 = e^{\ln(3) \cdot 4} = 81$" width="131" height="18" style="vertical-align:-1.49px" class="bex-math"></img></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 it's going along, growing continuously.</p>

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

<p><img decoding="async" src="https://betterexplained.com/wp-content/uploads/euler/imaginary_growth.png" alt="imaginary growth" class="webpexpress-processed"></p>

<p>Imaginary growth is different: the "interest" we earn is in a different direction! It's like a jet engine that 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 <img src="https://betterexplained.com/latex/5f21b775790c7873518d.png" alt="$e^{\ln(2)x}$" width="45" height="17" style="vertical-align:-0.2px" class="bex-math"></img>, which means grow instantly at a rate of ln(2) for "x" seconds.</p>

<p>And hey -- if our growth rate was twice as fast, 2ln(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 2ln(2).</p>

<p>Now, imagine we have some purely imaginary growth rate (Ri) that rotates us until we reach i, or 90 degrees upward. What happens if we double that rate to 2Ri, will we spin off the circle?</p>

<p>Nope! Having a rate of 2Ri means we just spin twice as fast, or alternatively, spin at a rate of R for twice as long, but we're staying on the circle. Rotating twice as long means we're now facing 180 degrees.</p>

<p>Once we realize that some exponential growth rate can take us from 1 to i, increasing that rate just spins us more. 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, <img src="https://betterexplained.com/latex/f24af717b851ea6a5e39.png" alt="$e^{ix}$" width="22" height="16" style="vertical-align:-0.2px" class="bex-math"></img>, 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 use <img src="https://betterexplained.com/latex/e7aded5a42342d4b3f23.png" alt="$e^x$" width="18" height="13" style="vertical-align:-0.2px" class="bex-math"></img>, aren't we rotating the number 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 rigmarole of continuous growth. So really, <img src="https://betterexplained.com/latex/e7aded5a42342d4b3f23.png" alt="$e^x$" width="18" height="13" style="vertical-align:-0.2px" class="bex-math"></img> 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 <img src="https://betterexplained.com/latex/7aa1a645fe3a23a173cb.png" alt="$3^4$" width="17" height="16" style="vertical-align:-0.4px" class="bex-math"></img> we ask:</p>

<ul>
<li>What is the implicit growth rate? We're growing from 1 to 3 (the base of the exponent).</li>
<li>How do we <strong>change</strong> that growth rate? We scale it by 4x (the power 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&#46; Again, the power of the exponent (4) just scaled our growth rate.</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/d59ce80107c165669d029d5832047403.png' width='175' height='22' alt='\displaystyle{3^4 = e^{\ln(3) \cdot 4} = (e^{\ln(3)})^4}' class='tex'></p>

<p>When the top exponent is i (as in <img src="https://betterexplained.com/latex/326464ac85eb1c08af69.png" alt="$3^i$" width="15" height="16" style="vertical-align:-0.4px" class="bex-math"></img>), 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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/96718d451fc895d5fd4ec06bd32c1914.png' width='168' height='22' alt='\displaystyle{3^i = e^{\ln(3) \cdot i} = (e^{\ln(3)})^i}' 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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/6d8f5c3f3e82bebc3c7cabdd1f754eb9.png' width='252' height='45' alt='\displaystyle{e = e^{100\%} = \lim_{n\to\infty} \left( 1 + \frac{100\%}{n} \right)^n}' class='tex'></p>

<p>That <img src="https://betterexplained.com/latex/21c70a10b1acbb7e1dc9.png" alt="$\frac{100\%}{n}$" width="38" height="24" style="vertical-align:-6.38px" class="bex-math"></img> represents the portion interest we earned in each microscopic period. We assumed the interest rate was 100% in the real dimension -- but what if it were 100% in the imaginary direction?</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/4dcb16d8ee877de1e4a3addf6a7fb513.png' width='247' height='45' alt='\displaystyle{e^{100\% \cdot i} = \lim_{n\to\infty} \left( 1 + \frac{100\%\cdot i}{n} \right)^n}' class='tex'></p>

<p><img decoding="async" src="https://betterexplained.com/wp-content/uploads/euler/imaginary_interest.png" alt="cumulative imaginary interest" class="webpexpress-processed"></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: <img src="https://betterexplained.com/latex/90518c2f71e8c9ccd0e1.png" alt="$e^i$" width="15" height="16" style="vertical-align:-0.2px" class="bex-math"></img></strong></p>

<p>Where's the x? Ah, it's just 1&#46; 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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/4a318109513e9c72f9ca35d23ea4f053.png' width='307' height='21' alt='\displaystyle{e^i = \cos(1) + i \cdot \sin(1) = .5403 + .8415i}' 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: <img src="https://betterexplained.com/latex/326464ac85eb1c08af69.png" alt="$3^i$" width="15" height="16" style="vertical-align:-0.4px" class="bex-math"></img></strong></p>

<p>This is tricky -- it's not in our standard format. But remember, <img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/c088b0aa18cca5739cf517b549fbb15a.png' width='74' height='17' alt='\displaystyle{3^i = 1 \cdot 3^i}' class='tex'></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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/0babf08ce7b7ce3757baf483f33e88e2.png' width='168' height='22' alt='\displaystyle{3^i = (e^{\ln(3)})^i = e^{\ln(3)\cdot i}}' 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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/206ad9accfcec3d0a57dacf47855d8af.png' width='438' height='22' alt='\displaystyle{3^i = e^{\ln(3) \cdot i} = \cos(\ln(3)) + i \cdot \sin(\ln(3)) = .4548 + .8906i}' class='tex'></p>

<p>So, rather than ending up "1" unit around the circle (like <img src="https://betterexplained.com/latex/90518c2f71e8c9ccd0e1.png" alt="$e^i$" width="15" height="16" style="vertical-align:-0.2px" class="bex-math"></img>) we end up ln(3) units around.</p>

<p><strong>Example: <img src="https://betterexplained.com/latex/9f1c809a8b33cf962b99.png" alt="$i^i$" width="13" height="16" style="vertical-align:-0.2px" class="bex-math"></img></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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/a48a992232a8911b7cce8cf3c7b0381d.png' width='69' height='17' alt='\displaystyle{i^i = 1 \cdot i^i}' class='tex'></p>

<p>We start with 1 and want to change it. Like solving <img src="https://betterexplained.com/latex/326464ac85eb1c08af69.png" alt="$3^i$" width="15" height="16" style="vertical-align:-0.4px" class="bex-math"></img>, 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 at 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 <img src="https://betterexplained.com/latex/6e6eeb2a896a7ddafc6c.png" alt="$i \frac{\pi}{2}$" width="22" height="19" style="vertical-align:-6.25px" class="bex-math"></img>. Remember our rate must be imaginary since we're rotating, not growing! Plain old <img src="https://betterexplained.com/latex/a4ac86f49bf2e11c00fa.png" alt="$\frac{\pi}{2}$" width="16" height="19" style="vertical-align:-6.25px" class="bex-math"></img> 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 <img src="https://betterexplained.com/latex/a4ac86f49bf2e11c00fa.png" alt="$\frac{\pi}{2}$" width="16" height="19" style="vertical-align:-6.25px" class="bex-math"></img> radians (90 degrees) in that amount of time. So, to get "i" we can use <img src="https://betterexplained.com/latex/46ec6cb116cc3976033d.png" alt="$e^{i \frac{\pi}{2}}$" width="26" height="16" style="vertical-align:-0.2px" class="bex-math"></img>.</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/1eaa177a737ea966a723552d8aa73a94.png' width='53' height='18' alt='\displaystyle{i = e^{i \frac{\pi}{2}}}' 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 <img src="https://betterexplained.com/latex/6e6eeb2a896a7ddafc6c.png" alt="$i \frac{\pi}{2}$" width="22" height="19" style="vertical-align:-6.25px" class="bex-math"></img>, which is what a base of <em>i</em> means, we transform the rate to:</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/337b4a4acc58dc5f3db90b14ac789602.png' width='166' height='33' alt='\displaystyle{\frac{\pi}{2}i \cdot i = \frac{\pi}{2} \cdot -1 = -\frac{\pi}{2}}' 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 <img src="https://betterexplained.com/latex/9f1c809a8b33cf962b99.png" alt="$i^i$" width="13" height="16" style="vertical-align:-0.2px" class="bex-math"></img> to make things smaller. And it does:</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/ae77d7310bad7af54c5996ca77234c74.png' width='106' height='18' alt='\displaystyle{i^i = e^{- \frac{\pi}{2}} \sim .2}' 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 <img src="https://betterexplained.com/latex/e7aded5a42342d4b3f23.png" alt="$e^x$" width="18" height="13" style="vertical-align:-0.2px" class="bex-math"></img> become i, make e rotate <img src="https://betterexplained.com/latex/a4ac86f49bf2e11c00fa.png" alt="$\frac{\pi}{2}$" width="16" height="19" style="vertical-align:-6.25px" class="bex-math"></img> radians.</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/ecba84581a86447fd8afe974b5b0082d.png' width='92' height='33' alt='\displaystyle{\ln(i) = i \cdot \frac{\pi}{2}}' class='tex'></p>

<p><strong>Example: (i^i)^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='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/75dec4aa2a2bdd2a18b963ec3198d2f4.png' width='135' height='22' alt='\displaystyle{i^i = (e^{\frac{\pi}{2}i})^i = e^{-\frac{\pi}{2}}}' class='tex'></p>

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

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/4fff11fd7fb2df19043fec759bda0f5c.png' width='166' height='22' alt='\displaystyle{(i^i)^i = (e^{-\frac{\pi}{2}})^i = e^{-\frac{\pi}{2}i}}' class='tex'></p>

<p>And now we have a negative rotation! We're going around the circle a rate of <img src="https://betterexplained.com/latex/c637e6071432217f7cff.png" alt="$-\frac{\pi}{2}$" width="30" height="19" style="vertical-align:-6.25px" class="bex-math"></img> 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 <img src="https://betterexplained.com/latex/a625c986adfdcdba2f11.png" alt="$e = e^1$" width="49" height="17" style="vertical-align:-1.49px" class="bex-math"></img>). 1 time unit gives us a rotation of <img src="https://betterexplained.com/latex/c637e6071432217f7cff.png" alt="$-\frac{\pi}{2}$" width="30" height="19" style="vertical-align:-6.25px" class="bex-math"></img> radians (-90 degrees) or -i!</p>

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/c864006c97d5ba579b712416b0c5abf9.png' width='74' height='21' alt='\displaystyle{(i^i)^i = -i}' class='tex'></p>

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

<p><img src='https://betterexplained.com/wp-content/plugins/wp-latexrender/pictures/881c41a6765c5f40b6a2c8f75982c4c9.png' width='99' height='21' alt='\displaystyle{((i^i)^i)^2 = -1}' 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 decoding="async" src="https://betterexplained.com/wp-content/uploads/euler/complex_growth.png" alt="real and imaginary growth" class="webpexpress-processed"></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 <img src="https://betterexplained.com/latex/19fdf852e50d0ef46731.png" alt="$e^a$" width="17" height="13" style="vertical-align:-0.2px" class="bex-math"></img> and the angle is determined by <img src="https://betterexplained.com/latex/31d8db4d979f24d96b6b.png" alt="$e^{bi}$" width="20" height="16" style="vertical-align:-0.2px" class="bex-math"></img>. 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 then 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 <img src="https://betterexplained.com/latex/abd6820cc580fd85e8e1.png" alt="$\sqrt{6^2 + 8^2} = \sqrt{100} = 10$" width="181" height="20" style="vertical-align:-2px" class="bex-math"></img>. 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 <img src="https://betterexplained.com/latex/56c04a98acc93dc2b53b.png" alt="$e^{2.3 + .93i}$" width="58" height="16" style="vertical-align:-0.2px" class="bex-math"></img>.</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 decoding="async" src="https://betterexplained.com/wp-content/uploads/euler/equal_paths.png" alt="euler's formula two paths" class="webpexpress-processed"></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 53.13 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 <img src="https://betterexplained.com/latex/f24af717b851ea6a5e39.png" alt="$e^{ix}$" width="22" height="16" style="vertical-align:-0.2px" class="bex-math"></img> 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="https://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="https://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>
<li>I did a talk on <a href="https://betterexplained.com/articles/math-and-analogies/">Math and Analogies</a> which explains Euler's Identity more visually:</li>
</ul>

<p><img decoding="async" src="https://betterexplained.com/wp-content/uploads/math-analogies/math-analogies-jpg.022.jpeg" alt="Intuitive Understanding Of Euler's Formula" class="webpexpress-processed"></p>

]]></content:encoded>
					
					<wfw:commentRss>https://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/feed/</wfw:commentRss>
			<slash:comments>337</slash:comments>
		

			</item>
	</channel>
</rss>
