Overview
There are two standard ways to introduce the Weyl algebra. One writes down symbols and a list of relations they are declared to satisfy; the other exhibits concrete operators on a concrete vector space and takes the algebra they generate. This page takes the second route, which is the one Coutinho opens with, and which has a decisive pedagogical advantage: nothing has to be assumed consistent. The operators exist, so the algebra exists, and every relation between them is a fact that can be checked by differentiating a polynomial.
The vector space acted on is the polynomial ring over a field of characteristic zero. The operators are the multiplications and the partial derivatives . The -th Weyl algebra is the subalgebra of that these operators generate. Multiplication in is composition of operators, and it is not commutative: differentiating after multiplying is not the same as multiplying after differentiating, and the discrepancy is exactly the identity operator.
Two consequences are worth flagging immediately. First, is by construction a faithful module over : an element of is an operator, so it is zero precisely when it kills every polynomial. Second, is genuinely infinite dimensional over , because is, and this is not an accident that a cleverer construction could avoid — the commutation relations make finite-dimensional realisations impossible.
The companion page The Weyl Algebra by Generators and Relations gives the abstract presentation and proves the two definitions agree in characteristic zero. They do not agree in characteristic , a point taken up under Limits of Validity below.
Definition
Throughout, is a field of characteristic zero and is the polynomial ring in commuting indeterminates. As a -vector space has the countable basis of monomials, so it is infinite dimensional. Write for the -algebra of all -linear maps , with addition defined pointwise and multiplication given by composition.
The Weyl algebra Coutinho, Ch. 1 §1
For each with define two elements of by their effect on a polynomial :
Both maps are -linear: multiplication by a fixed polynomial is linear, and partial differentiation is linear because has characteristic zero and the derivative of a sum is the sum of the derivatives. The -th Weyl algebra is the -subalgebra of generated by — that is, the set of all finite -linear combinations of finite composites of these operators, together with the identity operator. By convention .
Remark
The hat on distinguishes the operator \"multiply by \" from the polynomial on which operators act. Keeping them apart is useful for exactly one paragraph. From here on both are written , following the universal convention; the context always makes clear which is meant, and for the generators are written simply and .
Nested Weyl algebras
If then the operators generating act on as well, by ignoring the extra variables, and the resulting embedding realises as a subalgebra of . The Weyl algebras therefore form a chain
Each inclusion is strict, and each with is non-commutative.
Note
Being a subalgebra of an endomorphism algebra, comes with a distinguished module for free: itself. This is the fundamental or natural representation. It is faithful by construction, and it turns out to be simple — it has no submodules other than and itself.
Core Concepts
Why start with operators
Presenting an algebra by generators and relations always raises a question of consistency: do the relations collapse the algebra further than intended? A presentation with contradictory relations defines the zero ring, and nothing in the list of relations announces this. Defining as a set of honest operators sidesteps the question entirely. The algebra is a subset of something that already exists, its elements are distinguishable because they act differently on polynomials, and every relation among the generators is discovered by computation rather than imposed.
The price is that the size of is not obvious; that is settled by the canonical form theorem, which says the operators are linearly independent. Under the abstract presentation the roles are reversed: the size is transparent and the consistency needs proof.
Multiplication and differentiation do not commute
The single computation that generates all the structure is the product rule. Applying after multiplying by gives
whereas multiplying by after differentiating gives only the first term. The two composites therefore differ by the identity operator. Writing for the commutator, this reads . The full list of relations, and what follows from them, is the subject of the commutation relations page.
Differentiation is a derivation, not a ring map
The operator does not respect the multiplication of ; it satisfies the Leibniz rule instead. The general statement is that is a derivation of over , and the Weyl algebra can be described as the algebra generated inside by acting on itself by multiplication together with all -derivations of . That formulation is the one that generalises: replacing by the coordinate ring of a smooth affine variety produces the ring of differential operators on that variety.
Infinite dimension is forced
One might hope to model the same relations on a finite-dimensional space, where linear algebra is easier. It is impossible in characteristic zero: taking traces in would give , since the trace of a commutator vanishes while the trace of the identity on a -dimensional space is . The polynomial ring is the smallest natural home for these operators, and no finite-dimensional home exists.
Key Equations
The definition of the generating operators:
The algebra they generate:
The product rule, written as a statement about composites of operators:
valid for every , where is the Kronecker delta.
Equivalently, in commutator form, and this is the defining relation of the algebra:
More generally, commuting a derivative past multiplication by any polynomial produces its derivative, which is the operator form of the Leibniz rule:
Repeated use of (1.5) pushes every multiplication operator to the left of every derivative, which yields the canonical form; every element of can be written uniquely as
Variable Definitions
- the ground field, always of characteristic zero on this page
- the polynomial ring , viewed as a -vector space of infinite dimension
- the -algebra of all -linear maps under addition and composition
- the operator of multiplication by the variable ; written once the notation is settled
- the operator of partial differentiation with respect to
- ,
- the -th Weyl algebra over ; the subalgebra of generated by the operators above
- the commutator of two operators
- the Kronecker delta: when and otherwise
- multi-indices in , with and
- the identity operator, which is the multiplicative identity of the algebra
Properties and Behaviour
Everything below is a property of as it has just been defined; each is established on its own page, and the list is here so that the shape of the object is visible at the outset.
Canonical formCoutinho (2.1)
Every element of can be written in exactly one way as a finite sum . In particular the set is a -basis of , so is countably infinite.
Ring-theoretic properties
has no zero divisors, and its centre is exactly the field of scalars . It is simple: its only two-sided ideals are and . It is left and right Noetherian, and it is a domain but not a division ring — the operator , for instance, has no inverse in .
Every non-zero module is faithful
Simplicity has an immediate consequence for the definition given here: because a two-sided ideal is either or everything, every non-zero -module is faithful. So the faithfulness of , which came free from the construction, was never going to be a restrictive condition in characteristic zero.
is an -fold external product
Composing the natural inclusions gives an isomorphism of -algebras
so all of the structure of is generated by the one-variable case together with the external product. Correspondingly as a module.
Agreement with the intrinsic definition
coincides with the ring of differential operators on affine -space in the sense of Grothendieck. So the concrete definition given here, which looks like a choice of convenient generators, in fact produces the whole of an intrinsically defined object; see the comparison page.
Examples and Special Cases
The degenerate case
by convention: there are no variables, , and the only operators are the scalars.
The first Weyl algebra
is generated by and acting on , with the single relation . Its canonical basis is . Every ordinary linear differential operator with polynomial coefficients, such as the Bessel operator for , is an element of .
The Euler operator
The Euler operator acts diagonally on the monomial basis: . It is the simplest interesting element of that is neither a multiplication nor a derivative, and it satisfies and , so conjugation by it grades . In variables, measures total degree.
is not all of
is a very small part of . Every raises degrees by a bounded amount: if and , then for every . So the -linear map defined on the monomial basis of by lies in but not in : it raises the degree of by , which is unbounded. The inclusion is very far from an equality — indeed has countable dimension over while does not.
Worked Example
Composing operators in and reducing to canonical form
- Step 1 - fix the action on the monomial basis
Work in over , acting on . On the basis the two generators act by
Every computation below is carried out on this basis and then extended by linearity, which is legitimate because all the operators involved are -linear.
- Step 2 - verify the commutation relation directly
Apply and to :
Subtracting, for every (for the second term is and the first is ). The two operators therefore differ by the identity on a basis, hence everywhere, so . Note that this holds on as well, which is where a careless computation usually goes wrong.
- Step 3 - reduce a composite to canonical form
Take , a composite written with the derivatives on the left. Push the multiplications leftwards using twice. First,
Now apply on the left of that identity:
which collects to
(1.7)The right-hand side is in canonical form: every term is a scalar times with the multiplications to the left.
- Step 4 - check the answer on test polynomials
Apply both sides of (1.7) to . Left-hand side: , and . Right-hand side:
and . Now test : the left-hand side gives , while the right-hand side gives . And : left-hand side ; right-hand side . All three agree.
- Step 5 - upgrade the check to a proof
Finitely many monomials are not enough, but the general one is: both sides of (1.7) applied to give on the left and on the right, and these agree identically in . Since elements of are operators, agreement on a basis of is equality.
in , verified as an identity of operators on the general monomial : both sides multiply by . The reduction used only the relation , which was itself verified from the definition of the operators.
Applications and Industry Use
In a mathematics topic, this section covers downstream use inside mathematics, computing and engineering rather than a manufactured product.
The operator definition is the one that connects most directly to uses outside pure algebra, because in every one of them the object of interest genuinely is an operator.
- Quantum mechanics. The canonical commutation relation is the relation after rescaling, and is the algebraic skeleton of the Heisenberg picture. The impossibility of a finite-dimensional model is the algebraic content of the statement that position and momentum cannot both be represented by finite matrices. See the Weyl algebra and the birth of quantum mechanics.
- Linear differential equations with polynomial coefficients. A system of such equations is an element or a matrix of elements of , and its solution theory is the study of the module it presents. This is the entry point to the whole of D-module theory.
- Computer algebra. Symbolic integration and summation algorithms manipulate elements of and its difference analogues (Ore algebras) directly. Canonical form is what makes the data structure and the equality test possible.
- Combinatorial identity proving. Holonomic sequences and functions are those annihilated by large enough ideals of a Weyl or Ore algebra, and Zeilberger's method runs entirely inside such algebras.
- Control and systems theory. Linear time-varying systems with polynomial coefficients are modules over or ; controllability and observability translate into module-theoretic properties such as freeness and torsion-freeness.
Design Considerations
For a mathematical object, design considerations are the modelling choices: which ring, which filtration, which category to work in.
Operators or symbols
The operator definition buys existence and faithfulness for free and costs a proof that the algebra is as large as expected; the abstract presentation buys the size for free and costs a proof that it is not smaller. Coutinho does both, reconciled by the canonical basis theorem. For everyday work the presentation is more flexible: constructing a homomorphism out of becomes a matter of checking finitely many relations, which is exactly how automorphisms of P1 are built.
Which module to act on
For algebra, is the right choice: smallest faithful module, transparent structure. For analysis the natural modules are smooth or holomorphic functions, or distributions, each detecting different solutions of the same operator. The algebra is fixed; the module is where the information lives.
Left or right
Because is non-commutative, left and right modules are different categories. The convention throughout this collection is left modules, matching the way operators act on functions. The two theories are equivalent via the transposition anti-automorphism, which sends and , so nothing is lost — but signs are, if the transposition is applied carelessly.
Standards and Codes
For mathematics, the relevant standards are notation, numeric and markup standards together with reference implementations.
- ISO 80000-2 fixes the notation used here: for partial differentiation, and for the number systems, upright roman type for operator names such as and , and for the Kronecker delta.
- ISO/IEC 40314 (MathML 3.0) is the markup in which the expressions on this page are encoded, so the mathematics is machine-readable rather than an image.
- There is no standard for the name: , , , and all appear in the literature for the same algebra. is the most common alternative and is standard in the Russian tradition; often denotes the formal or analytic version instead, so it is worth checking.
- Software conventions: Macaulay2 constructs the algebra with
makeWeylAlgebra, Singular withWeyl()innctools.lib, and SageMath withDifferentialWeylAlgebra. Each normalises products to a fixed side and each documents which. - Coutinho's own numbering — results cited as section-and-item pairs within a chapter — is the citation convention used in the References below.
Material Selection
The material of a mathematical construction is its numeric substrate: the ground field, the coefficient ring and the representation used to store it.
The only genuine choice at this stage is the ground field, and characteristic is the property that matters.
- is the default for exact computation. Everything on this page is true over , and results proved there transfer to any extension, since .
- is the field to use when the module of interest is a space of holomorphic functions or distributions, or when monodromy is in play.
- behaves exactly like for all structural purposes; it is chosen only when the application is real-analytic.
- Fields of characteristic change the object. The operator algebra defined above is then not the Weyl algebra of the abstract presentation, and neither one is simple.
- Rings that are not fields are not admissible here without care. Over a commutative ring containing one can define , but simplicity fails immediately: any ideal of generates a two-sided ideal.
For the module, the monomial basis of is the standard storage choice because it makes both generators sparse: shifts one exponent up, shifts one down and multiplies by an integer.
Computational Notes
Read this as the manufacturing section of the template: how the object is actually built by machine, at what cost, and where the computation stops being decidable.
An element of is stored as its canonical form: a sparse list of pairs with non-zero coefficients in . Addition is merging of sparse lists. Multiplication is the only non-trivial operation.
- To multiply by , the block must be normalised.
- The rule is the Leibniz expansion , the sum running over multi-indices componentwise.
- Multiply through by on the left and on the right and merge terms.
- Equality of two elements is then coefficient-by-coefficient comparison, which is what the canonical form is for.
One monomial product expands into terms, so the cost is exponential in in the worst case; for it is at most terms. In practice coefficient growth over bites before the term count does.
Implementations that expose directly include the Dmodules package and WeylAlgebra type in Macaulay2, Weyl algebras in Singular via dmod.lib and nctools.lib, the ore_algebra package in SageMath, and HolonomicFunctions.m in Mathematica. All of them normalise to a fixed side; consult the documentation before comparing output with a formula written elsewhere.
Limits of Validity
The operator definition is robust, but three hypotheses in it are load-bearing.
- Characteristic zero. In characteristic the operator annihilates , because and one of any consecutive integers is divisible by . So the algebra of operators generated by and is a proper quotient of the algebra defined by generators and relations, and the two definitions of the Weyl algebra part company. See the positive characteristic page.
- The module must be , or something at least as large. The construction realises inside for . Any faithful -module would do equally well — formal power series , or holomorphic functions on a domain when — and in characteristic zero every non-zero module is faithful, so the resulting algebra is the same. What is not available is a finite-dimensional .
- Polynomial coefficients only. Enlarging the coefficients to rational functions, formal power series or convergent series gives different rings — , and so on — with genuinely different behaviour. The rational-coefficient ring, for instance, has a division-ring-like localisation theory that lacks.
What is not needed
Nothing above requires to be algebraically closed, and nothing requires it to be . All the structural facts listed under Properties hold over any field of characteristic zero, including . Extension of scalars is harmless: for any field extension .
Failure Modes and Common Mistakes
Treating the canonical basis as a commuting monomial basis
is not the polynomial ring , even though its canonical basis looks exactly like the monomial basis of that polynomial ring. The underlying vector spaces are isomorphic; the multiplications are not. In , . The polynomial ring is the associated graded algebra of , which is a genuinely weaker piece of data — see the associated graded algebra.
Dropping the order of composition
Writing and for the same operator. They differ by , as computed above. Order matters at every step of a composite, and the safest habit is to reduce every expression to canonical form immediately, so that two elements can be compared coefficient by coefficient.
Assuming everyone orders the canonical form the same way
The mathematical convention used here puts all multiplication operators to the left. Much of the physics literature, and some computer algebra systems, use the opposite (normal ordering, derivatives to the left) or the Weyl-symmetric ordering. The same operator then has different coefficients. Before comparing a formula with a source or a package, check which side the coefficients sit on: for example , so a symbol that reads in one convention need not correspond to the same element in another.
Confusing with the ambient endomorphism algebra
is enormous and badly behaved — not Noetherian, full of idempotents and zero divisors — while is a Noetherian simple domain. Facts about the ambient algebra do not transfer. In particular has no idempotents other than and , so there is no projection available to split as an -module.
Carrying characteristic-zero statements into characteristic p
In characteristic the phrase \"the Weyl algebra\" is ambiguous and the two standard definitions give non-isomorphic answers. If a source states results \"over a field \" without saying characteristic zero, and uses the operator definition, treat every simplicity or faithfulness claim with suspicion until the characteristic is pinned down.
Historical Notes
The relations came before the algebra. In 1925 and 1926 Heisenberg, Born and Jordan, and then Dirac, arrived at the canonical commutation relation between position and momentum, and Dirac in particular framed it as an algebraic condition on operators. It was immediately clear that the operators could not be finite matrices.
Hermann Weyl, in Gruppentheorie und Quantenmechanik (1928), studied the exponentiated form of the relations and their unitary representations — the material that became the Stone–von Neumann theorem — and the algebra generated by the unexponentiated operators was eventually named after him. It appeared in a purely algebraic setting as early as Littlewood's 1933 work on non-commutative algebras, and its simplicity over fields of characteristic zero was established in that algebraic tradition.
The name \"Weyl algebra\" became standard after Dixmier's 1968 paper Sur les algèbres de Weyl, which set out the structure theory used ever since and posed the conjecture that every endomorphism of is an automorphism — still open, and now known to be equivalent to the Jacobian conjecture. Shortly afterwards Bernstein's work on the analytic continuation of turned from an interesting example in ring theory into the foundation of a theory of differential equations, which is the subject of the rest of this collection.
Comparison
| (Weyl algebra) | |||
|---|---|---|---|
| Definition | operators generated by multiplications and derivatives | commutative polynomials in variables | all -linear maps of |
| countably infinite | countably infinite | uncountable | |
| Commutative? | no, | yes | no |
| Zero divisors | none | none | many |
| Two-sided ideals | only and the whole ring | many | many |
| Noetherian | yes, left and right | yes | no |
| Relation to the others | — | the associated graded ring of | contains as a tiny subalgebra |
Key Takeaways
Key points
- is defined as the subalgebra of generated by the multiplications and the partial derivatives , with of characteristic zero.
- Because the elements are operators, the algebra exists without any consistency check and is automatically a faithful module.
- The product rule gives and ; these relations generate all others.
- Every element has a unique canonical form , so is a -basis and is countably infinite dimensional.
- is a Noetherian simple domain with centre ; it is very much smaller than the ambient and very different from the commutative polynomial ring in variables.
- No finite-dimensional vector space supports these relations in characteristic zero, and in characteristic the operator definition and the abstract presentation give non-isomorphic algebras.
FAQs
Why define inside instead of just listing relations?
Because then existence is free. A presentation by generators and relations might, for all one knows at the outset, define the zero ring; proving otherwise requires exhibiting a model, and the model is exactly the operator algebra. Coutinho gives the operator definition first for this reason and only afterwards proves the abstract presentation describes the same object.
Is the polynomial ring the only module one could have used?
No. Any faithful -module realises inside its endomorphism algebra, and in characteristic zero every non-zero module is faithful because is simple. Formal power series, convergent power series and functions all work. is chosen because it is the smallest and the most computable.
Does contain the polynomial ring ?
Yes, as the subalgebra of multiplication operators, and that copy is commutative. It also contains the commutative subalgebra of constant-coefficient operators. What it does not do is decompose as a tensor product of these two as an algebra — only as a vector space, which is precisely the content of the canonical form.
Why does the definition insist on characteristic zero?
In characteristic the operator acts as zero on , so the operator algebra satisfies a relation that the abstractly presented Weyl algebra does not. The operator algebra is then a proper quotient, it is not simple, and it is finitely generated as a module over its centre. Essentially every theorem in this collection fails or changes.
Is a finitely generated algebra?
Yes — by elements, by definition. It is infinite dimensional as a vector space but finitely generated as an algebra, and moreover Noetherian on both sides. Finite generation as an algebra and finite dimension as a vector space are different conditions, and only the first holds here.
Where does the identity operator come from in ?
From the product rule. , and the extra is the value of the identity operator at . It is not a normalisation choice: the constant is forced to be by the definition of the derivative.
Can I think of and as matrices?
Only as infinite matrices. With respect to the monomial basis of , is the shift matrix with s on one subdiagonal and is the shift matrix with on the other. These are honest infinite matrices with finitely many non-zero entries in each column, and their commutator is the identity. No finite truncation of them satisfies the relation.
Is a ring homomorphism of ?
No. It is -linear but satisfies the Leibniz rule rather than . Maps of this kind are derivations, and the general theory of differential operators is built from them.
References
- S. C. Coutinho, A Primer of Algebraic D-modules, London Mathematical Society Student Texts 33, Cambridge University Press, 1995 - Ch. 1 §1 for the definition as a ring of operators, §2 for the canonical form and §3 for the abstract presentation.
- J. Dixmier, Sur les algèbres de Weyl, Bulletin de la Société Mathématique de France 96 (1968), 209-242 - the paper that fixed the name and the basic structure theory.
- H. Weyl, Gruppentheorie und Quantenmechanik, Hirzel, Leipzig, 1928; English translation The Theory of Groups and Quantum Mechanics, Dover, 1950.
- J.-E. Björk, Rings of Differential Operators, North-Holland Mathematical Library 21, North-Holland, 1979 - Ch. 1, for the filtered and analytic versions of the same algebra.
- J. C. McConnell and J. C. Robson, Noncommutative Noetherian Rings, Graduate Studies in Mathematics 30, revised edition, American Mathematical Society, 2001 - Ch. 1 and Ch. 8, for as the standard example of a simple Noetherian domain.
- R. Hotta, K. Takeuchi and T. Tanisaki, D-modules, Perverse Sheaves, and Representation Theory, Progress in Mathematics 236, Birkhäuser, 2008 - Ch. 1, for the sheaf-theoretic version.
Dmodules: a Macaulay2 package for D-modules, andore_algebra: a SageMath package for Ore algebras - package documentation, for the computational conventions cited above.- ISO 80000-2:2019, Quantities and units - Part 2: Mathematics, International Organization for Standardization.
- ISO/IEC 40314:2016, Information technology - Mathematical Markup Language (MathML) Version 3.0, International Organization for Standardization.
AI Suggested Questions
- Reduce to canonical form in and verify the answer on the general monomial .
- Show that the operator on lies in but does not.
- Prove that has no non-zero idempotents, using the canonical form.
- Write the infinite matrices of and in the monomial basis and check that their commutator is the identity matrix.
- Explain why acts as zero on when has characteristic , and what that does to the definition.
- Show that the Euler operator satisfies and use it to grade .
- Explain why the trace argument rules out finite-dimensional representations, and what changes in characteristic .
