<?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; matrix multiplication</title>
	<atom:link href="http://unlearningmath.com/tag/matrix-multiplication/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; matrix multiplication</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>Groupings, Shopping Lists, and Vectors: The Series</title>
		<link>http://unlearningmath.com/2010/09/11/groupings-shopping-lists-and-vectors-the-series/</link>
		<comments>http://unlearningmath.com/2010/09/11/groupings-shopping-lists-and-vectors-the-series/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 04:30:03 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[equivalence]]></category>
		<category><![CDATA[math class]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1921</guid>
		<description><![CDATA[This is a series on vector algebra, but it hasn’t wrapped up yet.  Here are the installments as of now: Quantity – Different Kinds of Numbers: Vectors – it really all started with this post.  But I didn’t know it yet at the time… Groupings, Shopping Lists, and Vectors – part 1 – where we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1921&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a series on vector algebra, but it hasn’t wrapped up yet.  Here are the installments as of now:</p>
<p><a href="http://unlearningmath.com/2009/06/09/quantity-different-kinds-of-numbers-vectors/">Quantity – Different Kinds of Numbers: Vectors</a> – it really all started with this post.  But I didn’t know it yet at the time…</p>
<p><a href="http://unlearningmath.com/2009/12/15/groupings-shopping-lists-vectors-part-1/">Groupings, Shopping Lists, and Vectors – part 1</a> – where we take off on a journey: why vector algebra might be  important, and how come the traditional textbook approach sucks most of  the juice out of it.</p>
<p><a href="http://unlearningmath.com/2009/12/16/groupings-shopping-lists-vectors-part-2/">Groupings, Shopping Lists, and Vectors – part 2</a> – a shopping scenario as a starting point for what is essential about vectors: that you know <em>which stuff</em> and <em>how much of each</em>.</p>
<p><a href="http://unlearningmath.com/2009/12/16/groupings-shopping-lists-vectors-part-3/">Groupings, Shopping Lists, and Vectors – part 3</a> – a natural notation for vectors different from that in textbooks, which we might call <em>annotated vectors</em></p>
<p><a href="http://unlearningmath.com/2009/12/18/groupings-shopping-lists-vectors-part-4/">Groupings, Shopping Lists, and Vectors – part 4</a> – vector addition seen as combining shopping lists or cash register receipts</p>
<p><a href="http://unlearningmath.com/2009/12/19/groupings-shopping-lists-vectors-part-5/">Groupings, Shopping Lists, and Vectors – part 5</a> – vector addition as an entry point into the distributive property</p>
<p><a href="http://unlearningmath.com/2009/12/20/groupings-shopping-lists-vectors-part-6/">Groupings, Shopping Lists, and Vectors – part 6</a> – extended prices: introducing inner products</p>
<p><a href="http://unlearningmath.com/2009/12/23/groupings-shopping-lists-vectors-part-7/">Groupings, Shopping Lists, and Vectors – part 7</a> – various situations where inner products show up</p>
<p><a href="http://unlearningmath.com/2009/12/29/groupings-shopping-lists-vectors-part-8/">Groupings, Shopping Lists, and Vectors – part 8</a> – weighted averages of test scores: matrix times a vector</p>
<p><a href="http://unlearningmath.com/2009/12/29/groupings-shopping-lists-vectors-part-9/">Groupings, Shopping Lists, and Vectors – part 9</a> – matrix times a vector, shown in 3D!</p>
<p><a href="http://unlearningmath.com/2010/01/01/groupings-shopping-lists-vectors-part-10/">Groupings, Shopping Lists, and Vectors – part 10</a> – matrix multiplication, starting from a shopping list</p>
<p><a href="http://unlearningmath.com/2010/01/02/groupings-shopping-lists-vectors-part-11/">Groupings, Shopping Lists, and Vectors – part 11</a> – a further look at matrix multiplication</p>
<p><a href="http://unlearningmath.com/2010/01/03/groupings-shopping-lists-vectors-part-12/">Groupings, Shopping Lists, and Vectors – part 12</a> – projective drawings described in terms of matrix multiplication</p>
<p><a href="http://unlearningmath.com/2010/01/04/groupings-shopping-lists-vectors-part-13/">Groupings, Shopping Lists, and Vectors – part 13</a> – revisiting vectors and matrices: how do they relate?</p>
<p><a href="http://unlearningmath.com/2010/01/07/groupings-shopping-lists-vectors-part-14/">Groupings, Shopping Lists, and Vectors – part 14</a> – how does this treatment compare with textbook treatments?</p>
<p><a href="http://unlearningmath.com/2010/01/12/groupings-shopping-lists-vectors-part-15/">Groupings, Shopping Lists, and Vectors – part 15</a> – a look at Excel, showing <em>extended price</em> calculations</p>
<p><a href="http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-16/">Groupings, Shopping Lists, and Vectors – part 16</a> – vector inner products, shown in Excel</p>
<p><a href="http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/">Groupings, Shopping Lists, and Vectors – part 17</a> – showing matrix multiplication in a regular pattern using Excel</p>
<p><a href="http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/">Groupings, Shopping Lists, and Vectors – part 18</a> – why matrices in textbooks are square.  first look at solving equations</p>
<p><a href="http://unlearningmath.com/2010/01/30/groupings-shopping-lists-vectors-part-19/">Groupings, Shopping Lists, and Vectors – part 19</a> – more on solving equations and square matrices</p>
<p><a href="http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/">Groupings, Shopping Lists, and Vectors – part 20</a> – introduction to transformations, using pounds/shillings/guineas</p>
<p><a href="http://unlearningmath.com/2010/02/17/groupings-shopping-lists-vectors-part-21/">Groupings, Shopping Lists, and Vectors – part 21</a> – graphing of pound/shilling/guinea situations – showing coordinate axes that are not at right angles</p>
<p><a href="http://unlearningmath.com/2010/02/22/groupings-shopping-lists-vectors-part-22/">Groupings, Shopping Lists, and Vectors – part 22</a> – more graphing of pound/shilling/guinea situations</p>
<p><a href="http://unlearningmath.com/2010/03/02/groupings-shopping-lists-vectors-part-23/">Groupings, Shopping Lists, and Vectors – part 23</a> – looks at linear combinations, and a geometric model for vector addition</p>
<p><a href="http://unlearningmath.com/2010/03/12/groupings-shopping-lists-vectors-part-24/">Groupings, Shopping Lists, and Vectors – part 24</a> – looks at money exchange as a vector addition</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1921/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1921/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1921/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1921&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/09/11/groupings-shopping-lists-and-vectors-the-series/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>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 24</title>
		<link>http://unlearningmath.com/2010/03/12/groupings-shopping-lists-vectors-part-24/</link>
		<comments>http://unlearningmath.com/2010/03/12/groupings-shopping-lists-vectors-part-24/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 22:54:51 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1592</guid>
		<description><![CDATA[In this series of posts on the topic of vectors, I&#8217;ve been primarily interested in playing with situations in which the notion of a vector naturally arises.  Looking at shopping lists was one of those.   A shopping list is at once a single thing &#8211; a sheet of  paper &#8211; and at the same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1592&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this series of posts on the topic of vectors, I&#8217;ve been primarily interested in playing with situations in which the notion of a vector naturally arises.  Looking at shopping lists was one of those.   A shopping list is at once a single thing &#8211; a sheet of  paper &#8211; and at the same time it has a collection of numbers &#8211; and the numbers tell you something about specific items on the shopping list.  If the shopping list has the numbers 2, 5 and 3 on it, we still don&#8217;t really know much &#8211; unless it is understood that the 2 refers to bags of rice, and the 5 refers to cans of beans and the 3 refers to six-packs of beer.  Any self-respecting shopping list would spell this out &#8211; it is primarily in math textbooks that you tend to see notations like (2, 5, 3) where the things the 2, 5 and 3 are counting are left entirely implicit.</p>
<p>Later in the series, we looked at simple everyday scenarios like getting the total cost for the items on the shopping list, which comes from an encounter of the shopping list with a price list; the name for that encounter is <em>inner product</em>.  There are many other scenarios in which inner products show up, and it led us to matrix multiplication, which we looked at from different angles.  <a href="http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/">More recently</a>, we examined how come almost all matrices you encounter in school are square, meaning they have just as many rows as they have columns.  Since <a href="http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/">part 20</a>, we&#8217;ve been playing with graphical representations involving pounds, shillings and guineas.  Mostly, we played with the fact that one guinea has the same value as one pound and one shilling together.  This fact alone let us to transformation matrices and coordinate systems where the axes are at angles other than right angles.  In <a href="http://unlearningmath.com/2010/03/02/groupings-shopping-lists-vectors-part-23/">part 23</a> we pictured vectors as arrows, each with a length and a direction (but without a fixed beginning point) and then saw how a particular value &#8211; like 2 guineas and 1 shilling &#8211; could be pictured as a series of 2 guinea moves and 1 shilling move, performed in any order.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/03/vector-addition-geometrically.jpg"><img class="alignnone size-full wp-image-1586" title="Vector Addition Geometrically" src="http://bertspeelpenning.files.wordpress.com/2010/03/vector-addition-geometrically.jpg?w=600" alt=""   /></a></p>
<p>These moves get their meaning from a coordinate system, in this case, with pounds on the horizontal axis and shillings on the vertical access.  The blue arrow represents &#8220;one more guinea&#8221;, the green arrow represents &#8220;one more shilling&#8221;, whereas &#8220;one more pound&#8221; (not pictured) would be represented by an arrow pointing to the right.</p>
<p>In order to get to this point, I&#8217;ve had to state several times that what we&#8217;re dealing with here is an oversimplification of the English system of currency.  Not only have I left the penny entirely out of the picture, but worse, I&#8217;ve been completely side-stepping the fact that one pound is worth 20 shillings.  If this has been hard for you to take, and if you&#8217;ve been yelling at the screen &#8220;why doesn&#8217;t he just convert everything to shillings (or to pounds, or to pence)&#8221;, I can sympathize.</p>
<p>We are now in the perfect place to deal with pounds being twenty shillings.  We will introduce a new arrow, a new vector, on this same coordinate grid, and this new vector will represent an exchange of 1 pound for 20 shillings.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/03/exchanges.jpg"><img class="alignnone size-full wp-image-1594" title="Exchanges" src="http://bertspeelpenning.files.wordpress.com/2010/03/exchanges.jpg?w=600" alt=""   /></a></p>
<p>In the graph above, the red arrow represents the basic exchange of a single pound into twenty shillings.  As a result of applying this exchange move, you end up with one pound less, and twenty shillings more.   If we look at actual collections of pound and shilling coins, the pound (black) arrow, the shilling (green) arrow, the exchange (red) arrow, show what happens when you add a pound, add a shilling or exchange a pound for twenty shillings.  The same arrows, but pointing in the opposite direction, would represent what happens if you take away one pound, take away one shilling, or exchange twenty shillings for one pound.  All of these are pretty straightforward.  Also shown is the &#8220;guinea move&#8221;, but in terms of actual collections of pound and shilling coins, the guinea move is somewhat ambiguous.  Since the guinea only represents a value, and not a particular combination of bills or coins, identifying the guinea with one pound and one shilling is a bit arbitrary.  We <em>could </em>have pictured the guinea as an arrow going straight up for 21 shillings.  Doing it the way we did here is not much of a limitation, though: the guinea move, as shown, followed by the exchange move, will have the net effect of adding 21 shillings to whatever the starting point was.</p>
<p>When we think of actual collections of pound and shilling coins, we know that an exchange of a pound for twenty shilling isn&#8217;t entirely without consequences.  Though the exchange may be free, it may require you to go to a bank or a store, or some person on the street, and ask them to make the exchange for you.  For this, the bank needs to be open, and the store needs to be open and willing, and the person on the street needs to be willing and happen to have the right number of coins on hand.  If there are machines that make the exchange for you, without charging a fee, then still somebody has to feed those machines and maintain them.  The true free unhampered exchange of coins for other coins only exists as an abstraction, a simplification, an illusion.  But it is useful simplification.  It is useful to say that one pound <em>equals </em>twenty shillings.  or we could say, more precisely, that one pound exchanges for twenty shillings, and that such an exchange is often easy and cheap, and that we can often ignore the cost (i.e. the hassle) of doing so.</p>
<p>We could say things like:   <img src='http://s0.wp.com/latex.php?latex=87%5Chat%7Bs%7D+%3D+1%5Chat%7Bp%7D+%2B+67%5Chat%7Bs%7D+%2B+1%5Chat%7Be%7D+%3D+2%5Chat%7Bp%7D+%2B+47%5Chat%7Bs%7D+%2B+2%5Chat%7Be%7D+%3D+3%5Chat%7Bp%7D+%2B+27%5Chat%7Bs%7D+%2B+3%5Chat%7Be%7D+%3D+4%5Chat%7Bp%7D+%2B+7%5Chat%7Bs%7D+%2B+4%5Chat%7Be%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='87&#92;hat{s} = 1&#92;hat{p} + 67&#92;hat{s} + 1&#92;hat{e} = 2&#92;hat{p} + 47&#92;hat{s} + 2&#92;hat{e} = 3&#92;hat{p} + 27&#92;hat{s} + 3&#92;hat{e} = 4&#92;hat{p} + 7&#92;hat{s} + 4&#92;hat{e} ' title='87&#92;hat{s} = 1&#92;hat{p} + 67&#92;hat{s} + 1&#92;hat{e} = 2&#92;hat{p} + 47&#92;hat{s} + 2&#92;hat{e} = 3&#92;hat{p} + 27&#92;hat{s} + 3&#92;hat{e} = 4&#92;hat{p} + 7&#92;hat{s} + 4&#92;hat{e} ' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bp%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{p} ' title='&#92;hat{p} ' class='latex' /> indicates a pound move, <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{s} ' title='&#92;hat{s} ' class='latex' /> indicates a shilling move, and <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Be%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{e} ' title='&#92;hat{e} ' class='latex' /> indicates an exchange move of one pound for 20 shillings.  Each represents a different path, starting from the origin, and all ending up at the 87 shilling mark.  All represent the same value, the value in Jane&#8217;s jar, assuming that the exchanges are free and unlimited.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1592/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1592/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1592/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1592&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/03/12/groupings-shopping-lists-vectors-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/03/vector-addition-geometrically.jpg" medium="image">
			<media:title type="html">Vector Addition Geometrically</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/03/exchanges.jpg" medium="image">
			<media:title type="html">Exchanges</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 23</title>
		<link>http://unlearningmath.com/2010/03/02/groupings-shopping-lists-vectors-part-23/</link>
		<comments>http://unlearningmath.com/2010/03/02/groupings-shopping-lists-vectors-part-23/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:36:47 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1573</guid>
		<description><![CDATA[In this post I&#8217;m going to look at something usually referred to as linear combinations.  In the prior post, we had an occasion to look at coordinate systems where the axes are not at right angles.  We saw that you can draw grid lines parallel to the axes; from any point, you can follow the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1573&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post I&#8217;m going to look at something usually referred to as <em>linear combinations</em>.  In the <a href="http://unlearningmath.com/2010/02/22/groupings-shopping-lists-vectors-part-22/">prior post</a>, we had an occasion to look at coordinate systems where the axes are not at right angles.  We saw that you can draw grid lines parallel to the axes; from any point, you can follow the grid lines to get the coordinates, in the same way you&#8217;d do if the axes are at right angles.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shilling-axes.jpg"><img class="alignnone size-full wp-image-1557" title="Guineas And Shilling Axes" src="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shilling-axes.jpg?w=600" alt=""   /></a></p>
<p>The graph above, from part 21, shows axes of guineas and shillings.  The axes are not at right angles, but doing so wasn&#8217;t totally arbitrary: if you move one unit horizontally to the right, you add one pound to the value (a guinea is one pound plus one shilling).  To find the value of Jane&#8217;s jar in terms of guineas and shillings, you would follow the grid lines, and see that it amounts to 4 guineas and 3 shillings.</p>
<p>We could interpret this same thing in terms of movement.  If we start at the place where the axes meet (usually referred to as the <em>origin</em>), and we make 4 &#8216;guinea&#8217; moves, and 3 &#8216;shilling&#8217; moves, we arrive at the point representing Jane&#8217;s jar.  Each of the 4 guinea moves is a move in a particular direction (here, diagonally up to the right) and of a particular distance.  Each of the 3 shilling moves is a move in a particular direction (here, straight up) and of  a particular distance.</p>
<p>From our starting point at the origin (meeting point of the axes), any combination of 4 guinea moves and 3 shilling moves will get us to the same ending point.  We can take 1 guinea move, 1 shilling move, 3 guinea moves and finally 2 shilling moves, and end up at Jane&#8217;s jar.  Or we could take 2 guinea moves, 1 shilling move, 1 guinea move, 2 shilling moves, and finally 1 guinea moves, and also end up at Jane&#8217;s jar.  All that matters is how many guinea moves we did altogether, and how many shilling moves we did altogether.   This can be expressed in shorthand, using a notation I haven&#8217;t used here before.  Let&#8217;s write <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bg%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{g} ' title='&#92;hat{g} ' class='latex' /> for a single guinea move, and <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{s} ' title='&#92;hat{s} ' class='latex' /> for a single shilling move.  Then we can write:</p>
<p>(a) Jane&#8217;s jar = <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bg%7D+%2B+%5Chat%7Bg%7D+%2B+%5Chat%7Bg%7D+%2B+%5Chat%7Bg%7D+%2B+%5Chat%7Bs%7D+%2B+%5Chat%7Bs%7D+%2B+%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{g} + &#92;hat{g} + &#92;hat{g} + &#92;hat{g} + &#92;hat{s} + &#92;hat{s} + &#92;hat{s} ' title='&#92;hat{g} + &#92;hat{g} + &#92;hat{g} + &#92;hat{g} + &#92;hat{s} + &#92;hat{s} + &#92;hat{s} ' class='latex' /></p>
<p>(b) Jane&#8217;s jar  = <img src='http://s0.wp.com/latex.php?latex=4%5Chat%7Bg%7D+%2B+3%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='4&#92;hat{g} + 3&#92;hat{s} ' title='4&#92;hat{g} + 3&#92;hat{s} ' class='latex' /></p>
<p>(c) Jane&#8217;s jar = <img src='http://s0.wp.com/latex.php?latex=2%5Chat%7Bg%7D+%2B+1%5Chat%7Bs%7D+%2B+2%5Chat%7Bg%7D+%2B+2%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2&#92;hat{g} + 1&#92;hat{s} + 2&#92;hat{g} + 2&#92;hat{s} ' title='2&#92;hat{g} + 1&#92;hat{s} + 2&#92;hat{g} + 2&#92;hat{s} ' class='latex' /></p>
<p>(d) Jane&#8217;s jar = <img src='http://s0.wp.com/latex.php?latex=1%5Chat%7Bs%7D+%2B+1%5Chat%7Bs%7D+%2B+4%5Chat%7Bg%7D+%2B+1%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='1&#92;hat{s} + 1&#92;hat{s} + 4&#92;hat{g} + 1&#92;hat{s} ' title='1&#92;hat{s} + 1&#92;hat{s} + 4&#92;hat{g} + 1&#92;hat{s} ' class='latex' /></p>
<p>(e) Jane&#8217;s jar = <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bs%7D+%2B+4%5Chat%7Bg%7D+%2B+2%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{s} + 4&#92;hat{g} + 2&#92;hat{s} ' title='&#92;hat{s} + 4&#92;hat{g} + 2&#92;hat{s} ' class='latex' /></p>
<p>and more.</p>
<p>In the old tradition of pirate treasure maps, &#8220;go 100 paces North East,&#8221; each of the expressions in that list represents a particular path, though all happen to end up in the same place.</p>
<p>The above represents an informal introduction to the geometric notions of vectors, vector addition, and multiplication of vectors by a number.   Textbooks often introduces vectors as arrows with direction and length, like our &#8216;guinea move&#8217; or like our &#8216;shilling move&#8217;.  They will tell you that to add two vectors, you need to draw the parallelogram with the two vectors as their sides, and then draw the diagonal of the parallelogram, and this diagonal represents the sum.  They really are just talking about the result of two motions one after another.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/03/vector-addition-geometrically.jpg"><img class="alignnone size-full wp-image-1586" title="Vector Addition Geometrically" src="http://bertspeelpenning.files.wordpress.com/2010/03/vector-addition-geometrically.jpg?w=600" alt=""   /></a></p>
<p>In the diagram above, the blue arrow represents <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bg%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{g} ' title='&#92;hat{g} ' class='latex' />, the green one represents <img src='http://s0.wp.com/latex.php?latex=%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;hat{s} ' title='&#92;hat{s} ' class='latex' />.  In the box on the right, three different ways to combine 2 guinea moves and one shilling move are shown.   Each path, if started at the origin, will end up in the same place.  That place can be characterized as <img src='http://s0.wp.com/latex.php?latex=2%5Chat%7Bg%7D+%2B+1%5Chat%7Bs%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2&#92;hat{g} + 1&#92;hat{s} ' title='2&#92;hat{g} + 1&#92;hat{s} ' class='latex' />.  When you focus on the geometry, and divorce yourself from the specific meaning of guinea values and shilling values, you can see that what we have shown here matches the textbook treatment of a vector as an arrow with direction and length (but with flexible starting point), and matches the textbook treatment of vector addition as the joining of two arrows end-to-start.  Moreover, the idea generalizes to taking any number of the first vector, and any number of the second vector, and joining them all together, in what is known as a linear combination of the two original vectors.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1573/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1573&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/03/02/groupings-shopping-lists-vectors-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/02/guineas-and-shilling-axes.jpg" medium="image">
			<media:title type="html">Guineas And Shilling Axes</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/03/vector-addition-geometrically.jpg" medium="image">
			<media:title type="html">Vector Addition Geometrically</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 22</title>
		<link>http://unlearningmath.com/2010/02/22/groupings-shopping-lists-vectors-part-22/</link>
		<comments>http://unlearningmath.com/2010/02/22/groupings-shopping-lists-vectors-part-22/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 20:55:34 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1562</guid>
		<description><![CDATA[In the last few posts in this series I&#8217;ve examined some consequences of British values, where we have pounds and shillings (and also pence) &#8211; but then have this other value, the guinea, which equals one pound and one shilling.  This situation, so traditional for Brits and so strange for foreigners, allowed us to imagine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1562&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last few posts in this series I&#8217;ve examined some consequences of British values, where we have pounds and shillings (and also pence) &#8211; but then have this other value, the guinea, which equals one pound and one shilling.  This situation, so traditional for Brits and so strange for foreigners, allowed us to imagine the same value being expressed in two different systems.  In one system, values are expressed in pounds and shillings (I&#8217;m ignoring pence altogether here); in the other system, values are expressed in guineas and shillings.  Each system is equally valid and workable, though one is rather familiar, and the other one is rather strange.  We&#8217;ve explored writing values as vectors, and seen how the same value can be expressed as two different vectors depending on which system is used.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling.jpg"><img class="alignnone size-full wp-image-1535" title="pound-shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling.jpg?w=600" alt=""   /></a></p>
<p>We explored how the vector representation of a value in one system can be obtained from that in the other system through matrix multiplication, where the matrix used (the transformation matrix) is a square matrix (that is, has the same number of rows as it has columns).</p>
<p>In the <a href="http://unlearningmath.com/2010/02/17/groupings-shopping-lists-vectors-part-21/">last post</a>, we used graphs to represent values.  In the first graph, there is a pound axis and a shilling axis, drawn at right angles.  Values are represented by a point.  In the second graph, the shilling axis is left the same, the values are all drawn in the same place as before, but values are now expressed in terms of guineas and shillings.  This can be done, at the expense of showing the guinea axis not at right angles but at a different angle to the shilling axis.  We saw that, though axes at right angles are convenient, there is nevertheless some arbitrariness about it.</p>
<p>In this post, we will pursue that by drawing graphs again, but this time with the guinea axis at right angles to the shilling axis.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shillings-right-angles.jpg"><img class="alignnone size-full wp-image-1567" title="Guineas And Shillings - Right Angles" src="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shillings-right-angles.jpg?w=600" alt=""   /></a></p>
<p>On the guinea and shilling axes, the value of Jane&#8217;s jar is represented as shown, indicating 4 guineas and 3 shillings.  As you can see, this graph can not be overlaid on top of the ones from the previous post: Jane&#8217;s jar is in a different position now.  The value in Jane&#8217;s jar is still 7 shillings more than 4 pounds; this is shown in the graph by having the 4-pound mark 7 shillings below the mark for Jane&#8217;s jar.   This is consistent with the notion that a pound is one guinea minus one shilling, and showing pounds <em>below </em>the guineas axis is a way to express their values as having a negative shilling component.   We can show the same values in the same place, using shilling and pound axes, but only if we are willing to accept pounds and shilling axes to be at something other than right angles; this is shown below.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/poundss-and-shillings-non-right-angles.jpg"><img class="alignnone size-full wp-image-1570" title="Poundss And Shillings - Non-Right Angles" src="http://bertspeelpenning.files.wordpress.com/2010/02/poundss-and-shillings-non-right-angles.jpg?w=600" alt=""   /></a></p>
<p>This graph, when printed on transparent paper, could be overlaid over the previous graph, and show both the shilling axis and the value in Jane&#8217;s jar in the same location.   As you see, &#8216;guineas&#8217; are no longer marked on it; we merely have pounds and shilling axes, just not at right angles.  Even though some of the four graphs shown (two in this post, two in the prior post) look more familiar than others, you could argue that none is intrinsically &#8216;truer&#8217; than the others.</p>
<p>The coordinate grids where axes are at non-right angles will give us an interesting lead in to vector addition and <em>linear combinations</em>, viewed geometrically.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1562/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1562&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/02/22/groupings-shopping-lists-vectors-part-22/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/02/pound-shilling.jpg" medium="image">
			<media:title type="html">pound-shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shillings-right-angles.jpg" medium="image">
			<media:title type="html">Guineas And Shillings - Right Angles</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/poundss-and-shillings-non-right-angles.jpg" medium="image">
			<media:title type="html">Poundss And Shillings - Non-Right Angles</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 21</title>
		<link>http://unlearningmath.com/2010/02/17/groupings-shopping-lists-vectors-part-21/</link>
		<comments>http://unlearningmath.com/2010/02/17/groupings-shopping-lists-vectors-part-21/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 21:02:39 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1544</guid>
		<description><![CDATA[In the previous post in this series, part 20, I showed a matrix multiplication to convert a value stated in guineas and shillings into one stated in pounds and shillings.  We were interested in the same value, expressed in different units.  The matrix used to multiply by is called a transformation matrix. Our starting point [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1544&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the previous post in this series, <a href="http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/">part 20</a>, I showed a matrix multiplication to convert a value stated in guineas and shillings into one stated in pounds and shillings.  We were interested in the same value, expressed in different units.  The matrix used to multiply by is called a transformation matrix.</p>
<p>Our starting point in that post was that values expressed in pounds and shillings can also be expressed in guineas and shillings, and vice versa.  There is a way to show this graphically, and doing so gives an opportunity to show coordinate systems that are strange to many people: coordinate systems where the axes are not at right angles to one another.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-pounds2.jpg"><img class="alignnone size-full wp-image-1549" title="Guineas And Pounds" src="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-pounds2.jpg?w=600" alt=""   /></a></p>
<p>In the graph, we display pounds on the horizontal axis, and shillings on the vertical axis.  The value of bills and coins in Jane&#8217;s jar is indicated in the graph, and you can read that value as 4 pounds and 7 shillings.  If you are used to writing coordinates as pairs like this: (4,7), you can do that &#8211; or you can write it as a vector like this:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling1.jpg"><img class="alignnone size-full wp-image-1553" title="pound shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling1.jpg?w=600" alt=""   /></a></p>
<p>On the graph we also indicated points for 1 guinea, 2 guineas, etc., and we can think of the line on which these lie as a guinea-axis (neither horizontal nor vertical).  The value in Jane&#8217;s jar can be expressed in guineas and shillings, and this can be done by noticing that the value in Jane&#8217;s jar is precisely 3 shillings above the marker for 4 guineas.  Written as a vector, this would be</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guinea-shilling.jpg"><img class="alignnone size-full wp-image-1554" title="guinea shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/guinea-shilling.jpg?w=600" alt=""   /></a></p>
<p>and it is completely valid to think of this as a coordinate pair based on the guinea-axis and the shilling-axis.  Though the guinea-axis and the shilling-axis are not at right angles, it doesn&#8217;t take long to get used to those kinds of axes, and read values accurately in terms of guineas and shillings straight from the graph.  What I think is genuinely confusing, and not just a matter of familiarity, is to write those coordinates as (4,3).  This is confusing, since I might now think of that as 4 pounds and 3 shillings, which conventionally would also be written as (4,3).  But that confusion arises from the (4,3) notational system, and would be absent if we were used to writing (4 guineas, 3 shillings) instead.</p>
<p>It is useful to separate out these two things: (1) notational confusion, and (2) conceptual confusion.  Notation confusion comes from common notations, like (4,3) which assume agreement on what the components mean.  Conceptual confusion might arise from being unfamiliar with axes that aren&#8217;t at right angles with one another.  In the graph below, the &#8220;pound&#8221; axis is no longer explicitly shown, and values can be interpreted as having two coordinates according to the two coordinate axes shown: the guinea axis and the shilling axis.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shilling-axes.jpg"><img class="alignnone size-full wp-image-1557" title="Guineas And Shilling Axes" src="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shilling-axes.jpg?w=600" alt=""   /></a></p>
<p>Compared to the earlier graph, the value of money in Jane&#8217;s jar shows up in the exact same place.  If the graphs were drawn on transparent paper, and held directly one above the other, you would see the origin, the shilling axis, the guinea axis, and the Jane&#8217;s jar point all line up.  The graph is a bit harder to read, but mostly because we aren&#8217;t as familiar with this kind of graph as we are with those where axes are at right angles.  To read the coordinates corresponding to Jane&#8217;s jar, we would follow the grid lines (shown parallel to the axes) and see where they intersect the axes.   The vertical grid line through Jane&#8217;s jar hits the guinea axis at the 4 guinea mark, and the not-horizontal grid line through Jane&#8217;s jar hits the shilling axis at the 3 shilling mark.</p>
<p>Our preference for axes at right angles isn&#8217;t entirely arbitrary, but can still be seen as an inherited convention.  When it comes to which axis is labeled the &#8220;x&#8221; axis and having positive values on the right and negative values on the left &#8211; most of us are clear that this is a convention, a cultural heritage, something you and I do simply because everybody else does it the same way.  It is important to know and to honor those conventions, because deviating from these conventions risks having your graph be misunderstood by just about everybody else.  Yet at the same time it is useful to be clear that there is no deep mathematical reason that requires &#8220;x&#8221; to point towards the right, or axes to be at right angles.  There are consequences, though, for having axes at right angles, as there are consequences for having the scales on x and y axes be the same.  If you are familiar with the standard equation for a circle (centered at the origin) as <img src='http://s0.wp.com/latex.php?latex=x%5E2+%2B+y%5E2+%3D+r%5E2+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x^2 + y^2 = r^2 ' title='x^2 + y^2 = r^2 ' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=r+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='r ' title='r ' class='latex' /> indicates the radius, you will likely also be aware that the circle will degenerate into an ellipse if the scale on the &#8220;x&#8221; axis doesn&#8217;t match the scale on the &#8220;y&#8221; axis.   Additional distortions of shape will show up if you graph familiar equations (e.g. <img src='http://s0.wp.com/latex.php?latex=y+%3D+x%5E2+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='y = x^2 ' title='y = x^2 ' class='latex' /> ) on axes like those on our guinea/shilling graph and expect to see the shapes familiar from school.</p>
<p>Yet when we started out graphing pounds and shillings, our decision to show those at right angles is essentially arbitrary.  Once we made that choice, the guinea axis showed up at a funny angle.  There is nothing intrinsically &#8220;right-angled&#8221; about pounds and shillings.  We could have started with values expressed in guineas and shillings and we could have chosen to represent those geometrically in a &#8220;normal-looking&#8221; coordinate grid based on guineas and shillings at right angles.  We will follow this idea in the next post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1544/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1544&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/02/17/groupings-shopping-lists-vectors-part-21/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/02/guineas-and-pounds2.jpg" medium="image">
			<media:title type="html">Guineas And Pounds</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling1.jpg" medium="image">
			<media:title type="html">pound shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/guinea-shilling.jpg" medium="image">
			<media:title type="html">guinea shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/guineas-and-shilling-axes.jpg" medium="image">
			<media:title type="html">Guineas And Shilling Axes</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 20</title>
		<link>http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/</link>
		<comments>http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 00:06:28 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1527</guid>
		<description><![CDATA[In England, the main currency is called the pound.  Smaller units are called shillings and pence.  A pound is 20 shillings, a shilling is 5 pence, hence a pound is 100 pence.  This system has been in place since 1971; before 1971, a shilling was 12 pence.  There are many slang equivalents for these: bob [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1527&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In England, the main currency is called the pound.  Smaller units are called shillings and pence.  A pound is 20 shillings, a shilling is 5 pence, hence a pound is 100 pence.  This system has been in place since 1971; before 1971, a shilling was 12 pence.  There are many slang equivalents for these: bob for shilling, quid for (paper) pound.</p>
<p>There is a term in use that is of a different nature: the guinea.  The guinea is not a name for a coin or a bill, but the name for a value.  One guinea represents the same as one pound and one shilling, or 21 shillings.  A <a href="http://en.wikipedia.org/wiki/%C2%A3sd">Wikipedia article</a> says that guineas are used by art dealers and lawyers to quote their prices, and British horse races still express their prize funds in guineas.  Guineas can also be used if a value is not a whole number of guineas.  You can have a fifth of a pound (4 shillings), and you can likewise have a third of a guinea (7 shillings).   The convenience of dividing by three is sometimes offered as a reason why the guinea is still around.  For somebody raised outside of this culture, like me, it isn&#8217;t easy to appreciate the appeal of having both pounds and guineas around (even if the guinea doesn&#8217;t exist as a coin or bill).</p>
<p>The relationship between pounds and shillings and guineas gives us an interesting background in which to talk about expressing things in terms of different units.  The process of stating something in new units is often called <em>transformation</em>, and I&#8217;ve suggested <a href="http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/">earlier</a> that transformations are a frequent source for encountering matrices, and specifically square matrices.</p>
<p>I&#8217;m going to take the shilling/pound/guinea situation as a starting point.  I&#8217;m not suggesting that any of the things to follow here will be things that Englishfolk are actually discussing doing.  For one, I&#8217;m going to ignore the penny altogether.  To be more precise, my starting point will be that we have three units of value, and one of these is worth the sum of the other two.   I&#8217;m even going to ignore that we know the pound to be worth 20 shillings.  (The things I&#8217;m ignoring could be brought back into the picture later, without too much difficulty.  For now, I&#8217;m interested in keeping the example and the numbers simple.)</p>
<p>In this hypothetical England, I could represent values as a vector in different ways.  Let&#8217;s start with some number of guineas, and some number of shillings.  Below is an example:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/guines-shilling.jpg"><img class="alignnone size-full wp-image-1533" title="guines-shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/guines-shilling.jpg?w=600" alt=""   /></a></p>
<p>Here, the amount is 3 guineas and 5 shillings.  This same value could be re-stated in terms of pounds and shillings.  This is important: the same amount, but in a different representation.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling.jpg"><img class="alignnone size-full wp-image-1535" title="pound-shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling.jpg?w=600" alt=""   /></a></p>
<p>It is not particularly difficult to convert from one representation to the other, in either direction.  The conversion is simple enough that any mention of matrix multiplication would sound like absolute overkill.  Still, this example is useful to introduce the structure of a transformation matrix, and this will help us when we look at more practical examples where the conversion isn&#8217;t quite so trivial.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-vectors-guinea-shilling.jpg"><img class="alignnone size-full wp-image-1538" title="transformation vectors guinea-shilling" src="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-vectors-guinea-shilling.jpg?w=600" alt=""   /></a></p>
<p>Let&#8217;s first look at conversion to the pounds/shilling representation.  Shown above is each of the units of the guinea/shilling representation, expressed in the pounds/shilling representation.  A single guinea is one pound and one shilling; and a single shilling is zero pounds and one shilling.  These two vectors can be combined in a matrix:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-matrix-guinea-to-pound.jpg"><img class="alignnone size-full wp-image-1539" title="transformation matrix guinea to pound" src="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-matrix-guinea-to-pound.jpg?w=600" alt=""   /></a></p>
<p>and this matrix is called a transformation matrix.  The conversion from guinea/shilling to pound/shilling can now be expressed as a matrix-vector multiplication using this transformation matrix:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-guinea-to-pound.jpg"><img class="alignnone size-medium wp-image-1540" title="transformation guinea to pound" src="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-guinea-to-pound.jpg?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p>where the original representation is on the top right, the transformation matrix is on the left, and the resulting representation in pound/shilling is on the right.  You can check to see that it works, and that it will work for any amounts expressed in guineas and shillings.  Yes, matrix multiplication is overkill here, but it does work and it does allow us to illustrate something useful.</p>
<p>To finish this post, let me briefly show how conversion in the opposite direction would work &#8211; conversion from a value in the pound/shilling representation to a value in the guinea/shilling representation.  (Note: for the moment I&#8217;m ignoring that a pound equals 20 shilling altogether.)  The conversion from pound/shilling to guinea/shilling can also be expressed using a transformation matrix, and we will look at the relationship between the two transformation matrices in the next post.  In this post, I&#8217;ll merely introduce it:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-pound-to-guinea.jpg"><img class="alignnone size-full wp-image-1541" title="transformation pound to guinea" src="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-pound-to-guinea.jpg?w=600" alt=""   /></a></p>
<p>The transformation matrix reflects (in its pound column) that one pound equals one guinea minus one shilling, and reflects (in its shilling column) that one shilling equals zero guineas plus one shilling.  You can verify that the matrix multiplication works, and will work for other pound/shilling amounts (as long as you allow negative shilling amounts and continue to ignore the issue of breaking pounds into shillings).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1527/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1527&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/02/12/groupings-shopping-lists-vectors-part-20/feed/</wfw:commentRss>
		<slash:comments>3</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/02/guines-shilling.jpg" medium="image">
			<media:title type="html">guines-shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/pound-shilling.jpg" medium="image">
			<media:title type="html">pound-shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-vectors-guinea-shilling.jpg" medium="image">
			<media:title type="html">transformation vectors guinea-shilling</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-matrix-guinea-to-pound.jpg" medium="image">
			<media:title type="html">transformation matrix guinea to pound</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-guinea-to-pound.jpg?w=300" medium="image">
			<media:title type="html">transformation guinea to pound</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/02/transformation-pound-to-guinea.jpg" medium="image">
			<media:title type="html">transformation pound to guinea</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 19</title>
		<link>http://unlearningmath.com/2010/01/30/groupings-shopping-lists-vectors-part-19/</link>
		<comments>http://unlearningmath.com/2010/01/30/groupings-shopping-lists-vectors-part-19/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 05:21:09 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1520</guid>
		<description><![CDATA[In this post, I will try to connect a set of equations with matrices and vectors in a way that isn&#8217;t simply a notational shift.  In part 18 of this series, I brought up the vast preponderance of square matrices (a matrix with the same number of rows as columns) and wondered why school mathematics [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1520&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post, I will try to connect a set of equations with matrices and vectors in a way that isn&#8217;t simply a notational shift.  In <a href="http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/">part 18</a> of this series, I brought up the vast preponderance of square matrices (a matrix with the same number of rows as columns) and wondered why school mathematics tends to have us think that matrices somehow always have to be square.  This issue is of more than casual interest, since you constantly see students confuse rows and columns.  The signifiers that make it clear what each row means and what each column stands for &#8211; those are exactly the signifiers that are missing from the accepted standard notation for matrices, presumably for reasons of compactness.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2009/01/lft090125.gif"><img class="alignnone size-full wp-image-228" title="Foxtrot / Bill Mend / 2009 01 25" src="http://bertspeelpenning.files.wordpress.com/2009/01/lft090125.gif?w=600&#038;h=427" alt="" width="600" height="427" /></a></p>
<p>Let&#8217;s use our Bill Amend comic strip once again, and look at the problem as stated by the brother in the third panel.</p>
<p>There is a cost per shirt and a cost per sweater, and we don&#8217;t know these costs.  They are the things we&#8217;re trying to find out.  What we do know is the cost of two shirts and a sweater &#8211; that is $60.  Similarly, we know that the cost of one shirt and two sweaters is $75.  If we treat this exactly the same way we&#8217;ve been dealing with fast food orders in prior posts, e.g.  in <a href="http://unlearningmath.com/2009/12/20/groupings-shopping-lists-vectors-part-6/">part 6</a>, we could show this as follows:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/bill-amend-equations1.jpg"><img class="alignnone size-medium wp-image-1523" title="bill amend equations" src="http://bertspeelpenning.files.wordpress.com/2010/01/bill-amend-equations1.jpg?w=300&#038;h=199" alt="" width="300" height="199" /></a></p>
<p>We&#8217;re looking for the numbers in the blue vector that will have the green vector come out just right. This means that both the total price for the first order and the total price for the second order, priced out from the order amounts and the (as yet) unknown prices, must come out to $60 and $75 respectively.  In math class, we&#8217;d write:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg"><img class="alignnone size-medium wp-image-1515" title="equations written as matrix and vectors" src="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg?w=240&#038;h=83" alt="" width="240" height="83" /></a></p>
<p>and assume that somehow we will keep track of what is what.   The things you learned to do in math class, like doubling the second row and then subtracting the first row from the second, these all have counter parts in terms of shirts and sweaters and orders.  Doubling the second row amounts to doubling the second order: 2 shirts plus 4 sweaters will cost $150.  From the first order, we know that 2 shirts plus 1 sweater costs $60.  In double the second order, we have the same number of shirts, but three more sweaters.  For those three extra sweaters, we ended up paying $150-$60, which amounts to $90.  If these three sweaters cost $90, then a single sweater will cost one-third of that, $90/3, which is $30.  So we found the price of a single sweater, which is $30, and we can use either the first order or the second order to recover the price of a single shirt.  If we use the first order, we&#8217;d see that two shirts plus the $30-dollar sweater cost us $60, so we must have paid $30 for those two shirts, or $15 per shirt.  (Once we knew that a sweater cost $30, we could also have used the second order to figure out how much one shirt cost: one shirt plus double the 30 dollars amounts to $75, so the shirt part of that order must have been $75 &#8211; $60, or $15.)</p>
<p>The steps involved in solving these equations, at least till the point where we nailed one of the unknown numbers, all correspond to <em>row operations</em> on the matrix and known vector.  In a system of equations, written in either of the ways I&#8217;ve shown, you can freely multiply a row by any number you like, and freely replace a row by the sum or difference of that row and another row.</p>
<p>Yet you may have solved the system of equations by thinking about the shirts and the sweaters differently.  Is it easy to establish which costs more, a shirt or a sweater? I think it is, since I can imagine walking the first order to the cash register, seeing that it costs $60, and then putting a shirt back on the shelf and grabbing an extra sweater instead.  The order now costs $75, and the extra $15 must come from the extra sweater costing $15 more than the shirt I put back on the shelf.  So a sweater costs $15 more than a shirt.</p>
<p>This still doesn&#8217;t exhaust the ways in which you might have reasoned about shirt prices and sweater prices.  You may have noticed that if you first walk the first order to the cash register and then the second, you end up with a total of 3 shirts and 3 sweaters, for which you would have paid a total of $135.  From that, you might conclude that a single shirt and a single sweater must cost $135/3 or $45.  The first order is like a single shirt and a single sweater &#8211; with an extra shirt.  The difference between $60 and $45 must account for the single shirt.  Similarly, you might have noticed that the second order is like a single shirt and a single sweater, but with an extra sweater.  This extra sweater cost $75-$45 = $30, so sweaters cost $30.</p>
<p>How did Paige think about the shirts and the sweaters?  The comic strip doesn&#8217;t really tell us one way or the other.  What the comic strip does suggest very strongly is that Paige can think in terms of shirt and sweaters, but not in terms of x and y.</p>
<p>For us, there is a similar issue whenever we see a matrix.  What does each row stand for?  What does each column stand for?  If we don&#8217;t know &#8211; if we can&#8217;t talk about the second row and the first column of the coefficient matrix as the number of shirts in the second order &#8211; then we can&#8217;t do better than talk about the number in row 2 and column 1.  Just maybe, the amazing thing is that some people do <em>not</em> get confused.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1520&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/01/30/groupings-shopping-lists-vectors-part-19/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/2009/01/lft090125.gif" medium="image">
			<media:title type="html">Foxtrot / Bill Mend / 2009 01 25</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/bill-amend-equations1.jpg?w=300" medium="image">
			<media:title type="html">bill amend equations</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg?w=300" medium="image">
			<media:title type="html">equations written as matrix and vectors</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 18</title>
		<link>http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/</link>
		<comments>http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 23:49:53 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[math class]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1509</guid>
		<description><![CDATA[If you have read earlier installments of this series &#8211; and I know it has gotten long &#8211; you may have noticed that very few of the matrices that appeared there have the same number of rows and columns.  A matrix that does have the same number of rows as columns is known as a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1509&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have read <a href="http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/">earlier installments</a> of this series &#8211; and I know it has gotten long &#8211; you may have noticed that very few of the matrices that appeared there have the same number of rows and columns.  A matrix that does have the same number of rows as columns is known as a square matrix.  Yet if you have any experience with matrices from high school or college at all, you may have noticed that almost all of <em>those </em>are square.  It isn&#8217;t untypical for a textbook on matrix algebra to show one or two non-square matrices on the first page, and then have all remaining pages deal exclusively with square matrices.  What&#8217;s so special about square matrices?  Why do they end up drowning out almost all other types?</p>
<p>If you think back to the order matrix in the <a href="http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/">part 16</a>, you can see that for it to be square, the number of orders has to somehow be exactly the same as the number of items on the menu.  That situation would be a total coincidence, and would last only until the next car shows up at the order window.  It appears then that the matrices in textbooks must arise from entirely different scenarios than the ones we&#8217;ve played with till now.</p>
<p>What are the scenarios that underlie the matrices found in textbooks?  It turns out that this is not a trivial question, or at least it doesn&#8217;t have a trivial answer.  For the textbooks often don&#8217;t tell you where a matrix comes from.   They may not care, or know, particularly.</p>
<p>My impression is that most matrices in textbooks come from two broad application areas.  One, systems of equations, and two, transformations.  For those broad application areas, we can justify why many &#8211; if not most &#8211; of the matrices involved would be square.</p>
<p>Let&#8217;s take a quick look at equations (and leave transformations for another day).  An equation like 2x+y=60 has many solutions.  There are lots of combinations of numbers so that double the first, added to the second, gives us 60.  For example, 1 for x and 58 for y will do the trick.  But so does  10 for x and 40 for y.  If I think of the equation as a clue for what x and y must be, the clue isn&#8217;t powerful enough to nail down x and y.  But if I have another clue, another hint, like x+2y=75, together these hints may be enough to nail down x and y precisely.  Together, these clues give us what is called a system of equations, and they would normally be written in math class like this:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/system-of-equations.jpg"><img class="alignnone size-medium wp-image-1514" title="system of equations" src="http://bertspeelpenning.files.wordpress.com/2010/01/system-of-equations.jpg?w=240&#038;h=118" alt="" width="240" height="118" /></a></p>
<p>By the time students get to matrix algebra in school, this same system of equations would now be written like this:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg"><img class="alignnone size-medium wp-image-1515" title="equations written as matrix and vectors" src="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg?w=240&#038;h=83" alt="" width="240" height="83" /></a></p>
<p>where the group of 2 by 2 numbers on the left is called the matrix of coefficients, the vector with the x and y in it is called the vector of unknowns, and the vector on the right is called the known vector, or the right hand side vector.  This use of  a matrix and vectors is consistent with the notion of matrix multiplication, but at this point the matrix and vectors are often introduced simply as a shift in the notation for the system of equations.  it is shorter, more compact, especially if you go through the steps of what is known as Gaussian elimination.  If the system of equations can be solved, it turns out that the solution depends on the known vector in an interesting way.  This way can itself be expressed in matrix notation, using what is called an inverse matrix, and we can write</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/an-inverse-matrix.jpg"><img class="alignnone size-medium wp-image-1516" title="an inverse matrix" src="http://bertspeelpenning.files.wordpress.com/2010/01/an-inverse-matrix.jpg?w=240&#038;h=74" alt="" width="240" height="74" /></a></p>
<p>I&#8217;m skipping a bunch of steps on purpose here, including non-trivial ones like how we would find this inverse matrix in the first place.  Here, my main interest is in recovering (imputing) the logic of the progression of topics and techniques in traditional textbooks of matrix algebra.</p>
<p>If square matrices come from systems of equations, where do the systems of equations come from?  In many textbooks, systems of equations are simply the starting point &#8211; they appear as if dropped from the sky.  Let&#8217;s take another look at the following comic strip (we encountered it earlier in <a href="http://unlearningmath.com/2009/01/25/math-in-the-comics-part-1/">this post</a>)</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2009/01/lft090125.gif"><img class="alignnone size-full wp-image-228" title="Foxtrot / Bill Mend / 2009 01 25" src="http://bertspeelpenning.files.wordpress.com/2009/01/lft090125.gif?w=600&#038;h=427" alt="" width="600" height="427" /></a></p>
<p>The brother in the strip can at least come up with a half-way reasonable scenario that might have given rise to the system of equations shown above.  In doing so, he is at a disadvantage: he has to make something up.  He&#8217;s working backwards.  He is making up a &#8220;story problem&#8221; working backwards from the system of equations.  You can&#8217;t blame him for coming up with something that &#8211; even though Paige can relate to it  &#8211; is still kind of lame.  In what real-life situation would you really know (and remember) the cost of two shirts and a sweater,  as well as the cost of one shirt and two sweaters &#8211; but not remember the price of each item?   If the price of a sweater and the price of a shirt are not known to us, and can be recovered only by solving a system of equations, it is only because they have been deliberately hidden from us &#8211; and what store would have any reason to do that?   But many people like puzzles, and we could view this as a puzzle, the type of puzzle we would call a math puzzle.</p>
<p>From the systems of equations and the matrices in math class, you might never ever guess that vast amounts of money and vast amounts of computer resources are used every day all across the world to perform matrix operations &#8211; operations on square matrices even, operations above and beyond the matrix-vector inner product stuff like pricing out orders in the way we saw in the prior parts of this series.</p>
<p>Let me end by sketching a somewhat more realistic example of a problem where you end up with a system of equations.  You test a sample of concrete that is supposed to have a certain amount of steel in it.  Concrete is cheap, and steel is expensive but crucial to the strength of the concrete.  Your supplier would have had incentives to skimp on the amount of steel used.  You know how much pure steel weighs per cubic inch, you know how much pure concrete weights per cubic inch, and you have measured the weight and the volume (cubic inches) of your sample.  What is the composition of your sample?</p>
<p>The structure of the concrete/steel problem isn&#8217;t all that different from the shirt/sweater problem.  It is different in that for the shirt/sweater problem you might simply call the store, or look them up on the web.  In the concrete/steel problem you might go ahead and destroy the sample to look at the steel inside, and this might well be a good thing to do.  Yet solving the system of equations would be a quick way to establish that there is insufficient steel in the concrete.</p>
<p>Testing the purity of drugs (whether the legal or illegal kind) can be done by similar techniques.</p>
<p>Do you have better examples of solving systems of equations?  The criteria I&#8217;m looking for are (1) that it&#8217;s real-life, and (2) easy to state for a non-specialist audience.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1509/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1509&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/01/27/groupings-shopping-lists-vectors-part-18/feed/</wfw:commentRss>
		<slash:comments>6</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/01/system-of-equations.jpg?w=300" medium="image">
			<media:title type="html">system of equations</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/equations-written-as-matrix-and-vectors.jpg?w=300" medium="image">
			<media:title type="html">equations written as matrix and vectors</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/an-inverse-matrix.jpg?w=300" medium="image">
			<media:title type="html">an inverse matrix</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2009/01/lft090125.gif" medium="image">
			<media:title type="html">Foxtrot / Bill Mend / 2009 01 25</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 17</title>
		<link>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/</link>
		<comments>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 02:21:40 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[representations]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1494</guid>
		<description><![CDATA[In this post I will show a full-fledged matrix multiplication done in a spreadsheet, Excel.  (This series starts here; two recent posts part 15 and part 16 introduce vector inner products done in Excel.) Above you see one approach, though not one I recommend.  First, let&#8217;s see what we&#8217;ve got here.  The blue section represents [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1494&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post I will show a full-fledged matrix multiplication done in a spreadsheet, Excel.  (This series starts <a href="http://unlearningmath.com/2009/12/15/groupings-shopping-lists-vectors-part-1/">here</a>; two recent posts <a href="http://unlearningmath.com/2010/01/12/groupings-shopping-lists-vectors-part-15/">part 15</a> and <a href="http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-16/">part 16</a> introduce vector inner products done in Excel.)</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-a.jpg"><img class="alignnone size-full wp-image-1495" title="matrix multiplication a" src="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-a.jpg?w=600" alt=""   /></a></p>
<p>Above you see one approach, though not one I recommend.  First, let&#8217;s see what we&#8217;ve got here.  The blue section represents the menu, containing price and nutritional information for a series of items.  The yellow section represents orders, the green section represents totals.  As before, I ignore taxes in the total price.  (Or if you prefer, the price shown is the price before sales tax).  Each section is what is called a matrix: it has rows and columns, and the meaning of each row as well as the meaning of each column is clear.</p>
<p>The blue matrix has 8 rows of numbers, and three columns of numbers; the yellow matrix has 8 rows of numbers and 2 columns of numbers; and the green matrix has three rows of numbers, and two columns of numbers.</p>
<p>What works about the spreadsheet above is that columns G and H work exactly the same way.  In fact, I can copy the whole column H and then right-click on column I and select &#8220;Insert Copied Cells&#8221; and I will get another column, with order amounts in yellow, and totals in green, and if I change the label from &#8220;Jerry&#8217;s order&#8221; to &#8220;Jane&#8217;s order&#8221;, and change the amounts from Jerry&#8217;s amounts to Jane&#8217;s amounts, then the totals for Jane will adjust themselves accordingly.  You can see how this works by looking at the formula in G13.  This formula is shown in the box right above the orange-highlighted G: it shows <em>=SUMPRODUCT($C$4:$C$11, G$4:G$11)</em>.   It calculates the inner product of the  price column with the order amount column, giving the total price.  This formula, when copied and pasted into H13, will land there as <em>=SUMPRODUCT($C$4:$C$11, H$4:H$11)</em>, which means it will still reference price information, but using Jerry&#8217;s order amounts.  So this is what works about the approach shown.</p>
<p>What doesn&#8217;t work very well about the approach shown above is that the formulas for G14 and G15 cannot be derived from the one in G13 by copy and paste.  Even though we tried very hard to protect the row numbers by typing $C$4 so that when we copy the formula downward Excel won&#8217;t mess up and turn it into C5:C12, we can&#8217;t get the column designation right.  Neither $C4 nor $C$4 works to get it to paste as D4.  This is not surprising.  Excel adjusts formulas by noticing how far over and down the target cell is from the source cell.  It has no way of guessing that you wanted the columns to advance as you move the cells down.  So in the spreadsheet shown above, what is typed into G14 is <em>=SUMPRODUCT($D$4:$D$11,G$4:G$11)</em> and in G15 we have <em>=SUMPRODUCT($E$4:$E$11, G$4:G$11)</em>.</p>
<p>Below, I show a set up that fits Excel&#8217;s way of doing things better, and just maybe this is easier for human beings as well.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-b.jpg"><img class="alignnone size-full wp-image-1498" title="matrix multiplication b" src="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-b.jpg?w=600&#038;h=501" alt="" width="600" height="501" /></a></p>
<p>If you focus on the totals matrix, in green, you see that it gets its columns from the blue matrix, and its rows from the yellow matrix.  The order matrix (yellow) is now 3 rows by 8 columns of numbers, the blue matrix is 8 rows by 3 columns of numbers, and the totals matrix is 3 rows by 3 columns of numbers.  Yet you can see clearly that the fact that the totals matrix has the same number of rows as columns is mostly coincidence: all it takes is adding or removing a single order, and the totals matrix changes its number of rows accordingly.  Conversely, if we were to add another column of, say, cholesterol data to the blue matrix, it would change the shape of the green matrix accordingly.  The green matrix has the same columns (not just the number of columns) as the blue matrix, and the same rows (not just the number of rows) of the yellow matrix.</p>
<p>I wish I could tell you that the content to be typed into Joe&#8217;s total price cell would be <em>=SUMPRODUCT(B13:I13,K4:K11)</em> &#8211; but Excel lets us down here.  Though Excel documentation (Office Excel 2007) suggests that SUMPRODUCT works on any two ranges of numbers as long as they are equally long, and though we&#8217;ve seen before that Excel will blithely calculate numbers without regard for whether they make any sense or not (we saw in the previous posts that Excel will gladly calculate the inner product of two orders), Excel nevertheless refuses to calculate the inner product of a row with a column using SUMPRODUCT.  That is too bad, and it is a restriction that I would consider to be a bug in the program.  Fortunately, you can see in the figure above that <em>=MMULT(B13:I13,K4:K11)</em> does the trick.  MMULT, which appears to stand for matrix multiplication, not only <em>accepts </em>that one range is a row and the other one is a column, it seems to <em>insist </em>on it.  We&#8217;re over the hump, though, and the road is downhill from here.  In thinking through the details of <em>=MMULT(B13:I13,K4:K11)</em> we can see that we want to protect the columns B through I, as they indicate the range of items on the menu: they should stay the same whether we are looking at Jane&#8217;s order or Jerry&#8217;s order, or whether we are looking at totals for the price or for the calories.  Similarly, we want to protect the rows 4 through 11, as they also indicate the range of items on the menu.  Conversely, we don&#8217;t want to protect row 13 or column K, as these are precisely the ones that should range freely from totals cell to totals cell.  This way, we end up with <em>=MMULT($B13:$I13,K$4:K$11)</em> as our formula for cell K13, and this formula can now indeed be copied and pasted into all the other cells of the totals matrix (green).</p>
<p>Perhaps a bit surprising, the traditional treatment of matrix multiplication in textbooks matches this latter arrangement.  When you multiply a matrix A times a matrix B, they would say, you get a matrix C with the same number of rows as matrix A and the same number of columns as matrix B.  They would say that to be able to multiply matrix A with matrix B at all, they must be <em>conforming</em>, which is a fancy way of saying that the number of columns of A must match the number of rows of B.  Some people like the visual image of dropping down the left matrix below the right matrix (but keeping it on the left) so that the shape of the result matrix (and the inner products that determine the value in each of its cells) can easily be seen.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-shape.jpg"><img class="alignnone size-full wp-image-1499" title="matrix multiplication shape" src="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-shape.jpg?w=600" alt=""   /></a></p>
<p>Some people have never even seen any kind of visual image, and are stuck with remembering some formula they learned in college, like <img src='http://s0.wp.com/latex.php?latex=c_%7Bij%7D+%3D+%5Csum_k+a_%7Bik%7D+%5Ctimes+b_%7Bkj%7D+&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='c_{ij} = &#92;sum_k a_{ik} &#92;times b_{kj} ' title='c_{ij} = &#92;sum_k a_{ik} &#92;times b_{kj} ' class='latex' /></p>
<p>How tough it must be to have any kind of real understanding of what you are doing and why, if all you learned was how to manipulate formulas like that.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1494&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-17/feed/</wfw:commentRss>
		<slash:comments>4</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/01/matrix-multiplication-a.jpg" medium="image">
			<media:title type="html">matrix multiplication a</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-b.jpg" medium="image">
			<media:title type="html">matrix multiplication b</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/matrix-multiplication-shape.jpg" medium="image">
			<media:title type="html">matrix multiplication shape</media:title>
		</media:content>
	</item>
		<item>
		<title>Groupings, Shopping Lists, Vectors: part 16</title>
		<link>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-16/</link>
		<comments>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-16/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:52:34 +0000</pubDate>
		<dc:creator>Bert Speelpenning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[denominations]]></category>
		<category><![CDATA[extending patterns]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[whole vs. parts]]></category>

		<guid isPermaLink="false">http://unlearningmath.com/?p=1483</guid>
		<description><![CDATA[This has become a long series, and we&#8217;re not done yet.  Here is where we started, looking for natural models that give power and flavor to the mathematical idea of a vector.  Since then, we&#8217;ve looked at vector inner products, matrices, matrix multiplication, and saw how they arise from relatively straightforward notions of grouping and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1483&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This has become a long series, and we&#8217;re not done yet.  <a href="http://unlearningmath.com/2009/12/15/groupings-shopping-lists-vectors-part-1/">Here</a> is where we started, looking for natural models that give power and flavor to the mathematical idea of a <em>vector</em>.  Since then, we&#8217;ve looked at vector inner products, matrices, matrix multiplication, and saw how they arise from relatively straightforward notions of grouping and keeping track of wholes with many parts.  In <a href="http://unlearningmath.com/2010/01/12/groupings-shopping-lists-vectors-part-15/">the last post</a>, I showed in an Excel spreadsheet how these ideas show up there.  My starting point for this post will be pricing out an order, from the last post, but without showing extended prices:</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/vector-multiplication-a1.jpg"><img class="alignnone size-full wp-image-1487" title="vector multiplication a" src="http://bertspeelpenning.files.wordpress.com/2010/01/vector-multiplication-a1.jpg?w=600" alt=""   /></a></p>
<p>The items are listed in the B column, the unit prices are listed in the C column, and Joe&#8217;s  order is in the D column.  From the amounts ordered, and the unit prices, the total for the order (ignoring taxes) is shown in the highlighted cell <em>D12</em>.  It shows $15.10.  Yet behind this number $15.10 is the formula that generated the number.  This formula is shown on top, just above the highlighted &#8220;D&#8221;.   The formula used is a variation of =<em>SUMPRODUCT(C4:C11, D4:D11)</em>.  This is Excel&#8217;s version of what we&#8217;ve seen as an inner product calculation.  If you look closely at the formula, you&#8217;ll see that it really says <em>=SUMPRODUCT(<span style="color:#ff6600;">$</span>C4:<span style="color:#ff6600;">$</span>C11,D4:D11)</em>.  This dollar symbol has a special meaning to Excel, and it has nothing to do with the fact that the result of 15.10 is a dollar amount.  Rather, Excel interprets the dollar sign as protecting or freezing the column number that follows.  This is important, not for calculating the contents of the cell <em>C12</em>, but when we copy this formula into another cell.</p>
<p>In this spreadsheet, I have copied cell <em>D12</em> into cell <em>E12</em>.  (This can be done by right-click on <em>D12</em>, selecting Copy, then right-click on <em>E12</em>, selecting Paste.  Alternatively, I can hit Control-C in <em>D12</em>, and Control-V in <em>E12</em>.  Yet another way is to drag the bottom right hand corner of the box around <em>D12</em> and extend it into <em>E12</em>.)  Excel&#8217;s way of copying formulas is clever, in that it assumes you don&#8217;t want another identical calculation resulting in $15.10, but that you want the calculation applied to a different set of numbers.  If I had typed in <em>=SUMPRODUCT(C4:C11,D4:D11)</em> in cell <em>D12</em> and then copied it into cell <em>E12</em>, it would have landed there as <em>=SUMPRODUCT(D4:D11,E4:E11)</em>.  This is not quite what I want.  What I want is for cell <em>E12</em> to be ready to give the total price for Jane&#8217;s order.  Instead, <em>=SUMPRODUCT(D4:D11,E4:E11)</em> would calculate the inner product of Joe&#8217;s order, and Jane&#8217;s order, a calculation for which I have no use.  What I want is for Excel to automatically modify the <em>D4:D11</em> in <em>=SUMPRODUCT(C4:C11,D4:D11)</em> to E4:E11, but to leave the <em>C4:C11</em> alone.  That is what the dollar symbol lets me express: <em>=SUMPRODUCT($C4:$C11,D4:D11)</em> tells Excel to leave the C&#8217;s alone, but the D&#8217;s should be modified based on where the formula is copied into.</p>
<p>In the same way you protect/freeze columns in formulas, you can also protect rows.  Here is a simple example, showing currency conversion.</p>
<p><a href="http://bertspeelpenning.files.wordpress.com/2010/01/vector-multiplication-b.jpg"><img class="alignnone size-full wp-image-1489" title="vector multiplication b" src="http://bertspeelpenning.files.wordpress.com/2010/01/vector-multiplication-b.jpg?w=600" alt=""   /></a></p>
<p>The cell <em>B18</em> contains the all-important currency conversion rate, here 1.05812 Canadian dollars for 1 US dollar.  The total amounts for Joe and Jane&#8217;s orders are shown in the C column, and the D column calculates the corresponding Canadian dollar amount.  The formula in cell <em>D19</em> is one I typed in; the formula in cell <em>D20</em> is copied directly from cell <em>D19</em>.  As you can see in the box above the highlighted D, the formula I typed in is <em>=B$18*C19</em>.  This formula tells two things: one, the number to show in cell <em>D19</em> is what you get from multiplying the numbers in <em>B18</em> and <em>C19</em>; two, when the formula is copied into a cell below, change the <em>C19</em> accordingly, but don&#8217;t change the 18 in <em>B18</em>.  Instead of entering <em>=B$18*C19</em>, I might have entered <em>=$B$18*C19</em>, and thus protected it from being copied into a cell anywhere, not just below.  The main point here is that Excel doesn&#8217;t know or care, and will blithely calculate what you tell it to, whether doing so makes sense or not.</p>
<p>The way the Canadian dollar vector (<em>D19:D20</em>) depends on the US dollar vector (<em>C19:C20</em>) is a very common and important pattern, it is a vector operation called &#8220;multiplying by a scalar&#8221;.  In this name, the word &#8220;scalar&#8221; refers to the single outside number 1.05812, the currency conversion rate.</p>
<p>In the next post in this series I will show an example of matrix multiplication done in Excel.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bertspeelpenning.wordpress.com/1483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bertspeelpenning.wordpress.com/1483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bertspeelpenning.wordpress.com/1483/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unlearningmath.com&amp;blog=5951213&amp;post=1483&amp;subd=bertspeelpenning&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unlearningmath.com/2010/01/24/groupings-shopping-lists-vectors-part-16/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/01/vector-multiplication-a1.jpg" medium="image">
			<media:title type="html">vector multiplication a</media:title>
		</media:content>

		<media:content url="http://bertspeelpenning.files.wordpress.com/2010/01/vector-multiplication-b.jpg" medium="image">
			<media:title type="html">vector multiplication b</media:title>
		</media:content>
	</item>
	</channel>
</rss>
