Open Access This article is
- freely available
Axioms 2019, 8(3), 77; https://doi.org/10.3390/axioms8030077
Dual Numbers and Operational Umbral Methods
Institut de Recherche en Informatique Fondamentale (IRIF), Université de Paris, Bâtiment Sophie Germain, Case Courier 7014, 8 Place Aurélie Nemours, CEDEX 13, 75205 Paris, France
ENEA—Frascati Research Center, Via Enrico Fermi 45, 00044 Rome, Italy
H. Niewodniczański Institute of Nuclear Physics, Polish Academy of Science, ul. Radzikowskiego 152, 31-342 Kraków, Poland
Author to whom correspondence should be addressed.
Received: 22 May 2019 / Accepted: 26 June 2019 / Published: 2 July 2019
Dual numbers and their higher-order version are important tools for numerical computations, and in particular for finite difference calculus. Based on the relevant algebraic rules and matrix realizations of dual numbers, we 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
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 aswhere 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 . 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 
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
We thus find that
Recently, expansions such as Equation (7) have received considerable interest in the field of numerical analysis . Referring to Fike  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 .
For later convenience, motivated by the identity (for )we may introduce the so-called truncated exponential polynomials  defined through the serieswhich may be expressed in terms of generalized dual numbers as
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 writefor 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 parameter
Following 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 , in the following we make reference to the formalism developed in  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 aswhich 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 , 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 
permits to cast the right-hand side of Equation (22) into the form
3.2. Another Form of Dual Gaussian
Let us consider as a further exampleand 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 ,which allows to simplify the task of calculating successive derivatives of the dual Gaussian introduced in Equation (26), such as in the computationHere, 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 integralmay 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.  for the precise technical details (compare also ), 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 
By specializing Equation (33) to (with the dual complex parameter in Equation (19)), we obtain the operational identity
Via the simple factorizationswe 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  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  to study the laser field evolution in optical cavities employing super-Gaussian mirrors . 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 . To overcome this drawback, Gori introduced the so-called flattened beams , 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  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 aswhence 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 formwhich reproduces indeed the known solution of our problem (compare ).
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 . 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 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  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 recurrencesand 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 implieswe find the explicit formulawhere 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.
Conceptualization, G.D.; methodology, N.B. and G.D.; validation, N.B., G.D. and S.L.; formal analysis, N.B., G.D., A.L., and S.L.; writing—original draft preparation, N.B., G.D., and A.L.; and writing—review and editing, N.B., A.L., and S.L.
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 an Enea-Research Center Individual Fellowship.
N.B. would like to thank the LPTMC (Paris 06) and ENEA Frascati for warm hospitality.
Conflicts of Interest
The authors declare no conflict 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.
- Clifford, W.K. Preliminary Sketch of Biquaternions. Proc. Lond. Math. Soc. 1871, s1–s4, 381–395. [Google Scholar] [CrossRef]
- Grünwald, J. Über duale Zahlen und ihre Anwendung in der Geometrie. Monatshefte für Mathematik Physik 1906, 17, 81–136. [Google Scholar] [CrossRef]
- Segre, C. Le Geometrie Projettive nei Campi di Numeri Duali; Vincenzo Bona: Torino, Italy, 1912. [Google Scholar]
- 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: Berlin, Germany, 2012. [Google Scholar]
- Klawitter, D. Clifford Algebras: Geometric Modelling and Chain Geometries with Application in Kinematics; Springer: Berlin, Germany, 2014. [Google Scholar]
- Kotelnikov, A.P. Screw Calculus and Some Applications to Geometry and Mechanics. Ann. Imp. Univ. Kazan 1895, 24. (In Russian) [Google Scholar]
- Study, E. Die Geometrie der Dynamen. Jahresbericht der Deutschen Mathematiker-Vereinigung 1900, 8, 204–216. [Google Scholar]
- Rooney, J. On the principle of transference. In Proceedings of the Fourth World Congress on the Theory of Machines and Mechanisms; Institution of Mechanical Engineers: London, UK, 1975; pp. 1088–1092. [Google Scholar]
- Hsia, L.; Yang, A. On the principle of transference in three-dimensional kinematics. J. Mech. Des. 1981, 103, 652–656. [Google Scholar] [CrossRef]
- Martínez, J.M.R.; Duffy, J. The principle of transference: History, statement and proof. Mech. Mach. Theory 1993, 28, 165–177. [Google Scholar] [CrossRef]
- Cohen, A.; Shoham, M. Application of Hyper-Dual Numbers to Multibody Kinematics. J. Mech. Rob. 2015, 8, 011015. [Google Scholar] [CrossRef]
- Cohen, A.; Shoham, M. Application of hyper-dual numbers to rigid bodies equations of motion. Mech. Mach. Theory 2017, 111, 76–84. [Google Scholar] [CrossRef]
- Cohen, A.; Shoham, M. Principle of transference—An extension to hyper-dual numbers. Mech. Mach. Theory 2018, 125, 101–110. [Google Scholar] [CrossRef]
- Fike, J.; Alonso, J. The Development of Hyper-Dual Numbers for Exact Second-Derivative Calculations. In Proceedings of the 49th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition; American Institute of Aeronautics and Astronautics: Reston, VA, USA, 2011. [Google Scholar] [CrossRef]
- Harkin, A.A.; Harkin, J.B. Geometry of Generalized Complex Numbers. Math. Mag. 2004, 77, 118–129. [Google Scholar] [CrossRef]
- Özdemir, M. Introduction to Hybrid Numbers. Adv. Appl. Clifford Algebr. 2018, 28. [Google Scholar] [CrossRef]
- Rall, L.B. (Ed.) Automatic Differentiation: Techniques and Applications; Springer: Berlin/Heidelberg, Germany, 1981. [Google Scholar] [CrossRef]
- Rall, L.B.; Corliss, G.F. An introduction to automatic differentiation. In Computational Differentiation: Techniques, Applications, and Tools; SIAM: Philadelphia, PA, USA, 1996; Volume 89. [Google Scholar]
- Fike, J.A. Derivative Calculations Using Hyper-Dual Numbers; Technical Report; Sandia National Lab. (SNL-NM): Albuquerque, NM, USA, 2016. [Google Scholar]
- Berland, H.; (Department of Mathematical Sciences, NTNU, Trondheim, Norway). Personal communication, 2006.
- Dattoli, G.; Cesarano, C.; Sacchetti, D. A note on truncated polynomials. Appl. Math. Comput. 2003, 134, 595–605. [Google Scholar] [CrossRef]
- Roman, S.M.; Rota, G.C. The umbral calculus. Adv. Math. 1978, 27, 95–188. [Google Scholar] [CrossRef]
- Licciardi, S. Umbral Calculus, a Different Mathematical Language. arXiv 2018, arXiv:1803.03108. [Google Scholar]
- Appel, P.; De Feriet, J.K. Fonctions hypergéométriques et hypersphériques. In Polynômes d’Hermite; Gauthier-Villars: Paris, France, 1926. [Google Scholar]
- Dattoli, G. Hermite-Bessel and Laguerre-Bessel functions: A by-product of the monomiality principle. In Proceedings of the Melfi School on Advanced Topics in Mathematics and Physics, Advanced Special Functions and Applications; Aracne Editrice: Melfi, Italy, 2000; pp. 147–164. [Google Scholar]
- Dattoli, G. Generalized polynomials, operational identities and their applications. J. Comput. Appl. Math. 2000, 118, 111–123. [Google Scholar] [CrossRef]
- Dattoli, G.; Khan, S.; Ricci, P. On Crofton—Glaisher type relations and derivation of generating functions for Hermite polynomials including the multi-index case. Integral Transf. Spec. Funct. 2008, 19, 1–9. [Google Scholar] [CrossRef]
- Babusci, D.; Dattoli, G.; Górska, K.; Penson, K. Repeated derivatives of composite functions and generalizations of the Leibniz rule. Appl. Math. Comput. 2014, 241, 193–199. [Google Scholar] [CrossRef]
- Babusci, D.; Dattoli, G. On Ramanujan Master Theorem. arXiv 2011, arXiv:1103.3947. [Google Scholar]
- Górska, K.; Babusci, D.; Dattoli, G.; Duchamp, G.; Penson, K. The Ramanujan master theorem and its implications for special functions. Appl. Math. Comput. 2012, 218, 11466–11471. [Google Scholar] [CrossRef]
- Dattoli, G.; Di Palma, E.; Sabia, E.; Gorska, K.; Horzela, A.; Penson, K. Operational versus umbral methods and the Borel transform. Int. J. Appl. Comput. Math. 2017, 3, 3489–3510. [Google Scholar] [CrossRef]
- Babusci, D.; Dattoli, G.; Górska, K.; Penson, K. Lacunary generating functions for the Laguerre polynomials. Séminaire Lotharingien Combinatoire 2017, 76, B76b. [Google Scholar]
- Dattoli, G.; Migliorati, M. The truncated exponential polynomials, the associated Hermite forms and applications. Int. J. Math. Math. Sci. 2006, 2006, 98175-1. [Google Scholar] [CrossRef]
- Behr, N.; Dattoli, G.; Duchamp, G.; Licciardi, S.; Penson, K. Operational Methods in the Study of Sobolev-Jacobi Polynomials. Mathematics 2019, 7, 124. [Google Scholar] [CrossRef]
- Crofton, M. On operative symbols in the differential calculus. Proc. Lond. Math. Soc. 1880, 1, 122–134. [Google Scholar] [CrossRef]
- Behr, N.; Duchamp, G.H.; Penson, K.A. Explicit formulae for all higher order exponential lacunary generating functions of hermite polynomials. arXiv 2018, arXiv:1806.08417. [Google Scholar]
- Gori, F. Flattened gaussian beams. Opt. Commun. 1994, 107, 335–341. [Google Scholar] [CrossRef]
- Siegman, A.E. Lasers university science books. Mill Valley CA 1986, 37, 208. [Google Scholar]
- Babusci, D.; Dattoli, G. Umbral methods and operator ordering. arXiv 2011, arXiv:1112.1570. [Google Scholar]
- Dattoli, G.; Ottaviani, P.L.; Torre, A.; Vázquez, L. Evolution operator equations: Integration with algebraic and finite difference methods. Applications to physical problems in classical and quantum mechanics and quantum field theory. La Rivista del Nuovo Cimento 1997, 20, 3–133. [Google Scholar] [CrossRef]
- Wei, J.; Norman, E. Lie algebraic solution of linear differential equations. J. Math. Phys. 1963, 4, 575–581. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).