Delta-rational chord: Difference between revisions
| Line 56: | Line 56: | ||
Say we want the error of a chord 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> (in increasing order) in the linear domain as an approximation to a fully delta-rational chord with signature +δ<sub>1</sub> +δ<sub>2</sub> ... +δ<sub>''n''</sub>, i.e. a chord | Say we want the error of a chord 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> (in increasing order) in the linear domain as an approximation to a fully delta-rational chord with signature +δ<sub>1</sub> +δ<sub>2</sub> ... +δ<sub>''n''</sub>, i.e. a chord | ||
<math> | <math> x : x + \delta_1 : \cdots : x + \sum_{l=1}^n \delta_l </math> | ||
where we vary | where we vary x and ask, "By at least how much do the deltas have to be off for any x?" | ||
Rewriting a bit, if 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> has delta signature +ε<sub>1</sub> +ε<sub>2</sub> ... +ε<sub>''n''</sub> (where the chord is 1:1+ε<sub>1</sub>:...), let <math>D_i = \sum_{k=1}^i \delta_i</math> and <math>E_i = \sum_{k=1}^i \epsilon_i.</math> Then the resulting linear least-squares optimization problem is | |||
<math> \displaystyle{ \ | <math> | ||
\displaystyle{ \min_x \sqrt{\sum_{i=1}^n \Bigg( E_ix - D_i \Bigg)^2 } } | |||
</math> | |||
with solution | |||
<math> | <math> | ||
x = \displaystyle{\frac{\sum_{i=1}^n D_i E_i}{\sum_{i=1}^n E_i^2},} | |||
</math> | </math> | ||
which can be plugged back into the error formula to obtain the error. (We multiply the 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> chord by | which can be plugged back into the error formula to obtain the error. (We multiply the 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> chord by x in order to compare it to the target DR chord on the same isodifferential series.) | ||
This error measure is called '''least-squares delta error'''. Least-squares delta error does not depend on whether the chord whose error is being measured is 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> or the same chord linearly shifted to have root | This error measure is called '''least-squares delta error'''. Least-squares delta error does not depend on whether the chord whose error is being measured is 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> or the same chord linearly shifted to have root x. Unfortunately, this error measure does not form a metric on the set of delta signatures with a fixed number of terms. | ||
This error measure was found by Inthar and groundfault. | This error measure was found by Inthar and groundfault. | ||
== DR and RTT == | == DR and RTT == | ||