A dual number is given by an expression of the form , where and are real numbers and (but ). The set of dual numbers is a topological vector space and a commutative algebra over the real numbers.
We can generalise (at least the algebraic aspects) from to any commutative ring .
This can be thought of as:
the vector space made into an algebra by the rule
the subalgebra of those -by- real matrices of the form
the polynomial ring modulo ;
the parabolic -dimensional algebra of hypercomplex numbers;
the algebra of functions on the infinitesimal interval (the smallest of the infinitesimally thickened points) in synthetic differential geometry.
if is regarded as being of degree 1 and is regarded accordingly as a superalgebra then this is the algebra of functions on the odd line .
the square-0-extension corresponding to the -module (see there) given by itself.
We think of as a subset of by identifying with .
is equipped with an involution that maps to :
also has an absolute value:
notice that the absolute value of a dual number is a non-negative real number, with
But this absolute value is degenerate, in that need not imply that .
Some concepts in analysis can be extended from to , but not as many as work for the complex numbers. Even algebraically, the dual numbers are not as nice as the real or complex numbers, as they do not form a field.