← LibraryFree Rings and Rings Defined by Generators and Relations | KEVOS®Project Delivery · Project ManagementLesson 66/189← PrevNext →
ArticlePublished 8 Aug 202621 min readBy Kevin Jogin
Skip to content

Engineering Mathematics Core Ring constructions

Free Rings and Presentations

The free ring kxi imposes no relations at all; quotienting it by an ideal of relations produces every ring that can be described by generators and relations — polynomial rings, quaternions, Clifford algebras and the Weyl algebra among them.

Page ID
KEVOS-ENG-MATH-NCR-0005
Taxonomy
ENG / ENG-MATH
Collection
noncommutative-rings-core
Source
(1.2)–(1.3), §1 (pp. 6–7)
Reviewed
2026-08-08
Version
1.0.0

Executive Summary

Free rings are the raw material of noncommutative ring theory. Every ring given by a finite list of generators and relations is a quotient of one, so results about free rings become results about presentations, and pathological examples are most cheaply built by choosing relations that force pathology.

Two features distinguish kx,y from k[x,y] sharply. It is not noetherian on either side. And it contains a copy of the free ring on countably many generators — nothing analogous happens for commuting variables, where transcendence degree is an obstruction.

WordsThe k-basis
kx,yContains kz0,z1,
Not noetherianOn either side
xyyx=1One relation gives the Weyl algebra

Overview

Let k be a ring and {xi:iI} a set of symbols. The **free k-ring** kxi:iI consists of finite k-linear combinations of words — finite strings xi1xi2xim, including the empty word 1 — multiplied by concatenation, with coefficients required to commute with every xi.

Equivalently, it is the semigroup ring kΣ where Σ is the free monoid on {xi}. That identification is worth making early: it puts free rings in the same family as group rings and gives their basis for free.

Given a subset Fkxi, the quotient kxi/(F) by the two-sided ideal generated by F is *the ring generated over k by the xi subject to the relations F*. The universal property survives: homomorphisms out of the quotient are homomorphisms out of the free ring that kill each relation.

Note that when k is noncommutative the word algebra is a mild abuse — there is no central base — but the construction is unaffected and the terminology is entrenched, particularly for Weyl algebras.

Learning Objectives

  • Construct kxi:iI and identify the words as a k-basis.
  • State and use the universal property, including the condition that images commute with the image of k.
  • Prove that the elements xyi generate a free subring of kx,y on countably many generators.
  • Show that kx,y is neither left nor right noetherian.
  • Present , the polynomial ring and the Weyl algebra A1(k) by generators and relations.
  • Use specialisation to show that y¯x¯0 in x,y/(xy).

Definitions

Definition(1.2)Free k-ring

Let k be a ring and Σ the free monoid on {xi:iI}. Set R=kxi:iI=wΣkw, a free left k-module on the words, with multiplication extending concatenation k-bilinearly and subject to xic=cxi for all ck.

Definition(1.2)Universal property

Let ϕ0:kk be a ring homomorphism and let {ai:iI}k be elements such that each ai commutes with every element of ϕ0(k). Then there is a unique ring homomorphism

ϕ:kxi:iIkwithϕ|k=ϕ0 and ϕ(xi)=ai.
(1.2a)

The commuting hypothesis is essential and is exactly the relation xic=cxi imposed in the construction; without it no extension need exist.

Word
An element of the free monoid Σ; the empty word is the identity. Words form a k-basis of the free ring.
(F)
The two-sided ideal generated by a subset F: all finite sums gjfjhj with fjF.
A1(k)
The first Weyl algebra kx,y/(xyyx1).
An(k)
The nth Weyl algebra, defined inductively by An(k)=A1(An1(k)).
Generic relation
A relation imposed on free generators so that nothing beyond its consequences holds; e.g. xy=0 makes x a left zero-divisor and nothing more.
Total degree
The length of a word; it makes the free ring graded, with the degree-n part free of rank |I|n when I is finite.

For |I|=1 the free ring is the ordinary polynomial ring k[x], since there is only one word of each length.

Core Concepts

Grading, degree and the domain property

The free ring is graded by word length, R=n0Rn with Rn free on the |I|n words of length n. If k is a domain then so is kxi: order the words by degree and then lexicographically, and observe that the leading words of f and g concatenate to the leading word of fg with coefficient the product of the leading coefficients.

That argument also determines the units. If fg=1 with k a domain, comparing degrees gives degf=degg=0, so U(kxi)=U(k). The domain hypothesis is not decorative — see the failure recorded in Failure Modes.

Free rings are enormous

Two variables already generate everything. Setting zi=xyi for i0, the subring of kx,y generated over k by {zi} is free on those countably many generators, because a product zi1zim spells out the word xyi1xyi2xyim, from which the exponents can be read back uniquely.

kx,ykz0,,znkz0,z1,

Nothing like this holds for k[x,y]: a polynomial subring of k[x,y] has at most two algebraically independent generators. The distinction is that concatenation of words is free, so there is unlimited room inside a two-letter alphabet.

Presentations and what they can hide

Writing R=kX/(F) is easy; deciding what R looks like is not. Two elements of kX may or may not become equal in R, and there is no algorithm that decides this for arbitrary finite F. The practical response is twofold: find a normal form for words modulo F — the diamond lemma — or map R into a concrete ring and compute there.

Key Results

Proposition(1.2)A free subring on countably many generators

Let k be a ring and R=kx,y. For i0 put zi=xyi. Then the k-subring of R generated by {zi:i0} is a free k-ring on the zi; likewise {z0,,zn} generates a free k-ring on n+1 generators.

Proof

Each zi commutes with k, so by the universal property there is a k-algebra homomorphism ψ from the free ring kZ0,Z1, to R with ψ(Zi)=zi, and its image is the subring in question. It suffices to prove ψ injective, and since ψ carries the k-basis of words in the Zi to the elements

ψ(Zi1Zi2Zim)=xyi1xyi2xyim,

it suffices to show these words are pairwise distinct — distinct words are k-linearly independent in R, so injectivity on a basis gives injectivity.

Given the word xyi1xyi2xyim, the number of occurrences of x recovers m, and the number of y's between the rth and (r+1)st occurrence of x recovers ir, with im read off from the terminal run of y's. So the tuple (i1,,im) is determined, and distinct tuples give distinct words.

PropositionFree rings on at least two generators are not noetherian

Let k be a nonzero ring and R=kx,y. The left ideal 𝔞=i0Rxyi is not finitely generated, so R is not left noetherian. By the symmetric argument with yix, it is not right noetherian either.

Proof

Suppose 𝔞 were generated by g1,,gm. Each gj is a finite sum ifjixyi, so there is N with all gjiNRxyi; the latter is a left ideal containing the generators, hence equals 𝔞. In particular xyN+1=iNfixyi for some fiR.

Compare coefficients of words. Each product wxyi, for w a word, is the word wxyi, and wxyi=xyN+1 forces w empty and i=N+1. Since iN on the right-hand side, the coefficient of xyN+1 there is 0, while on the left it is 1 — contradiction, as k0.

Proposition(1.3)(d)A generic left zero-divisor is not a right zero-divisor

Let R=x,y/(xy) and write x¯,y¯ for the images of x,y. Then x¯y¯=0 but y¯x¯0. Similarly, in x,y/(xy1) one has x¯y¯=1 and y¯x¯1.

Proof

First claim. Let T=(/20) be the triangular ring of §1, and set

a=(2001),b=(0100),ab=(02100)=0.

Since is initial among rings, the universal property gives a homomorphism x,yT with xa, yb. It kills xy, hence kills the ideal (xy), hence factors through R. But the image of yx is

ba=(0100)(2001)=(0100)0,

so y¯x¯0 in R.

Second claim. Let V=i1kei over a field k and take the shift operators in Endk(V): b(ei)=ei+1 and a(e1)=0, a(ei)=ei1 for i2. Then ab=1, so xa, yb factors through x,y/(xy1), while (ba)(e1)=0e1 shows ba1. Hence y¯x¯1.

Theorem(1.3)(c)The Weyl algebra as differential operators

Let k be a field of characteristic 0, P=k[t], and let D,LEndk(P) be D(f)=df/dt and L(f)=tf. Then DLLD=idP, and the induced homomorphism A1(k)=kx,y/(xyyx1)Endk(P) sending x¯D, y¯L is injective with image the ring of differential operators iai(t)Di, aik[t].

Moreover {y¯jx¯i:i,j0} is a k-basis of A1(k), as is {x¯iy¯j}.

CorollaryNo finite-dimensional representations in characteristic zero

If chark=0 then A1(k) admits no nonzero ring homomorphism into Mn(k) for any finite n. Consequently A1(k) is not artinian and has no finite-dimensional simple modules.

Proof

Suppose ρ:A1(k)Mn(k) is a ring homomorphism, so ρ(1)=In. Applying the trace to the defining relation,

tr(ρ(x¯)ρ(y¯)ρ(y¯)ρ(x¯))=0,tr(In)=n,

using tr(AB)=tr(BA). The relation forces n=0 in k, impossible in characteristic 0 for n1. In characteristic p the argument collapses, and indeed A1(k) then has p-dimensional representations.

Remark(3.17)Characteristic p changes everything

If chark=p>0, then x¯p and y¯p are central in A1(k), the centre is k[x¯p,y¯p], and A1(k) is a free module of rank p2 over it. In particular A1(k) is no longer simple. The differential-operator model also degenerates: on k[t] one has Dp=0, because p consecutive integers always include a multiple of p.

Proof Techniques and Method

How these proofs work, and which move to reuse.

Move 1

Read the word backwards

To prove that a family of elements of a free ring is free, show that distinct products spell distinct words. Uniqueness of the spelling is the whole argument.

Move 2

Specialise to a small ring

To prove something is nonzero in a presented ring, map the presentation into a concrete ring satisfying the relations and compute there. Triangular rings and shift operators handle most cases.

Move 3

Take a trace

A relation of the form [u,v]=1 is incompatible with any finite-dimensional representation in characteristic zero, because commutators have trace zero and the identity does not.

Move 2 has a limitation worth naming. Specialisation proves elements are nonzero; it never proves they are zero, since a single specialisation can lose information. Proving an element vanishes requires a normal form, which is what the diamond lemma provides.

Worked Example

The first Weyl algebra, computed

Take k of characteristic 0 and P=k[t]. With D=d/dt and L = multiplication by t, the product rule gives, for any fP,

(DL)(f)=ddt(tf)=f+tdfdt,(LD)(f)=tdfdt,
(E.1)

so (DLLD)(f)=f and DLLD=id. By the universal property there is a homomorphism A1(k)Endk(P) with x¯D, y¯L.

Its image is exactly {iai(t)Di}: the image is spanned by products of Ds and Ls, and the relation DL=LD+1 lets every such product be rewritten with all Ls to the left, which is the assertion that {y¯jx¯i} spans A1(k).

Checking linear independence

Suppose Θ=i,jcijtjDi acts as zero on P, with not all cij zero, and let m be the least i for which some cij0. Then Θ=imjcijtjDi. Apply it to tm: every term with i>m vanishes, since Di(tm)=0 there, while Dm(tm)=m!. Hence

0=Θ(tm)=m!jcmjtj,
(E.1a)

and m!0 in characteristic 0, so every cmj=0 — contradicting the choice of m. Hence the representation is faithful and {y¯jx¯i} is a basis of A1(k).

A commutator computation

From x¯y¯y¯x¯=1 one gets by induction

x¯y¯ny¯nx¯=ny¯n1(n1),
(E.2)

the algebraic form of ddt(tnf)tndfdt=ntn1f.

In characteristic p this gives x¯y¯p=y¯px¯, which is the centrality of y¯p recorded above; the same computation with the roles reversed gives centrality of x¯p.

The quaternions as a presented ring

Set R=x,y/(x2+1,y2+1,xy+yx). The images x¯,y¯ satisfy exactly Hamilton's relations i2=j2=1, ij=ji, so there is a surjection R. Conversely the relations let every word be rewritten in the form ±1,±x¯,±y¯,±x¯y¯ times a real, so dimR4; since dim=4 the surjection is an isomorphism, R.

Frameworks and Models

Almost every algebra in Lam §1 is a quotient of a tensor algebra, which for a free module is a free ring. The relations imposed classify the outcome.

  • T(V)=ke1,,en — tensor algebra on an n-dimensional space
    • quotient by uvvu
      • symmetric algebra S(V)=k[e1,,en], dimension infinite, commutative
    • quotient by vv
      • exterior algebra Λ(V), dimension 2n; a local ring with residue field k
    • quotient by vvq(v)
      • Clifford algebra C(V,q), dimension 2n when chark2; recovers Λ(V) when q=0
    • quotient by uvvu[u,v]
      • universal enveloping algebra U(𝔤), with the Poincaré–Birkhoff–Witt basis
    • quotient by xyyx1
      • Weyl algebra A1(k); a simple noetherian domain in characteristic 0

The relationship between the last two is not accidental: the enveloping algebra of the (2n+1)-dimensional Heisenberg Lie algebra, with its central element set equal to 1, is precisely An(k).

Process and Workflow

Choose generatorsFix the alphabet X and the coefficient ring k; decide whether k is required to be commutative.
Write the relationsList FkX. Every relation must be written as an element that is to become zero, not as an equation between words.
Find a spanning setUse the relations as rewriting rules to push words into a normal form; this bounds the size of kX/(F) from above.
Find a modelConstruct a concrete ring satisfying F in which the normal-form elements are visibly independent; this bounds the size from below.
ConcludeWhen the bounds agree, the normal forms are a basis and the presentation is resolved.

You need to know whether an element u is zero in kX/(F). What do you do?

Show it is nonzeroSpecialise: map into a concrete ring satisfying F and evaluate. One successful specialisation settles it.
Show it is zeroRewrite u using the relations until it reduces to 0. A single reduction sequence suffices, but finding it may require a confluent rewriting system.
Neither works quicklyAttempt a noncommutative Gröbner basis for (F) and reduce u against it. The computation may not terminate.
It still will not settleExpect no algorithm: the word problem for finitely presented rings is undecidable, so some instances are genuinely hopeless.

Comparison and Classification

Free ring against polynomial ring
Propertykx,yk[x,y]
Basis over kall words in x,ymonomials xayb
Dimension in degree n2nn+1
Noetherianneither sideyes, by the Hilbert basis theorem
Contains a free ring on 0 generatorsyesno
Units (k a domain)U(k)U(k)
Domain (k a domain)yesyes
One-sided idealsall free, of unique rank when k is a division ringnot free in general
Embeds in a division ringyes, by Cohn's constructionyes, the rational function field
Presented rings from §1 and their properties
DomainNoetherianSimpleFinite-dimensional over k
kx,yyesnonono
k[x,y]yesyesnono
A1(k), chark=0yesyesyesno
A1(k), chark=pyesyesnono
=x,y/(x2+1,y2+1,xy+yx)yesyesyesyes, dimension 4
Λ(V), dimV=nnoyesnoyes, dimension 2n
x,y/(xy)nononono

Presented rings from §1 and their properties

Applications and Industry Use

Applications here means where this structure is used — inside mathematics and in the engineering and computing disciplines that consume it.

Symbolic computation

D-modules and integration

The Weyl algebra is the ambient ring for algorithmic integration and for holonomic-function methods. Macaulay2's D-modules package, Singular:Plural and the HolonomicFunctions package all compute Gröbner bases in An(k) to evaluate integrals and prove identities.

Quantum algebra

Quantum groups and quantum planes

Quantum groups are presented algebras: the quantum plane is kx,y/(xyqyx), and the quantised enveloping algebras are free algebras modulo the Serre relations. Everything computational about them is presentation-driven.

Automata and formal languages

Rational and algebraic series

Formal power series over a free monoid are the natural home of weighted automata; rationality of a series corresponds to recognisability, and the free ring is the polynomial part of that theory.

Control and systems

Noncommutative realisation theory

Transfer functions of bilinear and nonlinear systems are series over a free monoid; minimal realisation is a rank condition on a Hankel matrix indexed by words.

Free probability

Noncommutative polynomials in random matrices

Evaluating elements of a free algebra on large random matrices is the basic operation of free probability, which underpins asymptotic results in wireless communications and random matrix theory.

Ring theory internally

Manufacturing counterexamples

Most pathologies in this collection start as a free ring modulo the minimum relations needed. Being able to prove that nothing further collapses is exactly the specialisation technique above.

Computational Notes

Computational notes cover algorithms, cost and library behaviour rather than manufacturing process.

  • Normal forms. Bergman's diamond lemma gives a criterion: a rewriting system derived from the relations yields unique normal forms exactly when all overlap and inclusion ambiguities resolve. Verifying finitely many ambiguities settles a presentation completely.
  • Noncommutative Gröbner bases. Mora's algorithm computes them, but a finitely generated ideal of kX need not have a finite Gröbner basis, so the procedure is only a semi-decision method — it terminates when it can, and a degree bound must be imposed otherwise.
  • Undecidability. There is no algorithm that decides, for arbitrary finite presentations, whether two words are equal; the word problem for finitely presented associative algebras is undecidable, inherited from the corresponding result for semigroups.
  • Weyl algebras are better behaved. An(k) is noetherian and admits a genuine Gröbner theory with terminating algorithms, because the commutator of two generators has lower order than their product — this is the solvable-type or PBW-algebra condition.
  • Implementations. GAP's GBNP package and Singular's Letterplace handle free algebras; Singular:Plural, Macaulay2 and Magma handle PBW-type algebras including An(k).

Failure Modes and Common Mistakes

  • Do not expect the Hilbert basis theorem. kx,y is not noetherian, so finitely generated ideals are the exception and finitely generated modules can have non-finitely-generated submodules.
  • Do not conclude equality from a single specialisation. Specialisation is one-directional evidence: it can only prove things are different.
  • Do not assume the Weyl algebra behaves uniformly in characteristic. Simplicity, the centre and the faithfulness of the differential model all change at chark=p.
  • Do not identify A1(k) with k[t] without saying which side the coefficients sit on; the ring of differential operators is a skew polynomial ring k[t][;δ] with δ=d/dt.

Quick Reference

Free ringkxi:iI, basis the words in the xi
As a semigroup ringkΣ for Σ the free monoid on {xi}
Universal propertyany ϕ0:kk plus images commuting with ϕ0(k) extends uniquely
UnitsU(k) when k is a domain; larger otherwise
Chain conditionskx,y is neither left nor right noetherian
Self-embeddingzi=xyi generate a free subring on 0 generators
PresentationkX/(F), with (F) the two-sided ideal
Weyl algebraA1(k)=kx,y/(xyyx1); basis yjxi
Standard presentations
RingPresentationReference
Polynomial ringkxi/(xixjxjxi)(1.3)(a)
Real quaternionsx,y/(x2+1,y2+1,xy+yx)(1.3)(b)
First Weyl algebrakx,y/(xyyx1)(1.3)(c)
nth Weyl algebraAn(k)=A1(An1(k))(1.3)(c)
Generic left zero-divisorx,y/(xy)(1.3)(d)
Generic one-sided inversex,y/(xy1)(1.3)(d)
Exterior algebraT(V)/(vv)(1.10)

Frequently Asked Questions

Why must the coefficients commute with the variables?

Because otherwise the universal property has no clean statement and the words fail to be a basis. The construction deliberately builds the commutation xic=cxi into the multiplication. If you want the variable to act on the coefficients, you want a skew polynomial ring k[x;σ] or a differential polynomial ring k[x;δ] instead.

How can kx,y contain a free ring on infinitely many generators?

Because free monoids are self-similar. The words xy0,xy1,xy2, have the property that any concatenation of them can be uniquely decomposed back, so they generate freely. The commutative analogue fails because k[x,y] has transcendence degree 2 and any three elements satisfy a polynomial relation.

Is kx,y a domain?

Yes when k is. Order words by degree and then lexicographically; the leading word of a product is the concatenation of the leading words, with coefficient the product of the leading coefficients, which is nonzero since k is a domain. The same ordering computes the units and gives the noncommutative division algorithm used in Gröbner theory.

Why is the Weyl algebra simple in characteristic zero but not in characteristic p?

Simplicity comes from the commutator identity [x¯,y¯n]=ny¯n1: bracketing with x¯ or y¯ lowers degree and never annihilates a nonzero element, so any nonzero ideal eventually contains a nonzero scalar. In characteristic p the factor n vanishes when pn, the process stalls, and indeed x¯p and y¯p generate a proper ideal.

What exactly does a specialisation argument prove?

That a specified element of a presented ring is nonzero, and nothing more. A homomorphism into a concrete ring can only detect what survives; it cannot certify that two elements are equal upstairs, since the homomorphism may have a large kernel. To prove an element is zero you must exhibit a reduction using the relations.

Can every ring be presented by generators and relations?

Every ring is a quotient of a free ring — take the underlying set as the alphabet — so yes in principle, but the presentation is usually infinite and useless. The content of a good presentation is that it is finite, or at least that it has a manageable normal form.

References

  1. T. Y. Lam, A First Course in Noncommutative Rings, Graduate Texts in Mathematics 131, Springer-Verlag, 1991, §1, Examples (1.2)–(1.3) and (1.10), pp. 6–14.
  2. P. M. Cohn, Free Ideal Rings and Localization in General Rings, New Mathematical Monographs 3, Cambridge University Press, 2006, Chapters 0–2.
  3. G. M. Bergman, “The diamond lemma for ring theory”, Advances in Mathematics 29 (1978), 178–218.
  4. J. C. McConnell and J. C. Robson, Noncommutative Noetherian Rings, revised edition, Graduate Studies in Mathematics 30, American Mathematical Society, 2001, Chapters 1 and 8 (Weyl algebras).
  5. S. C. Coutinho, A Primer of Algebraic D-modules, London Mathematical Society Student Texts 33, Cambridge University Press, 1995.
  6. L. H. Rowen, Ring Theory, Volume I, Academic Press, 1988, §1.3 and §1.6.

AI Suggested Questions

  • State Bergman's diamond lemma precisely and apply it to the quaternion presentation.
  • Prove that the first Weyl algebra is simple in characteristic zero.
  • Sketch Cohn's proof that a free algebra over a division ring embeds in a division ring.
  • Why do free algebras have no finite Gröbner basis for some finitely generated ideals?
  • Give a finite presentation whose ring is nonzero but whose triviality is not obvious, and explain how to detect it.
  • How does the Poincaré–Birkhoff–Witt theorem generalise the basis computation for the Weyl algebra?
  • Compare the free algebra with the free group algebra and explain which properties transfer.
Page
KEVOS-ENG-MATH-NCR-0005
Path
Engineering / Mathematics
Template
kevos-knowledge-article-v2
KEVOS® Knowledge Library — reviewed 2026-08-08

Continue learning

Algebraic and Geometric Multiplicities of Eigenvalues | KEVOS® MathematicsArticle · Project ManagementAmitsur’s Theorem on the Radical of a Polynomial Ring | KEVOS®Article · Project ManagementAmitsur’s Theorem on the Radical of an Algebra of Small Dimension | KEVOS®Article · Project ManagementArchetypes: Reference Catalogue of Worked Systems | KEVOS® MathematicsArticle · Project Management