Monzos and interval space: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Wikispaces>mbattaglia1
**Imported revision 250543856 - Original comment: **
Sintel (talk | contribs)
-legacy
 
(31 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
{{Interwiki
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
| de = Intervallraum
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2011-09-03 20:00:08 UTC</tt>.<br>
| en = Monzos and interval space
: The original revision id was <tt>250543856</tt>.<br>
| ja = モンゾと音程空間
: 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>
{{Expert|Monzo}}
<h4>Original Wikitext content:</h4>
This page gives the formal mathematical definition of a '''monzo''' and shows its relation to '''interval space'''.  
<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">=Abstract=
A monzo is the counterpart to a val. Much like vals allow us to express the way that prime intervals are mapped within an EDO, a monzo allows us to express how any "composite" interval is represented in terms of those simpler prime intervals. They are typically written using the notation |a b c d e f ... &gt;, where the columns represent how the primes 2, 3, 5, 7, 11, 13, etc, in that order, contribute to the interval's prime factorization, up to some [[harmonic limit|prime limit]].


For example, the interval 15/8 can be thought of as having 5*3 in the numerator, and 2*2*2 in the denominator. This can be compactly represented by the expression 2^-3 * 3^1 * 5^1, which is exactly equal to 15/8. We construct the monzo by taking the exponent from each prime, in order, and placing them within the |.........&gt; brackets, hence yielding |-3 1 1&gt;.
== Definition ==


Here are some common 5-limit monzos, for your reference:
A [[Harmonic limit|''p''-limit]] rational number ''q'' can by definition be factored into primes of size less than or equal to ''p'', giving
3/2: |-1 1 0&gt;
5/4: |-2 0 1&gt;
9/8: |-3 2 0&gt;
81/80: |-4 4 -1&gt;


Here are a few 7-limit monzos:
<math>q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p}</math>
7/4: |-2 0 0 1&gt;
7/6: |-1 -1 0 1&gt;
7/5: |0 0 -1 1&gt;


Monzos are important because they enable us to see how any JI interval "maps" onto a val. This mapping is expressed by writing the val and the monzo together, such as &lt;12 19 28|-4 4 -1&gt;. The mapping is extremely easily to calculate: simply multiply together each component in the same position on both sides of the line, and add the results together. This is perhaps best demonstrated by example:
where the exponents are integers (positive, negative, or zero.) This is often written in [http://mathworld.wolfram.com/Ket.html ket vector] (→ [[Wikipedia: Bra-ket notation]]) notation as


&lt;12 19 28|-4 4 -1&gt; = (12*-4) + (19*4) + (28*1) = 0
<math>|e_2 \, e_3 \, e_5 \dotso e_p\rangle</math>


In this case, the val &lt;12 19 28| is the [[patent val]] for 12-equal, and |-4 4 -1&gt; is 81/80, or the syntonic comma. The fact that &lt;12 19 28|-4 4 -1&gt; tells us that 81/80 is mapped to 0 steps in 12-equal - aka it's tempered out - which tells us that 12-equal is a meantone temperament. It is noteworthy that almost the entirety of western music, particularly western music composed for 12-equal or 12-tone well temperaments, is made possible by the above equation.
in which case it is called a '''monzo''', where the name refers to the enthusiastic advocacy of [[Joe Monzo]].


**In general: &lt;a b c|d e f&gt; = ad + be + cf**
The [[Tenney height]] of this monzo is given by


=Mathematical Definition=
<math>\| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p</math>


A [[Harmonic Limit|p-limit]] rational number q can by definition be factored into primes of size less than or equal to p, giving
which is a [[Wikipedia: Normed vector space|vector space norm]]; hence we may [[Wikipedia: Embedding|embed]] the ''p''-limit monzos into a normed vector I space of dimension ''n'' = π (''p'') via a map M:monzos ⟶ I. The monzos under this embedding now define a [[Wikipedia:Lattice %28group%29|lattice]], which is a discrete subgroup spanning the finite dimensional real normed vector space I. If we change coordinates by multiplying values in the coordinate belonging to the prime ''k'' by log<sub>2</sub> (''k''), then the norm becomes the standard [http://mathworld.wolfram.com/L1-Norm.html L1 norm]. This vector space is Tenney interval space, and the transformed coordinates with the standard L1 norm form the standard basis for Tenney space. It should be noted that while monzos correspond uniquely to positive real numbers (always rational numbers in the case of monzos), vectors in Tenney space do not. For instance, while {{monzo| 1 0 }} represents 2, so does {{monzo| 0 log<sub>3</sub> (2)}}.
[[math]]
q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p}
[[math]]
where the exponents are integers (positive, negative, or zero.) This is often written in [[http://mathworld.wolfram.com/Ket.html|ket vector]] ([[http://en.wikipedia.org/wiki/Bra-ket_notation|wp]]) notation as
[[math]]
|e_2 \, e_3 \, e_5 \dotso e_p\rangle
[[math]]
in which case it is called a **monzo**, where the name refers to the enthusiastic advocacy of [[Joe Monzo]].


The [[Tenney Height|Tenney height]] of this monzo is given by
Because of the mathematical advantages of Euclidean norms, a Euclidean norm is often placed on the vectors in interval space instead of an L1 norm, in which case we have [[Tenney-Euclidean metrics|Tenney-Euclidean interval space]] instead of Tenney interval space. Explicitly, if we take the monzo {{monzo| ''e''<sub>2</sub> ''e''<sub>3</sub> … ''e''<sub>''p''</sub> }} then the Tenney-Euclidean norm, or TE norm, of it is
[[math]]
\| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p
[[math]]


which is a [[http://en.wikipedia.org/wiki/Normed_vector_space|vector space norm]]. The monzos with this norm now define a [[http://en.wikipedia.org/wiki/Lattice_%28group%29|lattice]], which is a discrete subgroup spanning a finite dimensional real normed vector space. If we change coordinates by multiplying values in the coordinate belonging to the prime k by log2(k), then the norm becomes the standard [[http://mathworld.wolfram.com/L1-Norm.html|L1 norm]]. This vector space is Tenney interval space, and the transformed coordinates with the standard L1 norm form the standard basis for Tenney space. It should be noted that while monzos correspond uniquely to positive real numbers (always rational numbers in the case of monzos), vectors in Tenney space do not. For instance, while |1 0&gt; represents 2, so does |0 log3(2)&gt;.
<math>\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}</math>


Because of the mathematical advantages of Euclidean norms, a Euclidean norm is often placed on the vectors in interval space instead of an L1 norm, in which case we have [[Tenney-Euclidean metrics|Tenney-Euclidean interval space]] instead of Tenney interval space. Explicitly, if we take the monzo |e2 e3 ... ep&gt; then the Tenney-Euclidean norm, or TE norm, of it is
and if the coordinates are the weighted interval space coordinates, then the TE norm is the [http://mathworld.wolfram.com/L2-Norm.html standard Euclidean, or L2, norm].
[[math]]
\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}
[[math]]
and if the coordinates are the weighted interval space coordinates, then the TE norm is the [[http://mathworld.wolfram.com/L2-Norm.html|standard Euclidean, or L2, norm]].


==Example==  
== Alternate definition ==
The 5-limit interval 16/15 factors as 2^4 3^(-1) 5^(-1), so it has a monzo representation of |4 -1 -1&gt;. In weighted coordinates, that becomes |4 -log2(3) -log2(5)&gt;, approximately |4 -1.585 -2.322&gt;. The TE norm is therefore sqrt(1^2 + log2(3)^2 + log2(5)^2) ~ sqrt(23.903) = 4.889.
Given a rational number ''q'', we can rewrite it in monzo form by the following definition:


//see also [[Fractional monzos]], [[Vals and Tuning Space]]...//</pre></div>
<math>q = |v_2 (q) \,v_3 (q) \, v_5 (q) \dotso v_p (q)\rangle</math>
<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">&lt;html&gt;&lt;head&gt;&lt;title&gt;Monzos and Interval Space&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextHeadingRule:4:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Abstract"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:4 --&gt;Abstract&lt;/h1&gt;
The [[Tenney height]] of this monzo is given by
A monzo is the counterpart to a val. Much like vals allow us to express the way that prime intervals are mapped within an EDO, a monzo allows us to express how any &amp;quot;composite&amp;quot; interval is represented in terms of those simpler prime intervals. They are typically written using the notation |a b c d e f ... &amp;gt;, where the columns represent how the primes 2, 3, 5, 7, 11, 13, etc, in that order, contribute to the interval's prime factorization, up to some &lt;a class="wiki_link" href="/harmonic%20limit"&gt;prime limit&lt;/a&gt;.&lt;br /&gt;
 
&lt;br /&gt;
<math>\| |v_2 (q) \, v_3 (q) \dotso v_p (q) \rangle \| = |v_2 (q)| + |v_3 (q)| \log_2 3 + \dotsb + |v_p (q)| \log_2 p</math>
For example, the interval 15/8 can be thought of as having 5*3 in the numerator, and 2*2*2 in the denominator. This can be compactly represented by the expression 2^-3 * 3^1 * 5^1, which is exactly equal to 15/8. We construct the monzo by taking the exponent from each prime, in order, and placing them within the |.........&amp;gt; brackets, hence yielding |-3 1 1&amp;gt;.&lt;br /&gt;
 
&lt;br /&gt;
Where ''v''<sub>''p''</sub> (''q'') is the [[Wikipedia: P-adic order|''p''-adic valuation]] of ''q''.
Here are some common 5-limit monzos, for your reference:&lt;br /&gt;
 
3/2: |-1 1 0&amp;gt;&lt;br /&gt;
== Example ==
5/4: |-2 0 1&amp;gt;&lt;br /&gt;
The 5-limit interval 16/15 factors as 2<sup>4</sup> 3<sup>-1</sup> 5<sup>-1</sup>, so it has a monzo representation of {{monzo| 4 -1 -1 }}. In weighted coordinates, that becomes {{monzo| 4 -log<sub>2</sub> (3) -log<sub>2</sub> (5) }}, approximately {{monzo| 4 -1.585 -2.322 }}.
9/8: |-3 2 0&amp;gt;&lt;br /&gt;
 
81/80: |-4 4 -1&amp;gt;&lt;br /&gt;
The TE norm is therefore
&lt;br /&gt;
 
Here are a few 7-limit monzos:&lt;br /&gt;
<math>\sqrt{(4^2 + \log_2(3)^2 + \log_2(5)^2)} ≅ \sqrt{23.903} ≅ 4.889.
7/4: |-2 0 0 1&amp;gt;&lt;br /&gt;
</math>
7/6: |-1 -1 0 1&amp;gt;&lt;br /&gt;
 
7/5: |0 0 -1 1&amp;gt;&lt;br /&gt;
== See also ==
&lt;br /&gt;
* [[Fractional monzos]]
Monzos are important because they enable us to see how any JI interval &amp;quot;maps&amp;quot; onto a val. This mapping is expressed by writing the val and the monzo together, such as &amp;lt;12 19 28|-4 4 -1&amp;gt;. The mapping is extremely easily to calculate: simply multiply together each component in the same position on both sides of the line, and add the results together. This is perhaps best demonstrated by example:&lt;br /&gt;
* [[Vals and tuning space]]
&lt;br /&gt;
 
&amp;lt;12 19 28|-4 4 -1&amp;gt;  &lt;!-- ws:start:WikiTextHeadingRule:6:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc1"&gt;&lt;a name="x(12*-4) + (19*4) + (28*1)"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:6 --&gt; (12*-4) + (19*4) + (28*1) &lt;/h1&gt;
[[Category:Regular temperament theory]]
0&lt;br /&gt;
[[Category:Interval space]]
&lt;br /&gt;
[[Category:Math]]
In this case, the val &amp;lt;12 19 28| is the &lt;a class="wiki_link" href="/patent%20val"&gt;patent val&lt;/a&gt; for 12-equal, and |-4 4 -1&amp;gt; is 81/80, or the syntonic comma. The fact that &amp;lt;12 19 28|-4 4 -1&amp;gt; tells us that 81/80 is mapped to 0 steps in 12-equal - aka it's tempered out - which tells us that 12-equal is a meantone temperament. It is noteworthy that almost the entirety of western music, particularly western music composed for 12-equal or 12-tone well temperaments, is made possible by the above equation.&lt;br /&gt;
[[Category:Monzo]]
&lt;br /&gt;
&lt;strong&gt;In general: &amp;lt;a b c|d e f&amp;gt; = ad + be + cf&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:8:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc2"&gt;&lt;a name="Mathematical Definition"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:8 --&gt;Mathematical Definition&lt;/h1&gt;
&lt;br /&gt;
A &lt;a class="wiki_link" href="/Harmonic%20Limit"&gt;p-limit&lt;/a&gt; rational number q can by definition be factored into primes of size less than or equal to p, giving&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:0:
[[math]]&amp;lt;br/&amp;gt;
q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p}&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:0 --&gt;&lt;br /&gt;
where the exponents are integers (positive, negative, or zero.) This is often written in &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/Ket.html" rel="nofollow"&gt;ket vector&lt;/a&gt; (&lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Bra-ket_notation" rel="nofollow"&gt;wp&lt;/a&gt;) notation as&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:1:
[[math]]&amp;lt;br/&amp;gt;
|e_2 \, e_3 \, e_5 \dotso e_p\rangle&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;|e_2 \, e_3 \, e_5 \dotso e_p\rangle&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:1 --&gt;&lt;br /&gt;
in which case it is called a &lt;strong&gt;monzo&lt;/strong&gt;, where the name refers to the enthusiastic advocacy of &lt;a class="wiki_link" href="/Joe%20Monzo"&gt;Joe Monzo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The &lt;a class="wiki_link" href="/Tenney%20Height"&gt;Tenney height&lt;/a&gt; of this monzo is given by&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:2:
[[math]]&amp;lt;br/&amp;gt;
\| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;\| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:2 --&gt;&lt;br /&gt;
&lt;br /&gt;
which is a &lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Normed_vector_space" rel="nofollow"&gt;vector space norm&lt;/a&gt;. The monzos with this norm now define a &lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Lattice_%28group%29" rel="nofollow"&gt;lattice&lt;/a&gt;, which is a discrete subgroup spanning a finite dimensional real normed vector space. If we change coordinates by multiplying values in the coordinate belonging to the prime k by log2(k), then the norm becomes the standard &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/L1-Norm.html" rel="nofollow"&gt;L1 norm&lt;/a&gt;. This vector space is Tenney interval space, and the transformed coordinates with the standard L1 norm form the standard basis for Tenney space. It should be noted that while monzos correspond uniquely to positive real numbers (always rational numbers in the case of monzos), vectors in Tenney space do not. For instance, while |1 0&amp;gt; represents 2, so does |0 log3(2)&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Because of the mathematical advantages of Euclidean norms, a Euclidean norm is often placed on the vectors in interval space instead of an L1 norm, in which case we have &lt;a class="wiki_link" href="/Tenney-Euclidean%20metrics"&gt;Tenney-Euclidean interval space&lt;/a&gt; instead of Tenney interval space. Explicitly, if we take the monzo |e2 e3 ... ep&amp;gt; then the Tenney-Euclidean norm, or TE norm, of it is&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:3:
[[math]]&amp;lt;br/&amp;gt;
\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:3 --&gt;&lt;br /&gt;
and if the coordinates are the weighted interval space coordinates, then the TE norm is the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/L2-Norm.html" rel="nofollow"&gt;standard Euclidean, or L2, norm&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:10:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc3"&gt;&lt;a name="Mathematical Definition-Example"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:10 --&gt;Example&lt;/h2&gt;
The 5-limit interval 16/15 factors as 2^4 3^(-1) 5^(-1), so it has a monzo representation of |4 -1 -1&amp;gt;. In weighted coordinates, that becomes |4 -log2(3) -log2(5)&amp;gt;, approximately |4 -1.585 -2.322&amp;gt;. The TE norm is therefore sqrt(1^2 + log2(3)^2 + log2(5)^2) ~ sqrt(23.903) = 4.889.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;see also &lt;a class="wiki_link" href="/Fractional%20monzos"&gt;Fractional monzos&lt;/a&gt;, &lt;a class="wiki_link" href="/Vals%20and%20Tuning%20Space"&gt;Vals and Tuning Space&lt;/a&gt;...&lt;/em&gt;&lt;/body&gt;&lt;/html&gt;</pre></div>

Latest revision as of 18:09, 29 March 2025

This is an expert page. It is written to allow experienced readers to learn more about the advanced elements of the topic.
The corresponding beginner page for this topic is Monzo.

This page gives the formal mathematical definition of a monzo and shows its relation to interval space.

Definition

A p-limit rational number q can by definition be factored into primes of size less than or equal to p, giving

[math]\displaystyle{ q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p} }[/math]

where the exponents are integers (positive, negative, or zero.) This is often written in ket vector (→ Wikipedia: Bra-ket notation) notation as

[math]\displaystyle{ |e_2 \, e_3 \, e_5 \dotso e_p\rangle }[/math]

in which case it is called a monzo, where the name refers to the enthusiastic advocacy of Joe Monzo.

The Tenney height of this monzo is given by

[math]\displaystyle{ \| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p }[/math]

which is a vector space norm; hence we may embed the p-limit monzos into a normed vector I space of dimension n = π (p) via a map M:monzos ⟶ I. The monzos under this embedding now define a lattice, which is a discrete subgroup spanning the finite dimensional real normed vector space I. If we change coordinates by multiplying values in the coordinate belonging to the prime k by log2 (k), then the norm becomes the standard L1 norm. This vector space is Tenney interval space, and the transformed coordinates with the standard L1 norm form the standard basis for Tenney space. It should be noted that while monzos correspond uniquely to positive real numbers (always rational numbers in the case of monzos), vectors in Tenney space do not. For instance, while [1 0 represents 2, so does [0 log3 (2).

Because of the mathematical advantages of Euclidean norms, a Euclidean norm is often placed on the vectors in interval space instead of an L1 norm, in which case we have Tenney-Euclidean interval space instead of Tenney interval space. Explicitly, if we take the monzo [e2 e3ep then the Tenney-Euclidean norm, or TE norm, of it is

[math]\displaystyle{ \sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2} }[/math]

and if the coordinates are the weighted interval space coordinates, then the TE norm is the standard Euclidean, or L2, norm.

Alternate definition

Given a rational number q, we can rewrite it in monzo form by the following definition:

[math]\displaystyle{ q = |v_2 (q) \,v_3 (q) \, v_5 (q) \dotso v_p (q)\rangle }[/math]

The Tenney height of this monzo is given by

[math]\displaystyle{ \| |v_2 (q) \, v_3 (q) \dotso v_p (q) \rangle \| = |v_2 (q)| + |v_3 (q)| \log_2 3 + \dotsb + |v_p (q)| \log_2 p }[/math]

Where vp (q) is the p-adic valuation of q.

Example

The 5-limit interval 16/15 factors as 24 3-1 5-1, so it has a monzo representation of [4 -1 -1. In weighted coordinates, that becomes [4 -log2 (3) -log2 (5), approximately [4 -1.585 -2.322.

The TE norm is therefore

[math]\displaystyle{ \sqrt{(4^2 + \log_2(3)^2 + \log_2(5)^2)} ≅ \sqrt{23.903} ≅ 4.889. }[/math]

See also