Wedgie/Archived version: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 66: Line 66:
The key fact about the determinant we use here is that two integer vectors v<sub>1</sub>, v<sub>2</sub> form a basis for the rank-2 integer lattice '''Z'''<sup>2</sup> iff det(v<sub>1</sub>, v<sub>2</sub>) = ±1. So in order to find a period and generator for our temperament, we need a pair of vectors {p, g} such that W(p, g) = 1 and p is 1\d for some integer d.
The key fact about the determinant we use here is that two integer vectors v<sub>1</sub>, v<sub>2</sub> form a basis for the rank-2 integer lattice '''Z'''<sup>2</sup> iff det(v<sub>1</sub>, v<sub>2</sub>) = ±1. So in order to find a period and generator for our temperament, we need a pair of vectors {p, g} such that W(p, g) = 1 and p is 1\d for some integer d.


Let d = gcd(W(2/1, q<sub>1</sub>), ..., W(2/1, q<sub>n</sub>)). This tells you that for any JI ratio v in your JI subgroup, W(2/1, v) = 2n(v) for some number n(v) [that depends linearly on v]. This equation is also true when we replace 2/1 with any JI ratio u that is equated to 2/1. This tells us that for W(p, g) = 1, we (up to some choices) need p to be an interval such that d*p is equated to 2/1, i.e. p represents 1/d of the octave.
Let d = gcd(W(2/1, q<sub>1</sub>), ..., W(2/1, q<sub>''n''</sub>)). This tells you that for any JI ratio v in your JI subgroup, W(2/1, v) = 2n(v) for some number n(v) [that depends linearly on v]. This equation is also true when we replace 2/1 with any JI ratio u that is equated to 2/1. This tells us that for W(p, g) = 1, we (up to some choices) need p to be an interval such that d*p is equated to 2/1, i.e. p represents 1/d of the octave.


Choose a basis e<sub>1</sub>, e<sub>2</sub> for the temperament group and write (the image of) 2/1 as 2/1 = k<sub>1</sub> e<sub>1</sub> + k<sub>2</sub> e<sub>2</sub>. Then:
Choose a basis e<sub>1</sub>, e<sub>2</sub> for the temperament group and write (the image of) 2/1 as 2/1 = k<sub>1</sub> e<sub>1</sub> + k<sub>2</sub> e<sub>2</sub>. Then:
*W(2/1, e<sub>1</sub>) = W(k<sub>2</sub> e<sub>2</sub>, e<sub>1</sub>) = -k<sub>2</sub> W(e<sub>1</sub>, e<sub>2</sub>) = -k<sub>2</sub>
*W(2/1, e<sub>1</sub>) = W(k<sub>2</sub> e<sub>2</sub>, e<sub>1</sub>) = -k<sub>2</sub> W(e<sub>1</sub>, e<sub>2</sub>) = -k<sub>2</sub>
*W(2/1, e<sub>2</sub>) = W(k<sub>1</sub> e<sub>1</sub>, e<sub>2</sub>) = k<sub>1</sub> W(e<sub>1</sub>, e<sub>2</sub>) = k<sub>1</sub>.
*W(2/1, e<sub>2</sub>) = W(k<sub>1</sub> e<sub>1</sub>, e<sub>2</sub>) = k<sub>1</sub> W(e<sub>1</sub>, e<sub>2</sub>) = k<sub>1</sub>.
Divisibility by d and the fact that e<sub>1</sub> and e<sub>2</sub> represent JI ratios in the 2.q<sub>1</sub>.[...].q<sub>n</sub> subgroup imply that k<sub>1</sub> and k<sub>2</sub> are both divisible by d, and hence 2/1 is a dth power in M' (the temperament space). Since gcd(W(2, q<sub>1</sub>), ..., W(2, q<sub>n</sub>)) = d, we can always find a linear combination g = c<sub>1</sub> q<sub>1</sub> + ... + c<sub>n</sub> q<sub>n</sub> such that W(2, g) = c<sub>1</sub> W(2, q<sub>1</sub>) + ... c<sub>n</sub> W(2,q<sub>n</sub>) = d using the extended Euclidean algorithm. Then since W(2, g) = W(d*p, g) = d*W(p, g) = d, we have W(p,g) = 1. Ta-da!
Divisibility by d and the fact that e<sub>1</sub> and e<sub>2</sub> represent JI ratios in the 2.q<sub>1</sub>.[...].q<sub>''n''</sub> subgroup imply that k<sub>1</sub> and k<sub>2</sub> are both divisible by d, and hence 2/1 is a dth power in M' (the temperament space). Since gcd(W(2, q<sub>1</sub>), ..., W(2, q<sub>''n''</sub>)) = d, we can always find a linear combination g = c<sub>1</sub> q<sub>1</sub> + ... + c<sub>''n''</sub> q<sub>''n''</sub> such that W(2, g) = c<sub>1</sub> W(2, q<sub>1</sub>) + ... c<sub>''n''</sub> W(2,q<sub>''n''</sub>) = d using the extended Euclidean algorithm. Then since W(2, g) = W(d*p, g) = d*W(p, g) = d, we have W(p,g) = 1. Ta-da!


== Technical introduction ==
== Technical introduction ==