Euler-Maclaurin summation formula

Similar documents
New asymptotic expansion for the Γ (x) function

Taylor Series and Asymptotic Expansions

Harmonic Numbers. Math. 55 Some Inequalities May 9, :54 pm

Taylor Series and Series Convergence (Online)

Example 1: What do you know about the graph of the function

MATH39001 Generating functions. 1 Ordinary power series generating functions

Lecture 12 Reactions as Rare Events 3/02/2009 Notes by MIT Student (and MZB)

A Symbolic Operator Approach to Several Summation Formulas for Power Series

Extension of Summation Formulas involving Stirling series

Euler s Formula for.2n/

Course. Print and use this sheet in conjunction with MathinSite s Maclaurin Series applet and worksheet.

1 Basic algebra. A few formulas: (a+b) 2 = a 2 +2ab+b 2 (a+b) 3 = a 3 +3a 2 b+3ab 2 +b 3.

Lecture 4.2 Finite Difference Approximation

1 Exponential Functions Limit Derivative Integral... 5

Further factorising, simplifying, completing the square and algebraic proof

Lecture 4b. Bessel functions. Introduction. Generalized factorial function. 4b.1. Using integration by parts it is easy to show that

= 1 2 x (x 1) + 1 {x} (1 {x}). [t] dt = 1 x (x 1) + O (1), [t] dt = 1 2 x2 + O (x), (where the error is not now zero when x is an integer.

Topic 13 Notes Jeremy Orloff

Physics 116A Solutions to Homework Set #2 Winter 2012

Using the TI-92+ : examples

Particular Solutions

Partial Fractions. dx dx x sec tan d 1 4 tan 2. 2 csc d. csc cot C. 2x 5. 2 ln. 2 x 2 5x 6 C. 2 ln. 2 ln x

Lecture 7: Indeterminate forms; L Hôpitals rule; Relative rates of growth. If we try to simply substitute x = 1 into the expression, we get

APPM 1360 Final Exam Spring 2016

MATH 1010E University Mathematics Lecture Notes (week 8) Martin Li

Math 1B Final Exam, Solution. Prof. Mina Aganagic Lecture 2, Spring (6 points) Use substitution and integration by parts to find:

Worksheet Week 7 Section

Some Fun with Divergent Series

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

A rational approximation of the arctangent function and a new approach in computing pi

On the Convergence of the Summation Formulas Constructed by Using a Symbolic Operator Approach

Elementary properties of the gamma function

y x is symmetric with respect to which of the following?

dx dx x sec tan d 1 4 tan 2 2 csc d 2 ln 2 x 2 5x 6 C 2 ln 2 ln x ln x 3 x 2 C Now, suppose you had observed that x 3

Answer Key 1973 BC 1969 BC 24. A 14. A 24. C 25. A 26. C 27. C 28. D 29. C 30. D 31. C 13. C 12. D 12. E 3. A 32. B 27. E 34. C 14. D 25. B 26.

Calculus Favorite: Stirling s Approximation, Approximately

Generating Functions

Pure Further Mathematics 2. Revision Notes

1 Rational Exponents and Radicals

a > 0 parabola opens a < 0 parabola opens

On A Central Binomial Series Related to ζ(4).

Mathematics 132 Calculus for Physical and Life Sciences 2 Exam 3 Review Sheet April 15, 2008

9.8 APPLICATIONS OF TAYLOR SERIES EXPLORATORY EXERCISES. Using Taylor Polynomials to Approximate a Sine Value EXAMPLE 8.1

FY B. Tech. Semester II. Complex Numbers and Calculus

6.1 Antiderivatives and Slope Fields Calculus

10.4: WORKING WITH TAYLOR SERIES

This ODE arises in many physical systems that we shall investigate. + ( + 1)u = 0. (λ + s)x λ + s + ( + 1) a λ. (s + 1)(s + 2) a 0

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Math221: HW# 7 solutions

NEW ASYMPTOTIC EXPANSION AND ERROR BOUND FOR STIRLING FORMULA OF RECIPROCAL GAMMA FUNCTION

Some Applications of the Euler-Maclaurin Summation Formula

Peter Bala, Nov

An Introduction to the Gamma Function

The incomplete gamma functions. Notes by G.J.O. Jameson. These notes incorporate the Math. Gazette article [Jam1], with some extra material.

Fourier Analysis Fourier Series C H A P T E R 1 1

Asymptotics of Integrals of. Hermite Polynomials

Fitting Integrands to Basic Rules

Chapter 4 Sequences and Series

Math RE - Calculus I Exponential & Logarithmic Functions Page 1 of 9. y = f(x) = 2 x. y = f(x)

6 = 1 2. The right endpoints of the subintervals are then 2 5, 3, 7 2, 4, 2 9, 5, while the left endpoints are 2, 5 2, 3, 7 2, 4, 9 2.

c) Words: The cost of a taxicab is $2.00 for the first 1/4 of a mile and $1.00 for each additional 1/8 of a mile.

Calculus w/applications Prerequisite Packet Paint Branch High School Math Department

Applications of Fourier Series and Zeta Functions to Genocchi Polynomials

New asymptotic expansion for the Γ (z) function.

National Quali cations AHEXEMPLAR PAPER ONLY

4.4 Integration by u-sub & pattern recognition

Exponential, Logarithmic and Inverse Functions

COMPLETE MONOTONICITIES OF FUNCTIONS INVOLVING THE GAMMA AND DIGAMMA FUNCTIONS. 1. Introduction

INTEGRATION OF RATIONAL FUNCTIONS BY PARTIAL FRACTIONS

Answers for the problems can be found at the end of this packet starting on Page 12.

Gaussian integrals. Calvin W. Johnson. September 9, The basic Gaussian and its normalization

MATH 1325 Business Calculus Guided Notes

is on the graph of y = f 1 (x).

Chapter 3 Single Random Variables and Probability Distributions (Part 1)

Integral Theory. Prof. Dr. W. P. Kowalk Universität Oldenburg Version 2 from 29/04/08

The Fundamental Theorem of Calculus Part 3

Section 3.3 Limits Involving Infinity - Asymptotes

Operators. Here is a differntial equation for the motion of a damped spring, in a suitable system of units: d 2 x dx x = 0, dt dt

Analytic Trigonometry

Exact and Approximate Numbers:

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

Calculation of Cylindrical Functions using Correction of Asymptotic Expansions

Bernoulli Polynomials

A sequence { a n } converges if a n = finite number. Otherwise, { a n }

1/100 Range: 1/10 1/ 2. 1) Constant: choose a value for the constant that can be graphed on the coordinate grid below.

A Propagating Wave Packet The Group Velocity

Chapter 4. Series Solutions. 4.1 Introduction to Power Series

Diagnostic Tests. (c) (sa sb )(sa sb ) Diagnostic Test: Algebra

Math 123, Week 9: Separable, First-Order Linear, and Substitution Methods. Section 1: Separable DEs

LESSON 2 Negative exponents Product and power theorems for exponents Circle relationships

Composition of and the Transformation of Functions

Fourier transform of tempered distributions

ENGI 3424 First Order ODEs Page 1-01

A BRIEF REVIEW OF ALGEBRA AND TRIGONOMETRY

SYLLABUS FOR ENTRANCE EXAMINATION NANYANG TECHNOLOGICAL UNIVERSITY FOR INTERNATIONAL STUDENTS A-LEVEL MATHEMATICS

Math 319 Problem Set #2 Solution 14 February 2002

Name. SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Core Connections Algebra 2 Checkpoint Materials

Lecture 11: Fourier Cosine Series

Transcription:

Physics 4 Spring 6 Euler-Maclaurin summation formula Lecture notes by M. G. Rozman Last modified: March 9, 6 Euler-Maclaurin summation formula gives an estimation of the sum N in f i) in terms of the integral N f )d and correction terms. It was discovered independently by Euler and Maclaurin and n published by Euler in 73, and by Maclaurin in 74. The presentation below follows[], [, Ch Y], [3, Ch ]. Preliminaries. Bernoulli numbers The Bernoulli numbers are rational numbers that can be defined as coefficients in the following power series epansion: e n n!. ) These numbers are important in number theory, analysis, and differential topology. Unless you are using a computer algebra system for series epansion it is not easy to find the coefficients in the right hand side of Eq. ). However, it is easy to write Taylor series for the reciprocal of the left hand side of Eq. ): e k k k! k k + )! + + 6 + 3 4 +.... ) k Thus, the Bernoulli numbers can be computer recurrently by equating to zero the coefficients at positive powers of in the identity e e k + )! n! k+n n,k ) + + 6 + 3 4 +... B + B! + B )! +... B B +!! + B ) B +!! 3!! + B!! + B ) +.... 3)!! For eample, Series[/Ep[] - ),,, 6] in Mathematica Page of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 From here, B, B B, B 3 B B 6, etc. B 4) is the only non-zero Bernoulli number with an odd subscript. The first Bernoulli numbers with even subscripts are as following: B, B 6, B 4 3, B 6 4, B 8 3, B 5 66,.... 5) The first few terms in the Epansion Eq. ) are as following: e + 4 7 + 6 34 8 96 + 4796 +.... 6) Preliminaries. Operators ˆD and ˆT If f ) is a good function meaning that we can apply formulas of differential calculus without reservations ), then the correspondence can be regarded as the operator of differentiation f ) f ) d f ) 7) d ˆD d d that act on the function and transforms it into derivative. Given ˆD, we can naturally define the powers of the operator of differentiation ˆD f ) ˆD ˆD f ) ) d d d f ) d d d f ) i.e. ˆD d d, 9) or in general, ˆD n dn d n. ) We can define functions of the operator of differentiation as following: if g) is a good function that can be epanded into power series, g) 8) a n n, ) then the operator function g ˆD) is defined as following. g ˆD) a n ˆD n ) Page of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 Let s consider the eponential function of the differential operator: When applied to a good function f ), ˆT f ) ˆT e ˆD ˆD n ˆD n f ) ) n! The last epression in Eq. 4) is just a Taylor series for f + ). Thus, n!. 3) d n f n! d n. 4) ˆT f ) f + ). 5) and ˆT can be regarded as the shift operator. Shifting by can be considered as a composition of two shift by one operations: f + ) ˆT f + ) ˆT ˆT f ) ) ˆT f ). 6) Similarly, shifting by a positive value s can be considered as the result of operator ˆT s : f + s) ˆT s f ). 7) 3 Summation of series in terms of operator ˆD We can now formally write f + n) f ) + f + ) + f + ) +... f ) + ˆT f ) + ˆT f ) +... + ˆT + ˆT +... ) f ) ˆT f ) f ), 8) e ˆD where the epression for the sum of geometric progression was used. Treating ˆD as an ordinary variable, and using Bernoulli numbers, we obtain the epansion: ˆD e ˆD ˆD e ˆD ˆD ˆD + n ˆD + n n! ˆD n n! ˆD n 9) The question remaining before Eq. 9) can be applied is what does ˆD mean. It is natural to assume that ˆD satisfies the relation ) ˆD ˆD f ) ˆD f ) f ). ) ˆD Page 3 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 Therefore ˆD has to be an inverse operator to differentiation, that is integration. ˆD f ) f ) d + C. ) We still need to fi an integration constant i.e. to chose the integration limits. As we see later, we obtain consistent results, if ˆD f ) f ) d, ) or Collecting the results together, ˆD f ) f ) d. 3) f + n) f ) d + f ) n n! d n f ). 4) d n 4 The Euler-Maclaurin summation formula Equation 4) is the Euler-Maclaurin summation formula. It can be rewritten for the case of a finite sum as following: N kn f k) f k) kn f k) kn kn+ kn f k + n) k n + f ) d n N n n! f k) f k) + f N) f k + N) + f N) k N d n f n) d n + f ) d + f ) d + f n) f N) + f N) n n! d n f N) d n [ f n) + f N) ] + n n! [ d n f d N n dn f ] d n n. 5) Page 4 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 5 Stirling s formula As an application of Euler-Maclaurin summation formula, let s consider the Stirling s approimation for Γn) for positive integer n. Γn + ) n!, 6) ln Γn + ) ) ln n! ln 3... n ) n ) n ln k. 7) The first two terms in Eq. 5) give us the following approimation: ln Γn + ) ) lnn!) The net correction requires more efforts. n k ln) d + ln) + lnn)) n ln) n d + lnn) n lnn) n + + lnn). 8) Let s notice first that the term with the derivatives of ln) at n in Eq. 5) are proportional to negative powers of n and thus as n. On the other hand, the sum of the term with the derivatives of ln) at is a constant independent of n. Thus, n ) n [ ln Γn + ) ln n! ln + ln n + lnc) ln C n ) n ] n, 9) e e or Γn + ) n! C n ) n n Cn n+ e n. 3) e In order to find the constant in Eq. 3), we are going to use the duplication formula for Gamma function, Eq. 47). We first rewrite eq. 47) as following: Γn + ) n Γn + ) Γ n + ), 3) π or n)! n n! Γ n + ), 3) π Let s accept without proof that Eq. 3) that we derived for integer n works also for any large positive argument. Indeed, if Eq. 3) is a good approimation for Γn) and for Γn + ) it is reasonable to assume that it works in between n and n +. Therefore, Γ n + ) Γ n ) + C n ) n e n+. 33) Page 5 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 For n, Thus, n ) n n n ) n n Γ n n e. 34) n + ) Cn n e n. 35) Substituting Eq. 3), 35) into Eq. 3), we obtain: C n) n+ e n n π Cn n+ e n Cn n e n. 36) After simplification, Finally, C π. 37) Γn + ) n! n ) n πn πn n+ e n. e 38) 7 6 Figure : Stirling s approimation Eq. 38), solid line, compared with Gamma function, dashed line, and factorial, circular markers. 5 4 3.5..5..5..5 3. 3.5 6 Eamples Eample. Lets consider the following sum: Sα, k) e αn ) k, α >, k >. 39) n Page 6 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 The case of small α, α, is most difficult for a numerical summation, since many terms need to be added in the sum Eq. 39). Small α is where the Euler-Maclaurin approimation works the best. Sα, k) Introduction of a new integration variable, u α k transforms the integral as following: so that k α k e α ) k d e αk d. 4) u α ) k d k α k u k du, 4) e u u k u k du α k ) Γ, 4) k k Sα, k) α k ) Γ. 43) k k The approimation Eq. 43) is compared with the results of numerical calculations in Fig. and Fig. 3. 45 Figure : Euler-Maclaurin approimation Eq. 43), dashed line, compared with numerical value of the sum Sα,), solid line. Sa) 4 35 3 5 5 5 Sa) n e an numerics Euler-Maclaurin approimation -3 - - a Eample. Euler-Maclaurin summation formula can produce eact epression for the sum if f ) is a polynomial. Indeed, in this case only finite number of derivatives of f ) is non zero. Thus there is only a finite number of correction terms in Eq. 5). Page 7 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 9 Figure 3: Euler-Maclaurin approimation Eq. 43), dashed line, compared with numerical value of the sum Sα,), solid line. Sa) 8 7 6 5 4 3 Sa) n e an4 numerics Euler-Maclaurin approimation -3 - - a Let s consider the following sum: S 3 Euler-Maclaurin epression for the sum is eactly as following, S 3 n 4 3 d + n 4 ) + where we used B 6. After some algebra, n k 3. 44) k n 3 + ) + B n 3 + ) + 4 3n 3 ) + B 4 4! 6 6) n ), 45) which is indeed the correct result. S 3 4 n n + ), 46) Appendi A. Duplication formula for Gamma function The duplication formula for the Gamma function is Γz) z Γz) Γ z + ) π 47) It is also called the Legendre duplication formula. Page 8 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 We start from the definition of Beta function, Bz, z). Bz, z) z ) z d. 48) Let s change the integration variable to t, +t, so that t and d dt. This transforms Eq. 48) into Bz, z) z t) z + t) z dt z t ) z dt. 49) Changing the integration variable in the last integral to u t, so that u and dt u, we transform the integral to i.e. In terms of Gamma function, so that Bz, z) z u u) z du z B Bz, z) z B B Bz, z) ), z Γz)Γz) Γz) ), z, 5) ), z. 5) Γz) Γz), 5) Γz) Γ ) Γz) Γ ), 53) z + Γ ) Γz) z Γ ). 54) z + Rearranging, and using the value of Γ/) π, we see that Γz) z Γz)Γ z + ), 55) π which is the duplication formula. References [] Sergey Sadov. Euler s derivation of the euler-maclaurin formula, 3. URL http://www. math.mun.ca/ sergey/winter3/m33/asst8/eumac.pdf. [Online; accessed 6-3-4]. Page 9 of 639648

Physics 4 Summation of series: Euler-Maclaurin formula Spring 6 [] Sanjoy Mahajan. Street-Fighting Mathematics: The Art of Educated Guessing and Opportunistic Problem Solving. MIT Press,. [3] Hung Cheng. Advanced Analytic Methods in Applied Mathematics, Science, and Engineering. LuBan Press, 7. Page of 639648