Modular Factorization Patterns

One integer polynomial factored modulo successive primes, over a chain of fields (Q, Q(√2), Q(i), R, C, F_p, ...), or tested with Eisenstein's criterion under a shift. The learner steps through primes or fields, types polynomials and fields, picks a prime and slides the shift, and sees which reductions prove irreducibility over Q, how factorizations refine as the field grows, and which coefficient conditions hold.

Used in: Ring Theory

Props

PropTypeDefaultDescription
titlestringby mode, e.g. "Factoring modulo primes"Title bar text.
polynomialstring"x^4 + 1"Integer polynomial in one variable, degree 1 to 16: "x^4 + x + 1", "6*x^3 + 19*x^2 + 18*x + 5", "(x^2+1)^2(x-3)". The learner can type another one when editable.
mode"primes" | "fields" | "eisenstein"inferred: prime/shift/shiftRange -> eisenstein, fields -> fields, else primesprimes: reduce f mod p for each prime and factor in F_p[x]; an irreducible reduction with the degree kept proves irreducibility over Q. fields: factor f over each field of a list (Q, number fields, R, C, finite fields) and watch factors split. eisenstein: colour the coefficients of f(x + a) by divisibility by a chosen prime and check the three conditions.
primesnumber[]all primes up to primeBoundPrimes to scan in primes mode, in order (non-primes are skipped with a message; at most 40).
primeBoundnumber29When primes is absent: scan every prime up to this bound (at most 200).
fieldsstring[]["Q", "Q(sqrt(2))", "Q(i)", "Q(sqrt(2), i)", "R", "C"]Fields for fields mode, in order: "Q", "R", "C", "F_7", "F_9" (prime powers up to 4096), or number fields "Q(g1, g2, ...)" with generators sqrt(n), i, cbrt(n), n^(1/k) or root(n,k), omega, zeta_n (degree up to 24). Exact over Q, number fields and finite fields; R and C are numerical (4 decimals).
stepnumber1 in primes mode, 2 in fields modeHow many rows (primes or fields) are revealed at the start; the learner steps through the rest. Use a large number to show all.
primenumberthe smallest prime dividing the constant term, else 2Eisenstein mode: the prime selected at the start (the learner can pick others).
shiftnumber0Eisenstein mode: the shift a at the start; the component tests f(x + a).
shiftRange[number, number][-3, 3]Eisenstein mode: bounds of the shift slider (integers, within -20..20).
presetsstring[]noneExample polynomials offered as one-click chips (at most 8).
editablebooleantrueShow the polynomial input (and, in fields mode, the Add a field input).
controlsstring[]all controls shownIds of the hideable controls and text blocks to show (see the component's controls registry, e.g. mode.fields, panel.shift, readout.degree-sieve, column.degree, readout.splitting). Core controls always show. Page building fills this from the subject's topic scope.