1. Introduction
Dual numbers (DNs), introduced during the second half of the 19th century [
1,
2,
3,
4,
5], can be viewed as abstract entities, similar to ordinary complex numbers, and are defined as
where the corresponding “imaginary” unit or
dual number unit (DNU) is a nilpotent number,
Dual numbers were originally introduced within the context of geometrical studies, and later exploited to deal with problems in pure and applied mechanics [
6,
7]. For instance, it has been demonstrated in [
8,
9,
10] how to formulate the equations of rigid body motion in terms of just three “dual” equations instead of their six “real” counterparts (thereby realizing an equivalence between spherical and spatial kinematics). This approach has been extended in [
11,
12,
13] to a treatment of rigid body motion in terms of a certain variant of “hyper-dual” numbers, implemented in contrast to our approach via sets of “ordinary” dual numbers together with certain algebraic relations that are motivated from the specific requirements within the relevant field of robotics and of mechanics. More recently, as further discussed in the present paper, the importance of a different kind of higher-order dual numbers has been recognized in numerical analysis to reduce round-off errors [
14]. We believe that the use of dual numbers in the applied sciences is not as widespread as it could be, and that many new fields of research would benefit from their relevant introduction. An important domain in which they may bring significant novelties is that of the perturbative techniques in classical and quantum mechanics.
The main contribution of this paper consists in fixing the underlying algebraic rules of the dual numbers in the wider context of umbral and operational calculus. The paper is organized as follows:
Section 2 delivers a basic mathematical introduction to dual numbers.
Section 3 is devoted to the description of the computational procedure based upon dual numbers and umbral calculus. In
Section 4, we provide insight into how this powerful method can be applied to deal with problems arising in different contexts. For illustration, we consider the Schrödinger and the heat equation, cornerstones in their respective fields of physics.
Section 5 provides a conclusion with further considerations for future works.
2. Higher-Order Dual Numbers
The DN algebraic rules [
15,
16], summarized below, are a straightforward consequence of the previous identity in Equation (
2) (with
and
):
While the addition operation is entirely analogous to the component-wise addition operation on two-dimensional vectors, the last three operations (product, inverse and power) characterize the distinguishing special algebraic properties of dual numbers (DNs). The multiplication is commutative, associative and distributive, thus DNs form a two-dimensional associative and commutative algebra over the real numbers.
We now extend this traditional dual number formalism as motivated by the following type of problem. Consider the Taylor expansion up to some order
k (denoted
) of an at least
k-fold continuously differentiable function
f around a point
x,
Following the
automatic differentiation paradigm [
17,
18,
19], since in practice the function
f will be implemented in some algorithmic from, it may be advantageous to formulate truncations such as Equation (
4) in terms of
generalized (or higher-order) dual numbers. To this end, let us introduce the families of square matrices
,
and
with entries (for
)
where
denotes the Kronecker symbol. It is straightforward to verify that for all
and
Then, under the assumptions in Equation (
4), endowing the function
suitably with a component-wise action on square matrices, we find (for
)
For example, setting
, reproduces the well-known dual number identity [
19]
For illustration, setting
, we obtain
It may be verified that, e.g., for the choice “+” in Equation (
5), the first row of the resulting matrices in Equation (
7) contain the terms of the Taylor expansion up to order
. More explicitly, introducing the auxiliary notations for the row vector
and the column vector
of length
,
allows us to define the
order k evaluation operation acting on some function
(which is itself assumed to act entry-wise) depending on a generalized dual number
as
Recently, expansions such as Equation (
7) have received considerable interest in the field of numerical analysis [
20]. Referring to Fike [
19] for an overview, various alternative types of “numbers” have been studied for the purpose of finding optimized numerical schemes for computing
kth-order derivatives of functions. For example, it has been demonstrated that the use of so-called
hyper-dual numbers results in first- and second-derivative calculations that are exact, regardless of the step size [
14].
For later convenience, motivated by the identity (for
)
we may introduce the so-called
truncated exponential polynomials [
21]
defined through the series
which may be expressed in terms of generalized dual numbers as
One may thus easily verify (via Equations (
13) and (
14)) the property
Having provided a matrix-based extension of ordinary to kth-order dual numbers of arbitrary order , we now proceed to develop a computational procedure embedding dual numbers with other techniques inspired by the operational umbral formalism.
3. Umbral-Type Methods and Dual Numbers
Starting from this section, we employ the notational simplification of writing
for the
dual number unit (DNU) of generalized dual numbers (cf. Equation (
5)), making the order
of the DN explicit only via the analog of the notation in Equation (
11), and masking the matrix nature of
. Thus, for some function
, we write
for the truncation of
F via setting
and afterwards
. It is straightforward to verify that this formal definition may be implemented in terms of the matrix representations introduced in
Section 2 via use of Equation (
11) as
Consider then the
dual complex parameterFollowing the principles of umbral calculus, we treat the dual complex parameter
as an ordinary algebraic quantity in calculations of integrals, derivatives and other operations, delaying the evaluation of
via performing the operation
to the very end of the computations. Note that albeit the term umbral calculus has been introduced in the seminal papers by Roman and Rota [
22], in the following we make reference to the formalism developed in [
23] which enriches the original formalism with the wealth of techniques derived from the operational calculus [
22,
23]. We now illustrate the computational benefits of this approach via a number of examples.
3.1. Dual Shifted Gaussians
We first consider a Gaussian-type function explicitly containing in its argument the dual complex parameter in Equation (
19), whence the
dual-shifted Gaussian function
Assuming for instance third-order dual numbers (i.e.,
), we may write the above function in more conventional terms as
which is easily recognized as the product of a shifted Gaussian with a second-degree polynomial.
In full analogy to the umbral operational methods of Licciardi [
23], it is then straightforward to calculate the following integral of the function
f of Equation (
20) via the standard Gaussian integral formula
The term on the right has in fact a definite meaning, since the use of the generating function of the
two-variable Hermite polynomials [
24]
permits to cast the right-hand side of Equation (
22) into the form
Here,
denotes the
Hermite-based truncated exponential polynomial [
25,
26,
27] defined as
3.2. Another Form of Dual Gaussian
Let us consider as a further example
and the following infinite integral (for
)
Here, by invoking the operation , we obtain a finite series, thus obviating the need to impose any condition on the relevant convergence range.
3.3. Examples From Symbolic Calculus
The calculus of higher-order dual numbers may be further refined via combining it with the wealth of techniques available from the theory of special functions and symbolic calculus as put forward in [
23,
28,
29,
30,
31,
32]. Consider for illustration the following identity, known from the theory of two-variable Hermite polynomials [
33],
which allows to simplify the task of calculating successive derivatives of the dual Gaussian introduced in Equation (
26), such as in the computation
Here, the first step follows from (
28) and the second by invoking (
23b).
Another interesting type of calculus concerns infinite integrals involving rational functions such as
For example, the infinite integral
may be easily transformed into truncated form in full analogy to the calculation summarized in Equation (
27).
3.4. Umbral Image Type Techniques
Referring to Behr et al. [
34] for the precise technical details (compare also [
33]), suffice it here to provide the following definition for the action of the
formal integration operator on the formal variable
v (for
):
Then, an interesting variant of the example presented in Equation (
29) may be obtained as
In summary, the combination of the concept of higher order dual numbers with techniques from symbolic and umbral-image type calculus appears to offer a large potential in view of novel tools of computation. To corroborate this claim, we now present some first high-level results in this direction.
4. Dual Numbers and Solution of Heat- and Schrödinger-Type Equations
Before entering the main topic of this section, let us recall a few useful “operational rules”, starting with the
Glaisher identity [
27,
35]
which can also be understood as the solution of the heat equation with a Gaussian as initial function. It proves particularly useful in the following to note that, according to the definition of the Hermite polynomials
as given in Equation (
23b), an alternative interpretation of Equation (
33) is provided in terms of the
double-lacunary exponential generating function of the polynomials
, where we employ notations as in [
36]
By specializing Equation (
33) to
(with
the dual complex parameter in Equation (
19)), we obtain the operational identity
Via the simple factorizations
we may transform the identity in Equation (
35) as
By re-inserting the definition of the first double-lacunary exponential generating function, using the Glaisher-identity in Equation (
33) for the second one and finally truncating to order
k, we eventually arrive at the compact result
For example, by evaluating the above expression for second order dual numbers, one finds
The above result may be interpreted as the solution of the heat-type equation
An analogous problem has been addressed in [
33] within the framework of a different method. The techniques we have envisaged may be further exploited to treat the
paraxial propagation of the so-called
flattened distributions, introduced in [
37] to study the laser field evolution in optical cavities employing super-Gaussian mirrors [
38]. These cavities shape beams whose transverse distribution is not reproduced by a simple Gaussian, but by a function exhibiting a
quasi-constant flat-top, expressible through a function of the type
The paraxial propagation of these beams has less obvious properties than, e.g., Laguerre or Hermite Gauss modes [
38]. To overcome this drawback, Gori introduced the so-called
flattened beams [
37], which permit a fairly natural expansion in terms of Gauss Laguerre/Hermite modes, thus providing a straightforward solution to the corresponding paraxial wave equation.
Invoking our formalism as developed thus far, we may approximate the aforementioned Gori beams in the form
Here,
denotes the truncated exponential polynomials introduced in Equation (
14), and both parameters
and
m depend on
p (see [
33] for further details). Recalling from Equation (
19) the definition
of the dual complex parameter, the r.h.s. of Equation (
42) may be equivalently expressed as
whence as an instance of a
dual Gaussian as described in
Section 3.2. The problem of the relevant propagation can accordingly be reduced to that of an ordinary Gaussian mode, namely to the solution of the Schrödinger type equation
Consequently, by invoking the operational identity in Equation (
35), the paraxial evolution of a flattened beam may be expressed in the form
which reproduces indeed the known solution of our problem (compare [
33]).
In a forthcoming paper, we will discuss this specific application in further detail by applying the method to the problem of designing super-Gaussian optical systems.
5. Weyl Formula and Modified Hermite Polynomials
The wide flexibility of the method we propose is corroborated by the following further example, relevant to the use of operational ordering tools. Let us consider an evolution equation of the form
The relevant procedure for combining differential calculus with the umbral formalism is described in [
39]. Following this approach, the solution of Equation (
46) can be expressed as
To evaluate the solution of Equation (
47) explicitly, we need to suitably “factorize” the exponential operator. This so-called
disentanglement operation may be implemented via the Weyl formula [
40]
which is applicable whenever the identities
hold. Applying the Weyl formula in Equation (
48) to our solution in Equation (
47), if we let
and
(resulting in
, and with higher-order commutators vanishing), we obtain
Thus, the solution at any desired truncation order
k may be obtained by invoking the dual number evaluation operation
of Equation (
17).
As already mentioned above, the Weyl formula applies in the example presented because the algebraic structure of the argument of the exponential in Equation (
47) satisfies a special property: the commutators of the associated generators reduce to a constant after the first commutation bracket. A more interesting extension is given by the case in which the generators are embedded into a solvable Lie algebra. In this case, the combined use of the dual number formalism and of the Wei-Norman ordering method [
41] leads to new and interesting results. They deserve a separate treatment that will be reported in a forthcoming paper.
As a final example, we define
modified Hermite polynomials , whence ordinary two-variable Hermite polynomials
as introduced in Equation (
23b) evaluated at
, with
the dual complex parameter of Equation (
19),
It is straightforward to verify that these modified polynomials inherit all the relevant properties from the polynomials
, such as the recurrences
and we find that they satisfy the second order differential equation
The explicit form of these truncated polynomials is easily obtained. For example, by using third order dual numbers, which implies
we find the explicit formula
where we have invoked the well-known identity
6. Final Comments
The method we have outlined in this paper offers many computational advantages to treat problems where truncated expansions (not necessarily of Taylor type) of functions are involved. At its core, the umbral formalism and the notion of higher order dual numbers allow delaying the explicit expansions to later stages in a given calculation, thus opening the possibility to exploit numerous efficient computation strategies from the theory of operational calculus and special functions.
The technique we have introduced in this paper is amenable for new applications in various different fields. We have presented herein the solution of parabolic equations in transport problems, and within such a context a fairly important example has been provided by treating the propagation of flattened beams [
33,
37] in optics. For brevity, we have just outlined the procedure in terms of a one-dimensional computation. The relevant extension to the three-dimensional case does not require any particular conceptual effort, but only a consistent numerical implementation. In a forthcoming investigation, we will further extend the method and study its potential for treating perturbative problems in classical and quantum mechanics.