Monzos and interval space: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Mike Battaglia (talk | contribs)
m Text replacement - "(\[\[\:(dev|es|purdal|de|en):[^[:space:]\|]*) (.*])" to "$1|$3"
Sintel (talk | contribs)
-legacy
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<span style="display: block; text-align: right;">Other languages: [[:de:Intervallraum|Deutsch]]</span>
{{Interwiki
| de = Intervallraum
| en = Monzos and interval space
| ja = モンゾと音程空間
}}
{{Expert|Monzo}}
This page gives the formal mathematical definition of a '''monzo''' and shows its relation to '''interval space'''.


This page gives the formal mathematical definition of a monzo. For a simpler explanation with examples, visit the [[monzos|monzos]] page.
== Definition ==


=Definition:=
A [[Harmonic limit|''p''-limit]] rational number ''q'' can by definition be factored into primes of size less than or equal to ''p'', giving
 
A [[Harmonic_Limit|p-limit]] rational number q can by definition be factored into primes of size less than or equal to p, giving


<math>q = 2^{e_2} \, 3^{e_3} \, 5^{e_5} \dotso p^{e_p}</math>
<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
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


<math>|e_2 \, e_3 \, e_5 \dotso e_p\rangle</math>
<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|Joe Monzo]].
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
The [[Tenney height]] of this monzo is given by


<math>\| |e_2 \, e_3 \dotso e_p \rangle \| = |e_2| + |e_3| \log_2 3 + \dotsb + |e_p| \log_2 p</math>
<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]; hence we may [http://en.wikipedia.org/wiki/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 [http://en.wikipedia.org/wiki/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 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;.
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)}}.


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
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>\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}</math>
<math>\sqrt{e_2^2 + (e_3\log_2 3)^2 + \dotsb + (e_p\log_2 p)^2}</math>
Line 27: Line 31:
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].
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].


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


<math>q = |v_2 (q) \,v_3 (q) \, v_5 (q) \dotso v_p (q)\rangle</math>
<math>q = |v_2 (q) \,v_3 (q) \, v_5 (q) \dotso v_p (q)\rangle</math>


The [[Tenney_Height|Tenney height]] of this monzo is given by
The [[Tenney height]] of this monzo is given by


<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>
<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>


Where vp(q) is the [http://en.wikipedia.org/wiki/P-adic_order p-adic valuation] of q.
Where ''v''<sub>''p''</sub> (''q'') is the [[Wikipedia: P-adic order|''p''-adic valuation]] of ''q''.
 
=Example:=


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;.
== Example ==
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 }}.


The TE norm is therefore
The TE norm is therefore


<math>\sqrt{(4^2 + log2(3)^2 + log2(5)^2)} ≅ \sqrt{23.903} ≅ 4.889.
<math>\sqrt{(4^2 + \log_2(3)^2 + \log_2(5)^2)} ≅ \sqrt{23.903} ≅ 4.889.
</math>
</math>


''see also [[Fractional_monzos|Fractional monzos]], [[Vals_and_Tuning_Space|Vals and Tuning Space]]...''      [[Category:interval_measure]]
== See also ==
[[Category:interval_space]]
* [[Fractional monzos]]
[[Category:math]]
* [[Vals and tuning space]]
[[Category:monzo]]
 
[[Category:theory]]
[[Category:Regular temperament theory]]
[[Category:todo:add_definition]]
[[Category:Interval space]]
[[Category:todo:split_page]]
[[Category:Math]]
[[Category:Monzo]]

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