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

Wikispaces>mbattaglia1
**Imported revision 325976600 - Original comment: **
Wikispaces>mbattaglia1
**Imported revision 325979348 - 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 08:35:50 UTC</tt>.<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2012-04-27 08:44:09 UTC</tt>.<br>
: The original revision id was <tt>325976600</tt>.<br>
: The original revision id was <tt>325979348</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>
Line 12: Line 12:
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!


If you have, then to review, a **monzo** is a way to represent a JI interval that shows how it decomposes into a combination of simpler, "prime" intervals. It does so by directly representing an interval's prime factorization. A 5-limit monzo looks like \(\ket{a \; b \; c}\), where a, b, and c are the exponents for primes 2, 3, and 5, respectively. A 7-limit JI monzo looks like \(\ket{a \hspace b \hspace c \hspace d}\), where d represents the additional exponent for 7. The 11-limit gets you another coefficient and so on.
If you have, then to review, a **monzo**is a way to represent a JI interval that shows how it decomposes into a combination of simpler, "prime" intervals. It does so by directly representing an interval's prime factorization. A 5-limit monzo looks like \(\ket{a \; b \; c}\), where \(a\), \(b\), and \(c\) are the exponents for primes 2, 3, and 5, respectively. A 7-limit JI monzo looks like \(\ket{a \; b \; c \; d}\), where \(d\) represents the additional exponent for 7. The 11-limit gets you another coefficient and so on.


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 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 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**.==  


For instance, the syntonic comma is \(\kettext{-4 4 -1}\). A geometric interpretation of this interval might be as a point in a space, like the point \((-4, 4, -1)\). You'd plot this point by going -4 steps on the x axis, 4 steps on the y axis, and -1 steps on the z-axis. And if you really want to think of it like a vector in the sense that some high school or college algebra courses teach it, you can also draw an arrow with a big arrowhead from the origin that connects to this point. Here's a widget that lets you plot vectors:
For instance, the syntonic comma is \(\ket{-4 \; 4 \; -1}\). A geometric interpretation of this interval might be as a point in a space, like the point \((-4,4,-1)\). You'd plot this point by going -4 steps on the x axis, 4 steps on the y axis, and -1 steps on the z-axis. And if you really want to think of it like a vector in the sense that some high school or college algebra courses teach it, you can also draw an arrow with a big arrowhead from the origin that connects to this point. Here's a widget that lets you plot vectors:


[[media type="custom" key="15537326"]]
[[media type="custom" key="15537326"]]
Line 31: Line 28:
[[media type="custom" key="15537360"]]
[[media type="custom" key="15537360"]]


You can also plot more than one vector or covector by putting in a list of vectors separated by commas, something like (12, 19, 28), (7, 11, 16). However, this will break the nice color properties I set up above. Also, if you put in too many entries, Wolfram Alpha has been known to break.
You can also plot more than one vector or covector by putting in a list of vectors separated by commas, something like \((12,19,28),\;(7,11,16)\). However, this will break the nice color properties I set up above. Also, if you put in too many entries, Wolfram Alpha has been known to break.


**So then, what's the point?**
**So then, what's the point?**
Line 37: Line 34:
This is all well and good by itself, but it doesn't mean anything unless you understand how covectors interact with vectors. Covectors are mathematical objects that are thought to //act on// vectors. When a covector "acts on" a vector, the interaction occurs by you taking the **dot product** of the two vectors.
This is all well and good by itself, but it doesn't mean anything unless you understand how covectors interact with vectors. Covectors are mathematical objects that are thought to //act on// vectors. When a covector "acts on" a vector, the interaction occurs by you taking the **dot product** of the two vectors.


======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[[media type="custom" key="15537428"]] of the two is 12*-4 + 19*4 * 28*-1 = 0. Thus, the result of (12, 19, 28) acting on (-4, 4, -1) is 0.======  
======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[[media type="custom" key="15537428"]] 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\).======  


The action of a covector on a vector must, of course, be pictured as the different colored arrows lining up and exploding and spitting out a single number, or something. Wolfram unfortunately doesn't let me do nice explosion effects, so you'll have to imagine it.
The action of a covector on a vector must, of course, be pictured as the different colored arrows lining up and exploding and spitting out a single number, or something. Wolfram unfortunately doesn't let me do nice explosion effects, so you'll have to imagine it.
Line 49: Line 46:
==1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)==  
==1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)==  


One interesting way to think of covectors, since they're these dual vectors that "act on" normal vectors, is thus as functions - they take in a vector as input, multiply each coefficient of the vector by the corresponding coefficient of the covector, sum them up, and spit out a number. In other words, you know that the action of the covector (12, 19, 28)* on any arbitrary vector (a, b, c) is going to be 12a + 19b + 28c. So, you can think of (12, 19, 28)* itself as a function looking something like f(**v**) = 12a + 19b + 28c for some vector of the form (a, b, c). I've bolded the **v** in f(**v**) to specify that **v** is a vector that's being taken in as input.
One interesting way to think of covectors, since they're these dual vectors that "act on" normal vectors, is thus as functions - they take in a vector as input, multiply each coefficient of the vector by the corresponding coefficient of the covector, sum them up, and spit out a number. In other words, you know that the action of the covector \((12,19,28)^*\) on any arbitrary vector \((a,b,c)\) is going to be \(12a + 19b + 28c\). So, you can think of \((12,19,28)^*\) itself as a function looking something like \(f(\boldsymbol{v}) = 12a + 19b + 28c\) for some vector of the form (a, b, c). I've bolded the **v** in f(**v**) to specify that **v** is a vector that's being taken in as input.


Before we go on, however, let's clean up the notation a bit. In physics, the notation commonly used is to notate covectors &lt;like this| and to notate vectors |like this&gt;. Physicists call this "bra-ket" notation, or sometimes "Dirac" notation. So instead of writing covectors as (x, y, z)*, I'll just write &lt;x y z| from now on. And instead of writing vectors as (a, b, c), I'll just write |a b c&gt; from now on.
Before we go on, however, let's clean up the notation a bit. In physics, the notation commonly used is to notate covectors &lt;like this| and to notate vectors |like this&gt;. Physicists call this "bra-ket" notation, or sometimes "Dirac" notation. So instead of writing covectors as (x, y, z)*, I'll just write &lt;x y z| from now on. And instead of writing vectors as (a, b, c), I'll just write |a b c&gt; from now on.
Line 87: Line 84:
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;
&lt;br /&gt;
&lt;br /&gt;
If you have, then to review, a &lt;strong&gt;monzo&lt;/strong&gt; is a way to represent a JI interval that shows how it decomposes into a combination of simpler, &amp;quot;prime&amp;quot; intervals. It does so by directly representing an interval's prime factorization. A 5-limit monzo looks like \(\ket{a \; b \; c}\), where a, b, and c are the exponents for primes 2, 3, and 5, respectively. A 7-limit JI monzo looks like \(\ket{a \hspace b \hspace c \hspace d}\), where d represents the additional exponent for 7. The 11-limit gets you another coefficient and so on.&lt;br /&gt;
If you have, then to review, a &lt;strong&gt;monzo&lt;/strong&gt;is a way to represent a JI interval that shows how it decomposes into a combination of simpler, &amp;quot;prime&amp;quot; intervals. It does so by directly representing an interval's prime factorization. A 5-limit monzo looks like \(\ket{a \; b \; c}\), where \(a\), \(b\), and \(c\) are the exponents for primes 2, 3, and 5, respectively. A 7-limit JI monzo looks like \(\ket{a \; b \; c \; d}\), where \(d\) represents the additional exponent for 7. The 11-limit gets you another coefficient and so on.&lt;br /&gt;
&lt;br /&gt;
&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 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 is this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:9:&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:9 --&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:9:&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:9 --&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;
For instance, the syntonic comma is \(\kettext{-4 4 -1}\). A geometric interpretation of this interval might be as a point in a space, like the point \((-4, 4, -1)\). You'd plot this point by going -4 steps on the x axis, 4 steps on the y axis, and -1 steps on the z-axis. And if you really want to think of it like a vector in the sense that some high school or college algebra courses teach it, you can also draw an arrow with a big arrowhead from the origin that connects to this point. Here's a widget that lets you plot vectors:&lt;br /&gt;
For instance, the syntonic comma is \(\ket{-4 \; 4 \; -1}\). A geometric interpretation of this interval might be as a point in a space, like the point \((-4,4,-1)\). You'd plot this point by going -4 steps on the x axis, 4 steps on the y axis, and -1 steps on the z-axis. And if you really want to think of it like a vector in the sense that some high school or college algebra courses teach it, you can also draw an arrow with a big arrowhead from the origin that connects to this point. Here's a widget that lets you plot vectors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextMediaRule:1:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537326?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;15537326&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;script type="text/javascript" id="WolframAlphaScriptf5af8de6802460753a75a4692d255641" src="http://www.wolframalpha.com/widget/widget.jsp?id=f5af8de6802460753a75a4692d255641&amp;amp;output=lightbox"&gt;
&lt;!-- ws:start:WikiTextMediaRule:1:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537326?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;15537326&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;script type="text/javascript" id="WolframAlphaScriptf5af8de6802460753a75a4692d255641" src="http://www.wolframalpha.com/widget/widget.jsp?id=f5af8de6802460753a75a4692d255641&amp;amp;output=lightbox"&gt;
Line 108: Line 102:
&lt;/script&gt;&lt;!-- ws:end:WikiTextMediaRule:2 --&gt;&lt;br /&gt;
&lt;/script&gt;&lt;!-- ws:end:WikiTextMediaRule:2 --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also plot more than one vector or covector by putting in a list of vectors separated by commas, something like (12, 19, 28), (7, 11, 16). However, this will break the nice color properties I set up above. Also, if you put in too many entries, Wolfram Alpha has been known to break.&lt;br /&gt;
You can also plot more than one vector or covector by putting in a list of vectors separated by commas, something like \((12,19,28),\;(7,11,16)\). However, this will break the nice color properties I set up above. Also, if you put in too many entries, Wolfram Alpha has been known to break.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;So then, what's the point?&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;So then, what's the point?&lt;/strong&gt;&lt;br /&gt;
Line 114: Line 108:
This is all well and good by itself, but it doesn't mean anything unless you understand how covectors interact with vectors. Covectors are mathematical objects that are thought to &lt;em&gt;act on&lt;/em&gt; vectors. When a covector &amp;quot;acts on&amp;quot; a vector, the interaction occurs by you taking the &lt;strong&gt;dot product&lt;/strong&gt; of the two vectors.&lt;br /&gt;
This is all well and good by itself, but it doesn't mean anything unless you understand how covectors interact with vectors. Covectors are mathematical objects that are thought to &lt;em&gt;act on&lt;/em&gt; vectors. When a covector &amp;quot;acts on&amp;quot; a vector, the interaction occurs by you taking the &lt;strong&gt;dot product&lt;/strong&gt; of the two vectors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:11:&amp;lt;h6&amp;gt; --&gt;&lt;h6 id="toc3"&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.----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 of the two is 12*-4 + 19*4 * 28*-1 = 0. Thus, the result of (12, 19, 28) acting on (-4, 4, -1) is 0."&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:11 --&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&lt;!-- ws:start:WikiTextMediaRule:3:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537428?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;15537428&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;a href="#ref1" rel="nofollow"&gt;&lt;sup&gt;[1]&lt;/sup&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextMediaRule:3 --&gt; of the two is 12*-4 + 19*4 * 28*-1 = 0. Thus, the result of (12, 19, 28) acting on (-4, 4, -1) is 0.&lt;/h6&gt;
&lt;!-- ws:start:WikiTextHeadingRule:11:&amp;lt;h6&amp;gt; --&gt;&lt;h6 id="toc3"&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.----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 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;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:11 --&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&lt;!-- ws:start:WikiTextMediaRule:3:&amp;lt;img src=&amp;quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537428?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;15537428&amp;amp;quot;&amp;quot; title=&amp;quot;Custom Media&amp;quot;/&amp;gt; --&gt;&lt;a href="#ref1" rel="nofollow"&gt;&lt;sup&gt;[1]&lt;/sup&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextMediaRule:3 --&gt; 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;/h6&gt;
  &lt;br /&gt;
  &lt;br /&gt;
The action of a covector on a vector must, of course, be pictured as the different colored arrows lining up and exploding and spitting out a single number, or something. Wolfram unfortunately doesn't let me do nice explosion effects, so you'll have to imagine it.&lt;br /&gt;
The action of a covector on a vector must, of course, be pictured as the different colored arrows lining up and exploding and spitting out a single number, or something. Wolfram unfortunately doesn't let me do nice explosion effects, so you'll have to imagine it.&lt;br /&gt;
Line 126: Line 120:
&lt;!-- ws:start:WikiTextHeadingRule:13:&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:13 --&gt;1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)&lt;/h2&gt;
&lt;!-- ws:start:WikiTextHeadingRule:13:&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:13 --&gt;1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)&lt;/h2&gt;
  &lt;br /&gt;
  &lt;br /&gt;
One interesting way to think of covectors, since they're these dual vectors that &amp;quot;act on&amp;quot; normal vectors, is thus as functions - they take in a vector as input, multiply each coefficient of the vector by the corresponding coefficient of the covector, sum them up, and spit out a number. In other words, you know that the action of the covector (12, 19, 28)* on any arbitrary vector (a, b, c) is going to be 12a + 19b + 28c. So, you can think of (12, 19, 28)* itself as a function looking something like f(&lt;strong&gt;v&lt;/strong&gt;) = 12a + 19b + 28c for some vector of the form (a, b, c). I've bolded the &lt;strong&gt;v&lt;/strong&gt; in f(&lt;strong&gt;v&lt;/strong&gt;) to specify that &lt;strong&gt;v&lt;/strong&gt; is a vector that's being taken in as input.&lt;br /&gt;
One interesting way to think of covectors, since they're these dual vectors that &amp;quot;act on&amp;quot; normal vectors, is thus as functions - they take in a vector as input, multiply each coefficient of the vector by the corresponding coefficient of the covector, sum them up, and spit out a number. In other words, you know that the action of the covector \((12,19,28)^*\) on any arbitrary vector \((a,b,c)\) is going to be \(12a + 19b + 28c\). So, you can think of \((12,19,28)^*\) itself as a function looking something like \(f(\boldsymbol{v}) = 12a + 19b + 28c\) for some vector of the form (a, b, c). I've bolded the &lt;strong&gt;v&lt;/strong&gt; in f(&lt;strong&gt;v&lt;/strong&gt;) to specify that &lt;strong&gt;v&lt;/strong&gt; is a vector that's being taken in as input.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we go on, however, let's clean up the notation a bit. In physics, the notation commonly used is to notate covectors &amp;lt;like this| and to notate vectors |like this&amp;gt;. Physicists call this &amp;quot;bra-ket&amp;quot; notation, or sometimes &amp;quot;Dirac&amp;quot; notation. So instead of writing covectors as (x, y, z)*, I'll just write &amp;lt;x y z| from now on. And instead of writing vectors as (a, b, c), I'll just write |a b c&amp;gt; from now on.&lt;br /&gt;
Before we go on, however, let's clean up the notation a bit. In physics, the notation commonly used is to notate covectors &amp;lt;like this| and to notate vectors |like this&amp;gt;. Physicists call this &amp;quot;bra-ket&amp;quot; notation, or sometimes &amp;quot;Dirac&amp;quot; notation. So instead of writing covectors as (x, y, z)*, I'll just write &amp;lt;x y z| from now on. And instead of writing vectors as (a, b, c), I'll just write |a b c&amp;gt; from now on.&lt;br /&gt;