<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASintel%2FExpected_Dirichlet_coefficient_for_temperaments</id>
	<title>User:Sintel/Expected Dirichlet coefficient for temperaments - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASintel%2FExpected_Dirichlet_coefficient_for_temperaments"/>
	<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;action=history"/>
	<updated>2026-06-22T14:48:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=230235&amp;oldid=prev</id>
		<title>Sintel at 01:51, 14 May 2026</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=230235&amp;oldid=prev"/>
		<updated>2026-05-14T01:51:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:51, 14 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l133&quot;&gt;Line 133:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 133:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\begin{aligned}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\begin{aligned}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	\mathrm{Vol}(d(X,y) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt; &lt;/del&gt;r)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	\mathrm{Vol}(d(X,y) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\le &lt;/ins&gt;r)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;amp;\approx \frac{1}{B\!\left(\frac{n-k}{2}, \frac{k}{2}\right)} \cdot \frac{r^{n-k}}{\frac{n-k}{2}} \\[10pt]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;amp;\approx \frac{1}{B\!\left(\frac{n-k}{2}, \frac{k}{2}\right)} \cdot \frac{r^{n-k}}{\frac{n-k}{2}} \\[10pt]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;amp;= \frac{\Gamma\!\left(\frac{n}{2}\right)}{\Gamma\!\left(\frac{k}{2}\right)\,\Gamma\!\left(\frac{n-k+2}{2}\right)}\, r^{n-k}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;amp;= \frac{\Gamma\!\left(\frac{n}{2}\right)}{\Gamma\!\left(\frac{k}{2}\right)\,\Gamma\!\left(\frac{n-k+2}{2}\right)}\, r^{n-k}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=230006&amp;oldid=prev</id>
		<title>Sintel: /* References */ fix link</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=230006&amp;oldid=prev"/>
		<updated>2026-05-11T11:48:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;References: &lt;/span&gt; fix link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:48, 11 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l175&quot;&gt;Line 175:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 175:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&amp;quot;Schmidt1967&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;On Heights of Algebraic Subspaces and Diophantine Approximations&amp;#039;&amp;#039;. Annals of Mathematics, Vol. 85, No. 3 (1967), pp. 430-472, theorem 15 [https://doi.org/10.2307/1970352 doi:10.2307/1970352]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&amp;quot;Schmidt1967&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;On Heights of Algebraic Subspaces and Diophantine Approximations&amp;#039;&amp;#039;. Annals of Mathematics, Vol. 85, No. 3 (1967), pp. 430-472, theorem 15 [https://doi.org/10.2307/1970352 doi:10.2307/1970352]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&quot;Schmidt1968&quot;&amp;gt;Wolfgang M. Schmidt. &#039;&#039;Asymptotic formulae for point lattices of bounded determinant and subspaces of bounded height&#039;&#039;. Duke Mathematical Journal Vol. 35 No. 2, pp. 327-339 (1968), theorem 1 [https://doi.org/10.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2307&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1970352 &lt;/del&gt;doi:10.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2307&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1970352&lt;/del&gt;]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&quot;Schmidt1968&quot;&amp;gt;Wolfgang M. Schmidt. &#039;&#039;Asymptotic formulae for point lattices of bounded determinant and subspaces of bounded height&#039;&#039;. Duke Mathematical Journal Vol. 35 No. 2, pp. 327-339 (1968), theorem 1 [https://doi.org/10.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1215&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S0012-7094-68-03532-1 &lt;/ins&gt;doi:10.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1215&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S0012-7094-68-03532-1&lt;/ins&gt;]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&amp;quot;Schmidt1998&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;The distribution of sub-lattices of Z&amp;lt;sup&amp;gt;m&amp;lt;/sup&amp;gt;&amp;#039;&amp;#039;. Monatshefte für Mathematik Vol. 125 No. 1, pp 37–81 (1998) [https://doi.org/10.1007/BF01489457 doi:10.1007/BF01489457]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ref name=&amp;quot;Schmidt1998&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;The distribution of sub-lattices of Z&amp;lt;sup&amp;gt;m&amp;lt;/sup&amp;gt;&amp;#039;&amp;#039;. Monatshefte für Mathematik Vol. 125 No. 1, pp 37–81 (1998) [https://doi.org/10.1007/BF01489457 doi:10.1007/BF01489457]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/references&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/references&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=229994&amp;oldid=prev</id>
		<title>Sintel: link badness article</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=229994&amp;oldid=prev"/>
		<updated>2026-05-11T01:45:21Z</updated>

		<summary type="html">&lt;p&gt;link badness article&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:45, 11 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the context of [[regular temperament theory]], a natural question is how well a given temperament approximates [[just intonation]] relative to its [[complexity]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the context of [[regular temperament theory]], a natural question is how well a given temperament approximates [[just intonation]] relative to its [[complexity]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &#039;&#039;&#039;Dirichlet coefficient&#039;&#039;&#039; gives a quantitative way to measure this.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &#039;&#039;&#039;Dirichlet coefficient&#039;&#039;&#039; gives a quantitative way to measure this&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. This is the same as the &quot;[[TE logflat badness|badness]]&quot; used on the wiki, though the derivation here is given for the regular Euclidean norm for clarity&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Given a target vector &amp;lt;math&amp;gt;y \in \mathbb{R}^n&amp;lt;/math&amp;gt;, such as the [[JIP | vector of log-primes]] in some &amp;#039;&amp;#039;p&amp;#039;&amp;#039;-limit, and a rank-&amp;#039;&amp;#039;k&amp;#039;&amp;#039; temperament &amp;#039;&amp;#039;X&amp;#039;&amp;#039;, the Dirichlet coefficient is defined as:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Given a target vector &amp;lt;math&amp;gt;y \in \mathbb{R}^n&amp;lt;/math&amp;gt;, such as the [[JIP | vector of log-primes]] in some &amp;#039;&amp;#039;p&amp;#039;&amp;#039;-limit, and a rank-&amp;#039;&amp;#039;k&amp;#039;&amp;#039; temperament &amp;#039;&amp;#039;X&amp;#039;&amp;#039;, the Dirichlet coefficient is defined as:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=229993&amp;oldid=prev</id>
		<title>Sintel: publish</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Sintel/Expected_Dirichlet_coefficient_for_temperaments&amp;diff=229993&amp;oldid=prev"/>
		<updated>2026-05-11T01:22:46Z</updated>

		<summary type="html">&lt;p&gt;publish&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In the context of [[regular temperament theory]], a natural question is how well a given temperament approximates [[just intonation]] relative to its [[complexity]].&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Dirichlet coefficient&amp;#039;&amp;#039;&amp;#039; gives a quantitative way to measure this.&lt;br /&gt;
&lt;br /&gt;
Given a target vector &amp;lt;math&amp;gt;y \in \mathbb{R}^n&amp;lt;/math&amp;gt;, such as the [[JIP | vector of log-primes]] in some &amp;#039;&amp;#039;p&amp;#039;&amp;#039;-limit, and a rank-&amp;#039;&amp;#039;k&amp;#039;&amp;#039; temperament &amp;#039;&amp;#039;X&amp;#039;&amp;#039;, the Dirichlet coefficient is defined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	d(y, X) \cdot H(X)^{\frac{n}{n-k}} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;d(y, X)&amp;lt;/math&amp;gt; is the projective distance between the target vector and the temperament, and &amp;lt;math&amp;gt;H(X)&amp;lt;/math&amp;gt; is the height (or [[complexity]]) of the temperament. Both of these quantities can be computed straightforwardly using the temperament&amp;#039;s [[Plücker coordinates]].&lt;br /&gt;
&lt;br /&gt;
This coefficient generalizes {{w|Dirichlet&amp;#039;s approximation theorem}}. A fundamental result in Diophantine approximation by W. M. Schmidt&amp;lt;ref name=&amp;quot;Schmidt1967&amp;quot;/&amp;gt; states that for any valid target vector &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, there exists a constant &amp;lt;math&amp;gt;C_{n,k}&amp;lt;/math&amp;gt; such that there are infinitely many rational subspaces &amp;#039;&amp;#039;X&amp;#039;&amp;#039; which satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	d(y, X) \cdot H(X)^{\frac{n}{n-k}} \le C_{n,k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The exponent is &amp;#039;&amp;#039;critical&amp;#039;&amp;#039; or &amp;#039;&amp;#039;sharp&amp;#039;&amp;#039; for this problem: if we replace the exponent by &amp;lt;math&amp;gt;\tfrac{n}{n-k} + \epsilon&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;\epsilon &amp;gt; 0&amp;lt;/math&amp;gt;, then we find only finitely many solutions.&lt;br /&gt;
&lt;br /&gt;
By analyzing the distribution of rational points on the {{w|Grassmannian}}, we can derive the expected value for this coefficient, giving us a baseline to determine whether a temperament is a &amp;quot;good&amp;quot; or &amp;quot;bad&amp;quot; approximation relative to its complexity.&lt;br /&gt;
Importantly, this measure does not take into account any kind of psychoacoustics, so it is not in any way &amp;quot;calibrated&amp;quot; to human tolerance to tuning error.&lt;br /&gt;
Instead, it is a purely mathematical metric of coincidence. The upside is that this is robust over an arbitrary range of complexities and does not rely on any free parameters or empirical weights.&lt;br /&gt;
&lt;br /&gt;
== Motivating example: equal temperaments in the 5-limit ==&lt;br /&gt;
&lt;br /&gt;
To understand the Dirichlet coefficient, let&amp;#039;s look at rank-1 temperaments (equal temperaments) in the 5-limit (&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=3).&lt;br /&gt;
Our target vector is the standard [[JIP|just intonation vector]] of log-primes:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	y =[\log_2(2), \log_2(3), \log_2(5)] \approx [1, 1.585, 2.322]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An equal temperament is defined by a line through the origin with a rational slope. For example, [[12edo|12-equal temperament]] corresponds to the line passing through the integer vector &amp;lt;math&amp;gt;X_{12} =[12, 19, 28]&amp;lt;/math&amp;gt;.&lt;br /&gt;
This approximation is good in the sense that the ratios of its coordinates closely match the target vector:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	\frac{19}{12} \approx \log_2(3), \quad \frac{28}{12} \approx \log_2(5)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because we are in 3D, the wedge product used to define projective distance reduces to the standard cross product.&lt;br /&gt;
The projective distance is the sine of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; between the temperament line and the JI vector:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	d(X_{12}, y) = \sin(\theta) = \frac{\|X_{12} \times y\|}{\|X_{12}\| \|y\|} \approx 0.00276&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Since the angle is extremely small (which is always the case for any reasonable temperament) we can take &amp;lt;math&amp;gt;\sin(\theta) \approx \theta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The height is simply the Euclidean norm of the integer vector:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	H(X_{12}) = \sqrt{12^2 + 19^2 + 28^2} \approx 35.902&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an equal temperament (&amp;#039;&amp;#039;k&amp;#039;&amp;#039;=1) in the 5-limit (&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=3), the critical exponent is 3/2. This is equivalent to the classical Dirichlet theorem for simultaneous approximation of two irrational numbers.&lt;br /&gt;
&lt;br /&gt;
Plugging this into our formula gives the Dirichlet coefficient for 12-ET:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	C_{12} = d(X_{12}, y) \cdot H(X_{12})^{3/2} \approx 0.00276 \times 35.902^{1.5} \approx 0.595&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can compare this to the coefficients of some other 5-limit equal temperaments. Lower values indicate that the temperament is exceptionally accurate for its size, while higher values indicate poor approximations.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Temperament !! Dirichlet coefficient&lt;br /&gt;
|-&lt;br /&gt;
| 53-ET || 0.467&lt;br /&gt;
|-&lt;br /&gt;
| 12-ET || 0.595&lt;br /&gt;
|-&lt;br /&gt;
| 34-ET || 0.716&lt;br /&gt;
|-&lt;br /&gt;
| 20-ET || 3.855&lt;br /&gt;
|-&lt;br /&gt;
| 33-ET || 4.621&lt;br /&gt;
|-&lt;br /&gt;
| 52-ET || 6.125&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;small&amp;gt;Note: the point here is not to argue over which of these is &amp;quot;better&amp;quot;, just that this measure generally agrees on which equal temperaments contain good approximations to 5-limit JI relative to their size.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Generalizing to higher rank ==&lt;br /&gt;
&lt;br /&gt;
For higher-rank temperaments, we rely on Schmidt&amp;#039;s general formula. A rank-&amp;#039;&amp;#039;k&amp;#039;&amp;#039; temperament in an &amp;#039;&amp;#039;n&amp;#039;&amp;#039;-prime limit is viewed as a rational &amp;#039;&amp;#039;k&amp;#039;&amp;#039;-dimensional subspace &amp;lt;math&amp;gt;X \in \mathrm{Gr}(k, n)&amp;lt;/math&amp;gt;. By slight abuse of notation, we will identify &amp;#039;&amp;#039;X&amp;#039;&amp;#039; directly with its Plücker coordinates.&lt;br /&gt;
&lt;br /&gt;
As defined in the article on [[Plücker coordinates]], the height is simply the Euclidean norm of the (reduced) Plücker coordinates, and the projective distance is given by:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	d(X, y) = \frac{\|X \wedge y\|}{\|X\| \|y\|}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
This has the same interpretation in terms of the sine of the minimal angle between the subspace and the target.&lt;br /&gt;
&lt;br /&gt;
According to Schmidt&amp;#039;s theorem on metric Diophantine approximation&amp;lt;ref name=&amp;quot;Schmidt1967&amp;quot;/&amp;gt;, the critical exponent balancing distance and height for approximating a target vector &amp;#039;&amp;#039;y&amp;#039;&amp;#039; by a &amp;#039;&amp;#039;k&amp;#039;&amp;#039;-dimensional rational subspace &amp;#039;&amp;#039;X&amp;#039;&amp;#039; is exactly &amp;lt;math&amp;gt;\tfrac{n}{n-k}&amp;lt;/math&amp;gt;, so we immediately obtain:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	d(y, X) \cdot H(X)^{\frac{n}{n-k}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
While we typically assume &amp;#039;&amp;#039;y&amp;#039;&amp;#039; to be the log-primes for some &amp;#039;&amp;#039;p&amp;#039;&amp;#039;-limit, this property holds for any target vector in &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt;, and so it cleanly generalizes to any subgroup.&lt;br /&gt;
&lt;br /&gt;
== Deriving the heuristic constant ==&lt;br /&gt;
&lt;br /&gt;
For the case &amp;#039;&amp;#039;n&amp;#039;&amp;#039;=2, {{w|Hurwitz&amp;#039;s theorem (number theory)|Hurwitz&amp;#039;s theorem}} states that the best possible constant is &amp;lt;math&amp;gt;\tfrac{1}{\sqrt{5}} \approx 0.447&amp;lt;/math&amp;gt;.&lt;br /&gt;
Not much is known about the exact constant needed to obtain a tight bound in the general case.&lt;br /&gt;
&lt;br /&gt;
=== Counting temperaments ===&lt;br /&gt;
&lt;br /&gt;
To determine the expected bound, we must first know how many temperaments exist up to a certain complexity.&lt;br /&gt;
Another classical result by Schmidt&amp;lt;ref name=&amp;quot;Schmidt1968&amp;quot;/&amp;gt; gives the asymptotic distribution of primitive (i.e., [[torsion]]-free) sublattices, which directly correspond to temperaments.&lt;br /&gt;
&lt;br /&gt;
The number of rank-&amp;#039;&amp;#039;k&amp;#039;&amp;#039; temperaments with a complexity bounded by &amp;lt;math&amp;gt;H(X) \le H_{\max}&amp;lt;/math&amp;gt; grows as:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	\#\left\{ X: H(X) \le H_{\max} \right\} \sim c_{n, k} H_{\max}^n&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constant &amp;#039;&amp;#039;c&amp;lt;sub&amp;gt;n,k&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; is given by the formula:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	c_{n, k} = \frac{1}{n} \binom{n}{k} \prod_{i=1}^{k} \frac{V(n-i+1)}{V(i)} \cdot \frac{\zeta(i)}{\zeta(n-i+1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V(m) = \frac{\pi^{m/2}}{\Gamma(m/2+1)}&amp;lt;/math&amp;gt; is the volume of the &amp;#039;&amp;#039;m&amp;#039;&amp;#039;-dimensional Euclidean unit ball, and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is our good old friend, the {{w|Riemann zeta function}} (with the convention that the pole at &amp;lt;math&amp;gt;\zeta(1)&amp;lt;/math&amp;gt; is treated as 1).&lt;br /&gt;
&lt;br /&gt;
=== The distribution of random temperaments ===&lt;br /&gt;
We can find the expected minimum distance for a given maximum height by treating the temperaments as being randomly distributed on the Grassmannian manifold.&lt;br /&gt;
This is asymptotically true by the equidistribution of rational points.&amp;lt;ref name=&amp;quot;Schmidt1998&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By rotational invariance, projecting a fixed target vector &amp;#039;&amp;#039;y&amp;#039;&amp;#039; onto a random &amp;#039;&amp;#039;k&amp;#039;&amp;#039;-plane is statistically identical to projecting a random unit vector onto a fixed plane.&lt;br /&gt;
&lt;br /&gt;
The squared projective distance is the complement of the squared length of the projection (&amp;lt;math&amp;gt;\cos^2 \theta&amp;lt;/math&amp;gt;).&lt;br /&gt;
From standard probability theory, the squared length of a projection of a random unit vector in &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt; onto a plane follows a {{w|Beta distribution}}.&lt;br /&gt;
Therefore, the squared distance is distributed as:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	\sin^2(\theta) \sim \mathrm{Beta}\left(\frac{n-k}{2}, \frac{k}{2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For some search distance &amp;#039;&amp;#039;r&amp;#039;&amp;#039;, the volume (with respect to the normalized {{w|Haar measure}} of the Grassmannian) is given by the cumulative Beta distribution:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	\text{Vol}(d(X,y) \le r) = \frac{1}{B\!\left(\frac{n-k}{2}, \frac{k}{2}\right)} \int_0^{r^2} s^{\frac{n-k}{2}-1}(1-s)^{\frac{k}{2}-1}\, ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is small, &amp;lt;math&amp;gt;(1-s)^{k/2 - 1} \to 1&amp;lt;/math&amp;gt;, so the leading term is:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{aligned}&lt;br /&gt;
	\mathrm{Vol}(d(X,y) &amp;lt; r)&lt;br /&gt;
	&amp;amp;\approx \frac{1}{B\!\left(\frac{n-k}{2}, \frac{k}{2}\right)} \cdot \frac{r^{n-k}}{\frac{n-k}{2}} \\[10pt]&lt;br /&gt;
	&amp;amp;= \frac{\Gamma\!\left(\frac{n}{2}\right)}{\Gamma\!\left(\frac{k}{2}\right)\,\Gamma\!\left(\frac{n-k+2}{2}\right)}\, r^{n-k}&lt;br /&gt;
\end{aligned}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since there are &amp;lt;math&amp;gt;c_{n, k} H_{\max}^n&amp;lt;/math&amp;gt; planes available, the expected number that fall in this radius is:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	\mathbb{E}[\#\{X : H(X) \leq H_{\max},\ d(y,X) \leq r\}] \approx&lt;br /&gt;
	c_{n,k}&lt;br /&gt;
	\cdot H_{\max}^n&lt;br /&gt;
	\cdot \frac{\Gamma\!\left(\frac{n}{2}\right)}{\Gamma\!\left(\frac{k}{2}\right)\,\Gamma\!\left(\frac{n-k+2}{2}\right)}&lt;br /&gt;
	\cdot r^{n-k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Setting this equal to 1 and taking the &amp;#039;&amp;#039;(n-k)&amp;#039;&amp;#039;-th root, we find:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
	r \cdot H_{\max}^{\frac{n}{n-k}} \approx \left( c_{n,k}&lt;br /&gt;
	\frac{\Gamma\!\left(\frac{n}{2}\right)}{\Gamma\!\left(\frac{k}{2}\right)\,\Gamma\!\left(\frac{n-k+2}{2}\right)}&lt;br /&gt;
	\right) ^ {\frac{-1}{n-k}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
which recovers the same critical exponent, but now with an explicit constant &amp;#039;&amp;#039;C&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; for our Dirichlet bound.&lt;br /&gt;
&lt;br /&gt;
A temperament with a coefficient much better than this is exceptional: the heuristic says you would need to search through exponentially more planes to find it by chance.&lt;br /&gt;
&lt;br /&gt;
The following table gives the values of &amp;#039;&amp;#039;C&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; for some small dimensions:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! n !! &amp;#039;&amp;#039;k&amp;#039;&amp;#039; = 1 !! &amp;#039;&amp;#039;k&amp;#039;&amp;#039; = 2 !! &amp;#039;&amp;#039;k&amp;#039;&amp;#039; = 3 !! &amp;#039;&amp;#039;k&amp;#039;&amp;#039; = 4&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1.645&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 1.071 || 0.574&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 1.011 || 0.400 || 0.345&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 1.012 || 0.435 || 0.235 || 0.263&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Schmidt1967&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;On Heights of Algebraic Subspaces and Diophantine Approximations&amp;#039;&amp;#039;. Annals of Mathematics, Vol. 85, No. 3 (1967), pp. 430-472, theorem 15 [https://doi.org/10.2307/1970352 doi:10.2307/1970352]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Schmidt1968&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;Asymptotic formulae for point lattices of bounded determinant and subspaces of bounded height&amp;#039;&amp;#039;. Duke Mathematical Journal Vol. 35 No. 2, pp. 327-339 (1968), theorem 1 [https://doi.org/10.2307/1970352 doi:10.2307/1970352]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Schmidt1998&amp;quot;&amp;gt;Wolfgang M. Schmidt. &amp;#039;&amp;#039;The distribution of sub-lattices of Z&amp;lt;sup&amp;gt;m&amp;lt;/sup&amp;gt;&amp;#039;&amp;#039;. Monatshefte für Mathematik Vol. 125 No. 1, pp 37–81 (1998) [https://doi.org/10.1007/BF01489457 doi:10.1007/BF01489457]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sintel</name></author>
	</entry>
</feed>