How this calculation works
Determine which transitive permutation group describes an irreducible quartic over the rationals. The calculation combines an exact discriminant with a cubic resolvent, then separates cyclic and dihedral cases by quadratic splitting tests. It returns a group classification and arithmetic witnesses, rather than numerical guesses from approximate roots.
R(t)=t³−bt²+(ac−4d)t+(4bd−a²d−c²), for f=x⁴+ax³+bx²+cx+d. The discriminant is Res(f,f′).A worked example
For x⁴+x³+x²+x+1, the discriminant is 125 and R(t)=(t−2)(t²+t−1). At the rational resolvent root 2, both auxiliary quadratic discriminants equal 5. They split over Q(√125), so the Galois group is C4, of order 4.
Good to know
Exact rational quartics. Coefficient numerator/denominator ≤10^6; cleared rational-root search factors ≤10^10, at most20000 candidates. Squarefree irreducible inputs only. Exceeding a bound is unsupported, never a proof of irreducibility.
Reference: SymPy number fields: exact Galois groups (opens in a new tab) ↗
What a quartic Galois group records
The group acts on the four roots in a splitting field, preserving every rational polynomial relation among them. Irreducibility makes this action transitive, which restricts the possible answers to C4, V4, D4, A4 and S4.
Its order is the degree of the splitting field over Q. This is different from the degree four extension obtained by adjoining one root, and different from counting the real roots of the polynomial.
Compare this with the Multivariate polynomial factorization calculator over rationals. Rational polynomial factorization does not determine the transitive automorphism group of a quartic splitting field.
Preparing exact rational coefficients
Enter five coefficients in descending powers, including zeros for missing terms. A nonzero leading coefficient is divided out before constructing the monic resolvent. Fractions retain their exact values throughout the calculation.
Use rational numbers that define the intended polynomial literally. A decimal approximation to an algebraic coefficient changes the base field and can change the answer. Repeated-root and reducible quartics are rejected before a transitive classification is attempted.
The three pairings behind the resolvent
Four roots admit three partitions into two unordered pairs. The quantities obtained by adding the two pair products are roots of the cubic resolvent, so its factorization records how the Galois group permutes those partitions.
An irreducible resolvent gives S4 or A4, distinguished by whether the quartic discriminant is a rational square. A fully split resolvent with a square discriminant gives V4. The remaining transitive cases require an additional quadratic-field test.
Separating cyclic and dihedral symmetry
For a rational resolvent root r, examine a²−4(b−r) and r²−4d. In the nonsquare discriminant field Q(√Δ), both being squares distinguishes C4 from D4 under the irreducibility assumptions.
A rational u is a square in this quadratic field exactly when u is a rational square or u/Δ is a rational square. Keeping the zero case in this rule avoids a misleading divide-by-zero shortcut for binomials such as x⁴−2.
Worked cyclotomic example
The polynomial x⁴+x³+x²+x+1 has discriminant 125. Its resolvent has one rational root 2, and both auxiliary discriminants are 5. Since √5 belongs to Q(√125), both quadratic splitting tests succeed.
The output C4 has order four. In this example one primitive fifth root already generates the splitting field: all the other roots are powers of it. The resolvent and discriminant provide arithmetic evidence for the same conclusion.
Why factor rejection is necessary
A quartic without rational roots can still factor as two rational quadratics. The prototype tests rational resolvent roots for precisely these quadratic decompositions, rather than treating the rational-root test as an irreducibility proof.
For example x⁴+4 factors over Q even though its rational-root list is empty. A valid tool must reject it from this transitive workflow. Inputs with nonzero discriminant but a reducible polynomial need an intransitive group analysis outside this scope.
Checking the classification independently
The fixture set compares 130 irreducible quartics with SymPy’s separate Galois-group implementation. Named examples cover all five transitive groups, including the square-discriminant A4 case x⁴+8x+12.
These checks support the bounded arithmetic implementation; they do not make an exceeded search limit meaningful. A limit error should invite smaller coefficients or a dedicated computer algebra system, rather than silently promoting an incomplete search to a classification.
A few questions, answered
Can the group be read from the number of real roots?
No. Real-root counts constrain complex conjugation but generally do not determine the full splitting-field automorphism group.
Why reject reducible quartics?
The five-group decision process assumes a transitive action. Reducible quartics require different intransitive cases.
Does a square discriminant always mean A4?
No. Under irreducibility it places the group inside A4; the resolvent distinguishes A4 from V4.
Is D4 of order four or eight here?
D4 means the symmetry group of a square and has order eight. The order is displayed to remove the notation ambiguity.