<?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%3AOverthink%2FThe_circle_of_relative_error</id>
	<title>User:Overthink/The circle of relative error - 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%3AOverthink%2FThe_circle_of_relative_error"/>
	<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;action=history"/>
	<updated>2026-06-23T15:37:23Z</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:Overthink/The_circle_of_relative_error&amp;diff=226672&amp;oldid=prev</id>
		<title>Overthink: remove intro header</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=226672&amp;oldid=prev"/>
		<updated>2026-03-22T16:58:57Z</updated>

		<summary type="html">&lt;p&gt;remove intro header&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 16:58, 22 March 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; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Introduction ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]In an [[equal temperament]], [[relative error]] is the amount by which the [[mapping]] of an interval or harmonic deviates from its [[Just intonation point|just value]]. For example, in [[12edo]] the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of [[6/5]] is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). Note that absolute error can be found by multiplying the relative error by the equal division&amp;#039;s step size, and in 12edo absolute and relative error are identical. However, one may not always want to use the nearest approximation of every harmonic. For example, in 12edo, using the second best approximation for harmonic 13 (relative error +59.5%) actually gives us less error overall due to cancellation of errors between harmonics. As an example, the relative error of 13/11 in this mapping is 59.5%-48.7%=10.8%. Compare this to the [[patent val]], where all primes use their nearest mappings, where 13/11 has an error of -40.5%-48.7%=-89.2%. If a prime is near perfectly off, the sharp and flat mappings are each the best about equally often, depending on the errors of the other harmonics. Therefore, it is natural to plot relative error not on a range from -50% to +50%, but on a circle.&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;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]In an [[equal temperament]], [[relative error]] is the amount by which the [[mapping]] of an interval or harmonic deviates from its [[Just intonation point|just value]]. For example, in [[12edo]] the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of [[6/5]] is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). Note that absolute error can be found by multiplying the relative error by the equal division&amp;#039;s step size, and in 12edo absolute and relative error are identical. However, one may not always want to use the nearest approximation of every harmonic. For example, in 12edo, using the second best approximation for harmonic 13 (relative error +59.5%) actually gives us less error overall due to cancellation of errors between harmonics. As an example, the relative error of 13/11 in this mapping is 59.5%-48.7%=10.8%. Compare this to the [[patent val]], where all primes use their nearest mappings, where 13/11 has an error of -40.5%-48.7%=-89.2%. If a prime is near perfectly off, the sharp and flat mappings are each the best about equally often, depending on the errors of the other harmonics. Therefore, it is natural to plot relative error not on a range from -50% to +50%, but on a circle.&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;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211458&amp;oldid=prev</id>
		<title>Overthink: added more theory</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211458&amp;oldid=prev"/>
		<updated>2025-09-29T04:07:53Z</updated>

		<summary type="html">&lt;p&gt;added more theory&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 04:07, 29 September 2025&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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;== The circle of relative error ==&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;== The circle of relative error ==&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;[[File:Relative Error Circle 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|The circle of relative error of 12edo|310x310px]]&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;[[File:Relative Error Circle 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|The circle of relative error of 12edo|310x310px]]&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. For each harmonic, the point corresponding to that harmonic on the circle has its angle corresponding to its relative error; the top corresponds to no error, sharper is clockwise, and flatter is counterclockwise. Note that harmonic 1 (the unison) is always on the top. The plot for 12edo, with odd harmonics up to 15, is on the right. Put simply, the relative error of a ratio between two harmonics is the distance, or length of the arc, between those harmonics on the circle. That naive definition doesn&#039;t work all the time, however. The point of the circle is that we don&#039;t always use the best mapping of each harmonic, so we must choose a point (call it the sharp-flat cutoff, or SFC) where any harmonic flatter than it uses the sharp mapping instead, and any harmonic sharper than it uses the flat mapping instead. We often choose the SFC to be at 50%, where every harmonic uses its closest mapping. Since harmonics on opposite sides of the SFC (e.g. 11 and 13 in 12edo) are mapped in opposite directions in terms of sharpness or flatness, we cannot consider the error of ratios between them off the shortest distance (minor arc) between them, but the longer distance (major arc) instead. As a more precise definition, the error of a ratio between two harmonics is the length of the arc between the points corresponding to those harmonics that doesn&#039;t cross the sharp-flat cutoff, with a full circle being 100%.&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. For each harmonic, the point corresponding to that harmonic on the circle has its angle corresponding to its relative error; the top corresponds to no error, sharper is clockwise, and flatter is counterclockwise. Note that harmonic 1 (the unison) is always on the top. The plot for 12edo, with odd harmonics up to 15, is on the right. Put simply, the relative error of a ratio between two harmonics is the distance, or length of the arc, between those harmonics on the circle. That naive definition doesn&#039;t work all the time, however. The point of the circle is that we don&#039;t always use the best mapping of each harmonic, so we must choose a point (call it the sharp-flat cutoff, or SFC) where any harmonic flatter than it uses the sharp mapping instead, and any harmonic sharper than it uses the flat mapping instead&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Just to be rigorous, a harmonic exactly on the SFC is mapped to its closest mapping, though due to the fact that there is always a real number between two given real numbers, it doesn&#039;t really matter&lt;/ins&gt;. We often choose the SFC to be at 50%, where every harmonic uses its closest mapping. Since harmonics on opposite sides of the SFC (e.g. 11 and 13 in 12edo) are mapped in opposite directions in terms of sharpness or flatness, we cannot consider the error of ratios between them off the shortest distance (minor arc) between them, but the longer distance (major arc) instead. As a more precise definition, the error of a ratio between two harmonics is the length of the arc between the points corresponding to those harmonics that doesn&#039;t cross the sharp-flat cutoff, with a full circle being 100%.&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;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; 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;An interval is consistent if its relative error is less than 50%. This corresponds to the arc between the corresponding harmonics being less than 180 degrees, or a semicircle. An [[equal division of the octave]] is consistent in the q-odd-limit if and only if all of the arcs between two odd harmonics up to q (that don&#039;t cross the SFC) are less than 180 degrees. Note that for an EDO to be fully consistent, this property must hold with the SFC at &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exactly &lt;/del&gt;50%. Also note that intervals like 3/1 and 3/2 are considered equivalent and have the same relative error due to octave equivalence. The longest arc between two harmonics is the one between the harmonic closest to the SFC counterclockwise of it and the closest harmonic clockwise of it. For example, in 12edo with the SFC at 50%, the closest harmonic clockwise of the SFC is 13 at -40.5%, and the closest counterclockwise of it is 11 at +48.7%, with the distance between them being 89.2%. However, the SFC does not have to be at 50%; what if we set it at -40% (which is equivalent to +60%) instead? Then, harmonic 13 would be counterclockwise of the SFC and therefore be mapped sharply with +59.5% relative error. Though harmonic 13 itself has greater error, this reduces the error of many intervals. For example, 13/11 now has a relative error of 59.5%-48.7%=10.8%. The maximum relative error of any interval in the 15-odd-limit is now 59.5%-(-3.9%)=63.4% instead; not consistent, but much better than the 89.2% we had before.&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;An interval is consistent if its relative error is less than 50%. This corresponds to the arc between the corresponding harmonics being less than 180 degrees, or a semicircle. An [[equal division of the octave]] is consistent in the q-odd-limit if and only if all of the arcs between two odd harmonics up to q (that don&#039;t cross the SFC) are less than 180 degrees. Note that for an EDO to be fully consistent, this property must hold with the SFC at 50%. Also note that intervals like 3/1 and 3/2 are considered equivalent and have the same relative error due to octave equivalence. The longest arc between two harmonics is the one between the harmonic closest to the SFC counterclockwise of it and the closest harmonic clockwise of it. For example, in 12edo with the SFC at 50%, the closest harmonic clockwise of the SFC is 13 at -40.5%, and the closest counterclockwise of it is 11 at +48.7%, with the distance between them being 89.2%. However, the SFC does not have to be at 50%; what if we set it at -40% (which is equivalent to +60%) instead? Then, harmonic 13 would be counterclockwise of the SFC and therefore be mapped sharply with +59.5% relative error&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Note that setting the SFC to, say, -30% does the exact same thing as setting it to -40%, as harmonics are mapped the same&lt;/ins&gt;. Though harmonic 13 itself has greater error, this reduces the error of many intervals &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;involving it&lt;/ins&gt;. For example, 13/11 now has a relative error of 59.5%-48.7%=10.8%. The maximum relative error of any interval in the 15-odd-limit is now 59.5%-(-3.9%)=63.4% instead; not consistent, but much better than the 89.2% we had before.&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;[[File:Relative Error Circle 35et.png|alt=35edo relative errors: 3: -47.4% 5: -26.7% 7: -25.7% 9: +5.3% 11: -8.0% 13: +48.5% 15: +25.9%|left|thumb|329x329px|Circle of relative error of 35edo]]&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;[[File:Relative Error Circle 35et.png|alt=35edo relative errors: 3: -47.4% 5: -26.7% 7: -25.7% 9: +5.3% 11: -8.0% 13: +48.5% 15: +25.9%|left|thumb|329x329px|Circle of relative error of 35edo]]&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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;Up until now, we have assumed that mappings of composite harmonics are equal to the sum of the mappings of the primes they factor into. For example, the composite number 9 factors into primes as 3*3, and in 12edo, the mapping of harmonic 3 is 19 steps, so the mapping of harmonic 9 is 19+19=38 steps. Since the error of harmonic 3 in 12edo is low (-1.96%), this works out nicely. What if we are using a system where this doesn&amp;#039;t work out so nicely, such as [[35edo]]? In this case, the best approximation of harmonic 3 is 55 steps (20 reduced), but the best approximation of harmonic 9 is 111 steps (6 reduced), not the 110=55*2 that we would get by doubling 3. The 110 step approximation of harmonic 9 has a relative error of -94.7%, or an absolute error of -32.5 cents, way too much. We must therefore use the 111 step approximation that&amp;#039;s 5.3% sharp, but the ratio between this and the best approximation of 3, 55 steps, is inconsistent, being 56 steps. However, this inconsistent approximation of 3 at 56 steps is only barely inconsistent, being 52.6% sharp with +18.0 cents error, much more reasonable than the -32.5 cents of harmonic 9 in the 110 step mapping of it. If k is the relative error of harmonic 3 in N-edo by closest approximation, and k&amp;gt;1/4 (25%), then the relative error of harmonic 9 by direct approximation in N-edo is 1-2k, and the relative error of the approximation of 3/1 derived from &amp;quot;9/3&amp;quot; is 1-k. The relative error of harmonic 9 by patent val would be 2k, and this is greater than the relative error 1-k of the second-best 3/1 when 2k&amp;gt;1-k, which simplifies to k&amp;gt;1/3. In general, EDOs with more than 33.3% relative error on the fifth are better analyzed as dual-fifth, and EDOs with less than 1/3 are better analyzed as plain fifth. There are of course exceptions such as [[49edo]], where the relative error of 3/2 is just barely over 1/3 (+33.7%), but the strong sharpness of harmonics 5, 7, and 11 means it is better analyzed as plain-fifth, and in fact [[9/8]] and its inversion [[16/9]] are the only inconsistent intervals in the 11-odd-limit in 49edo by patent val.&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;Up until now, we have assumed that mappings of composite harmonics are equal to the sum of the mappings of the primes they factor into. For example, the composite number 9 factors into primes as 3*3, and in 12edo, the mapping of harmonic 3 is 19 steps, so the mapping of harmonic 9 is 19+19=38 steps. Since the error of harmonic 3 in 12edo is low (-1.96%), this works out nicely. What if we are using a system where this doesn&amp;#039;t work out so nicely, such as [[35edo]]? In this case, the best approximation of harmonic 3 is 55 steps (20 reduced), but the best approximation of harmonic 9 is 111 steps (6 reduced), not the 110=55*2 that we would get by doubling 3. The 110 step approximation of harmonic 9 has a relative error of -94.7%, or an absolute error of -32.5 cents, way too much. We must therefore use the 111 step approximation that&amp;#039;s 5.3% sharp, but the ratio between this and the best approximation of 3, 55 steps, is inconsistent, being 56 steps. However, this inconsistent approximation of 3 at 56 steps is only barely inconsistent, being 52.6% sharp with +18.0 cents error, much more reasonable than the -32.5 cents of harmonic 9 in the 110 step mapping of it. If k is the relative error of harmonic 3 in N-edo by closest approximation, and k&amp;gt;1/4 (25%), then the relative error of harmonic 9 by direct approximation in N-edo is 1-2k, and the relative error of the approximation of 3/1 derived from &amp;quot;9/3&amp;quot; is 1-k. The relative error of harmonic 9 by patent val would be 2k, and this is greater than the relative error 1-k of the second-best 3/1 when 2k&amp;gt;1-k, which simplifies to k&amp;gt;1/3. In general, EDOs with more than 33.3% relative error on the fifth are better analyzed as dual-fifth, and EDOs with less than 1/3 are better analyzed as plain fifth. There are of course exceptions such as [[49edo]], where the relative error of 3/2 is just barely over 1/3 (+33.7%), but the strong sharpness of harmonics 5, 7, and 11 means it is better analyzed as plain-fifth, and in fact [[9/8]] and its inversion [[16/9]] are the only inconsistent intervals in the 11-odd-limit in 49edo by patent val.&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; 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;However, when do we actually use the sharp fifth or the flat one? In 35edo, it is best to use the flat fifth in chords like 4:5:6, 4:6:7, and 4:6:11 that use odd harmonics 1 and 3, due to the flatness of harmonics 5, 7, and 11. In a chord like 6:7:9, 6:9:10, or 6:9:11, however, it is best to use the sharp fifth between 6 and 9. In a larger chord like 4:5:6:7:9:11 that includes all of harmonics 1, 3, and 9, it is best to use the flat fifth between 1 (4) and 3 (6), and the sharp fifth between 3 (6) and 9. While these chords work well, some don&#039;t, such as 8:10:12:15, which will have an interval almost 75% (about 25 cents) off no matter how it is tuned in 35edo. 35edo is actually quite optimal in its tunings for 5 and 7, both being about a quarter of a step flat to split the errors evenly in chords like 4:5:6 and 6:7:9, and while its 11 is not as optimal, it still works. Even prime 13 arguably works if its inconsistent flat mapping is used. The specifics of how a dual-fifth system works depends on the edo being used; for example, 47edo works differently from 35edo. I propose a wart notation for dual-prime systems using upside-down warts to represent dual primes, for example 35edo&#039;s best 13-limit &quot;val&quot; is 35qf, and 70edo&#039;s best &quot;val&quot; is 70ↄp. Note that upside-down letters are rotated 180 degrees from their regular versions. There is a slight possibility that the dual warts for 3 and 7, being q and p respectively, conflict with the regular warts for primes 59 and 53, but it is very unlikely that this will happen. However, I&#039;m not going to explicitly define the details of this dual wart system, and someone else can do that if they want instead.&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;However, when do we actually use the sharp fifth or the flat one? In 35edo, it is best to use the flat fifth in chords like 4:5:6, 4:6:7, and 4:6:11 that use odd harmonics 1 and 3, due to the flatness of harmonics 5, 7, and 11. In a chord like 6:7:9, 6:9:10, or 6:9:11, however, it is best to use the sharp fifth between 6 and 9. In a larger chord like 4:5:6:7:9:11 that includes all of harmonics 1, 3, and 9, it is best to use the flat fifth between 1 (4) and 3 (6), and the sharp fifth between 3 (6) and 9. While these chords work well, some don&#039;t, such as 8:10:12:15, which will have an interval almost 75% (about 25 cents) off no matter how it is tuned in 35edo. 35edo is actually quite optimal in its tunings for 5 and 7, both being about a quarter of a step flat to split the errors evenly in chords like 4:5:6 and 6:7:9, and while its 11 is not as optimal &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for this, it instead prioritzes the 11th harmonic itself&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;but &lt;/ins&gt;it still works &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in chords&lt;/ins&gt;. Even prime 13 arguably works if its inconsistent flat mapping is used. The specifics of how a dual-fifth system works depends on the edo being used; for example, 47edo works differently from 35edo.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;I propose a wart notation for dual-prime systems using upside-down warts to represent dual primes, for example 35edo&#039;s best 13-limit &quot;val&quot; is 35qf, and 70edo&#039;s best &quot;val&quot; is 70ↄp. Note that upside-down letters are rotated 180 degrees from their regular versions. There is a slight possibility that the dual warts for 3 and 7, being q and p respectively, conflict with the regular warts for primes 59 and 53, but it is very unlikely that this will happen. However, I&#039;m not going to explicitly define the details of this dual wart system, and someone else can do that if they want instead&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Minimal inconsistency count of an EDO ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When using edos to approximate high-limit just intonation, we want to avoid inconsistencies as much as possible, though there are very few edos that avoid inconsistencies completely to a large odd limit. If there are a nonzero number of inconsistences of an edo in an odd limit, it is often best to not use the best mapping of every harmonic. Note that I will be using a somewhat idiosyncratic approach of considering composite harmonics like 9 independently of its prime factors, and treating consistency of unsimplified ratios between harmonics like 9/6 as seperate from simplified ones like 3/2. For example, in 35edo with best mappings of odds 3 and 9, 3/2 and 9/8 are considered consistent, but 9/6 is not. A neat thing about this is that regardless of our SFC, no interval will ever be mapped with more than 100% relative error. We define the minimal inconsistency count (MIC) of n-edo in the q-odd-limit to be the minimum number of inconsistent ratios in the q-odd-limit for any SFC. For example, the MIC of 35edo in the 13-odd-limit is achieved when we set the SFC to have 9 mapped sharp and 13 mapped flat; anywhere between +5.3%/-94.7% and +48.5%/-51.5%. In this mapping, the only inconsistencies are 9/6, 13/9, 13/8, and their inversions, so the MIC of 35edo in the 13-odd-limit is 3. Note that an interval and its inversion, such as 7/6 and 12/7, are not counted separately, but instead as one interval. However, the minimum inconsistency count is sometimes quite tricky to figure out, especially in cases like 35edo in the 15-odd-limit, where its hard to even make an educated guess due to the errors of harmonics being all over the place, but it is much easier for a program to figure this out by brute-forcing each of the SFC ranges with distinct mappings (arcs between harmonics adjacent on the circle).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;However, we sometimes don&#039;t exactly want to choose the mapping with fewest inconsistencies, but instead optimize lower limits&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211452&amp;oldid=prev</id>
		<title>Overthink: added more theory</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211452&amp;oldid=prev"/>
		<updated>2025-09-28T23:10:57Z</updated>

		<summary type="html">&lt;p&gt;added more theory&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 23:10, 28 September 2025&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Introduction ==&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;div&gt;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]In an [[equal temperament]], [[relative error]] is the amount by which the [[mapping]] of an interval or harmonic deviates from its [[Just intonation point|just value]]. For example, in [[12edo]] the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of [[6/5]] is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). Note that absolute error can be found by multiplying the relative error by the equal division&amp;#039;s step size, and in 12edo absolute and relative error are identical. However, one may not always want to use the nearest approximation of every harmonic. For example, in 12edo, using the second best approximation for harmonic 13 (relative error +59.5%) actually gives us less error overall due to cancellation of errors between harmonics. As an example, the relative error of 13/11 in this mapping is 59.5%-48.7%=10.8%. Compare this to the [[patent val]], where all primes use their nearest mappings, where 13/11 has an error of -40.5%-48.7%=-89.2%. If a prime is near perfectly off, the sharp and flat mappings are each the best about equally often, depending on the errors of the other harmonics. Therefore, it is natural to plot relative error not on a range from -50% to +50%, but on a circle.&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;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]In an [[equal temperament]], [[relative error]] is the amount by which the [[mapping]] of an interval or harmonic deviates from its [[Just intonation point|just value]]. For example, in [[12edo]] the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of [[6/5]] is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). Note that absolute error can be found by multiplying the relative error by the equal division&amp;#039;s step size, and in 12edo absolute and relative error are identical. However, one may not always want to use the nearest approximation of every harmonic. For example, in 12edo, using the second best approximation for harmonic 13 (relative error +59.5%) actually gives us less error overall due to cancellation of errors between harmonics. As an example, the relative error of 13/11 in this mapping is 59.5%-48.7%=10.8%. Compare this to the [[patent val]], where all primes use their nearest mappings, where 13/11 has an error of -40.5%-48.7%=-89.2%. If a prime is near perfectly off, the sharp and flat mappings are each the best about equally often, depending on the errors of the other harmonics. Therefore, it is natural to plot relative error not on a range from -50% to +50%, but on a circle.&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;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; 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;An interval is consistent if its relative error is less than 50%. This corresponds to the arc between the corresponding harmonics being less than 180 degrees, or a semicircle. An [[equal division of the octave]] is consistent in the q-odd-limit if and only if all of the arcs between two odd harmonics up to q (that don&#039;t cross the SFC) are less than 180 degrees. Note that for an EDO to be fully consistent, this property must hold with the SFC at exactly 50%. The longest arc between two harmonics is the one between the harmonic closest to the SFC counterclockwise of it and the closest harmonic clockwise of it. For example, in 12edo with the SFC at 50%, the closest harmonic clockwise of the SFC is 13 at -40.5%, and the closest counterclockwise of it is 11 at +48.7%, with the distance between them being 89.2%. However, the SFC does not have to be at 50%; what if we set it at -40% (which is equivalent to +60%) instead? Then, harmonic 13 would be counterclockwise of the SFC and therefore be mapped sharply with +59.5% relative error. Though harmonic 13 itself has greater error, this reduces the error of many intervals. For example, 13/11 now has a relative error of 59.5%-48.7%=10.8%. The maximum relative error of any interval in the 15-odd-limit is now 59.5%-(-3.9%)=63.4% instead; not consistent, but much better than the 89.2% we had before.&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;An interval is consistent if its relative error is less than 50%. This corresponds to the arc between the corresponding harmonics being less than 180 degrees, or a semicircle. An [[equal division of the octave]] is consistent in the q-odd-limit if and only if all of the arcs between two odd harmonics up to q (that don&#039;t cross the SFC) are less than 180 degrees. Note that for an EDO to be fully consistent, this property must hold with the SFC at exactly 50%&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Also note that intervals like 3/1 and 3/2 are considered equivalent and have the same relative error due to octave equivalence&lt;/ins&gt;. The longest arc between two harmonics is the one between the harmonic closest to the SFC counterclockwise of it and the closest harmonic clockwise of it. For example, in 12edo with the SFC at 50%, the closest harmonic clockwise of the SFC is 13 at -40.5%, and the closest counterclockwise of it is 11 at +48.7%, with the distance between them being 89.2%. However, the SFC does not have to be at 50%; what if we set it at -40% (which is equivalent to +60%) instead? Then, harmonic 13 would be counterclockwise of the SFC and therefore be mapped sharply with +59.5% relative error. Though harmonic 13 itself has greater error, this reduces the error of many intervals. For example, 13/11 now has a relative error of 59.5%-48.7%=10.8%. The maximum relative error of any interval in the 15-odd-limit is now 59.5%-(-3.9%)=63.4% instead; not consistent, but much better than the 89.2% we had before.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Relative Error Circle 35et.png|alt=35edo relative errors: 3: -47.4% 5: -26.7% 7: -25.7% 9: +5.3% 11: -8.0% 13: +48.5% 15: +25.9%|left|thumb|329x329px|Circle of relative error of 35edo]]&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Composite harmonics and dual-fifth systems ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Up until now, we have assumed that mappings of composite harmonics are equal to the sum of the mappings of the primes they factor into. For example, the composite number 9 factors into primes as 3*3, and in 12edo, the mapping of harmonic 3 is 19 steps, so the mapping of harmonic 9 is 19+19=38 steps. Since the error of harmonic 3 in 12edo is low (-1.96%), this works out nicely. What if we are using a system where this doesn&#039;t work out so nicely, such as [[35edo]]? In this case, the best approximation of harmonic 3 is 55 steps (20 reduced), but the best approximation of harmonic 9 is 111 steps (6 reduced), not the 110=55*2 that we would get by doubling 3. The 110 step approximation of harmonic 9 has a relative error of -94.7%, or an absolute error of -32.5 cents, way too much. We must therefore use the 111 step approximation that&#039;s 5.3% sharp, but the ratio between this and the best approximation of 3, 55 steps, is inconsistent, being 56 steps. However, this inconsistent approximation of 3 at 56 steps is only barely inconsistent, being 52.6% sharp with +18.0 cents error, much more reasonable than the -32.5 cents of harmonic 9 in the 110 step mapping of it. If k is the relative error of harmonic 3 in N-edo by closest approximation, and k&amp;gt;1/4 (25%), then the relative error of harmonic 9 by direct approximation in N-edo is 1-2k, and the relative error of the approximation of 3/1 derived from &quot;9/3&quot; is 1-k. The relative error of harmonic 9 by patent val would be 2k, and this is greater than the relative error 1-k of the second-best 3/1 when 2k&amp;gt;1-k, which simplifies to k&amp;gt;1/3. In general, EDOs with more than 33.3% relative error on the fifth are better analyzed as dual-fifth, and EDOs with less than 1/3 are better analyzed as plain fifth. There are of course exceptions such as [[49edo]], where the relative error of 3/2 is just barely over 1/3 (+33.7%), but the strong sharpness of harmonics 5, 7, and 11 means it is better analyzed as plain-fifth, and in fact [[9/8]] and its inversion [[16/9]] are the only inconsistent intervals in the 11-odd-limit in 49edo by patent val.&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; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Up until now&lt;/del&gt;, we &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;have assumed &lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mappings of composite &lt;/del&gt;harmonics &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;are equal &lt;/del&gt;to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sum &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the mappings of the primes they factor into&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For example&lt;/del&gt;, the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;composite number &lt;/del&gt;9 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;factors into primes as 3*&lt;/del&gt;3, and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in 12edo&lt;/del&gt;, the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mapping of harmonic &lt;/del&gt;3 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is 19 steps&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;so &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mapping of harmonic &lt;/del&gt;9 is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;19+19=38 steps&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Since &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;error of harmonic 3 &lt;/del&gt;in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;12edo &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;low (&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;96%)&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;this works out nicely&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;But what if we &lt;/del&gt;are &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;using &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;system where &lt;/del&gt;this &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;doesn&lt;/del&gt;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;t work out so nicely&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;such as [[35edo]]?&lt;/del&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;However&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;when do &lt;/ins&gt;we &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;actually use the sharp fifth or the flat one? In 35edo, it is best to use the flat fifth in chords like 4:5:6, 4:6:7, and 4:6:11 &lt;/ins&gt;that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;use odd &lt;/ins&gt;harmonics &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1 and 3, due &lt;/ins&gt;to the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;flatness &lt;/ins&gt;of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;harmonics 5, 7, and 11&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In a chord like 6:7:9, 6:9:10, or 6:9:11, however&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it is best to use &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sharp fifth between 6 and &lt;/ins&gt;9&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. In a larger chord like 4:5:6:7:9:11 that includes all of harmonics 1, &lt;/ins&gt;3, and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;9&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it is best to use &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;flat fifth between 1 (4) and &lt;/ins&gt;3 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(6)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sharp fifth between 3 (6) and &lt;/ins&gt;9&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. While these chords work well, some don&#039;t, such as 8:10:12:15, which will have an interval almost 75% (about 25 cents) off no matter how it &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tuned in 35edo&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;35edo is actually quite optimal in its tunings for 5 and 7, both being about a quarter of a step flat to split &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;errors evenly &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;chords like 4:5:6 and 6:7:9, and while its 11 &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;not as optimal, it still works. Even prime 13 arguably works if its inconsistent flat mapping is used. The specifics of how a dual&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fifth system works depends on the edo being used; for example, 47edo works differently from 35edo&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;I propose a wart notation for dual-prime systems using upside-down warts to represent dual primes, for example 35edo&#039;s best 13-limit &quot;val&quot; is 35qf&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and 70edo&#039;s best &quot;val&quot; is 70ↄp&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note that upside-down letters &lt;/ins&gt;are &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rotated 180 degrees from their regular versions. There is &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;slight possibility that the dual warts for 3 and 7, being q and p respectively, conflict with the regular warts for primes 59 and 53, but it is very unlikely that &lt;/ins&gt;this &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will happen. However, I&lt;/ins&gt;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;m not going to explicitly define the details of this dual wart system&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and someone else can do that if they want instead.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211448&amp;oldid=prev</id>
		<title>Overthink: /* The circle of relative error */ added more theory</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211448&amp;oldid=prev"/>
		<updated>2025-09-28T21:36:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The circle of relative error: &lt;/span&gt; added more theory&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 21:36, 28 September 2025&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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;== The circle of relative error ==&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;== The circle of relative error ==&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;[[File:Relative Error Circle 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|The circle of relative error of 12edo]]&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;[[File:Relative Error Circle 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|The circle of relative error of 12edo&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|310x310px&lt;/ins&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. The plot for 12edo is on the right.&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. For each harmonic, the point corresponding to that harmonic on the circle has its angle corresponding to its relative error; the top corresponds to no error, sharper is clockwise, and flatter is counterclockwise. Note that harmonic 1 (the unison) is always on the top&lt;/ins&gt;. The plot for 12edo&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, with odd harmonics up to 15, &lt;/ins&gt;is on the right. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Put simply, the relative error of a ratio between two harmonics is the distance, or length of the arc, between those harmonics on the circle. That naive definition doesn&#039;t work all the time, however. The point of the circle is that we don&#039;t always use the best mapping of each harmonic, so we must choose a point (call it the sharp-flat cutoff, or SFC) where any harmonic flatter than it uses the sharp mapping instead, and any harmonic sharper than it uses the flat mapping instead. We often choose the SFC to be at 50%, where every harmonic uses its closest mapping. Since harmonics on opposite sides of the SFC (e.g. 11 and 13 in 12edo) are mapped in opposite directions in terms of sharpness or flatness, we cannot consider the error of ratios between them off the shortest distance (minor arc) between them, but the longer distance (major arc) instead. As a more precise definition, the error of a ratio between two harmonics is the length of the arc between the points corresponding to those harmonics that doesn&#039;t cross the sharp-flat cutoff, with a full circle being 100%.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An interval is consistent if its relative error is less than 50%. This corresponds to the arc between the corresponding harmonics being less than 180 degrees, or a semicircle. An [[equal division of the octave]] is consistent in the q-odd-limit if and only if all of the arcs between two odd harmonics up to q (that don&#039;t cross the SFC) are less than 180 degrees. Note that for an EDO to be fully consistent, this property must hold with the SFC at exactly 50%. The longest arc between two harmonics is the one between the harmonic closest to the SFC counterclockwise of it and the closest harmonic clockwise of it. For example, in 12edo with the SFC at 50%, the closest harmonic clockwise of the SFC is 13 at -40.5%, and the closest counterclockwise of it is 11 at +48.7%, with the distance between them being 89.2%. However, the SFC does not have to be at 50%; what if we set it at -40% (which is equivalent to +60%) instead? Then, harmonic 13 would be counterclockwise of the SFC and therefore be mapped sharply with +59.5% relative error. Though harmonic 13 itself has greater error, this reduces the error of many intervals. For example, 13/11 now has a relative error of 59.5%-48.7%=10.8%. The maximum relative error of any interval in the 15-odd-limit is now 59.5%-(-3.9%)=63.4% instead; not consistent, but much better than the 89.2% we had before.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Up until now, we have assumed that mappings of composite harmonics are equal to the sum of the mappings of the primes they factor into. For example, the composite number 9 factors into primes as 3*3, and in 12edo, the mapping of harmonic 3 is 19 steps, so the mapping of harmonic 9 is 19+19=38 steps. Since the error of harmonic 3 in 12edo is low (-1.96%), this works out nicely. But what if we are using a system where this doesn&#039;t work out so nicely, such as [[35edo]]?&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211442&amp;oldid=prev</id>
		<title>Overthink: /* The circle of relative error */ It just won&#039;t fix for some reason.</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211442&amp;oldid=prev"/>
		<updated>2025-09-28T20:52:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The circle of relative error: &lt;/span&gt; It just won&amp;#039;t fix for some reason.&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 20:52, 28 September 2025&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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;== The circle of relative error ==&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;== The circle of relative error ==&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;[[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Graph Harmonic &lt;/del&gt;Error 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Circle &lt;/del&gt;of relative error of 12edo]]&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;[[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Relative &lt;/ins&gt;Error &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Circle &lt;/ins&gt;12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The circle &lt;/ins&gt;of relative error of 12edo]]&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. The plot for 12edo is on the right.&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. The plot for 12edo is on the right.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211441&amp;oldid=prev</id>
		<title>Overthink: /* The circle of relative error */ Temporarily changed image to change back and fix it</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211441&amp;oldid=prev"/>
		<updated>2025-09-28T20:51:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The circle of relative error: &lt;/span&gt; Temporarily changed image to change back and fix it&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 20:51, 28 September 2025&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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;== The circle of relative error ==&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;== The circle of relative error ==&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;[[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Relative &lt;/del&gt;Error &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Circle &lt;/del&gt;12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|Circle of relative error of 12edo]]&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;[[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Graph Harmonic &lt;/ins&gt;Error 12et.png|alt=Relative error on a circle, Clockwise: sharp. Counterclockwise: flat.|thumb|Circle of relative error of 12edo]]&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. The plot for 12edo is on the right.&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;We plot relative error on a circle as follows: The top corresponds to zero error, far left is 25% flat, far right is 25% sharp, and the bottom is ±50% error. The plot for 12edo is on the right.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211440&amp;oldid=prev</id>
		<title>Overthink: Finished intro, added brief description of main topic</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211440&amp;oldid=prev"/>
		<updated>2025-09-28T20:47:45Z</updated>

		<summary type="html">&lt;p&gt;Finished intro, added brief description of main topic&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 20:47, 28 September 2025&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; 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;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]&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;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In an [[equal temperament]], [[relative error]] is the amount by which the [[mapping]] of an interval or harmonic deviates from its [[Just intonation point|just value]]. For example, in [[12edo]] the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of [[6/5]] is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). Note that absolute error can be found by multiplying the relative error by the equal division&#039;s step size, and in 12edo absolute and relative error are identical. However, one may not always want to use the nearest approximation of every harmonic. For example, in 12edo, using the second best approximation for harmonic 13 (relative error +59.5%) actually gives us less error overall due to cancellation of errors between harmonics. As an example, the relative error of 13/11 in this mapping is 59.5%-48.7%=10.8%. Compare this to the [[patent val]], where all primes use their nearest mappings, where 13/11 has an error of -40.5%-48.7%=-89.2%. If a prime is near perfectly off, the sharp and flat mappings are each the best about equally often, depending on the errors of the other harmonics. Therefore, it is natural to plot relative error not on a range from -50% to +50%, but on a circle.&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; 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;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Introduction &lt;/del&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;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The circle of relative error &lt;/ins&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In an equal temperament, relative error is the amount by which the mapping of an interval or harmonic deviates from its just value. For example, in 12edo the relative error of &lt;/del&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3/2]] is -2&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0%&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and the &lt;/del&gt;relative error of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [[5/4&lt;/del&gt;]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is +13.7%. &lt;/del&gt;We &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;can &lt;/del&gt;plot &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;relative error &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of harmonics in &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;graph like the one on the right. This graph lets us calculate the relative &lt;/del&gt;error &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of intervals. For example&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the relative error of  6/5 &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;13.7&lt;/del&gt;%&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-(-2.0&lt;/del&gt;%&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)=15.6&lt;/del&gt;% &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(not 15.7% due to rounding &lt;/del&gt;error&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;However, one may not always want to use &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nearest approximation of every harmonic. For example, using the second best approximation for harmonic 13, with relative error +59.5%, actually gives us less error overall due to cancellation of errors between harmonics&lt;/del&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;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;File:Relative Error Circle 12et&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png|alt=Relative error on a circle&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Clockwise: sharp. Counterclockwise: flat.|thumb|Circle of &lt;/ins&gt;relative error of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;12edo&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;We plot relative error &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;circle as follows: The top corresponds to zero &lt;/ins&gt;error, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;far left &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;25&lt;/ins&gt;% &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;flat, far right is 25&lt;/ins&gt;% &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sharp, and the bottom is ±50&lt;/ins&gt;% error. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The plot for 12edo is on &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;right&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
	<entry>
		<id>https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211415&amp;oldid=prev</id>
		<title>Overthink: Started page with incomplete introduction</title>
		<link rel="alternate" type="text/html" href="https://en.xen.wiki/index.php?title=User:Overthink/The_circle_of_relative_error&amp;diff=211415&amp;oldid=prev"/>
		<updated>2025-09-28T17:24:59Z</updated>

		<summary type="html">&lt;p&gt;Started page with incomplete introduction&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Graph Harmonic Error 12et.png|alt=12edo 3: +2.0% 5: +13.7% 7: +31.2% 9: +3.9% 11: +48.7% 13: -40.5% 15: +11.7%|thumb|383x383px|Relative error of harmonics in 12edo]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
In an equal temperament, relative error is the amount by which the mapping of an interval or harmonic deviates from its just value. For example, in 12edo the relative error of [[3/2]] is -2.0%, and the relative error of  [[5/4]] is +13.7%. We can plot the relative error of harmonics in a graph like the one on the right. This graph lets us calculate the relative error of intervals. For example, the relative error of  6/5 is 13.7%-(-2.0%)=15.6% (not 15.7% due to rounding error). However, one may not always want to use the nearest approximation of every harmonic. For example, using the second best approximation for harmonic 13, with relative error +59.5%, actually gives us less error overall due to cancellation of errors between harmonics.&lt;/div&gt;</summary>
		<author><name>Overthink</name></author>
	</entry>
</feed>