Arxiv:1209.0735V2 [Cs.MS] 7 Jan 2018 Running Time: the Tests Provided Take Only a Few Seconds to Run

Total Page:16

File Type:pdf, Size:1020Kb

Arxiv:1209.0735V2 [Cs.MS] 7 Jan 2018 Running Time: the Tests Provided Take Only a Few Seconds to Run Lambert W Function for Applications in Physics Darko Vebericˇ a,b aLaboratory for Astroparticle Physics, University of Nova Gorica, Slovenia bDepartment of Theoretical Physics, J. Stefan Institute, Ljubljana, Slovenia Abstract The Lambert W(x) function and its possible applications in physics are presented. The actual numerical implementa- tion in C++ consists of Halley’s and Fritsch’s iterations with initial approximations based on branch-point expansion, asymptotic series, rational fits, and continued-logarithm recursion. Keywords: Lambert W function, computational physics, numerical methods and algorithms, C++ Program summary Program title: LambertW Catalogue identifier: AENC v1 0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AENC v1 0.html Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland Licensing provisions: GNU General Public License version 3 No. of lines in distributed program, including test data, etc.: 1335 No. of bytes in distributed program, including test data, etc.: 25 283 Distribution format: tar.gz Programming language: C++ (with suitable wrappers it can be called from C, Fortran etc.), the supplied command-line utility is suitable for other scripting languages like sh, csh, awk, perl etc. Computer: All systems with a C++ compiler. Operating system: All Unix flavors, Windows. It might work with others. RAM: Small memory footprint, less than 1 MB Classification: 1.1, 4.7, 11.3, 11.9. Nature of problem: Find fast and accurate numerical implementation for the Lambert W function. Solution method: Halley’s and Fritsch’s iterations with initial approximations based on branch-point expansion, asymptotic series, rational fits, and continued logarithm recursion. Additional comments: Distribution file contains the command-line utility lambert-w. Doxygen comments, included in the source files. Makefile. arXiv:1209.0735v2 [cs.MS] 7 Jan 2018 Running time: The tests provided take only a few seconds to run. Source repository: https://github.com/DarkoVeberic/LambertW Email address: [email protected] (Darko Vebericˇ ) Preprint submitted to Computer Physics Communications September 5, 2012 1. Introduction 0 The Lambert W function is defined as the inverse W0 function of the -1 x 7! x ex (1) L x - 2 W- 1 mapping and thus solves the H W - 3 y ey = x (2) equation. This solution is given in the form of the Lam- - 4 bert W function, y = W(x), (3) - 0.4 - 0.2 0.0 0.2 0.4 0.6 0.8 1.0 and according to Eq. (2) it satisfies the following relation, x W(x) W(x) e = x. (4) Figure 1: The two branches of the Lambert W function, W−1(x) in blue −1 and W0(x) in red. The branching point at (−e , −1) is indicated with Since the mapping in Eq. (1) is not injective, no unique a green dash. inverse of the x ex function exists (except at the mini- mum). As can be seen in Fig.1, the Lambert W function inverse of Eddington-Finkelstein (tortoise) coordinates [16]), has two real branches with a branching point located at statistical mechanics [17], fluid dynamics [18], optics [19] (−e−1 − ) (x) , 1 . The bottom branch, W−1 , is defined in etc. x 2 [−e−1 ] the interval , 0 and has a negative singular- The main motivation for the implementation in this x ! − (x) ity for 0 . The upper branch W0 is defined for work comes from the research in cosmic ray physics where x 2 [−e−1 ] , ¥ . it has been in use already for several years [20] and new The earliest mention of the problem of Eq. (2) is at- interesting applications are appearing frequently [21]. In tributed to Euler [1]. However, Euler himself credited the next sections let us describe two new examples that Lambert for his previous work in this subject, Lambert’s arise from this field of astrophysics. transcendental equation [2]. The W(x) function started to be named after Lambert only recently, in the last 20 1.1. Inverse of the Moyal function years or so; nevertheless, the first usage of the letter W The Moyal function and the related distribution was appeared much earlier [3]. proposed as a good approximation for the more com- Recently, the W(x) function amassed quite a follow- plicated Landau distribution [22] used in descriptions of ing in the mathematical community [4]. Its most faithful energy loss of charged particles passing through matter proponents are suggesting elevating it among the present [23]. The un-normalized Moyal function is defined as set of elementary functions, such as sin(x), cos(x), exp(x), h i ln(x), etc. The main argument for doing so is the fact 1 −x M(x) = exp − 2 x + e (5) that W is the root of the simplest exponential polynomial function given in Eq. (2). We will acknowledge these ef- and can be seen in Fig.2 (top). forts by strict usage of a roman symbol W as its name. Its inverse can be written in terms of the two branches While the Lambert W function is called LambertW in of the Lambert W function, the mathematics software tool Maple [5] and lambertw in M−1(x) = W (−x2) − 2 ln x. (6) the Matlab programming environment [6], in the Math- ± 0,−1 ematica computer algebra framework this function [7] is In experimental astrophysics the Moyal function is implemented under the name ProductLog (in the recent used for phenomenological recovery of the saturated sig- versions an alias LambertW is also supported). In open nals from photomultipliers [24], where the largest parts source format the Lambert W function is available in of the saturated signals are obscured by the limited range the special-functions part of the GNU Scientific Library of the analog-to-digital converters. (GSL) [8], unfortunately implemented using only the slower Halley’s iteration (see discussion in Section6). 1.2. Inverse of the Gaisser-Hillas function There are numerous, well documented applications In astrophysics the Gaisser-Hillas function is used to of W(x), certainly abundant in mathematics (like lin- model the longitudinal particle density in a cosmic-ray ear delay-differential equations [9]), numerics [10], com- air shower [25]. We can show that the inverse of the puter science [11] and engineering [12], but surprisingly three-parametric Gaisser-Hillas function, many also in physics, just to mention a few (without Xmax−X0 preference): quantum mechanics (solutions for double- X − X0 l Xmax − X G(X; X0, Xmax, l) = exp , well Dirac-delta potentials [13]), quantum statistics [14], Xmax − X0 l general relativity (solutions to (1+1)-gravity problem [15], (7) 2 0.6 Note that the branch −1 or 0 simply chooses the right or left side relative to the maximum, respectively. 0.5 The Gaisser-Hillas function is intimately related to 0.4 the gamma distribution which was successfully used some- L what earlier [26] in an approximate description of the x H 0.3 mean longitudinal profile of the energy deposition in M electromagnetic cascades. It is trivial to show that the 0.2 inverses of the gamma and inverse-gamma distributions [27] are expressible in terms of the Lambert W function 0.1 as well. 0.0 -2 0 2 4 6 8 2. Numerical methods x 1.0 Before describing the actual implementation let us re- view some of the possible numerical and analytical ap- proaches to find W(x). 0.8 L 2.1. Recursion 0.6 m ax x > (x) > x For 0 and W 0 we can take the natural ; x logarithm of Eq. (4) and rearrange it into H 0.4 g W(x) = ln x − ln W(x). (13) 0.2 From here it is clear that an analytical expression for 0.0 W(x) will exhibit a certain degree of self similarity. The 0 5 10 15 20 25 30 W(x) function has multiple branches in the complex do- > ( ) > x main. Due to the x 0 and W x 0 conditions, Eq. (13) represents the positive part of the W0(x) prin- Figure 2: Top: The Moyal function M(x). Bottom: A family of one- cipal branch and in this form it is suitable for evaluation parametric Gaisser-Hillas functions g(x; xmax) for xmax in the range when W0(x) > 1, i.e. when x > e. from 1 to 10 with step 1. Unrolling the self-similarity in Eq. (13) as a recursive relation, the following curious expression for W0(x) is is intimately related to the Lambert W function. Using obtained, rescale substitutions, W0(x) = ln x − ln(ln x − ln(ln x − ... )), (14) X − X X − X x = 0 and x = max 0 , (8) l max l or in the shorthand of a continued logarithm, the Gaisser-Hillas function is modified into a function of x W0(x) = ln x . (15) ln x one parameter only, ln ··· xmax x The above expression clearly has the form of successive g(x; xmax) = exp(xmax − x). (9) xmax approximations, the final result given by the limit, if it exists. The family of one-parametric Gaisser-Hillas functions is For x < 0 and W(x) < 0 we can multiply both sides shown in Fig.2 (bottom). The problem of finding an of Eq. (4) with −1, take logarithm, and rewrite it into a inverse, similar expansion for the W−1(x) branch, g(x; xmax) ≡ y (10) W(x) = ln(−x) − ln(− W(x)). (16) for 0 < y 6 1, can be rewritten into x x Again, this leads to the similar recursion, − exp − = −y1/xmax e−1. (11) xmax xmax W−1(x) = ln(−x) − ln(−(ln(−x) − ln(− ...))), (17) According to the definition (2), the two (real) solutions for x are obtained from the two branches of the Lambert or as a continued logarithm, W function, −x W−1(x) = ln .
Recommended publications
  • Black Holes with Lambert W Function Horizons
    Black holes with Lambert W function horizons Moises Bravo Gaete,∗ Sebastian Gomezy and Mokhtar Hassainez ∗Facultad de Ciencias B´asicas,Universidad Cat´olicadel Maule, Casilla 617, Talca, Chile. y Facultad de Ingenier´ıa,Universidad Aut´onomade Chile, 5 poniente 1670, Talca, Chile. zInstituto de Matem´aticay F´ısica,Universidad de Talca, Casilla 747, Talca, Chile. September 17, 2021 Abstract We consider Einstein gravity with a negative cosmological constant endowed with distinct matter sources. The different models analyzed here share the following two properties: (i) they admit static symmetric solutions with planar base manifold characterized by their mass and some additional Noetherian charges, and (ii) the contribution of these latter in the metric has a slower falloff to zero than the mass term, and this slowness is of logarithmic order. Under these hypothesis, it is shown that, for suitable bounds between the mass and the additional Noetherian charges, the solutions can represent black holes with two horizons whose locations are given in term of the real branches of the Lambert W functions. We present various examples of such black hole solutions with electric, dyonic or axionic charges with AdS and Lifshitz asymptotics. As an illustrative example, we construct a purely AdS magnetic black hole in five dimensions with a matter source given by three different Maxwell invariants. 1 Introduction The AdS/CFT correspondence has been proved to be extremely useful for getting a better understanding of strongly coupled systems by studying classical gravity, and more specifically arXiv:1901.09612v1 [hep-th] 28 Jan 2019 black holes. In particular, the gauge/gravity duality can be a powerful tool for analyzing fi- nite temperature systems in presence of a background magnetic field.
    [Show full text]
  • Universit`A Degli Studi Di Perugia the Lambert W Function on Matrices
    Universita` degli Studi di Perugia Facolta` di Scienze Matematiche, Fisiche e Naturali Corso di Laurea Triennale in Informatica The Lambert W function on matrices Candidato Relatore MassimilianoFasi BrunoIannazzo Contents Preface iii 1 The Lambert W function 1 1.1 Definitions............................. 1 1.2 Branches.............................. 2 1.3 Seriesexpansions ......................... 10 1.3.1 Taylor series and the Lagrange Inversion Theorem. 10 1.3.2 Asymptoticexpansions. 13 2 Lambert W function for scalar values 15 2.1 Iterativeroot-findingmethods. 16 2.1.1 Newton’smethod. 17 2.1.2 Halley’smethod . 18 2.1.3 K¨onig’s family of iterative methods . 20 2.2 Computing W ........................... 22 2.2.1 Choiceoftheinitialvalue . 23 2.2.2 Iteration.......................... 26 3 Lambert W function for matrices 29 3.1 Iterativeroot-findingmethods. 29 3.1.1 Newton’smethod. 31 3.2 Computing W ........................... 34 3.2.1 Computing W (A)trougheigenvectors . 34 3.2.2 Computing W (A) trough an iterative method . 36 A Complex numbers 45 A.1 Definitionandrepresentations. 45 B Functions of matrices 47 B.1 Definitions............................. 47 i ii CONTENTS C Source code 51 C.1 mixW(<branch>, <argument>) ................. 51 C.2 blockW(<branch>, <argument>, <guess>) .......... 52 C.3 matW(<branch>, <argument>) ................. 53 Preface Main aim of the present work was learning something about a not- so-widely known special function, that we will formally call Lambert W function. This function has many useful applications, although its presence goes sometimes unrecognised, in mathematics and in physics as well, and we found some of them very curious and amusing. One of the strangest situation in which it comes out is in writing in a simpler form the function .
    [Show full text]
  • The Strange Properties of the Infinite Power Tower Arxiv:1908.05559V1
    The strange properties of the infinite power tower An \investigative math" approach for young students Luca Moroni∗ (August 2019) Nevertheless, the fact is that there is nothing as dreamy and poetic, nothing as radical, subversive, and psychedelic, as mathematics. Paul Lockhart { \A Mathematician's Lament" Abstract In this article we investigate some "unexpected" properties of the \Infinite Power Tower 1" function (or \Tetration with infinite height"): . .. xx y = f(x) = xx where the \tower" of exponentiations has an infinite height. Apart from following an initial personal curiosity, the material collected here is also intended as a potential guide for teachers of high-school/undergraduate students interested in planning an activity of \investigative mathematics in the classroom", where the knowledge is gained through the active, creative and cooperative use of diversified mathematical tools (and some ingenuity). The activity should possibly be carried on with a laboratorial style, with no preclusions on the paths chosen and undertaken by the students and with little or no information imparted from the teacher's desk. The teacher should then act just as a guide and a facilitator. The infinite power tower proves to be particularly well suited to this kind of learning activity, as the student will have to face a challenging function defined through a rather uncommon infinite recursive process. They'll then have to find the right strategies to get around the trickiness of this function and achieve some concrete results, without the help of pre-defined procedures. The mathematical requisites to follow this path are: functions, properties of exponentials and logarithms, sequences, limits and derivatives.
    [Show full text]
  • Note on De Sitter Vacua from Perturbative and Non-Perturbative Dynamics in Type IIB/F-Theory Compactifications ∗ Vasileios Basiouris, George K
    Physics Letters B 810 (2020) 135809 Contents lists available at ScienceDirect Physics Letters B www.elsevier.com/locate/physletb Note on de Sitter vacua from perturbative and non-perturbative dynamics in type IIB/F-theory compactifications ∗ Vasileios Basiouris, George K. Leontaris Physics Department, University of Ioannina, 45110, Ioannina, Greece a r t i c l e i n f o a b s t r a c t Article history: The properties of the effective scalar potential are studied in the framework of type IIB string theory, Received 1 August 2020 taking into account perturbative and non-perturbative corrections. The former modify the Kähler Received in revised form 21 September potential and include α and logarithmic corrections generated when intersecting D7branes are part of 2020 the internal geometric configuration. The latter add exponentially suppressed Kähler moduli dependent Accepted 23 September 2020 terms to the fluxed superpotential. The possibility of partial elimination of such terms which may Available online 1 October 2020 happen for particular choices of world volume fluxes is also taken into account. That being the case, Editor: A. Volovichis a simple set up of three Kähler moduli is considered in the large volume regime, where only one of them is assumed to induce non-perturbative corrections. It is found that the shape of the F-term potential crucially depends on the parametric space associated with the perturbative sector and the volume modulus. De Sitter vacua can be obtained by implementing one of the standard mechanisms, i.e., either relying on D-terms related to U (1) symmetries associated with the D7branes, or introducing D3 branes.
    [Show full text]
  • On the Lambert W Function and Its Utility in Biochemical Kinetics
    Biochemical Engineering Journal 63 (2012) 116–123 Contents lists available at SciVerse ScienceDirect Biochemical Engineering Journal j ournal homepage: www.elsevier.com/locate/bej Review On the Lambert W function and its utility in biochemical kinetics ∗ Marko Golicnikˇ Institute of Biochemistry, Faculty of Medicine, University of Ljubljana, Vrazov trg 2, 1000 Ljubljana, Slovenia a r t i c l e i n f o a b s t r a c t Article history: This article presents closed-form analytic solutions to three illustrative problems in biochemical kinetics Received 6 October 2011 that have usually been considered solvable only by various numerical methods. The problems solved Received in revised form concern two enzyme-catalyzed reaction systems that obey diversely modified Michaelis–Menten rate 20 December 2011 equations, and biomolecule surface binding that is limited by mass transport. These problems involve Accepted 21 January 2012 the solutions of transcendental equations that include products of variables and their logarithms. Such Available online 3 February 2012 equations are solvable by the use of the Lambert W(x) function. Thus, these standard kinetics examples are solved in terms of W(x) to show the applicability of this commonly unknown function to the biochemical Keywords: Biokinetics community. Hence, this review first of all describes the mathematical definition and properties of the W(x) Biosensors function and its numerical evaluations, together with analytical approximations, and then it describes the Enzymes use of the W(x) function in biochemical kinetics. Other applications of the function in various engineering Integrated rate equation sciences are also cited, although not described.
    [Show full text]
  • On the Lambert W Function 329
    On the Lambert W function 329 The text below is the same as that published in Advances in Computational Mathematics, Vol 5 (1996) 329 – 359, except for a minor correction after equation (1.1). The pagination matches the published version until the bibliography. On the Lambert W Function R. M. Corless1,G.H.Gonnet2,D.E.G.Hare3,D.J.Jeffrey1 andD.E.Knuth4 1Department of Applied Mathematics, University of Western Ontario, London, Canada, N6A 5B7 2Institut f¨ur Wissenschaftliches Rechnen, ETH Z¨urich, Switzerland 3Symbolic Computation Group, University of Waterloo, Waterloo, Canada, N2L 3G1 4Department of Computer Science, Stanford University, Stanford, California, USA 94305-2140 Abstract The Lambert W function is defined to be the multivalued inverse of the function w → wew. It has many applications in pure and applied mathematics, some of which are briefly described here. We present a new discussion of the complex branches of W ,an asymptotic expansion valid for all branches, an efficient numerical procedure for evaluating the function to arbitrary precision, and a method for the symbolic integration of expressions containing W . 1. Introduction In 1758, Lambert solved the trinomial equation x = q +xm by giving a series develop- ment for x in powers of q. Later, he extended the series to give powers of x as well [48,49]. In [28], Euler transformed Lambert’s equation into the more symmetrical form xα − xβ =(α − β)vxα+β (1.1) by substituting x−β for x and setting m = α/β and q =(α − β)v. Euler’s version of Lambert’s series solution was thus n 1 2 x =1+nv + 2 n(n + α + β)v + 1 n(n + α +2β)(n +2α + β)v3 6 (1.2) 1 4 + 24 n(n + α +3β)(n +2α +2β)(n +3α + β)v +etc.
    [Show full text]
  • Lambert W-Function
    Lambert W-Function Problem: W.eW = x, find W(x) - ? Solution: the Lambert W-Function Lambert W-Function Ref. : Lambert, J. H. "Observationes variae in Mathes in Puram." Acta Helvitica, physico-mathematico-anatomico- botanico-medica 3, 128-168, 1758. Euler, L. "De serie Lambertina plurimisque eius insignibus proprietatibus." Acta Acad. Scient. Petropol. 2, 29-51, 1783. Reprinted in Euler, L. Opera Omnia, Series Prima, Vol. 6: Commentationes Algebraicae. Leipzig, Germany: Teubner, pp. 350-369, 1921. Lambert W-Function The Lambert W -function, also called the omega function or the product log function , is the inverse function of discovered by: and Johann Lambert, Leonhard Euler, Zurich/Berlin, 1758 St.-Petersburg Academy Academy of Science, 1783 Lambert W-Function W(1) = 0.56714 is called the omega constant and can be considered a sort of "golden ratio" of exponents. The Lambert W -function has the series expansion! Lambert W-Function (x,y) Re: (x,y) Im: The real (left) and imaginary (right) parts of the analytic continuation of over the complex plane are illustrated above. Euler, L. "De serie Lambertina plurimisque eius insignibus proprietatibus." Acta Acad. Scient. Petropol. 2, 29-51, 1783. Reprinted in Euler, L. Opera Omnia, Series Prima, Vol. 6: Commentationes Algebraicae. Leipzig, Germany: Teubner, pp. 350-369, 1921. Lambert W-Function The General Problem : The General Solution : Lambert W-Function has numerous applications: 1) Banwell and Jayakumar (2000) showed that a W-function describes the relation between voltage, current and resistance in a diode 2) Packel and Yuen (2004) applied the W -function to a ballistic projectile in the presence of air resistance.
    [Show full text]
  • Having Fun with Lambert W(X) Function Arxiv:1003.1628V2
    Having Fun with Lambert W(x) Function Darko Vebericˇ a,b,c a University of Nova Gorica, Slovenia b IK, Forschungszentrum Karlsruhe, Germany c J. Stefan Institute, Ljubljana, Slovenia June 2009 Abstract This short note presents the Lambert W(x) function and its possible application in the framework of physics related to the Pierre Auger Observatory. The actual numerical implementation in C++ consists of Halley’s and Fritsch’s iteration with branch-point arXiv:1003.1628v2 [cs.MS] 7 Jan 2018 expansion, asymptotic series and rational fits as initial approximations. 0 W0 -1 L x -2 W H -1 W -3 -4 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 x Figure 1: The two branches of the Lambert W function, W−1(x) in blue and W0(x) in red. The branching point at (−e−1, −1) is denoted with a green dash. 1 Introduction The Lambert W(x) function is defined as the inverse function of y exp y = x, (1) the solution being given by y = W(x), (2) or shortly W(x) exp W(x) = x. (3) Since the x 7! x exp x mapping is not injective, no unique inverse of the x exp x function exists. As can be seen in Fig.1, the Lambert function has two real branches with a branching −1 point located at (−e , −1). The bottom branch, W−1(x), is defined in the interval x 2 [−e−1, 0] and has a negative singularity for x ! 0−. The upper branch is defined for x 2 [−e−1, ¥].
    [Show full text]
  • The Two-Layer Hierarchical Distribution Model of Zeros of Riemann’S Zeta Function Along the Critical Line
    information Article The Two-Layer Hierarchical Distribution Model of Zeros of Riemann’s Zeta Function along the Critical Line Michel Riguidel Department of Computer Science and Networks, Télécom ParisTech, 75015 Paris, France; [email protected]; Tel.: +33-67687-5199 Abstract: This article numerically analyzes the distribution of the zeros of Riemann’s zeta function along the critical line (CL). The zeros are distributed according to a hierarchical two-layered model, one deterministic, the other stochastic. Following a complex plane anamorphosis involving the Lambert function, the distribution of zeros along the transformed CL follows the realization of a stochastic process of regularly spaced independent Gaussian random variables, each linked to a zero. The value of the standard deviation allows the possible overlapping of adjacent realizations of the random variables, over a narrow confidence interval. The hierarchical model splits the z function into sequential equivalence classes, with the range of probability densities of realizations coinciding with the spectrum of behavioral styles of the classes. The model aims to express, on the CL, the coordinates of the alternating cancellations of the real and imaginary parts of the z function, to dissect the formula for the number of zeros below a threshold, to estimate the statistical laws of two consecutive zeros, of function maxima and moments. This also helps explain the absence of multiple roots. Keywords: Riemann’s zeta function; non-trivial zeros; Lambert’s function; Laplace–Gauss law; gaps; multiple roots Citation: Riguidel, M. The Two-Layer Hierarchical Distribution 1. Introduction Model of Zeros of Riemann’s Zeta This article presents a distribution model of the non-trivial zeros of the zeta function Function along the Critical Line.
    [Show full text]
  • Computing the Lambert W Function
    Computing the Lambert W function James F. Epperson November 16, 2013 The Lambert W function is one of the immense zoology of special functions in mathematics. Formally, it is defined implicitly as an inverse function: If w = W (x) is the Lambert W function, then we have w x = we (1) In the most general circumstances, W is a complex-valued function of a complex variable z. To keep things simple, we will look only at the real-variable case. Fundamentally, computing W is a root finding problem: Given x, we can find w = W (x) by finding the root (if one exists) of the function w F (w)= x we − (The notation here is a little different than we are used to: x is a fixed parameter, and w is the variable we are trying to find to make F zero.) We can learn quite a bit about the W function by plotting F , which can be done by specifying w and then computing x from (1). The MATLAB commands for this might be: w = [-400:200]*0.01; x = w.*exp(w); plot(x,w,’b-’) axis([-1 6 -4 2]) grid on The last command lays a grid of dotted lines over the plot. The results are given in Fig. 1 (next page). The problem is that we can’t easily compute W (x) for an arbitrary x using this scheme, which is what we need to do. We can deduce quite a bit about W (x) from this graph, although some analysis would need to be done to confirm our deductions: 1.
    [Show full text]
  • Branch Differences and Lambert W
    2014 16th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing Branch differences and Lambert W D. J. Jeffrey and J. E. Jankowski Department of Applied Mathematics, The University of Western Ontario, London, Canada N6A 5B7 Email: [email protected] Abstract—The Lambert W function possesses In fact, this has already been noticed in a branches labelled by an index k. The value of W variety of contexts, with some instances pre- therefore depends upon the value of its argument dating the naming of the Lambert W function. z and the value of its branch index. Given two branches, labelled n and m, the branch difference For example, in [10], Jordan and Glasser, ap- is the difference between the two branches, when parently working independently, used a substi- x both are evaluated at the same argument z. tution equivalent to W (xe ) to evaluate the It is shown that elementary inverse functions definite integral have trivial branch differences, but Lambert W ∞ √ u has nontrivial differences. The inverse sine func- e−w/2 w u, w , d where = −u tion has real-valued branch differences for real 0 1 − e arguments, and the natural logarithm function has purely imaginary branch differences. The a problem posed by Logan, Mallows & Shepp. Lambert W function, however, has both real- Karamata [11] derived a series expansion for valued differences and complex-valued differ- W as part of his solution of a problem posed by ences. Applications and representations of the branch differences of W are given. Ramanujan. Definite integrals containing the tree T function, a cognate of W , used branch Keywords -complex analysis; special functions; differences in [3].
    [Show full text]
  • Analytical Properties of the Lambert W Function
    Western University Scholarship@Western Digitized Theses Digitized Special Collections 2011 Analytical properties of the Lambert W function German Alekseevich Kalugin Follow this and additional works at: https://ir.lib.uwo.ca/digitizedtheses Recommended Citation Kalugin, German Alekseevich, "Analytical properties of the Lambert W function" (2011). Digitized Theses. 3272. https://ir.lib.uwo.ca/digitizedtheses/3272 This Thesis is brought to you for free and open access by the Digitized Special Collections at Scholarship@Western. It has been accepted for inclusion in Digitized Theses by an authorized administrator of Scholarship@Western. For more information, please contact [email protected]. A nalytical properties of the Lambert W function (Spine Title: Analytical properties of W function) (Thesis Format: Integrated Article) by ' ’ German Alekseevich Kalugin Graduate Program in Applied Mathematics A thesis submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy The School of Graduate and Postdoctoral Studies The University of Western Ontario London, Ontario, Canada" * ©German Alekseevich Kalugin 2011 THE UNIVERSITY OF WESTERN ONTARIO SCHOOL OF GRADUATE AND POSTDOCTORAL STUDIES CERTIFICATE OF EXAMINATION Supervisor , Examiners Dr. David Jeffrey Dr. Ilias Kotsireas ' Dr. Jân Minâc Dr. Christopher Essex Dr. Adam Metzler The thesis by German Alekseevich Kalugin " ' entitled: 1 ■ - A n a l y t i c a l p r o p e r t i e s o f t h e L a m b e r t W f u n c t i o n is accepted in partial fulfillment of the requirements for the degree of Doctor of Philosophy ' ;> Date Chair of the Thesis Examination Board li Abstract This research studies analytical properties of one of the special functions, the Lambert W function.
    [Show full text]