The Field of Fractions
Can you always divide? In the integers you cannot solve . The rational numbers fix this by formally adjoining fractions . This article asks a question. Given any integral domain, can we perform the same construction? In what sense is the result the smallest field containing it? The idea matters because it is the archetype of a "free" construction in algebra. We start from a modest algebraic object with just enough structure (no zero divisors). From this we build the most economical field extension possible. We do so functorially. This means any map out of the domain into a field automatically extends. This same pattern reappears constantly. Build an equivalence class of formal expressions, define operations, then verify a universal property. This happens most notably when we later build the field of rational functions over a polynomial ring . The big picture is that "integral domain" is exactly the right hypothesis. It makes this construction work. It is precisely the condition that makes the naive fraction-building recipe (cross-multiplication) into a genuine equivalence relation. That relation is compatible with arithmetic. It is also precisely the condition needed to embed the domain into the resulting field. Losing it (allowing zero divisors) causes the construction to collapse or misbehave. We verify this explicitly. This article delivers a complete construction of the field of fractions of an integral domain . It gives a full proof that it is a field containing . It also gives a rigorous statement and proof of its universal property. is the unique smallest field in which embeds. Every injective-on-domain homomorphism from into a field factors uniquely through it.
- Given an integral domain , we formally invert all nonzero elements by building equivalence classes of pairs , , thought of as .
- The equivalence relation requires to have no zero divisors to be transitive and well-defined with the arithmetic.
- The resulting set with the usual fraction addition and multiplication is a field, and embeds into it via .
- satisfies a universal property: any injective ring homomorphism from into a field extends uniquely to a field homomorphism .
- This universal property characterizes up to unique isomorphism fixing , so the construction, though built from arbitrary representatives, produces a canonical object.
- Key idea: integral domains are exactly the rings that embed in a field, and is the universal such field.
Where this lives today
The field of fractions is the simplest instance of localization, a fundamental tool throughout commutative algebra and algebraic geometry: instead of inverting all nonzero elements, one inverts a chosen multiplicative set to get , with the same fraction-and-equivalence-class recipe (modified to handle possible zero divisors in ). Localization underlies the construction of local rings at a point of a variety, the study of primary decomposition, and the definition of the structure sheaf in scheme theory. In polynomial rings over a field, is the field of rational functions , indispensable in algebraic geometry (function fields of varieties), in the theory of transcendence degree, and in the definition of rational maps between varieties. In number theory, for a ring of integers recovers the number field itself, and the construction underlies the definition of -adic fields as completions built from fraction-field-like limiting procedures. In cryptography, arithmetic in finite fields and their extensions (built via polynomial ring quotients) sometimes requires passing to fraction fields of polynomial rings over finite fields, e.g., in coding theory and the study of rational function fields used in constructing algebraic-geometry codes. In computer algebra systems, exact rational arithmetic and symbolic manipulation of rational expressions are direct computational implementations of and .
:::faq[How does relate to rational functions we know from calculus?] , denoted , is the algebraic field of formal ratios of polynomials, whose elements are equivalence classes under cross-multiplication rather than functions. When or , one can evaluate a representative at any point where does not vanish, and this evaluation is consistent across equivalent representatives wherever both denominators are simultaneously nonzero — this is why the calculus notion of "rational function" and the algebraic element of agree in practice, though the algebraic object exists independent of any notion of evaluation and is cleaner for purely algebraic manipulations like field extensions and Galois theory.
Ask the tutor: How does this construction generalize to localizing a commutative ring at an arbitrary multiplicative set, and what changes when that ring has zero divisors?
Let be an integral domain, i.e., a commutative ring with and no zero divisors. Let
Define a relation on by
Write , and denote the equivalence class of by . Define operations on by
The set , equipped with these operations, is called the field of fractions (or quotient field) of .
Intuition
The construction mirrors exactly how a child learns to build from : a fraction is not really a pair of integers, it is an equivalence class of pairs, since , , and should all denote "the same number." The rule is just cross-multiplication, the familiar test for whether two fractions are equal. What integral domains buy us is that this cross-multiplication test behaves like an honest equality: it is reflexive and symmetric for free, but transitivity — the fact that and should force — genuinely uses the absence of zero divisors, as the proof below shows. Once the set of fractions is built, addition and multiplication are defined exactly as with rational numbers: find a common denominator, multiply numerators and denominators. The nontrivial content is that these operations are well-defined — independent of which representative pair we chose — and that they endow with the structure of a field, with and as additive and multiplicative identities and as the inverse of a nonzero . The picture below visualizes : each rational number is an equivalence class of lattice points with , all lying on a common ray through the origin (since means the points are collinear with the origin, i.e. as slopes).
Central results
Let be an integral domain. Then: 1. The relation on defined by is an equivalence relation. 2. The operations
are well-defined on , and is a field. 3. The map , , is an injective ring homomorphism. In particular embeds as a subring of .
Technique: direct verification from the axioms, using well-definedness lemmas before invoking them. Part 1: is an equivalence relation. *Reflexivity. For , since is commutative, so . Symmetry. If then . Since is commutative, , so , which is exactly the condition . Transitivity.* Suppose and , i.e., and . We must show , i.e., . Compute, using commutativity and associativity of :
So , i.e., in . Since (as ) and has no zero divisors, we conclude , i.e., , as required. This is exactly the step where the integral domain hypothesis is essential: without it, would not force . Thus is an equivalence relation, and is well-defined as a set. Part 2: well-definedness of and , and the field axioms. First, note that if then (this uses that has no zero divisors, applied directly: with would force , contradiction). So and do lie in , and the formulas above define elements of . Well-definedness of addition. Suppose and , i.e. and . We must show
i.e., . Expand both sides:
Using , the first terms agree: . Using , the second terms agree: . Hence both expansions are equal term-by-term, proving the required equality. So addition is well-defined. Well-definedness of multiplication. With the same hypotheses, we must show , i.e., . Indeed,
using , , and commutativity/associativity to rearrange. This proves multiplication is well-defined. Field axioms. We now verify satisfies the field axioms, writing for the zero and identity of .
- Additive identity: satisfies , using and and trivially, then simplifying via the equivalence (check: , true by commutativity).
- Additive inverses: For , we claim is its additive inverse: , and since . So this equals the zero element.
- Additive associativity and commutativity follow by direct expansion using the corresponding axioms in ; commutativity is immediate since is commutative ( up to reindexing), and associativity is a routine but lengthy expansion, e.g.
and one checks the right-associated sum gives the same numerator over after using distributivity in ; we omit the symmetric verification, which is identical arithmetic to the associativity check in built from .
- Multiplicative identity: satisfies directly.
- Multiplicative associativity and commutativity again follow from associativity/commutativity of multiplication in applied to numerators and denominators.
- Distributivity: , while ; these two fractions are equivalent since holds trivially by commutativity, so cross-multiplication confirms equality in .
- Nonzero elements are invertible: Suppose . Then , i.e., , so . Hence is a legitimate element (since ), and
since . So is invertible with inverse .
- Finally, : if then , i.e. in , contradicting that is an integral domain (which by definition has ).
All field axioms hold, so is a field. Part 3: is an injective ring homomorphism. Define . Then:
so . Similarly , and . So is a ring homomorphism. For injectivity: if , then , i.e., , i.e., . So is injective. Since is an injective ring homomorphism, is (isomorphic to) a subring of the field .
∎Let be an integral domain with field of fractions and embedding . Let be any field and let be an injective ring homomorphism. Then there exists a unique ring homomorphism such that
Moreover is automatically injective (a field homomorphism). Consequently, is the smallest field containing (a copy of) : if is any field with and is generated as a field by (every element of is a ratio of elements of ), then .
Technique: construct explicitly on representatives, prove well-definedness, then prove uniqueness by a forced-formula argument. Existence. Define by
This makes sense: since and is injective (with automatically, as ring homomorphisms send to ), we get , so exists in the field . Well-definedness. Suppose , i.e., in . Applying the homomorphism :
Since are nonzero elements of the field , we may multiply both sides by :
So , confirming is well-defined independent of the representative. is a ring homomorphism. We check additivity and multiplicativity directly.
using that is a ring homomorphism (so it respects and ) and that in the field (inverse of a product is the product of inverses, valid since both factors are nonzero). Distributing,
For multiplicativity,
using commutativity of to reorder factors. Finally , since for a ring homomorphism between rings with identity. . For , . So the required diagram commutes. Uniqueness. Suppose is any ring homomorphism with . For any , note the identity in :
which holds because directly from the definition of multiplication and the computation of inverses in Part 2 of the previous theorem (recalling is invertible in the field with inverse , since ). Applying the homomorphism and using that ring homomorphisms between fields send inverses to inverses of images (provided the image is nonzero, which holds since is injective so ):
Since was arbitrary, . This proves uniqueness. is injective. Any ring homomorphism from a field to a ring with is automatically injective: its kernel is an ideal of , and the only ideals of a field are and itself (if a nonzero lies in the ideal, then lies in it too, forcing the ideal to be all of ); since , the kernel cannot be all of , so . The final "smallest field" statement. Suppose is a field with (via inclusion , an injective homomorphism) such that every element of has the form for , . By the existence part, we get extending , and is injective by the above. Given , write for some , ; then , so is also surjective. Hence is a bijective ring homomorphism, i.e., an isomorphism , and it restricts to the identity on (since is the given inclusion).
∎Worked examples
Example 1: The field of fractions of , the Gaussian integers. Let . This is an integral domain (it is a subring of the field , and subrings of a field with have no zero divisors, since a zero divisor in would witness with in too, impossible in a field). By the universal property, take and the inclusion, which is injective. This extends uniquely to via computed in . We claim the image of is exactly , and that gives an isomorphism . Image is contained in : take a representative with , . Rationalize:
and since we have (a sum of two integer squares, not both zero), so this exhibits explicitly. Concretely, take , (so , ). Then
Image contains all of : given with (common denominator , ), we have where , . So is onto . Since is injective (by the theorem) and surjective onto , we conclude .
Example 2: The field of fractions of , giving , evaluated at an explicit non-trivial fraction. Let be a field (say ) and , the polynomial ring in one variable, which is an integral domain because is a field (the leading coefficients of a product of nonzero polynomials multiply to a nonzero element of , by no-zero-divisors in , so the product is nonzero). Its field of fractions is denoted
the field of rational functions. Take the explicit fraction
Let's verify this is not the zero element and simplify it using the equivalence relation. First factor: , and . Testing : , so . Polynomial division gives
So
We claim this equals in : by definition of , we need
which holds trivially by commutativity of — this is the algebraic incarnation of "cancel the common factor ," valid here precisely because is an integral domain, so the cross-multiplication test is a genuine equivalence, and cancellation of a nonzero common factor from numerator and denominator never changes the class. This also illustrates that elements of are not literally functions on all of : the original expression is undefined at (denominator zero), while the simplified form is defined at (value ), yet both represent the same element of the field — equality in is an algebraic identity of formal fractions, not pointwise equality of evaluated functions, and one must fix this distinction carefully when later interpreting elements of as functions on a suitable domain.
Let , a commutative ring with but not an integral domain, since in while . Attempt the same construction: let and declare . We show transitivity fails, so is not even an equivalence relation, and the whole construction breaks down at the first step. Take — concretely consider the three pairs ; let's instead find a genuine failure using distinct classes. Consider and : is ? Check and , so , i.e. in : yes, . Now check : need , i.e. : yes, so . By transitivity we would need : check ? That is in — false. So and but : transitivity fails. Tracing through the general proof of transitivity above, the failure occurs exactly at the step "": here , and , yet . The zero divisor (paired with , since ) is precisely what breaks the cancellation. Thus is not transitive, as defined is not even a well-formed set of equivalence classes, and no sensible "field of fractions" exists for via this construction — consistent with the fact that does not embed in any field at all (any ring embedding into a field must itself have no zero divisors, since fields have none, and injective homomorphisms reflect this).
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| is already a field | via , since every nonzero already has , so ; is onto. |
| , the motivating and defining example. | |
| has zero divisors | Construction fails at the equivalence-relation step (see counterexample); no field of fractions exists in general. |
| is an infinite integral domain that is not Noetherian, not a UFD, etc. | Construction still works verbatim: the theorem uses only "integral domain," no finiteness or factorization hypotheses. |
| Confusing -equality with function equality | For , in need not mean pointwise wherever both sides are defined and nonsingular — though it does agree wherever both are defined, by the cross-multiplication identity being a polynomial identity. |
| Applying the universal property with a non-injective | The theorem's hypothesis " injective" is essential (see warning below). |
The mathematician behind it
Origins · 1 minRichard Dedekind and how this was discovered
Dedekind did not "invent" fractions, but he was among the first to treat the passage from a domain of integers to its field of quotients as a general, rigorous algebraic construction rather than a numerical convenience. Working in Göttingen in the circle of Gauss, Dirichlet, and Riemann, he developed the modern theory of ideals in rings of algebraic integers, and the systematic construction of quotient fields — generalizing to arbitrary rings of integers in number fields — was a key technical tool in that program, later abstracted fully in the language of commutative rings by Emmy Noether's school.
Why must be an integral domain, not just a commutative ring, for this construction?
The equivalence relation needs transitivity to define genuine equivalence classes, and the proof of transitivity requires cancelling a common nonzero factor: from with , we need to conclude . This cancellation is valid exactly when has no zero divisors. If has zero divisors, as shown for , transitivity can fail outright, so is not even an equivalence relation and cannot be defined by this recipe. More conceptually, any ring embedding into a field must itself have no zero divisors (since fields have none and injectivity reflects this property), so integral domains are exactly the rings capable of embedding in a field at all.
Is literally unique, or just unique "up to isomorphism"?
It is unique up to a unique isomorphism that is the identity on , which is the strongest reasonable sense of uniqueness for a universal construction. Concretely, if is any field containing as a subring such that every element of is a ratio of two elements of , the universal property theorem produces a unique field isomorphism restricting to the identity on . So while the explicit construction (equivalence classes of pairs) is one specific model, any other model satisfying the same universal property is canonically identified with it — this is the standard "universal property pins down the object uniquely" phenomenon seen also for quotient groups, tensor products, and free groups.
Does depend on which representative pair we pick for a fraction?
No — and proving this independence (well-definedness) is the technical heart of the construction. The elements of are equivalence classes , not pairs themselves, and the theorem's proof explicitly verifies that addition and multiplication give the same answer regardless of which representative pair is used, by a direct algebraic computation using the cross-multiplication relation. This is exactly analogous to checking that gives the same result whether you write as , , or .
Can the field of fractions be infinite even if we start with something small, like ?
Yes, and this is exactly the point: is a countably infinite integral domain, and is also countably infinite but strictly larger in the sense of containing multiplicative inverses lacks (e.g. ). More strikingly, if is a finite integral domain, one can show must already be a field (a classical fact: injectivity of multiplication-by- for , on a finite set, forces surjectivity, giving an inverse), so in the finite case, and genuinely new elements only appear when is infinite.
What goes wrong if we try to build by inverting only some nonzero elements rather than all of them?
That is precisely the more general operation of localization: given a multiplicative subset closed under products and containing , one forms using pairs with , under the same cross-multiplication equivalence. This yields a ring (not always a field) sitting between and ; taking recovers exactly the full field of fractions. Localization at a prime ideal's complement is a central tool in commutative algebra for studying rings "near a point," generalizing this construction far beyond fields.
Why is , , automatically injective, and does this ever fail?
The proof shows forces , i.e. directly, with no cancellation of possible zero divisors needed — this step uses only that and ordinary ring axioms, so it never fails once is an integral domain (in particular a nonzero ring). This is why genuinely "sits inside" as a subring, rather than merely mapping into it; without the integral domain hypothesis the whole target may not even be well-defined, as the counterexample demonstrates, so the question of injectivity of does not even arise.