The Derivations of a Commutative Algebra

Introduction

A derivation of a commutative algebra $A$ over a commutative ring $R$ is an $R$-linear map $\delta : A \to A$ satisfying the Leibniz rule $\delta(ab) = \delta(a)b + a\delta(b)$. The derivations were introduced for a general ring in Derivations of a Ring, where it was shown that they form a Lie ring under the commutator and that the inner derivations are the image of the adjoint map. When $A$ is commutative two new features appear. The inner derivations vanish, because $\operatorname{ad}_a(x) = ax - xa = 0$; and the derivation space becomes a module over $A$ itself, since $a\delta$ is again a derivation. The derivation space is therefore at once an $A$-module and a Lie $R$-algebra, with the two structures linked by $[\delta, a\delta'] = \delta(a)\delta' + a[\delta,\delta']$.

The purpose of the article is to describe this module, and the description is the theory of Kähler differentials. The module of derivations of $A$ over $R$ is representable: there is an $A$-module $\Omega_{A/R}$, the module of Kähler differentials, carrying a universal derivation $d : A \to \Omega_{A/R}$ such that

$$ \operatorname{Der}_R(A, M) \cong \operatorname{Hom}_A(\Omega_{A/R}, M) \qquad \text{for every } A\text{-module } M , $$

naturally in $M$; with $M = A$ this gives $\operatorname{Der}_R(A) \cong \operatorname{Hom}_A(\Omega_{A/R}, A)$. The module $\Omega_{A/R}$ is constructed as the conormal module $I/I^2$ of the diagonal ideal $I = \ker(A\otimes_R A \to A)$, and this construction is what makes the derivations computable: for the polynomial algebra it gives the free module on the differentials $dx_i$, and for a quotient it gives the conormal sequence.

The article assumes Derivations of a Ring for the definition, the Leibniz rule and the Lie ring structure; Automorphisms and Derivations of Algebras for the algebra form; Commutative Algebras and Rings and Fields for the objects; and Tensor Products of Algebras for $A \otimes_R A$ and the diagonal. The differentials of a ring, their base change and their relation to separability are Change of Rings in the category Linear Spaces over Linear Algebras, whose general treatment the commutative case here anticipates; the article records the commutative-algebra statement and leaves the general theory to that entry. Throughout, $R$ is a commutative ring with identity $1 \neq 0$ and $A$ is a commutative unital $R$-algebra. The boundary of Part I is respected: a derivation is an algebraic operator, no derivative in the sense of analysis occurs, and no norm, distance or topology is used.

The Derivation Space as a Module and a Lie Algebra

The $A$-Module Structure

Definition. For an $A$-module $M$ an $R$-derivation with values in $M$ is an $R$-linear map $\delta : A \to M$ with

$$ \delta(ab) = \delta(a)\,b + a\,\delta(b) \qquad \text{for all } a, b \in A . $$

The set of such maps is written $\operatorname{Der}_R(A, M)$, and $\operatorname{Der}_R(A) = \operatorname{Der}_R(A, A)$.

Proposition. For every $A$-module $M$ the set $\operatorname{Der}_R(A,M)$ is an $A$-module under $(a\delta)(x) = a\,\delta(x)$, and an $R$-submodule of $\operatorname{Hom}_R(A, M)$. For $M = A$ the commutator $[\delta, \delta'] = \delta\delta' - \delta'\delta$ is again a derivation, so $\operatorname{Der}_R(A)$ is a Lie $R$-algebra; the two structures satisfy

$$ [\delta, a\delta'] = \delta(a)\,\delta' + a\,[\delta, \delta'] , \qquad [a\delta, \delta'] = a\,[\delta,\delta'] - \delta'(a)\,\delta . $$

Proof. Linearity in $\delta$ is clear, and $(a\delta)(xy) = a(\delta(x)y + x\delta(y)) = (a\delta(x))y + x(a\delta(y))$ uses the commutativity of $A$ to move $a$ past $y$. The commutator of two derivations is a derivation by Derivations of a Ring. For the first displayed identity, $(\delta a\delta' - a\delta'\delta)(x) = \delta(a\delta'(x)) - a\delta'(\delta(x)) = \delta(a)\delta'(x) + a\delta(\delta'(x)) - a\delta'(\delta(x))$, and rearranging gives the claim; the second is the same with the roles interchanged, or follows from the antisymmetry. $\square$

Corollary. When $A$ is commutative, every inner derivation vanishes: $\operatorname{ad}_a(x) = ax - xa = 0$. Hence $\operatorname{Der}_R(A)$ is generated by the outer derivations alone, and the inner derivation ideal of the general theory is zero. The Lie algebra $\operatorname{Der}_R(A)$ can therefore be nonabelian only through its structure as a module: the commutator $[\delta, \delta']$ is a derivation that need not be an $A$-multiple of either factor.

Example. For $A = R[x_1, \dots, x_d]$ the derivations are the $R[x]$-linear combinations $\sum_i f_i\,\partial_i$ with $\partial_i(x_j) = \delta_{ij}$; they form a free $A$-module of rank $d$, and $[\partial_i, \partial_j] = 0$. The derivation $\sum_i x_i\partial_i$ is the degree operator of Operators on the Symmetric Algebra, the unique derivation with $\partial_i$-value $x_i$ on the generators.

The Lie Algebra of the Polynomial Algebra

Proposition. $\operatorname{Der}_R(R[x_1,\dots,x_d])$ is the free $R[x]$-module on $\partial_1, \dots, \partial_d$, and the $R$-Lie algebra it forms is the abelian one of dimension $d$ over $R[x]$; the $A$-module structure and the $R$-Lie structure of a derivation space of larger rank are linked by the identity $[\delta, a\delta'] = \delta(a)\delta' + a[\delta,\delta']$.

Proof. A derivation is determined by its values on the generators $x_i$, which are arbitrary; hence the $A$-module $\operatorname{Der}_R(A)$ is free with the basis $\partial_i$. For the bracket, $\partial_i\partial_j = \partial_j\partial_i$ on the polynomial algebra, since both sides take the same value on every monomial. $\square$

Remark. For a general commutative $A$ the bracket need not vanish, and the pair $(\operatorname{Der}_R(A), A)$ with the action $\delta(a)$ and the module structure is the algebraic object that records how the infinitesimal transformations of $A$ combine; its automorphism-theoretic reading is in Automorphisms and Derivations of Algebras.

Kähler Differentials

Definition and the Universal Derivation

Definition. The module of Kähler differentials of $A$ over $R$ is the $A$-module $\Omega_{A/R}$ generated by symbols $da$, $a \in A$, subject to the relations

$$ d(a+b) = da + db, \qquad d(ab) = a\,db + b\,da, \qquad dr = 0 \ (r \in R) . $$

The map $d : A \to \Omega_{A/R}$, $a \mapsto da$, is the universal derivation.

Theorem (universal property). For every $A$-module $M$ and every derivation $\delta : A \to M$ there is a unique $A$-linear map $\varphi : \Omega_{A/R} \to M$ with $\delta = \varphi \circ d$. Hence

$$ \operatorname{Der}_R(A, M) \cong \operatorname{Hom}_A(\Omega_{A/R}, M) $$

naturally in $M$, and in particular $\operatorname{Der}_R(A) \cong \operatorname{Hom}_A(\Omega_{A/R}, A)$.

Proof. Uniqueness: $\Omega_{A/R}$ is generated as an $A$-module by the $da$, so $\varphi$ is determined by its values $\varphi(da) = \delta(a)$. Existence: the assignment $da \mapsto \delta(a)$ respects the three relations, because $\delta$ is additive, satisfies the Leibniz rule and vanishes on $R$ by $R$-linearity and $\delta(1) = \delta(1\cdot1) = 2\delta(1)$. Hence it extends to an $A$-linear map, which by construction satisfies $\varphi\circ d = \delta$. Naturality in $M$ is the compatibility of the correspondence with $A$-linear maps $M \to M'$. $\square$

The theorem is the exact sense in which the derivations of $A$ form the dual of a module: every derivation factors uniquely through the universal one, and the derivation space is the dual of $\Omega_{A/R}$.

Construction as the Conormal Module

The relations of the definition are abstract; the module they present is realised concretely by the diagonal.

Theorem. Let $I = \ker(\mu : A\otimes_R A \to A)$, $\mu(a\otimes b) = ab$, the diagonal ideal. Then $I/I^2$ is naturally isomorphic to $\Omega_{A/R}$, the class of $1\otimes a - a\otimes 1$ corresponding to $da$.

Proof. The ideal $I$ is generated by the elements $1\otimes a - a\otimes 1$, because $\sum a_i\otimes b_i \in I$ means $\sum a_ib_i = 0$, and then $\sum a_i\otimes b_i = \sum a_i(1\otimes b_i - b_i\otimes1)$. Define $\Phi : \Omega_{A/R} \to I/I^2$ on generators by $a\,db \mapsto a(1\otimes b - b\otimes1) \bmod I^2$; the relations are respected because

$$ a\,d(bc) - ab\,dc - ac\,db \ \longmapsto \ (a\otimes 1 - 1\otimes a)(1\otimes b - b\otimes1)(1\otimes c - c\otimes1) \in I^3 \subseteq I^2 , $$

using the factorisation $a\otimes b + b\otimes a - ab\otimes1 - 1\otimes ab = (a\otimes1 - 1\otimes a)(1\otimes b - b\otimes1)$ of the Leibniz discrepancy. Conversely, define $\Psi : I/I^2 \to \Omega_{A/R}$ by $\sum a_i\otimes b_i \mapsto \sum a_i\,db_i$, which is well defined on $I$ because $\sum a_ib_i = 0$ and hence $\sum a_i\,db_i = \sum d(a_ib_i) - \sum b_i\,da_i = d(0) - \sum b_i\,da_i$, an element determined by the class in $I/I^2$; the two maps are inverse on the generators $da$. $\square$

Corollary. $\Omega_{A/R}$ is generated as an $A$-module by the $da$, and it is the quotient of the free $A$-module on the $da$ by the submodule generated by $d(a+b)-da-db$, $d(ab)-a\,db-b\,da$ and the $dr$; the construction exhibits it as $I/I^2$, and both descriptions agree.

Functoriality and Base Change

Proposition (functoriality). An $R$-algebra homomorphism $u : A \to B$ induces a $B$-linear map

$$ \Omega_{A/R} \otimes_A B \longrightarrow \Omega_{B/R}, \qquad da \otimes b \longmapsto b\,du(a) , $$

and the assignment is compatible with composition. If $A \to A'$ is a ring homomorphism, the base change $\Omega_{A/R}\otimes_A A' \to \Omega_{A'/R}$ is an isomorphism when $A' = A\otimes_R S$ for a commutative $R$-algebra $S$, so that Kähler differentials commute with extension of scalars.

Proof. The map $da\mapsto du(a)$ is a derivation $A \to \Omega_{B/R}$, since $du$ is; by the universal property it extends to an $A$-linear map $\Omega_{A/R}\to\Omega_{B/R}$, and the $B$-linearity of the displayed map follows. The compatibility with composition is the chain rule $d(v\circ u) = v_*\,du$, and the base-change case is the identification of the diagonal ideals of $A\otimes_R S$ over $S$ with $I\otimes_R S$. $\square$

The Conormal Sequence

Theorem. Let $A \to B$ be a surjective $R$-algebra homomorphism with kernel $J$. Then there is an exact sequence of $B$-modules

$$ J/J^2 \longrightarrow \Omega_{A/R}\otimes_A B \longrightarrow \Omega_{B/R} \longrightarrow 0 , $$

in which the first map sends the class of $j$ to $dj\otimes1$.

Proof. The second map is the functoriality of the previous proposition; it is onto because the $db$ generate $\Omega_{B/R}$ and are the images of the $da\otimes1$. The composite is zero because $dj\otimes1\mapsto db = 0$ for $j\in J$, since $j$ maps to $0$ in $B$. Exactness in the middle is checked on the level of the presentations: an element of $\Omega_{A/R}\otimes_A B$ dies in $\Omega_{B/R}$ exactly when its symbol relations are those forced by $J$, that is, exactly when it is the image of $J/J^2$; the verification is the case $A = R[x_1,\dots,x_n]$, where $J$ is given by equations and the presentation of $\Omega_{B/R}$ is the quotient of the free module on $dx_i$ by $dg$ for $g$ in a generating set of $J$, which is the statement of exactness for that case. $\square$

Corollary. If $B = A/J$ and $J$ is generated by a regular sequence, the sequence continues to the left with $\Omega_{J/R}$ and the conormal module $J/J^2$ is free; the exactness at $J/J^2$ is the content of the conormal sequence and it belongs to the commutative algebra of Change of Rings, where the higher terms are treated.

Worked Examples

The Polynomial Algebra

For $A = R[x_1, \dots, x_d]$ the universal derivation is $df = \sum_i \partial_i f\,dx_i$ and $\Omega_{A/R}$ is the free $A$-module with basis $dx_1, \dots, dx_d$, of rank $d$. The dual basis statement is $\operatorname{Der}_R(A) \cong \operatorname{Hom}_A(\Omega_{A/R}, A) = \bigoplus_i A\partial_i$. The degree operator $D = \sum_i x_i\partial_i$ is the derivation dual to the class $\sum_i x_i\,dx_i$, which is the Euler form.

A Truncated Polynomial Algebra

Let $A = R[x]/(x^2)$, the dual numbers over $R$. Then $\Omega_{A/R}$ is the quotient of $A\,dx$ by $d(x^2) = 2x\,dx$, so

$$ \Omega_{A/R} \cong A\,dx \big/ 2x\,dx , $$

which has $R$-basis $dx, x\,dx$ with the relation $2x\,dx = 0$; when $2$ is invertible in $R$ the relation forces $x\,dx = 0$ and $\Omega_{A/R}$ has rank one, while over a ring in which $2 = 0$ it is $R\,dx\oplus Rx\,dx$ of rank two. Correspondingly $\operatorname{Der}_R(A)$ is the annihilator of $2x$ in $A$: a derivation is $g(x)\partial_x$ and it descends to $A$ exactly when $g(x)\cdot2x = 0$ in $A$. When $2$ is invertible this annihilator is the ideal $(x) = R\,x$ generated by $x$, so $\operatorname{Der}_R(A)$ is the one-dimensional $R$-space spanned by $x\partial_x$ (the class of $\partial_x$ itself does not descend, because $\partial_x(x^2) = 2x \neq 0$); when $2 = 0$ in $R$ the annihilator is all of $A$ and $\operatorname{Der}_R(A)$ has rank two. The example is the smallest in which the rank of the derivation module depends on the arithmetic of the ground ring, and it is the reason the Kähler module, not the derivation space, is the invariant object.

A Quotient by a Polynomial

Let $A = R[x]/(f)$ with $f$ monic. The conormal sequence for $R[x] \to A$ reads

$$ (f)/(f)^2 \longrightarrow A\,dx \longrightarrow \Omega_{A/R} \longrightarrow 0 , $$

and the first map sends the class of $f$ to $\partial_x f\,dx = f'\,dx$. Hence $\Omega_{A/R} \cong A\,dx/(f'\,dx)$ and

$$ \operatorname{Der}_R(A) \cong \operatorname{Hom}_A(\Omega_{A/R}, A) \cong \{g \in A : f'g = 0\} = \operatorname{Ann}_A(f') , $$

the annihilator of the class $f' = \partial_x f$. When $A$ is a field this is $0$, since then $f'\neq0$; when $f$ has multiple roots the derivation space is nonzero. For $f = x^2$ this recovers the previous example.

Summary

For a commutative unital $R$-algebra $A$ the derivations $\operatorname{Der}_R(A,M)$ form an $A$-module under $(a\delta)(x) = a\delta(x)$, and $\operatorname{Der}_R(A)$ is a Lie $R$-algebra under the commutator, with the two structures linked by $[\delta,a\delta'] = \delta(a)\delta' + a[\delta,\delta']$. Every inner derivation vanishes because $A$ is commutative. The derivation space is representable: there is an $A$-module $\Omega_{A/R}$ of Kähler differentials with a universal derivation $d$ such that $\operatorname{Der}_R(A,M) \cong \operatorname{Hom}_A(\Omega_{A/R},M)$ for every $M$, and this gives $\operatorname{Der}_R(A) \cong \operatorname{Hom}_A(\Omega_{A/R},A)$. The module $\Omega_{A/R}$ is generated by the $da$ subject to $d(a+b) = da+db$, $d(ab) = a\,db+b\,da$ and $dr = 0$, and it is realised as the conormal module $I/I^2$ of the diagonal ideal $I = \ker(A\otimes_R A\to A)$. It is functorial, it commutes with base change, and for a quotient $A \to B$ with kernel $J$ it fits in the conormal exact sequence $J/J^2 \to \Omega_{A/R}\otimes_A B \to \Omega_{B/R}\to0$. For the polynomial algebra it is free on the $dx_i$; for $R[x]/(f)$ it is $A\,dx/(f'\,dx)$ and the derivation space is the annihilator of $f'$. The general theory of differentials of a ring, their base change and their relation to separability is Change of Rings; the derivations of an algebra and their exponential are Automorphisms and Derivations of Algebras.

Summary of Notation

Symbol Meaning
$R$ Commutative ring with identity $1 \neq 0$
$A$ Commutative unital $R$-algebra
$\delta, \delta'$ Derivations, $\delta(ab) = \delta(a)b + a\delta(b)$
$\operatorname{Der}_R(A,M)$ $R$-derivations of $A$ with values in $M$, an $A$-module
$\operatorname{Der}_R(A)$ $\operatorname{Der}_R(A,A)$, a Lie $R$-algebra
$[\delta, a\delta'] = \delta(a)\delta' + a[\delta,\delta']$ Compatibility of the two structures
$\partial_i$ The derivation of $R[x]$ with $\partial_i(x_j) = \delta_{ij}$
$D = \sum_i x_i\partial_i$ Degree derivation (Euler form), cf. Operators on the Symmetric Algebra
$\Omega_{A/R}$ Module of Kähler differentials
$d : A \to \Omega_{A/R}$ Universal derivation, $a\mapsto da$
$\operatorname{Der}_R(A,M) \cong \operatorname{Hom}_A(\Omega_{A/R},M)$ Universal property
$I = \ker(A\otimes_R A \to A)$ Diagonal ideal; $\Omega_{A/R} \cong I/I^2$
$J/J^2 \to \Omega_{A/R}\otimes_A B \to \Omega_{B/R}\to0$ Conormal sequence for $B = A/J$
$\operatorname{Ann}_A(f')$ Derivation space of $A = R[x]/(f)$, $f' = \partial_x f$

Further Reading

  • Nicolas Bourbaki, Algebra I, Chapters 1–3 (Springer, 1989), for derivations, the module of derivations and the Kähler differentials.
  • Alexandre Grothendieck and Jean Dieudonné, Éléments de géométrie algébrique IV, Publications mathématiques de l'IHÉS 20 (1964), for the module of differentials, the conormal sequence and the diagonal construction.
  • Robin Hartshorne, Algebraic Geometry (Springer, 1977), for the sheaf of differentials, the conormal sequence and the smoothness criterion it supplies.
  • Hideyuki Matsumura, Commutative Algebra, 2nd ed. (Benjamin/Cummings, 1980), for Kähler differentials over a commutative ring, the diagonal ideal and the conormal sequence.
  • Ernst Kunz, Kähler Differentials (Vieweg, 1986), for the differential module, its functoriality and its relation to the derivation module.
  • Max-Albert Knus, Alexander Merkurjev, Markus Rost and Jean-Pierre Tignol, The Book of Involutions, American Mathematical Society Colloquium Publications 44 (1998), for derivations commuting with an involution.