Douglas Blumeyer's RTT How-To: Difference between revisions
Cmloegcmluin (talk | contribs) m →vectors and covectors: mention dot product |
Cmloegcmluin (talk | contribs) m null-space improvements, per Dave's recommendations (thanks Dave) |
||
Line 445: | Line 445: | ||
We call such a matrix a '''comma basis'''. The plural of “basis” is “bases”, but pronounced /ˈbeɪ siz/. | We call such a matrix a '''comma basis'''. The plural of “basis” is “bases”, but pronounced /ˈbeɪ siz/. | ||
Now how in the world could that matrix represent the same temperament as {{val|19 30 44}}? Well, they’re two different ways of describing it. {{val|19 30 44}}, as we know, tells us how many generator steps it takes to reach each prime approximation. This matrix, it turns out, is an equivalent way of stating the same information. This matrix is a minimal representation of the null-space of that mapping, or in other words, of all the commas it tempers out. | Now how in the world could that matrix represent the same temperament as {{val|19 30 44}}? Well, they’re two different ways of describing it. {{val|19 30 44}}, as we know, tells us how many generator steps it takes to reach each prime approximation. This matrix, it turns out, is an equivalent way of stating the same information. This matrix is a minimal representation of the null-space of that mapping, or in other words, of all the commas it tempers out. | ||
It | This was a bit tricky for me to get my head around, so let me hammer this point home: when you say "the null-space", you're referring to ''the entire infinite set of all commas that a mapping tempers out'', ''not only'' the two commas you see in any given basis for it. Think of the comma basis as one of many valid sets of instructions to find every possible comma, by adding or subtracting these two commas from each other. It should be visually clear from the PTS diagram that this 19-ET comma basis couldn't be listing every single comma 19-ET tempers out, because we can see there are at least four temperament lines that pass through it (there are actually infinity of them!). But so it turns out that picking two commas is perfectly enough; every other comma that 19-ET tempers out could be expressed in terms of these two! | ||
Try one. How about the hanson comma, {{monzo|6 5 ₋6}}. Well that one’s too easy! Clearly if you go down by one magic comma to {{monzo|10 1 -5}} and then up by one meantone comma you get one hanson comma. What you’re doing when you’re adding and subtracting multiples of commas from each other like this is technically called “Gaussian elimination”. Feel free to work through any other examples yourself. | Try one. How about the hanson comma, {{monzo|6 5 ₋6}}. Well that one’s too easy! Clearly if you go down by one magic comma to {{monzo|10 1 -5}} and then up by one meantone comma you get one hanson comma. What you’re doing when you’re adding and subtracting multiples of commas from each other like this is technically called “Gaussian elimination”. Feel free to work through any other examples yourself. | ||
Line 466: | Line 466: | ||
=== null-space === | === null-space === | ||
There’s nothing special about the pairing of meantone and magic. We could have chosen meantone|hanson, or magic|negri, etc. A matrix formed out of the intersection of any two of these commas will capture the same exact null space of {{monzo|{{val|19 30 44}}}}. | There’s nothing special about the pairing of meantone and magic. We could have chosen meantone|hanson, or magic|negri, etc. A matrix formed out of the intersection of any two of these commas will capture the same exact null-space of {{monzo|{{val|19 30 44}}}}. | ||
We already have the tools to check that each of these commas’ vectors is tempered out individually by the map {{val|19 30 44}}; we learned this bit in the very first section: all we have to do is make sure that the comma maps to zero steps in this ET. But these matrices, the intersections of two of them at once, are another level of specialness. We can do even better with them. There’s actually a mathematical function which when input any one of these matrices will output {{monzo|{{val|19 30 44}}}}, thus demonstrating their equivalence with respect to it. | We already have the tools to check that each of these commas’ vectors is tempered out individually by the map {{val|19 30 44}}; we learned this bit in the very first section: all we have to do is make sure that the comma maps to zero steps in this ET. But these matrices, the intersections of two of them at once, are another level of specialness. We can do even better with them. There’s actually a mathematical function which when input any one of these matrices will output {{monzo|{{val|19 30 44}}}}, thus demonstrating their equivalence with respect to it. | ||
Remember that any one of these matrices is the null-space of {{monzo|{{val|19 30 44}}}}. So we are in effect undoing the effects of the null-space function. Interestingly enough, as you'll soon see, it's about the same process to find the null-space as it is to undo it. Working this out by hand goes like this (it is a standard linear algebra operation, so if you're comfortable with it already, you can skip this and other similar parts of these materials): | Remember that any one of these matrices is a basis for the null-space of {{monzo|{{val|19 30 44}}}}. So we are in effect undoing the effects of the null-space function. Interestingly enough, as you'll soon see, it's about the same process to find the null-space as it is to undo it. Working this out by hand goes like this (it is a standard linear algebra operation, so if you're comfortable with it already, you can skip this and other similar parts of these materials): | ||
First, transpose the matrix. That means the first column becomes the first row, the second column becomes the second row, etc. | First, transpose the matrix. That means the first column becomes the first row, the second column becomes the second row, etc. | ||
Line 575: | Line 575: | ||
</math> | </math> | ||
And ta-da! You’ve found the mapping for which the comma basis we started is the null-space, and it is {{monzo|{{val|19 30 44}}}}. Feel free to try this with any other combination of two commas tempered out by this map. | And ta-da! You’ve found the mapping for which the comma basis we started with is a basis for the null-space, and it is {{monzo|{{val|19 30 44}}}}. Feel free to try this with any other combination of two commas tempered out by this map. | ||
Now the null-space function, to take you from {{monzo|{{val|19 30 44}}}} back to the matrix, is pretty much the same thing, but a bit simpler. No need to transpose or reverse. Just start at the augmentation step: | Now the null-space function, to take you from {{monzo|{{val|19 30 44}}}} back to the matrix, is pretty much the same thing, but a bit simpler. No need to transpose or reverse. Just start at the augmentation step: | ||
Line 662: | Line 662: | ||
Again, we find ourselves in the position where we must reconcile a strange new representation of an object with an existing one. We already know that meantone can be represented by the vector for the comma it tempers out, {{monzo|-4 4 -1}}. How are these two representations related? | Again, we find ourselves in the position where we must reconcile a strange new representation of an object with an existing one. We already know that meantone can be represented by the vector for the comma it tempers out, {{monzo|-4 4 -1}}. How are these two representations related? | ||
Well, it’s actually quite simple! They’re related in the same way as {{monzo|{{val|19 30 44}}}} was related to {{val|{{monzo|-4 4 -1}} {{monzo|-10 -1 5}}}}: by the null-space operation. Specifically, {{val|{{monzo|-4 4 -1}}}} is the null-space of the mapping {{monzo|{{val|5 8 12}} {{val|7 11 16}}}}, because it is the minimal representation of all the commas tempered out by meantone temperament. | Well, it’s actually quite simple! They’re related in the same way as {{monzo|{{val|19 30 44}}}} was related to {{val|{{monzo|-4 4 -1}} {{monzo|-10 -1 5}}}}: by the null-space operation. Specifically, {{val|{{monzo|-4 4 -1}}}} is a basis for the null-space of the mapping {{monzo|{{val|5 8 12}} {{val|7 11 16}}}}, because it is the minimal representation of all the commas tempered out by meantone temperament. | ||
We can work this one out by hand too: | We can work this one out by hand too: | ||
Line 743: | Line 743: | ||
</math> | </math> | ||
And there’s our {{val|{{monzo|4 -4 1}}}}. Feel free to try reversing the operation by working out the mapping from this if you like. And/or you could try working out that {{val|{{monzo|4 -4 1}}}} is the null-space of any other combination of ETs we found that could specify meantone, such as 7&12, or 12&19. | And there’s our {{val|{{monzo|4 -4 1}}}}. Feel free to try reversing the operation by working out the mapping from this if you like. And/or you could try working out that {{val|{{monzo|4 -4 1}}}} is a basis for the null-space of any other combination of ETs we found that could specify meantone, such as 7&12, or 12&19. | ||
It’s worth noting that, just as 2 commas were exactly enough to define a rank-1 temperament, though there were an infinitude of equivalent pairs of commas we could choose to fill that role, there’s a similar thing happening here, where 2 maps are exactly enough to define a rank-2 temperament, but an infinitude of equivalent pairs of them. We can even see that we can convert between these maps using Gaussian addition and subtraction, just like we could manipulate commas to get from one to the other. For example, the map for 12-ET {{val|12 19 28}} is exactly what you get from summing the terms of 5-ET {{val|5 8 12}} and 7-ET {{val|7 11 16}}: {{val|5+7 8+11 12+16}} = {{val|12 19 28}}. Cool! | It’s worth noting that, just as 2 commas were exactly enough to define a rank-1 temperament, though there were an infinitude of equivalent pairs of commas we could choose to fill that role, there’s a similar thing happening here, where 2 maps are exactly enough to define a rank-2 temperament, but an infinitude of equivalent pairs of them. We can even see that we can convert between these maps using Gaussian addition and subtraction, just like we could manipulate commas to get from one to the other. For example, the map for 12-ET {{val|12 19 28}} is exactly what you get from summing the terms of 5-ET {{val|5 8 12}} and 7-ET {{val|7 11 16}}: {{val|5+7 8+11 12+16}} = {{val|12 19 28}}. Cool! | ||
Line 903: | Line 903: | ||
Let’s review what we’ve seen so far. 5-limit JI is 3-dimensional. When we have a rank-3 temperament of 5-limit JI, 0 commas are tempered out. When we have a rank-2 temperament of 5-limit JI, 1 comma is tempered out. When we have a rank-1 temperament of 5-limit JI, 2 commas are tempered out.<ref>Probably, a rank-0 temperament of 5-limit JI would temper 3 commas out. All I can think a rank-0 temperament could be is a single pitch, or in other words, everything is tempered out. So perhaps in some theoretical sense, a comma basis in 5-limit made out of 3 vectors, thus a square 3×3 matrix, as long as none of the lines are parallel, should minimally represent every interval in the space.</ref> | Let’s review what we’ve seen so far. 5-limit JI is 3-dimensional. When we have a rank-3 temperament of 5-limit JI, 0 commas are tempered out. When we have a rank-2 temperament of 5-limit JI, 1 comma is tempered out. When we have a rank-1 temperament of 5-limit JI, 2 commas are tempered out.<ref>Probably, a rank-0 temperament of 5-limit JI would temper 3 commas out. All I can think a rank-0 temperament could be is a single pitch, or in other words, everything is tempered out. So perhaps in some theoretical sense, a comma basis in 5-limit made out of 3 vectors, thus a square 3×3 matrix, as long as none of the lines are parallel, should minimally represent every interval in the space.</ref> | ||
There’s a straightforward formula here: <span><math>d - n = r</math></span>, where <span><math>d</math></span> is dimensionality, <span><math>n</math></span> is nullity, and <span><math>r</math></span> is rank. We’ve seen every one of those words so far except '''nullity'''. [[Nullity]] simply means the count of commas tempered out ''(see Figure 4c)''. | There’s a straightforward formula here: <span><math>d - n = r</math></span>, where <span><math>d</math></span> is dimensionality, <span><math>n</math></span> is nullity, and <span><math>r</math></span> is rank. We’ve seen every one of those words so far except '''nullity'''. [[Nullity]] simply means the count of commas tempered out, or in other words, the count of commas in a basis for the null-space ''(see Figure 4c)''. | ||
So far, everything we’ve done has been in terms of 5-limit, which has dimensionality of 3. Before we generalize our knowledge upwards, into the 7-limit, let’s take a look at how things one step downwards, in the simpler direction, in the 3-limit, which is only 2-dimensional. | So far, everything we’ve done has been in terms of 5-limit, which has dimensionality of 3. Before we generalize our knowledge upwards, into the 7-limit, let’s take a look at how things one step downwards, in the simpler direction, in the 3-limit, which is only 2-dimensional. | ||
Line 1,359: | Line 1,359: | ||
* A way to think about this is we’re losing one generator so now one of the primes is expressed only in terms of the others; When we move by a 2, we lose 4 points for 5; And when we move by a 3 we gain them back | * A way to think about this is we’re losing one generator so now one of the primes is expressed only in terms of the others; When we move by a 2, we lose 4 points for 5; And when we move by a 3 we gain them back | ||
* This is probably the place to finally talk about non-octave periods? Unless that’s forced to come up back in the wedgie section | * This is probably the place to finally talk about non-octave periods? Unless that’s forced to come up back in the wedgie section | ||
* notice how when you do Gaussian elimination by columns to find the null space, the other columns could technically be generators (and perhaps link this to the gencom concept of just shifting where the semicolon is left and right to transform between ET and JI through intermediate ranks of a given dimensionality system) | * notice how when you do Gaussian elimination by columns to find a basis for the null-space, the other columns could technically be generators (and perhaps link this to the gencom concept of just shifting where the semicolon is left and right to transform between ET and JI through intermediate ranks of a given dimensionality system) | ||