Computational tool A useful tool for computing the integral closure of the ring of integers in an algebraic field K / \mathbb Q is the
discriminant. If is of degree over \mathbb Q, and \alpha_1,\ldots,\alpha_n \in \mathcal{O}_K form a basis of K over \mathbb Q, set d = \Delta_{K/\mathbb{Q}}(\alpha_1,\ldots,\alpha_n). Then, \mathcal{O}_K is a
submodule of the spanned by \alpha_1/d,\ldots,\alpha_n/d. pg. 33 In fact, if is square-free, then \alpha_1,\ldots,\alpha_n forms an integral basis for \mathcal{O}_K. pg. 35
Cyclotomic extensions If is a
prime, is a th
root of unity and K = \mathbb Q(\zeta) is the corresponding
cyclotomic field, then an integral basis of \mathcal{O}_K=\mathbb{Z}[\zeta] is given by .
Quadratic extensions If d is a
square-free integer and K = \mathbb{Q}(\sqrt{d}\,) is the corresponding
quadratic field, then \mathcal{O}_K is a ring of
quadratic integers and its integral basis is given by \left(1, \frac{1 + \sqrt{d}}{2}\right) if and by (1, \sqrt{d}) if . This can be found by computing the
minimal polynomial of an arbitrary element a + b\sqrt{d} \in \mathbb{Q}(\sqrt{d}) where a,b \in \mathbb{Q}. ==Multiplicative structure==