We prove the conjugate product of a quadratic ideal identity , which applies to the given two-generator ideal without assuming its displayed generators form an integral basis.
The quadratic ring of integers of a number field has a basis over : the vector 1 is primitive, since a rational algebraic integer must be an integer, and extends to an integral basis. Write , with . Let be the least positive integer in and let generate the set of coefficients of in elements of . Its lattice basis can be chosen as , with . Since , comparison of coefficients shows and . Write , and . Then
The scaled ideal remains an -ideal. From we get , so . The product is generated as an ideal by and is contained in .
Moreover . If a prime divided all three, then and , so would satisfy the monic integer polynomial . It would lie in , impossible because its coefficient in the integral basis is . Bezout identity now expresses one as an integer combination of . Multiplying by , the terms are , , and , all in the product. Hence belongs to it, proving .
The determinant of the lattice basis gives the ideal norm . Consequently
In particular is principal. This does not require the original to be nonzero or the ideal itself to be principal.
Let . Polynomial restrictions are regular functions, and a restriction is zero precisely when its class in the coordinate ring is zero. We prove surjectivity.
Using the usual irreducible-variety convention, view a regular function as an element of the fraction field of . On a neighbourhood of every point it has the form , where and does not vanish at that point. Equality on a nonempty open subset of the irreducible variety is equality of rational functions. Define
This is an ideal and contains a denominator nonzero at each point. Thus its zero locus is empty. The Hilbert Nullstellensatz implies , so and . Therefore
The result also holds under a convention allowing reduced reducible affine varieties. One may cover by finitely many principal opens , represent in each localization, and increase powers until the local representatives glue after clearing denominators. Since these opens cover, the ideal generated by those powers is the unit ideal by the Nullstellensatz; a unit linear combination glues their numerators to one element of . Irreducibility is used only for the shorter fraction-field proof, not for the assertion itself.
Identify a binary word with its coefficient polynomial in . A cyclic code is exactly an ideal of : closure under multiplication by is closure under cyclic shift. Its inverse image in the principal ideal domain has a unique monic generator polynomial of a cyclic code dividing . Put
The cubics have no root in , hence are irreducible polynomials. The eight monic divisors yield all binary cyclic codes of length seven. A code generated by has basis and dimension , with the zero code treated separately.
For the dual of a cyclic code, let . Orthogonality of coefficient vectors to all cyclic shifts gives the generator . Here . Thus the complete pairing, with the respective dimensions, is
These are respectively the whole-space/zero, even-weight/repetition, and two Hamming code/binary simplex code pairs. The reciprocal formula follows because the product of a word polynomial and the reversed polynomial of an orthogonal word has zero coefficients in all cyclic positions; the resulting inclusion has the correct complementary dimension, hence is equality.
Here with and field discriminant . The imaginary-quadratic Minkowski bound for ideal classes is , so each ideal class has an integral representative of ideal norm at most four. Representatives therefore use prime ideals above two and three. Put
The prime two ramifies, with , and three splits into . No element has field norm two, because ; thus is nontrivial of order two. Norm-four ideals represent and add no generator, so the class group is generated by .
The element has field norm 18. It belongs to and , but not , since reduction there gives . Its ideal therefore factors as
The exponents follow from the ideal norm 18, or from the root defining . Hence , so has order four and already generates all possible classes. Therefore
As a separate check, the reduced forms of discriminant of a binary quadratic form are , giving exactly four classes.
Let be an ideal of and contract it to
This is an ideal of , so because is a principal ideal domain. Every is a unit in a ring . Consequently, if , then , so and . Conversely , hence every multiple of it belongs to . Thus
so every ideal of is principal. The localization remains an integral domain; hence is a principal ideal domain.
The spectrum of a commutative ring is the set
For an ideal , set . The Zariski topology declares precisely these subsets to be closed sets. Using arbitrary subsets instead of ideals gives the same definition, because a prime ideal contains a subset exactly when it contains the ideal generated by that subset.
We verify the closed set axioms directly. First, and . For any family of ideals,
since containing the sum is equivalent to containing every summand. For two ideals,
Indeed, containing either or implies containing their product of ideals. Conversely, if a prime ideal contains but does not contain , choose . For every , , so the prime ideal property forces . Thus .
The displayed identities establish arbitrary intersections and finite unions of closed sets, including their empty cases. Therefore these sets define a topology on .
The induced map on the spectrum of a commutative ring is contraction of an ideal:
To see that it is well defined, let be a prime ideal of . Its inverse image is an ideal of , and it is proper because . If , then , whence or . This proves that the inverse image is a prime ideal.
For any ideal , its extension of an ideal to is . We have
Thus inverse images of Zariski-closed sets are Zariski-closed sets, which proves that is a continuous map.
We first establish the nilradical as the intersection of prime ideals:
Every nilpotent element belongs to every prime ideal. In the other direction, if is not nilpotent, the multiplicative subset avoids zero. By the Zorn lemma, there is an ideal maximal among those disjoint from . It is a prime ideal: if and neither nor belongs to , then and each meet . Multiplying elements in these two intersections gives an element of lying in , a contradiction. Since , this proves the identity. The identity also holds for the zero ring, with the intersection over an empty family interpreted as the whole ring.
A Zariski-closed set contains the image of exactly when
The last equality follows because is a nilpotent element exactly when for some . Consequently the smallest Zariski-closed set containing the image, namely its closure, is
This is all of precisely when the kernel of a ring homomorphism is contained in every prime ideal of . Hence
Here the coefficient fields are and . A polynomial ring in one variable over a field is a Euclidean domain, hence a principal ideal domain; its nonzero prime ideals are generated by irreducible polynomials. The fundamental theorem of algebra says that all irreducible polynomials over are linear. Combining it with complex conjugation shows that the monic irreducible polynomials over are exactly the linear polynomials and quadratics with no real root. Thus
Every nonzero prime ideal in this list is a maximal ideal; is a prime ideal because is an integral domain. Likewise,
The map is contraction of an ideal along the inclusion. It sends to . For , the contraction of consists of the real polynomials vanishing at . If , the factor theorem gives the ideal . If , a real polynomial vanishing at also vanishes at its complex conjugate , so it is divisible by . Division by this real quadratic gives the converse and hence
Thus each real linear prime ideal has one preimage, each real quadratic prime ideal has the two conjugate preimages and , and has only above it. In particular, is surjective.
Let . Since is a prime ideal, is a multiplicative subset containing and excluding . The localization at a prime ideal is
Concretely, its elements are equivalence classes of pairs , written , with
This extra multiplier is essential when has zero divisors. Addition and multiplication are
The equivalence criterion is compatible with these operations: after multiplying by the multipliers witnessing changes of representatives, the corresponding numerators agree. The commutative ring axioms follow from those of ; the identity is .
The canonical ring homomorphism , , supplies the algebra over a commutative ring structure, with scalar action . It also has the universal property of localization: whenever a ring homomorphism sends to units, the unique extension is .
For later use, is a local ring with maximal ideal . Reduction of numerators and denominators gives a surjective ring homomorphism with kernel , so this ideal is proper and maximal. Every fraction outside it has numerator outside and is a unit, with inverse . Thus it is the unique maximal ideal.