Overview
The Weyl algebra was built by hand: take the polynomial ring , adjoin the partial derivatives, and see what the resulting subring of looks like. That construction is tied to one particular ring. To see the Weyl algebra as one member of a family, one needs a definition of differential operator that mentions only the ring being differentiated. The inductive definition of P2 does exactly that, and its first non-trivial layer is the layer of derivations.
A derivation of a commutative -algebra is nothing more than a -linear map that obeys the product rule. That single identity is enough to force a large amount of structure. The derivations form a -vector space; they form a module over ; they are closed under commutator but not under composition, so they form a Lie algebra rather than an associative one; and they are exactly the operators of order one that kill the constant .
Geometrically a derivation of the coordinate ring of an affine variety is a vector field on that variety, and evaluating a derivation at a point gives a tangent vector. This is why detects singularities: on a smooth irreducible variety of dimension the module of derivations is projective of rank , while on the cusp it is a rank-one module that needs two generators. The worked example on this page computes that case in full.
The page states the definition, proves the structural facts, computes for the polynomial ring and for two singular examples, and explains the exact sense in which derivations are the order-one part of .
Definition
Throughout, is a field of characteristic zero and is a commutative -algebra with . All maps are -linear.
DerivationCoutinho, Ch. 3 §1
A derivation of over is a -linear map such that
The set of all such maps is written . It is a -subspace of .
The -module structure
For and , define by . This is again a derivation, and the operation makes a left -module.
Remark
Two conventions are worth fixing. First, derivation here always means -derivation: vanishes on . Second, is embedded in by sending to the multiplication operator ; this embedding is injective because . Statements such as \"\" are understood inside with that identification.
Core Concepts
Why the Leibniz rule is the right axiom
Linearity says respects the additive structure; the Leibniz rule is the weakest useful compatibility with multiplication. It cannot be strengthened to without collapsing to something uninteresting, and it cannot be weakened to nothing without losing all contact with the ring structure. What makes (3.1) the right axiom is that it is first order: it expresses on a product in terms of on the factors, with coefficients from itself.
Derivations kill constants
Put in (3.1): , so . By -linearity for every . This is the algebraic form of the statement that the derivative of a constant vanishes, and it is where the phrase \"over \" earns its keep: a derivation over of need not kill .
Vector fields and tangent vectors
If is an affine variety with coordinate ring , an element of is a regular vector field on : it assigns to every point a tangent direction, algebraically. Composing a derivation with evaluation at a point gives a map satisfying , a point derivation, and the space of these is the Zariski tangent space at . The -module is therefore the module of sections of the tangent sheaf.
A Lie algebra, not an algebra
Composition destroys the Leibniz rule: , and the cross term is not allowed. The commutator, however, is exactly what cancels it, so is closed under . This is the first sign that the ring generated by and is genuinely non-commutative, and it is where the Weyl algebra's commutation relations come from.
Construction and Proof
Three facts carry the theory. Each has a short honest proof.
Derivations form an -module and a -Lie algebra
For and , both and lie in . The bracket satisfies the Jacobi identity, but is not a Lie algebra over unless , because of the correction term in (3.3).
Proof
For : , which is (3.1). For the bracket, expand both composites on a product:
and the same formula with and interchanged. The two cross terms are symmetric in and , so they cancel on subtraction, leaving . The Jacobi identity holds because it holds for commutators in any associative ring.
Derivations of the polynomial ringCoutinho (3.1.3)
Every has the form with , and the are uniquely determined. Hence is a free module of rank with basis .
Proof
Set , a derivation with for every . By (3.2) and the Leibniz rule, vanishes on every monomial : differentiating a product of variables produces only terms containing some . Monomials span over and is -linear, so . Uniqueness follows by evaluating at , which returns .
The argument uses nothing about the characteristic; freeness of holds over any base field. It is the identification of with the whole Weyl algebra, not this proposition, that needs characteristic zero.
Order one equals plus derivationsCoutinho (3.1.1)
Inside , the operators of order at most one are exactly the sums with and , and the sum is direct:
Proof
Let have order at most one and set , meaning minus multiplication by the element . Then and still has order at most one, so has order zero for every , hence for all . Expanding that double commutator as an operator and applying it to gives
and since this is precisely the Leibniz rule for . Thus . Conversely every such sum has order at most one because is a multiplication operator. Directness: a derivation that equals multiplication by sends to and to , so . For order zero, an operator commuting with all multiplications is -linear, and an -linear endomorphism of is multiplication by its value at .
Key Equations
Iterating the Leibniz rule on a product of equal factors gives the power rule, valid in any characteristic:
The commutator of two derivations is a derivation, and the bracket is -bilinear only up to a correction term:
Inside , a derivation is characterised by a commutator identity with multiplication operators. Writing for the multiplication operator by ,
This is the bridge to the order filtration: is again a multiplication operator, hence of order zero, so has order at most one. For the polynomial ring the module of derivations is free:
Finally, derivations are representable: they are the -linear functionals on the module of Kaehler differentials,
Variable Definitions
- the ground field, of characteristic zero
- a commutative -algebra with identity
- the ring of -linear maps under composition
- derivations of over
- the -module of all -derivations of
- the commutator , computed in
- the space of differential operators on of order at most
- partial differentiation with respect to
- the module of Kaehler differentials of over
- the coordinate ring of an affine variety
Properties and Behaviour
Extension to localisations
Let be a multiplicative set. Every extends uniquely to a derivation of , by the quotient rule
Uniqueness is forced: applying to determines . In particular when is Noetherian, so derivations localise.
Derivations of a quotientCoutinho, Ch. 3, Exercises 3.2 and 3.5
Let , let be an ideal, and put . Reduction mod gives a surjection with kernel , hence an isomorphism of -modules
Surjectivity uses that is a polynomial ring: given , lift each to some and take ; the chain rule then shows automatically.
Smoothness criterion
If is a smooth irreducible affine variety of dimension over , then is a projective -module of rank , and it generates together with . Conversely, on a singular variety the module of derivations typically fails to be projective, as the worked example shows. Projectivity of is one of several equivalent formulations of regularity for finitely generated reduced -algebras in characteristic zero.
Locally nilpotent derivations
A derivation is locally nilpotent if every element of is killed by some power of . These are precisely the derivations that exponentiate to an algebraic action of the additive group, via , a finite sum on each element. They are the main tool for constructing automorphisms of the Weyl algebra; see locally nilpotent derivations.
Examples and Special Cases
, since a derivation kills all of . More generally for any finite separable field extension ; in characteristic zero that is every finite extension.
, free of rank one. The bracket is , the Lie algebra of polynomial vector fields on the line. Note : the bracket is genuinely non-zero even in one variable.
Dual numbers
A derivation is determined by , and forces . So , one-dimensional over , spanned by the derivation sending . The ring is not reduced, and notices only the nilpotent direction.
The node
For the derivations preserving are generated by and modulo the ideal: is generated by and . Again the module is not free; a node, like a cusp, is visible in .
Two points:
Here . The idempotent satisfies , so ; multiplying by gives and hence , and likewise .
It is worth checking that is also as small as possible, namely itself, even though is four-dimensional. If is multiplication by , comparing values at and at gives ; the left side lies in and the right side in , so both vanish. Thus preserves each factor and acts on each by a scalar. So , and the operator swapping the two factors is a -endomorphism of infinite order. Finite order is a real restriction.
Worked Example
Derivations of the cusp
- Step 1 - two models of the same ring
Let and , the coordinate ring of the cuspidal cubic. The map , identifies with the subring : it is surjective onto that subring by construction, and injective because has the same Hilbert series as under the weighting , . Concretely : every power of except appears.
- Step 2 - move to the fraction field
is a domain with fraction field , since . Every derivation of extends uniquely to by the quotient rule, and every -derivation of is for a single . Hence
Because is generated by and , the condition is equivalent to the two conditions and , that is (char ) to and .
- Step 3 - solve the two conditions
From we get , so write . Then lies in if and only if its coefficient vanishes, i.e. . And lies in if and only if . Therefore and
- Step 4 - generators, and the failure of freeness
As an -module, : indeed and , whose sum is . So is generated by and .
It is not generated by one element. A single generator would have ; but contains no element of -degree , so where is the order of vanishing of , and that set omits . Hence has rank but minimal number of generators : it is not free, and not projective.
- Step 5 - translate back to and
Lift and to . Set and . Both preserve :
so each induces a derivation of . Under , : forces the corresponding to satisfy , so and ; likewise gives and . The two pictures agree.
, a rank-one -module requiring two generators, hence not free. In the model the generators are (the weighted Euler derivation) and . The failure of freeness is the algebraic signature of the cusp at the origin, where the Zariski tangent space is two-dimensional on a one-dimensional curve.
Applications and Industry Use
In a mathematics topic, this section covers downstream use inside mathematics, computing and engineering rather than a manufactured product.
- Differential Galois theory and symbolic integration. A differential field is a field with a distinguished derivation; the Risch algorithm for integration in closed form is a statement about extensions of differential fields.
- Invariant theory and group actions. Locally nilpotent derivations correspond to additive group actions, and their rings of constants are the invariant rings; Nagata's counterexample to Hilbert's fourteenth problem is phrased this way.
- The Jacobian conjecture. The Jacobian matrix of a polynomial map is the matrix of the induced action on ; the Jacobian conjecture and the Dixmier conjecture are both statements about the interaction of derivations with endomorphisms.
- Deformation theory. computes first-order deformations of the -algebra structure, and its Lie bracket is the first bracket of the Hochschild complex.
- Control and dynamics. A polynomial vector field on is a derivation of ; the D-module treatment of global asymptotic stability in this collection starts from that identification.
- Computer algebra. Derivations are how differential systems are represented internally: an Ore algebra is specified by a commutative ring together with the commutation rule of a derivation with its coefficients.
Design Considerations
For a mathematical object, design considerations are the modelling choices: which ring, which filtration, which category to work in.
Which ring to differentiate
The definition of is uniform, but its quality depends entirely on . On a polynomial ring it is free with an obvious basis; on a smooth affine variety it is projective and still behaves like a vector bundle; on a singular ring it can be non-projective, and the ring generated by and then falls short of . If a construction needs to be generated by and , smoothness has to be part of the hypotheses, not an afterthought.
Which base to take derivations over
Taking derivations over rather than over or over a subring is a modelling choice that fixes what counts as constant. Over , is enormous, containing everything coming from derivations of over . Pinning the base field down at the start avoids that.
Module or Lie algebra
carries two structures that do not combine into one: an -module structure and a -Lie bracket, linked by (3.3). Objects with both are Lie–Rinehart algebras, or algebroids in the geometric language. Choosing to remember only one of the two structures loses information: the module structure alone forgets non-commutativity, and the bracket alone forgets which vector fields are -multiples of which.
Standards and Codes
For mathematics, the relevant standards are notation, numeric and markup standards together with reference implementations.
- ISO 80000-2 fixes for partial differentiation and the upright roman convention for operator names, which is why and are set upright here while , a variable operator, is italic.
- ISO/IEC 40314 (MathML 3.0) is the encoding used for every formula on this page.
- Notation for the module of derivations is not standardised: , , and all appear in the literature for the same object, the last two in geometric contexts. The dual object is more uniformly named.
- Software names differ as well: Macaulay2's
Der, Singular'sderivationsinsing.lib, and theore_algebraconventions in SageMath all describe derivations but with different input formats. None of them is a standard in the ISO sense.
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.
Two choices decide how well-behaved is.
- Characteristic. In characteristic the power rule (3.2) makes for every derivation, so lies in the constants and is a module over rather than a faithful invariant. The set of derivations is then closed under , giving a restricted Lie algebra. None of the results on this page about recovering from and survive; see the positive characteristic page.
- Reducedness and smoothness. For reduced and finitely generated over a perfect field, has rank equal to at every generic point, and is projective exactly on the smooth locus. For non-reduced , as in the dual numbers, the rank statement fails.
- Representation in software. A derivation of is stored as the vector of polynomials. That is a complete and canonical encoding by (3.5); nothing else needs to be recorded. For a quotient ring, the same vector plus the ideal suffices, but the representation is no longer unique.
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.
Computing for with is a syzygy computation.
- Write the unknown derivation as with unknown.
- Impose for each , that is .
- This is a linear system over whose solution module is computed as a syzygy module of the Jacobian matrix of together with generators of .
- Reduce modulo to obtain .
Every step is a Groebner basis computation over a commutative polynomial ring, so the cost is the usual one: worst-case doubly exponential in , but tractable for small and low degrees. Macaulay2 exposes this directly as Der or via Hom(module of differentials, R); Singular provides derivations in sing.lib for hypersurfaces, and SageMath reaches it through its interface to those systems.
A practical check: for a reduced hypersurface the module always contains the trivial derivations and the multiples . A computation returning fewer generators than these has gone wrong. For the trivial derivation is , which is from the worked example.
Limits of Validity
The clean statements above have hypotheses that cannot be dropped.
- Freeness is special to polynomial rings. (3.5) fails as soon as is singular. The cusp gives a rank-one module needing two generators, and higher-dimensional singularities are worse.
- Derivations do not determine . The subring of generated by and can be strictly smaller than . The cusp is again the standard witness; see differential operators on an affine variety.
- Commutativity of is assumed. For non-commutative the Leibniz rule (3.1) is not the right axiom; one writes with the order of factors preserved, and the inner derivations appear as a distinguished submodule with no commutative analogue.
- Extension to localisations needs the quotient rule, not just linearity. A -linear map on need not extend to at all; it is the Leibniz rule that forces both existence and uniqueness.
Failure Modes and Common Mistakes
Treating as a ring
It is closed under addition, under multiplication by elements of , and under commutator, but not under composition. is not a derivation: . The associative ring generated by and is a different and larger object - for it is the whole Weyl algebra.
Assuming the bracket is -bilinear
Equation (3.3) says otherwise: . Concretely , which is not . Any argument that pulls a coefficient out of a bracket without the correction term is wrong.
Confusing with the tangent space
A derivation is a global vector field; a tangent vector at a point is a point derivation relative to evaluation at . Evaluation gives a map from the first to the second, but on a singular variety it is neither injective nor surjective in general. At the cusp point of the Zariski tangent space is two-dimensional while every global vector field vanishes there.
Forgetting that the base field must be killed
is vastly larger than , because has non-zero -derivations. Statements such as \"every derivation of the polynomial ring is \" are false without the subscript and the assumption that vanishes on .
Using carelessly in characteristic
The identity itself is valid in every characteristic, but its consequences are not. In characteristic it gives , so no derivation can be injective on , and arguments that recover from its values on generators of over break down when those generators involve -th powers.
Historical Notes
The Leibniz rule as an abstract axiom dates to the early twentieth century. Its systematic use in algebra begins with the work of Ritt in the 1930s on differential algebra, where differential fields and differential ideals were introduced to study algebraic differential equations, and with Kolchin's differential Galois theory in the following decades.
On the commutative-algebra side, the identification of with and the use of as the algebraic replacement for the cotangent bundle belong to the Grothendieck school of the late 1950s and 1960s. Grothendieck's inductive definition of differential operators in EGA IV, which is the one used on the next page, places as the order-one layer of a filtration and thereby explains why derivations are so ubiquitous: they are simply the smallest non-trivial differential operators.
The failure of and to generate on singular varieties was made explicit by Bernstein, Gelfand and Gelfand in 1972, using the cusp computed above; their example is the reason smoothness appears as a hypothesis throughout this part of the theory.
Comparison
| Ring | Rank | Free? | Does generate ? | |
|---|---|---|---|---|
| free on | yes | yes, giving | ||
| smooth affine , | projective | locally | yes | |
| (cusp) | no | no | ||
| not defined (non-reduced) | no | no () | ||
| (two points) | yes, trivially | yes, and both equal |
Key Takeaways
Key points
- A derivation is a -linear map satisfying ; it automatically kills .
- is an -module and a -Lie algebra, but not a ring and not an -Lie algebra: .
- is free with basis ; every derivation is .
- Inside the operators of order at most one are exactly , and those of order zero are .
- For the cusp the module of derivations has rank one but needs two generators, so it is not free - singularities are visible in .
- Derivations extend uniquely to localisations and descend to quotients, with for a polynomial ring.
FAQs
Why does a derivation have to kill ?
Apply the Leibniz rule to : it gives , so . Since is -linear, vanishes on all of . This is not an extra axiom; it is forced.
Is every derivation of really of the form ?
Yes, with , and the representation is unique. The proof is three lines: subtract from and check the difference kills every monomial. See derivations of the polynomial ring for the same statement in the setting of the Jacobian conjecture.
Is the composition of two derivations a derivation?
No. satisfies ; the two cross terms spoil it. They cancel in , which is why the commutator is a derivation and composition is not.
How do derivations relate to differential operators of higher order?
They are the order-one part. In the inductive definition, has order at most if has order at most for every ; derivations are exactly the operators with of order zero and . See the order filtration.
Do and always generate the full ring of differential operators?
No. They do for smooth affine varieties in characteristic zero, and in particular for , where they generate the Weyl algebra. They do not for the cusp : the operator maps into itself but is not a polynomial in the derivations of that ring.
What is the difference between and the tangent space?
consists of maps - global vector fields. A tangent vector at a point is a map satisfying the Leibniz rule with respect to evaluation at . Evaluating a global field at gives a tangent vector, but not every tangent vector arises that way when is singular.
Why does characteristic zero keep appearing?
Not for the results on this page - freeness of and the description of order-one operators hold in any characteristic. It appears when one asks whether these operators generate everything. In characteristic , for every derivation, so the divided-power operators such as are differential operators that no combination of derivations can reach.
Does see the difference between a node and a cusp?
Both give non-free modules, so at that level of resolution they look similar. The finer invariants differ: for the node the module of derivations is generated by and with the relation coming from , while for the cusp the two generators and satisfy relations reflecting the missing degree-one element of .
References
- S. C. Coutinho, A Primer of Algebraic D-modules, London Mathematical Society Student Texts 33, Cambridge University Press, 1995 - Ch. 3 §1, Lemma (3.1.1) and Proposition (3.1.3); Exercises 3.5, 3.6, 3.8.
- H. Matsumura, Commutative Ring Theory, Cambridge Studies in Advanced Mathematics 8, Cambridge University Press, 1986 - Ch. 9, for derivations, differentials and the smoothness criterion.
- R. Hartshorne, Algebraic Geometry, Graduate Texts in Mathematics 52, Springer, 1977 - Ch. II §8, for the sheaf of differentials and the tangent sheaf.
- A. Grothendieck, Éléments de géométrie algébrique IV, Publications Mathématiques de l'IHÉS 32 (1967), §16 - the inductive definition of differential operators, with derivations as the order-one part.
- I. N. Bernstein, I. M. Gelfand and S. I. Gelfand, Differential operators on a cubic cone, Russian Mathematical Surveys 27 (1972), 169-174 - the first example where and its derivations do not generate all differential operators.
- J. C. McConnell and J. C. Robson, Noncommutative Noetherian Rings, Graduate Studies in Mathematics 30, revised edition, American Mathematical Society, 2001 - Ch. 15, for rings of differential operators over regular rings.
- A. van den Essen, Polynomial Automorphisms and the Jacobian Conjecture, Progress in Mathematics 190, Birkhäuser, 2000 - Ch. 1, for locally nilpotent derivations.
- ISO 80000-2:2019, Quantities and units - Part 2: Mathematics, International Organization for Standardization.
- D. R. Grayson and M. E. Stillman, Macaulay2, a software system for research in algebraic geometry - documentation for
Derand modules of differentials.
AI Suggested Questions
- Prove that is a derivation by expanding both composites on a product, and identify exactly which terms cancel.
- Compute directly by the syzygy method and compare with the answer obtained through the parametrisation , .
- Show that is a free module of rank when is a Laurent polynomial ring in variables, and write down the basis.
- Give an example of a -linear map on that is not a derivation but agrees with one on all monomials of degree at most .
- Determine which derivations of preserve the ideal , and deduce .
- Explain why and use it to compute the derivations of a hypersurface ring.
- Show that a locally nilpotent derivation of exponentiates to a polynomial automorphism, and compute the automorphism for on .
