<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Learning and Unlearning Math &#187; recurrence relationship</title>
	<atom:link href="http://unlearningmath.com/tag/recurrence-relationship/feed/" rel="self" type="application/rss+xml" />
	<link>http://unlearningmath.com</link>
	<description>math as a garden, friendly and always new</description>
	<lastBuildDate>Wed, 18 Jan 2012 18:04:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='unlearningmath.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8d493ad6804e080f2f6ff5c0e5055b36?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Learning and Unlearning Math &#187; recurrence relationship</title>
		<link>http://unlearningmath.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unlearningmath.com/osd.xml" title="Learning and Unlearning Math" />
	<atom:link rel='hub' href='http://unlearningmath.com/?pushpress=hub'/>
		<item>
		<title>Mathematical Notation and Schools &#8211; 13</title>
		<link>http://unlearningmath.com/2011/07/03/mathematical-notation-and-schools-13/</link>
		<comments>http://unlearningmath.com/2011/07/03/mathematical-notation-and-schools-13/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 04:28:00 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[math class]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[notation]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=2301</guid>
		<description><![CDATA[Functions:  Standard Notation and Schools, Continued In this series, we’ve done a review of mathematical notation, with an eye on how each notation helps or hinders student learning. In the previous post, we started to explore function notation, which in middle school and high school shows up as , and examined its use.  This post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2301&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Functions:  Standard Notation and Schools, Continued<br />
</strong></p>
<p>In this <a href="http://unlearningmath.com/2011/05/25/mathematical-notation-and-schools-the-series/">series</a>, we’ve done a review of mathematical notation, with an eye on how each notation helps or hinders student learning. In the <a href="http://unlearningmath.com/2011/06/30/mathematical-notation-and-schools-12/">previous post</a>, we started to explore function notation, which in middle school and high school shows up as <img src='http://s0.wp.com/latex.php?latex=f%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) ' title='f(x) ' class='latex' />, and examined its use.  This post is a continuation of the previous post.</p>
<p>Let&#8217;s continue to look at functions as little boxes that take an input and produce an output, and play with that a bit.  The most obvious way to play with it is to connect the output of one box to the input of another.  An example is shown below:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition.jpg"><img class="aligncenter size-full wp-image-2320" title="Function Composition" src="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition.jpg?w=600" alt=""   /></a>Two simple function boxes, one which adds three to whatever comes in, and one which doubles whichever comes in.  Together, they take a number that comes in at a and produce a number that comes out at c.  We could hide this entire apparatus (i.e. the combined +3 box and the double box) in a single box, as follows:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition-new-box.jpg"><img class="aligncenter size-full wp-image-2321" title="Function Composition new box" src="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition-new-box.jpg?w=600" alt=""   /></a>and now present it to the world as a single function box with its input at a and its output at c.   The new function box is obtained from the two other function boxes by <em>composition</em>.</p>
<p>Since we know what the smaller function boxes do, we can figure out specifically what the new function box does.  We could try some different numbers at a, and follow them through the boxes at b and then at c.  The value 1 at a will result in the value 8 at c.  The value 10 at a will result in the value 26 at c.  If we collect a whole set of value pairs like this, we can graph them.  We would discover that the graph is linear.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/07/general-function-composition.jpg"><img class="aligncenter size-full wp-image-2322" title="general Function Composition" src="http://bertspeelpenning.files.wordpress.com/2011/07/general-function-composition.jpg?w=600" alt=""   /></a>When we don&#8217;t know much about the smaller boxes, we need a different approach.  In the picture above, we have two function boxes, labeled <img src='http://s0.wp.com/latex.php?latex=f+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f ' title='f ' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=g+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='g ' title='g ' class='latex' />, respectively.   Also notice that we&#8217;ve labeled the inputs and outputs again, this time as <img src='http://s0.wp.com/latex.php?latex=x%2C+y%2C+z&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x, y, z' title='x, y, z' class='latex' />.  With regard to the function box <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f' title='f' class='latex' />, we&#8217;d say that x is the input and y is the output.  In the standard notation, we write <img src='http://s0.wp.com/latex.php?latex=y+%3D+f+%28+x+%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y = f ( x ) ' title='y = f ( x ) ' class='latex' />.  Similarly, we write <img src='http://s0.wp.com/latex.php?latex=z+%3D+g+%28+y+%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='z = g ( y ) ' title='z = g ( y ) ' class='latex' />.  Combining both, we&#8217;d get <img src='http://s0.wp.com/latex.php?latex=z+%3D+g+%28+f+%28+x+%29+%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='z = g ( f ( x ) ) ' title='z = g ( f ( x ) ) ' class='latex' />.  Yes, in the standard notation, the <img src='http://s0.wp.com/latex.php?latex=g+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='g ' title='g ' class='latex' /> is shown before the <img src='http://s0.wp.com/latex.php?latex=f+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f ' title='f ' class='latex' />.</p>
<p>We should note that in this standard notation, we need to give a name to the value coming in to the function box.  The function <img src='http://s0.wp.com/latex.php?latex=f+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f ' title='f ' class='latex' />, in standard usage, is pronounced &#8220;ef of ex&#8221; ( f of x) rather than plain &#8220;ef&#8221; (f).  This appears to be because in standard notation, the name of the variable x is important; for example, if we say <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+4+x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) = 4 x ' title='f(x) = 4 x ' class='latex' />, the name of the variable x shows up again inside of the expression <img src='http://s0.wp.com/latex.php?latex=4+x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='4 x ' title='4 x ' class='latex' />.</p>
<p>Let&#8217;s look again at the function box labeled &#8220;+ 3&#8243; above.  Notice that it doesn&#8217;t contain any variable.  Though we might call the number coming in &#8220;x&#8221; (or &#8220;a&#8221; or anything else), the function box doesn&#8217;t use &#8220;x&#8221;.  It just says &#8220;+ 3&#8243;.   In contrast, in standard notation, we&#8217;d talk about the independent variable <img src='http://s0.wp.com/latex.php?latex=x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x ' title='x ' class='latex' /> and the dependent variable <img src='http://s0.wp.com/latex.php?latex=y+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y ' title='y ' class='latex' />, and would write <img src='http://s0.wp.com/latex.php?latex=y+%3D+x+%2B+3+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y = x + 3 ' title='y = x + 3 ' class='latex' />.  It seems like the price we pay for using a &#8220;normal&#8221; looking expression such as <img src='http://s0.wp.com/latex.php?latex=x+%2B+3+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x + 3 ' title='x + 3 ' class='latex' /> is that we have to commit to the use of a particular variable, here <img src='http://s0.wp.com/latex.php?latex=x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x ' title='x ' class='latex' />.  And yet, a function defined as <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+x+%2B+3+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) = x + 3 ' title='f(x) = x + 3 ' class='latex' /> is the same function in all respects as the function defined as <img src='http://s0.wp.com/latex.php?latex=f%28y%29+%3D+y+%2B+3+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(y) = y + 3 ' title='f(y) = y + 3 ' class='latex' />.  The notion, so beloved in secondary school, that x is always the independent variable and y is always the dependent variable, this gets in the way completely once we look at functions as things that can be combined (composited) easily.</p>
<p>I&#8217;m by no means the first one to notice that the &#8220;x&#8221; in f(x) could just as easily be &#8220;y&#8221; or &#8220;z&#8221; or &#8220;t&#8221;.  The development of <a href="http://en.wikipedia.org/wiki/Lambda_calculus">lambda calculus</a> in the 1930s gave us a careful and precise model for function definition and function invocation, complete with a system of notation.  This system of notation, involving the Greek letter lambda (λ) has become standard in certain branches of mathematics and computer science.  It makes a clear and precise distinction between <em>bound variables</em> and <em>free variables</em> and elucidate how substitution works, to enough precision so that computers can do it automatically.</p>
<p>All the same, I&#8217;d say that lambda calculus is overkill for secondary school, even if introduced only for the notation, e.g. <img src='http://s0.wp.com/latex.php?latex=f+%3D+%5Clambda+%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f = &#92;lambda (x) ' title='f = &#92;lambda (x) ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=x+%2B+3+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x + 3 ' title='x + 3 ' class='latex' />.   I think there are easier ways to make clear through notational means that the bound variable (also called <em>dummy variable</em>) doesn&#8217;t matter.  In fact, we&#8217;ve already seen examples of it.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations.jpg"><img class="aligncenter size-full wp-image-2326" title="Function Box Notations" src="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations.jpg?w=600" alt=""   /></a>Above are shown five identical function boxes, but with different notation.  Box (a) shows the action of the box as an expression, x + 3, and labels the input as x.  The suggestion is that the &#8220;x&#8221; in the x + 3 expression matches the number on the input.  Box (b) shows the action of the box as an equation, y = x + 3, and labels both input and output, with x and y, respectively.  Box (c) shows the action of the box as a function using lambda notation, and the input is not labeled.  Here, the suggestion is that the label on the input has no bearing on the notation of the function in the function box.  Box (d) shows the function in typical high school notation, using the function label &#8220;f&#8221; (so the function now has a name, f, even if that name is not used anywhere else.)  Box (e) simply says &#8220;+ 3&#8243;, suggesting that whatever number is on the input gets three added to it.</p>
<p>Though we might have esthetic preferences for one of the boxes above over the others, it is the use of composition that will really drive up the reasons to prefer one over the other.  Remember that all these 6 boxes are identical inside, and differ only in the labels.  They all add three to the number going in.  I could connect two of these identical boxes, output to input, and achieve the net effect of adding 6 to the number going in:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations-composition.jpg"><img class="aligncenter size-full wp-image-2327" title="Function Box Notations, composition" src="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations-composition.jpg?w=600" alt=""   /></a>In situation (a), we see that the two identical boxes need to be given different labels, since the number going into the bottom box is not x, is not the same number as the number going into the top box.  In situation (b), we also need to use different labels for identical boxes, since neither the number going into the bottom box nor the number coming out of the bottom box is the same as those for the box above.  In situation (c), we can indeed use the same labels, since the lambda notation doesn&#8217;t presume anything about the name or value of the number coming in.  In situation (d), we could call both the functions f, but can&#8217;t consider both boxes defining instances of the function f.  In situation (e), as in (c), we can use the same box with the same label in both places, and have the notation work consistently.</p>
<p>So, for my money, the notation used in situation (e) gives us all the power and grace of the lambda notation while being much simpler for use at the middle school level.  None of the more traditional school notations for functions has the same power and grace once we start to use functions in composition.</p>
<p>My experience with students at the middle school level suggests that the boxes and situations (e) give no problems.  However, we need to examine this approach with examples other than adding constants to get a good feel for how expressive this notation really is.  This will be the subject of our next post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/2301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/2301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/2301/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2301&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2011/07/03/mathematical-notation-and-schools-13/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition.jpg" medium="image">
			<media:title type="html">Function Composition</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/07/function-composition-new-box.jpg" medium="image">
			<media:title type="html">Function Composition new box</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/07/general-function-composition.jpg" medium="image">
			<media:title type="html">general Function Composition</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations.jpg" medium="image">
			<media:title type="html">Function Box Notations</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/07/function-box-notations-composition.jpg" medium="image">
			<media:title type="html">Function Box Notations, composition</media:title>
		</media:content>
	</item>
		<item>
		<title>Mathematical Notation and Schools &#8211; 12</title>
		<link>http://unlearningmath.com/2011/06/30/mathematical-notation-and-schools-12/</link>
		<comments>http://unlearningmath.com/2011/06/30/mathematical-notation-and-schools-12/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 05:47:09 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[math class]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[notation]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=2292</guid>
		<description><![CDATA[Functions:  Standard Notation and Schools In this series, we’ve done a review of mathematical notation, with an eye on how each notation helps or hinders student learning.  The focus here is modest: on what teachers can do, even if their textbook sticks to the standard notation, to help disambiguate the standard notation for students.  In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2292&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Functions:  Standard Notation and Schools<br />
</strong></p>
<p>In this <a href="http://unlearningmath.com/2011/05/25/mathematical-notation-and-schools-the-series/">series</a>, we’ve done a review of mathematical notation, with an eye on how each notation helps or hinders student learning.  The focus here is modest: on what teachers can do, even if their textbook sticks to the standard notation, to help disambiguate the standard notation for students.  In the last several posts, we’ve been looking at notations for expressions.</p>
<p>The subject of <em>functions</em> in K-12 is typically only broached very tentatively, gingerly.  Usually, kids learn to associate functions with graphs.  Typically, there may be a situation, which relates two quantities.  For example, a square has a certain side length and a certain perimeter.  As the side length changes, the perimeter of the square changes also.  The perimeter and the side length are related.  This relationship can be shown in a table, shown in a graph, and shown in an equation.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/06/function.jpg"><img class="aligncenter size-full wp-image-2303" title="Function" src="http://bertspeelpenning.files.wordpress.com/2011/06/function.jpg?w=600" alt=""   /></a><a href="http://bertspeelpenning.files.wordpress.com/2011/06/table-and-graph.jpg"><img class="aligncenter size-full wp-image-2304" title="table and graph" src="http://bertspeelpenning.files.wordpress.com/2011/06/table-and-graph.jpg?w=600&#038;h=413" alt="" width="600" height="413" /></a>When the side length is 3 units, the perimeter is 12 units.  This is seen in the table as the row 3 | 12,  and it is seen in the graph as the point (3, 12).</p>
<p>Yet when the question is asked &#8220;what is the notation for a function&#8221; in middle school, that question seems strange.   When later in middle school or high school kids learn the notation <img src='http://s0.wp.com/latex.php?latex=f%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) ' title='f(x) ' class='latex' />, that notation seems to have exactly zero relevance.  Students don&#8217;t typically get why saying <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+4+x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) = 4 x ' title='f(x) = 4 x ' class='latex' /> is in any way better than saying <img src='http://s0.wp.com/latex.php?latex=y+%3D+4+x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y = 4 x ' title='y = 4 x ' class='latex' />.  And no wonder.  They are told that the <img src='http://s0.wp.com/latex.php?latex=f+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f ' title='f ' class='latex' /> stands for function, and it may take years before they ever see others like <img src='http://s0.wp.com/latex.php?latex=g%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='g(x) ' title='g(x) ' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=h%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='h(x) ' title='h(x) ' class='latex' />.  What functions are not, for these students, are objects that can be held up to the light and examined, and compared to other functions or combined with other functions.  And truly, if all you ever do with <img src='http://s0.wp.com/latex.php?latex=f%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) ' title='f(x) ' class='latex' /> is write <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) = ' title='f(x) = ' class='latex' /> instead of <img src='http://s0.wp.com/latex.php?latex=y+%3D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y = ' title='y = ' class='latex' /> then there is no point.  Even if students later encounter <img src='http://s0.wp.com/latex.php?latex=%5Csin%28x%29%2C+%5Ccos%28x%29%2C+%5Ctan%28x%29+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sin(x), &#92;cos(x), &#92;tan(x) ' title='&#92;sin(x), &#92;cos(x), &#92;tan(x) ' class='latex' />, it doesn&#8217;t seem to relate in any way with the function notation they&#8217;ve seen in <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+4+x+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(x) = 4 x ' title='f(x) = 4 x ' class='latex' />.</p>
<p>Middle school students and middle school teachers can be forgiven for totally missing out on what&#8217;s important about functions at that level, and that is <em>composition of functions</em>.  Composition of functions is a very simple and powerful idea to get a new function from other functions.  For this to make sense, we need to move away from the beautiful and carefully developed notion of a function taught at the college level, which is based in set theory, where a function is seen as a special kind of <em>relation</em>.  Instead, a useful model of what a function is at the middle school (even high school) level is that of a little machine with an input and an output:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/06/function-boxes.jpg"><img class="aligncenter size-full wp-image-2308" title="Function boxes" src="http://bertspeelpenning.files.wordpress.com/2011/06/function-boxes.jpg?w=600" alt=""   /></a>We imagine that whenever something (usually a number) is put on the input, something is produced on the output (also usually a number).  It is important that the output can only depend on the input, and on nothing else.  Another way of saying this is that they are state-less: there is no internal state in the box, no memory of what went before, nothing that changes permanently based on what came before.</p>
<p>If we only had a single kind of function box (even if we have a thousand copies of it), the box doesn&#8217;t need any particular kind of label.  Even a stupid label like <img src='http://s0.wp.com/latex.php?latex=f+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f ' title='f ' class='latex' /> would do fine.  But if function boxes come in all different kinds, we need good labels to keep things straight.  If we know what a particular box does, we should find a way to say so on the label; and if we don&#8217;t know (or care) what is in a particular function box, the label should say so as well.</p>
<p>Though we could label function boxes in different styles and according to different criteria, we&#8217;d like function boxes to be able to take their place inside of expressions as full-fledged components right next to the My Dear Aunt Sally stuff.  For example, a solution to the quadratic equation, rendered in standard format as  <a href="http://s0.wp.com/latex.php?latex=%5Cfrac%7B-b+%2B+%5Csqrt+%7Bb%5E2+-+4ac%7D%7D%7B2a%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0"><img class="alignnone" src="http://s0.wp.com/latex.php?latex=%5Cfrac%7B-b+%2B+%5Csqrt+%7Bb%5E2+-+4ac%7D%7D%7B2a%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0" alt="" width="71" height="22" /></a>, might look as follows:</p>
<p style="text-align:left;"><a href="http://bertspeelpenning.files.wordpress.com/2011/06/quadratic-formula.jpg"><img class="aligncenter size-full wp-image-2310" title="quadratic formula" src="http://bertspeelpenning.files.wordpress.com/2011/06/quadratic-formula.jpg?w=600" alt=""   /></a>where we&#8217;ve used simple function boxes for negation(change sign), square (input times itself), double (input times two) and square root.  If you are very familiar and fluent with the standard notation, my sketch above will not have impressed you.  Yet the picture below, showing a simple composition of functions, displays some interesting patterns:</p>
<p style="text-align:left;"><a href="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over.jpg"><img class="aligncenter size-full wp-image-2311" title="parabola moved over" src="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over.jpg?w=600" alt=""   /></a>You subtract one from the number coming in, square the result, and then add 5.  If you know the behavior of the square box in the middle &#8211; for example, you know the parabolic graph that corresponds to it &#8211; then the function box on top tells you to move that graph one over to the right, and the bottom function box tells you to move that graph up 5, resulting in:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over_0001.jpg"><img class="aligncenter size-medium wp-image-2312" title="parabola moved over_0001" src="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over_0001.jpg?w=267&#038;h=300" alt="" width="267" height="300" /></a>In the next post we&#8217;ll explore more about composition of functions, how it is useful and powerful, and how notation can help highlight this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/2292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/2292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/2292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2292&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2011/06/30/mathematical-notation-and-schools-12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/function.jpg" medium="image">
			<media:title type="html">Function</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/table-and-graph.jpg" medium="image">
			<media:title type="html">table and graph</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/function-boxes.jpg" medium="image">
			<media:title type="html">Function boxes</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/latex.php?latex=%5Cfrac%7B-b+%2B+%5Csqrt+%7Bb%5E2+-+4ac%7D%7D%7B2a%7D+&#38;bg=ffffff&#38;fg=333333&#38;s=0" medium="image" />

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/quadratic-formula.jpg" medium="image">
			<media:title type="html">quadratic formula</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over.jpg" medium="image">
			<media:title type="html">parabola moved over</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/06/parabola-moved-over_0001.jpg?w=267" medium="image">
			<media:title type="html">parabola moved over_0001</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 39</title>
		<link>http://unlearningmath.com/2011/01/07/operators-functions-and-properties-part-39/</link>
		<comments>http://unlearningmath.com/2011/01/07/operators-functions-and-properties-part-39/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 03:08:16 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[invariants]]></category>
		<category><![CDATA[look-up]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=2119</guid>
		<description><![CDATA[In this series, we&#8217;ve been looking at operators in various settings, and looked for ways to use them to shine a different colored light on some aspects school math.  In the last four posts, we&#8217;ve explored the notions of equivalence  and equivalence classes and representatives of equivalence classes &#8211; and saw a number of interesting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2119&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we&#8217;ve been looking at operators in various settings, and looked for ways to use them to shine a different colored light on some aspects school math.  In the last four posts, we&#8217;ve explored the notions of equivalence  and equivalence classes and representatives of equivalence classes &#8211; and saw a number of interesting things.  One, we <a href="http://unlearningmath.com/2010/12/21/operators-functions-and-properties-part-36/">saw</a> that equivalence classes can be likened to contour lines on a geologic survey map, the number on the contour line that indicates the altitude can be likened to the property that is the same for all the members of the equivalence class, and that one useful kind of operator is the operator that takes us from any point on the contour line towards the point (the representative member of the equivalence class) that carries the label (the number).  Two, that many computations involving two numbers can be split into two parts: the first part locates the two numbers as a point on the map, and the second part moves us from that point along the contour line to the representative point which carries the label.  And there is additional stuff that we&#8217;ve hinted at but not anywhere fully developed, like the idea of introducing new kinds of numbers through equivalence classes.</p>
<p>In this post I want to get started on playing with what&#8217;s known as modulo arithmetic, also called modular arithmetic, from our framework of operators and equivalence classes and properties.</p>
<p>As a starting point, let&#8217;s take another look at the <a href="http://unlearningmath.com/2009/02/19/notes-on-representation-the-number-line/">number line</a>.  In this older post, I suggest that this one thing, the number line, takes on a different character as students progress from using it for counting to &#8211; much later &#8211; locate numbers like π and √3 on it.  When we are just counting, the fact that the numbers on the number line are carefully spaced is not critical &#8211; but what is important is that the mark for 4 comes after the mark for 3 and the mark for 5 comes after the mark for 4, etc.  The number line is usually drawn as a straight line, but this may only be critical once we start to use number lines as axes on graphs.</p>
<p style="text-align:center;"><a href="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape.jpg"><img class="aligncenter size-full wp-image-2133" title="measuring tape" src="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape.jpg?w=600" alt=""   /></a><a href="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape-v2.jpg"><img class="aligncenter size-full wp-image-2134" title="measuring-tape-v2" src="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape-v2.jpg?w=600" alt=""   /></a></p>
<p>The measuring tapes shown above, whether in inches or centimeters, are essentially number lines also, though they aren&#8217;t necessarily straight lines.  If you measure things with them, you probably want to stretch them out to be straight &#8211; but if you want to use them for many of the functions you use a number line for, it may be quite sufficient to unroll the tape enough so you can see the numbers you care about.</p>
<p>You could even take a slinky and turn it into a number line.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/01/metal-slinky-roger-mclassus-1-1024x768.jpg"><img class="aligncenter size-full wp-image-2135" title="Metal-Slinky-Roger-McLassus-1-1024x768" src="http://bertspeelpenning.files.wordpress.com/2011/01/metal-slinky-roger-mclassus-1-1024x768.jpg?w=600&#038;h=450" alt="" width="600" height="450" /></a>To do so, you would have to put markings along the rim.  Though the slinky would never be suitable for measuring like a measuring tape, it might serve quite well as a number line.</p>
<p>A sketch of one possible such number line is shown below:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/01/number-line-slinky.jpg"><img class="aligncenter size-full wp-image-2137" title="Number Line Slinky" src="http://bertspeelpenning.files.wordpress.com/2011/01/number-line-slinky.jpg?w=600" alt=""   /></a>The numbers 1-7 are shown; the slinky extends in both directions, as indicated by dotted lines.  Numbers are shown evenly spaced &#8211; in this particular example, precisely 4 whole numbers are placed along each circle.  For example, by the time we get to &#8220;5&#8243;, we are exactly where &#8220;1&#8243; was, just slightly above it.</p>
<p>In prior posts, we&#8217;d look at a particular operation, and then decide on equivalence classes based on equal values of that operation, this time we&#8217;ll turn things around, and decide on the equivalence classes first.   Can we do this and get away with it?  Sure, if we cast it in terms of: &#8220;with respect to what operation(s) will these equivalence classes in fact be equivalent?&#8221;</p>
<p>On the slinky number line just sketched, we are going to consider the equivalence classes based on vertical alignment, like this:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2011/01/slinky-equivalence-classes1.jpg"><img class="aligncenter size-full wp-image-2139" title="Slinky equivalence classes" src="http://bertspeelpenning.files.wordpress.com/2011/01/slinky-equivalence-classes1.jpg?w=600" alt=""   /></a>Another way of talking about this equivalence is that we consider equivalent all numbers that are 4 apart.  The representatives of these equivalence classes, just like in our earlier posts, are found at the end points of the blue arrows.  So 1, 2, 3 and 4 are the representatives.  There is nothing magical about this particular choice, you can make a very good case for using 0, 1, 2 and 3 as the representatives instead.  We could also have picked -2, -1, 0 and 1.  In a sense, it is too early to argue which make for the best representatives &#8211; we haven&#8217;t looked at relevant operations yet.</p>
<p>In the next post, we&#8217;ll apply this particular equivalence structure to the operations of addition and subtraction.</p>
<p>x</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/2119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/2119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/2119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2119&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2011/01/07/operators-functions-and-properties-part-39/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape.jpg" medium="image">
			<media:title type="html">measuring tape</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/01/measuring-tape-v2.jpg" medium="image">
			<media:title type="html">measuring-tape-v2</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/01/metal-slinky-roger-mclassus-1-1024x768.jpg" medium="image">
			<media:title type="html">Metal-Slinky-Roger-McLassus-1-1024x768</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/01/number-line-slinky.jpg" medium="image">
			<media:title type="html">Number Line Slinky</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2011/01/slinky-equivalence-classes1.jpg" medium="image">
			<media:title type="html">Slinky equivalence classes</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 29</title>
		<link>http://unlearningmath.com/2010/10/22/operators-functions-and-properties-part-29/</link>
		<comments>http://unlearningmath.com/2010/10/22/operators-functions-and-properties-part-29/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 05:14:16 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=2019</guid>
		<description><![CDATA[In this series, we&#8217;ve been looking at simple machines where pushing a button invokes an operator that changes the state of the machine.  Stopwatches, coffee makers, calculators are all examples of such machines &#8211; some simpler than others.  Many of the operators we&#8217;ve encountered are operators that work on a single number going in, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2019&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we&#8217;ve been looking at simple machines where pushing a button invokes an operator that changes the state of the machine.  Stopwatches, coffee makers, calculators are all examples of such machines &#8211; some simpler than others.  Many of the operators we&#8217;ve encountered are operators that work on a single number going in, and produce a single number coming out.  By stringing together these kinds of operators, we can get rich and surprising behavior.</p>
<p>In this post, I&#8217;d like to introduce and look at some fairly simple operators (operating on single numbers) that don&#8217;t look like arithmetic at all.</p>
<p>The first two act like filters.  The one on the left makes sure that the number coming out is at most 11.  Yet as long as the number going in is less than 11, it is passed through without modification.  The one on the right does a similar thing, but makes sure the number coming out is at least 3.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/filters.jpg"><img class="aligncenter size-full wp-image-2031" title="Filters" src="http://bertspeelpenning.files.wordpress.com/2010/10/filters.jpg?w=600" alt=""   /></a>The symbols used here for each of these filters is intended to evoke the image of the graph of each of the functions.  I like the name <em>lid </em>for the operator on the left, and <em>bottom </em>for the name of the operator on the right.</p>
<p>Here is the graph for our <em>lid </em>function:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/lid-graph.jpg"><img class="aligncenter size-full wp-image-2033" title="Lid Graph" src="http://bertspeelpenning.files.wordpress.com/2010/10/lid-graph.jpg?w=600" alt=""   /></a></p>
<p>and here is the graph for our <em>bottom </em>function:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-graph.jpg"><img class="aligncenter size-full wp-image-2034" title="Bottom Graph" src="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-graph.jpg?w=600" alt=""   /></a>As simple as these operators may seem, if you try to find operators or functions with these descriptions on the internet, you may be surprised.  In these forms, they are not in widespread use.   Historically, there are two other functions that are in widespread use, <em>min</em> and <em>max</em>, and our bottom and lid functions turn out to be special cases of the min and max functions.  In case you&#8217;re not familiar with min and max, <em>min</em> stands for minimum and <em>max</em> stands for maximum.  The minimum of a set of numbers is the smallest of them, and the maximum of a set of number is the largest of them.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/min-and-max.jpg"><img class="aligncenter size-full wp-image-2035" title="Min And Max" src="http://bertspeelpenning.files.wordpress.com/2010/10/min-and-max.jpg?w=600" alt=""   /></a>The picture above shows a <em>min </em>operator and a <em>max </em>operator, each taking two numbers as input.  Below, you&#8217;ll see how these operators can be used to build the bottom and lid operators.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-and-lid.jpg"><img class="aligncenter size-full wp-image-2036" title="Bottom And Lid" src="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-and-lid.jpg?w=600" alt=""   /></a></p>
<p>As before, we&#8217;ve given the <em>min </em>operator two inputs, and the same for the <em>max </em>operator.  However, one of these inputs is fixed.  The overall effect of a fixed input of 11 using the <em>min </em>operator is that the result can never get bigger than 11, after all if the input is bigger than 11, the min operator will select 11 as the minimum.  If the input to the min operator is less than 11, the min operator will select that input.  (Of course, if the input is exactly 11, the min operator will produce an output of 11, and it could do so by selecting either one of the inputs.)  Similarly, the output of the max operator with a fixed input of 3 will never drop below 3.</p>
<p>If you are like me, these results look backwards and counter-intuitive.  It seems strange to me, at first glance, that the min operator will produce an output that is at most 11, or that the max operator will produce an output that is never below 3.  And yet, they do work as advertised.</p>
<p>So, do we need the <em>bottom </em>and <em>lid </em>operators if we already have the widely-known and accepted <em>min </em>and <em>max</em> operators?  Certainly, the world has survived well without these.  A full answer would have to address both the cost of introducing new notation and terminology, as well as the cost of any confusion when using the min and max operators in the configurations as shown above.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/2019/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/2019/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/2019/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2019&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/10/22/operators-functions-and-properties-part-29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/filters.jpg" medium="image">
			<media:title type="html">Filters</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/lid-graph.jpg" medium="image">
			<media:title type="html">Lid Graph</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-graph.jpg" medium="image">
			<media:title type="html">Bottom Graph</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/min-and-max.jpg" medium="image">
			<media:title type="html">Min And Max</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/bottom-and-lid.jpg" medium="image">
			<media:title type="html">Bottom And Lid</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 28</title>
		<link>http://unlearningmath.com/2010/10/11/operators-functions-and-properties-part-28/</link>
		<comments>http://unlearningmath.com/2010/10/11/operators-functions-and-properties-part-28/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 01:37:55 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=2012</guid>
		<description><![CDATA[The prior post in this series showed that we can get complex and rich behavior from combining simple operators and feeding their output back to their input (through what is called &#8220;state&#8221;, and the whole arrangement is known as a state machine).  The machine we looked at in the last post produces a sequence of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2012&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://unlearningmath.com/2010/10/08/operators-functions-and-properties-part-27/">prior post</a> in this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a> showed that we can get complex and rich behavior from combining simple operators and feeding their output back to their input (through what is called &#8220;state&#8221;, and the whole arrangement is known as a <em>state machine</em>).  The machine we looked at in the last post produces a sequence of squares:</p>
<p style="text-align:center;"><a href="http://bertspeelpenning.files.wordpress.com/2010/10/squares.jpg"><img class="aligncenter size-full wp-image-2014" title="Squares" src="http://bertspeelpenning.files.wordpress.com/2010/10/squares.jpg?w=600" alt=""   /></a></p>
<p>and not only does it produce perfect square numbers, one after another, as the &#8220;next&#8221; button is pressed, it produces <em>pairs</em> of counter and square (I&#8217;m deliberately ignoring the difference component here).  So after a number of &#8220;next&#8221; presses, we might see</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/7-squared.jpg"><img class="aligncenter size-full wp-image-2020" title="7 squared" src="http://bertspeelpenning.files.wordpress.com/2010/10/7-squared.jpg?w=600" alt=""   /></a>and a little while later</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/10/11-squared.jpg"><img class="aligncenter size-full wp-image-2021" title="11 squared" src="http://bertspeelpenning.files.wordpress.com/2010/10/11-squared.jpg?w=600" alt=""   /></a>and it might occur to us that if we wanted to find the square of 37, we could hit &#8220;start&#8221; and then press &#8220;next&#8221; till the counter showed 37.  This gives us one particularly way of <em>computing </em>the square of 37.  Now, this may not be your favorite way, and it may not be the most efficient way.   And when it comes to computing squares, there are lots of other ways as well.</p>
<p>Yet the idea of generating pairs of values (here <em>counter</em> and <em>square</em>) until one comes by that has the right value for <em>counter</em>, and then looking at the matching <em>square </em>value<em> </em>- this is a general idea that has lots of practically useful applications.  It also allows us a broader take on what a function is.   A number goes in: &#8220;37&#8243;, and a number comes out. Though it involves operators, it does so in a rather involved way, with twists and turns.  Still &#8211; the process is reproducible.  Do the same sequence again, and the same number will come out.</p>
<p>The state machine of the kind we&#8217;ve shown here gets us close to the essence of what are known as <em>primitive recursive functions</em>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/2012/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/2012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/2012/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=2012&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/10/11/operators-functions-and-properties-part-28/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/squares.jpg" medium="image">
			<media:title type="html">Squares</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/7-squared.jpg" medium="image">
			<media:title type="html">7 squared</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/10/11-squared.jpg" medium="image">
			<media:title type="html">11 squared</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 26</title>
		<link>http://unlearningmath.com/2010/09/26/operatorsfunctions-and-properties-part-26/</link>
		<comments>http://unlearningmath.com/2010/09/26/operatorsfunctions-and-properties-part-26/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 18:30:25 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1984</guid>
		<description><![CDATA[In the previous post in this series, we linked two state machines together, weakly, by arranging to press their Start buttons at the same time and to press their Next buttons at the same time.  As a result, we got a contraption that could crank out the following number pairs: We will now show a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1984&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://unlearningmath.com/2010/09/21/operators-functions-and-properties-part-25/">previous post</a> in this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we linked two state machines together, weakly, by arranging to press their Start buttons at the same time and to press their Next buttons at the same time.  As a result, we got a contraption that could crank out the following number pairs:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/powersoftwo.jpg"><img class="aligncenter size-full wp-image-2007" title="powersoftwo" src="http://bertspeelpenning.files.wordpress.com/2010/09/powersoftwo.jpg?w=600" alt=""   /></a>We will now show a single state machine that produces the same number pairs:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-two.jpg"><img class="aligncenter size-full wp-image-2008" title="Powers of two" src="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-two.jpg?w=600&#038;h=342" alt="" width="600" height="342" /></a></p>
<p>To make this happen, the state of the state machine consists of a pair of numbers.  As in previous posts, those components of the state are given a name &#8211; here <em>exponent</em> and <em>power</em>.  If you follow what happens with the exponent component of the state, you see that it is set to 0 when the start button is pressed, and that one is added to it each time the next button is pressed.  Similarly, the power component starts at 1 and is doubled each time the next button is pressed.  This is consistent with the two state machines in the previous post, and is consistent with the table of number pairs that we are trying to generate.  As you can see, the core operations of the state machine are relatively simple: +1 and × 2; most of the details of the state machine have to do with keeping track of what is being done to what, and what triggers what is done when.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1984/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1984/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1984/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1984&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/09/26/operatorsfunctions-and-properties-part-26/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/powersoftwo.jpg" medium="image">
			<media:title type="html">powersoftwo</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-two.jpg" medium="image">
			<media:title type="html">Powers of two</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 25</title>
		<link>http://unlearningmath.com/2010/09/21/operators-functions-and-properties-part-25/</link>
		<comments>http://unlearningmath.com/2010/09/21/operators-functions-and-properties-part-25/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 06:40:37 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[invariants]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1971</guid>
		<description><![CDATA[In this series, we&#8217;ve looked at operators in various ways.  Recently, we&#8217;ve looked at state machines that invoke the same operator repeatedly, and generate a sequence of numbers in doing so.  Conversely, sequences of numbers can often be modeled as a state machine.  In the previous post, we showed how those kinds of state machines [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1971&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we&#8217;ve looked at operators in various ways.  <a href="http://unlearningmath.com/2010/09/16/operators-functions-and-properties-part-23/">Recently</a>, we&#8217;ve looked at state machines that invoke the same operator repeatedly, and generate a sequence of numbers in doing so.  Conversely, sequences of numbers can often be modeled as a state machine.  In the <a href="http://unlearningmath.com/2010/09/18/operators-functions-and-properties-part-24/">previous post</a>, we showed how those kinds of state machines can be simulated rather straightforwardly in a spreadsheet like Excel.  One of the examples in that post was a state machine that <em>converged</em> to a particular state and, once in that particular state, stayed in that same state from then on.  Such operators, whose repeated invocation moves closer and closer toward a  specific value, are of great practical import.  For example, the state machine we looked at:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-convergence.jpg"><img class="aligncenter size-full wp-image-1987" title="Square Root Convergence" src="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-convergence.jpg?w=600" alt=""   /></a>converges rapidly to a value that is the square root of the number in the first box (here 9).  If you changed that number to 25, the state machine would converge to a state of 5, and if you changed the number 9 to the number 2, the machine would converge to a state of 1.4142&#8230; This is quite a practical way to compute square roots, and Wikipedia <a href="http://en.wikipedia.org/wiki/Methods_of_computing_square_roots">claims</a> that this method was already known to the ancient Babylonians.</p>
<p>In the situations where the repeated pressing of &#8220;Next&#8221; does <em>not</em> get us closer and closer to a particular value, it is usually very important to keep track of how many times the button has been pushed.</p>
<p>This state machine:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2.jpg"><img class="aligncenter size-full wp-image-1988" title="Powers Of 2" src="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2.jpg?w=600" alt=""   /></a></p>
<p>is quite useful to generate powers of 2.  When you hit the &#8220;start&#8221; button, the state is set to 1, and subsequent presses of &#8220;next&#8221; will generate 2, 4, 8, 16,&#8230;  But how would I use this machine to get me <img src='http://s0.wp.com/latex.php?latex=2%5E%7B20%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2^{20}' title='2^{20}' class='latex' />?  After &#8220;start&#8221;, I&#8217;d have to press the &#8220;next&#8221; button precisely 20 times.  This is not difficult, but it is very error prone.</p>
<p>Fortunately, counting is itself the process of generating a sequence, and it is a sequence that can be generated by a state machine in a very straightforward way.  This leads us to consider the following:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2-with-counts.jpg"><img class="aligncenter size-full wp-image-1989" title="Powers Of 2 with counts" src="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2-with-counts.jpg?w=600&#038;h=252" alt="" width="600" height="252" /></a>In this diagram, we have a state machine on the left that generates a counting sequence: 0, 1, 2, 3, &#8230;; and the powers-of-two machine on the right that generates the sequence 1, 2, 4, 8, &#8230;, and the idea is that we can couple these two machines, so that they move in sync with each other.  We might think of a big Start button that, when pressed, causes both of the start buttons shown to be pressed, and a big Next button that, when pressed, causes both of the next buttons to be pressed.  When the two machines are coupled this way into a single machine with two screens, we can think of the states as being coupled also.  On hitting Start, the screens show 0;1, after hitting Next we see 1;2 and after hitting Next again we see 2;4.  No matter how often we hit the Next button, the state of the &#8220;+ 1&#8243; machine will always indicate how many times we&#8217;ve multiplied by 2 in the &#8220;× 2&#8243; machine.  Another way of saying this is that when the state of the &#8220;+1&#8243; machine is <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='k' title='k' class='latex' />, the state of the &#8220;× 2&#8243; machine is <img src='http://s0.wp.com/latex.php?latex=2+%5E+k&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2 ^ k' title='2 ^ k' class='latex' />.</p>
<p>In the next blog post in this series, we&#8217;ll model the same behavior using a single state machine.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1971/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1971/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1971&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/09/21/operators-functions-and-properties-part-25/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-convergence.jpg" medium="image">
			<media:title type="html">Square Root Convergence</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2.jpg" medium="image">
			<media:title type="html">Powers Of 2</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/powers-of-2-with-counts.jpg" medium="image">
			<media:title type="html">Powers Of 2 with counts</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 24</title>
		<link>http://unlearningmath.com/2010/09/18/operators-functions-and-properties-part-24/</link>
		<comments>http://unlearningmath.com/2010/09/18/operators-functions-and-properties-part-24/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 22:09:53 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1958</guid>
		<description><![CDATA[In the previous post in this series, we started to model recurrence relationships with state machines: The idea is that we have a device with two buttons and a screen; after we press the Start button, we can press the Next button any number of times, and we see a sequence of values play out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1958&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://unlearningmath.com/2010/09/16/operators-functions-and-properties-part-23/">previous post</a> in this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we started to model recurrence relationships with state machines:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg"><img class="aligncenter size-full wp-image-1960" title="Sequence" src="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg?w=600" alt=""   /></a>The idea is that we have a device with two buttons and a screen; after we press the Start button, we can press the Next button any number of times, and we see a sequence of values play out on the screen.  Though the Start value is important, the fundamental structure of the sequence of values comes from the nature of the operator invoked by the Next button.</p>
<p>In this post, I&#8217;d like to show how such sequences can be simulated in a spreadsheet.  There are many ways to do that; I&#8217;ll just show one:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/recurrences.jpg"><img class="aligncenter size-full wp-image-1975" title="recurrences" src="http://bertspeelpenning.files.wordpress.com/2010/09/recurrences.jpg?w=600" alt=""   /></a>In this spreadsheet, the &#8220;state&#8221; column represents the sequence of states the state machine goes through.  For each state, the value in the &#8220;next&#8221; column indicates what the next state will be.  The formula for the C2 cell is shown: <span style="color:#0000ff;">=B2+3</span>.  That tells Excel to take the value of the current state, in B2, and add 3 to it.  The formula for the B3 cell is not visible in the picture, but it is very simple: <span style="color:#0000ff;">=C2</span>.  The new current state is the old next state.  All the cells below B3 get their formula simply from copying and pasting the content of B3.  All the cells below C2 get their formula from copying and pasting the content of C2.</p>
<p>Similarly, we can make a spreadsheet corresponding to:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/squareroot.jpg"><img class="aligncenter size-full wp-image-1977" title="squareroot" src="http://bertspeelpenning.files.wordpress.com/2010/09/squareroot.jpg?w=600" alt=""   /></a></p>
<p>and this is shown below:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-of-9.jpg"><img class="aligncenter size-full wp-image-1978" title="square root of 9" src="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-of-9.jpg?w=600" alt=""   /></a>where you can see the Excel formula used for the cell C2 &#8211; it matches the operator even if the notation is different: the notation is adapted to Excel&#8217;s needs and conventions.  The formulas for the cells below are again simply copied and pasted from what is in C2.  The cells in the B column are identical to those in the previous example.</p>
<p>You may notice that this state machine has some very interesting behavior: once the state of the state machine settles on the value &#8220;3&#8243;, then the next value of the state is also 3, and from that point on, the state will forever remain 3.  This behavior is often called &#8220;steady state&#8221; in physics, and is often called a &#8220;fixpoint&#8221; or &#8220;fixed point&#8221;  in mathematics.</p>
<p>What is especially interesting about this spreadsheet is that the steady state isn&#8217;t even particularly dependent on the start value:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/different-starting-value.jpg"><img class="aligncenter size-full wp-image-1979" title="different starting value" src="http://bertspeelpenning.files.wordpress.com/2010/09/different-starting-value.jpg?w=600" alt=""   /></a>Here, we use the exact same formula as before, but we used a starting value of 10 &#8211; and <em>still </em>got to a state of &#8220;3&#8243; in just a few steps.  If you have access to Excel yourself, you may want to play with different starting values, and observe the behavior.  Do you always end up with a steady state (or fixpoint)?  What range of starting values will lead to this fixpoint of 3?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1958/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1958/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1958&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/09/18/operators-functions-and-properties-part-24/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg" medium="image">
			<media:title type="html">Sequence</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/recurrences.jpg" medium="image">
			<media:title type="html">recurrences</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/squareroot.jpg" medium="image">
			<media:title type="html">squareroot</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/square-root-of-9.jpg" medium="image">
			<media:title type="html">square root of 9</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/different-starting-value.jpg" medium="image">
			<media:title type="html">different starting value</media:title>
		</media:content>
	</item>
		<item>
		<title>Operators, Functions, and Properties &#8211; part 23</title>
		<link>http://unlearningmath.com/2010/09/16/operators-functions-and-properties-part-23/</link>
		<comments>http://unlearningmath.com/2010/09/16/operators-functions-and-properties-part-23/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 20:47:22 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[invariants]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1940</guid>
		<description><![CDATA[In this series, we&#8217;ve been looking at operators as something that modifies the state of some machine or device, usually triggered by the pushing of a button.  We&#8217;ve looked quite a bit at operators that operate on numbers, for example in this post, and connected it to the mathematics of middle school, specifically the transition [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1940&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this <a href="http://unlearningmath.com/2010/07/20/operators-functions-and-properties-the-series/">series</a>, we&#8217;ve been looking at operators as something that modifies the state of some machine or device, usually triggered by the pushing of a button.  We&#8217;ve looked quite a bit at operators that operate on numbers, for example in <a href="http://unlearningmath.com/2010/07/12/operators-functions-and-properties-part-6/">this post</a>, and connected it to the mathematics of middle school, specifically the transition from arithmetic to algebra.  We also looked a lot at operators that operate on state that isn&#8217;t just a single number; in fact, we worked through &#8211; in considerable detail &#8211; the design of a state machine for a simple four-function calculator.  In our <a href="http://unlearningmath.com/2010/09/11/operators-functions-and-properties-part-22/">previous post</a> in this series, we brought the design work of the four-function calculator to a point where we can now take a break from it.  (It&#8217;s not that the design is fully done, or beyond criticism &#8211; we can actually learn a lot about <em>black boxes</em> by comparing a proposed model with the real thing and looking for differences in their behavior.  But it isn&#8217;t something we need to do right away.)</p>
<p>What I would like to do next is to apply the state machine model to what are sometimes called sequences, sometimes called series, and what are known by others as recurrence relations.  Most of us are familiar with the type of question: &#8220;what is the next number in the sequence 10, 13, 16, 19, &#8230;?&#8221; where you are supposed to notice that the numbers n the sequence are each three higher than the number preceding them.  All this relates directly to the state machine model we&#8217;ve been using:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/07/state-machine.jpg"><img class="aligncenter size-full wp-image-1694" title="State Machine" src="http://bertspeelpenning.files.wordpress.com/2010/07/state-machine.jpg?w=600" alt=""   /></a></p>
<p>If the state of the machine is just a number, and the button is labeled something like &#8220;Next&#8221;, then a starting state of 10 and an operator of &#8220;+ 3&#8243; will match the behavior of the sequence  10, 13, 16, 19, and pressing Next one more time will get us a state of 22.  This is shown below:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg"><img class="aligncenter size-full wp-image-1960" title="Sequence" src="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg?w=600" alt=""   /></a>You&#8217;ll notice I&#8217;ve also added an explicit &#8220;Start&#8221; button, so we can reset the thing, and it also gives us a way to show the starting value in a static representation so we don&#8217;t have to rely on a video of the thing to see what the starting state was.  What I haven&#8217;t made explicit, but assume, is that the state is shown on a screen so we can see what the state is.</p>
<p>I&#8217;ll leave you with some teasers, to be followed up on later.  Can you see what the behavior of each of the following machines is?</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/09/sequences.jpg"><img class="aligncenter size-full wp-image-1962" title="Sequences" src="http://bertspeelpenning.files.wordpress.com/2010/09/sequences.jpg?w=600&#038;h=560" alt="" width="600" height="560" /></a></p>
<p>To refresh on notation, in the second one of these, we use the notation &#8220;10 -&#8221; for &#8220;subtract from 10&#8243;, and in the third one of these, we use the notation &#8220;9 ÷&#8221; for &#8220;divide into 9&#8243;, as we introduced <a href="http://unlearningmath.com/2010/07/25/operators-functions-and-properties-part-12/">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1940/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1940&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/09/16/operators-functions-and-properties-part-23/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/07/state-machine.jpg" medium="image">
			<media:title type="html">State Machine</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/sequence.jpg" medium="image">
			<media:title type="html">Sequence</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/09/sequences.jpg" medium="image">
			<media:title type="html">Sequences</media:title>
		</media:content>
	</item>
		<item>
		<title>A Collatz-Inspired Puzzle</title>
		<link>http://unlearningmath.com/2009/02/27/a-collatz-inspired-puzzle/</link>
		<comments>http://unlearningmath.com/2009/02/27/a-collatz-inspired-puzzle/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 21:16:48 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[recurrence relationship]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>

		<guid isPermaLink="false">http://bertspeelpenning.wordpress.com/?p=671</guid>
		<description><![CDATA[This is a puzzle. In prior posts, I used the Collatz Problem, restated here: Each counting number n past 1 is assigned a successor number, as follows: The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=671&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a puzzle.</p>
<p>In prior <a href="http://bertspeelpenning.wordpress.com/2009/02/22/notes-on-lookup-a-sieve-for-the-collatz-problem/">posts</a>, I used the Collatz Problem, restated here:</p>
<p style="padding-left:30px;"><span style="color:#003366;">Each counting number n past 1 is assigned a successor number, as follows:<br />
<img src='http://s0.wp.com/latex.php?latex=successor%5Bn%5D+%3D+%5Cbegin%7Bcases%7D3n%2B1+%26+%5Ctext%7Bif+n+is+odd%7D+%5C%5C+n%2F2+%26+%5Ctext%7Bif+n+is+even%7D+%5Cend%7Bcases%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='successor[n] = &#92;begin{cases}3n+1 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' title='successor[n] = &#92;begin{cases}3n+1 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' class='latex' /><br />
The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you may end up home.  Is there any starting number from which you will not eventually reach home?</span></p>
<p>The Collatz Problem, still unsolved, intrigues me in that it is so simply stated and yet so very deep.  It&#8217;s also a very well-balanced problem in the sense that many simple variations of it can be solved at the K-12 level.  Here are some of those variations, offered as a puzzle:</p>
<p><span style="color:#003366;">A.  Each counting number n past 1 is assigned a successor number, as follows:<br />
<img src='http://s0.wp.com/latex.php?latex=successor%5Bn%5D+%3D+%5Cbegin%7Bcases%7D3n+%26+%5Ctext%7Bif+n+is+odd%7D+%5C%5C+n%2F2+%26+%5Ctext%7Bif+n+is+even%7D+%5Cend%7Bcases%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='successor[n] = &#92;begin{cases}3n &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' title='successor[n] = &#92;begin{cases}3n &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' class='latex' /><br />
The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you may end up home.  For what starting numbers will you eventually reach home?</span></p>
<p><span style="color:#003366;">B.  Each counting number n past 1 is assigned a successor number, as follows:<br />
<img src='http://s0.wp.com/latex.php?latex=successor%5Bn%5D+%3D+%5Cbegin%7Bcases%7D2n+%26+%5Ctext%7Bif+n+is+odd%7D+%5C%5C+n%2F2+%26+%5Ctext%7Bif+n+is+even%7D+%5Cend%7Bcases%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='successor[n] = &#92;begin{cases}2n &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' title='successor[n] = &#92;begin{cases}2n &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' class='latex' /><br />
The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you may end up home.  For what starting numbers will you eventually reach home?</span></p>
<p><span style="color:#003366;">C.  Each counting number n past 1 is assigned a successor number, as follows:<br />
<img src='http://s0.wp.com/latex.php?latex=successor%5Bn%5D+%3D+%5Cbegin%7Bcases%7D2n-2+%26+%5Ctext%7Bif+n+is+odd%7D+%5C%5C+n%2F2+%26+%5Ctext%7Bif+n+is+even%7D+%5Cend%7Bcases%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='successor[n] = &#92;begin{cases}2n-2 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' title='successor[n] = &#92;begin{cases}2n-2 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' class='latex' /><br />
The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you may end up home.  For what starting numbers will you eventually reach home?</span></p>
<p><span style="color:#003366;">D.  Each counting number n past 1 is assigned a successor number, as follows:<br />
<img src='http://s0.wp.com/latex.php?latex=successor%5Bn%5D+%3D+%5Cbegin%7Bcases%7D2n%2B2+%26+%5Ctext%7Bif+n+is+odd%7D+%5C%5C+n%2F2+%26+%5Ctext%7Bif+n+is+even%7D+%5Cend%7Bcases%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='successor[n] = &#92;begin{cases}2n+2 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' title='successor[n] = &#92;begin{cases}2n+2 &amp; &#92;text{if n is odd} &#92;&#92; n/2 &amp; &#92;text{if n is even} &#92;end{cases} ' class='latex' /><br />
The number “1″ is considered home, and when you’re home, you stop.  If you start at a given number away from home, and cycle through its successors, you may end up home.  For what starting numbers will you eventually reach home?</span></p>
<p>Note that in each of these we&#8217;ve left the treatment of even numbers alone, and yet get very different behaviors.  The treatment of odd numbers in the original Collatz Problem is one where you can neither find an obvious counter example nor a straightforward demonstration of why you always reach home.<br />
However, the 3n+1 formula is not unique in this.  There is at least one other treatment of the odd numbers that is essentially equivalent to the Collatz problem (in the sense that if you solve one, you&#8217;ve also solved the other one.)</p>
<p><span style="color:#003366;">E.  Can you find a treatment for the odd numbers (leaving the n/2 treatment of the even numbers alone) that creates a problem equivalent to the Collatz problem?</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/671/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=671&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2009/02/27/a-collatz-inspired-puzzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d3c9b59b905ea20e7394130345ac717?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kweetal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
