Discriminants and integral bases
Calculate trace-form discriminants and separate maximal-order ramification from polynomial discriminant artifacts caused by an index.
On this page
The question for today
What you’ll understand
- Compute a basis discriminant from trace products.
- Apply the squared-index relation for an order.
- Identify which discriminant controls rational-prime ramification.
A discriminant packages how the embeddings of a basis interact and measures an arithmetic lattice through its trace pairing. Its name can refer to several related objects: a polynomial, a chosen basis, an order, or the field's maximal integer ring. These coincide only under appropriate hypotheses. The field discriminant controls ramification over the rationals, while a polynomial discriminant can acquire extra prime factors from a nonmaximal power order. An index-two quadratic example makes that distinction visible and guards against reading ramification from the wrong polynomial.
The trace pairing gives a basis invariant
For a Q-basis of a number field K, its discriminant is the determinant of the matrix with entries . Separability makes this determinant nonzero. Equivalently it is the square of the determinant of the embeddings matrix. The sign can be negative when complex embeddings occur, so this is not simply a positive Euclidean squared volume. A change of basis by matrix A multiplies the discriminant by det(A) squared.
When the basis is integral, every trace entry is an integer. If it is a Z-basis of the full ring of integers, its discriminant is the field discriminant d_K, independent of the chosen integral basis because unimodular changes have determinant plus or minus one. An integral collection that spans only a proper order gives that order's discriminant instead. Calling such a collection an integral basis merely because each member is integral confuses an elementwise property with a lattice-basis property.
Order index contributes a square
If an order O has finite index I in , its lattice basis change has determinant of absolute value I. Hence disc(O)=I²d_K. For an integral primitive element θ, the discriminant of its monic minimal polynomial is the discriminant of the power basis, therefore I²d_K with . This formula supplies a constraint on possible missing integral elements: the squared index must divide the power-order discriminant.
It does not say that every square divisor actually occurs as an index. An index calculation needs the integer ring or an argument bounding and excluding alternatives. Conversely, a squarefree power-basis discriminant forces index one because no nontrivial index square can divide it. Replacing an integral basis by a rationally scaled one can produce a noninteger discriminant, so divisibility statements must specify that the compared lattices are integral full-rank orders. The field itself has not changed when a basis or order changes.
Ramification reads the maximal-order discriminant
For a number field over Q, a rational prime ramifies in its full integer ring exactly when it divides the field discriminant. Divisibility of an arbitrary defining polynomial's discriminant is not the same test when the prime divides the power-order index. Such an index prime can make polynomial reduction appear repeated even though the field extension is unramified there. Separating these possibilities is one reason integral-basis calculations precede reliable prime-splitting computations.
The discriminant also enters global lattice estimates and the different ideal, so normalization mistakes propagate beyond ramification. In a quadratic field the explicit squarefree classification gives d_K=d when d is one modulo four, and d_K=4d otherwise. The determinant calculation should reproduce that formula rather than be replaced by memorization alone. Checking both the trace matrix and the index relation gives two independent ways to diagnose a missing factor of four or an incorrect choice of quadratic generator.
Work it through
Twenty and five describe different orders
For K=Q(sqrt(5)), compare the discriminants of (1,sqrt(5)) and the integral basis (1,omega), where omega=(1+sqrt(5))/2. Decide whether two ramifies.
For the power basis, trace(1)=2, trace(sqrt(5))=0, and trace(5)=10. The trace matrix is [[2,0],[0,10]], with determinant twenty.
For the integral basis, trace(omega)=1 and omega²=omega+1 has trace three. The trace matrix is [[2,1],[1,3]], with determinant five. Their ratio is four, agreeing with the order index two squared.
The field discriminant is five, so two is unramified. Indeed the integral generator's polynomial x²−x−1 reduces modulo two to the irreducible x²+x+1. The repeated reduction of x²−5 modulo two comes from the nonmaximal power order and cannot be used as a field ramification test there.
The prime two divides the power polynomial discriminant twenty but not the field discriminant five. Its apparent repetition is an index artifact.
The living notebook
Explore the model
Interactive lab · matrix
An index change squares in a Gram determinant
Pause and Reset, then set both controls to a=1 and b=1; predict determinant 1. Reset and set a=2 and b=1; predict determinant 2. For any fixed nonsingular trace Gram matrix G, changing basis by A gives AᵀGA and multiplies its determinant by det(A)², here 1 or 4. The scene shows the selected lattice map, not a computation of G or a number-field discriminant.
- Area scale · det A
- 1.4
- Singular values · σmax, σmin
- 1.597, 0.876
- Condition number · κ₂(A)
- 1.823
The selected matrix is A = [[a,b],[0,1]]. Playback interpolates geometry between the identity and A; readouts always describe A. Its determinant is a and its singular values come from AᵀA. Positive a makes every supported matrix invertible. This two-dimensional family is not a general eigensolver or a learned network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forLattice index changes by an absolute determinant, while the associated discriminant changes by its square.
Pause & reason
Check your understanding
Your turn
Try it yourself
For K=Q(sqrt(−3)), use eta=(1+sqrt(−3))/2 with polynomial x²−x+1. Find d_K, the discriminant of Z[sqrt(−3)], the order index, and which of two or three ramifies.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use the quadratic polynomial discriminant and the basis relation sqrt(−3)=2eta−1.
Compare with the solution
The integral basis (1,eta) has field discriminant 1−4=−3. The power polynomial x²+3 has discriminant −12. The squared ratio (−12)/(−3)=4 gives index two, also visible from the basis relation. Three ramifies because it divides d_K; two does not. Its divisibility of −12 reflects the power-order index rather than ramification of the number field.
Keep the idea
Take it with you
- A basis discriminant is the determinant of a trace Gram matrix.
- An order's discriminant differs from the field discriminant by the squared index.
- Ramification over Q is detected by the field discriminant, not an arbitrary power polynomial.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.