A primitive quartic for a biquadratic extension #
If f, g, and f * g are nonsquares in a field of characteristic different
from two, then sqrt f + sqrt g generates the corresponding biquadratic
extension. Its minimal polynomial is
(X^2 - (f + g))^2 - 4 * f * g.
This file packages that calculation as a reusable irreducibility theorem.
The minimal-polynomial candidate for sqrt f + sqrt g.
Equations
- BGS.Markoff.biquadraticPrimitiveQuartic f g = (Polynomial.X ^ 2 - Polynomial.C (f + g)) ^ 2 - Polynomial.C (4 * f * g)