Roots of Unity Circle
The n-th roots of unity on the unit circle. The learner clicks a root to trace its powers and read its order (and whether it is primitive), colours the roots by exact order to see x^n - 1 = prod Phi_d, and factors over Q, Q(i) or F_q, where the roots of each irreducible factor form a dashed group. Further views: automorphisms zeta -> zeta^a drawn as arrows, and Gaussian periods summed head to tail down a chain of period lengths.
Used in: Ring Theory
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | by mode, e.g. "The 12th roots of unity" | Title bar text. |
| controls | string[] | all controls shown | Ids of the hideable toggles, readouts and panels to show (see the controls registry, e.g. highlight.primitive, panel.factors, panel.base, readout.degree). Core controls always show. Page building fills this from the subject's topic scope. |
| mode | "roots" | "automorphisms" | "periods" | inferred: chain or f -> periods, automorphism -> automorphisms, else roots | roots: click a root to trace its powers, read its order, colour by order, factor x^n - 1. automorphisms: pick sigma_a: zeta -> zeta^a from the Galois group over the base field and see it permute the roots. periods: Gaussian periods (sums of the primitive roots over the cosets of the subgroup of order f in (Z/n)^x). |
| n | number | 12 (periods: 17) | Which roots of unity: the roots of x^n - 1, 1 <= n <= 60 (labels drawn up to n = 24). The learner can change it with a slider. Periods mode needs (Z/n)^x cyclic: n = 4, p^k or 2p^k. |
| selected | number | string | 1 (zeta itself) | Roots mode: the root selected at start, as the exponent k of zeta^k (a number or "5"), "zeta^5", "exp(2*pi*i*5/12)", "i" or "-i". The learner clicks another root or uses the arrow keys. |
| showPowers | boolean | true (false when showCyclotomicFactors is set) | Roots mode: draw the path 1 -> zeta^k -> zeta^2k -> ... back to 1 for the selected root; a Step button draws it one power at a time. |
| showPrimitive | boolean | false | Roots mode: start with the primitive roots ringed and listed (phi(n) of them, gcd(k, n) = 1). |
| colorByOrder | boolean | true when showCyclotomicFactors or highlightOrder is set, else false | Roots mode: colour every root by its exact order d (a divisor of n). |
| highlightOrder | number | none | Roots mode: a divisor d of n whose roots (the roots of Phi_d) are picked out at start; the others are dimmed. |
| showCyclotomicFactors | boolean | false | Roots mode: open the panel x^n - 1 = prod_{d | n} Phi_d(x) with every Phi_d written out and its degree phi(d); clicking a factor picks out its roots. |
| base | string | "Q" (panel closed unless given) | Base field K: "Q", "Q(i)" or "F_q" with q a prime power ("F_5", "F_4"). Roots mode: opens the panel that factors Phi_d over K (the roots of each irreducible factor form one dashed group, the orbit of zeta^k -> zeta^ak), strips the characteristic (n = p^a m -> m over F_p) and gives [K(mu_n) : K] (over F_q, the order of q mod n). Automorphisms mode: the Galois group shrinks to the subgroup of (Z/n)^x fixing K. The learner can switch it. |
| automorphism | number | the smallest a > 1 in the group | Automorphisms mode: a for the automorphism sigma_a: zeta -> zeta^a selected at start (gcd(a, n) = 1, and in the Galois group over the base). |
| f | number | phi(n)/2 | Periods mode: the period length (the number of roots in each sum), a divisor of phi(n). |
| chain | number[] | none (every divisor of phi(n) offered) | Periods mode: a chain of period lengths, each dividing the one before, e.g. [16, 8, 4, 2, 1] for n = 17 (the tower of fixed fields). The learner steps down it and sees each period split into a sum of periods of the next length. |
| step | number | 0 | Periods mode with chain: index of the chain entry shown at start. |
PreviousNext