<?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>Rolfe's Math Blog</title>
	<atom:link href="http://rolfeschmidt.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://rolfeschmidt.com/wordpress</link>
	<description></description>
	<lastBuildDate>Fri, 23 Oct 2009 19:33:51 +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>Lecture notes</title>
		<link>http://rolfeschmidt.com/wordpress/?p=97</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=97#comments</comments>
		<pubDate>Fri, 23 Oct 2009 19:33:51 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=97</guid>
		<description><![CDATA[For those of you who are a bit more technically minded, I&#8217;m keeping some lecture notes for an Inverse Problems course at UW here. I may also add some discussions of papers I&#8217;m reading, etc. I didn&#8217;t want to flood this blog with them. Of course, it wouldn&#8217;t hurt to get something on this blog.  [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who are a bit more technically minded, I&#8217;m keeping some lecture notes for an Inverse Problems course at UW<a href="http://rrschmidt.wordpress.com"> here.</a> I may also add some discussions of papers I&#8217;m reading, etc. I didn&#8217;t want to flood this blog with them.</p>
<p>Of course, it wouldn&#8217;t hurt to get something on this blog.  I&#8217;m thinking about it.  Just busy.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=97</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A new toy</title>
		<link>http://rolfeschmidt.com/wordpress/?p=94</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=94#comments</comments>
		<pubDate>Thu, 14 May 2009 22:32:27 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Number Theory]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=94</guid>
		<description><![CDATA[The boys and I have been talking a lot about number theory lately &#8212; GCD&#8217;s, LCM&#8217;s and primes &#8212; and one thing that keeps coming up is the Sieve of Eratosthenes.  They love the sieve, and this is how we have been doing it: I write a list of numbers on a grid (e.g. the [...]]]></description>
			<content:encoded><![CDATA[<p>The boys and I have been talking a lot about number theory lately &#8212; GCD&#8217;s, LCM&#8217;s and primes &#8212; and one thing that keeps coming up is the <a href="http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes">Sieve of Eratosthenes</a>.  They love the sieve, and this is how we have been doing it:</p>
<ol>
<li>I write a list of numbers on a grid (e.g. the numbers 1 to 105 on a 7-by 15 grid)</li>
<li>They circle &#8220;2&#8243; with a color, then mark out all of the even numbers with that color.</li>
<li>The circle &#8220;3&#8243; with a different color, and mark out every third number with the new color.</li>
<li>Continue like this for 5, 7, 11, etc.  Always circle the next number that hasn&#8217;t been colored with a new color.</li>
</ol>
<p>As you do this, you will find interesting patterns that speed up the coloring and teach you a bit about numbers.  It is interesting to try grids with different widths and find new patterns too.</p>
<p>Eventually I got tired of writing these grids out by hand, so I wrote a little web page to do it for me.  It colors the grid too &#8212; <a href="http://rolfeschmidt.com/siever/">try it</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=94</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More ways to make squares</title>
		<link>http://rolfeschmidt.com/wordpress/?p=80</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=80#comments</comments>
		<pubDate>Sun, 30 Nov 2008 13:58:19 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Arithmetic]]></category>
		<category><![CDATA[Figurate Numbers]]></category>
		<category><![CDATA[Geometry]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=80</guid>
		<description><![CDATA[When we were building squares from triangles, we found a few interesting identities. One of the more striking ones showed how we could make a square from two triangles: This opens the door to a little bit more fun. Remember that So we know Let&#8217;s arrange the terms on top of each other, like this [...]]]></description>
			<content:encoded><![CDATA[<p>When we were <a href="http://rolfeschmidt.com/wordpress/?p=68">building squares from triangles</a>, we found a few interesting identities. One of the more striking ones showed how we could make a square from two triangles:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_52f6cd277d2a384e17a07b899c420802.png" align="absmiddle" class="tex" alt="T_n + T_{n-1} = n^2" /></center></p>
<p>This opens the door to a little bit more fun. Remember that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d00c86d6297b8b7a780467c6551d0627.png" align="absmiddle" class="tex" alt="T_n = 1 + 2 + 3 + ... + n" /></center></p>
<p>So we know</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2b559d4b72b8293a78049f675894f1d3.png" align="absmiddle" class="tex" alt="n^2 = T_n + T_{n-1} = (1 + 2 + 3 + ... + n) + (1 + 2 + 3 + ... + n-1)" /></center></p>
<p>Let&#8217;s arrange the terms on top of each other, like this</p>
<table border="0">
<tbody>
<tr>
<td>1</td>
<td>+ 2</td>
<td>+ 3</td>
<td>+ 4</td>
<td>&#8230;</td>
<td>+ n</td>
</tr>
<tr>
<td> </td>
<td>+ 1</td>
<td>+ 2</td>
<td>+ 3</td>
<td>&#8230;</td>
<td>+ n &#8211; 1</td>
</tr>
</tbody>
</table>
<p>Now if we group the terms that are on top of each other, we se we can write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9628dd6bbdc5015cd112d411e7f253b6.png" align="absmiddle" class="tex" alt=" n^2 = T_n + T_{n-1} = 1 + (2 + 1) + (3 + 2) + (4 + 3) + ... + (n + n - 1)" /></center></p>
<p>OR</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_911d6dcaab85488e20c5645bfd5a0137.png" align="absmiddle" class="tex" alt=" n^2 = 1 + 3 + 5 + 7 + ... + (2n - 1)" /></center></p>
<p>And we see that the n-th square number is just the sum of the first n odd numbers!</p>
<p><strong>Now in pictures</strong></p>
<p>There are other ways to see this. <span id="more-80"></span>This set of figures shows how we can build larger squares by adding borders to smaller squares:</p>
<div id="attachment_84" class="wp-caption aligncenter" style="width: 510px"><a href="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/buildingsquares1.png"><img class="size-full wp-image-84" title="buildingsquares1" src="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/buildingsquares1.png" alt="Building squares by adding odd numbers" width="500" height="290" /></a><p class="wp-caption-text">Building squares by adding odd numbers</p></div>
<p>When we add the border to an n-by-n square to make a (n+1)-by-(n+1) square, we need to add n squares to one side, n squares to the top, and then we need to add one square to the top corner to complete it.  Altogether, we add 2n + 1 squares.  2n + 1 is just the (n+1)th odd number. </p>
<p>If we start from 0, then add 1, then add 3, then add 5, and so on &#8212; adding the n-th odd number at the n-th step &#8212; we&#8217;ll find that after n steps the sum is just <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_6595d679e306a127a3fe53268bcaddb2.png" align="absmiddle" class="tex" alt="n^2" />.  Or</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_686e64d406dd26f32ac47fda23f766d4.png" align="absmiddle" class="tex" alt="n^2 = 1 + 3 + 5 + ... + (2n-1)" /></center></p>
<p>Just like we saw before.</p>
<p>The &#8216;picture part&#8217; of this argument is really just a special case of <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookII/propII4.html">Proposition II.4</a> in Euclid&#8217;s Elements:</p>
<blockquote><p> If a straight line is cut at random, then the square on the whole equals the sum of the squares on the segments plus twice the rectangle contained by the segments.</p></blockquote>
<p>(follow the link for the proof, discussion, and an interactive diagram.)  In fact, Euclid&#8217;s <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookII/bookII.html">Book II</a> is full of this sort of <em>Geometric Algebra </em>&#8211; identities that are easy to write down formally once you know Algebra, but turn out to have straightforward interpretations in Geometry.</p>
<p><strong>An easier way</strong></p>
<p>After all of that work, I do want to make sure you know how easy it is to do this with Algebra:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_dd0277422890dc396693f620da8841d4.png" align="absmiddle" class="tex" alt=" n^2 = (n^{2} - 2n + 1) + (2n - 1) = (n-1)^{2} + (2n - 1)" /></center></p>
<p>So the n-th square number is just the (n-1)-th square number plus the n-th odd number.  Unlike the geometric result, this works seamlessly for negative numbers, complex numbers, or for elements of any other field.  Maybe that&#8217;s why we hear more about <a href="http://en.wikipedia.org/wiki/Algebraic_geometry">Algebraic Geometry</a> than Geometric Algebra.</p>
<p><strong>That&#8217;s not the whole story</strong></p>
<p>The pictures and formulas I&#8217;ve put together in this post were meant to be convincing, but they are explanations, not proofs.  This is largely because I am using figurate numbers to teach elementary aged kids about Arithmetic, Geometry, and surprising connections between them. But if you really want to be sure about things, you need to know that there is a little problem I&#8217;ve been sweeping under the rug.</p>
<p>We want to <em>prove</em> that the n-th square number is the sum of the first n odd numbers.  All we have proven is that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_6306745808e68187ecce2eaa2a66edaf.png" align="absmiddle" class="tex" alt="n^2 = (n-1)^2 + 2n - 1" />, then I wave my hands and say that &#8220;we start from zero and keep adding odd numbers, and we&#8217;ll just move from one odd number to the next&#8221;. </p>
<p>We come across this situation all of the time in Mathematics: we have a process, we understand what it does in one step, and we want to make a statement about what it does after an arbitrary number of steps.  To do this, we need to use <a href="http://www.cut-the-knot.org/induction.shtml">mathematical induction</a>.  It may sound a bit intimidating at first, but it is really just a way to formalize the common-sense-hand-waving I&#8217;ve been doing (and to make sure our common sense doesn&#8217;t get us into trouble). </p>
<p>I&#8217;ll defer discussing induction for a while.  It is worth a few posts on its own, and we&#8217;ll find that there are <a href="http://www.math.princeton.edu/~nelson/books/pa.pdf">good reasons</a> to be a little skeptical of our common sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=80</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triangles, Rectangles, and Squares</title>
		<link>http://rolfeschmidt.com/wordpress/?p=68</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=68#comments</comments>
		<pubDate>Tue, 18 Nov 2008 15:53:37 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Arithmetic]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Figurate Numbers]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=68</guid>
		<description><![CDATA[In my last post about triangle numbers, I claimed we could find all sorts of arithmetic identities just by moving our triangles around and sticking them together to build new shapes.  Here we will get our first taste of how this works. We all know that we can split a square into two equal triangles [...]]]></description>
			<content:encoded><![CDATA[<p>In my last <a href="http://rolfeschmidt.com/wordpress/?p=56">post about triangle numbers</a>, I claimed we could find all sorts of arithmetic identities just by moving our triangles around and sticking them together to build new shapes.  Here we will get our first taste of how this works.</p>
<p>We all know that we can split a square into two equal triangles by drawing a line down the diagonal:</p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 414px"><a href="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/squaretotriangles.png"><img class="size-full wp-image-69" title="squaretotriangles" src="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/squaretotriangles.png" alt="Breaking a square into two triangels" width="404" height="144" /></a><p class="wp-caption-text">Breaking a square into two triangles</p></div>
<p>When we try this for the &#8220;blocky&#8221; triangles we used to build our triangle numbers, it doesn&#8217;t quite work.  Have a look at what happens for the &#8220;4-triangle&#8221;:</p>
<div id="attachment_70" class="wp-caption aligncenter" style="width: 510px"><a href="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/twoequaltriangles.png"><img class="size-full wp-image-70" title="twoequaltriangles" src="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/twoequaltriangles.png" alt="A rectangle from two equal triangles" width="500" height="144" /></a><p class="wp-caption-text">A rectangle from two equal triangles</p></div>
<p>We get a 4-by-5 rectangle rather than a square. <span id="more-68"></span> If you play around with it a little bit, you should be able to convince yourself that whenever we put two equal triangles together, we&#8217;ll get a rectangle.  Two &#8220;3-triangles&#8221; form a 3-by-4 rectangle, two &#8220;2-triangles&#8221; form a 2-by 3 rectangle, and two &#8220;1-triangles&#8221; form a 1-by-2 rectangle.  Similarly, two &#8220;50-triangles&#8221; will form a 50-by-51 rectangle, and two &#8220;100-triangles&#8221; will form a 100-by-101 rectangle.</p>
<p><strong>An aside: notation and definitions</strong></p>
<p>Notice that I&#8217;ve introduced a little bit of vocabulary here.  I need a way to talk about these different shapes, so I called them <strong>&#8220;n-triangles&#8221;</strong> where n is any positive whole number.  I haven&#8217;t defined this formally, so I&#8217;m relying on intuition here and that is not a best practice!  I&#8217;m going to need another bit of notation before carrying on.</p>
<p><strong>Definition:</strong> The <strong>n-th triangle number</strong> is the sum of the first n positive whole numbers, and it will be written <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7caa8af80129e75cf22ee399730348d8.png" align="absmiddle" class="tex" alt="T_n" />.</p>
<p>This is just restating what we already know, and adding some new notation &#8212; we can now just write <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7caa8af80129e75cf22ee399730348d8.png" align="absmiddle" class="tex" alt="T_n" /> for the n-th triangle number.  So <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0ba1d3762e8c335ce56374203cb83279.png" align="absmiddle" class="tex" alt="T_1 = 1, T_2 = 3, T_3 = 6, ..." /> and so on.</p>
<p><strong>Back to the shapes</strong></p>
<p>With this new notation in hand, we can start writing down some interesting Math.  We observed that we can put together two n-triangles to make an n-by-(n+1) rectangle.  This just means</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_a7db6df417e231f65899dc481877e885.png" align="absmiddle" class="tex" alt="T_n + T_n = n\times(n+1)" /></center></p>
<p>Or</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_e351af2ef3bfae5b723e6b3624174356.png" align="absmiddle" class="tex" alt="2T_n = n^2 + n" /></center></p>
<p>How about that?  So we could take <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_cff6a0454d14f999df05e954187d3683.png" align="absmiddle" class="tex" alt="n = 4" /> and see that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4514992d59291a9f6ea4dcfe25bae833.png" align="absmiddle" class="tex" alt="T_4 = (4^2 + 4)/2 = 10" /></center></p>
<p>Or we could take <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d8e31ba0291436d5f7254f308051c432.png" align="absmiddle" class="tex" alt="n = 100" /> and see that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_143de70bf0b436649339982fd55ae2a5.png" align="absmiddle" class="tex" alt="T_{100} = (100^2 + 100)/2 = 5050" /></center></p>
<p>So <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0587c42c121e31309e63010520ebf3ce.png" align="absmiddle" class="tex" alt="1 + 2 + 3 + ... + 99 + 100 = 5050" />.  Wow, that was easy.  Now what is <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_a8a03762e654f3109736a383ff36dc83.png" align="absmiddle" class="tex" alt="1 + 2 + 3 + ... + 999 + 1000" />?</p>
<p><strong>Building Squares</strong></p>
<p>You might have noticed when we put two equal triangles together to build a rectangle, we could have built a perfect square if we had just used a smaller triangle.  Here are the first few examples:</p>
<div id="attachment_72" class="wp-caption aligncenter" style="width: 510px"><a href="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/squaresfromtriangles.png"><img class="size-full wp-image-72" title="squaresfromtriangles" src="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/squaresfromtriangles.png" alt="Squares from triangles" width="500" height="451" /></a><p class="wp-caption-text">Squares from triangles</p></div>
<p>So we have a new formula:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_52f6cd277d2a384e17a07b899c420802.png" align="absmiddle" class="tex" alt="T_n + T_{n-1} = n^2" /></center></p>
<p>We could have come up with this using a bit of algebra too:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_29f0a238378b0280140bdacbfe4801aa.png" align="absmiddle" class="tex" alt="n^2 = n^2 + n - n = T_n + T_n - n = T_n + T_{n-1}" /></center></p>
<p>Here we used the fact that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_72b62cdb725b5ea93f1774659fd8864c.png" align="absmiddle" class="tex" alt="T_n - n = T_{n-1}" />.  Think about it for a bit if you don&#8217;t see why.</p>
<p><strong>Turning it into an Arithmetic drill</strong></p>
<p>Sometimes I like to incorporate little identities like the ones we&#8217;re playing with here into my kids Arithmetic practice.  Here is an example of a problem set I gave them before I introduced the idea of &#8220;triangle numbers&#8221;:</p>
<table border="0" width="90%">
<tbody>
<tr>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3c85c07c6f43325c65bed2ca839e2ca9.png" align="absmiddle" class="tex" alt="1 = " /></td>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_78279c6b94a0b66ac92085188cc2dcbf.png" align="absmiddle" class="tex" alt="(1\times 1) - 0 = " /></td>
</tr>
<tr>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0d3f4c8ae26ed594531ad10f702277f0.png" align="absmiddle" class="tex" alt="1 + 2 = " /></td>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_dd2848bf42609fe4fc3a1d04ea36e4fd.png" align="absmiddle" class="tex" alt="(2\times 2) - 1 = " /></td>
</tr>
<tr>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_fc3aa297c474b1ad884c05c38c0d2f73.png" align="absmiddle" class="tex" alt="1 + 2 + 3 = " /></td>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_90bb49a7ef715d3a8044aa7195b7c9fa.png" align="absmiddle" class="tex" alt="(3\times 3) - 3 = " /></td>
</tr>
<tr>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_1536298ad83a30912b1778f523738538.png" align="absmiddle" class="tex" alt="1 + 2 + 3 + 4 = " /></td>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_593908becf989eba248c8720a9fd3353.png" align="absmiddle" class="tex" alt="(4\times 4) - 6 = " /></td>
</tr>
<tr>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2278adf88025292b5f59a78a53615a19.png" align="absmiddle" class="tex" alt="1 + 2 + 3 + 4 + 5 = " /></td>
<td><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d295343df432d7f41f8aad8f5339bb8c.png" align="absmiddle" class="tex" alt="(5\times 5) - 10 = " /></td>
</tr>
</tbody>
</table>
<p>The problems on the left side are just asking you compute <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7caa8af80129e75cf22ee399730348d8.png" align="absmiddle" class="tex" alt="T_n" />, the problems on the left side ask you to compute <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_8b0104106843eac3685a4b1568769b5e.png" align="absmiddle" class="tex" alt="n^2 - T_{n-1}" />.  We know that these are equal.</p>
<p>My boys worked through this, noticed the patterns and realized that there must be something deeper going on behind the scenes.  After they finished the exercise, I started drawing pictures for them &#8212; almost exactly like the ones I produced above &#8212; and they lit up right away when they understood the real story the arithmetic was trying to tell.</p>
<p>I like it when I can create a little tension, and make them really want to answer a question before presenting the meat of a topic.  When they are asking the question, they will take the time to honestly think through the answer.  Real learning only happens when they think the thoughts for themselves.  All I can do is act as a sort of tour guide.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=68</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Triangle Numbers</title>
		<link>http://rolfeschmidt.com/wordpress/?p=56</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=56#comments</comments>
		<pubDate>Mon, 17 Nov 2008 16:14:16 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Arithmetic]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Figurate Numbers]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=56</guid>
		<description><![CDATA[Figurate numbers can add a bit of fun to otherwise dry Arithmetic practice.  Triangle numbers are my current favorites.  What is a triangle number?  Well, here are the first few: 1 1 + 2 = 3 1 + 2 + 3 = 6 1 + 2 + 3 + 4 = 10 1 + 2 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://mathworld.wolfram.com/FigurateNumber.html">Figurate numbers</a> can add a bit of fun to otherwise dry Arithmetic practice.  <a href="http://mathworld.wolfram.com/TriangularNumber.html">Triangle numbers</a> are my current favorites.  What is a triangle number?  Well, here are the first few:</p>
<table style="text-align: left;" border="0">
<tbody>
<tr>
<td>1</td>
</tr>
<tr>
<td>1 + 2 = 3</td>
</tr>
<tr>
<td>1 + 2 + 3 = 6</td>
</tr>
<tr>
<td>1 + 2 + 3 + 4 = 10</td>
</tr>
<tr>
<td>1 + 2 + 3 + 4 + 5 = 15</td>
</tr>
<tr>
<td>1 + 2  + 3 + 4 + 5 + 6 = 21</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">So the n-th triangle number is just the sum of the first n numbers. Why are they called triangle numbers? Have a look at this picture:</p>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 510px"><a href="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/trianglenumbersintro.png"><img class="size-full wp-image-57" title="trianglenumbersintro" src="http://rolfeschmidt.com/wordpress/wp-content/uploads/2008/11/trianglenumbersintro.png" alt="The first 6 triangle numbers" width="500" height="481" /></a><p class="wp-caption-text">The first 6 triangle numbers</p></div>
<p>In some future posts, all available in this blog&#8217;s <a href="http://rolfeschmidt.com/wordpress/?cat=10">Figurate Numbers category</a>, I&#8217;ll show how we can put triangles and squares together to build new triangles and squares.  These pictures will translate directly to equations, or Arithmetic problems.  We&#8217;ll see how some tedious looking problem sets are really telling us stories about shapes.</p>
<p><strong>Some other reasons triangle numbers are important</strong></p>
<p>I like the fact that triangle numbers allow us to play some fun games with numbers, and provide a simple example of how Arithmetic can represent seemingly unrelated concepts like &#8220;shape&#8221;.  They are also valuable because they give us the simplest example of an arithmetic series, and once you know how to compute triangle numbers, it is pretty easy to figure out how to add any arithmetic progression (again, I&#8217;ll go into the details in a later post).</p>
<p>Once we know how to sum these series, we&#8217;ll be able to move into elementary Calculus and evaluate our first integrals.  Along the way, we&#8217;ll also find a way to test whether a number is a triangle number and develop a formula that tells us <em>which</em> triangle number it is.</p>
<p>These numbers give us a nice setting to introduce some real Mathematical thought in a fairly elementary way.  This is a theme I plan to come back to repeatedly on this blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=56</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pythagorean Puzzles</title>
		<link>http://rolfeschmidt.com/wordpress/?p=51</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=51#comments</comments>
		<pubDate>Thu, 13 Nov 2008 19:01:35 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Geometry]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=51</guid>
		<description><![CDATA[As I was playing around with logo the other day I remembered about one of my favorite little proofs of the Pythagorean Theorem. I was going to throw together a little program to draw the picture, but when I thought about it a little bit, I realized that it would be more fun to turn [...]]]></description>
			<content:encoded><![CDATA[<p>As I was playing around with logo the other day I remembered about one of my favorite little proofs of the <a href="http://www.cut-the-knot.org/pythagoras/index.shtml">Pythagorean Theorem</a>. I was going to throw together a little program to draw the picture, but when I thought about it a little bit, I realized that it would be more fun to turn this proof into a puzzle my kids could play with.</p>
<p>In case your Geometry is a little rusty, the Pythagorean Theorem tells you how to compute the length of one side of a <a href="http://mathworld.wolfram.com/RightTriangle.html">right triangle</a> when you know the length of the other two. If we have a right triangle like this one:</p>
<p><a title="right triangle" href="http://rolfeschmidt.wordpress.com/files/2007/11/righttriangle.png"><img src="http://rolfeschmidt.wordpress.com/files/2007/11/righttriangle.png" alt="right triangle" /></a></p>
<p>then the Pythagorean Theorem states that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d459699ab031562a6c4fbb577db204bc.png" align="absmiddle" class="tex" alt="a^2 + b^2 = c^2" />.</p>
<p>Here is one way to see that it is true. Let&#8217;s take four of these triangles and arrange them like this:</p>
<p><a title="Spiral square" href="http://rolfeschmidt.wordpress.com/files/2007/11/pythagorasspiral.png"><img src="http://rolfeschmidt.wordpress.com/files/2007/11/pythagorasspiral.png" alt="Spiral square" /></a></p>
<p>Now we have made a large square, with sides of length <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4a8a08f09d37b73795649038408b5f33.png" align="absmiddle" class="tex" alt="c" />, out of four of our triangles. We just have a little square &#8220;hole&#8221; in the middle.<span id="more-51"></span></p>
<p><strong>A first pass</strong></p>
<p>Let&#8217;s have a look at the area of all of these pieces. The area of a triangle is half of its base times its height, so the area of all four triangles put together is</p>
<p><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_629409890f35ba34961662a273b86ba2.png" align="absmiddle" class="tex" alt="4\frac{ab}{2} = 2ab" /></p>
<p>The area of the large square is just <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2796af5074a7f27ecccd3cd17e165d53.png" align="absmiddle" class="tex" alt="c^2" />, so we know that</p>
<p>Area of Square = Area of Triangles + Area of Hole</p>
<p><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9c939436577cccdb6cb8865b48f66104.png" align="absmiddle" class="tex" alt="c^2 = 2ab" /> + Area of Hole</p>
<p>Let&#8217;s look at that square hole. It&#8217;s side has length <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_31a6518d1b04a090784938645b4a6633.png" align="absmiddle" class="tex" alt="b-a" />, so it&#8217;s area is just <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_68de0e359f02ca3171aa00565ecd9894.png" align="absmiddle" class="tex" alt="(b-a)^2 = a^2 - 2ab + b^2" />. This lets us write</p>
<p><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_ef57c10e20314ba29559207c3d7cff91.png" align="absmiddle" class="tex" alt="c^2 = 2ab + a^2 - 2ab + b^2 = a^2 + b^2" /></p>
<p>Which is just what we were looking for. But we don&#8217;t have to be so quick to lean on our Algebra crutch here.</p>
<p><strong>A &#8220;Tangram&#8221; proof</strong></p>
<p>Actually you can just print out that square, cut out each of the pieces, and rearrange them into a new shape like this (click on the image for a clear view):</p>
<p><a title="Rearrangement" href="http://rolfeschmidt.wordpress.com/files/2007/11/rearrangedsquare.png"><img src="http://rolfeschmidt.wordpress.com/files/2007/11/rearrangedsquare.png" alt="Rearrangement" /></a></p>
<p>The shading will help you see that this new configuration is just a square with side <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0cc175b9c0f1b6a831c399e269772661.png" align="absmiddle" class="tex" alt="a" /> next to a square with side <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_92eb5ffee6ae2fec3ad71c777531578f.png" align="absmiddle" class="tex" alt="b" /> (shaded). This is just the sort of thing you do when you play with tangrams: break shapes into smaller pieces and rearrange them to make different shapes. This is also the sort of argument that appears again and again in <a href="http://aleph0.clarku.edu/~djoyce/java/elements/elements.html">Euclid&#8217;s Elements</a>.</p>
<p>Try this at home! Cut out the pieces (I made a template <a href="http://rolfeschmidt.wordpress.com/files/2007/11/pythagoraspieces.png">here</a>), and cut out the squares (template <a href="http://rolfeschmidt.wordpress.com/files/2007/11/pythagorassquares.png">here</a>). Arrange the shapes yourself to see that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d459699ab031562a6c4fbb577db204bc.png" align="absmiddle" class="tex" alt="a^2 + b^2 = c^2" />.<a title="Pythagoras Squares" href="http://rolfeschmidt.wordpress.com/files/2007/11/pythagorassquares.png"></a></p>
<p>Even pretty young kids can play these games and develop some important intuition, even if they don&#8217;t appreciate the importance of the results. I know I think that the Pythagorean Theorem is one of the most important non-trivial results in Mathematics. When I showed this to G, he said &#8220;Of course, I already knew how to do that when I was three&#8221; Then he started making his own designs with the pieces.</p>
<p><strong>Extra Credit Puzzle</strong></p>
<p>OK, I know this is old hat to some of you, so here are some meatier things to think about. This argument is very old. As David Joyce <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookI/propI47.html">points out</a></p>
<blockquote><p>The rule for computing the hypotenuse of a right triangle was well known in ancient China. It is used in the <em>Zhou bi suan jing,</em> a work on astronomy and mathematics compiled during the Han period, and in the later important mathematical work <em>Jiu zhang suan shu</em> [<em>Nine Chapters</em>] to solve right triangles.</p>
<p>The <em>Zhou bi</em> includes a very interesting diagram known as the &#8220;hypotenuse diagram.&#8221; This diagram may not have been in the original text but added by its primary commentator Zhao Shuang sometime in the third century C.E.</p></blockquote>
<p>The <em>hypotenuse diagram</em> is just the picture we&#8217;ve been playing with throughout this post.</p>
<ol>
<li>Why didn&#8217;t Euclid use this proof in <a href="http://aleph0.clarku.edu/~djoyce/java/elements/elements.html">The Elements</a>?  After all, Plato seemed to be aware of it (see Meno).</li>
<li>Turn this argument into a formal proof using only results from Euclid&#8217;s <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookI/bookI.html">Book I</a>. (Proposition 47 is off limits, of course.) Is that proof longer or shorter than <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookI/propI47.html">Euclid&#8217;s Book I Proof</a>?</li>
<li>What if you get to use results from <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookII/bookII.html">Book II</a> as well? (Hint: that rearrangement I made looks like it came straight out of Book II).</li>
</ol>
<p>If you can answer those questions well, you&#8217;ll have a reasonable chance of passing my Geometry class <img src='http://rolfeschmidt.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>If you want to see a menagerie of different proofs of this theorem, take a look at the <a href="http://www.cut-the-knot.org/pythagoras/index.shtml">Pythagorean Theorem and its many proofs</a> at <a href="http://www.cut-the-knot.org/manifesto/index.shtml">Cut the Knot</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Zeta Function Primer</title>
		<link>http://rolfeschmidt.com/wordpress/?p=47</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=47#comments</comments>
		<pubDate>Wed, 12 Nov 2008 03:23:24 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Infinite Series]]></category>
		<category><![CDATA[Number Theory]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=47</guid>
		<description><![CDATA[With the last couple of posts under our belt, we&#8217;re ready to have a peek at something a little more exciting: the Riemann -function and it&#8217;s relationship to the prime numbers. This is at the heart of one of the most famous unsolved Mathematics problems around, the Riemann Hypothesis. No, we won&#8217;t take on the [...]]]></description>
			<content:encoded><![CDATA[<p>With the last couple of posts under our belt, we&#8217;re ready to have a peek at something a little more exciting: the <a href="http://en.wikipedia.org/wiki/Riemann_zeta_function">Riemann <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3c22ba7aade15ea2b2852cd51bb4d6d4.png" align="absmiddle" class="tex" alt="\zeta" />-function</a> and it&#8217;s relationship to the prime numbers.  This is at the heart of one of the most famous unsolved Mathematics problems around, the <a href="http://en.wikipedia.org/wiki/Riemann_hypothesis">Riemann Hypothesis</a>.</p>
<p>No, we won&#8217;t take on the Riemann Hypothesis, but I will try to convince you that understanding how the <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3c22ba7aade15ea2b2852cd51bb4d6d4.png" align="absmiddle" class="tex" alt="\zeta" />-function behaves is really the same as understanding prime numbers and how they are distributed.  We&#8217;ll start this by proving a specific result, namely</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_c93f556b64cd42e0a464d222390c8df7.png" align="absmiddle" class="tex" alt="\sum_{p \in \textbf{primes}}\frac{1}{p} = \infty" /></center></p>
<p>In other words, the sum of the reciprocals of the primes diverges.</p>
<p>Here I&#8217;ll give the simplest proof I can think of, relying only on a little bit of Algebra II. If anyone can do better, please let me know! I&#8217;m not aiming for rigor here, although I&#8217;m happy to provide rigor on request.<strong> </strong><br />
<span id="more-47"></span></p>
<p><strong>Adding All the Numbers</strong></p>
<p>I want to start by playing some games with multiplication and addition.</p>
<p>First, notice that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_bf4a1f87a78a8ff833e5481a53ad2927.png" align="absmiddle" class="tex" alt="(1 + 2)(1 + 3) = 1 + 2 + 3 + 6" /></center></p>
<p>For the moment, don&#8217;t try to add the numbers. Just think of addition as a way to write a list of numbers. This example shows how we can use multiplication to take two short lists and make a longer list.<br />
What if we want a 4 to show up in the list? We can just write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0871d176848d7aaa1e95a566280c13ab.png" align="absmiddle" class="tex" alt="(1 + 2 + 4)(1 + 3) = 1 + 2 + 3 + 4 + 6 +12" /></center></p>
<p>Now we are missing 5, so we fix it like this</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_a1a4492721ef3d784936baab7e31272d.png" align="absmiddle" class="tex" alt="(1 + 2 + 4)(1 + 3)(1 + 5) = 1 + 2 + 3 + 4 + 5 + 6 + 10 + 12 + 15 + 20 + 30 + 60" /></center></p>
<p>We can keep going like this: multiply by (1 + 7) to put 7 in the list, multiply by (1 + 2 + 4 + 8 ) instead of (1 + 2 + 4) to get 8 in the list, multiply by (1 + 3 + 9) instead of (1 + 3) to put 9 in the list. Play around with it, and you&#8217;ll see that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_8801a1f28ab580083f7e2ba41094f5bc.png" align="absmiddle" class="tex" alt="(1 + 2 + 4 + 8)(1 + 3 + 9)(1 + 5)(1 + 7)(1 + 11)(1 + 13) = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14+ 15 + \text{bigger stuff, no number appears twice}" /></center></p>
<p>We can keep going like this, and will hit a hole in our list every time we hit either (1) a new prime number, or (2) a power of a prime number that we&#8217;ve already seen. We know how to fill in those holes</p>
<ol>
<li>When we hit a new prime number, $latex p$, multiply by <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_05a9da382fe2984e3b596cb8f86c9765.png" align="absmiddle" class="tex" alt="(1 + p)" /></li>
<li>When we hit a power of a prime number that we&#8217;ve already seen, say <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9d0408f6baa8986c76a4899544d28251.png" align="absmiddle" class="tex" alt="p^n" />, we will already have a term in our product that looks like <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_18a895aefb33408dcdd1d37b25108e2b.png" align="absmiddle" class="tex" alt="(1 + p + p^2 + ... + p^{n-1})" />, so just add <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9d0408f6baa8986c76a4899544d28251.png" align="absmiddle" class="tex" alt="p^n" /> to this term, giving you <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_912864165cd24db6a74fcc98b1d54a65.png" align="absmiddle" class="tex" alt="(1 + p + p^2 + ... + p^{n-1} + p^n)" /></li>
</ol>
<p>If we keep going this way, we&#8217;ll put every number in our long list and no number will show up twice (this is another way to say that numbers can be uniquely factored into primes). We&#8217;ll end up with this interesting equation</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_5d94b0dd6e7c5a338902a1b320d5a035.png" align="absmiddle" class="tex" alt="(1 + 2 + 4 + ... + 2^n + ...)(1 + 3 + 9 + ...)(1 + 5 + 25 + ...)... = 1 + 2 + 3 + 4 + 5 + ..." /></center></p>
<p>Of course this is meaningless. Interesting, but meaningless. But interesting is good enough for me, so let&#8217;s charge forward.</p>
<p>In my <a href="http://rolfeschmidt.com/wordpress/?p=1">first post</a> in this series I introduced the Sigma notation for sums, so we didn&#8217;t have to write out all of those +-signs and &#8216;&#8230;&#8217; marks. We can use that to make our formula a little more concise and precise here:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_c9a3ab0a57fadff44428060a164142fc.png" align="absmiddle" class="tex" alt="(\sum_0^\infty 2^i)((\sum_0^\infty 3^i)(\sum_0^\infty 5^i)... = \sum_0^\infty i" /></center></p>
<p>But we still have an infinite number of multiplications cluttering up the equation. We can use the Greek capital Pi, <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d744af1210420bc542a6a63b938a5601.png" align="absmiddle" class="tex" alt="\Pi" />, just like we used Sigma before to take care of this. So, for example</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0ce29dd42c0b49a35afc1e128937945e.png" align="absmiddle" class="tex" alt="\prod_{i=1}^{10} i" /></center></p>
<p>is just a shorthand way to write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0d1a45a988c5b0476ed400f60ac10ded.png" align="absmiddle" class="tex" alt="1 \times 2 \times 3 \times 4 \times 5 \times 6 \times 7 \times 8 \times 9 \times 10" /></center></p>
<p>Using the Pi notation, we can write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2cf740346d1e31253dd1d2784f5ac347.png" align="absmiddle" class="tex" alt="\prod_{p \textbf{ prime} }(\sum_{i = 0}^{\infty} p^i) = \sum_{i=0}^{\infty} i" /></center></p>
<p>Still meaningless, but it looks impressive!</p>
<p><strong>Back to the zeta function</strong></p>
<p>Now let&#8217;s make it meaningful. We weren&#8217;t interested in adding up whole numbers anyway. In our <a href="http://rolfeschmidt.com/wordpress/?p=20">last post</a> we found that when s > 1 we can define the Riemann zeta function</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_100afd1f327200eed1bce9ffc9822253.png" align="absmiddle" class="tex" alt="\zeta(s) = \sum_{n=0}^{\infty}\frac{1}{n^{s} }" /></center></p>
<p>Well we can play the same sort of list-making games with the numbers <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_45034efa7b53dc6748fd8b26ab7653c9.png" align="absmiddle" class="tex" alt="\frac{1}{n^s}" /> that we did with the whole numbers. For example</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_b35d4aedef66c2d5d2f1623a4ec58620.png" align="absmiddle" class="tex" alt="(1 + \frac{1}{2^s})(1 + \frac{1}{3^s}) = 1 + \frac{1}{2^s} + \frac{1}{3^s} + \frac{1}{6^s}" /></center></p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_55222616084f91fbbb835fc837e1ae22.png" align="absmiddle" class="tex" alt="(1 + \frac{1}{2^s} + \frac{1}{4^s})(1 + \frac{1}{3^s}) = 1 + \frac{1}{2^s} + \frac{1}{3^s} + \frac{1}{4^s} + \frac{1}{6^s}+ \frac{1}{12^s} " /></center></p>
<p>And so on. Try it.</p>
<p>This happens because the function <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_f78a2c34f4c9db79453f56668f496571.png" align="absmiddle" class="tex" alt="f(n) = \frac{1}{n^s}" /> is a homomorphism: <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3a0aaf161e173567e2181a154ac02fa2.png" align="absmiddle" class="tex" alt="f(nm) = f(n)f(m)" />. [<em>Excercise: Verify this.</em>] If we repeat our argument from above, we&#8217;ll be able to write down a very fancy looking formula that actually means something</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_40fca0c8e40baf2342eb507e981bc7ff.png" align="absmiddle" class="tex" alt="\prod_{p \textbf{ prime} }(\sum_{i = 0}^{\infty} \frac{1}{p^{si} }) = \sum_{n=1}^{\infty} \frac{1}{n^s} = \zeta(s)" /></center></p>
<p>But wait a minute. Look at all of those sums on the left hand side &#8212; the ones that look like <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_5089e87333a6dd8d9759bb7795cf7ac5.png" align="absmiddle" class="tex" alt="\sum_{i = 0}^{\infty} \frac{1}{p^{si}}" />. These are just geometric series, and we know that this just equals <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7f56400613940c016d626415f248f138.png" align="absmiddle" class="tex" alt="\frac{1}{1 - \frac{1}{p^{s}}}" />! So we can simplify the expression and write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4add3087ed484b323b6fa34b48ce74c3.png" align="absmiddle" class="tex" alt="\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s} = \prod_{p \textbf{ prime} }\frac{1}{1 - \frac{1}{p^{s}}}" /></center></p>
<p>This is called <em>Euler&#8217;s product formula for the zeta function</em>.</p>
<p>This is starting to look good. We&#8217;ve found a way to write the zeta function that only involves the prime numbers. And it is a neat expression, an analytic way to say that every number can be uniquely factored into primes. Any number that can&#8217;t be factored wouldn&#8217;t show up in our list-building exercises, and any number that can be factored two ways would have shown up in our list twice. I never proved that this can&#8217;t happen, so you might want to think about it a little more.</p>
<p><strong>Turning products into sums</strong></p>
<p>The problem is that we have an infinite <em>product</em>, and I had set out to study an infinite <em>sum</em> of primes. Luckily there is a function called the logarithm that turns multiplication into addition: <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_b3b5dfbe63069b8c97bd916c92457c05.png" align="absmiddle" class="tex" alt="\log(ab) = \log(a) + \log(b)" />. I&#8217;m going to use the <a href="http://en.wikipedia.org/wiki/Natural_logarithm">natural logarithm</a> because, well, it&#8217;s natural. (Unless you&#8217;re doing computer science, when it&#8217;s natural to let e = 2.) Applying logs gives us the equation</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3de659159e925d1099b0d458414cc798.png" align="absmiddle" class="tex" alt="\log(\zeta(s)) = \log(\prod_{p \textbf{ prime} }\frac{1}{1 - \frac{1}{p^{s}}}) = \sum_{p \textbf{ prime}} \log(\frac{1}{1 - \frac{1}{p^{s}}})" /></center></p>
<p>But it&#8217;s easy to check that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_bdc4acc4db8cf993716a838386593219.png" align="absmiddle" class="tex" alt="\log(\frac{1}{x}) = -\log(x)" /> (just look at <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_bc962b19900dc9f952e0924a8f8ef623.png" align="absmiddle" class="tex" alt="\log(1) = \log (1\times\frac{x}{x}) = \log(1) + \log(x) + \log(\frac{1}{x})" />), so we can now write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_72431c71d32e561f82649673302feecb.png" align="absmiddle" class="tex" alt="\log(\zeta(s)) = \sum_{p \textbf{ prime}} -\log(1 - \frac{1}{p^s})" /></center></p>
<p><strong>Approximate, simplify, and control the error</strong></p>
<p>Now as p gets big, the value <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3a104e518512afa99f0b661dc3848f4a.png" align="absmiddle" class="tex" alt="\frac{1}{p^s}" /> is going to get really small. We know that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_fe02682c3fccda2e44a0b9faea54e897.png" align="absmiddle" class="tex" alt="\log (1) = 0" />, so we would expect <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_88fb9e0af309555b42243e3a0f65ee7a.png" align="absmiddle" class="tex" alt="\log(1 - \frac{1}{p^s})" /> to be really close to zero. If we knew how fast the logarithm function was changing near zero, we could get a pretty good estimate for these terms in the sum. Well here is a graph of the function <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_882f041549a7627530b89269a4dac55c.png" align="absmiddle" class="tex" alt="-\log(1-x)" /> and the function <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> near <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3dad28281778d5ef4b7a78c7bc7a6b09.png" align="absmiddle" class="tex" alt="x = 0" />.</p>
<p><a title="Approximating the natural logarithm" href="http://rolfeschmidt.wordpress.com/files/2008/03/approxlog.png"><img src="http://rolfeschmidt.wordpress.com/files/2008/03/approxlog.png" alt="Approximating the natural logarithm" /></a></p>
<p>It turns out that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> is a pretty good approximation. If we could just swap this function for the log function it would be great! We&#8217;d have</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_72fa12c2d01b853ff333447b2466016c.png" align="absmiddle" class="tex" alt="\log(\zeta(s)) \approx \sum_{p \textbf{ prime}} \frac{1}{p^s}" /></center></p>
<p>Which is just the sort of sum we wanted to study. This is why we used the natural logarithm instead of , say a base 10 or base 2 logarithm: the natural logarithm is the only one that is well approximated by a line with slope 1. If we used a different logarithm, we&#8217;d get some messy looking constants in our approximation.</p>
<p>Now we should make sure that our approximation is good enough!</p>
<p>To do that, let&#8217;s plot the error we make when we swap <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" /> for <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_882f041549a7627530b89269a4dac55c.png" align="absmiddle" class="tex" alt="-\log(1-x)" /> and compare it to the function <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_32f5240d0dbf2ccbe75ef7f8ef2015e0.png" align="absmiddle" class="tex" alt="x^2" />.</p>
<p><a title="Controlling the approximation error" href="http://rolfeschmidt.wordpress.com/files/2008/03/errorbound.png"><img src="http://rolfeschmidt.wordpress.com/files/2008/03/errorbound.png" alt="Controlling the approximation error" /></a></p>
<p>Notice that if x is close to 1, our error is much bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_32f5240d0dbf2ccbe75ef7f8ef2015e0.png" align="absmiddle" class="tex" alt="x^2" />, but as long as <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_91ef42d9610b6ea29f09e83c07beac5a.png" align="absmiddle" class="tex" alt="x \leq \frac{1}{2}" />, the error we make is certainly less than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_32f5240d0dbf2ccbe75ef7f8ef2015e0.png" align="absmiddle" class="tex" alt="x^2" />. For prime numbers p, <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3a104e518512afa99f0b661dc3848f4a.png" align="absmiddle" class="tex" alt="\frac{1}{p^s}" /> is always going to be less than a half, so we can write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2f2203b022bb21a8fee32d2e0447ef78.png" align="absmiddle" class="tex" alt="\log(\zeta(s)) \leq \sum_{p \textbf{ prime}} \frac{1}{p^s} + \sum_{p \textbf{ prime}} \frac{1}{p^{2s}}" /></center></p>
<p>But now we know that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_fd923fcfa4f297b0b636d978107160d7.png" align="absmiddle" class="tex" alt="\sum_{p \textbf{ prime}} \frac{1}{p^{2s}} &lt; \sum_{n=1}^{\infty}\frac{1}{n^2}" /> because the second sum ranges over all of the numbers, not just the primes. We also know, from our last post, that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_21477f5f5dc478e94e1b59a952247f2d.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty}\frac{1}{n^2} &lt; 2" /></center></p>
<p>So we can write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_aff65154c81c4edb1d13714f0e389293.png" align="absmiddle" class="tex" alt="\sum_{p \textbf{ prime}} \frac{1}{p^s} &lt; \log(\zeta(s)) &lt; \sum_{p \textbf{ prime} } \frac{1}{p^s} + 2" /></center></p>
<p>And we have a pretty good idea how big our sum over the primes must be.</p>
<p>Now here is the fun part: <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_1bf391cc90384e08a4760dc7f21046a0.png" align="absmiddle" class="tex" alt="\zeta(1) = \sum_{n=1}^{\infty}\frac{1}{n} = \infty" />, as we saw in our last post. This means that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9d59004f141bf455b206e67f986b86ae.png" align="absmiddle" class="tex" alt="\infty = \log(\zeta(1)) &lt; \sum_{p \textbf{ prime}} \frac{1}{p} + 2" /></center></p>
<p>This can only happen if <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_75c47655275c3db923370fc5f89eb0dd.png" align="absmiddle" class="tex" alt="\sum_{p \textbf{ prime}} \frac{1}{p}" /> is infinite.</p>
<p>QED</p>
<p>Earlier I said this means that there are &#8220;a lot&#8221; of primes &#8212; enough to make this sum go to infinity. In a later post I&#8217;ll make this more precise.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=47</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harmonic Series</title>
		<link>http://rolfeschmidt.com/wordpress/?p=20</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=20#comments</comments>
		<pubDate>Wed, 12 Nov 2008 01:59:46 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Infinite Series]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=20</guid>
		<description><![CDATA[Before we can start looking at the Riemann -function and the prime numbers, we need to add a couple more tools to our tool kit.  In particular, we need to understand harmonic series and some related sums. The harmonic series Here is a sum that shows up frequently in Mathematics: This is called the harmonic [...]]]></description>
			<content:encoded><![CDATA[<p>Before we can start looking at the Riemann <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3c22ba7aade15ea2b2852cd51bb4d6d4.png" align="absmiddle" class="tex" alt="\zeta" />-function and the prime numbers, we need to add a couple more tools to our tool kit.  In particular, we need to understand harmonic series and some related sums.</p>
<p><strong>The harmonic series</strong></p>
<p>Here is a sum that shows up frequently in Mathematics:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d3b7241053cdb1f677b35a3fa58a47d6.png" align="absmiddle" class="tex" alt="\sum_{n = 1}^{\infty} \frac{1}{n}" /></center></p>
<p>This is called the <a href="http://en.wikipedia.org/wiki/Harmonic_series_(mathematics)">harmonic series</a>.  <span id="more-20"></span>I&#8217;ve promised that I&#8217;ll use this stuff to say some important things about prime numbers, but I keep putting off to a later post.  Here is a preview to keep you interested: This is just like <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_fdf095f050a9b886c913651b0003abf1.png" align="absmiddle" class="tex" alt="\sum_{p \textbf{ prime} } \frac{1}{p}" />, except now we are summing over all whole numbers, not just primes. If &#8220;a lot of numbers are prime&#8221;, then the difference shouldn&#8217;t be too great. If &#8220;very few numbers are prime&#8221;, then the difference should be large. So measuring the difference between these two sums is really the same as understanding the distribution of the prime numbers. More on that later, now let&#8217;s get to work.</p>
<p>I claim that the harmonic series diverges. It will keep growing and growing. To see why, let&#8217;s break it into chunks. The first chunk will be pretty small: it is just the first term, 1. The second chunk has two terms: <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9a44280190db44a77a4717441afad34b.png" align="absmiddle" class="tex" alt="\frac{1}{2} + \frac{1}{3}" />. The next chunk has 4 terms: <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_85e85a2a482c416f44b11e58772eba3e.png" align="absmiddle" class="tex" alt="\frac{1}{4} + \frac{1}{5} + \frac{1}{6} + \frac{1}{7}" />. The next chunk has 8 terms, then 16, and so on. Each chunk has twice as many terms as the one before it.</p>
<p>Now look at the size of the terms in each chunk. The first chunk has one term, and it has a value of 1. The second chunk has 2 terms &#8212; <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_93b05c90d14a117ba52da1d743a43ab1.png" align="absmiddle" class="tex" alt="\frac{1}{2}" /> and <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7964c6a339acf2ddea25a5ef0552b97e.png" align="absmiddle" class="tex" alt="\frac{1}{3}" /> and both of them are certainly bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_eca3bf81573307ec3002cf846390d363.png" align="absmiddle" class="tex" alt="\frac{1}{4}" />. So the sum of terms in this chunk has to be bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_62cfef9d42b3dc6c75aa0518b40c0cfe.png" align="absmiddle" class="tex" alt="\frac{1}{4} + \frac{1}{4} = \frac{1}{2}" />.</p>
<p>The next chunk has 4 terms and they&#8217;re all bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0f1af1f75945c10f599368811e2d8a64.png" align="absmiddle" class="tex" alt="\frac{1}{8}" />, so the sum of terms in the next chunk must be bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_db99345a1c76d034afd0ff0499df2223.png" align="absmiddle" class="tex" alt="4 \times \frac{1}{8} = \frac{1}{2}" />.</p>
<p>The next chunk has 8 terms bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4cb621ca2d7cafe1f74829fae6cbfea7.png" align="absmiddle" class="tex" alt="\frac{1}{16}" />. And so on. Here is a little picture of the first few terms. The red bars show the values <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9ba22ee6c5f55c74af52949dd103f942.png" align="absmiddle" class="tex" alt="\frac{1}{n}" /> and the green boxes show the lower bounds.</p>
<p><a title="Bound the Harmonic Series from below" href="http://rolfeschmidt.wordpress.com/files/2008/03/harmonicbound.png"><img src="http://rolfeschmidt.wordpress.com/files/2008/03/harmonicbound.png" alt="Bound the Harmonic Series from below" /></a></p>
<p>The n-th chunk has <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_5d98a7cba77ef3c2574c966c70dbc672.png" align="absmiddle" class="tex" alt="2^{n-1}" /> terms, and they are all bigger than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_a8e1ff01634836c8f93ef4cb4a138eff.png" align="absmiddle" class="tex" alt="\frac{1}{2^{n-2} }" />. This means that when we add up the terms in each chunk we get some number bigger than one half. But there are an infinite number of chunks! If we add <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_e7b45a1a573b1ea8a88140215d8b90b2.png" align="absmiddle" class="tex" alt="\frac{1}{2} + \frac{1}{2} + \frac{1}{2} + ..." /> an infinite number of times, of course the sum will keep growing and growing. It diverges.</p>
<p>And the harmonic series is even bigger:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_eb23b591f0483f99b8d91c2aa7203343.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty}\frac{1}{n} = \sum_{\textbf{ chunks} } \textbf{sum for chunk} \geq  \frac{1}{2} + \frac{1}{2} + \frac{1}{2} + ..." /></center></p>
<p>So we can safely say that <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_46e037a4d35a284f72091d1536ea3e0b.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty} \frac{1}{n} = \infty" />.  The sum diverges.</p>
<p>This process of breaking a sum into manageable chunks, each one twice as big as the last, is called a <em>dyadic decomposition</em>.</p>
<p><strong>An almost-harmonic series</strong></p>
<p>The numbers <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_9ba22ee6c5f55c74af52949dd103f942.png" align="absmiddle" class="tex" alt="\frac{1}{n}" /> get smaller and smaller, but they don&#8217;t get small fast enough to make the harmonic series converge. what if we made the terms smaller? Consider the series</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_015434dc046b412664f53e9185f4f94a.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty}\frac{1}{n^2} = 1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + ..." /></center></p>
<p>We can play a similar game with this series, breaking the sum into chunks. Only this time we are going to show that the sum of terms in each chunk is <em>smaller </em>than some small number.</p>
<p>The first chunk is easy, it has one term and the sum is just one. In the next chunk, notice that each term is smaller than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_eca3bf81573307ec3002cf846390d363.png" align="absmiddle" class="tex" alt="\frac{1}{4}" />. There are two terms, so the sum for this chunk is less than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_d84e09315ec63b24402fe58a5bb59bee.png" align="absmiddle" class="tex" alt="2 \times \frac{1}{4} = \frac{1}{2}" />.</p>
<p>For the third chunk, there are 4 terms, and each of them is smaller than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4cb621ca2d7cafe1f74829fae6cbfea7.png" align="absmiddle" class="tex" alt="\frac{1}{16}" /> so the sum of terms in this chunk is less than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_8aeac23e52bfd98452e6cb5a9af97e5b.png" align="absmiddle" class="tex" alt="4 \times \frac{1}{16} = \frac{1}{4}" />. For the fourth chunk, we find the sum is smaller than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_53c040d9c6b1be37909b68c4579f9946.png" align="absmiddle" class="tex" alt="8 \times \frac{1}{64} = \frac{1}{8}" />, the sum of terms in the fith chunk is smaller than <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_fab73afe9c5b0dbb47438900a42534a4.png" align="absmiddle" class="tex" alt="16 \times \frac{1}{256} = \frac{1}{16}" /> and so on.</p>
<p>Putting these together we find that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_2f8d2a211bb5cd72b02e1d0034ab9d16.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty}\frac{1}{n^2} &lt; 1 + \frac{1}{2} + \frac{1}{4} + \frac{1}{8} + ... = \sum_{i=0}^{\infty} \frac{1}{2^i} " /></center></p>
<p>This is just the geometric series we saw in the <a href="http://rolfeschmidt.com/wordpress/?p=1">last post</a>, and it converges to <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_ce863df5fb958a3172728a87e4408941.png" align="absmiddle" class="tex" alt="\frac{1}{1 - \frac{1}{2} } = 2" />. So we know that</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4ee0407afb0a9cbaaafcc0b4fc19a358.png" align="absmiddle" class="tex" alt="\sum_{n=1}^{\infty} \frac{1}{n^{2} } &lt; 2" /></center></p>
<p>Not only does the sum converge, it is pretty small.  The exact value of the sum was found by <a href="http://en.wikipedia.org/wiki/Leonhard_Euler">Leonhard Euler</a> (it was called the <a href="http://en.wikipedia.org/wiki/Basel_problem">Basel problem</a>), and is <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3f2e3589955e0e71f12473c7703c6fb5.png" align="absmiddle" class="tex" alt="\frac{\pi^{2}}{6} = 1.644934..." />.</p>
<p>We can also look at series that lie between this one and the harmonic series. Consider any number s &gt; 1. We can look at the series</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_291546ef88fd03b8e08e045fe1f033c7.png" align="absmiddle" class="tex" alt="\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s}" /></center></p>
<p>A slight variation of the argument I just gave shows that this sum converges as long as s &gt; 1. (Exercise:  [1] Prove this for s = 1.1.  [2] Prove this for all s &gt; 1.)  So we can talk sensibly about this sum <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_82a19a183ea387e48e91dbd98d8c989b.png" align="absmiddle" class="tex" alt="\zeta(s)" />, and study the way it changes as <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_03c7c0ace395d80182db07ae2c30f034.png" align="absmiddle" class="tex" alt="s" /> changes.</p>
<p><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3c22ba7aade15ea2b2852cd51bb4d6d4.png" align="absmiddle" class="tex" alt="\zeta" /> is known as the <a href="http://en.wikipedia.org/wiki/Riemann_zeta_function">Riemann zeta function</a>.  It is the function that lies at the heart of the <a href="http://en.wikipedia.org/wiki/Riemann_hypothesis">Riemann Hypothesis</a> &#8212; perhaps the most famous unsolved Math problem today. As we&#8217;ll start to see in the next post, if we can understand zeta, then we understand the primes.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geometric Series</title>
		<link>http://rolfeschmidt.com/wordpress/?p=1</link>
		<comments>http://rolfeschmidt.com/wordpress/?p=1#comments</comments>
		<pubDate>Sat, 01 Nov 2008 22:31:58 +0000</pubDate>
		<dc:creator>Rolfe</dc:creator>
				<category><![CDATA[Algebra]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Infinite Series]]></category>

		<guid isPermaLink="false">http://rolfeschmidt.com/wordpress/?p=1</guid>
		<description><![CDATA[Infinite series come up frequently in Analysis and Number Theory and you&#8217;ll need to be adroit at managing them to make progress in these fields. Luckily there are a few simple concepts that will take you far if you leverage them well. In this series of posts, I&#8217;ll talk about a few of these ideas [...]]]></description>
			<content:encoded><![CDATA[<p>Infinite series come up frequently in Analysis and Number Theory and you&#8217;ll need to be adroit at managing them to make progress in these fields.  Luckily there are a few simple concepts that will take you far if you leverage them well.   In this series of posts, I&#8217;ll talk about a few of these ideas and use them to help us peer into the cutting edge of Mathematics:  we&#8217;ll see why the Riemann Zeta function has every thing to do with the distribution of the prime numbers.</p>
<p>If that sounds like it&#8217;s beyond the scope of your Calculus class, don&#8217;t worry.  All you need are good Algebra skills and a bit of motivation.</p>
<p>Let&#8217;s start by looking at one of the simplest types of series around, the Geometric Series.<span id="more-1"></span></p>
<p><strong>Some sums are finite: Geometric Series</strong></p>
<p>When students first come across infinite series, many of them have trouble understanding how you could possibly add an infinite number of numbers together and get anything that makes sense.  You can only add one new number at a time, how can you finish?  Shouldn&#8217;t the answer be infinite? If you don&#8217;t wonder something like this, you may not have developed a healthy respect for the dangers of infinity.</p>
<p>It turns out that if we are careful, we can talk precisely about the &#8220;value&#8221; of infinite sums, even though we can never finish adding the terms.  You may see this developed in a Calculus or undergraduate Analysis class.  Until then, this example &#8212; a variant of Zeno&#8217;s Paradox &#8212; will give you the basic idea.</p>
<p>Imagine you are crossing a street.  Of course you could just walk across and be done with it.  Or you could cross the street like this:</p>
<p>1. Cross half way [distance traveled: 1/2, distance remaining: 1/2]<br />
2. Cross half of the remaining distance.  [distance traveled: 1/2 + 1/4, distance remaining: 1/4]<br />
3. Cross half of the remaining distance.  [distance traveled: 1/2 + 1/4 + 1/8, distance remaining: 1/8]<br />
4. Cross half of the remaining distance.  [distance traveled: 1/2 + 1/4 + 1/8 + 1/16, distance remaining: 1/16]<br />
5. And so on</p>
<p>This process never stops, but it keeps getting you closer to the end of the street.  In fact it will get you as close as you want to the other side of the street and it doesn&#8217;t take you anywhere else.  We can safely say that after you do all of this, you&#8217;ve crossed exactly one street:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_7fdb740f8d56827c0f49d5804faf0fea.png" align="absmiddle" class="tex" alt="\frac{1}{2} + \frac{1}{4} + \frac{1}{8} + \frac{1}{16} + ... = 1" /></center></p>
<p>This is an example of a geometric series. To get a general geometric series, pick any number <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4b43b0aee35624cd95b910189b3dc231.png" align="absmiddle" class="tex" alt="r" />. Now we can look at the sum <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_bcbe13282561b101ebd49941b94cbccb.png" align="absmiddle" class="tex" alt="1 + r + r^2 + r^3 + r^3 + r^4 + ..." /></p>
<p>If  <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_448e1a0554e7a44653db21090441fea3.png" align="absmiddle" class="tex" alt="r = 1" /> then the series is <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_e44357dd858a402da4588786fe5330d8.png" align="absmiddle" class="tex" alt="1 + 1 + 1 + 1 + ..." />, which obviously just keeps getting bigger. If <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_f1fdd98c2e581427c19a294aabc095ca.png" align="absmiddle" class="tex" alt="r &gt; 1" /> the problem just gets worse.  (Exercise: what happens when <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_ebdd9db475d2081242c1adc7cc582e45.png" align="absmiddle" class="tex" alt=" r \leq -1 " /> ?)</p>
<p>But if <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_31f86d71b8c6a77ee8780e873663d193.png" align="absmiddle" class="tex" alt="-1 &lt; r &lt; 1" /> then this sum will get closer and closer to a number that we will call the &#8220;sum of the series&#8221;. We can figure out exactly what this number is. If we call it <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_02129bb861061d1a052c592e2dc6b383.png" align="absmiddle" class="tex" alt="X" /> then:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_dcdb4ba14d80f45c90f2f0936c524377.png" align="absmiddle" class="tex" alt=" X = 1 + r + r^2 + r^3 + r^3 + r^4 + ..." /></center></p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_b80c2f93f8e8c9e8b6e1ec7429ebb97b.png" align="absmiddle" class="tex" alt=" rX = r + r^2 + r^3 + r^3 + r^4 + ... = X - 1" /></center></p>
<p>So <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_148d566e79972abafe977a5143a16c36.png" align="absmiddle" class="tex" alt="1 = X - rX" />, or</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_8787d09c65f7aa15d6aac6c5f93e0fe6.png" align="absmiddle" class="tex" alt="1 + r + r^2 + r^3 + r^3 + r^4 + ... = X = \frac{1}{1-r}" /></center></p>
<p>All these long sums get tedious to write, so we will start using some shorthand. We will use a Greek capital Sigma, $\Sigma$, to denote a sum, like this:</p>
<p><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_e96a0e5e9eb77990eec3bf0e165c56f5.png" align="absmiddle" class="tex" alt=" !\sum_{i=0}^{4} r^i = 1 + r^1 + r^2 + r^3 + r^4" /></p>
<p>(Remember, <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_0cab054349b3e5fa7780a98459af0741.png" align="absmiddle" class="tex" alt="r^0 = 1" />! ) For an infinite series, we&#8217;ll need to write</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_8326595f113a5f07af03524147775f31.png" align="absmiddle" class="tex" alt="\sum_{i = 0}^{\infty} r^i = 1 + r + r^2 + r^3 +... = \frac{1}{1-r}" /></center></p>
<p>It looks fancy, but it&#8217;s just a way to save some writing and make things more precise. Whenever I put those &#8220;&#8230;&#8221; marks in, I was trusting that you&#8217;d know what was supposed to come next. That will cause trouble down the road, and our new notation avoids it. Have a look here if you want a bit more detail.</p>
<p>So let&#8217;s get back to our street crossing experiment. At each step, we were going half as far as we had in the previous step. So <img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_3e3b6e6555cfc16ecf1b5553bcf66ee6.png" align="absmiddle" class="tex" alt="r = \frac{1}{2}" />. As we crossed the street, we crossed half, then a fourth, then and eighth, and so on. So we can write the number of streets we crossed like this:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_a6ae66a36d9edcf6cc9abd3954af0b85.png" align="absmiddle" class="tex" alt="\textbf{Number of streets crossed} = \frac{1}{2} + \frac{1}{4} + \frac{1}{8} + ... = \sum_{i = 1}^{\infty}\frac{1}{2^{i} }" /></center></p>
<p>This almost looks like the geometric series in our formula above, but it starts with one-half, not one. We&#8217;ll fix that by adding one to both sides:</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_e9f6186f752590dc223d4ce7c679172b.png" align="absmiddle" class="tex" alt="1 + \textbf{Number of streets crossed} = 1 + \frac{1}{2} + \frac{1}{4} + \frac{1}{8} + ... = \sum_{i = 0}^{\infty}\frac{1}{2^{i} } = \frac{1}{1-\frac{1}{2} } = 2" /></center></p>
<p>So</p>
<p><center><img src="http://rolfeschmidt.com/wordpress/wp-content/cache/tex_4d9bb000e6978e4f7349d31f2a3699ce.png" align="absmiddle" class="tex" alt=" \textbf{Number of streets crossed} = 1 " /></center></p>
<p>Whew! I&#8217;d have been a little worried otherwise.</p>
<p>When I write about prime numbers in my next post, we&#8217;ll use these geometric series a lot. It&#8217;s amazing how many places they pop up.</p>
]]></content:encoded>
			<wfw:commentRss>http://rolfeschmidt.com/wordpress/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

