Overview
An element of arrives as some expression in the generators — a product of operators, or a sum of such products, in whatever order the construction happened to produce. Because the generators do not commute, the same operator has infinitely many such expressions: , and are all the same element of . Without a rule for choosing among them, one cannot even decide whether two expressions denote the same operator.
The canonical form supplies the rule. Fix the convention that every multiplication operator is written to the left of every derivative. Then each element of has exactly one expression of the form
with finitely many non-zero coefficients . Equivalently, the monomials form a basis of as a -vector space — the canonical basis.
There are two things to prove, and they are of quite different character. That the monomials span is a rewriting procedure: the commutation relations let any expression be pushed into the required order, and the procedure terminates. That they are linearly independent uses the fact that elements of are operators: a non-trivial combination is shown to act non-trivially on a carefully chosen polynomial. This page gives the rewriting in full and the independence argument in outline; the complete proof is on the dedicated proof page.
Definition
The statement is cleanest in multi-index notation. A multi-index is an element ; it abbreviates
No ambiguity arises in either product because the commute among themselves and the commute among themselves. A pair of multi-indices in is itself a multi-index in , so it too has a length, namely .
The canonical basisCoutinho (2.1)
Let be a field of characteristic zero. The set
is a basis of as a -vector space. Consequently every is a finite sum with uniquely determined coefficients .
Canonical form
That unique expression is the canonical form of . Two elements of are equal if and only if their canonical forms have the same coefficients, so canonical form solves the word problem for outright.
Remark
The choice to put the 's on the left is a convention and nothing more. The reversed monomials are equally a basis, as is the Weyl-symmetric family obtained by symmetrising each product. What matters is that some order is fixed, so that the expression is unique. Comparing a formula against a source or a software package requires knowing which convention that source uses.
Core Concepts
Why a basis is not obvious
Since is generated by the operators, everything in it is certainly a linear combination of words in those generators. The claim is stronger: the sorted words already suffice, and there are no relations among them. Both halves need argument. In a general algebra given by generators and relations, sorted monomials need not span (the relations may not be orientable into a terminating rewriting system) and need not be independent (the relations may collapse them). Here both work, and the reason is that the commutator of two generators is a scalar, which is strictly simpler than either factor.
Rewriting terminates because commutators are cheap
The rewriting step is . Applying it to a word replaces one occurrence of a \"bad\" adjacent pair (a derivative immediately left of a multiplication) by a word with one fewer inversion, plus possibly a strictly shorter word. Because the number of inversions of a word is a non-negative integer that strictly decreases, and the correction terms are shorter, the process cannot run forever. This is the same mechanism that makes the Poincare-Birkhoff-Witt theorem work for enveloping algebras.
Independence is a statement about operators
Nothing in the rewriting shows that the sorted monomials are independent — rewriting alone can never rule out an unexpected collapse. The independence is imported from the definition of P0 as operators: to prove a combination non-zero, one exhibits a polynomial with . The right is a monomial where is chosen to be of minimal length among the derivative multi-indices actually occurring. Applying to then annihilates every term except those with , and what survives is times a non-zero polynomial in the 's alone.
What the canonical form buys
Three things, all of which are used constantly. Equality becomes coefficient comparison, so the algebra has a decidable word problem and a usable data structure. The two natural degree functions become readable off the exponents: the Bernstein degree is and the order is . And the symbol map becomes well defined, which is what lets a non-commutative problem be attacked with commutative algebra.
Construction and Proof
The monomials span
Every element of is a -linear combination of words in the generators, so it is enough to bring a single word into canonical form.
Termination of the rewriting
Let be a word in . Call a position in an inversion if a derivative stands immediately to the left of a multiplication operator. If has no inversions, all the 's precede all the 's, and since the 's commute among themselves and the 's do too, is already of the form .
If has an inversion, apply (2.2) at that position, replacing by . The first word has the same length as and strictly fewer inversions; the second, when it is present, is two letters shorter. Order words by the pair (length, number of inversions), lexicographically. Each rewriting step strictly decreases this pair, and the pair takes values in a well-ordered set, so no infinite chain of rewritings is possible. The procedure therefore terminates, and it terminates with a linear combination of elements of .
Remark
A slicker phrasing of the same argument: by (2.2) the subspace spanned by is stable under left multiplication by each (obvious) and by each (because , both of which lie in the span). A subspace containing and stable under left multiplication by all generators is a left ideal containing , hence all of .
The monomials are independent
Here is the argument in outline; it is carried out in full, with all the multi-index bookkeeping, on the proof page.
Evaluating a derivative monomialCoutinho (2.2)
Let with . Then if , and otherwise.
Proof
Directly, , and the -th factor is unless . So a non-zero value requires for every , hence . Combined with the hypothesis this forces and then for every . In that case each factor is , and the product is .
Independence of the canonical monomials (outline)
Suppose as an operator, with some coefficient non-zero. Among all with for some , choose one of minimal length and call it . Evaluate the operator at .
Terms with do not occur, by minimality. Terms with are covered by the lemma, which kills them unless . What remains is
The multi-index factorial is a non-zero element of because has characteristic zero, and the monomials are linearly independent in . Hence for all , contradicting the choice of .
Where characteristic zero enters
The step that divides by is where characteristic zero is used, and it is not cosmetic. Over a field of characteristic the operator is a non-zero element of the abstractly presented Weyl algebra but acts as zero on , so the monomials in are not independent as operators. The canonical basis theorem, stated for the operator algebra, is false in characteristic .
Key Equations
The canonical form itself:
The single rewriting rule that produces it, from the commutation relations:
Iterating (2.2) gives the closed-form reordering rule, which is how an implementation multiplies two basis elements:
the sum over multi-indices with , and .
The lemma that powers the independence proof evaluates a derivative monomial on a monomial of no larger degree:
Applied to (2.1) at the minimal , this gives the evaluation that proves independence:
Finally, the two degree functions read off the canonical form:
Variable Definitions
- the ground field, of characteristic zero
- the polynomial ring on which acts
- multi-indices in
- ,
- the monomials and
- the length of a multi-index, equal to the degree of
- the multi-index factorial
- the componentwise order: for every
- the coefficients in the canonical form of an operator, uniquely determined by it
- the canonical basis
- ,
- the Bernstein degree and the order of , read off the canonical form by (2.6)
Properties and Behaviour
Dimension
is countably infinite, since is indexed by . In particular is a proper subalgebra of , which has uncountable dimension.
Freeness over the polynomial subalgebras
is free as a left module over the subalgebra of multiplication operators, with basis ; and free as a right module over with basis . Both statements are just the canonical form regrouped, and the first is the one used when the order filtration is analysed, since each piece of that filtration is a finitely generated free -module.
The reversed basis
The reversed monomials also form a basis. One way to see this is to apply the algebraic Fourier automorphism , , which is an automorphism of carrying one family to the other up to signs. The change-of-basis coefficients are given by (2.3); in ,
which for reads , as it must.
The symbol map is linear, not multiplicative
The symbol map sending is a well-defined -linear bijection — but it is not a ring homomorphism. Since , its symbol is , whereas ; the two differ by exactly the commutator. It becomes multiplicative only after passing to the associated graded algebra, where the discrepancy is of lower degree and is discarded.
Reading off the filtrations
Canonical form makes the two filtrations transparent. If has canonical coefficients supported in then , and conversely; similarly exactly when whenever . It also makes visible that , since has as basis the monomials of of total degree at most in exponents.
Examples and Special Cases
Small reorderings
In : ; ; ; . Each is one application of (2.3) with .
Only same-index pairs cost anything
In , the operator has two inversions, but each pairs a derivative with a variable of a different index. Since and commute, both inversions clear with no correction terms and the canonical form is simply . Compare the same-index case in : , where every reordering costs a term. Cross pairs are free; only the diagonal pairs are expensive.
Classical operators are already canonical
The Bessel operator and the Airy operator are already in canonical form. The Legendre operator, written as , is too: no reordering is needed because every coefficient sits to the left. Classical differential operators are almost always presented in canonical form, which is why the issue only becomes visible once operators are composed.
Products leave the basis
Canonical form is not preserved by composition, which is the whole point. , so the square of a canonical monomial is not a canonical monomial. Any implementation must renormalise after every product.
Worked Example
The canonical form of in
- Step 1 - square the Euler operator
Write . The only inversion in is the central , so one application of (2.2) suffices:
Check on : since , the left side gives ; the right side gives .
- Step 2 - multiply by θ once more
Now . Two reorderings are needed, and :
Adding the two lines and collecting like basis elements,
(2.7) - Step 3 - verify on the general monomial
Apply both sides of (2.7) to . The left side is . The right side is
They agree identically in , so (2.7) is an identity of operators, not merely a coincidence at small values. The coefficients are the Stirling numbers of the second kind , and in general .
- Step 4 - use uniqueness to detect non-zero
Apply the independence criterion (2.5) to directly. The derivative multi-indices occurring are , so the minimal one is . Evaluating at :
which is , exactly as (2.5) predicts. The two higher terms are annihilated because , which is the mechanism of the whole independence proof visible in one line.
- Step 5 - read off the invariants
From (2.7) and (2.6): the Bernstein degree of is , and the order is . Its symbol with respect to the order filtration is , the top-order part only; its symbol with respect to the Bernstein filtration is also , since that term is alone in top total degree. Neither symbol records the terms or — a reminder that the symbol forgets a great deal that the canonical form retains.
, verified by acting on (both sides multiply it by ). The coefficients are Stirling numbers of the second kind; the operator has Bernstein degree , order and principal symbol .
Applications and Industry Use
In a mathematics topic, this section covers downstream use inside mathematics, computing and engineering rather than a manufactured product.
- Data structures for computer algebra. Every system that implements stores elements as sparse maps from exponent pairs to coefficients. Canonical form is what makes that representation faithful and equality testing exact.
- Non-commutative Gröbner bases. Buchberger's algorithm generalises to precisely because the canonical monomials admit compatible term orders, so leading terms are well defined; this underlies every algorithm on characteristic varieties and holonomic systems.
- Filtrations and dimension theory. The counts that drive Bernstein's inequality are direct consequences of the canonical basis, since has an explicit monomial basis.
- Normal ordering in physics. The same reordering problem, with derivatives to the left, is the normal-ordering procedure for creation and annihilation operators; the coefficients that appear in (2.3) are the combinatorial content of Wick's theorem.
- Combinatorial identities. Expanding produces Stirling numbers, and more elaborate reorderings produce whole families of identities; the same machinery drives automatic identity proving.
Design Considerations
For a mathematical object, design considerations are the modelling choices: which ring, which filtration, which category to work in.
Which side to normalise
Putting the 's on the left matches how differential operators are written classically, , and makes visibly a free left -module. Putting the 's on the left is more natural when the module of interest is a space of functionals or when Fourier duality is in play. The Weyl-symmetric ordering is the choice that behaves best under the symplectic symmetries of the relations, at the price of coefficients with denominators — which is why it is avoided in exact computation.
Which grading to attach
The canonical form supports both standard filtrations without modification, and the choice depends on the goal. Giving and weight gives the Bernstein filtration, whose pieces are finite dimensional over — this is what makes Hilbert-polynomial arguments work. Giving weight and weight gives the order filtration, whose associated graded ring is the coordinate ring of the cotangent space — this is what makes geometry work. Both are read off the same exponent vectors.
Term orders for computation
For Gröbner-basis work a total order on the exponent pairs must be chosen that is compatible with multiplication. Degree-reverse-lexicographic on is the usual default, and orders that refine the order filtration are used when the characteristic variety is wanted. The choice can change running times by orders of magnitude without changing the answer.
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 , for , and for the factorial and binomial symbols appearing in (2.3).
- ISO/IEC 40314 (MathML 3.0) is the encoding of the expressions on this page, so multi-index superscripts remain machine-readable.
- There is no standard name: canonical form, normal form and normally ordered form all denote the same thing, and physics uses normal ordering for the opposite convention. Coutinho's term is canonical form, which is the one used throughout this collection.
- Software normalisation sides differ; Macaulay2, Singular and SageMath each state theirs in the documentation of the constructor.
- Result citation follows Coutinho's numbering: the canonical basis is (2.1) and the evaluation lemma is (2.2) in Ch. 1.
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.
Canonical form is the specification of the data structure and of the two primitive operations.
- Representation. A sparse dictionary from exponent pairs to non-zero coefficients in .
- Addition. Merge the dictionaries, adding coefficients and deleting zeros. Linear in the number of terms.
- Multiplication. For each pair of terms apply (2.3) to the middle block , multiply through, and merge. One pair of terms produces new terms.
- Equality. Compare dictionaries. This is exact, and it is the reason canonical form is worth computing at all.
The cost profile is worth knowing. Term counts grow multiplicatively with , so an operator in with derivative degree in each variable can generate up to terms from a single product of basis elements. Coefficients acquire factorials from (2.3), so over the integers grow quickly; modular techniques with reconstruction are standard practice for large computations.
Because canonical form is a rewriting system, its correctness has a general explanation: the rule (2.2) is confluent and terminating, which is Bergman's diamond lemma applied to this presentation. That is also the reason the analogous statement holds for enveloping algebras (the Poincare-Birkhoff-Witt theorem) and for Ore algebras generally.
Implementations: WeylAlgebra in Macaulay2, Weyl in Singular's nctools.lib, DifferentialWeylAlgebra and ore_algebra in SageMath, and HolonomicFunctions.m in Mathematica. Each documents its normalisation side; do not compare coefficients across systems without checking it.
Limits of Validity
- Characteristic zero is required for the theorem as stated. The spanning half holds over any commutative ring. The independence half divides by and fails in characteristic : the operator algebra generated by and on then satisfies , so is not independent. The abstractly presented Weyl algebra does still have as a basis in characteristic — the two objects have parted company. See the positive characteristic page.
- Uniqueness is relative to a convention. \"The\" canonical form of an operator is only defined once the ordering rule is fixed. Nothing distinguishes -left from -left mathematically; the coefficients differ, though the operator does not.
- Finiteness is essential. The statement is about finite linear combinations. Infinite formal sums define elements of larger rings — rings of formal or of infinite-order differential operators — which are genuinely different objects with different ideal theory.
- It does not make the algebra commutative. A basis of ordered monomials is a statement about the underlying vector space. The multiplication is still the one dictated by (2.3), and confusing the two is the most common error in this area.
Failure Modes and Common Mistakes
Reading the basis as a ring isomorphism
Because and are indexed the same way, it is tempting to conclude . The bijection is one of vector spaces only. As rings they differ at the first opportunity: but . The commutative ring is the associated graded ring of , a coarser invariant.
Reordering more than is necessary
When multiplying by , only the middle block needs reordering; the outer and are already on the correct sides. Reordering the whole product from scratch wastes work and multiplies the opportunities for a dropped binomial coefficient.
Dropping the fully contracted term
The term in (2.3) — the one where the derivatives are entirely consumed — is the one most often dropped, because it looks degenerate. In it contributes the constant , and losing it makes the operator act incorrectly on constants while still appearing to work on higher monomials. Always test a reordering on as well as on a general monomial.
Testing equality on too few polynomials
An operator can be recognised from the way it acts, but two operators are equal only if they agree on all of . Checking agreement on proves nothing in general. Either compare canonical forms coefficient by coefficient, or check the action on the general monomial and compare polynomials in , as done in the worked example.
Confusing the canonical form with the symbol
The principal symbol keeps only the top-degree part of the canonical form, and which part that is depends on the filtration. For the lower terms are invisible to the symbol, and any argument that requires them must be made before passing to the graded algebra.
Historical Notes
Ordered-monomial bases predate the Weyl algebra. Poincare in 1900, and then Birkhoff and Witt in 1937, established that ordered monomials in a basis of a Lie algebra form a basis of its universal enveloping algebra. Since is a quotient of the enveloping algebra of the Heisenberg Lie algebra, the canonical basis theorem can be deduced from that result — but the direct proof by evaluation on polynomials, which is Coutinho's, is shorter and shows exactly where characteristic zero is used.
The general principle behind such theorems was isolated by Bergman in 1978 as the diamond lemma: if a rewriting system on words is terminating and its ambiguities resolve, the irreducible words form a basis. Independently, Bokut and Shirshov developed the same idea in the Soviet literature under the name of composition lemmas. Buchberger's 1965 thesis on Gröbner bases is the commutative counterpart, and the non-commutative Gröbner theory used in D-module computation today descends from all three lines.
In physics, the reordering problem appeared as normal ordering in quantum field theory, where the combinatorics of (2.3) is the content of Wick's theorem of 1950. That the same binomial-and-factorial coefficients arise in both settings is not a coincidence: they are two readings of the identical algebra.
Comparison
| -left (used here) | -left (normal ordering) | Weyl-symmetric | |
|---|---|---|---|
| Basis monomials | symmetrised products of 's and 's | ||
| Reordering rule | average over all interleavings | ||
| is free over | on the left | on the left | neither, in an obvious way |
| Coefficients | integers | integers, with signs | rationals with denominators |
| Natural for | classical differential operators | Fourier duality, quantum field theory | symplectic invariance |
| becomes |
Key Takeaways
Key points
- The monomials , with all multiplications to the left of all derivatives, form a -basis of ; the resulting unique expression is the canonical form.
- Spanning is a terminating rewriting procedure driven by ; each step removes an inversion and any correction term is strictly shorter.
- Independence is proved by evaluation: apply the operator to for of minimal length among the derivative indices occurring, and use for .
- Characteristic zero is needed exactly once, to know ; in characteristic the theorem is false for the operator algebra because acts as zero.
- Canonical form makes equality decidable, the Bernstein degree and the order readable off exponents, and the symbol map well defined.
- The basis is a vector-space statement only: is not isomorphic as a ring to the commutative polynomial ring in variables, which is instead its associated graded ring.
FAQs
Why is a canonical form needed at all?
Because without one there is no way to tell whether two expressions denote the same operator. and look different and are equal; and look similar and are not. Canonical form reduces the question to comparing finitely many coefficients.
Is the choice of putting the 's first significant?
Mathematically, no: the reversed monomials are equally a basis, and the two are related by the explicit change of basis in the Properties section. Practically it matters a great deal, because coefficients differ between conventions and software packages do not all agree.
Does the canonical form make commutative?
No. It says the underlying vector space has a monomial basis indexed like a polynomial ring in variables. The multiplication remains non-commutative, and reduction back to canonical form after every product is exactly the extra work that non-commutativity costs.
Where exactly does characteristic zero get used?
In one step of the independence proof: after evaluating at the surviving expression is , and concluding that the coefficients vanish requires in . In characteristic that fails for , and the theorem genuinely fails for the operator algebra.
How do I multiply two elements in canonical form?
Only the middle block needs attention. To compute , expand by (2.3), then attach on the left and on the right of every term and merge. For and small degrees this is quick by hand; the term count grows as .
How is this related to the Poincare-Birkhoff-Witt theorem?
It is an instance of the same phenomenon. is the enveloping algebra of the Heisenberg Lie algebra modulo the relation that the central generator acts as , and PBW gives ordered monomial bases for enveloping algebras. The direct proof given here is shorter and makes the role of the characteristic explicit.
Can I read the order of an operator off its canonical form?
Yes: the order is the largest occurring with a non-zero coefficient, and the Bernstein degree is the largest . Both are well defined precisely because the canonical form is unique. Read off the wrong expression — one that is not in canonical form — and either number can come out too large.
What is the canonical form of ?
, where are the Stirling numbers of the second kind. For this is , computed in the worked example. The inverse relation expresses as a signed combination of powers of using Stirling numbers of the first kind.
References
- S. C. Coutinho, A Primer of Algebraic D-modules, London Mathematical Society Student Texts 33, Cambridge University Press, 1995 - Ch. 1 §2, Proposition (2.1) and Lemma (2.2).
- G. M. Bergman, The diamond lemma for ring theory, Advances in Mathematics 29 (1978), 178-218 - the general rewriting principle behind canonical forms.
- J. Dixmier, Sur les algèbres de Weyl, Bulletin de la Société Mathématique de France 96 (1968), 209-242.
- 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 ordered bases and filtrations.
- J.-E. Björk, Rings of Differential Operators, North-Holland Mathematical Library 21, North-Holland, 1979 - Ch. 1, for symbols and filtrations built on the canonical form.
- M. Saito, B. Sturmfels and N. Takayama, Gröbner Deformations of Hypergeometric Differential Equations, Algorithms and Computation in Mathematics 6, Springer, 2000 - Ch. 1, for term orders and Gröbner bases in the Weyl algebra.
- Macaulay2
DmodulesandWeylAlgebradocumentation; SageMathore_algebradocumentation - for the normalisation 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
- Compute the canonical form of in and verify it on the general monomial .
- Prove that by induction, using .
- Derive the reordering formula (2.3) from repeated application of .
- Express in the reversed basis and check the result on .
- Give an explicit non-trivial linear relation among the monomials over a field of characteristic .
- Show that is a free left -module with basis and describe the induced filtration by order.
- Count the number of terms produced by multiplying two generic elements of of Bernstein degree .
