This construction can be carried out more generally: for a commutative ring R one can define the dual numbers over R as the quotient R[X]/(X2): the image of X then has square equal to zero. This ring and its generalisations play an important part in the algebraic theory of derivations and differential forms.
The dual numbers over any field form a commutative local ring; the maximal ideal consists of classes of the form a + bX where a ≠ 0.