The Lambert W Function 1 0 Robert M

Total Page:16

File Type:pdf, Size:1020Kb

The Lambert W Function 1 0 Robert M Princeton Companion to Applied Mathematics Proof 1 W W The Lambert W Function 1 0 Robert M. Corless and David J. Jeffrey –e–1 1 Definition and Basic Properties z –1 1 2 3 For a given complex number z, the equation wew = z –1 has a countably infinite number of solutions, which are denoted by Wk(z) for integers k. Each choice of k speci- –2 fies a branch of the Lambert W function. By convention, only the branches k = 0 (called the principal branch) and k =−1 are real-valued for any z; the range of every other branch excludes the real axis, although the range –3 of W1(z) includes (−∞, −1/e] in its closure. Only W0(z) W–1 contains positive values in its range (see figure 1). When z =−1/e (the only nonzero branch point), there is a –4 w double root w =−1 of the basic equation we = z. Figure 1 Real branches of the Lambert W function. The The conventional choice of branches assigns solid line is the principal branch W0; the dashed line is W−1, which is the only other branch that takes real values. The W (− / ) = W (− / ) =− 0 1 e −1 1 e 1 small filled circle at the branch point corresponds to the 2 one in figure 2. and implies that W1(−1/e−iε ) =−1+O(ε) is arbitrar- ily close to −1, because the conventional branch choice means that the point −1 is on the border between these The Wright ω function helps to solve the equation three branches. Each branch is a single-valued com- y + ln y = z. We have that if z = t ± iπ for t<−1, then plex function, analytic away from the branch point and y = ω(z).Ifz = t − iπ for t<−1, then there is no branch cuts. solution to the equation; if z = t + iπ for t<−1, then The set of all branches is often referred to, loosely, as there are two solutions: ω(z) and ω(z − 2πi). the Lambert W “function”; but of course W is multival- ued. Depending on context, the symbol W(z) can refer 1.1 Derivatives to the principal branch (k = 0) or to some unspecified Implicit differentiation yields branch. Numerical computation of any branch of W is −W(z) typically carried out by Newton’s method or a variant W (z) = e /(1 + W(z)) W (r iθ) k r θ thereof. Images of k e for various , , and are as long as W(z) =−1. The derivative can be simplified shown in figure 2. to the rational differential equation In contrast to more commonly encountered multi- dW W branched functions, such as the inverse sine or cosine, = dz z(1 + W) the branches of W are not linearly related. However, by if, in addition, z = 0. Higher derivatives follow natu- rephrasing things slightly, in terms of the unwinding rally. number z − ln(ez) K(z) := 2πi 1.2 Integrals and the related single-valued function Integrals containing W(x)can often be performed ana- z ω(z) := WK(z)(e ), lytically by the change of variable w = W(x), used in an inverse fashion: x = wew . Thus, which is called the Wright ω function, we do have the somewhat simple relationship between branches that sin W(x)dx = (1 + w)ew sin w dw, Wk(z) = ω(lnk z), where lnk z denotes ln z + 2πik and and integration using usual methods gives ln z is the principal branch of the logarithm, having −π< ( z) π 1 ( + w) w w − 1 w w w, Im ln . 2 1 e sin 2 e cos 2 Princeton Companion to Applied Mathematics Proof Euler knew that this series converges for −1/e <z 3 1/e. The nearest singularity is the branch point z = −1/e. 2 W can also be expanded in series about the branch point. The series at the branch point can be expressed 1 most cleanly using the tree function T(z) =−W(−z), ) ) W ω W z rather than or , but keeping with we have ( k 0 2 W −1−z /2 n n ( W0(−e ) =− (−1) anz , n Im 0 –1 −1−z2/2 n W−1(−e ) =− anz , n0 –2 where the an are given by a0 = a1 = 1 and n−1 –3 1 an = an− − kakan+ −k . (n + 1)a 1 1 1 k=2 –3 –2 –1 0 1 2 3 These give an interesting variation on Stirling’s formula Re (Wk (z ) ) for the asymptotics of n!. Euler’s integral z Figure 2 Images of circles and rays in the -plane under the ∞ z → W (z) −1 n −t maps k . The circle with radius e maps to a curve n! = t e dt that goes through the branch point, as does the ray along 0 the negative real axis. This graph was produced in Maple t = n x+iy is split at the maximum of the integrand ( ) by numerical evaluation of ω(x + iy) = WK( y)(e ) first i and each integral is transformed using the substitu- for a selection of fixed x and varying y, and then for a t =−nW (− −1−z2/2) k = selection of fixed y and varying x. These two sets produce tions k e , where 0 is used for orthogonal curves as images of horizontal and vertical lines t n and k =−1 otherwise. The integrands then 2 in x and y under ω, or, equivalently, images of circles with simplify to tne−t = nne−ne−nz /2 and the differentials r = x θ = y W constant e and rays with constant under . dt are obtained as series from the above expansions. Term-by-term integration leads to which eventually gives n+1 k+1/2 n 2 1 n! ∼ (2k + 1)a k+ Γ(k+ ), x en 2 1 n 2 2 sin W(x)dx = x + sin W(x) k0 W(x) − x cos W(x)+ C. where Γ is the gamma function. Asymptotic series for z →∞have been known since More interestingly, there are many definite integrals for W(z), including one for the principal branch that is due de Bruijn’s work in the 1960s. He also proved that to Poisson and is listed in the famous table of integrals the asymptotic series are actually convergent for large z W (z) ∼ (z)− by D. Bierens de Haan. The following integral, which enough . The series begin as follows: k lnk ( (z)) + o( z) is of relatively recent construction and which is valid ln lnk ln lnk . Somewhat surprisingly, these for z not in (−∞, −1/e], can be computed with spectral series can be reversed to give a simple (though appar- accuracy by the trapezoidal rule: ently useless) expansion for the logarithm in terms of W W(z) π ( − v v)2 + v2 compositions of : = 1 1 cot v. −v v d z 2π −π z + v csc ve cot ln z = W(z)+ W(W(z))+ W(W(W(z)))+··· 1.3 Series and Generating Functions + W (N)(z) + ln W (N)(z) Euler was the first to notice, using a series due to Lam- for a suitably restricted domain in z. The series W (N) bert, that what we now call the Lambert function has obtained by omitting the term ln W (z) is not con- z = a convergent series expansion around 0: vergent as N →∞, but for fixed N if we let z →∞ (−n)n−1 W(z) = zn. the approximation improves, although only tediously n! n1 slowly. Princeton Companion to Applied Mathematics Proof 3 2 Applications Returning to serious applications, we note that the tree function T(z) has huge combinatorial significance Because W is a so-called implicitly elementary func- for all kinds of enumeration. Many instances can be tion, meaning it is defined as an implicit solution of found in Knuth’s selected papers, for example. Addi- an equation containing only elementary functions, it tionally, a key reference to the tree function is a note can be considered an “answer” rather than a question. by Borel in Comptes Rendus de l’Académie des Sciences That it solves a simple rational differential equation (volume 214, 1942; reprinted in his Œuvres). The gen- means that it occurs in a wide range of mathematical erating function for probabilities of the time between models. Out of many applications, we mention just two periods when a queue is empty, given Poisson arrivals favorites. and service time σ ,isT(σe−σ z)/σ . First, a serious application. W occurs in a chemi- cal kinetics model of how the human eye adapts to 3 Solution of Equations darkness after exposure to bright light: a phenomenon known as bleaching. The model differential equation is Several equations containing algebraic quantities d KmOp(t) together with logarithms or exponentials can be manip- Op(t) = , w dt τ(Km + Op(t)) ulated into either the form y + ln y = z or we = z, W and its solution in terms of W is and hence solved in terms of the Lambert function. However, it appears that not every exponential polyno- B B/K −t/τ Op(t) = KmW e m , Km mial equation—or even most of them—can be solved in this way. We point out one equation, here, that starts where the constant B is the initial value of Op(0): with a nested exponential and can be solved in terms that is, the amount of initial bleaching. The constants of branch differences of W : a solution of Km and τ are determined by experiment.
Recommended publications
  • 3 Elementary Functions
    3 Elementary Functions We already know a great deal about polynomials and rational functions: these are analytic on their entire domains. We have thought a little about the square-root function and seen some difficulties. The remaining elementary functions are the exponential, logarithmic and trigonometric functions. 3.1 The Exponential and Logarithmic Functions (§30–32, 34) We have already defined the exponential function exp : C ! C : z 7! ez using Euler’s formula ez := ex cos y + iex sin y (∗) and seen that its real and imaginary parts satisfy the Cauchy–Riemann equations on C, whence exp C d z = z is entire (analytic on ). Indeed recall that dz e e . We have also seen several of the basic properties of the exponential function, we state these and several others for reference. Lemma 3.1. Throughout let z, w 2 C. 1. ez 6= 0. ez 2. ez+w = ezew and ez−w = ew 3. For all n 2 Z, (ez)n = enz. 4. ez is periodic with period 2pi. Indeed more is true: ez = ew () z − w = 2pin for some n 2 Z Proof. Part 1 follows trivially from (∗). To prove 2, recall the multiple-angle formulae for cosine and sine. Part 3 requires an induction using part 2 with z = w. Part 4 is more interesting: certainly ew+2pin = ew by the periodicity of sine and cosine. Now suppose ez = ew where z = x + iy and w = u + iv. Then, by considering the modulus and argument, ( ex = eu exeiy = eueiv =) y = v + 2pin for some n 2 Z We conclude that x = u and so z − w = i(y − v) = 2pin.
    [Show full text]
  • Inverse Trigonometric Functions
    Chapter 2 INVERSE TRIGONOMETRIC FUNCTIONS vMathematics, in general, is fundamentally the science of self-evident things. — FELIX KLEIN v 2.1 Introduction In Chapter 1, we have studied that the inverse of a function f, denoted by f–1, exists if f is one-one and onto. There are many functions which are not one-one, onto or both and hence we can not talk of their inverses. In Class XI, we studied that trigonometric functions are not one-one and onto over their natural domains and ranges and hence their inverses do not exist. In this chapter, we shall study about the restrictions on domains and ranges of trigonometric functions which ensure the existence of their inverses and observe their behaviour through graphical representations. Besides, some elementary properties will also be discussed. The inverse trigonometric functions play an important Aryabhata role in calculus for they serve to define many integrals. (476-550 A. D.) The concepts of inverse trigonometric functions is also used in science and engineering. 2.2 Basic Concepts In Class XI, we have studied trigonometric functions, which are defined as follows: sine function, i.e., sine : R → [– 1, 1] cosine function, i.e., cos : R → [– 1, 1] π tangent function, i.e., tan : R – { x : x = (2n + 1) , n ∈ Z} → R 2 cotangent function, i.e., cot : R – { x : x = nπ, n ∈ Z} → R π secant function, i.e., sec : R – { x : x = (2n + 1) , n ∈ Z} → R – (– 1, 1) 2 cosecant function, i.e., cosec : R – { x : x = nπ, n ∈ Z} → R – (– 1, 1) 2021-22 34 MATHEMATICS We have also learnt in Chapter 1 that if f : X→Y such that f(x) = y is one-one and onto, then we can define a unique function g : Y→X such that g(y) = x, where x ∈ X and y = f(x), y ∈ Y.
    [Show full text]
  • 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]
  • 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.
    [Show full text]
  • Inverse Trigonometric Functions
    INVERSE TRIGONOMETRIC FUNCTIONS MATH 153, SECTION 55 (VIPUL NAIK) Corresponding material in the book: Section 7.7. What students should already know: The definitions of the trigonometric functions and the key identities relating them. What students should definitely get: The definitions of the inverse trigonometric functions for sine and cosine. The definitions of the other inverse trigonometric functions, and the differentiation rules for these functions. The application of these to some specific types of indefinite integration. What students should hopefully get: The domain/range subtleties for inverse trigonometric func- tions. The one-sided nature of inverses, and how to compute arcsin ◦ sin and similar things in general. The “magic” of finding inverse trigonometric functions as antiderivatives of algebraic functions (rational functions and radical functions). Note: If you would like a more detailed review of trigonometry concepts and ideas, please look at the notes titled Trigonometry review back from 152. These notes were not covered in class, but were included for reference. Executive summary Words ... (1) The functions sin, cos, tan, and their reciprocals are all periodic functions. While tan and cot have a period of π, the other four have a period of 2π each. While sin and cos are continuous and defined for all real numbers, the other four functions have points of discontinuity where they approach infinities of different signs from both sides. Also, tan and cot are one-to-one on a single period domain, while the other functions are usually two-to-one. (2) To construct inverses to these functions, we take intervals small enough such that the function is one-to-one restricted to that interval, but the range of the function restricted to that interval is the whole range.
    [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]