Dual Numbers and Operational Umbral Methods
Nicolas Behr, Giuseppe Dattoli, Ambra Lattanzi, Silvia Licciardi

TL;DR
This paper introduces a novel perspective on dual numbers by embedding them within an operational umbral calculus framework, enhancing their application in numerical computations and finite difference calculus.
Contribution
It presents a new formalism that integrates dual numbers with umbral calculus, offering fresh insights and potential computational advantages.
Findings
New algebraic formalism for dual numbers within umbral calculus
Enhanced understanding of dual numbers in finite difference calculus
Potential for improved numerical computation techniques
Abstract
Dual numbers and their higher order version are important tools for numerical computations, and in particular for finite difference calculus. Based upon the relevant algebraic rules and matrix realizations of dual numbers, we will present a novel point of view, embedding dual numbers within a formalism reminiscent of operational umbral calculus.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Abstract
Dual numbers and their higher order version are important tools for numerical computations, and in particular for finite difference calculus. Based upon the relevant algebraic rules and matrix realizations of dual numbers, we will present a novel point of view, embedding dual numbers within a formalism reminiscent of operational umbral calculus.
keywords:
dual numbers, operational methods, umbral image techniques
\history\Title
Dual Numbers and Operational Umbral Methods \AuthorNicolas Behr *1,**, Giuseppe Dattoli 2, Ambra Lattanzi 2,3 and Silvia Licciardi 2 \AuthorNamesNicolas Behr, Giuseppe Dattoli, Ambra Lattanzi, Silvia Licciardi
\corresCorrespondence: [email protected]
1 Introduction
The dual numbers (DNs), introduced during the second half of the XIXth century Clifford (1871); Grünwald (1906); Segre (1912); Yaglom (2012); Klawitter (2014), can be viewed as abstract entities much like the ordinary complex numbers, and are defined as
[TABLE]
where the corresponding “imaginary” unit or dual number unit (DNU) is a nilpotent number,
[TABLE]
The dual numbers were originally introduced within the context of geometrical studies, and later exploited to deal with problems in pure and applied mechanics Kotelnikov (1985); Study (1903). For instance, it has been demonstrated in Rooney (1975); Hsia and Yang (1981); Martínez and Duffy (1993) 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). More recently, as further discussed in the present paper, their importance has been recognized in numerical analysis to reduce round-off errors Fike and Alonso (2011). 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 will provide insight into how this powerful method can be applied to deal with problems arising in different contexts. For illustration, we will consider the Schrödinger and the heat equation, cornerstones in the respective fields of Physics. Section 5 provides a conclusion with further considerations for future works.
2 Higher order dual numbers
The DN algebraic rules Harkin and Harkin (2004); Özdemir (2018), summarized below, are a straightforward consequence of the previous identity (2) (with and ):
[TABLE]
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 the DNs form a two-dimensional associative and commutative algebra over the real numbers.
We will now extend this traditional dual number formalism as motivated by the following type of problem. Consider the Taylor expansion up to some order (denoted ) of an at least -fold continuously differentiable function around a point ,
[TABLE]
Following the automatic differentiation paradigm Rall (1981); Rall and Corliss (1996); Fike (2016), since in practice the function will be implemented in some algorithmic from, it may be advantageous to formulate truncations such as (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 )
[TABLE]
where denotes the Kronecker symbol. It is straightforward to verify that for all and
[TABLE]
Then, under the assumptions (4), endowing the function suitably with a component-wise action on square matrices, we find (for )
[TABLE]
For example, setting , reproduces the well-known dual number identity Fike (2016)
[TABLE]
It may be verified that e.g. for the choice “+” in (5), the first row of the resulting matrices in (7) contains 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 ,
[TABLE]
let us define the order evaluation operation acting on some function depending on a generalized dual number as
[TABLE]
We thus find that
[TABLE]
Recently, expansions such as (7) have received considerable interest in the field of numerical analysis Berland (2006). Referring to Fike (2016) for an overview, various alternative types of "numbers" have been studied for the purpose of finding optimized numerical schemes for computing -th 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 Fike and Alonso (2011).
For later convenience, motivated by the identity (for )
[TABLE]
we may introduce the so-called truncated exponential polynomials Dattoli et al. (2003) defined through the series
[TABLE]
which may be expressed in terms of generalized dual numbers as
[TABLE]
One may thus easily verify the property
[TABLE]
Having provided a matrix-based extension of ordinary to -th order dual numbers of arbitrary order , we will 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 will employ the notational simplification of writing for the dual number unit (DNU) of generalized dual numbers (cf. Eq. (5)), making the order of the DN explicit only via the analogue of the notation (10), and masking the matrix nature of . Thus for some function , we write
[TABLE]
for the truncation of 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 (10) as
[TABLE]
Consider then the dual complex parameter
[TABLE]
Following the principles of umbral calculus111Albeit the term umbral calculus has been introduced in the seminal papers by Roman and Rota Roman and Rota (1978), in the following we will make reference to the formalism developed in Licciardi (2018) which enriches the original formalism with the wealth of techniques derived from the operational calculus.Roman and Rota (1978); Licciardi (2018), we will 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. We will 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 (18), whence the dual-shifted Gaussian function
[TABLE]
Assuming for instance third order dual numbers (i.e. ), we may write the above function in more conventional terms as
[TABLE]
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 (2018), it is then straightforward to calculate the following integral of the function of (19) via the standard Gaussian integral formula
[TABLE]
The term on the right has in fact a definite meaning, since the use of the generating function of the two variable Hermite polynomials Appel and De Feriet (1926)
[TABLE]
permits to cast the r.h.s. of (21) into the form
[TABLE]
Here, denotes the Hermite-based truncated exponential polynomial Dattoli (1999, 2000); Dattoli et al. (2008) defined as
[TABLE]
3.2 Another form of dual Gaussian
Let us consider as a further example
[TABLE]
and the following infinite integral (for )
[TABLE]
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 Licciardi (2018); Babusci et al. (2014); Babusci and Dattoli (2011); Górska et al. (2012); Dattoli et al. (2017); Babusci et al. (2017). Consider for illustration the following identity, known from the theory of two-variable Hermite polynomials Dattoli and Migliorati (2006),
[TABLE]
which allows to simplify the task of calculating successive derivatives of the dual Gaussian introduced in (25), such as in the computation
[TABLE]
Another interesting type of calculus concerns infinite integrals involving rational functions such as
[TABLE]
For example, the infinite integral
[TABLE]
may be easily transformed into truncated form in full analogy to the calculation summarized in (26).
3.4 Umbral image type techniques
Referring to Behr et al. (2019) for the precise technical details (compare also Dattoli and Migliorati (2006)), suffice it here to provide the following definition for the action of the formal integration operator on the formal variable (for ):
[TABLE]
Then an interesting variant of the example presented in (28) may be obtained as
[TABLE]
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 will 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 Dattoli et al. (2008); Crofton (1880)
[TABLE]
which can also be understood as the solution of the heat equation with a Gaussian as initial function. It will prove particularly useful in the following to note that according to the definition of the Hermite polynomials as given in (22b), an alternative interpretation of (32) is provided in terms of the double lacunary exponential generating function of the polynomials , where we employ notations as in Behr et al. (2018)
[TABLE]
By specializing eq. (32) to (with the dual complex parameter (18)), we obtain the operational identity
[TABLE]
Via the simple factorizations
[TABLE]
we may transform the identity (34) as
[TABLE]
By re-inserting the definition of the first double-lacunary EGF, using the Glaisher-identity (32) for the second one and finally truncating to order , we eventually arrive at the compact result
[TABLE]
For example, by evaluating the above expression for second order dual numbers, one finds
[TABLE]
The above result may be interpreted as the solution of the heat-type equation
[TABLE]
An analogous problem has been addressed in Dattoli and Migliorati (2006) 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 Gori (1994) to study the laser field evolution in optical cavities employing super-Gaussian mirrors Siegman (1986). 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
[TABLE]
The paraxial propagation of these beams has less obvious properties than, say, Laguerre or Hermite Gauss modes Siegman (1986). In order to overcome this drawback, Gori introduced the so-called flattened beams Gori (1994) 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 so far, we may approximate the aforementioned Gori beams in the form
[TABLE]
Here, denotes the truncated exponential polynomials introduced in (13), and both parameters and depend on (see Dattoli and Migliorati (2006) for further details). Recalling from (18) the definition of the dual complex parameter, the r.h.s. of (41) may be equivalently expressed as
[TABLE]
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
[TABLE]
Consequently, by invoking the operational identity (34), the paraxial evolution of a flattened beam may be expressed in the form
[TABLE]
which reproduces indeed the known solution of our problem (compare Dattoli and Migliorati (2006)).
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
[TABLE]
The relevant procedure for combining differential calculus with the umbral formalism is described in Babusci and Dattoli (2011). Following this approach, the solution of (45) can be expressed as
[TABLE]
In order to evaluate the solution (46) explicitly, we need to suitably “factorize” the exponential operator. This so-called disentanglement operation may be implemented via the Weyl formula Dattoli et al. (1997)
[TABLE]
which is applicable whenever the identities hold. Applying the Weyl formula (47) to our solution (46), we obtain
[TABLE]
Thus the solution at any desired truncation order may be obtained by invoking the dual number evaluation operation of (16).
As already mentioned above, the Weyl formula applies in the example presented because the algebraic structure of the argument of the exponential in (46) 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 Wei and Norman (1963) 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 (22b) evaluated at , with the dual complex parameter of (18),
[TABLE]
It is straightforward to verify that these modified polynomials inherit all the relevant properties from the polynomials , such as the recurrences
[TABLE]
and we find that they satisfy the second order differential equation
[TABLE]
The explicit form of these truncated polynomials is easily obtained. For example, by using third order dual numbers, which implies
[TABLE]
we find the explicit formula
[TABLE]
where we have invoked the well-known identity
[TABLE]
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 to delay 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 Dattoli and Migliorati (2006); Gori (1994) in optics. For brevity, we have just outlined the procedure in terms of a 1-dimensional computation. The relevant extension to the 3-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.
\authorcontributions
conceptualization, G.D.; methodology, N.B., G.D.; validation, N.B., G.D., S.L.; formal analysis, N.B., G.D., A.L., S.L.; writing – original draft preparation, N.B., G.D., A.L.; writing – review and editing, N.B., A.L., S.L.
\funding
The work of N.B. is supported by funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 753750. A.L. was supported by the NCN research project OPUS 12 no. UMO-2016/23/B/ST3/01714 and by the NAWA project: Program im. Iwanowskiej PPN/IWA/2018/1/00098. S.L. was supported by a Enea-Research Center Individual Fellowship.
Acknowledgements.
N.B. would like to thank the LPTMC (Paris 06) and ENEA Frascati for warm hospitality. \conflictsofinterestThe authors declare no conflicts of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results. \reftitleReferences
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Clifford (1871) Clifford, W.K. Preliminary Sketch of Biquaternions. Proceedings of the London Mathematical Society 1871 , s 1-4 , 381–395. doi: \changeurlcolor black 10.1112/plms/s 1-4.1.381 . · doi ↗
- 2Grünwald (1906) Grünwald, J. Über duale Zahlen und ihre Anwendung in der Geometrie. Monatshefte für Mathematik und Physik 1906 , 17 , 81–136. doi: \changeurlcolor black 10.1007/bf 01697639 . · doi ↗
- 3Segre (1912) Segre, C. Le geometrie projettive nei campi di numeri duali ; Vincenzo Bona, 1912.
- 4Yaglom (2012) Yaglom, I.M. A simple non-Euclidean geometry and its physical basis: An elementary account of Galilean geometry and the Galilean principle of relativity ; Springer Science & Business Media, 2012.
- 5Klawitter (2014) Klawitter, D. Clifford Algebras: Geometric Modelling and Chain Geometries with Application in Kinematics ; Springer, 2014.
- 6Kotelnikov (1985) Kotelnikov, A. Screw calculus and some of its applications to geometry and mechanics, 1985.
- 7Study (1903) Study, E. Geometrie der dynamen, 1903.
- 8Rooney (1975) Rooney, J. On the principle of transference. Proceedings of the Fourth World Congress on the Theory of Machines and Mechanisms. Institution of Mechanical Engineers, London, 1975, pp. 1088–1092.
