Mike's lecture on vector spaces and dual spaces: Difference between revisions
Wikispaces>mbattaglia1 **Imported revision 325965268 - Original comment: ** |
Wikispaces>mbattaglia1 **Imported revision 325965688 - 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 07: | : This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2012-04-27 07:55:49 UTC</tt>.<br> | ||
: The original revision id was <tt> | : The original revision id was <tt>325965688</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 19: | Line 19: | ||
==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 | For instance, the syntonic comma is [[media type="custom" key="15538022"]]. A geometric interpretation of this interval might be as a point in a space, like the point [[media type="custom" key="15538024"]]. 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 72: | Line 72: | ||
[[media type="custom" key="15537974"]]</pre></div> | [[media type="custom" key="15537974"]]</pre></div> | ||
<h4>Original HTML content:</h4> | <h4>Original HTML 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;width:200%;white-space: pre-wrap ! important" class="old-revision-html"><html><head><title>Mike's Lecture on Vector Spaces and Dual Spaces</title></head><body><!-- ws:start:WikiTextHeadingRule: | <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;width:200%;white-space: pre-wrap ! important" class="old-revision-html"><html><head><title>Mike's Lecture on Vector Spaces and Dual Spaces</title></head><body><!-- ws:start:WikiTextHeadingRule:9:&lt;h1&gt; --><h1 id="toc0"><!-- ws:end:WikiTextHeadingRule:9 --><!-- ws:start:WikiTextMediaRule:0:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537966?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15537966&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; --><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
</script><script type="text/javascript"> | </script><script type="text/javascript"> | ||
//<![CDATA[ | //<![CDATA[ | ||
| Line 81: | Line 81: | ||
</script>$$ \newcommand{\bra}[1]{\left \langle #1 \right |} \newcommand{\ket}[1]{\left |#1 \right \rangle} \newcommand{\braket}[2]{\left \langle #1 \middle |#2 \right \rangle}$$<!-- ws:end:WikiTextMediaRule:0 --></h1> | </script>$$ \newcommand{\bra}[1]{\left \langle #1 \right |} \newcommand{\ket}[1]{\left |#1 \right \rangle} \newcommand{\braket}[2]{\left \langle #1 \middle |#2 \right \rangle}$$<!-- ws:end:WikiTextMediaRule:0 --></h1> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule: | <!-- ws:start:WikiTextHeadingRule:11:&lt;h1&gt; --><h1 id="toc1"><a name="LECTURE 1: Vector Spaces and Dual Spaces"></a><!-- ws:end:WikiTextHeadingRule:11 -->LECTURE 1: Vector Spaces and Dual Spaces</h1> | ||
<span style="display: block; text-align: center;"><span class="MathJax"><span class="math"><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;"><span class="mrow"><span style="font-family: MathJax_Math;" class="mi"><em>test</em></span></span></span></span></span></span><br /> | <span style="display: block; text-align: center;"><span class="MathJax"><span class="math"><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;"><span class="mrow"><span style="font-family: MathJax_Math;" class="mi"><em>test</em></span></span></span></span></span></span><br /> | ||
If you haven't seen monzos or vals before and are totally confused, please read the pages on <a class="wiki_link" href="http://xenharmonic.wikispaces.com/Monzos">Monzos</a> and <a class="wiki_link" href="http://xenharmonic.wikispaces.com/Vals">Vals</a> first!<br /> | If you haven't seen monzos or vals before and are totally confused, please read the pages on <a class="wiki_link" href="http://xenharmonic.wikispaces.com/Monzos">Monzos</a> and <a class="wiki_link" href="http://xenharmonic.wikispaces.com/Vals">Vals</a> first!<br /> | ||
| Line 90: | Line 90: | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule: | <!-- ws:start:WikiTextHeadingRule:13:&lt;h2&gt; --><h2 id="toc2"><a name="LECTURE 1: Vector Spaces and Dual Spaces-1.1: A monzo can be viewed as a VECTOR** in a **VECTOR SPACE."></a><!-- ws:end:WikiTextHeadingRule:13 -->1.1: A monzo can be viewed as a <strong>VECTOR</strong> in a <strong>VECTOR SPACE</strong>.</h2> | ||
<br /> | <br /> | ||
For instance, the syntonic comma is | For instance, the syntonic comma is <!-- ws:start:WikiTextMediaRule:3:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15538022?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15538022&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; -->\(\ket{-4 4 -1}\)<!-- ws:end:WikiTextMediaRule:3 -->. A geometric interpretation of this interval might be as a point in a space, like the point <!-- ws:start:WikiTextMediaRule:4:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15538024?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15538024&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; -->(-4, 4, -1)<!-- ws:end:WikiTextMediaRule:4 -->. 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:<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextMediaRule: | <!-- ws:start:WikiTextMediaRule:5:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537326?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15537326&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; --><script type="text/javascript" id="WolframAlphaScriptf5af8de6802460753a75a4692d255641" src="http://www.wolframalpha.com/widget/widget.jsp?id=f5af8de6802460753a75a4692d255641&amp;output=lightbox"> | ||
</script><!-- ws:end:WikiTextMediaRule: | </script><!-- ws:end:WikiTextMediaRule:5 --><br /> | ||
<br /> | <br /> | ||
Keep in mind that Wolfram Alpha is very fragile, so if you try to do anything fancy, it's going to break. But, Paul's &quot;A Middle Path&quot; paper has so many good plots of this that I might as well just point anyone interested to take a look at it over there: <a class="wiki_link_ext" href="http://sethares.engr.wisc.edu/paperspdf/Erlich-MiddlePath.pdf" rel="nofollow">http://sethares.engr.wisc.edu/paperspdf/Erlich-MiddlePath.pdf</a><br /> | Keep in mind that Wolfram Alpha is very fragile, so if you try to do anything fancy, it's going to break. But, Paul's &quot;A Middle Path&quot; paper has so many good plots of this that I might as well just point anyone interested to take a look at it over there: <a class="wiki_link_ext" href="http://sethares.engr.wisc.edu/paperspdf/Erlich-MiddlePath.pdf" rel="nofollow">http://sethares.engr.wisc.edu/paperspdf/Erlich-MiddlePath.pdf</a><br /> | ||
| Line 101: | Line 101: | ||
Now, here's the interesting part: in linear algebra, every vector space has a &quot;dual space,&quot; which of course must be thought of as a bizarro universe for the vector space in which the background is black and the arrows and points are white. The elements in this space are called &quot;covectors.&quot; I can't get the exact colors I mentioned here, but I've cheated a bit to get Wolfram to change the colors, so you can plot covectors here:<br /> | Now, here's the interesting part: in linear algebra, every vector space has a &quot;dual space,&quot; which of course must be thought of as a bizarro universe for the vector space in which the background is black and the arrows and points are white. The elements in this space are called &quot;covectors.&quot; I can't get the exact colors I mentioned here, but I've cheated a bit to get Wolfram to change the colors, so you can plot covectors here:<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextMediaRule: | <!-- ws:start:WikiTextMediaRule:6:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537360?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15537360&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; --><script type="text/javascript" id="WolframAlphaScriptca79995ff5942e9f187c05cd2fce394b" src="http://www.wolframalpha.com/widget/widget.jsp?id=ca79995ff5942e9f187c05cd2fce394b"> | ||
</script><!-- ws:end:WikiTextMediaRule: | </script><!-- ws:end:WikiTextMediaRule:6 --><br /> | ||
<br /> | <br /> | ||
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.<br /> | 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.<br /> | ||
| Line 110: | Line 110: | ||
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 <em>act on</em> vectors. When a covector &quot;acts on&quot; a vector, the interaction occurs by you taking the <strong>dot product</strong> of the two vectors.<br /> | 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 <em>act on</em> vectors. When a covector &quot;acts on&quot; a vector, the interaction occurs by you taking the <strong>dot product</strong> of the two vectors.<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule: | <!-- ws:start:WikiTextHeadingRule:15:&lt;h6&gt; --><h6 id="toc3"><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."></a><!-- ws:end:WikiTextHeadingRule:15 -->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<!-- ws:start:WikiTextMediaRule:7:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537428?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15537428&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; --><a href="#ref1" rel="nofollow"><sup>[1]</sup></a><!-- ws:end:WikiTextMediaRule:7 --> 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.</h6> | ||
<br /> | <br /> | ||
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.<br /> | 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.<br /> | ||
| Line 120: | Line 120: | ||
OK, so how do we use these things?<br /> | OK, so how do we use these things?<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule: | <!-- ws:start:WikiTextHeadingRule:17:&lt;h2&gt; --><h2 id="toc4"><a name="LECTURE 1: Vector Spaces and Dual Spaces-1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)"></a><!-- ws:end:WikiTextHeadingRule:17 -->1.2: Covectors mean stuff. (OR: YOU DON'T KNOW MONZO)</h2> | ||
<br /> | <br /> | ||
One interesting way to think of covectors, since they're these dual vectors that &quot;act on&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(<strong>v</strong>) = 12a + 19b + 28c for some vector of the form (a, b, c). I've bolded the <strong>v</strong> in f(<strong>v</strong>) to specify that <strong>v</strong> is a vector that's being taken in as input.<br /> | One interesting way to think of covectors, since they're these dual vectors that &quot;act on&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(<strong>v</strong>) = 12a + 19b + 28c for some vector of the form (a, b, c). I've bolded the <strong>v</strong> in f(<strong>v</strong>) to specify that <strong>v</strong> is a vector that's being taken in as input.<br /> | ||
| Line 142: | Line 142: | ||
For some of you, this may be review, but it's meant to give a basic foundation of the mathematical reasoning underpinning some of these objects. Stay tuned for more...<br /> | For some of you, this may be review, but it's meant to give a basic foundation of the mathematical reasoning underpinning some of these objects. Stay tuned for more...<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextAnchorRule: | <!-- ws:start:WikiTextAnchorRule:19:&lt;img src=&quot;/i/anchor.gif&quot; class=&quot;WikiAnchor&quot; alt=&quot;Anchor&quot; id=&quot;wikitext@@anchor@@ref1&quot; title=&quot;Anchor: ref1&quot;/&gt; --><a name="ref1"></a><!-- ws:end:WikiTextAnchorRule:19 -->[1] - Note that some have raised technical concerns about this operation being called the &quot;dot product,&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 &quot;<strong>bracket product</strong>&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.<br /> | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextMediaRule: | <!-- ws:start:WikiTextMediaRule:8:&lt;img src=&quot;http://www.wikispaces.com/site/embedthumbnail/custom/15537974?h=0&amp;w=0&quot; class=&quot;WikiMedia WikiMediaCustom&quot; id=&quot;wikitext@@media@@type=&amp;quot;custom&amp;quot; key=&amp;quot;15537974&amp;quot;&quot; title=&quot;Custom Media&quot;/&gt; --><script type="text/javascript"> | ||
//<![CDATA[ | //<![CDATA[ | ||
MathJax.Hub.Configured() | MathJax.Hub.Configured() | ||
//]]> | //]]> | ||
</script><!-- ws:end:WikiTextMediaRule: | </script><!-- ws:end:WikiTextMediaRule:8 --></body></html></pre></div> | ||