Mike's lecture on vector spaces and dual spaces: Difference between revisions

Wikispaces>mbattaglia1
**Imported revision 326009042 - Original comment: **
Wikispaces>mbattaglia1
**Imported revision 326015976 - Original comment: **
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2012-04-27 09:58:31 UTC</tt>.<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2012-04-27 10:14:49 UTC</tt>.<br>
: The original revision id was <tt>326009042</tt>.<br>
: The original revision id was <tt>326015976</tt>.<br>
: The revision comment was: <tt></tt><br>
: The revision comment was: <tt></tt><br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
<h4>Original Wikitext content:</h4>
<h4>Original Wikitext content:</h4>
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">=[[media type="custom" key="15539114"]]=  
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">=[[media type="custom" key="15539114"]]=  
[[toc]]
$$
$$
\newcommand{\bra}[1]{\left \langle #1 \right |}
\newcommand{\bra}[1]{\left \langle #1 \right |}
Line 18: Line 19:
$$
$$


=LECTURE 1: Vector Spaces and Dual Spaces=  
=__LECTURE 1: Vector Spaces and Dual Spaces__=  
&lt;span style="display: block; text-align: center;"&gt;&lt;span class="MathJax"&gt;&lt;span class="math"&gt;&lt;span style="clip: rect(1.72em 1000em 2.742em -0.558em); display: inline-block; font-size: 120%; height: 0px; left: 0em; position: absolute; top: -2.538em; width: 1.731em;"&gt;&lt;span class="mrow"&gt;&lt;span class="mi" style="font-family: MathJax_Math;"&gt;//test//&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="display: block; text-align: center;"&gt;&lt;span class="MathJax"&gt;&lt;span class="math"&gt;&lt;span style="clip: rect(1.72em 1000em 2.742em -0.558em); display: inline-block; font-size: 120%; height: 0px; left: 0em; position: absolute; top: -2.538em; width: 1.731em;"&gt;&lt;span class="mrow"&gt;&lt;span class="mi" style="font-family: MathJax_Math;"&gt;//test//&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
If you haven't seen monzos or vals before and are totally confused, please read the pages on [[xenharmonic/Monzos|Monzos]] and [[xenharmonic/Vals|Vals]] first!
If you haven't seen monzos or vals before and are totally confused, please read the pages on [[xenharmonic/Monzos|Monzos]] and [[xenharmonic/Vals|Vals]] first!
Line 30: Line 31:
Assuming you understand that, then we've reached our first new idea, which will help us gain a geometric intuition into what some of these abstract entities mean. That idea, which will enable us to rediscover vals and monzos in a much stronger mathematical and geometric context, is this:
Assuming you understand that, then we've reached our first new idea, which will help us gain a geometric intuition into what some of these abstract entities mean. That idea, which will enable us to rediscover vals and monzos in a much stronger mathematical and geometric context, is this:


----
==1.1: A monzo can be viewed as a **VECTOR** in a **VECTOR SPACE**.==  
==1.1: A monzo can be viewed as a **VECTOR** in a **VECTOR SPACE**.==  


Line 58: Line 60:
OK, so how do we use these things?
OK, so how do we use these things?


&lt;span style="color: #aaaaaa;"&gt;
&lt;/span&gt;
----
==1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)==  
==1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)==  


Line 84: Line 89:
So, if you mechanically work out the way that you'd compute how many steps 81/80 is in 12-EDO, you get 0 steps, meaning you're back at 1/1 and hence tempered out. No surprise there.
So, if you mechanically work out the way that you'd compute how many steps 81/80 is in 12-EDO, you get 0 steps, meaning you're back at 1/1 and hence tempered out. No surprise there.


But, if you really think about it, what you've also just done is evaluate the expression \(12*\-4 + 19*4 + 28*\-1): down four (possibly tempered) octaves, up four tempered tritaves, down a tempered 5/1, see what the result is. This is the same exact thing as multiplying out \(\braket{12 \s 19 \s 28}{\-4 \s 4 \s -1}\). Looks like you've just seemingly applied \(\bra{12 \s 19 \s 18}\) to \(\ket{\-4 \s 4 \s \-1}\).
But, if you really think about it, what you've also just done is evaluate the expression \(12*\-4 + 19*4 + 28*\-1\): down four (possibly tempered) octaves, up four tempered tritaves, down a tempered 5/1, see what the result is. This is the same exact thing as multiplying out \(\braket{12 \s 19 \s 28}{\-4 \s 4 \s -1}\). Looks like you've just seemingly applied \(\bra{12 \s 19 \s 18}\) to \(\ket{\-4 \s 4 \s \-1}\).


OK, so that's kind of neat. Now what?
So you already knew that intervals like 81/80, if placed in monzo form, can be viewed as vectors. In light of the above example, it's now starting to look pretty clear that equal temperament mappings, if placed in val form, can be viewed as covectors.


In fact, this is exactly what's going on. Vals are simply covectors acting on the space of monzos. Once you invent monzos and decide that they're vectors, the laws of mathematics set themselves up so that you get vals as covectors for free.&lt;span style="font-size: 80%; vertical-align: super;"&gt;[[Mike's Lecture on Vector Spaces and Dual Spaces#ref2|{2}]]&lt;/span&gt; Very nice!
But where do we go with this realization?
&lt;span style="color: #aaaaaa;"&gt;
&lt;/span&gt;
----
==1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)==  
==1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)==  


Assuming you've understood my exposition thus far, you now hopefully see where all things like monzos and vals come from.
Assuming you've understood my exposition thus far, you now hopefully see where all things like monzos and vals come from.


* - Monzos, straightforwardly, are elements in a vector space - they're vectors - like the spaces you learned in high school algebra.  
* Monzos, straightforwardly, are elements in a vector space - they're vectors - like the spaces you learned in high school algebra.
* - Vals, straightforwardly, are elements in the "dual space" to that space - they're covectors - which is the new thing you just learned about and which you'd end up learning in college linear algebra.
* Vals, straightforwardly, are elements in the "dual space" to that space - they're covectors - which is the new thing you just learned about and which you'd end up learning in college linear algebra.


Also, hopefully, now you see that this whole \(\brakettext{covector}{vector}\) thing is just a mathematical representation of the mechanical process you'd be doing if you sat down in scala for a while and stacked and subtracted intervals and figured out what you end up arriving at in some EDO. In other words, \(\bra{12 \s 19 \s 28}\) is just a little machine that takes in JI intervals and spits out steps, and the mathematical name for this sort of little machine is "covector." Very nice!
Also, hopefully, now you see that this whole \(\brakettext{covector}{vector}\) thing is just a mathematical representation of the mechanical process you'd be doing if you sat down in scala for a while and stacked and subtracted intervals and figured out what you end up arriving at in some EDO. In other words, \(\bra{12 \s 19 \s 28}\) is just a little machine that takes in JI intervals and spits out steps, and the mathematical name for this sort of little machine is "covector." Very nice!


Now, historically speaking, the concept of taking JI intervals and treating them like vectors isn't new. Theorists have been doing that for years and years. Neither Paul nor Gene nor Graham nor Joe Monzo nor anyone I know first came up with the concept of plotting JI intervals as vectors on a JI lattice.
Now, historically speaking, the concept of taking JI intervals and treating them like vectors isn't new. Theorists have been doing that for years and years. Neither Paul nor Gene nor Graham nor Joe Monzo nor anyone I know first came up with the concept of plotting JI intervals as vectors on a JI lattice.
Line 106: Line 117:
Well, if there's one thing mathematicians know a lot of random crap about, it's vectors and covectors. They've been exploring manipulations of these sorts of objects for literally thousands of years under the moniker of "linear algebra." These objects may be new to music theory, but they're definitely not new to math. And since mathematics has concerned itself for such a long time with manipulating covectors and vectors, we can simply take some of the techniques that mathematicians have developed to do so, and apply them here, in a musical context. Some of these linear-algebraic manipulations may seem to have no musical purpose at all. Others do. Others may seem to have no purpose at all, at first, and then end up having a purpose that strikes you in a flash after a little bit of thought.
Well, if there's one thing mathematicians know a lot of random crap about, it's vectors and covectors. They've been exploring manipulations of these sorts of objects for literally thousands of years under the moniker of "linear algebra." These objects may be new to music theory, but they're definitely not new to math. And since mathematics has concerned itself for such a long time with manipulating covectors and vectors, we can simply take some of the techniques that mathematicians have developed to do so, and apply them here, in a musical context. Some of these linear-algebraic manipulations may seem to have no musical purpose at all. Others do. Others may seem to have no purpose at all, at first, and then end up having a purpose that strikes you in a flash after a little bit of thought.


One of the manipulations that would appear to be totally useless is a deceptively simple extension of all of this called **exterior algebra**. It introduces a single product, called the **wedge product**, and you can multiply vectors together using this in a similar sort of way that you'd multiply polynomials on paper in high school algebra or something. It also introduces a new type of object, called a "multivector" - defined as the product of vectors. This is one of those things that seems totally useless unless you're [[Gene Ward Smith|Gene Smith]], at which point you realize that multivals represent higher-rank temperaments, and that this random field of mathematics has a rather musical interpretation.
One of the manipulations that would appear to be totally useless is a deceptively simple extension of all of this called **exterior algebra**. It introduces a single product, called the **wedge product**, and you can multiply vectors together using this in a similar sort of way that you'd multiply polynomials on paper in high school algebra or something. It also introduces a new type of object, called a **multivector** - defined as the product of vectors. These will be seen to represent temperaments.&lt;span style="font-size: 80%; vertical-align: super;"&gt;[[Mike's Lecture on Vector Spaces and Dual Spaces#ref2|{2}]]&lt;/span&gt;
 
Another manipulation that might appear to be useless is, rather than to generalize vectors to multivectors, to generalize them to **matrices** - we can view vectors/monzos as column matrices, and covectors/vals as row matrices, and arrive at many of the same concepts above, but from this different approach. Instead of multiplying vectors together with a special multiplication operation, we can concatenate them into matrices which also represent temperaments.


So then, how do we continue? Obviously higher-rank temperaments are things we care about: we can't just stop at vals and leave it at that. Now that you're here, there are basically two different paths you can go down, both of which are basically the same exact thing:
So then, how do we continue? Well, there are basically two different paths you can go down, both of which are basically the same exact thing:


1) The exterior algebra/"wedgie" route, a la Gene.
1) The exterior algebra/"wedgie" route, a la [[Gene Ward Smith|Gene Smith]].
2) The matrix algebra/"mapping" route, a la Graham Breed.
2) The matrix algebra/"mapping" route, a la [[Graham Breed]].


Both of these have different strengths. Gene's approach I find to be remarkably elegant in a certain kind of way, in that multivectors are very intuitive objects to think about. Graham's approach, on the other hand, isn't quite as "elegant," but may be a bit simpler to work out and immediately glean information from - mapping matrices are a bit easier to understand than wedgies.
Both of these have different strengths. Gene's approach I find to be remarkably elegant in a certain kind of way, in that multivectors are very intuitive objects to think about. Graham's approach, on the other hand, isn't quite as "elegant," but may be a bit simpler to work out and immediately glean information from - mapping matrices are a bit easier to understand than wedgies.


We'll cover both of these eventually. But first, we'll need to dig deeper into what, exactly, temperaments "are," conceptually. Stay tuned for that...
We'll cover both of these eventually. But first, we'll need to dig deeper into what, exactly, temperaments "are," conceptually. That'll be the next lecture.
 
 
 
 
 
 
 
----
 


&lt;span style="font-size: 90%; vertical-align: sub;"&gt;[[#ref1]][1] - Note that some have raised technical concerns about this operation being called the "dot product," insisting that the dot product is something that's only done between two vectors, or two covectors, but never between one covector and one vector. Another term that's sometimes been used for this product in the "**bracket product**", for reasons we don't need to get into here. However, confusingly, the term bracket product has also been used for the ordinary dot product, and it's also very common to hear people call the thing I'm calling the dot product above. It's best at this point to just know that the two terms are out there. I'm going to continue calling it the dot product since its' something more people are familiar with.&lt;/span&gt;


[[#ref1]][1] - Note that some have raised technical concerns about this operation being called the "dot product," insisting that the dot product is something that's only done between two vectors, or two covectors, but never between one covector and one vector. Another term that's sometimes been used for this product in the "**bracket product**", for reasons we don't need to get into here. However, confusingly, the term bracket product has also been used for the ordinary dot product, and it's also very common to hear people call the thing I'm calling the dot product above. It's best at this point to just know that the two terms are out there. I'm going to continue calling it the dot product since its' something more people are familiar with.
&lt;span style="font-size: 90%;"&gt;[[#ref2]][2] - As we'll soon see, vals aren't the only sorts of covectors there are. There's another way to interpret the space of covectors, which is as "**tuning maps**" which assign an actual tuning value in cents to the intervals in a temperament. But we're not there yet, so all you need to concern yourself with at this point is vals as covectors and monzos as vectors.&lt;/span&gt;


&lt;span style="font-size: 90%;"&gt;[[#ref3]][3] - This is one of those things that seems totally useless unless you're [[Gene Ward Smith|Gene Smith]], at which point you realize that multivals represent higher-rank temperaments, and that this random field of mathematics has a rather musical interpretation.&lt;/span&gt;


[[media type="custom" key="15538202"]]</pre></div>
[[media type="custom" key="15538202"]]</pre></div>
Line 131: Line 155:
//]]&gt;
//]]&gt;
&lt;/script&gt;&lt;!-- ws:end:WikiTextMediaRule:0 --&gt;&lt;/h1&gt;
&lt;/script&gt;&lt;!-- ws:end:WikiTextMediaRule:0 --&gt;&lt;/h1&gt;
  $$&lt;br /&gt;
  &lt;!-- ws:start:WikiTextTocRule:16:&amp;lt;img id=&amp;quot;wikitext@@toc@@normal&amp;quot; class=&amp;quot;WikiMedia WikiMediaToc&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/normal?w=225&amp;amp;h=100&amp;quot;/&amp;gt; --&gt;&lt;div id="toc"&gt;&lt;h1 class="nopad"&gt;Table of Contents&lt;/h1&gt;&lt;!-- ws:end:WikiTextTocRule:16 --&gt;&lt;!-- ws:start:WikiTextTocRule:17: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#toc0"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:17 --&gt;&lt;!-- ws:start:WikiTextTocRule:18: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#LECTURE 1: Vector Spaces and Dual Spaces"&gt;LECTURE 1: Vector Spaces and Dual Spaces&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:18 --&gt;&lt;!-- ws:start:WikiTextTocRule:19: --&gt;&lt;div style="margin-left: 2em;"&gt;&lt;a href="#LECTURE 1: Vector Spaces and Dual Spaces-1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE."&gt;1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE.&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:19 --&gt;&lt;!-- ws:start:WikiTextTocRule:20: --&gt;&lt;div style="margin-left: 6em;"&gt;&lt;a href="#LECTURE 1: Vector Spaces and Dual Spaces-1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE.----For example: say your covector is \((12,19,28)^*\) (the star means it's in the dual space), and your vector is \((\-4,4,\-1)\), then the dot product{1} of the two is \(12 \cdot \-4 + 19 \cdot 4 + 28 \cdot \-1 = 0\). Thus, the result of \((12,19,28)^*\) acting on \((\-4,4,\-1)\) is \(0\)."&gt;For example: say your covector is \((12,19,28)^*\) (the star means it's in the dual space), and your vector is \((\-4,4,\-1)\), then the dot product{1} of the two is \(12 \cdot \-4 + 19 \cdot 4 + 28 \cdot \-1 = 0\). Thus, the result of \((12,19,28)^*\) acting on \((\-4,4,\-1)\) is \(0\).&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:20 --&gt;&lt;!-- ws:start:WikiTextTocRule:21: --&gt;&lt;div style="margin-left: 2em;"&gt;&lt;a href="#LECTURE 1: Vector Spaces and Dual Spaces-1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)"&gt;1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:21 --&gt;&lt;!-- ws:start:WikiTextTocRule:22: --&gt;&lt;div style="margin-left: 2em;"&gt;&lt;a href="#LECTURE 1: Vector Spaces and Dual Spaces-1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)"&gt;1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:22 --&gt;&lt;!-- ws:start:WikiTextTocRule:23: --&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:23 --&gt;$$&lt;br /&gt;
\newcommand{\bra}[1]{\left \langle #1 \right |}&lt;br /&gt;
\newcommand{\bra}[1]{\left \langle #1 \right |}&lt;br /&gt;
\newcommand{\ket}[1]{\left |#1 \right \rangle}&lt;br /&gt;
\newcommand{\ket}[1]{\left |#1 \right \rangle}&lt;br /&gt;
Line 142: Line 173:
$$&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:6:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc1"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:6 --&gt;LECTURE 1: Vector Spaces and Dual Spaces&lt;/h1&gt;
&lt;!-- ws:start:WikiTextHeadingRule:6:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc1"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:6 --&gt;&lt;u&gt;LECTURE 1: Vector Spaces and Dual Spaces&lt;/u&gt;&lt;/h1&gt;
  &lt;span style="display: block; text-align: center;"&gt;&lt;span class="MathJax"&gt;&lt;span class="math"&gt;&lt;span style="clip: rect(1.72em 1000em 2.742em -0.558em); display: inline-block; font-size: 120%; height: 0px; left: 0em; position: absolute; top: -2.538em; width: 1.731em;"&gt;&lt;span class="mrow"&gt;&lt;span style="font-family: MathJax_Math;" class="mi"&gt;&lt;em&gt;test&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  &lt;span style="display: block; text-align: center;"&gt;&lt;span class="MathJax"&gt;&lt;span class="math"&gt;&lt;span style="clip: rect(1.72em 1000em 2.742em -0.558em); display: inline-block; font-size: 120%; height: 0px; left: 0em; position: absolute; top: -2.538em; width: 1.731em;"&gt;&lt;span class="mrow"&gt;&lt;span style="font-family: MathJax_Math;" class="mi"&gt;&lt;em&gt;test&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
If you haven't seen monzos or vals before and are totally confused, please read the pages on &lt;a class="wiki_link" href="http://xenharmonic.wikispaces.com/Monzos"&gt;Monzos&lt;/a&gt; and &lt;a class="wiki_link" href="http://xenharmonic.wikispaces.com/Vals"&gt;Vals&lt;/a&gt; first!&lt;br /&gt;
If you haven't seen monzos or vals before and are totally confused, please read the pages on &lt;a class="wiki_link" href="http://xenharmonic.wikispaces.com/Monzos"&gt;Monzos&lt;/a&gt; and &lt;a class="wiki_link" href="http://xenharmonic.wikispaces.com/Vals"&gt;Vals&lt;/a&gt; first!&lt;br /&gt;
Line 154: Line 185:
Assuming you understand that, then we've reached our first new idea, which will help us gain a geometric intuition into what some of these abstract entities mean. That idea, which will enable us to rediscover vals and monzos in a much stronger mathematical and geometric context, is this:&lt;br /&gt;
Assuming you understand that, then we've reached our first new idea, which will help us gain a geometric intuition into what some of these abstract entities mean. That idea, which will enable us to rediscover vals and monzos in a much stronger mathematical and geometric context, is this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:8:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc2"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE."&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:8 --&gt;1.1: A monzo can be viewed as a &lt;strong&gt;VECTOR&lt;/strong&gt; in a &lt;strong&gt;VECTOR SPACE&lt;/strong&gt;.&lt;/h2&gt;
&lt;!-- ws:start:WikiTextHeadingRule:8:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc2"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE."&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:8 --&gt;1.1: A monzo can be viewed as a &lt;strong&gt;VECTOR&lt;/strong&gt; in a &lt;strong&gt;VECTOR SPACE&lt;/strong&gt;.&lt;/h2&gt;
  &lt;br /&gt;
  &lt;br /&gt;
Line 184: Line 216:
OK, so how do we use these things?&lt;br /&gt;
OK, so how do we use these things?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #aaaaaa;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:12:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc4"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:12 --&gt;1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)&lt;/h2&gt;
&lt;!-- ws:start:WikiTextHeadingRule:12:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc4"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:12 --&gt;1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)&lt;/h2&gt;
  &lt;br /&gt;
  &lt;br /&gt;
Line 207: Line 242:
So, if you mechanically work out the way that you'd compute how many steps 81/80 is in 12-EDO, you get 0 steps, meaning you're back at 1/1 and hence tempered out. No surprise there.&lt;br /&gt;
So, if you mechanically work out the way that you'd compute how many steps 81/80 is in 12-EDO, you get 0 steps, meaning you're back at 1/1 and hence tempered out. No surprise there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But, if you really think about it, what you've also just done is evaluate the expression \(12*\-4 + 19*4 + 28*\-1): down four (possibly tempered) octaves, up four tempered tritaves, down a tempered 5/1, see what the result is. This is the same exact thing as multiplying out \(\braket{12 \s 19 \s 28}{\-4 \s 4 \s -1}\). Looks like you've just seemingly applied \(\bra{12 \s 19 \s 18}\) to \(\ket{\-4 \s 4 \s \-1}\).&lt;br /&gt;
But, if you really think about it, what you've also just done is evaluate the expression \(12*\-4 + 19*4 + 28*\-1\): down four (possibly tempered) octaves, up four tempered tritaves, down a tempered 5/1, see what the result is. This is the same exact thing as multiplying out \(\braket{12 \s 19 \s 28}{\-4 \s 4 \s -1}\). Looks like you've just seemingly applied \(\bra{12 \s 19 \s 18}\) to \(\ket{\-4 \s 4 \s \-1}\).&lt;br /&gt;
&lt;br /&gt;
So you already knew that intervals like 81/80, if placed in monzo form, can be viewed as vectors. In light of the above example, it's now starting to look pretty clear that equal temperament mappings, if placed in val form, can be viewed as covectors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK, so that's kind of neat. Now what?&lt;br /&gt;
In fact, this is exactly what's going on. Vals are simply covectors acting on the space of monzos. Once you invent monzos and decide that they're vectors, the laws of mathematics set themselves up so that you get vals as covectors for free.&lt;span style="font-size: 80%; vertical-align: super;"&gt;&lt;a class="wiki_link" href="/Mike%27s%20Lecture%20on%20Vector%20Spaces%20and%20Dual%20Spaces#ref2"&gt;{2}&lt;/a&gt;&lt;/span&gt; Very nice!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But where do we go with this realization?&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #aaaaaa;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:14:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc5"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:14 --&gt;1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)&lt;/h2&gt;
&lt;!-- ws:start:WikiTextHeadingRule:14:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc5"&gt;&lt;a name="LECTURE 1: Vector Spaces and Dual Spaces-1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:14 --&gt;1.3: Why the fact that covectors mean stuff matters. (OR: PREPARE FOR WEDGIE)&lt;/h2&gt;
  &lt;br /&gt;
  &lt;br /&gt;
Assuming you've understood my exposition thus far, you now hopefully see where all things like monzos and vals come from.&lt;br /&gt;
Assuming you've understood my exposition thus far, you now hopefully see where all things like monzos and vals come from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;- Monzos, straightforwardly, are elements in a vector space - they're vectors - like the spaces you learned in high school algebra.&lt;/li&gt;&lt;li&gt;- Vals, straightforwardly, are elements in the &amp;quot;dual space&amp;quot; to that space - they're covectors - which is the new thing you just learned about and which you'd end up learning in college linear algebra.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Monzos, straightforwardly, are elements in a vector space - they're vectors - like the spaces you learned in high school algebra.&lt;/li&gt;&lt;li&gt;Vals, straightforwardly, are elements in the &amp;quot;dual space&amp;quot; to that space - they're covectors - which is the new thing you just learned about and which you'd end up learning in college linear algebra.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Also, hopefully, now you see that this whole \(\brakettext{covector}{vector}\) thing is just a mathematical representation of the mechanical process you'd be doing if you sat down in scala for a while and stacked and subtracted intervals and figured out what you end up arriving at in some EDO. In other words, \(\bra{12 \s 19 \s 28}\) is just a little machine that takes in JI intervals and spits out steps, and the mathematical name for this sort of little machine is &amp;quot;covector.&amp;quot; Very nice!&lt;br /&gt;
Also, hopefully, now you see that this whole \(\brakettext{covector}{vector}\) thing is just a mathematical representation of the mechanical process you'd be doing if you sat down in scala for a while and stacked and subtracted intervals and figured out what you end up arriving at in some EDO. In other words, \(\bra{12 \s 19 \s 28}\) is just a little machine that takes in JI intervals and spits out steps, and the mathematical name for this sort of little machine is &amp;quot;covector.&amp;quot; Very nice!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, historically speaking, the concept of taking JI intervals and treating them like vectors isn't new. Theorists have been doing that for years and years. Neither Paul nor Gene nor Graham nor Joe Monzo nor anyone I know first came up with the concept of plotting JI intervals as vectors on a JI lattice.&lt;br /&gt;
Now, historically speaking, the concept of taking JI intervals and treating them like vectors isn't new. Theorists have been doing that for years and years. Neither Paul nor Gene nor Graham nor Joe Monzo nor anyone I know first came up with the concept of plotting JI intervals as vectors on a JI lattice.&lt;br /&gt;
Line 227: Line 268:
Well, if there's one thing mathematicians know a lot of random crap about, it's vectors and covectors. They've been exploring manipulations of these sorts of objects for literally thousands of years under the moniker of &amp;quot;linear algebra.&amp;quot; These objects may be new to music theory, but they're definitely not new to math. And since mathematics has concerned itself for such a long time with manipulating covectors and vectors, we can simply take some of the techniques that mathematicians have developed to do so, and apply them here, in a musical context. Some of these linear-algebraic manipulations may seem to have no musical purpose at all. Others do. Others may seem to have no purpose at all, at first, and then end up having a purpose that strikes you in a flash after a little bit of thought.&lt;br /&gt;
Well, if there's one thing mathematicians know a lot of random crap about, it's vectors and covectors. They've been exploring manipulations of these sorts of objects for literally thousands of years under the moniker of &amp;quot;linear algebra.&amp;quot; These objects may be new to music theory, but they're definitely not new to math. And since mathematics has concerned itself for such a long time with manipulating covectors and vectors, we can simply take some of the techniques that mathematicians have developed to do so, and apply them here, in a musical context. Some of these linear-algebraic manipulations may seem to have no musical purpose at all. Others do. Others may seem to have no purpose at all, at first, and then end up having a purpose that strikes you in a flash after a little bit of thought.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the manipulations that would appear to be totally useless is a deceptively simple extension of all of this called &lt;strong&gt;exterior algebra&lt;/strong&gt;. It introduces a single product, called the &lt;strong&gt;wedge product&lt;/strong&gt;, and you can multiply vectors together using this in a similar sort of way that you'd multiply polynomials on paper in high school algebra or something. It also introduces a new type of object, called a &amp;quot;multivector&amp;quot; - defined as the product of vectors. This is one of those things that seems totally useless unless you're &lt;a class="wiki_link" href="/Gene%20Ward%20Smith"&gt;Gene Smith&lt;/a&gt;, at which point you realize that multivals represent higher-rank temperaments, and that this random field of mathematics has a rather musical interpretation.&lt;br /&gt;
One of the manipulations that would appear to be totally useless is a deceptively simple extension of all of this called &lt;strong&gt;exterior algebra&lt;/strong&gt;. It introduces a single product, called the &lt;strong&gt;wedge product&lt;/strong&gt;, and you can multiply vectors together using this in a similar sort of way that you'd multiply polynomials on paper in high school algebra or something. It also introduces a new type of object, called a &lt;strong&gt;multivector&lt;/strong&gt; - defined as the product of vectors. These will be seen to represent temperaments.&lt;span style="font-size: 80%; vertical-align: super;"&gt;&lt;a class="wiki_link" href="/Mike%27s%20Lecture%20on%20Vector%20Spaces%20and%20Dual%20Spaces#ref2"&gt;{2}&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Another manipulation that might appear to be useless is, rather than to generalize vectors to multivectors, to generalize them to &lt;strong&gt;matrices&lt;/strong&gt; - we can view vectors/monzos as column matrices, and covectors/vals as row matrices, and arrive at many of the same concepts above, but from this different approach. Instead of multiplying vectors together with a special multiplication operation, we can concatenate them into matrices which also represent temperaments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So then, how do we continue? Obviously higher-rank temperaments are things we care about: we can't just stop at vals and leave it at that. Now that you're here, there are basically two different paths you can go down, both of which are basically the same exact thing:&lt;br /&gt;
So then, how do we continue? Well, there are basically two different paths you can go down, both of which are basically the same exact thing:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) The exterior algebra/&amp;quot;wedgie&amp;quot; route, a la Gene.&lt;br /&gt;
1) The exterior algebra/&amp;quot;wedgie&amp;quot; route, a la &lt;a class="wiki_link" href="/Gene%20Ward%20Smith"&gt;Gene Smith&lt;/a&gt;.&lt;br /&gt;
2) The matrix algebra/&amp;quot;mapping&amp;quot; route, a la Graham Breed.&lt;br /&gt;
2) The matrix algebra/&amp;quot;mapping&amp;quot; route, a la &lt;a class="wiki_link" href="/Graham%20Breed"&gt;Graham Breed&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Both of these have different strengths. Gene's approach I find to be remarkably elegant in a certain kind of way, in that multivectors are very intuitive objects to think about. Graham's approach, on the other hand, isn't quite as &amp;quot;elegant,&amp;quot; but may be a bit simpler to work out and immediately glean information from - mapping matrices are a bit easier to understand than wedgies.&lt;br /&gt;
Both of these have different strengths. Gene's approach I find to be remarkably elegant in a certain kind of way, in that multivectors are very intuitive objects to think about. Graham's approach, on the other hand, isn't quite as &amp;quot;elegant,&amp;quot; but may be a bit simpler to work out and immediately glean information from - mapping matrices are a bit easier to understand than wedgies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We'll cover both of these eventually. But first, we'll need to dig deeper into what, exactly, temperaments &amp;quot;are,&amp;quot; conceptually. Stay tuned for that...&lt;br /&gt;
We'll cover both of these eventually. But first, we'll need to dig deeper into what, exactly, temperaments &amp;quot;are,&amp;quot; conceptually. That'll be the next lecture.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 90%; vertical-align: sub;"&gt;&lt;!-- ws:start:WikiTextAnchorRule:24:&amp;lt;img src=&amp;quot;/i/anchor.gif&amp;quot; class=&amp;quot;WikiAnchor&amp;quot; alt=&amp;quot;Anchor&amp;quot; id=&amp;quot;wikitext@@anchor@@ref1&amp;quot; title=&amp;quot;Anchor: ref1&amp;quot;/&amp;gt; --&gt;&lt;a name="ref1"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextAnchorRule:24 --&gt;[1] - Note that some have raised technical concerns about this operation being called the &amp;quot;dot product,&amp;quot; insisting that the dot product is something that's only done between two vectors, or two covectors, but never between one covector and one vector. Another term that's sometimes been used for this product in the &amp;quot;&lt;strong&gt;bracket product&lt;/strong&gt;&amp;quot;, for reasons we don't need to get into here. However, confusingly, the term bracket product has also been used for the ordinary dot product, and it's also very common to hear people call the thing I'm calling the dot product above. It's best at this point to just know that the two terms are out there. I'm going to continue calling it the dot product since its' something more people are familiar with.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextAnchorRule:16:&amp;lt;img src=&amp;quot;/i/anchor.gif&amp;quot; class=&amp;quot;WikiAnchor&amp;quot; alt=&amp;quot;Anchor&amp;quot; id=&amp;quot;wikitext@@anchor@@ref1&amp;quot; title=&amp;quot;Anchor: ref1&amp;quot;/&amp;gt; --&gt;&lt;a name="ref1"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextAnchorRule:16 --&gt;[1] - Note that some have raised technical concerns about this operation being called the &amp;quot;dot product,&amp;quot; insisting that the dot product is something that's only done between two vectors, or two covectors, but never between one covector and one vector. Another term that's sometimes been used for this product in the &amp;quot;&lt;strong&gt;bracket product&lt;/strong&gt;&amp;quot;, for reasons we don't need to get into here. However, confusingly, the term bracket product has also been used for the ordinary dot product, and it's also very common to hear people call the thing I'm calling the dot product above. It's best at this point to just know that the two terms are out there. I'm going to continue calling it the dot product since its' something more people are familiar with.&lt;br /&gt;
&lt;span style="font-size: 90%;"&gt;&lt;!-- ws:start:WikiTextAnchorRule:25:&amp;lt;img src=&amp;quot;/i/anchor.gif&amp;quot; class=&amp;quot;WikiAnchor&amp;quot; alt=&amp;quot;Anchor&amp;quot; id=&amp;quot;wikitext@@anchor@@ref2&amp;quot; title=&amp;quot;Anchor: ref2&amp;quot;/&amp;gt; --&gt;&lt;a name="ref2"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextAnchorRule:25 --&gt;[2] - As we'll soon see, vals aren't the only sorts of covectors there are. There's another way to interpret the space of covectors, which is as &amp;quot;&lt;strong&gt;tuning maps&lt;/strong&gt;&amp;quot; which assign an actual tuning value in cents to the intervals in a temperament. But we're not there yet, so all you need to concern yourself with at this point is vals as covectors and monzos as vectors.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 90%;"&gt;&lt;!-- ws:start:WikiTextAnchorRule:26:&amp;lt;img src=&amp;quot;/i/anchor.gif&amp;quot; class=&amp;quot;WikiAnchor&amp;quot; alt=&amp;quot;Anchor&amp;quot; id=&amp;quot;wikitext@@anchor@@ref3&amp;quot; title=&amp;quot;Anchor: ref3&amp;quot;/&amp;gt; --&gt;&lt;a name="ref3"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextAnchorRule:26 --&gt;[3] - This is one of those things that seems totally useless unless you're &lt;a class="wiki_link" href="/Gene%20Ward%20Smith"&gt;Gene Smith&lt;/a&gt;, at which point you realize that multivals represent higher-rank temperaments, and that this random field of mathematics has a rather musical interpretation.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextMediaRule:3:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15538202?h=0&amp;amp;w=0&amp;quot; class=&amp;quot;WikiMedia WikiMediaCustom&amp;quot; id=&amp;quot;wikitext@@media@@type=&amp;amp;quot;custom&amp;amp;quot; key=&amp;amp;quot;15538202&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;script type="text/javascript"&gt;
&lt;!-- ws:start:WikiTextMediaRule:3:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15538202?h=0&amp;amp;w=0&amp;quot; class=&amp;quot;WikiMedia WikiMediaCustom&amp;quot; id=&amp;quot;wikitext@@media@@type=&amp;amp;quot;custom&amp;amp;quot; key=&amp;amp;quot;15538202&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;script type="text/javascript"&gt;