Special Techniques For Solving Integrals: Examples And Problems 9811235759, 9789811235757

This volume contains techniques of integration which are not found in standard calculus and advanced calculus books. It

182 60 4MB

English Pages 400 [401] Year 2021

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Contents
Preface
About the Author
1. Special Substitutions
1.1 Introduction
1.2 Euler Substitutions
1.2.1 First Euler substitution
1.2.2 Second Euler substitution
1.2.3 Third Euler substitution
1.3 Abel’s Substitution
1.4 The Differential Binomial and Chebyshev’s Theorem
1.5 Hyperbolic Substitutions for Integrals
1.6 General Trigonometric Substitution
1.6.1 Restrictions and extensions
1.7 Arithmetic-Geometric Mean and the Gauss Formula
1.7.1 The arithmetic-geometric mean
1.7.2 The Gauss formula
1.8 Some Interesting Examples
2. Solving Integrals by Differentiation with Respect to a Parameter
2.1 Introduction
2.2 General Examples
2.3 Using Differential Equations
2.4 Advanced Techniques
2.5 The Basel Problem and Related Integrals
2.5.1 Introduction
2.5.2 Special integrals with arctangents
2.5.3 Several integrals with logarithms
2.6 Some Theorems
3. Solving Logarithmic Integrals by Using Fourier Series
3.1 Introduction
3.2 Examples
3.3 A Binet Type Formula for the Log-Gamma Function
4. Evaluating Integrals by Laplace and Fourier Transforms. Integrals Related to Riemann’s Zeta Function
4.1 Introduction
4.2 Laplace Transform
4.3 A Tale of Two Integrals
4.4 Parseval’s Theorem
4.5 Some Important Hyperbolic Integrals
4.5.1 Expansion of the cotangent in partial fractions
4.5.2 Evaluation of important hyperbolic integrals
4.6 Exponential Polynomials and Gamma Integrals
4.7 The Functional Equation of the Riemann Zeta Function
4.8 The Functional Equation for Euler’s L(s) Function
4.9 Euler’s Formula for Zeta(2n)
4.9.1 Bernoulli numbers
4.9.2 Euler numbers and Euler’s formula for L(2n+1)
5. Various Techniques
5.1 The Formula of Poisson
5.2 Frullani Integrals
5.3 A Special Formula
5.4 Miscellaneous Selected Integrals
5.5 Catalan’s Constant
5.6 Summation of Series by Using Integrals
5.7 Generating Functions for Harmonic and Skew-Harmonic Numbers
5.7.1 Harmonic numbers
5.7.2 Skew-harmonic numbers
5.7.3 Double integrals related to the above series
5.7.4 Expansions of dilogarithms and trilogarithms
5.8 Fun with Lobachevsky
5.9 More Special Functions
Appendix A. List of Solved Integrals
References
Index
Recommend Papers

Special Techniques For Solving Integrals: Examples And Problems
 9811235759, 9789811235757

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

SPECIAL TECHNIQUES FOR SOLVING INTEGRALS Examples and Problems

12244_9789811235757_TP.indd 1

23/11/21 11:20 AM

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

SPECIAL TECHNIQUES FOR SOLVING INTEGRALS Examples and Problems

Khristo N Boyadzhiev Ohio Northern University, USA

NEW JERSEY



LONDON

12244_9789811235757_TP.indd 2



SINGAPORE



BEIJING



SHANGHAI



HONG KONG



TAIPEI



CHENNAI



TOKYO

23/11/21 11:20 AM

Published by World Scientific Publishing Co. Pte. Ltd. 5 Toh Tuck Link, Singapore 596224 USA office: 27 Warren Street, Suite 401-402, Hackensack, NJ 07601 UK office: 57 Shelton Street, Covent Garden, London WC2H 9HE

Library of Congress Cataloging-in-Publication Data Names: Boyadzhiev, Khristo N., author. Title: Special techniques for solving integrals : examples and problems / Khristo N. Boyadzhiev, Ohio Northern University, USA. Description: Hackensack : World Scientific Publishing Co. Pte. Ltd., [2022] | Includes bibliographical references and index. Identifiers: LCCN 2021049418 | ISBN 9789811235757 (hardcover) | ISBN 9789811236259 (paperback) | ISBN 9789811235764 (ebook) Subjects: LCSH: Integrals. | Calculus. Classification: LCC QA308 .B69 2022 | DDC 515/.43--dc23/eng/20211110 LC record available at https://lccn.loc.gov/2021049418

British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library.

Copyright © 2022 by World Scientific Publishing Co. Pte. Ltd. All rights reserved. This book, or parts thereof, may not be reproduced in any form or by any means, electronic or mechanical, including photocopying, recording or any information storage and retrieval system now known or to be invented, without written permission from the publisher.

For photocopying of material in this volume, please pay a copying fee through the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, USA. In this case permission to photocopy is not required from the publisher.

For any available supplementary material, please visit https://www.worldscientific.com/worldscibooks/10.1142/12244#t=suppl

Printed in Singapore

LaiFun - 12244 - Special Techniques for Solving Integrals.indd 1

15/11/2021 8:49:30 am

This book is dedicated to the memory of my teacher Yaroslav A. Tagamlitski

v

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

Preface

This book is intended for students and professionals who need to solve integrals or like to solve integrals and want to learn more about the various methods on how to do that. Readers will find here techniques of integration which are not found in standard calculus and advanced calculus books. Undergraduate and graduate students whose studies include mathematical analysis or mathematical physics will strongly benefit from this material. Moreover, many items, examples and problems discussed here can be used in student projects and student research. Students training for mathematical competitions (like the MIT integration bee) will find here many useful techniques and examples. The book will be quite helpful to mathematicians involved in research and teaching in areas related to calculus, advanced calculus and real analysis. Examples from the book can be used in classwork or for home assignments. This way the book can be a helpful supplement to calculus and advanced calculus courses. The reader will see how Parseval’s theorem for Fourier series and for Fourier and Laplace transforms efficiently work for solving integrals. Among other things the book contains solutions to about twenty problems from the American Mathematical Monthly, the College Mathematics Journal, the Mathematics Magazine, and the Fibonacci Quarterly. All these solutions were found by the author and submitted to the journals. They may differ from the published solutions. Throughout the book “Monthly Problem” means a problem from the American Mathematical Monthly. The content is organized in five chapters. In the first chapter the reader will see the classical substitutions of Abel and Euler which are missing from standard calculus books. The important theorem of Chebyshev on the differential binomial is also found there. At the end of Chapter 1 there vii

viii

Special Techniques for Solving Integrals

is a special bonus — the Gauss formula for the Arithmetic-Geometric Mean proved with the help of a special trigonometric substitution. The second and the third chapters provide two efficient techniques for solving definite integrals. The second chapter is focused on differentiation with respect to a suitably introduced parameter in the integral. This method is illustrated by numerous examples. In some cases this method is combined with differential equations. At the end of Chapter 2 there is another bonus for the reader – examples of integrals which help to solve the famous Basel problem, the evaluation of the series ] (2) 1  1 / 22  1 / 32  ... . In the third chapter we present various important integrals evaluated by using Fourier series in combination with the logarithmic series. The examples include log-gamma, log-sine, and log-cosine integrals. At the end of this chapter we prove a special Binet type formula for the loggamma function ln *( z ) . The fourth chapter deals with an unusual but powerful technique — evaluation of integrals by using Laplace and Fourier transforms. Here we demonstrate the efficiency of Parseval’s theorem applied to these transforms. Some important hard integrals involving the Gamma function can be evaluated with the help of Parseval’s formula and the exponential polynomials. The fourth chapter also presents a special bonus for the reader. We give a new proof of the functional equation of the Riemann zeta function ] ( s ) . The proof is based on two special integrals. This is followed by a proof of the famous Euler formula relating the values ] (2n) to the Bernoulli numbers

] (2n)

(1) n 1 (2S ) 2 n B 2 n (n 1, 2,...) . 2(2n)!

In the fifth chapter the reader will see several special formulas (Frullani’s formula, Poisson’s integral formula and a special formula discovered by the author) which produce immediate results even with some very tough

Preface

ix

integrals. In that chapter we also show how some challenging series can be evaluated by using integrals. The fifth chapter has a section dedicated to power series with harmonic and skew-harmonic numbers where special integration is also needed. Appendix A represents a list of about 330 integrals solved in the book. The reader will find proofs for many integrals from the popular reference tables of Gradshteyn and Ryzhik [25] and Prudnikov, Brychkov, Marichev [43] (see also [35]). There is a minimal overlap if any with the books of Boros and Moll [7] and Nahin [37]. Together with many classical formulas the book presents also some new results not published before. Here at the end I want to express my gratitude to my wife Irina Boyadzhiev for her indispensable help in putting the book together.

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

About the Author

Khristo N. Boyadzhiev is Professor of Mathematics at Ohio Northern University. He has about 90 research publications in the areas of classical analysis, number theory, and operator theory. He received his Ph.D. in mathematics from Sofia University “St. Kliment Ohridski” and worked at the Bulgarian Academy of Sciences before joining ONU.

xi

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

Contents

Preface .......................................................................................................................

vii

About the Author ........................................................................................................ 1. Special Substitutions ............................................................................................. 1.1 Introduction ................................................................................................... 1.2 Euler Substitutions ........................................................................................ 1.2.1 First Euler substitution ........................................................................ 1.2.2 Second Euler substitution .................................................................... 1.2.3 Third Euler substitution ....................................................................... 1.3 Abel’s Substitution ....................................................................................... 1.4 The Differential Binomial and Chebyshev’s Theorem .................................. 1.5 Hyperbolic Substitutions for Integrals ........................................................... 1.6 General Trigonometric Substitution ............................................................. 1.6.1 Restrictions and extensions ................................................................. 1.7 Arithmetic-Geometric Mean and the Gauss Formula .................................... 1.7.1 The arithmetic-geometric mean ........................................................... 1.7.2 The Gauss formula .............................................................................. 1.8 Some Interesting Examples ...........................................................................

xi 1 1 2 3 3 4 10 12 17 22 25 26 26 27 30

2. Solving Integrals by Differentiation with Respect to a Parameter ........................ 41 2.1 Introduction ................................................................................................... 41 2.2 General Examples.......................................................................................... 47 2.3 Using Differential Equations ......................................................................... 69 2.4 Advanced Techniques ................................................................................... 79 2.5 The Basel Problem and Related Integrals ...................................................... 85 2.5.1 Introduction ......................................................................................... 85 2.5.2 Special integrals with arctangents ....................................................... 89 2.5.3 Several integrals with logarithms ........................................................ 92 2.6 Some Theorems ............................................................................................. 101 3. Solving Logarithmic Integrals by Using Fourier Series ........................................ 3.1 Introduction ................................................................................................... 3.2 Examples ....................................................................................................... 3.3 A Binet Type Formula for the Log-Gamma Function ................................... 3.4 Some Theorems .............................................................................................

103 103 104 140 143

4. Evaluating Integrals by Laplace and Fourier Transforms. Integrals Related to Riemann’s Zeta Function .................................................................................. 145 4.1 Introduction ................................................................................................... 145 4.2 Laplace Transform ........................................................................................ 146 xiii

xiv

Special Techniques for Solving Integrals 4.3 A Tale of Two Integrals ................................................................................ 4.4 Parseval’s Theorem ....................................................................................... 4.5 Some Important Hyperbolic Integrals............................................................ 4.5.1 Expansion of the cotangent in partial fractions ................................... 4.5.2 Evaluation of important hyperbolic integrals ...................................... 4.6 Exponential Polynomials and Gamma Integrals ............................................ 4.7 The Functional Equation of the Riemann Zeta Function ............................... 4.8 The Functional Equation for Euler’s L(s) Function ....................................... 4.9 Euler’s Formula for Zeta(2n)......................................................................... 4.9.1 Bernoulli numbers ............................................................................... 4.9.2 Euler numbers and Euler’s formula for L(2n + 1) ...............................

158 164 171 171 176 181 189 198 200 200 204

5. Various Techniques .............................................................................................. 5.1 The Formula of Poisson................................................................................. 5.2 Frullani Integrals .......................................................................................... 5.3 A Special Formula ......................................................................................... 5.4 Miscellaneous Selected Integrals................................................................... 5.5 Catalan’s Constant......................................................................................... 5.6 Summation of Series by Using Integrals ....................................................... 5.7 Generating Functions for Harmonic and Skew-Harmonic Numbers ........................................................................................................ 5.7.1 Harmonic numbers .............................................................................. 5.7.2 Skew-harmonic numbers ..................................................................... 5.7.3 Double integrals related to the above series ........................................ 5.7.4 Expansions of dilogarithms and trilogarithms ..................................... 5.8 Fun with Lobachevsky .................................................................................. 5.9 More Special Functions .................................................................................

215 215 219 224 239 264 278 290 290 303 311 313 316 321

Appendix A. List of Solved Integrals.......................................................................... 333 References ...................................................................................................................

379

Index .............................................................................................................. .............. 385

Chapter 1

Special Substitutions

1.1 Introduction A very efficient method for solving integrals is using a substitution. That is, replacing the original variable by a new variable which helps simplify the integral. Most calculus textbooks, however, use only the “u-substitution” and the standard trigonometric substitutions. For example, the integral

³ (5  x)

3

dx

can be solved immediately with the u-substitution u = 5 + x. The integral

³

3  x 2 dx

3 sin T . In can be solved quickly with the trigonometric substitution x many important cases, however, the u-substitution and the trigonometric substitutions do not help. For example, the integral

³ ( x  3)

dx 3x  x 2  2

is difficult to solve with only these two substitutions. The natural way to solve this integral is by the second Euler substitution (see below Example 1.2.2). Unfortunately, many tools of classical analysis are not present in standard calculus books. The purpose of this chapter is to fill part of this gap by reviving several classical substitutions.

1

2

Special Techniques for Solving Integrals

We also demonstrate that in certain cases the hyperbolic substitutions are more efficient than the trigonometric substitutions. Further, in Section 1.7 we present a very special substitution which helps to prove the Gauss formula for the Arithmetic-Geometric Mean of two positive numbers. The u-substitution and the simple trigonometric substitutions are prerequisites for this chapter (and the entire book) as well as the integration by parts formula

³ f dg

fg  ³ g df

and for definite integrals b

b

³ f dg

fg a  ³ g df b

a

a

where a or b, or both can be r f . 1.2 Euler Substitutions Euler’s substitutions are used mostly for solving indefinite integrals of the form (1.1)

³ R x,



a x 2  bx  c dx

by “removing” the radical. There are three specific substitutions suggested by Euler. In each one of them the idea is to eliminate the term with x 2 . We assume that a z 0 and that the polynomial ax 2  bx  c is not negative, i.e. the graph of the parabola y ax 2  bx  c is not entirely under the x-axis (so that the radical y is defined at least on some interval). Note that when b 0 the radical can be removed by a trigonometric or hyperbolic substitution (Section 1.5).

Special Substitutions

3

1.2.1 First Euler substitution When a ! 0 we introduce a new variable t by setting (1.2)

x a t

a x 2  bx  c .

Squaring both sides in this equation we get

ax 2  2 xt a  t 2

ax 2  bx  c

so that the term ax 2 cancels out. Solving for x we write t2  c

x

b  2t a

.

This way the integral takes the form

³ Q(t )dt

(1.3)

where Q(t ) is a rational function. In general, this integral can be solved by partial fractions. At the end we return to the original variable by setting t

a x 2  bx  c  x a .

1.2.2 Second Euler substitution Suppose the polynomial ax 2  bx  c has two different real roots r1 z r2 so that

ax 2  bx  c a( x  r1 )( x  r2 ) . We set (1.4)

a x 2  bx  c

( x  r1 ) t

(either one of the roots can be used). This yields

4

Special Techniques for Solving Integrals

a( x  r1 )( x  r2 ) ( x  r1 ) 2 t 2 a( x  r2 ) ( x  r1 )t 2 x

r1 t 2  r1 r2 t2  a

and again the integral (1.1) is reduced to the form (1.3). 1.2.3 Third Euler substitution The third Euler substitution can be used when c t 0 . In this case we set a x 2  bx  c

(1.5)

xt  c .

This yields

a x 2  bx  c

ax  b

x

x 2t 2  2 xt c  c

xt 2  2t c

b  2t c t2  a

leading again to (1.3). Remark. The first two Euler substitutions are sufficient to cover all possible cases. If a  0 then the polynomial ax 2  bx  c has two different real roots (the parabola y ax 2  bx  c opens down and is not under the x-axis). Nevertheless, the third Euler substitution is useful because it sometimes requires less computations.

Example 1.2.1 We will evaluate the integral

Special Substitutions

dx

³

(1.6)

x2  x  1

by the first Euler substitution. Therefore, we set

x2  x  1 x  t . Then

x 2  x  1 x 2  2 xt  t 2 x  1 2 xt  t 2 x

dx

t2 1 1  2t

2(t  t 2  1) dt (1  2t ) 2

x2  x  1

³

dx x  x 1 2



t  t2 1 1  2t

dt 1  2t

 ln |1  2t | C

 ln |1  2 x  2 x 2  x  1 | C  ln(2 x 2  x  1  1  2 x)  C .

Example 1.2.2 Now consider the integral (1.7)

F ( x)

³ ( x  3)

dx 3x  x 2  2

for 1  x  2 . We shall use the second Euler substitution. Since 3 x  x 2  2 (2  x)( x  1) we set

5

Special Techniques for Solving Integrals

6

3x  x 2  2

t ( x  1) .

This yields

(2  x)( x  1) t 2 ( x  1) 2 2  x t 2 ( x  1) t2  2 , dx t2 1

x

³ ( x  3)

dx 3x  x  2 2

2t dt , t (t 2  1) 2

2 ³

1

§ 2t · arctan ¨ ¸C 5 © 5¹

dt 4t  5 2

§ 2 1 arctan ¨¨ 5 © 5

2 x x 1

2 x · ¸C . x  1 ¸¹

Of course, this integral can be solved with the second Euler substitution in the form 3x  x 2  2

t (2  x) .

Example 1.2.3 Using again the second Euler substitution we will solve the integral (1.8)

³x

dx x  6x  8 2

.

Here we write x2  6 x  8

( x  4)( x  2)

( x  4)( x  2) t 2 (t  2) 2

t ( x  2)

Special Substitutions

7

4  2t 2 , dx t2 1

x  4 t 2 ( x  2), x

4t dt . (t 2  1) 2

And since 2t t 1

x2  6 x  8

2

we have

³x

dx

³t

x2  6 x  8

1 2 2

2

dt 2

1 2 2

ln

t 2 C t 2

x 2  6 x  8  2( x  2)

ln

x 2  6 x  8  2( x  2)

C.

Example 1.2.4 In this example we give our solution to Problem 11457 of the American Mathematical Monthly (October 2009). In this solution we will use the second Euler substitution. Let 0 d a d b . The problem is to evaluate the integral b

J

³ arccos a

x ax  bx  ab

dx .

First we assume that 0  a and factor out a from the radical to get b

J

³ arccos a

x/a x / a  bx / a 2  b / a

Next we make the substitution x o a x and set O takes the form

dx .

b / a . The integral

Special Techniques for Solving Integrals

8

O

x

a ³ arccos

J

x  Ox  O

0

dx .

This integral is easier to manipulate. Integration by parts gives

J

O

x

ax arccos

x  Ox  O

1

O

 a³ x 0

x d § · arccos ¨ ¸ dx . dx © x  Ox  O ¹

The first term is zero, as arccos(1) 0 . Differentiating and simplifying inside the integral we find O

a ( O x  x  2O ) x dx . ³ 2 1 (O x  x  O ) (O  x)( x  1)

J

It is convenient now to split this into two integrals writing first

O x  x  2O ( O x  x  O )  O O

J

O

a x aO x dx  dx . ³ ³ 2 1 (O  x)( x  1) 2 1 (O x  x  O ) (O  x)( x  1)

We will solve both integrals with the second Euler substitution

(O  x)( x  1) ( x  1) t . This way x

O  t2 1 t

2

, dx

2t (1  O ) , etc. (1  t 2 ) 2

f

J

f O  t2 O  t2 O dt  a ³0 (1  t 2 )(O 2  t 2 ) dt . (1  t 2 ) 2 0



Simple evaluation by using partial fractions provides J

Sa 4

(O  1) 

S aO S a (O  1) 2 . 4(O  1) O 1

Special Substitutions

Replacing O

b / a we finally write the solution b

(1.9)

9

S (b  a) 2

x dx ax  bx  ab

³ arccos a

4(b  a )

.

In particular, setting a o 0 we find b

³ arccos 0

x dx b

Sb . 4

Problem for the reader: Solve this last integral independently by first using the substitution x b t 2 and then integrating by parts.

Example 1.2.5 Here the third Euler substitution will be used for the integral

dx

³x

1  2x  x2

.

So we set

1  2 x  x2

1  2x  x2 x

x 2t 2  2 xt  1

2(t  1) , dx t2 1

1  2 x  x2

³x

dx 1  2x  x

xt  1

2t 2  4t  2 dt (t 2  1) 2

1  2t  t 2 t2 1 dt

2

³ t 1

ln | t  1| C

Special Techniques for Solving Integrals

10

ln

1  2 x  x2  1 1  C x

ln

x  1  1  2 x  x2 C . x

Problems for the reader: Solve by appropriate Euler substitutions

1

(a)

³

(b)

³x

(c)

³x

(d)

³ 1

(e)

³ x

x2  5x  3

dx

1 x2  4x  4 1 x2  2x 1 1 1  2 x  x2 1 x2  x  1

dx

dx

dx

dx.

1.3 Abel’s Substitution The interesting substitution suggested by Niels Henrik Abel (1802–1829) helps to evaluate integrals of the form J

³ (ax

dx 2

³ (ax

 bx  c) p ax 2  bx  c

2

 bx  c)

where b 2  4ac z 0 and p t 1 is an integer. With y becomes J

We set

³y

dx p

y

p

1 2

dx

ax 2  bx  c this

Special Substitutions

(1.10)

d dx

t

y

yc 2 y

11

2ax  b . 2 y

Squaring both sides we write

4a 2 x 2  4abx  b 2 .

4t 2 y

Multiplying y by 4a we also have

4a 2 x 2  4abx  4ac .

4ay

Subtracting these two equations we find 4 y (a  t 2 ) 1 y

4(a  t 2 ) . 4ac  b 2

Next we differentiate the equation 2t y 2

4ac  b 2 , or

dt y  2t 2 dx

2ax  b with respect to x 2a

so that dx y

dt . a  t2

This way the original integral is transformed into J

4 § · ¨ 2 ¸ © 4ac  b ¹

4 § · ¨ 2 ¸ 4 ac  b © ¹

p

³ (a  t

2

) p 1 dt

2 k 1 § p  1· k p  k 1 t (  1) a C . ¦ ¨ ¸ 2k  1 k 0© k ¹

p p 1

We return to the original variable by the substitution (1.10) t

2ax  b 2 y

Special Techniques for Solving Integrals

12

and the final result is

J

4 § · ¨ 2 ¸ 4 ac b  © ¹

§ p  1· (1) k a p  k 1 § 2ax  b · ¨ ¸ ¦ ¨ ¸ 2k  1 ¨© 2 y ¸¹ k 0© k ¹

p p 1

In particular, with p 1 and p

³ (ax

2

4ax  2b (4ac  b) ax 2  bx  c

³ (ax 2

C .

2 we obtain

dx  bx  c)3/ 2

4 § · ¨ 2 ¸ © 4ac  b ¹

2 k 1

2

C

dx  bx  c)5/ 2

3 ª a (2ax  b) § · º 2ax  b « ¨ ¸ »C . «¬ 2 ax 2  bx  c © 2 ax 2  bx  c ¹ ¼»

For example,

³ (x

4x  2

dx 2

 x  1) x  x  1 2

3 x2  x  1

C .

1.4 The Differential Binomial and Chebyshev’s Theorem Expressions of the form

x m (a  bx n ) p d x where a, b are arbitrary coefficients and m, n, p are rational numbers are called differential binomials. We want to evaluate the integral (1.11)

F ( x)

³x

m

(a  bx n ) p d x .

Until 1852 it had been known for a long time that if at least one of the numbers

Special Substitutions

p,

13

m 1 m 1 , p n n

is an integer, then the integral F ( x) can be evaluated explicitly in terms of elementary function. In 1852 Pafnuty Chebyshev (1821-1894) proved that in all other cases the integral cannot be evaluated explicitly. Case 1 When p is an integer, the substitution x t r , where r is an appropriate positive integer turns x m (a  bx n ) p into a rational function of t . For example, in the integral

³

J

we make the substitution x step) J



dx x (1  3 x ) 2

t 6 to get (integrating by parts in the next

t 2 dt (1  t 2 ) 2



td (1  t 2 ) (1  t 2 ) 2

3t  3arctan t  C 1 t2

3³ t d

1 1 t2

3 6 x  3arctan 6 x  C . 3 1 x

Case 2 Let now

m 1 be an integer (positive or negative). We set t n

to obtain 1

§ t  a ·n x ¨ ¸ , dx © b ¹

F ( x)

1

1 § t  a · n dt ¨ ¸ n© b ¹ t a

m 1 1 1  mn1 p n b t t  a dt ( ) ³ n

which belongs now to Case 1.

a  bx n

Special Techniques for Solving Integrals

14

Here are two examples. The first example is the integral

³x

J

dx 1  x5

1 m 1 and 0 . We set t 1  x5 and 2 n

where m 1, n 5, p compute

J

Now we continue with t

J

1 dt . ³ 5 (1  t ) t

u2 , u

t to get

1 u 1 ln C 5 u 1

2 du 5 ³ 1  u2

1  x5  1 1 ln C . 5 1  x5  1

In the second example we evaluate the integral J

Setting directly 1  x3

u2 , u dx

J

2 u2 du 3 ³ u2 1

³

1  x3 dx. x

1  x3 we get 2u du 3(u  1) 2/3 2

2 u2 1  1 du 3 ³ u2 1

2 2 1 u ³ 2 du 3 3 u 1

2 1 u 1 C u  ln 3 3 u 1 and finally

Special Substitutions

J

15

1  x3  1 2 1 1  x 3  ln C. 3 3 1  x3  1

Note that the integral

³

1  x3 d x

cannot be solved by the substitution t 1  x3 or by any other 1 substitution. Here m 0, n 3, p and by Chebyshev’s theorem the 2 function 1  x3 does not have an explicit antiderivative. For such cases we can use the convenient antiderivative x

³

J ( x)

1  t3 d t .

0

Case 3 m 1  p is an integer (positive or negative). We n first transform the integral by “factoring” out x n this way

This is the case when

³x

m

(a  bx n ) p d x

³x

m n p

(a x  n  b) p d x .

The result is a new integral of a differential binomial falling in Case 2, as the number m  np  1 n

§ m 1 ¨  © n

· p¸ ¹

is an integer. We illustrate this case by two examples. Consider first the integral

J

³

dx (1  x 2 )3

Special Techniques for Solving Integrals

16

where we assume that x ! 0 . Here m 0, n

3 m 1 and p n 2

2, p

is an integer. We write

³

dx

³ x (x 3

(1  x )

2 3

and set x 2  1 t . Then 2 x 3 dx 1  32 t dt 2 ³

J

dt , dx

dx  1)3/ 2

2

 x3 dt , so that 2 x

1 C t

1  x2

C .

The second example is the integral

J

where

m 1 p n J

³x

dx 2

xx

3

x 1

³x

4

dx 5/ 2

1  x3

x 3  1 we have dt 3x 4 dx and

1 . With t dx

4

³x

1 dt 3 ³ t

2 t C 3

2 3

x 3  1  C .

Problems for the reader: Evaluate by appropriate substitutions (a)

³

(b)

³

(c)

³

dx 1  3 x2

dx 3

1  x3 dx

5

1  x5

1

Special Substitutions

(d)

³

(e)

³

(f )

³x ³

(g)

17

x 3  x 4 dx 3

2

3x  x3 dx 1 dx ( x  1)3/ 4 4

1 dx x ( x  1)10 4

(the last two integrals are from the 2006 MIT integration bee competition).

1.5 Hyperbolic Substitutions for Integrals In order to evaluate integrals containing radicals of the form a2 r x2

and

x2  a2

( a ! 0 ), most calculus textbooks use the trigonometric substitutions

1 For a 2  x 2 set x a sin T 2 For a 2  x 2 set x a tan T 3 For x 2  a 2 set x a secT . The substitution in 1 works very well, but the other two sometimes require longer computations. We want to demonstrate that for cases 2 and 3 it is more natural to use the hyperbolic substitutions

2

For a 2  x 2 set x a sinh t

3

For x 2  a 2 set x a cosh t

Special Techniques for Solving Integrals

18

where f  t  f . These two substitutions are based on the important identity

cosh 2 t  sinh 2 t 1 so that x2  a2 x2  a2

a 2 (sinh 2 t  1) a 2 (cosh 2 t  1)

a cosh t a | sinh t | .

For returning to the original variable x it is convenient to use the equations

sinh 1 z ln( z  z 2  1),  f  z  f

(1.12)

cosh 1 z

(1.13)

tanh 1 z

(1.14)

ln( z  z 2  1), 1 d z

1 >ln(1  z )  ln(1  z )@ ,  1  z  1 2

and also the identities (1.15)

1  tanh 2 t

1 cosh 2 t

(1.16)

coth 2 t  1

1 sinh 2 t

(1.17)

cosh 2 t

(1.18)

Example 1.5.1 Evaluate

d tanh t dt 

d coth t dt

1 (cosh 2t  1), sinh 2 t 2

1 (cosh 2t  1) 2

sinh 2t 2sinh t cosh t .

Special Substitutions

(1.19)

³

F ( x)

19

x2  3 dx . x2

Assuming without loss of generality that x ! 0 we set x with t ! 0 to obtain x2  3

F

sinh 2 t ³ cosh 2 t dt

3 sinh t , dx

3 sinh t

cosh 2 t  1 ³ cosh 2 t dt

t  tanh t  C .

Thus F ( x) cosh 1

x x · §  tanh ¨ cosh 1 ¸C 3 3¹ ©

and according to (1.13) and (1.15) F ( x) ln( x  x 2  3 ) 

x2  3 C. x

We can also use the equation (for t ! 0 ) tanh t

sinh t cosh t

cosh 2 t  1 . cosh t

Example 1.5.2 We want to evaluate here the popular integral (1.20)

F ( x)

³

x 2  1 dx .

With x sinh t we find F

³ cosh td t 2

1 (cosh 2t  1) d t 2³

1 t sinh 2t   C . 4 2

3 cosh t

20

Special Techniques for Solving Integrals

And in view of (1.19) 1 x 2 x  1  ln( x  x 2  1)  C . 2 2

F ( x)

Example 1.5.3 For r ! 1 consider the integral f

(1.21)

dx

³ (x 

Jr

.

1  x2 ) r

0

The substitution x sinh t transforms this integral into f

cosh t d t

³ (sinh t  cosh t )r

Jr

0

f

1 (e t  e  t ) d t 2 ³0 e rt

because sinh t  cosh t

f

1 e  ( r 1) t  e  ( r 1) t dt ³ 20

e t . This way 1§ 1 1 ·  ¨ ¸ 2 © r 1 r 1¹

Jr

r . r 1 2

Note that r does not need to be an integer. Example 1.5.4 We will evaluate now the interesting integral f

(1.22)

J

³ 0

cos t sin t 2  1 t2 1

dt .

This is Problem 12145 from the American Mathematical Monthly (Vol. 126, November 2019). We make the substitution t sinh x to get

Special Substitutions

21

f

³ cos(sinh x)sin(cosh x)dx .

J

0

Here we use the trigonometric identity 1 >sin(D  E )  sin(D  E )@ 2

sin D cos E

with D cosh x, E

sinh( x) . The result is f

1 [sin(e x )  sin(e  x )] dx ³ 20

J

f f º 1ª x x « ³ sin(e )dx  ³ sin(e ) dx » 2 ¬0 0 ¼

1 [ A  B] 2

where A, B are the last two integrals correspondingly. We will show now that these integrals are convergent and therefore, the previous integrals are convergent. For this purpose we make the substitutions e x u in A and e  x u in B . This way we find f

A

x ³ sin(e )dx 0

f

sin u ³1 u du, B

f

x ³ sin(e )dx 0

1

sin u du u 0

³

which are both convergent. Finally

J

f 1 1 ª sin u º du » > A  B@ «³ 2 2 ¬0 u ¼

1 ªS º 2 «¬ 2 »¼

The well-known integral f

sin u du u 0

³

S 2

is evaluated in Example 2.2.1 in Chapter 2 below.

S . 4

22

Special Techniques for Solving Integrals

1.6 General Trigonometric Substitution Calculus textbooks usually consider integrals of the form

³ sin

n

x cos m xdx

and mostly suggest one of the substitutions

sin x t , cos x t , or tan x t . This technique, however, is not very helpful with integrals like dx

³ 5  sin x

(1.23)

so we need a better method. Integrals of the form

³ R(sin x,cos x)dx where R (u , v) is a rational function of two variables can be reduced to integrals of a rational function of one variable by setting tan

x 2

t, x

2arctan t

for S  x  S ,  f  t  f . Simple trigonometry yields

sin x

2t 1 t2 2dt , cos x , dx 2 2 1 t 1 t 1 t2

by using the formulas

x x x x sin x 2sin cos , cos x cos 2  sin 2 2 2 2 2 cos 2

Therefore,

x 2

1 x 1  tan 2 2

.

Special Substitutions

23

§ 2t 1  t 2 · dt R (sin x , cos x ) dx 2 R ¨ ³ ³ © 1  t 2 , 1  t 2 ¸¹ 1  t 2 . In integrals of the form

³ R(sin

2

x, cos 2 x)dx

it is better to use the substitution

tan x t , x arctan t where

sin 2 x

t2 1 dt , cos 2 x , dx 2 2 1 t 1 t 1 t2

and hence 2 2 ³ R(sin x, cos x)dx

§ t2 1 · dt R ³ ¨© 1  t 2 , 1  t 2 ¸¹ 1  t 2 .

Example 1.6.1 We shall evaluate the integral in (1.23) with the substitution t dx

³ 5  sin x

2 dt ³ 5 t2  2 t 1 5

1 5t  1 C arctan 6 2 6

tan

2 dt ³ 5 § 1 · 2 24 ¨t  ¸  © 5 ¹ 25

ª 1 § 1 x ·º arctan « ¨ 5 tan  1¸ »  C . 2 ¹¼ 6 ¬2 6 ©

In general, we can solve in the same way the integral

x . 2

Special Techniques for Solving Integrals

24

dx

³ a  b sin x where a ! | b | . Namely, t

tan

x gives 2

ª 1 arctan « 2 2 a b ¬ a b

dx

2

³ a  b sin x

2

2

x § ·º ¨ a tan  b ¸ »  C . 2 © ¹¼

A similar computations for a ! | b | provides also (1.24)

§ a b x· arctan ¨¨ tan ¸¸  C . 2¹ a 2  b2 © ab

dx

1

³ a  b cos x

The case b t | a | is left to the reader. Even more general, we can solve the integral J

dx

³ a  b cos x  c sin x

by transforming it to the form in (1.25) this way J

³a

dx b  c 2 cos( x  D ) 2

because of the representation b cos x  c sin x

b 2  c 2 cos( x  D )

where cos D

b b2  c2

, sin D

c b2  c2

To prove this we write

cos( x  D ) cos D cos x  sin D sin x

.

Special Substitutions

25

and compare coefficients in front of cos x, sin x in the equation

b 2  c 2 (cos D cos x  sin D sin x) .

b cos x  c sin x

Example 1.6.2 Consider now the integral (1.25)

dx

³ 2  cos

J

2

It is appropriate to use the substitution t dx

J

dt

³ 1  2t

1 2

2

.

x

tan x . This way 1 t2 1  2t 2

dt 1 , 2 1  t 2  cos 2 x

arctan( 2 t )  C

1 2

arctan( 2 tan x)  C .

1.6.1 Restrictions and extensions x and t tan x bring 2 to natural restrictions on the variable x in order to have one-to-one correspondence between x and t . For the first one, as mentioned before, we need S  x  S and for the second one we need

We want to point out that the substitutions t



tan

S S x . 2 2

For example, we can use the antiderivative x

J ( x)

dt

³ 2  cos 0

2

t

for (1.25) and this will be a continuous and differentiable function defined everywhere. At the same time the function

Special Techniques for Solving Integrals

26

1

J

2

arctan( 2 tan x)  C

is well-defined on the interval  endpoints r

S S  x  , but not defined at the 2 2

S . It can be extended as a continuous function on 2

S S dxd by using limits. It can also be extended beyond 2 2 S S  dxd by choosing appropriate constants C in the neighboring 2 2 

intervals.

1.7 Arithmetic-Geometric Mean and the Gauss Formula In this section we present one very interesting substitution and prove a classical formula of Carl Friedrich Gauss (1777-1855). First we need to define the arithmetic-geometric mean of two positive numbers. 1.7.1 The arithmetic-geometric mean Let a ! b ! 0 and define a1 two numbers and b1

ab to be the arithmetic mean of these 2

ab to be their geometric mean. Then a1 ! b1 as a1  b1

1 2



a b



2

!0.

This is the well-known arithmetic-geometric inequality. Further, we set (1.26)

an 1

an  bn , bn 1 2

an bn

Special Substitutions

27

where n 1, 2,... and an ! bn . The sequence {an } is decreasing, while the sequence {bn } is increasing, since an 1  an

1 (bn  an )  0, bn 1  bn 2

bn





an  bn ! 0 .

Both sequences are bounded and therefore, convergent. They have the same limit because for every n 1 an 1  bn 1  an 1  bn  an 1  an  (an  bn ) 2

and by iteration (1.27)

0  an  bn 

1 ( a  b) . 2n

This common limit M (a, b) lim an lim bn is called the arithmeticgeometric mean of a and b . The initial restriction a ! b is unimportant, as we can define the two sequences starting from a1 and b1 . We see that also M (a, b) inf{an } sup{bn } . The inequality (1.27) shows that (1.28)

an  M (a, b) 

1 ( a  b) 2n

so that an is a decent approximation to M (a, b) . 1.7.2 The Gauss formula For a ! b ! 0 consider the integral S /2

(1.29)

G ( a, b)

³ 0

dx a cos x  b 2 sin 2 x 2

2

In this integral we make the substitution (1.30)

sin x

2a sin T . (a  b)  (a  b)sin 2 T

.

Special Techniques for Solving Integrals

28

Differentiating with respect to T we simplify to get (1.31)

cos xd x

2a

(a  b)  (a  b)sin 2 T cos T dT . [(a  b)  (a  b)sin 2 T ]2

Also, using the identity cos 2 x 1  sin 2 x we compute from (1.30)

(a  b) 2  (a  b) 2 sin 2 T cos T . (a  b)  (a  b)sin 2 T

cos x

(1.32)

Solving for dx in (1.31) and using (1.32) we find (1.33) d x

2a

(a  b)  (a  b)sin 2 T (a  b)  (a  b)sin 2 T

dT (a  b)  (a  b) 2 sin 2 T 2

.

At the same it easy to see that a 2 cos 2 x  b 2 sin 2 x

a

(a  b)  (a  b)sin 2 T . (a  b)  (a  b)sin 2 T

In view of (1.33) this gives after some elementary computations

2 dT

dx a cos x  b sin x 2

2

2

2

(a  b) cos 2 x  4ab sin 2 x 2

.

Dividing the numerator and the denominator by 2 in the right-hand side we find the interesting equation (1.34)

dT

dx a 2 cos 2 x  b 2 sin 2 x

§ab· 2 ¨ ¸ cos x  © 2 ¹ 2





. 2

ab sin 2 x

At this point we note that the substitution (1.30) is one-to-one on the interval [0, S / 2] having nonzero derivative (1.31). It maps this interval onto itself and preserves the endpoints. Applying the substitution to (1.29) we find

Special Substitutions S /2

³ 0

S /2

dx 2

2

dT

³

a cos x  b sin x 2

29

2

§ab· 2 ¨ ¸ cos x  2 © ¹ 2

0





2

ab sin 2 x

which is the remarkable Gauss formula. Iterating this equation we obtain for every n t 1

G (a, b) G (a1 , b1 ) G (a2 , b2 ) ...G ( an , bn ) ... . Passing to limits inside the integral is easily justifiable and the results is lim G (an , bn )

G ( M ( a, b), M ( a, b))

S 2 M ( a, b)

.

That is, (1.35)

G ( a, b)

S 2 M ( a, b)

.

According to (1.28) the sequence {an } can be used for approximating G ( a, b) . The integral G (a, b) can be put in a different form. With the substitution tan x t we find f

G ( a, b)

³ 0

dt a b t 2

and further, with t

u this becomes b

(1.36)

G ( a, b)

f

³ 0

2 2

1 t2

du a  u 2 b2  t 2 2

.

Integrals of this form are called elliptic integrals. More on elliptic integrals can be found, for example, in Akhiezer’s nice little book [1].

30

Special Techniques for Solving Integrals

1.8 Some Interesting Examples Example 1.8.1 Let us try to evaluate the integral S

J

x sin x

³ 1  cos

2

0

x

dx .

This integral looks very difficult! The usual trigonometric substitutions do not look very promising. However, the simple substitution x S  t works very well S

x sin x ³0 1  cos2 x dx

0

³ S

S

(S  t )sin t dt 1  cos 2 x S

sin x t sin t dx  ³ dt 2 1  cos x 1  cos 2 t 0 0



S

S

t sin t dt 1  cos 2 t 0

 S arctan(cos x) 0  ³

and we come to the equation J

S2 2

J.

This way S

x sin x ³0 1  cos2 x dx

(1.37)

S2 4

.

More generally, if we have a continuous function f ( x) , the substitution x o b  x shows that b

³ 0

b

f ( x) dx

³ f (b  x) dx 0

Special Substitutions

31

which helps in many cases with trigonometric integrals. For instance, S

cos x

³ 1  cos 0

2

x

dx 0

because the substitution x o S  x gives immediately S

cos x ³0 1  cos2 x dx

S

cos x dx . 1  cos 2 x 0



Problem for the reader: Prove that S

S2

2 x sin x ³0 3  cos 2 x dx

4

by using the substitution x S  t . This is calculus problem 9 from the Stanford Mathematics Tournament 2018.

Example 1.8.2 A similar trick helps to solve the integral S /2

J

³ 0

(cos x) p dx (cos x) p  (sin x) p

where p is some number. The integral looks impossible! However, the substitution x

S  t gives 2 0

J

(sin t ) p  dt (cos t ) p  (sin t ) p S /2

³

S /2

³ 0

(sin t ) p dx (cos t ) p  (sin t ) p

and then S /2

JJ

³ 0

(sin t ) p  (cos t ) p dx (cos t ) p  (sin t ) p

S /2

³ 1dx 0

S 2

Special Techniques for Solving Integrals

32

J

S 4

independent of p!

Example 1.8.3 The integral f

ln x dx 2 1

³x 0

seems quite difficult. We can try integration by parts f

ln x ³0 x 2  1 dx

f

f

arctan x dx x 0

f ³ ln x d arctan x ln x arctan x | 0  ³ 0

but on the right-hand side we find divergent expressions. Fortunately, a simple substitution works! We set x f

ln x ³0 x 2  1 dx

 ln t § dt · ³f (1 / t 2 )  1 ¨© t 2 ¸¹ 0

0

ln t ³f 1  t 2 dt

Thus f

(1.38)

ln x dx 0 . 2 1

³x 0

1 and compute t f

ln t dt . 1 t2 0



Special Substitutions

33

Example 1.8.4 Let E ! 0 . The integral f

³ (1  x ) 2E



f

1

E

dx

0

1

³ E 1 x E

dx

2

0

is invariant with respect to the same substitution, x f

³ (1  x



2E

)

1

E

³ (t

2E

dx  ³ (1  t

2 E



)

1

§ 1 · ¨ 2 ¸ dt ©t ¹

E

f

0

f

0

 1)



1

E

(t

2 E



)

1

E

0

§1· ¨ 2 ¸ dt ©t ¹

f

³ (t

1 . Namely, t

2E

 1)



1

E

dt .

0

The integral can be evaluated by using Euler’s beta function f

t u 1 ³0 (1  t )u v dt

%(u , v)

First, with the substitution x 2 E

*(u )*(v) *(u  v)

t we compute 1

f

³ (1  x

2E



)

1

E

dx

0

and then taking u v f

³ (1  x 0

2E



)

1

E

dx

(u , v ! 0) .

1 2E

f

³ 0

t 2E

1 1

(1  t )

dt

E

1 we find 2E

1 § 1 1 · , B 2 E ¨© 2 E 2 E ¸¹

1 2§ 1 * 2 E ¨© 2 E

1

· §1· ¸*¨ E ¸ . ¹ © ¹

This result can be used to evaluate some other interesting integrals. For example, consider the integral

Special Techniques for Solving Integrals

34

f

arctan x

³ E 1 x E

JE

2

dx .

0

1 we find t

With the substitution x f

JE

³ 0

arctan(1 / t ) E

1 t

2E

f

³

dt

S / 2  arctan t E

0

1 t

(using the identity arctan t  arctan

2E

S

f

1

2 ³ E 1 t E 2

dt  J E

0

1 S for t ! 0 ). From here t 2

f

S

1

4 ³ E 1 t E

JE

dt

2

dt .

0

That is, 1

S 2§ 1 · § 1 · * * . 8E ¨© 2 E ¸¹ ¨© E ¸¹

JE

In particular, for E 1, 2, 3 we have correspondingly f

arctan x ³0 1  x 2 dx

J1

S2 8

as *(1 / 2) S . (This integral can be solved directly with the substitution u arctan x .) f

³

J2

0

f

J3

³ 0

etc.

arctan x 1 x

arctan x 3

1 t

6

4

dt

dx

S 24

S 16

* 2 (1 / 4)

* 2 (1 / 6)* 1 (1 / 3)

Special Substitutions

35

Example 1.8.5 Let a  b and a d x d b . To evaluate the integral

dx

³

( x  a )(b  x)

we use the substitution

x a cos 2 T  b sin 2 T , 0 d T d

S 2

which can be written also as x

a  (b  a )sin 2 T

because of the equation cos 2 x 1  sin 2 x . From here xa , T ba

sin T

arcsin

xa . ba

We compute xa

(b  a )sin 2 T

bx

(b  a ) cos 2 T

( x  a )(b  x)

dx dT

(b  a ) 2 cos 2 T sin 2 T

2(b  a )cos T sin T

and then

³

dx ( x  a )(b  x)

Therefore,

³

2(b  a )cosT sin T dT (b  a )cosT sin T

³ 2 dT

2T  C .

Special Techniques for Solving Integrals

36

³

(1.39)

dx ( x  a )(b  x)

2arcsin

xa C . ba

In particular, b

³

(1.40)

a

dx ( x  a )(b  x)

xa 2arcsin ba

b

S. a

Notice that this last integral does not depend on a and b! With a 0, b 1 we find 1

dx x (1  x)

³ 0

S.

Example 1.8.6 Here is a very amusing integral! Solve F ( x)

³

x  x  x  ... dx

for x ! 0 . Inside the integral there are infinitely many nested radicals. The integral seems impossible! It turns out that the integral can be solve by a simple substitution. We just need to write the integrand in a different form. Let y

Then y 2

x  x  x  ... .

x  y and we can find y from the quadratic equation y2  y  x

We have two solutions for this equation

0.

Special Substitutions

y

1 (1  1  4 x ), 2

y

37

1 (1  1  4 x ) . 2

The second solution we drop, because y ! 0 by its definition. Thus

1 (1  1  4 x ) dx 2³

F ( x)

and the simple substitution u 1  4 x gives (1.41)

³

x  x  x  ... dx

3 x 1  (1  4 x) 2  C . 2 12

Unbelievable! A legitimate question is the convergence of the infinite radical. It converges by Pólya’s criterion (George Pólya, a Hungarian mathematician (1887-1985)): Given a sequence of positive numbers an ! 0 ( n 1, 2,...) , the sequence a1  a2  ...  an

un

converges if ln an d 2n M for some constant M ! 0 and every n 1, 2,... . A problem for the reader: Solve the integral

³

x x x... dx

also with an infinite radical inside.

38

Special Techniques for Solving Integrals

Example 1.8.7 In this example we evaluate the integral f

J (a)

³e

 a 2 x 2  x 2

dx (a ! 0)

0

We can write a2 x2 

2

1· § ¨ a x  ¸  2a x¹ ©

1 x2

so that J (a) e

2 a

f

³e

 ( a x  x 1 )2

dx .

0

Now we introduce the new variable u a x  x 1 . The function u ( x) is a one-to-one mapping of the interval (0, f) onto (f, f) as

du dx

a  x 2 ! 0 .

To change the variable fist we solve for x from the equation ax 2  ux  1 0 and take the positive root x

u  u 2  4a . 2a

Then dx

u · 1 § ¨1  ¸ du 2 2a © u  4a ¹

so changing the variables we get J (a)

2 f · e 2 a § f u 2 ue u du ¸¸ ¨¨ ³ e du  ³ 2a © f u 2  4a ¹ f

Special Substitutions

39

and here we discover a very nice thing – the second integral is zero! (Odd integrand.) Therefore, e 2 a 2a

J (a)

f

u ³ e du 2

f

f

e 2 a u 2 e du . a ³0

The Gaussian integral is well-known f

³e

u 2

du

0

S 2

and we obtain f

³e

(1.42)

 a 2 x 2  x 2

0

dx

S 2a

e 2 a .

This integral appears in [25, entry 3.325] as f

§

³ exp ¨© ax 0

2



b · ¸ dx x2 ¹

1 S exp(2 ab ) (a, b ! 0) 2 a

and a simple rescaling x o x b brings it to the form (1.42). (The Gaussian integral will be computed in the next chapter.) M. Laurence Glasser has found a general formula for this interesting substitution. For details see [24].

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

Chapter 2

Solving Integrals by Differentiation with Respect to a Parameter

2.1 Introduction In this chapter we present an efficient technique for evaluating challenging definite integrals – differentiation with respect to a parameter inside the integral (or appearing in the limits of integration). The integrals can be proper or improper. We provide numerous examples, many of which are listed in the popular handbooks of Gradshteyn and Ryzhik [25] and Prudnikov, Brychkov, Marichev [43]. Many more integrals in these tables can be evaluated by the same method. In our examples we focus on the formal manipulations. Several theorems justifying these manipulations are provided in the last section. Applying the theorems in every particular case is left to the reader. For many of the integrals here differentiation with respect to parameter is possibly the best way to solve them. There are several books and articles presenting this technique. First of all we want to mention the excellent book of Fikhtengolts [23]. The reader can see also [21, 28, 29, 49, 50, 51]. Below we evaluate three very different integrals in order to demonstrate the wide scope of the method.

41

Special Techniques for Solving Integrals

42

Example 2.1.1 We start with a very simple example. It is easy to show that the popular integral f

sin x dx x 0

³

is convergent (integrating by parts we have f

sin x ³1 x d x

f

f

f

cos x cos x cos x  ³ 2 d x cos1  ³ 2 d x  x x 1 1 x 1

which shows convergence of the original integral). For its evaluation we consider the function f

³e

F (O )

0

O x

sin x d x, O ! 0 x

with derivative f

F c(O )  ³ e  O x sin x d x 0

1 1 O2

(Laplace transform of the sine function). Integrating back we find

F (O )  arctan O  C Setting O o f leads to 0



S 2

 C , i.e. C

S 2

.

Therefore, f

(2.1)

³e 0

O x

sin x dx x

S 2

 arctan O

Solving Integrals by Differentiation with Respect to a Parameter

43

and with O o 0 we find f

³ 0

S

sin x dx x

2

.

Note that for any a z 0 by rescaling x o ax we have

­S °° 2 (a ! 0) sin a x . ³0 x d x ® S ° (a  0) °¯ 2

f

From (2.1) we obtain also

eO x  e P x ³0 x sin x d x arctan P  arctan O

f

for any O , P ! 0 . In the same way we can evaluate the integral G (O )

f

³e

O x

0

f

sinh x d x, O ! 1 . x

G c(O )  ³ e  O x sinh x d x 0

G (O )

1 O 1

1§ 1 1 ·  ¨ ¸ 2 © O 1 O 1 ¹

2

1 O 1 . ln 2 O 1

Problem for the reader: Integrating by parts and using the above evaluation show that f

³ 0

cos ax  cos bx dx x2

S 2

(b  a ) .

Special Techniques for Solving Integrals

44

Example 2.1.2 The 66 Annual William Lowell Putnam Mathematics Competition (2005) included the integral (Problem (A5)) ln(1  x) dx 1  x2 0

1

³

(2.2)

with a solution published in [53]. This is entry 4.291(4) in [25]. We will give a different solution by introducing a parameter. Consider the function ln(1  O x) dx 1  x2 0

1

³

F (O )

defined for O ! 0 . Differentiating this function gives F c(O )

1

x

³ (1  O x)(1  x 0

2

)

dx.

This integral is easy to evaluate by using partial fractions. The results is F c(O )



ln(1  O ) ln 2 S O .   2 2 1 O 2(1  O ) 4 1  O 2

Integrating we find O

ln(1  x) ln 2 S dx  arctan O  ln(1  O 2 ) 2 1 x 2 8 0

F (O )  ³

and setting O 1 we arrive at the equation 2 F (1)

S 4

ln 2 .

That is, ln(1  x) dx 1  x2 0

1

³

S 8

ln 2 .

Solving Integrals by Differentiation with Respect to a Parameter

45

The similar integral 3 S2 (ln 2) 2  4 48

ln(1  x 2 ) ³0 1  x dx 1

will be evaluated later in Chapter 5, Example 5.4.6. As shown in this chapter many integrals containing logarithms and inverse trigonometric functions can be evaluated by using a parameter. Notice that integration by parts gives ln(1  x) arctan x 1 ³0 1  x 2 d x ln(1  x) arctan x 0  ³0 1  x dx 1

1

so that also 1

arctan x dx 1 x 0

³

(2.3)

S 8

ln 2 .

These integrals will be used later in section 5.5 in the evaluation of the interesting series f

1 1 1 · § (1) ¨ ln 2    ...  ¸ ¦ n 1 n  2 2n ¹ © n 1

2

n

S2

7 S G  (ln 2) 2  ln 2  . 48 8 8 2

where f

G

(1) n

¦ (2n  1) n 0

is Catalan’s constant. The two integrals (2.2) and (2.3) also appeared in Problem 883 of the College Mathematics Journal – see [15].

Special Techniques for Solving Integrals

46

Example 2.1.3 This is Problem 1997 from the Mathematics Magazine, 89(3), 2016, p. 223. Evaluate f

2

§ 1  e x · ³0 ¨© x ¸¹ dx .

Solution. We show that for every O ! 0 F (O )

§ 1  eO x · ³0 ¨© x ¸¹ dx

f

2

O ln 4 .

Remarkably, this integral is a linear function! Indeed, differentiation with respect to O gives f § 1  eO x F c(O ) 2 ³ ¨ x 0©

f O x · O x e  e 2 O x e dx 2 dx 2ln 2 ¸ ³0 x ¹

by using Frullani’s formula for the last integral. We conclude that F (O ) is a linear function and since F (0) 0 we can write F (O ) O ln 4 . With O 1 we find F (1) ln 4 . Note that the above differentiation is legitimate because the integral F (O ) is uniformly convergent on every interval 0  a  O  b . Frullani’s formula says that for appropriate functions f ( x) we have f

³ 0

f (ax)  f (bx) b dx [ f (0)  f (f)] ln x a

(this formula will be discussed later in Chapter 5).

Solving Integrals by Differentiation with Respect to a Parameter

47

2.2 General Examples Example 2.2.1 We start this section with a popular example. Consider the integral xD  1 ³0 ln x dx, D t 0 . 1

J (D )

Note that the integrand is a continuous function on [0,1] when defined as

§ zero for x 0 and as D for x 1 ¨ D © d D x dD

lim x o1

xD  1 · ¸ . Since ln x ¹

xD ln x

we find J c(D )

1

D

³x

dx

0

1 1D

and from here J (D ) ln(1  D )  C . Now C

0 because J (0) 0 .

Finally, xD  1 ³0 ln x dx 1

(2.4)

ln(1  D ) .

The similar integral xD  x E ³0 ln x dx 1

where D , E t 0 can be reduced to (2.4) by writing xD  x E xD  1  ( x E  1) . Thus xD  x E ³0 ln x dx 1

ln

1D . 1 E

Special Techniques for Solving Integrals

48

Example 2.2.2 We evaluate here the improper integral arctan O x

1

³x

J (O )

0

1  x2

dx .

Differentiation gives 1

dx

³ (1  O

J c(O )

x ) 1  x2

2 2

0

and with the substitution x cos T this transforms into J c(O )

S /2

³ 0

S /2

dT 1  O 2 cos 2 T

dT (1  tan T  O 2 ) cos 2 T

³

2

0

S S /2

³ 0

d tan T 1  O 2  tan 2 T

1 1 O2

tan T

arctan

S

2

1 O2

0

2 1 O2

Therefore, since J (0) 0 , (2.5)

J (O )

1

arctan O x

³x 0

1 x

2

dx

S 2





ln O  1  O 2 .

In particular, with O 1 1

arctan x

³x 0

1 x

2

dx

S 2



ln 1  2

which is entry 4.531(12) in [25]. Note that the similar integral (2.6)

J (O )

1

³ 0

arctan O x 1  x2

dx



.

Solving Integrals by Differentiation with Respect to a Parameter

49

cannot be evaluated in the same manner. The derivative here is

J c(O )

1

³ (1  O 0

S /2

xdx 2

x ) 1 x 2

S 2O 1  O 2

ln

cos T dT 2 cos 2 T

³ 1 O

2

0

1 O2  O 1 O2  O

which is not easy to integrate. The integral (2.6) will be evaluated later in Section 2.4 by a more sophisticated method.

Example 2.2.3 For all O t 0 consider the function G (O )

f

arctan O x dx . 2 ) 0

³ x(1  x

We compute (under the temporary restriction O z 1 )

G c(O )

f

dx ³0 (1  O 2 x 2 )(1  x 2 )

f § 1 1 O2 ·  ¨ ¸ dx 1  O 2 ³0 © 1  x 2 1  O 2 x 2 ¹

1 § S SO · ¨  ¸ 1 O2 © 2 2 ¹

S 2(1  O )

and since G (0) 0 (2.7)

f

arctan O x dx 2 ) 0

S

³ x(1  x

G (O )

2

ln(1  O ) .

At this point we can drop the restriction O z 1 and for O 1 we find f

arctan x dx 2 )

³ x(1  x 0

S 2

ln 2 .

Special Techniques for Solving Integrals

50

Example 2.2.4 Related to (2.7) is the following integral ( O , P ! 0 ) G (O , P )

f

arctan(O x) arctan( P x) dx . x2 0

³

Using (2.7) we compute and evaluate the partial derivative GP (O , P )

f

f

arctan O x ³0 x(1  P 2 x 2 ) dx

arctan(O / P ) x dx x(1  x 2 ) 0

³

Integrating this logarithm with respect to we find G (O , P )

S 2

S

§ O· ln ¨1  ¸ . 2 © P¹

P (integration by parts)

>(O  P ) ln(O  P )  P ln P @  C (O ) .

Here P o 0 yields C (O ) 

S 2

O ln O and finally we have

f

arctan(O x) arctan( P x) dx x2 0

³

S 2

In particular, for O

>(O  P ) ln(O  P )  O ln O  P ln P @ . P 1 f

(arctan x) 2 ³0 x 2 dx S ln 2 .

Example 2.2.5 Now consider for O t 0 the function J (O )

f

ln(1  O 2 x 2 ) ³0 1  x 2 dx

Solving Integrals by Differentiation with Respect to a Parameter

where f

³ (1  O

J c(O )

0

f

2O § 1 1  2 ³¨ 2 2 1  O 0 © 1  O x 1  x2

2O x 2 dx x 2 )(1  x 2 )

2

2O § S S · S  ¸ 2 ¨ 1  O © 2O 2 ¹ 1  O

· ¸ dx ¹

under the temporary restriction O z 1 . This way, for O t 0 f

ln(1  O 2 x 2 ) ³0 1  x 2 dx S ln(1  O ) .

(2.8)

In particular, for O 1 f

ln(1  x 2 ) dx S ln 2 . 1  x2 0

³

Comparing (2.8) to (2.7) we see that for any O t 0 f

f

ln(1  O 2 x 2 ) ³0 1  x 2 dx

arctan O x dx . x(1  x 2 ) 0



Example 2.2.6 Consider the integral 3.943 from [25] F (O )

f

³e 0

E x

1  cos O x dx x

where E ! 0 is fixed. Differentiating we find F c(O )

f

³e 0

and integrating back

E x

sin O xdx

O O  E2 2

51

Special Techniques for Solving Integrals

52

F (O )

To compute C ( E ) we set O

1 ln(O 2  E 2 )  C ( E ) 2

0 and this gives C ( E )

1 ln( E 2 ) . 2

Therefore, f

E x ³e

(2.9)

0

1  cos O x dx x

1 § O2 · ln ¨1  ¸. 2 © E2 ¹

From here we conclude that also f

E x ³e 0

cos O x  cos P x dx x

1 § E 2  P2 · ln ¨ ¸ 2 © E 2  O2 ¹

as a difference of two integrals like (2.9). When O ! 0 and P ! 0 in this integral we can set E o 0 to obtain f

P cos O x  cos P x dx ln x O 0

³

(this is entry 3.784(1) in [25] and entry 2.5.29(16) in [43]). A problem for the reader: Prove entry 2.4.22(1) in [43] f

E x ³e 0

1  cosh O x dx x

1 § O2 · ln ¨1  2 ¸ (Re E ! | Re O |) . 2 © E ¹

Example 2.2.7 A symmetric analogue to (2.9) is the integral (2.10)

F (O )

f

³ 0

1  eO x cos E x dx x

Solving Integrals by Differentiation with Respect to a Parameter

defined for O ! 0 and E z 0 . The integral is divergent at infinity when E 0 . We have F c(O )

f

³e

O x

cos E xdx

0

O O  E2 2

and integrating like in the previous example

F (O )

f

1  eO x ³0 x cos E x dx

1 § O2 · ln ¨1  ¸. 2 © E2 ¹

We see that for every O t 0, E ! 0 1  eO x ³0 x cos E x dx

f

f

³e

E x

0

1  cos O x dx . x

The integral 3.951(3) from [25] f

³ 0

eO x  e P x cos E x dx x

( O ! 0, P ! 0 ) can be reduced to (2.10) by writing e  O x  e  P x (e  O x  1)  (1  e  P x ) . Thus f

³ 0

eO x  e P x cos E x dx x

1 P2  E 2 . ln 2 O2  E 2

Example 2.2.8 Here we will use the well-known Gaussian integral f

(2.11)

³e

x 2

dx

0

to evaluate for every O t 0 the integral

S 2

53

Special Techniques for Solving Integrals

54

1  eO x F (O ) ³ dx . x2 0 f

2

For convenience, the Gaussian integral will be solved at the end of the example. We have for O ! 0 F c(O )

f

f

exp ( x O³

1

O x ³ e dx 2

0



O )2 d ( x O )

0

S 2 O

so that f

1  eO x ³0 x 2 dx 2

OS .

Now we will evaluate (2.11). We present a very short and eloquent proof by using double integrals. The Gaussian integral Let f

G

³e

x 2

dx .

0

We write G2

§ f x 2 · ¨ ³ e dx ¸ ©0 ¹

2

§ f  x 2 ·§ f  y 2 · ¨ ³ e dx ¸¨ ³ e dy ¸ ©0 ¹© 0 ¹

ff

³³e

x 2 y 2

dxdy.

0 0

In this integral we introduce polar coordinates

x r cosT , y r sin T , r 2

x 2  y 2 , d xdy rd rdT

and since the integration is over the first quadrant we have

Solving Integrals by Differentiation with Respect to a Parameter

0 dT d

S 2

55

, 0dr f.

Now we compute S /2 f

G

2

³ ³e

r 2

S °­ 1 f

½ S 2 r 2 2 ° ® ³ e d ( r ) ¾  e r 2 °¯ 2 0 4 °¿

rd rdT

0 0

f

S

0

4

.

Finally f

³e

x 2

S

dx

2

0

.

The Gaussian integral can be written in terms of the gamma function f

³t

*( z )

z 1  t

e dt

(Re z ! 0) .

0

x 2 we have

Namely, with the substitution u f

³e

x 2

dx

0

1 §1· *¨ ¸ 2 ©2¹

and more generally, with the substitution u f

³e 0

x p

dx

x p , p ! 0 , we have

1 §1· * p ¨© p ¸¹

([25, Entry 3.325]).

Example 2.2.9 Sometimes we can use partial derivatives. Consider the function F (O , P )

e  p x cos qx  e  O x cos P x dx ³0 x

f

Special Techniques for Solving Integrals

56

with four parameters. Here O ! 0, P will be variables and p ! 0, q will be fixed. The partial derivatives are f

³e

FO (O , P )

O x

cos P x dx

0

f

³e

FP (O , P )

O x

sin P x dx

0

O O  P2 2

P . O2  P2

It is easy to restore the function from these derivatives 1 ln (O 2  P 2 )  C ( p, q ) 2

F (O , P )

where C ( p, q ) is unknown.

We notice that F ( p, q ) 0 (from the 1 definition of F (O , P ) ). From the last equation C ( p, q ) ln ( p 2  q 2 ) 2 and finally f

e  p x cos qx  e  O x cos P x dx ³0 x

1 O2  P2 . ln 2 p2  q2

In all following examples containing e  O x we assume that O ! 0 . Example 2.2.10 Now for a ! b ! 0 we evaluate J (O )

f

³e

O x

0

sin(a x)sin(bx) dx . x

Clearly, J c(O )

f

 ³ e  O x sin(ax)sin(bx) dx 0

Solving Integrals by Differentiation with Respect to a Parameter

57

f f 1 °­  O x °½ O x ® ³ e cos(a  b) x dx  ³ e cos(a  b) x dx ¾ 2 °¯ 0 °¿ 0

½ O O 1­ .  2 ® 2 2 2 ¾ 2 ¯ O  ( a  b) O  ( a  b) ¿

Integrating this with respect to O and computing the constant of integration by setting O o f we find f

(2.12)

O x ³e 0

sin(a x)sin(bx) dx x

1 O 2  ( a  b) 2 . ln 4 O 2  ( a  b) 2

This is entry 3.947(1) in [25].

Example 2.2.11 Using the previous example we shall evaluate now entry 3.947(2) from [25]. G (O )

f

³e

O x

0

sin(a x)sin(bx) dx x2

where again a ! b ! 0 . We have from (2.12) G c(O )  J (O )

1 O 2  ( a  b) 2 ln 4 O 2  ( a  b) 2

and integrating by parts

G (O )

· O O 2  ( a  b) 2 1 § O2 O2 ln 2   dO . ¨ 2 2 2 2 2 ¸ ³ 4 O  ( a  b) 4 © O  ( a  b) O  ( a  b) ¹

With simple algebra we find

Special Techniques for Solving Integrals

58

O2 O 2  ( a  b) 2



O2 O 2  ( a  b) 2

( a  b) 2 ( a  b) 2  O 2  ( a  b) 2 O 2  ( a  b) 2

and the integration becomes easy. The result is G (O )

O O 2  ( a  b) 2 a  b O ab O Sb ln  arctan  arctan  4 O 2  ( a  b) 2 2 a b 2 ab 2

(the constant of integration is computed by setting O o f ). This answer is simpler than the one given in [25]. Setting O o 0 we prove also 3.741(3) in [25], namely, f

sin(a x)sin(bx) dx x2 0

³

Sb 2

(a ! b ! 0) .

Example 2.2.12 Let again a ! b ! 0 . The integral G (O )

f

³e 0

O x

sin(a x) cos(bx) dx x

is similar to the one in (2.12) (entry 3.947(3) in [25]). Here G c(O )

f

 ³ e  O x sin(ax) cos(bx) dx 0

f f 1 °­  O x °½ e a b x dx e  O x sin(a  b) x dx ¾   sin( ) ®³ ³ 2 ¯° 0 0 ¿°

½ 1 ­ ab ab  2 ® 2 2 2 ¾ O  ( a  b) ¿ 2 ¯ O  ( a  b)

and integration gives

Solving Integrals by Differentiation with Respect to a Parameter

59

S

1§ O O ·  ¨ arctan  arctan ¸ 2 2© ab a b¹

G (O )

(again evaluating the constant of integration with O o f ). Setting b o a we find also f

³e

O x

0

sin(a x) cos(a x) dx x

S

1 O .  arctan 4 2 2a

Example 2.2.13 f

³e

F (O )

O x

0

cos(a x)  cos(bx) dx x2

(entry 3.948(3) in [25]). Differentiation gives f

O x ³e

F c(O )

0

cos(bx)  cos(a x) dx x

1 O 2  a2 ln 2 O 2  b2

as cos(bx)  cos(a x) [cos(bx)  1]  [1  cos(a x)] and we can use (2.9). Integration by parts yields (2.13)

F (O )

O 2

ln

O 2  a2 b a  b arctan  a arctan 2 2 O b O O

(again the constant of integration is found by setting O o f ). Many other integrals of similar structure can be evaluated this way or can be reduced to those already evaluated here. For example, entry 3.948(4) from [25]

A(O )

f

O x ³e 0

sin 2 (a x)  sin 2 (bx) dx x2

can be reduced to (2.13) by using the identity 2sin 2 D 1  cos 2D . Thus

Special Techniques for Solving Integrals

60

f

1  O x cos(2bx)  cos(2ax) e dx 2 ³0 x2

A(O )

O 4

ln

O 2  4b 2 2a 2b  a arctan  b arctan . O 2  4a 2 O O

The next several examples show some interesting logarithmic integrals involving trigonometric functions as well.

Example 2.2.14 Consider the integral S /2

³ ln(D

J (D )

(2.14)

2

 cos 2 T )dT

0

for D ! 1 . Differentiation with respect to D gives

J c(D ) 2D

S /2

³D

2

0

and now the substitution x f

tan T turns this into

dx 2 D  1  D 2 x2 0

J c(D ) 2D ³

dT  cos 2 T

2

D 1 2

arctan

Dx D 1

f

S D 2 1

2

0

.

Therefore,

J (D )

S /2

³ ln(D 0

2

 cos 2 T )dT





S ln D  D 2  1  C .

Now the question is how to evaluate the constant C. For this purpose we factor out D 2 inside the logarithm in the integral and likewise we factor out D on the right-hand side. Using the properties of the logarithm we write

Solving Integrals by Differentiation with Respect to a Parameter

S ln D 

S /2

³ 0

§ cos 2 T ln ¨1  D2 ©

§

· ¸ dT ¹

S ln D  S ln ¨¨1  1  ©

61

1 · ¸C . D 2 ¸¹

Removing S ln D from both sides and setting D o f we compute C S ln 2 . As a result, two integrals are evaluated (see below). For the second one we set E 1 / D S /2

³

(2.15)

ln(D 2  cos 2 T )dT S ln

0

S /2

(2.16)

³

ln(1  E 2 cos 2 T )dT

S ln

0

In particular, with E integral

1 1 E 2 2

(0 d E d 1) .

1 in (2.16) we come to the important log-sine S /2

³ ln(sin T ) dT

(2.17)

D  D 2 1 (D ! 1) 2

0

S

 ln 2 . 2

Example 2.2.15 By the same method (as in the previous example) we prove that S /2

(2.18)

³ ln(1  D sin

2

T ) dT S ln

0

1 1D 2

(1 d D ) .

Calling the left-hand side F (D ) we differentiate to find

F c(D )

S /2

³ 0

sin 2 T dT . 1  D sin 2 T

To solve this integral we divide top and bottom of the integrand by cos 2 T and then make the substitution x tan T . The result is

Special Techniques for Solving Integrals

62

f

x2 ³0 (1  x 2 )(1  (1  D ) x 2 ) dx .

F c(D )

Assuming for the moment that D z 0 and using partial fractions we compute f · 1 § 1 1 dx  ¨ 2 2 ¸ ³ D 0 © 1  x 1  (1  D ) x ¹

F c(D )

f

· 1§ 1 arctan( x 1  D ) ¸ ¨¨ arctan x  ¸ D© 1D ¹0

S § 1 · 1 ¨ ¸. 2D © 1D ¹

Simple algebra shows that

F c(D )

S 1 D 1 S . 2 D 1D 2(1  1  D ) 1  D





Which is exactly the derivative of S ln 1  1  D . This way





F (D ) S ln 1  1  D  C .

At this point we can drop the restriction D z 0 and set D C S ln 2 . The evaluation (2.18) is proved.

0 . We find

Example 2.2.16 Let | D |  1 . Now we prove entry 4.397(3) in [25] (2.19)

F (D )

S

ln(1  D cos T ) dT cos T 0

³

S arcsin D .

Assuming that the value of the integrand at T S / 2 is D , the integrand becomes a continuous function on [0, S ] . Then

Solving Integrals by Differentiation with Respect to a Parameter

F c(D )

(2.20)

S

63

1

³ 1  D cosT dT 0

which is easily solved by the substitution t f

tan

T 2

(see Section 1.6)

f

dt 1  D  (1  D )t 2 0

2 dt ³ 1 1 D 0 1 D t2 1D

F c(D ) 2 ³

§ 1D arctan ¨¨ t 1D 2 © 1D 2

f

· ¸¸ ¹0

S 1D 2

and (2.19) follows by integration. Equation (2.19) holds also for D convergent. Thus

r1 , the improper integral being

S

ln(1 r cos T ) ³0 cosT dT

r

S2 . 2

Example 2.2.17 Let again | D |  1 . With the result from the previous example we can prove the evaluation (2.21)

G (D )

S

³ ln(1  D cosT ) dT

S ln

0

1 1D 2 . 2

Indeed, assuming for the moment that D z 0 we write

G c(D )

S

cos T ³0 1  D cosT dT

S

1 1  D cos T  1 dT . D ³0 1  D cos T

Splitting this integral in two parts and borrowing (2.20) from the previous example we have

Special Techniques for Solving Integrals

64

S 1S 1  ³ dT D D 0 1  D cosT

S F c(D )  D D

S S  . D D 1D 2

Integration is easy





§ dD 1 · 1 2 G (D ) S ¨ ln D  ³ ¸ S ln D  ln(D  D  1  C 2 D 1 ¹ © or





G (D ) S ln 1  1  D 2  C .

Dropping the restriction D z 0 and setting D 0 we find C S ln 2 . With this (2.21) is proved. With D o r1 we obtain the well-known S

³ ln(1 r cosT ) dT

S ln 2 .

0

Example 2.2.18 We work here with a very interesting integral

F (D )

(2.22)

S

³ ln(1  2D cos x  D

2

)d x .

0

It can be found, for example, in [23] and [50]. At first we assume D z 0 and D z 1. Then

F c(D )

S

S · 2cos x  2D 1 § 1D 2 dx 1  ³0 1  2D cos x  D 2 D ³0 ¨© 1  2D cos x  D 2 ¸¹ dx

S 2



1D 2

D

S

1

³ 1  2D cos x  D 0

2

dx .

Solving Integrals by Differentiation with Respect to a Parameter

The last integral can be evaluated by the substitution t

tan

65

x . Simple 2

work gives

S 2 1D  arctan t D D 1D

F c(D )

f

0

and we find from here that F c(D ) 0 when | D |  1 . When | D | ! 1 we 2S . Thus F (D ) C1 , a constant, when | D |  1 and have F c(D ) D F (D ) C2  S ln(D 2 ) when | D | ! 1 . Since F (0) 0 (as (2.22) shows) we have

F (D ) 0 for all |D | < 1 . Next, let | D | ! 1 . In order to evaluate the constant C2 we factor out

D 2 inside the logarithm in (2.22) and write F (D )

S

§

³ ln ¨© D 0

2

§ 1 2cos x · ·  1¸ ¸ d x ¨ 2 D ©D ¹¹ §1· 2 ¸ S ln(D ) ©D ¹

S ln(D 2 )  F ¨

as F (1 / D ) 0 (here |1 / D |  1 ). This also extends to D summarize,

r1 . To

F (D ) S ln (D 2 ) for all |D | t 1 . This integral will be considered also in Chapter 3 by using a series representation. The integral can be written in a symmetrical form (cf. entry 2.6.36(14) in [43]). With | E | d | D |

Special Techniques for Solving Integrals

66 S

³ ln (E

2

 2DE cos x  D 2 ) d x 2S ln | D | .

0

Example 2.2.19 One more integral with a logarithm. We will evaluate 1

³

f (D )

ln(1  D 2 x 2 ) x2 1  x2

0

dx

where | D |  1. After differentiation 1

f '(D ) 2D ³ 0

1 (1  D x ) 1  x 2 2

2

dx .

In this integral we make the substitution x sin T to get f '(D ) 2D

S /2

³ (1  D

1 dT . sin 2 T )

2

0

Dividing top and bottom of the integrand by cos 2 T and using the equations

1 dT cos 2 T

1 cos 2 T

d tan T ,

1  tan 2 T

we bring the integral to the form f '(D ) 2D

S /2

³ 0



S /2

2D 1D

2

³ 0

1 (1  (1  D 2 ) tan 2 T ) 1

(1  (1  D ) tan T ) 2

2

d tan T

d ( 1  D 2 tan T )

Solving Integrals by Differentiation with Respect to a Parameter



S

2D

arctan( 1  D tan T ) 02 2

1D 2

SD



1D 2

67

.

Integrating we find

f (D ) S 1  D 2  C

0 we compute C S . Finally,

and with D

1

³ 0

ln(1  D 2 x 2 ) x2 1  x2

dx S





1 D 2 1 .

At this point we see that both sides are defined also for D r1, so the initial restriction on D can be relaxed and the equation holds for all | D | d 1. A problem for the reader: in a similar way evaluate 1

³

ln(1  D 2 x 2 ) 1  x2

0

dx .

Example 2.2.20 Here we present our solution to Problem 11101 from the American Mathematical Monthly (2006, p. 270). Let a, b ! 0 . The problem is to prove the identity f

³ 0

a a x 2

2

arctan

b a x 2

2

dx

Sa 2

ln(b 



b 2  a 2 )  ln a .

Solution: With the substitution x o a x we can write this in the form f

³ 0

1 1  x2

arctan

b/a 1  x2

Now for D t 0 define the function

dx

2 § · ln ¨ b  b  1 ¸ . 2 ©a a2 ¹

S

Special Techniques for Solving Integrals

68

f

1

³

F (D )

1 x

0

2

arctan

D 1  x2

dx

where f

³

F '(D )

0

1

f

§ 1 ·§ D 2 · dx  1 ¨ ¸¨ 2 2 ¸ 1  x2 © 1  x ¹ © 1  x ¹ 1

1 1D

2

arctan

f

x 1D

2 0

³1D 0

S 2 1D 2

1 2

 x2

dx

.

Therefore,

S

F (D )

Setting D

0 we find C

2

0 , so that

F (D )

Replacing D

ln(D  1  D 2 )  C .

S 2

ln(D  1  D 2 ) .

b / a we come to the desired result.

Example 2.2.21 Entry 2.7.5 (20) in [43] is a very strange integral f

1 § 1 · arctan x ¸ dx 2 ¨1  x © ¹

³x 0

S 4

.

It looks like the substitution 1 / x t will help to solve it. With this substitution, however, the integral becomes f

§



³ ¨©1  t arctan t ¸¹ dx 0

Solving Integrals by Differentiation with Respect to a Parameter

which does not look easier. Using the identity arctan

S

1 t

2

69

 arctan t here

will not help. We will try something different. The integral can be written in the form f

³ 0

x  arctan x dx x3

and here we introduce a parameter. Consider the function F (O )

f

³

O x  arctan O x x3

0

dx

for O t 0 . The parameter should be put in both places. The reader can easily check that if we put the parameter only in the arctangent it will not be very helpful. Now we differentiate with respect to O , compute the resulting integral, and then integrate with respect to O F '(O )

f

³ 0

1§ x 3 ¨x x © 1  O 2 x2

· ¸ dx ¹

f

³ 0

1 § O 2 x3 x 3 ¨© 1  O 2 x 2

f

O2 f ³0 1  O 2 x 2 dx O arctan(O x) 0

SO 2

· ¸ dx ¹

.

Integration gives F (O )

f

³

O x  arctan O x

0

x3

dx

SO 2 4

(the constant of integration is zero, because F (0) 0 ). With O 1 we prove the original integral. 2.3 Using Differential Equations Example 2.3.1 For every x consider the integral

Special Techniques for Solving Integrals

70

f

³e

y ( x)

t 2

cos(2 xt ) dt .

0

Here f

y c( x)  ³ 2te t sin(2 xt ) dt 2

0

and integration by parts leads to the separable differential equation y c 2 xy , or dy dx

2 xy,

dy y

2 xdx

with general solution y ( x) Ce  x . According to (2.11) 2

f

y (0)

³e

t 2

S 2

dt

0

and so C

S / 2 . Finally, f

³e

t 2

S

cos(2 xt ) dt

2

0

e x . 2

This important integral shows the invariance of the function e  x under Fourier’s cosine transform. It appears in rescaled form as entry 3.896(4) in [25]. 2

The integrand is an even function and with a simple rescaling we can write the result in the form f

³e

f

 at 2

cos ( xt ) dt

S a

e x

2

/ 4a

(Re a ! 0)

This integral was used by the author to solve Problem 1896 in the

Solving Integrals by Differentiation with Respect to a Parameter

71

Mathematics Magazine (vol. 86, June 2013, 228-230). The problem is to evaluate the integral f

A

cos t cos t dt . t 0

³

First, the substitution t o t 2 transforms this integral to f

f

A 2 ³ cos(t 2 ) cos tdt

³ cos(t

2

) cos tdt .

f

0

Next we extend by continuity the identity f

³e

 at 2

cos ( xt ) dt

f

S a

e x

2

/ 4a

to complex numbers a z 0 even when Re a 0 . Setting x 1 and a i we find f

f

i t ³ cos(t 2 )  i sin(t 2 ) cos tdt ³ e

f

2

cos (t ) dt

f

§ · 1 1 S ¨ 2  i 2 ¸ §¨ cos  i sin ·¸ . © 2

2 ¹©

4



Comparing real parts gives f

³ cos(t

2

) cos tdt

f



1 1· ¨ cos  sin ¸ . 2© 4 4¹

This way f

cos t cos t dt t 0

³



1 1· ¨ cos  sin ¸ . 2© 4 4¹

S i

e 1/ 4i

72

Special Techniques for Solving Integrals

Example 2.3.2 In this example we evaluate two interesting integrals (3.723(2) and 3.723(3) from [25])

F (O )

f

cos O x ³0 a 2  x 2 dx, G (O )

f

x sin O x dx 2  x2

³a 0

where a ! 0, O t 0 . The two integrals can be viewed as Fourier cosine and sine transforms. We will find a second order differential equation for F (O ) . First we notice that

F c(O ) G (O )

(2.23)

Further direct differentiation brings to a divergent integral. To avoid this obstacle we shall use a special trick, adding to both sides of (2.23) the number

S 2

f

sin x dx x 0

³

(see Example 2.1.1), After a simple calculation we find

F c(O ) 

S 2

f

a2 ³ 0

sin O x dx . x (a 2  x 2 )

Differentiating again we come to the second order differential equation

F cc a 2 F with general solution ( A, B - arbitrary parameters)

F (O )

Ae aO  Be  aO .

Then A 0 because F (O ) is a bounded function when O o f . To find B we set O 0 and compute

Solving Integrals by Differentiation with Respect to a Parameter f

dx B F (0) ³ 2 a  x2 0

1 x arctan a a

f

0

73

S . 2a

Finally,

F (O )

(2.24)

f

cos O x dx 2  x2

S 2a

x sin O x dx 2  x2

S aO e . 2

³a 0

e a O .

And from (2.23) also

G (O )

(2.25)

f

³a 0

Notice the interesting equation G (O ) aF (O ) ! This result can be used to evaluate other similar integrals. Integrating (2.24) with respect to O and adjusting the constant of integration we prove entry 3.725(1) in [25], namely, f

sin O x dx 2  x2 )

S (1  e  aO ) . 2 2a

³ x(a 0

Differentiating this integral with respect to a we prove also entry 3.735 f

sin O x dx 2  x 2 )2

³ x(a 0

S 2a

4

(1  e  a O ) 

SO 4a 3

Problems for the reader: Prove that f

cos O x dx 2  x 2 )2

³ (a 0

f

cos 2 x ³0 (1  x 2 )2 dx

S 4a

S 8

3

(1  aO )e  a O

(1  3e 2 ) .

e a O .

Special Techniques for Solving Integrals

74

Example 2.3.3 We shall evaluate here two Laplace integrals. For s ! 0 and a ! 0 consider f

F (s)

f

e  st ³0 a 2  t 2 dt and G(s)

te  st ³0 a 2  t 2 dt .

Differentiating twice the first integral we find

F c( s ) G ( s ), F cc( s ) G c( s ) .

(2.26) At the same time

G c( s )

t 2 e  st ³0 a 2  t 2 dt

f

(a 2  a 2  t 2 )e  st dt ³0 a2  t 2

f

a 2 F ( s) 

1 s

which leads to the second order differential equation 1 . s

F cc  a 2 F

This equation can be solved by variation of parameters. The solution is F (s)

1 >ci(as)sin(as)  si(as) cos(as)@ a

involving the special sine and cosine integrals f

sin t dt t x

si( x)  ³



S 2

x

sin t dt t 0



f

cos t dt . t x

ci( x)  ³

The choice of integral limits here is dictated by the initial conditions F (f ) G (f ) 0 . From (2.26) we find also

Solving Integrals by Differentiation with Respect to a Parameter

75

G ( s )  ci(as )cos(as )  si( as )sin( as) . The integral F ( s ) can be used to construct an interesting extension of the integral f

³ 0

sin x dt x

S 2

.

Namely, for b ! 0 f

sin ax ³0 x  b dx

­° f  t ( x  b ) ½° sin ax dt ¾ dx ®³ e ³0 °¯ 0 °¿

f

f °­  xt °½  bt ³0 ®¯°³0 e sin ax dx ¾¿° e dt

f

f

e bt dt a2  t 2 0



aF (b) ci(ab)sin(ab)  si(ab) cos(ab) .

That is, f

sin a x dx ci(ab)sin(ab)  si(ab) cos(ab) . xb 0

³

This is entry 3.772(1) in [25]. In the same way we prove 3.722(3) f

cos a x dx  ci(ab) cos(ab)  si(ab)sin(ab) . xb 0

³

Example 2.3.4 Here we evaluate the integral

H (D )

f

§

D · dx , D !0 x

³ exp ¨©  x  x ¸¹ 0

Special Techniques for Solving Integrals

76

by using a differential equation (cf. [29]). Differentiation yields f

D · dx § H c(D )  ³ exp ¨  x  ¸ . x¹x x © 0 The substitution x D / t transforms this into f

1

D · dt

§

exp ¨ t  ¸ t ¹ D³ ©

H c(D ) 

0

t

so we have the separable differential equation

H c(D )

1

D

H (D ),

dH H

 dD

D

with solution H (D )

M exp (2 D )

where M ! 0 is a constant. Setting D o 0 and using the fact that §1· H (0) * ¨ ¸ ©2¹

S

we find H (D )

S exp (2 D ) .

Remark. With the substitution x D t 2 our integral becomes H (D )

f

§

³ exp ¨© D t 0

2



1· ¸ dt t2 ¹

S exp ( 2 D ) 2 D

and this is exactly integral (1.42) solved in Example 1.8.7 in the previous chapter by a special substitution. This work gives also the value of another important integral, namely

Solving Integrals by Differentiation with Respect to a Parameter f

D · dx

§

³ exp ¨©  x  x ¸¹ x

x

0

f

 H '(D )

D · dx

§

³ exp ¨©  x  x ¸¹ x 0

x

1

D

H (D )

S exp(2 D ) . D

Problem for the reader: Show that J (D )

f



§

³ exp ¨©  x  x ¸¹

x dx

0

1 S §¨ D  ·¸ exp (2 D ) . ©



Hint: J '(D )  H (D ) .

Example 2.3.5 Here we work with the two integrals

U (D )

V (D )

f

§D2 · 2 exp (  x ) cos ¨ 2 ¸ dx ³0 ©x ¹

f

§D2 · 2  x exp ( )sin ¨ 2 ¸ dx ³0 ©x ¹

where D ! 0 . We differentiate U (D ) and then set y D / x to find f 0 §D2 · D § D 2 · 2 c U (D ) 2 ³ exp ( x ) cos ¨ 2 ¸ 2 dx 2 ³ exp ¨ 2 ¸ sin( y 2 ) dy © x ¹x © y ¹ 0 f

f § D 2 · 2 ³ exp ¨ 2 ¸ sin( y 2 ) dy . © y ¹ 0

A second differentiation gives (with x D / y )

77

Special Techniques for Solving Integrals

78

f § D 2 · 2D U cc(D ) 2 ³ exp ¨ 2 ¸ sin( y 2 ) 2 dy y © y ¹ 0 f §D2 · 4 ³ exp ( x 2 )sin ¨ 2 ¸ dx ©x ¹ 0

that is,

U cc(D ) 4V (D ) . In the same way we obtain V cc(D ) 4U (D ) . We define now the complex function W (D ) U (D )  iV (D ) . This function satisfies the second order differential equation

W cc(D ) 4iW (D ) with characteristic equation r 2  4i 0 and roots r1

 2  i 2 and

2  i 2 . With these roots we construct the general solution

r2

W (D )

A exp(r1D )  B exp(r2 D )

with parameters A, B . Explicitly,

W (D )

Ae 

2D

(cos 2D  i sin 2D )  Be

2D

(cos 2D  i sin 2D ) .

At this point we conclude that B 0 since W (D ) is a bounded function. This way

W (D )

Ae 

Setting D 0 we find W (0) U (D ) and V (D ) we have

2D

(cos 2D  i sin 2D ) .

A . At the same time from the definition of f

W (0) U (0)

³ exp ( x 0

Thus

2

) dx

S 2

A.

Solving Integrals by Differentiation with Respect to a Parameter

W (D )

S  e 2

2D

(cos 2D  i sin 2D ) .

Taking real and complex parts we conclude that U (D )

V (D )

f

§D2 · 2 exp (  x ) cos ¨ 2 ¸ dx ³0 ©x ¹

S 2

f

§D2 · 2 exp ( x )sin  ¨ 2 ¸ dx ³0 ©x ¹

S 2

e

e

2D

2D

cos 2D

sin 2D .

2.4 Advanced Techniques In certain cases we can use the Leibniz Integral Rule \ (D )

d f (D , x) dx dD M (³D ) \ (D )

³ M D (

d f (D , x) dx  f (D , \ (D ))\ c(D )  f (D , M (D )) M c(D ) dD )

where f (D , x), M (D ), \ (D ) are appropriate functions (see [23]).

Example 2.4.1 We will evaluate the challenging integral 1

³

arctan x 1  x2

0

dx

by using the function J (D )

1

³ M D

( )

arctan(D x) 1  x2

dx

79

Special Techniques for Solving Integrals

80

where D ! 1 and

M (D )

1

D 2 1 D

1

D2

with derivative 1

M c(D )

D

2

.

D 2 1

Applying the Leibniz rule we find 1

x

³

J c(D )

M (D ) (1  D

2

x2 ) 1  x2

dx 

arctan D 2  1

D D 2 1

.

Let us call the integral here A(D ) . We will evaluate it by the substitution 1  x2 u 2 , u t 0 A(D )

1

³ M (D ) (1  D

1 2D D 2  1

ln

1/D

x 2

x ) 1 x 2

D 2 1  Du D 2 1  Du

2

dx

³D

2

0

du  1  D 2u 2

1/D

1 0

2D D 2  1

ln

This function is easy to integrate by noticing that

d D 2 1 1 2 ln dD D 2 1 1 D D 2 1 and therefore, one antiderivative is 2

³ A(D ) dD

1 § D 2 1 1· ¨ ln ¸ . 8 ¨© D 2  1  1 ¸¹

D 2 1 1 D 2 1 1

.

Solving Integrals by Differentiation with Respect to a Parameter

We also compute d 1 arctan D 2  1 dD D D 2 1

and so we have the antiderivative

³

arctan D 2  1

D D 2 1



1 arctan D 2  1 2

dD



2

Now we can integrate J c(D ) to get 2

J (D )

1 § D 2 1 1· 1 ¨ ln ¸  arctan D 2  1 2 ¨ 8 © D  1  1 ¸¹ 2



Using the limit lim J (D ) 0 we compute C

S2

D of

2

(2.27)

J (D )

8



2

C .

. Finally,

2 1 § D 2 1 1· 1 S2 . ¨ ln ¸  arctan D 2  1  8 ¨© 8 D 2  1  1 ¸¹ 2





Setting here D o 1 we find after a simple computation 1

³

(2.28)

arctan x

0

With D

1  x2

dx

S2 8







2 1 ln(1  2) . 2

2 in (2.27) we find also 1

³

3/2

arctan(2 x) 1  x2

dx

2

2 1§ 5 1· 1  ¨¨ ln ¸¸  arctan 3 . 8 8© 5 1 ¹ 2

S2

Remark. Integration by parts in (2.28) yields





81

Special Techniques for Solving Integrals

82

1

arctan x

³

1 x

0

2

S2

dx

8

1

³ 0

arcsin x dx 1  x2

and so 1

³ 0

arcsin x dx 1  x2





2 1 ln(1  2) . 2

Using the identity

S

arctan x

2

 arctan

1 x

( x ! 0)

we can write 1

³

arctan x 1 x

0

2

dx

S2 4

1



arctan (1 / x) 1  x2

0

dx .

In the second integral we make the substitution x 1 / t to find also f

(2.29)

arctan t

³t 1

t2 1

dt

2 S2 1  ln(1  2) . 8 2





This integral was evaluated in [18] by using a parameter, much like (2.28) was evaluated.

Example 2.4.2 We evaluate here in explicit form the function

F (D )

f

ln(D x  D 2 x 2  1) dx ³ x(1  x 2 ) 1/D

for D ! 0 . Differentiating by the Leibniz rule we compute

Solving Integrals by Differentiation with Respect to a Parameter

F c(D )

f

³ 1/D (1  x ) 2

83

dx

D 2 x2  1

(notice that ln(D x  D 2 x 2  1) becomes zero for x 1 / D ). To solve this integral we first write it in the form

F c(D )

f

d x 2 1 2 1/³D ( x 2  1) D 2  x 2

and then make the substitution D 2  x 2

F c(D )

D

dt ³0 1  D 2  t 2

t 2 , t t 0 . This gives

1 2 1D 2

ln

1D 2 D 1D 2 D

.

This function is easy to integrate, as

d 1D 2 D ln dD 1D 2 D

2 1D 2

.

Thus we find 2

F (D )

1§ 1D 2 D · ¨ ln ¸ C. 8 ¨© 1  D 2  D ¸¹

To evaluate the constant of integration we compute the limit

lim F (D ) 0 .

D o0

Finding this limit is a good exercise for the reader. The evaluation of the 1 limit becomes easier, if we make the substitution x in the integral Dt F (D ) and transform it into an integral with finite limits. Thus we come to

Special Techniques for Solving Integrals

84

2

1§ 1D 2 D · ¨ ln ¸ . 8 ¨© 1  D 2  D ¸¹

F (D )

The expression in the logarithm can be simplified by writing 1D 2 D

( 1  D 2  D )2

1D D

( 1  D  D )( 1  D  D )

2

2

2

( 1  D 2  D )2

so finally we have F (D )

1 2 ln ( 1  D 2  D ) 2

that is, f

(2.30)

ln(D x  D 2 x 2  1) dx ³ x(1  x 2 ) 1/D

In particular, for D

1 f

ln( x  x 2  1) ³1 x(1  x 2 ) dx

(2.31)

1 2 ln ( 1  D 2  D ) . 2

1 2 ln ( 2  1) . 2

For D 1 / 2 in (2.30) we find also f

(2.32)

ln( x  x 2  4) ³2 x(1  x2 ) dx

1 2 5 1 5 ln  ln 2ln . 2 2 2

Remark. The similar integral f

(2.33)

³1

ln( x  x 2  1) x x2  1

dx

cannot be evaluated this way. The value of this integral is 2G , where

Solving Integrals by Differentiation with Respect to a Parameter

(1) n ¦ 2 n 0 (2n  1) f

G

1

85

1 1   ... 32 52

is Catalan’s constant. The substitution x cosh t with ln( x  x 2  1) t turns (2.33) into f

t

³ cosh t dt

2G

0

which is a well-known result. This last integral will be evaluated in Chapter 5, Section 5.5.

2.5 The Basel Problem and Related Integrals 2.5.1 Introduction The famous Basel problem posed by Pietro Mengoli in 1644 and solved by Leonhard Euler in 1735 asked for a closed form evaluation of the series 1

1 1  2  ... 2 2 3

- see [31]. Euler proved that 1

(2.34)

1 1 S2 .   ... 22 32 6

In the meantime, trying to evaluate the series Leibniz discovered the representation

1 1 ln(1  t )  2  ...  ³ dt 2 2 3 t 0 1

1

Special Techniques for Solving Integrals

86

but was unable to find the exact numerical value of this integral. It was shown in [31] that using complex logarithms this integral can be evaluated as S 2 / 6 . There exist, however other integrals which give a quick solution to the Basel problem without using complex numbers. A very good example is the integral 1

³

(2.35)

arcsin D x

0

1 x

2

dx

1 > Li 2 (D )  Li 2 (D )@ 2

for | D | d 1 . Here f

xn ¦ 2 n 1 n

Li 2 ( x)

is the dilogarithm ([33], [52]). Setting D 1

³ 0

arcsin x 1 x

2

dx

1 (arcsin x) 2 2

1 in (2.35) we find

1

S2

0

8

1 > Li 2 (1)  Li 2 (1)@ 2

and (2.34) follows immediately from here, as Li 2 (1)  Li 2 (1)

3 Li 2 (1) 2

3§ 1 1 · ¨1  2  2  ... ¸ . 2© 2 3 ¹

This clever solution to the Basel problem was published by Habib Bin Muzaffar in [36]. The series in (2.34) is usually denoted by ] (2) as a particular value of the Riemann zeta function

] (s)

f

1

¦n

s

(Re s ! 1) .

n 1

Here is a proof of (2.35). Let the integral on the left-hand side be F (D ) . Then

Solving Integrals by Differentiation with Respect to a Parameter 1

³

F c(D )

0

S /2

x dx

³

1  D 2 x2 1  x2

87

sin T dT 1  D 2 sin 2 T

0

with the substitution x sin T . Next we write S /2

S /2

sin T dT

³

1  D sin T 2

0



2

1

D

³ 0

S /2

³ 0

d cos T 1  D 2  D 2 cos 2 T

d (D cos T ) 1  D 2  (D cos T ) 2

and setting t D cos T

1

D

D³ 0

dt

1

1D 2  t2

D

1§ 1 2 · ¨ ln(1  D )  ln(1  D ) ¸ D© 2 ¹

ln(t  1  D 2  t 2 )

D 0

1 § ln(1  D ) ln(1  D ) ·  ¨ ¸ D 2© D ¹

1 § f D n 1 f (1) n 1D n 1 · ¦ ¨¦ ¸ n 2© n 1 n n 1 ¹

and (2.35) follows by simple integration. A problem for the reader: Show that for every | D |  1 1

2D ³ 0

arccos x 1  D 2 x2

dx

Li 2 (D )  Li 2 (D )

(hint: start with the substitution t D x ). This is entry 4.1.6 (58) in [20].

Example 2.5.1 For D t 1 consider the integral

Special Techniques for Solving Integrals

88

1

³

x arccos x

D 2  x2

0

dx

which is entry 4.1.6 (57) in [20]. This integral resembles the previous two, but has a different solution. Not differentiation with respect to the parameter D , but integration by parts. 1

³ 0

x arccos x

D 2  x2

1



dx

1 arccos x d (D 2  x 2 ) ³ 2 2 20 D x

1

 ³ arccos x d D 2  x 2 0

 arccos x D  x 2

2

1 0

1



D 2  x2

0

1  x2

dx

(continuing here with the substitution x sin t ) S /2 SD S / 2 2 SD  ³ D  sin 2 t dt  D ³ 1  D 2 sin 2 t dt 2 2 0 0

SD

§S 1 · D E¨ , ¸ 2 ©2 D¹

where

E( P , k )

P

³

1  k 2 sin 2 t dt

0

is the (incomplete) elliptic integral of the second kind. That is, 1

³ 0

x arccos x

D x 2

2

dx

SD

§S 1 · D E¨ , ¸ . 2 ©2 D¹

A problem for the reader: Check that for D t 1

Solving Integrals by Differentiation with Respect to a Parameter 1

³ 0

x arcsin x

D x 2

2



dx

S D 2 1 2

89

§S 1 · D E¨ , ¸ . ©2 D¹

2.5.2 Special integrals with arctangents We will consider now some integrals similar to the one in (2.35) which can be associated with the Basel problem, either solving it or leading to similar results. Example 2.5.2 We will prove here that f

(2.36)

arctan D x 1D dx ln D ln  Li 2 (D )  Li 2 (D ) 2 1 x 1D 0



for any 0 d D d 1 . Indeed, it is easy to see (by using limits) that the 1D right-hand side extends to D 0 and D 1 . The function ln D ln 1D becomes zero for D o 0 and for D o 1 . With D o 1 we compute immediately from (2.36) (arctan x) 2

1

S2

0

4

3 Li 2 (1) 4

3 ] (2) 4

and (2.34) follows. This integral also solves the Basel problem. Proof of (2.36). Let J (D ) be the left-hand side in (2.36). Differentiation yields J c(D )

f

2 xdx ³0 (1  D 2 x 2 )(1  x 2 )

1 1D 2

f § 2x 1 2D 2 x ·  ¨ ¸ dx 1  D 2 ³0 © 1  x 2 1  D 2 x 2 ¹

ª 1  x2 º «ln 2 2 » ¬ 1D x ¼

f

0

2ln D . 1D 2

Special Techniques for Solving Integrals

90

Thus, since J (D ) is defined for D

J (D )

0 and J (0) 0 D

2ln t

³ 1 t

2

dt .

0

Integrating by parts we find

J (D ) ln D ln

D

1D § ln(1  t ) ln(1  t ) ·  ³¨  ¸ dt 1D 0 © t t ¹

ln D ln

1D  Li 2 (D )  Li 2 (D ) 1D

as desired. This integral appears in the table [43] as entry 2.7.4(12) in a different form f

arctan D x 2³ dx 1  x2 0

S2

1 § 1 ·  ln 2 (1  D )  Li 2 ¨ ¸  Li 2 (1  D ) 3 2 ©1D ¹

which is less helpful for solving the Basel problem.

Example 2.5.3 For every | D | d 1 we have

arctan D x dx 1  x2 0

1



(2.37)

f

¦ (ln 2  H n 0

 n

)

D 2 n 1 2n  1

where 1 1 (1) n 1   ...  (n t 1), H 0 2 3 n

0

are the skew-harmonic numbers. In particular, when D

1

H n

1

Solving Integrals by Differentiation with Respect to a Parameter

S2

(2.38)

16

f

¦ (ln 2  H

 n

n 0

)

91

1 . 2n  1

The numbers H n are the partial sums in the series (1) k 1 k 1

f

¦

ln 2

k

and we can also write ln 2  H n

(1) k 1 ¦ k . k n 1 f

This integral does not solve the Basel problem, but the representation (2.38) deserves to be mentioned. Proof of (2.38). As before, we first assume that | D |  1 and at the end we drop this restriction. Calling the left-hand side G (D ) we have G c(D )

1

2 x dx ³0 (1  D 2 x 2 )(1  x 2 )

1 ­ x 2 D 2x ½  ® ¾ dx 1  D 2 ³0 ¯1  x 2 1  D 2 x 2 ¿

ln 2 ln(1  D 2 )  1D 2 1D 2

f

¦ (ln 2  H

 n

)D 2n

n 0

since the generating function of the skew-harmonic numbers is

ln(1  t ) 1 t

f

¦H

 n n

t

(| t |  1)

n 0

(see Section 5.7.2). Now integration brings to (2.38). The proof is completed.

Special Techniques for Solving Integrals

92

2.5.3 Several integrals with logarithms We present here several integrals which are associated with the integrals in the previous examples.

Example 2.5.4 For every 0 d D d 1 (2.39)

f

³

h(D )

0

ln(1  D x) dx ln D ln(1  D )  Li 2 (D ) x(1  x)

where the function ln D ln(1  D ) is defined for D 0 and D of limits and these limits are zeros. For D 1 we have f

³ 0

1 in terms

ln(1  x) S2 dx Li 2 (1) ] (2) x(1  x) 6

but we cannot use this result for directly solving the Basel problem, because we cannot obtain a multiple of S 2 on the left-hand side. Such things were possible in the equations (2.35) and (2.36) because of the trigonometric nature of those integrals. The last integral is entry 4.291(13) in [25] and is a particular case of 2.6.10 (52) in [43]. For the proof of (2.39) we compute f

dx 1 1 x ³0 (1  D x)(1  x) 1  D ln 1  D x

hc(D )

1 1 ln 1D D

f

0

 ln D . 1D

Integrating by parts

h(D )

D

 ln t ³0 1  t dt

D

ln(1  t ) dt t 0

ln D ln(1  D )  ³

Solving Integrals by Differentiation with Respect to a Parameter

93

ln D ln(1  D )  Li 2 (D ) . A problem for the reader: Prove that f

³ 0

by using the substitution x

ln(1  x) dx x(1  x)

S2 6

t . 1 t

Example 2.5.5 We feel obliged to investigate a close cousin to the above integral. Here we prove that for every 1 d D d 1

g (D )

(2.40)

1

³ 0

When D

ln(1  D x) §1· §1D · dx Li 2 ¨ ¸  Li 2 ¨ ¸. x(1  x) ©2¹ © 2 ¹

1 we get 1

³ 0

ln(1  x) §1· dx Li 2 ¨ ¸ x(1  x) ©2¹

and we will use our integral to evaluate this value of the dilogaithm. Proof of (2.40). Like in the previous example we have

dx 1 1 x g c(D ) ³ ln (1  D x)(1  x) 1  D 1  D x 0 1

1

0

1 2 ln . 1D 1D

We notice that

d 1 f 1 § 1  D · §1D · Li 2 ¨ ¦ ¨ ¸ ¸ dD © 2 ¹ 1D n 1 n © 2 ¹ and the conclusion is

n

1 §1D · ln ¨ ¸ 1D © 2 ¹

Special Techniques for Solving Integrals

94

With D

d §1D · Li 2 ¨ ¸ dD © 2 ¹

g c(D )



g (D )

§1D ·  Li 2 ¨ ¸C. © 2 ¹

1 0 we find C Li 2 §¨ ·¸ . Done! ©2¹

Now we write §1· Li 2 ¨ ¸ ©2¹

1

³ 0

ln(1  x) dx x(1  x)

1

³ 0

ln(1  x) ln(1  x) dx  ³ dx x 1 x 0 1

1 ­ f (1) n 1 x n ½ 1 2 ¾ dx  ln (1  x) ³0 x ®¯¦ n 2 0 n 1 ¿ 1

1

(1) n 1 n 1 1 x dx  ln 2 2 ¦ ³ n 0 2 n 1 f

1

(1) n 1 1 2  ln 2 . ¦ n2 2 n 1 f

This way §1· Li 2 ¨ ¸ ©2¹

1 1 ] (2)  ln 2 2 2 2

or, in terms of series f

¦2 n 1

1§ f 1 ·  ln 2 2 ¸ . ¦ ¨ 2 2© n 1 n ¹

1 n 2 n

A nice and useful result by itself! We can evaluate the integral in (2.40) also in a different way. Using the Taylor series for ln(1  D x) we write 1

³ 0

ln(1  D x) dx x(1  x)

1

³ 0

­ f (1) n D n 1 x n ½ dx ®¦ ¾ n 1 ¯n 0 ¿1  x

Solving Integrals by Differentiation with Respect to a Parameter 1 (1) n D n 1 °­ x n dx °½ ® ¾ ¦ n  1 °¯ ³0 1  x °¿ n 0 f

D n 1

f

95

¦ n  1 ln 2  H  n

n 0

since 1

x n dx ³0 1  x

1

­

f

³ ®¯¦ (1) 0

k 0

k

½ x n  k ¾ dx ¿

f (1) k (1) j 1 n  ( 1) ¦ ¦ j . k 0 n  k 1 j n 1 f

Comparing this to (2.40) we conclude that for 1 d D d 1 (2.41)

§1· §1D · Li 2 ¨ ¸  Li 2 ¨ ¸ ©2¹ © 2 ¹

f

¦

ln 2  H D

n 0

 n

n 1

n 1

.

In particular, for D company to (2.38)

1 we obtain an interesting series which is a good

(2.42)

¦

S2

ln 2  H n n 1 0

f

n

With D

1 in (2.41) we find also f

(2.43)

1  ln 2 2 . 12 2

¦

(1) n ln 2  H n n 1

n 0

S2 . 6

More series with skew-harmonic numbers like (2.38), (2.42), and (2.43) can be found in Section 5.7.2. A problem for the reader: Prove that f

x ln x

³ (1  x) 0

2

dx S .

Special Techniques for Solving Integrals

96

Example 2.5.6. In contrast to the evaluation of ] (2) in (2.34), the exact value of

] (3) 1 

1 1   ... 23 33

is still unknown. Any information about this series is quite valuable. The number ] (3) is known as Apéry’s constant. The French mathematician Roger Apéry (1916-1994) proved in 1979 that this series represents an irrational number. Euler found the exact values of ] (2), ] (4),... (see Euler’s formula in Section 4.9). The exact values at the odd integers ] (2n  1), n 1, 2,... are unknown. In this example we will present two logarithmic integrals which lead to four interesting representations of Apéry’s constant ] (3) . Lemma 2.1. For every | E | d 1 and every p t 0 1

1

³ x (log x)

(2.44)

p

log

0

1 E x dx 1 E x

(1) p 1 *( p  1) ^Li p  2 ( E )  Li p  2 ( E )` , 1

1

³ x (log x)

p

log (1  E x) d x

(1) p 1 *( p  1) Li p  2 ( E ) .

0

(The second integral is entry 2.6.19 (6) in [43].) Here f

Li p ( x)

xn

¦n

p

n 1

is the polylogarithm. Proof. We start with the first integral. The substitution x e  t transforms it in the following manner

Solving Integrals by Differentiation with Respect to a Parameter 1

1

³ x (log x) 0

p

log

1 E x dx 1 E x

f

(1) p 1 ³ t p ^ log(1  E e  t )  log(1  E e  t )` dt 0

E n ­° f

f ½° (1) n 1 E n p  nt p 1 t e dt ( 1)   ® ¾ ¦ n ¯° ³0 n n 1 ¿°

f

(1) p 1 ¦ n 1

­° f p  nt ½° ® ³ t e dt ¾ ¯° 0 ¿°

§ f E n ­ 1 ½ f (1) n 1 E n ­ 1 ½ · (1) p 1 *( p  1) ¨ ¦ ® p 1 ¾  ¦ ® p 1 ¾ ¸ n ¯n ¿¹ © n 1 n ¯n ¿ n 1

(1) p 1 *( p  1) Li p  2 ( E )  Li p  2 ( E ) . The same substitution in the second integral provides f

1

1 t p p 1 p ³0 x (log x) log (1  E x) d x (1) ³0 t ^ log(1  E e )` dt

En 1 n

f

(1) p 1 ¦ n

f f En ­ 1 ½ °­ p  nt °½ p 1 ® ³ t e dt ¾ (1) *( p  1)¦ ® p 1 ¾ ¿ °¯ 0 °¿ n 1 n ¯n

(1) p 1 *( p  1) Li p  2 ( E ) and the lemma is proved. Now we present four representations of Apéry’s constant ] (3) . Proposition 2.2. We have the representations f

(2.45)

] (3)

4 1 1 arctan t arctan dt ³ 70 t t

(2.46)

] (3)

8 1 1 arctan t arctan dt 7 ³0 t t

1

97

98

Special Techniques for Solving Integrals

(2.47)

] (3)

f

1 1 § 1· log(1  t ) log ¨1  ¸ dt ³ 20 t © t¹ 1

§

1



³ t log(1  t ) log ¨©1  t ¸¹ dt .

] (3)

(2.48)

0

The starting point in the proof is equation (2.36). With the substitution t D x it takes the form f

2D ³ 0

arctan t dt D 2  t2

log D log

1D  Li 2 (D )  Li 2 (D ) . 1D

We divide both sides by D and integrate with respect to D from 0 to 1 1 °­ dD °½ 2 ³ arctan t ® ³ 2 2 ¾ d t °¯ 0 D  t °¿ 0 f

1

1

³D

log D log

0

1D 1 dD  ³ ^Li 2 (D )  Li 2 (D )` dD . 1 D D 0 1

Evaluating these integrals (using the lemma for the second one) we come to the equation f

1 dt t

³ arctan t arctan t 0

Li3 (1)  Li3 ( 1)

7 ] (3) 4

which is (2.45). Note that 1

Li 2 (t ) dt t 0

³

1

Li3 (t ) 0

Li3 (1) ] (3), Li3 (1)

3  ] (3) . 4

We will transform the integral in (2.45) now. First we split it this way f

³ 0

1

³ 0

f

³ 1

Solving Integrals by Differentiation with Respect to a Parameter

and then in the last integral we make the substitution x f

1 1 ³0 t arctan t arctan t dt

1

2³ 0

99

1 to get t

1 1 arctan t arctan dt t t

and now (2.46) comes from (2.45). For equation (2.47) we use the integral f

D³ 0

log(1  t ) dt t (D  t )

log D log(1  D )  Li 2 (D )

which is equation (2.39) from Example 2.5.4 after the substitution t D x . Dividing by D and integrating with respect to D from 0 to 1 we write f

³ 0

1

1

³D 0

1 log(1  t ) °­ dD ½° ®³ ¾dt t °¯ 0 D  t °¿

1

log D log(1  D ) dD  ³ 0

Li 2 (D )

D

dD .

This way we have from (2.44) f

³ 0

log(1  t ) § 1· log ¨1  ¸ d t t © t¹

Li3 (1)  Li3 (1) 2] (3) .

In the same way as above we show that f

³ 0

log(1  t ) § 1· log ¨1  ¸ d t t © t¹

and the proposition is proved. (See also [10].)

1

2³ 0

log(1  t ) § 1· log ¨1  ¸ d t t © t¹

100

Special Techniques for Solving Integrals

Problems for the reader: Prove the following representations of Apéry’s constant f

1 x2 dx 2 ³0 e x  1

] (3)

(hint: expand (1  e  x ) 1 as geometric series and integrate term by term) f

2 x2 dx 3 ³0 e x  1

] (3)

(expand (1  e  x ) 1 as geometric series and integrate term by term) f

2 x2 dx 7 ³0 sinh x

] (3)

(write sinh x in terms of exponentials) f

] (3) 2³ x 2 (coth x  1) dx 0

] (3)

f

8 x(ln 4  x cot x) dx 7 ³0

(hint: Example 3.2.1 from the next chapter could be helpful). Example 2.5.7 This is in fact a problem for the reader. We introduce one symmetrical and nice integral whose proof will be left to the reader. In Example 2.5.5. we showed that d 1 §1 t · §1 t · Li 2 ¨ ln ¨ ¸ ¸ dt © 2 ¹ 1 t © 2 ¹

which gives

Solving Integrals by Differentiation with Respect to a Parameter x

1

§1 t · ¸ dt 2 ¹

³ 1  t ln ¨©

(2.49)

0

101

§1 x · §1· Li 2 ¨ ¸  Li 2 ¨ ¸ . © 2 ¹ ©2¹

The logarithm on the left-hand side can be written as ln(1  t )  ln 2 , so the equation can be put in the form ln(1  t ) dt 1 t 0 x

(2.50)

³

§1 x · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  ln 2ln(1  x) . © 2 ¹ ©2¹

Here is the problem for the reader. Prove that for every | x |  1 x

³ ln(1  t ) ln(1  t ) dt

(2.51)

0

1 x §1 x · §1 x · Li 2 ¨ ¸  Li 2 ¨ ¸  (1  ln 2) ln 2 2 1 x © ¹ © ¹  x ln(1  x) ln(1  x)  x ln(1  x 2 )  2 x .

Evaluate the limit of the right-hand side for x o 1 to show that 1

³ ln(1  t ) ln(1  t ) dt 0

2

S2 6

 (ln 2) 2  2ln 2 .

Hint: Use integration by parts and equation (2.50). Note that (2.51) can also be proved by differentiating both sides. 2.6 Some Theorems Here we present some theorems that can be used to justify differentiation with respect to a parameter inside the integral. Theorem A. Suppose the function f (D , x) is defined and continuous on the rectangle [a, b] u [c, d ] together with its partial derivative fD (D , x) . Then

102

Special Techniques for Solving Integrals

d dD

d

³

f (D , x) dx

c

d

³ fD (D , x) dx . c

In order to apply this theorem in the case of improper integrals we have to require uniform convergence of the integral with respect to the variable D . A simple sufficient condition for uniform convergence is given by the next theorem. Theorem B. Suppose the function f (D , x) is continuous on [a, b] u [0, f) and the function g ( x) t 0 is integrable on [0, f) . If

| f (D , x) | d g ( x) for all D  [a, b] and all x t 0 , then the integral f

³ f (D , x) dx 0

is uniformly convergent on [a, b] . Theorem C. Suppose the function f (D , x) is defined and continuous on [a, b] u [0, f) together with its partial derivative fD (D , x) . In this case d dD

f

³ 0

f (D , x) dx

f

³ fD (D , x) dx 0

When the first integral is convergent and the second integral is uniformly convergent on [a, b] . The case of improper integrals on finite intervals is treated in the same way. For proofs and details we refer to [23, 28, 29, 50].

Chapter 3

Solving Logarithmic Integrals by Using Fourier Series

3.1 Introduction Many integrals can be evaluated by expanding the integrand in an appropriate series and integrating this series term by term. This is a classical method, some examples can be found in the books [7] and [37]. In this chapter we present a selection of examples using this method. We solve integrals which are interesting and challenging. Most of these integrals can be found in the popular tables [25] and [43], but some are rare, and some are possibly new. We use standard concepts from analysis, simple Fourier series, and the standard expansion of the logarithm ln(1  x) . Focusing mostly on the technical part, we leave some details to the reader. A prerequisite for this chapter is some general knowledge about the gamma function f

*( z )

³t

z 1  t

e dt

(Re z ! 0) .

0

The digamma function \ ( z ) * '( z ) / *( z ) will also be used, as well as the Riemann zeta function ] ( z ) defined by the series

] ( z)

f

1

¦n n 1

103

z

104

Special Techniques for Solving Integrals

for Re z ! 1 and then extended as analytic on the entire complex plane with a simple pole at z 1 . Euler’s dilogarithm Li 2 ( x) and the polylogarithm Li p ( x) also appear in this chapter f

Li 2 ( x)

f

xn

¦n

, Li p ( x) 2

n 1

xn

¦n

p

.

n 1

We start with some well-known log-sine integrals and proceed with more advanced cases. Among other things we consider Euler’s log-gamma integral 1

³ ln *( x)dx 0

and also the related integrals 1/ 2

1/ 4

0

0

³ ln *( x)dx and

³ ln *( x)dx .

Section 3.3 is devoted to a special Binet type formula for the log-gamma function ln *( x) which is then used for evaluating a challenging integral. The term by term integration that appears in our examples is justified by the theorems collected in Section 3.4.

3.2 Examples Example 3.2.1 In this introductory example we evaluate several well-known log-sine and log-cosine integrals. The evaluation is based on two Fourier series (see, for instance, [46, p. 148]) f

(3.1)

cos (2nt ) , 0t S n 1

ln(sin t )  ln 2  ¦ n

Solving Logarithmic Integrals by Using Fourier Series

105

(1) n 1 cos (2nt ) S S , t  . n 2 2 1

f

ln(cos t )  ln 2  ¦ n

Integrating the first series between 0 and

S 2

and then between 0 and S

we find the two integrals S /2

³ 0

while integration between 0 and S /4

³

ln(sin t )dt

0

S

S ln 2, 2

ln(sin t )dt

S 4

³ ln(sin t )dt

S ln 2

0

yields

S 1 f 1 Sn ln 2  ¦ 2 sin 4 2n 1n 2

S 1 ln 2  G . 4 2

Here

1 Sn sin ¦ 2 2 n 1 n f

G

(1) k ¦ 2 k 0 (2k  1) f

is Catalan’s constant. Since the function ln(sin t ) is not defined at zero, the integration can be justified by first integrating on the interval [D , S / 2], 0  D  S / 2 , and then setting D o 0 . This remark applies to the second and third integrals and to all similar cases later. The integrals are convergent improper integrals. In the same way, integrating the second series in (3.1) we find S /2

³ ln(cos t )dt 0

S /4

³ 0

ln(cos t )dt

S ln 2 2

S 1 f 1 Sn ln 2  ¦ 2 sin 4 2n 1n 2

S 1 ln 2  G . 4 2

All these integrals are present in [25], in the group of entries 4.224.

Special Techniques for Solving Integrals

106

When we multiply the first series in (3.1) by t and integrate between 0 and S / 4 we find S /4

³

t ln(sin t )dt

0

1 f 1 S 2 ln 2  ¦ 32 2n 1n

S /4

³ t cos (2nt )dt 0

S 2 S f 1 Sn 1 f 1 § Sn · ln 2  ¦ 2 sin  ¦ 3 ¨1  cos ¸ 32 8 n 1n 2 4n 1n © 2 ¹ 35 S 2 S ] (3) . ln 2  G  32 8 128

That is, S /4

³

t ln(sin t )dt

0

S 2 S 35 ] (3) ln 2  G  32 8 128

where ] ( s ) is Riemann’s zeta function. This interesting integral connecting three important constants is entry 2.6.34(2) in [43]. Two more simple integrals (entries 2.6.34(9) and 2.6.34(28) in [43]) are obtained in the same way S /2

³

t ln(sin t )dt

0

S

S 2 7 ln 2  ] (3) 8 16

³ t ln(sin t )dt 0

S 2 ln 2 . 2

We will return to log-sine integrals later in Example 3.9. Problem for the reader: Using the first series in (3.1) prove that S /2

³ sin t ln(sin t ) dt 0

Hint: The series

ln 2  1 .

Solving Logarithmic Integrals by Using Fourier Series f

1

¦ n(4n

2

n 1

 1)

107

2ln 2  1

might be helpful. Another way to prove this integral is to compute the antiderivative F (t )

³ sin t ln(sin t )dt

 ³ ln(sin t ) d cos t

 cos t ln(sin t )  ³  cos t ln(sin t )  ³

cos 2 t dt sin t

1 dt  ³ sin tdt sin t

t  cos t ln(sin t )  ln(tan )  cos t 2

and then to evaluate

S F §¨ ·¸  lim F (t )  lim F (t ) . t o0 © 2 ¹ t o0 Computing this limit is a decent calculus exercise. Note that the substitution x sin t gives also 1

³

x ln x

0

1  x2

dx

ln 2  1 .

Another problem for the reader: Show that 1

³ 0

ln x 4  x2

by using the substitution x show that

dx

S 6

S /6

ln 2 

³ ln(sin t ) dt 0

2sin t . Further, using the series in (3.1)

Special Techniques for Solving Integrals

108 1

³ 0

ln x 4 x

2



dx

Sn 1 f 1 sin 2 2n 1n 3

1 §S ·  Cl2 ¨ ¸ 2 ©3¹

¦

where f

Cl2 ( x)

¦n

1 2

sin(nx)

n 1

is Clausen’s function. For another evaluation of this integral see entry 4.1.5(1) in [20]. Next we evaluate several log-cotangent integrals.

Example 3.2.2 We evaluate here the integral Sp

x

³ cos x ln cot 2 dx 0

for p 1, p

1 , and p 2

1 . We will use the series representation 4

cos x ln cot

(3.2)

f x S cos (2kx)  sin x 2¦ 2 2 k 0 2k  1

f

cos (2kx) 1 2k  1

2  2¦ k

for 0  x  S . This series is a slight modification of the series in entry 17.2.14 in Hansen’s table [26]. Integrating we find S

x

S

³ cos x ln cot 2 dx  2 cos x 0

that is,

S 0

sin(4kS ) 1 k (2k  1)

f

2S  ¦ k

2S

Solving Logarithmic Integrals by Using Fourier Series S

x

³ cos x ln cot 2 dx

(3.3)

109

S.

0

Integration of (3.2) between 0 and S / 2 gives S /2

S

x

³ cos x ln cot 2 dx  2 cos x

S /2 0

S

0

and therefore, S /2

x

³ cos x ln cot 2 dx

(3.4)

S 2

0

.

Integration of (3.2) between 0 and S / 4 brings to S /4

³ 0

x S S /4 cos x ln cot dx  cos x 0 2 2

S

1 § kS · sin ¨ ¸ © 2 ¹ 1 k (2k  1)

f

2

¦ k

and from here, changing the index of summation to k k the terms are zeros) we write S /4

³ 0

S 2

x cos x ln cot dx 2

4

2n  1 (for even

(1) n . 0 (2 n  1)(4 n  3)

f

¦ n

We can evaluate this series by using partial fractions (1) n ¦ n 0 (2n  1)(4n  3) f

(3.5)

f (1) n (1) n  2 ¦ ¦ n 0 2n  1 n 0 4n  3 f

S 2  (S  2ln(1  2)) . 4 4 The value of the second series is taken from entry 5.4.24 in [26]. (1) n ¦ n 0 4n  3 f

(3.6)

2 [S  2ln(1  2)] . 8

Special Techniques for Solving Integrals

110

Finally, S /4

S

x

³ cos x ln cot 2 dx

(3.7)

4

0

2 ln(1  2) . 2



Comment. The values of (3.3) and (3.4) are recognized by Maple. Equation (3.3) can be derived from entry 2.6.39 in [43]. The integral in (3.7) seems to be new.

Example 3.2.3 Very nicely, it turns out that the series (3.5) can be used to evaluate the challenging integral 1

³ arctan( x

2

) dx .

0

Starting from the Maclaurin series for this arctangent

(1) n

f

arctan( x 2 )

¦ 2n  1 x

4n2

(| x | d 1)

n 0

and integrating both sides between 0 and 1 we find 1

2 ³ arctan( x ) dx 0

S 4



(1) n ¦ n 0 (2n  1)(4n  3) f



2 S  2ln(1  2) 4



or 1

(3.8)

³ arctan( x 0

2

) dx

S (1  2) 4



2 ln(1  2) . 2

The series (3.6) which is crucial for the above evaluation has an integral form

Solving Logarithmic Integrals by Using Fourier Series 1

(1) n

f

x2

³1 x

(3.9)

4

111

¦ 4n  3 .

dx

n 0

0

This follows immediately from the geometric series expansion f

x2 1  x4

f

x 2 ¦ ( x 4 )n

¦ (1) x n

n 0

4n2

, | x | 1 .

n 0

Integrals like (3.9) are usually solved by partial fractions. However, we can reduce (3.9) to (3.8) using integration by parts. 1

1

x2 ³0 1  x 4 dx

1

1 x d x2 ³ 2 0 1  x4

1 xd arctan( x 2 ) 2 ³0 1

1 1 1 2 x arctan( x 2 ) 0  ³ arctan( x ) dx 2 20

S

1§ ·  ¨ S (1  2)  2 ln(1  2) ¸ 8 2© 4 2 ¹

and after simplification

S 2

1

x2 ³0 1  x 4 dx

(3.10)

8



2 ln(1  2) . 4

Even more! We can use this result to evaluate one seemingly unrelated tough integral S /4

³

tan T dT .

0

With the substitution tan T S /4

(3.11)

³

tan T dT

0

A remarkable connection!

x 2 , or T 1

x2 dx 1  x4 0



arctan( x 2 ) we compute

S 2 4



2 ln(1  2) . 2

Special Techniques for Solving Integrals

112

Example 3.2.4 Now we consider another important series. For all | D |  1 and all real x

D k cos kx . k 1

f

log(1  2D cos x  D 2 ) 2¦

(3.12)

k

This series is well-known. It comes from the standard expansion of the logarithm f

D k e ikx

k 1

k

log(1  D e i x ) ¦

by equating the real parts on both sides when D is real. After that (3.12) extends also to complex D in the unit disk by analytic continuation. We will use this series to evaluate several integrals. From (3.12) we find immediately Sp

³ log(1  2D cos x  D

(3.13)

2

) dx

0

0

for every integer p . Setting D o 1 here yields Sp

Sp

Sp

0

0

0

³ ln(2  2cos x) dx

³ ln(1  cos x) dx  ³ ln 2 dx

that is, Sp

³ ln(1  cos x) dx

(3.14)

S p ln 2 .

0

Also, from (3.12) S /2

(3.15)

³

log(1  2D cos x  D 2 ) dx

f

2¦ k 1

0

(1) n D 2 n 1 . 2 0 (2n  1)

f

2¦ n

Dk

§ kS · sin ¨ ¸ k © 2 ¹ 2

0

Solving Logarithmic Integrals by Using Fourier Series

113

This series can be expressed in terms of the dilogarithm f

Li 2 ( x)

xn . ¦ 2 n 1 n

We have (1) n D 2 n 1 2 0 (2n  1)

f

¦

(3.16)

n

1 Li 2 (iD )  Li 2 (iD ) 2i

S /2

(3.17)

³ log(1  2D cos x  D

2

i Li 2 (iD )  Li 2 ( iD ) .

) dx

0

Setting D o 1 in (3.15) we derive also S /2

³

S /2

ln(1  cos x) dx 

0

³ ln 2 dx

2G

0

that is, S /2

³ ln(1  cos x) dx

(3.18)



0

S 2

ln 2  2G .

Now we return to (3.13). When D with | D | ! 1 is real we write

ln(1  2D cos x  D 2 ) ln[D 2 (D 2  2D 1 cos x  1)]

2ln | D |  ln(1  2D 1  D 2 ) so that for | D | ! 1 Sp

(3.19)

³ ln(1  2D cos x  D

2

)dx 2S p ln | D | .

0

This is also true for | D | 1 by continuity. The two integrals (3.13) and (3.19) can be united in one, replacing D by E / D

Special Techniques for Solving Integrals

114 Sp

³ ln(E

(3.20)

2

 2DE cos x  D 2 ) dx 2S p ln | D |

0

where | E | d | D | and p is an integer. This integral is entry 2.6.36(14) in [43] and entry 4.224(14) in [25] (the answer in [43] is correct, while the answer in [25] needs a correction). For p 1 this integral was evaluated in Chapter 2 by a differentiation with respect to D (see Example 2.2.18).

Example 3.2.5 We will use the series (3.12) for some more evaluations. Multiplying both sides in (3.12) by cos(mx) , where m is a positive integer, we write f

D k cos (mx) cos (kx)

k 1

k

(3.21) cos(mx) log(1  2D cos x  D 2 ) 2¦ f

Dk

k 1

k



cos (m  k ) x  cos (m  k ) x .

Now we integrate this equation with respect to x between 0 and S p , where p is any integer. There will be only one non-zero term on the right-hand side, the term where k m . Thus we find Sp

(3.22)

³ cos mx log(1  2D cos x  D 0

2

) dx

S p m D . m

This is entry 2.6.36(15) in [43] and entry 4.397(6) in [25]. It is remarkable that (3.13) does not follow from (3.22) for m 0 . This phenomenon is explained by the nature of the series in (3.21). We leave it to the reader to evaluate this integral for | D | ! 1 . These results can be extended in the following way: using the representations 1.320(1,5,7) in [25]

Solving Logarithmic Integrals by Using Fourier Series

1 4n

cos 2 n (mx)

1 n 1 § 2n  1· ¦¨ ¸ cos (2nm  2km  m) x 4n 1 k 0 © n ¹

cos 2 n 1 (mx) 1 4n

sin 2 n (mx)

n 1 2n ­ ½ § · °§ 2n · ° ®¨ ¸  2¦ ¨ ¸ cos (2nm  2km) x ¾ ° ° k 0© n ¹ ¯© n ¹ ¿

n 1 2n ­§ 2n · ½ § · ° ° nk ®¨ ¸  2¦ ¨ ¸ (1) cos (2nm  2km) x ¾ ° ° k 0© n ¹ ¯© n ¹ ¿

we find correspondingly Sp

2n 2 ³ cos (mx) log(1  2D cos x  D ) dx 0

Sp

³ cos

2 n 1

S p 4n m

§ 2n · D 2 m ( n  k ) ¦ ¨ ¸ nk k 0© k ¹ n 1

(mx) log(1  2D cos x  D 2 ) dx

0

S p n 1 § 2n  1· D m (2 n  2 k 1) ¦¨ ¸ 4n 1 m k 0 © k ¹ n  k  1 Sp

³ sin

2n

(mx) log(1  2D cos x  D 2 ) dx

0

S p n 1 § 2n · (1) n  k D 2 m ( n  k ) ¦¨ ¸ 4n m k 0 © k ¹ nk for any two positive integers n, m and any | D |  1 . Example 3.2.6 Substituting D

r e  E , E ! 0 , in (3.13) and writing

ln(1 r 2e  E cos x  e 2 E )

ln ª¬e  E 2 (cosh E r cos x) º¼

 E  ln 2  ln(cosh E r cos x)

115

Special Techniques for Solving Integrals

116

we find for every integer p Sp

³ ln(cosh E r cos x)dx

(3.23)

( E  ln 2) pS .

0

Example 3.2.7 We continue working with the expansion (3.12). Dividing both sides by x 2  b 2 , where Re b ! 0 , we write log(1  2D cos x  D 2 ) x2  b2

(3.24)

D k cos kx

f

2¦

.

k ( x2  b2 )

k 1

Integrating term by term and changing the order of integration and summation we arrive at f

log(1  2D cos x  D 2 ) dx ³0 x2  b2

f

2¦

D k f cos kx

k 1

k

³x

2

0

 b2

dx .

The integrals on the right-hand side are well-known (see (2.24)) f

cos kx dx 2  b2

³x

(3.25)

0

S 2b

e bk

so that f

log(1  2D cos x  D 2 ) dx ³0 x2  b2



S

f

D k e bk

k 1

k

¦ b



S

(D e b ) k k 1

f

¦ b k

and finally f

(3.26)

log(1  2D cos x  D 2 ) dx ³0 x2  b2

S b

log(1  D e  b ) .

This is entry 2.6.36(20) in [43]. Several other integrals in [25] and [43] similar to (3.26) can be solved in the same way.

Solving Logarithmic Integrals by Using Fourier Series

117

Example 3.2.8 We will evaluate here some integrals by using the standard logarithmic series. Let Re O ! 0 . Then for every x ! 0, | a | d 1

a n e  O xn . n 1

f

log(1  ae  O x ) ¦

(3.27)

n

Multiplying both sides by x p ( p ! 1 ) and integrating form 0 to f we find f

O x p ³ x log(1  ae ) dx

f

n

0



*( p  1)

O

p 1

f

an p O x n ³ x e dx 1 n 0

¦ f

an ¦ p2 n 1 n



*( p  1)

O p 1

a n *( p  1) p 1 1 n (O n )

f

¦ n

Li p  2 (a ) .

That is, f

³x

p

log(1  ae  O x ) dx 

*( p  1)

O p 1

0

Li p  2 (a )

where Li q ( x) is the polylogarithm. f

Li q (a )

xn . ¦ q n 1 n

This integral is equivalent to entry 4.316 (1) in [25] and entry 2.6.28 (1) in [43]. Next, for any real b z 0 we have

e  O xn sin bx . n 1

f

sin bx log(1  e  O x ) ¦ n

From here, using the Laplace transform formula for the sine we find

Special Techniques for Solving Integrals

118 f

f

n

0

f

1 O x n ³ e sin bx dx 1 n 0



O x ³ sin bx log(1  e ) dx

f

b . 2 2 1 n (O n  b )

¦ n

2

The value of this series is known (entry 6.1.67 in Hansen’s table [26]) f

b

¦ n (O n

(3.28)

2

n 1

2

b ) 2

º 1 ª § ib · § ib · \ ¨1  ¸  \ ¨1  ¸  2J » « 2b ¬ © O ¹ © O¹ ¼

where \ ( s ) *c( s ) / *( s ) is the digamma function and J Euler’s constant. Thus f

(3.29)

³ sin bx log(1  e

O x

\ (1) is

º 1 ª § ib · § ib · \ ¨1  ¸  \ ¨1  ¸  2J » . « 2b ¬ © O¹ O¹ © ¼

) dx

0

This integral is entry 2.6.40(6) in [43]. The similar integral 2.640(5) in [43] is proved the same way f

³ sin bx log(1  e

O x

) dx

0

1 ª ib · ib · § § § O  ib · § O  ib · º 4 ln 2 \ ¨1  ¸ \ ¨ 1  ¸ \ ¨ ¸ \ ¨ ¸» . 4b «¬ © 2O ¹ © 2O ¹ © 2O ¹ © 2O ¹ ¼

Next we integrate the expansion

e  O xn cos bx n 1

f

cos bx log(1  e  O x ) ¦ n

to get f

O x ³ cos bx log(1  e ) dx 0

f

n

f

1 O x n ³ e cos bx dx 1 n 0



O

f

¦ n 1

O n  b2 2

Using again Hansen’s table for the above series (entry 6.1.32)

2

.

Solving Logarithmic Integrals by Using Fourier Series f

¦O n 2

n 1

O  b2

119

O S § Sb ·  coth ¨ ¸ 2 2b 2b © O ¹

2

we find f

³ cos bx log(1  e

(3.30)

O x

O

) dx

2b 2

0



S 2b

§ Sb · coth ¨ ¸. © O ¹

The expansion of coth( x) in partial fraction series will be presented later in Section 4.5.1. Example 3.2.9 Here we show another application of the series in (3.28). Multiplying the first series in (3.1) by e at , a z 0 , we write f

e at cos (2nt ) , 0t S . n 1

e at ln(sin t ) e at ln 2  ¦ n

We will use now the antiderivative

³e

at

cos(2nt ) dt

e at a cos (2nt )  2n sin (2nt ) a  4n 2 2

to evaluate several log-sine integrals. Integrating the above series between 0 and S we compute S

at ³ e ln(sin t ) dt 0

1  e aS a

f § · 1 2 . ln 2  a ¦ ¨ 2 2 ¸ n 1 n (4 n  a ) ¹ ©

According to (3.28) this becomes S

(3.31)

³e

at

ln(sin t ) dt

0

1  e aS ­ 1 ª § ia · § ia · º ½ ®ln 2  J  «\ ¨1  ¸  \ ¨1  ¸ » ¾ . O¹ O ¹¼ ¿ a ¯ 2¬ © ©

Special Techniques for Solving Integrals

120

Multiplying the second series in (3.1) by e at and integrating between S S and we find 2 2 S /2

³

e at ln(cos t ) dt

S / 2

f · 2 Sa § 1 2  a sinh ln 2 ¦ ¨ 2 2 ¸ a 2 © n 1 n (4n  a ) ¹

and correspondingly, S /2

³ S

(3.32)

e at ln(cos t ) dt

 /2

1 Sa ­ § ia · § ia · ½ sinh ®2ln 2  2J  \ ¨1  ¸  \ ¨1  ¸ ¾ . a 2 ¯ O¹ © © O ¹¿ Integrating between 0 and

S 2

we find also

S /2

³e

at

ln(cos t ) dt

0

f º 1  e aS /2 (1) n ª (1) n ae aS /2 a ln 2  ¦  2 « 2 2 2 » n ¬ 4n  a a 4n  a ¼ n 1

f f 1  e aS /2 1 (1) n ln 2  ae aS /2 ¦  a . ¦ 2 2 2 2 a n 1 n(4 n  a ) n 1 n(4 n  a )

From Hansen’s table [26] we take now entry 6.1.77, namely,

(1) n ¦ 2 2 n 1 n (4n  a ) f

(3.33)

1 2a 2

ª § ia · º § ia · « E ¨1  2 ¸  E ¨1  2 ¸  2 E (1) » ¹ © ¹ ¬ © ¼

where E ( s ) is Nielsen’s beta function – entry 8.370 in [25] (see below Section 4.5.2 for this function)

Solving Logarithmic Integrals by Using Fourier Series

E (s)

f

1 ª § s 1· § s ·º \¨ ¸ \ ¨ ¸» . « 2¬ © 2 ¹ © 2 ¹¼

(1) n

¦ ns n 0

Therefore, from (3.28) and (3.33) we find S /2

³e

(3.34)

at

ln(cos t ) dt

0

º 1  e aS /2 e aS /2 ª § ia · § ia · \ ¨1  ¸  \ ¨1  ¸  2J » ln 2  « O¹ a 2a ¬ © © O¹ ¼ 

º 1 ª § ia · § ia · E ¨1  ¸  E ¨1  ¸  2E (1) » . « 2a ¬ © 2¹ 2¹ © ¼

With the same method, using again the first series in (3.1) we get also S /2

³e

(3.35)

at

ln(sin t ) dt

0

1  e aS /2 e aS /2 ln 2  a 2a 

ª § ia · º § ia · « E ¨1  O ¸  E ¨1  O ¸  2 E (1) » ¹ © ¹ ¬ © ¼

º 1 ª § ia · § ia · \ ¨1  ¸  \ ¨1  ¸  2J » . « O¹ 2a ¬ © © O¹ ¼

The simple computations are left to the reader. Example 3.2.10 Using the logarithmic series we shall prove now the curious result ln(1  x  x 2 ) ³0 x 1

(3.36)

First we write for 0 d x d 1

S2 9

.

121

Special Techniques for Solving Integrals

122

log(1  xe iS /3 )

(1) n 1 x n inS /3 e ¦ n n 1 f

and from here, dividing both sides of the equation by x and integrating log(1  xe iS /3 ) dx x 0

( 1) n 1 inS /3 . e n2 1

f

1

¦

³

n

Taking the real parts from both sides we find ln(1  x  x 2 ) dx ³0 x 1

(1) n 1 § nS cos ¨ 2 n © 3 1

f

2¦ n

· ¸. ¹

This series can be easily evaluated

(1) n 1 § nS · §1 1 1 1 1 1 1 1 1 1 · cos ¨  2  2  2  2  2  ... ¸ ¸ 2¨ 2 n 3 1 2 2 2 3 4 2 5 2 6 © ¹ © ¹ 1

f

2¦ n

1 §1 1 · ] (2)  3 ¨ 2  2  ... ¸ ] (2)  ] (2) 3 ©3 6 ¹

2 S2 ] (2) . 3 9

Done! Example 3.2.11 This is, in fact, a counterexample. Consider the integral f

ln(1  e 2S O x ) ³0 1  x 2 dx

(3.37)

for Re O ! 0 . Trying to evaluate it we can start as above by using the expansion (3.27) to write f

(3.38)

ln(1  e 2S O x ) ³0 1  x 2 dx

f

1 e 2S O x ¦ ³ dx . 2 k 1 k 0 1 x f

However, then we come to the evaluation

Solving Logarithmic Integrals by Using Fourier Series f

e 2S O x

³ 1 x

2

dx

123

ci(2S O n)sin(2S O n)  si(2S O n) cos(2S O n)

0

where f

sin t dt t x



si( x)

sin t S ³ dt , ci( x) 2 0 t x

f

cos t dt t x



are the sine and cosine integrals. It becomes clear that the series in (3.38) will be difficult to sum. Our counterexample shows that we cannot always use the logarithmic series for integral evaluation. A quick evaluation of the integral (3.37) is possible if we first integrate by parts f

f

ln(1  e 2S O x ) ³0 1  x 2 dx

³ ln(1  e

2S O x

) d arctan x

0

ln(1  e 2S O x ) arctan x

f 0

f

e 2S O x arctan x dx 1  e 2S O x 0

 2SO ³

f

arctan x dx . 2S O x 1 e 0

2SO ³

Now we can use Binet’s second formula for the logarithm of the Gamma function f

1· ln 2S arctan(t / O ) §  2³ ln *(O ) ¨ O  ¸ ln O  O  dt 2 2 e 2S t  1 © ¹ 0

(entry 8.341(2) in [25]). The last term with the substitution t becomes f

arctan( x) dx e 2SO x  1 0

2O ³

1· ln 2S § ln *(O )  ¨ O  ¸ ln O  O  2¹ 2 ©

and we come to the evaluation

Ox

Special Techniques for Solving Integrals

124 f

(3.39)

ª ln(1  e 2S O x ) 1· ln 2S º § dx S «ln *(O )  ¨ O  ¸ ln O  O  2 1 x 2¹ 2 ¼» © ¬ 0

³

which is entry 4.319(1) in [25]. With O 1 we have f

arctan( x) dx e 2S x  1 0

³

1 ln 2S  . 2 4

In Section 3.3 below we present another version of Binet’s formula and evaluate a similar integral with e 2S x  1 in the denominator.

Example 3.2.12 In this example we use the classical expansion (entry 6.1.33 in [26])

§ S 1·1  ¸ ¨ © sinh S y y ¹ y

(3.40)

(1) k 2 2 1 k  y

f

2¦ k

for t ! 0 . With the help of this series we will evaluate two challenging integrals f

0

f

(3.42)

§

1

1 · cos P t dt t

³ ¨© sinh t  t ¸¹

(3.41)

1· § 1 ³0 ¨© sinh t  t ¸¹ sin P t dt

 ln(1  e S P )

S e S P 1  e S P

S e 1 SP

for every P ! 0 . Here (3.42) follows from (3.41) by differentiation with respect to P . Now we prove (3.41). Multiplying both sides in (3.40) by cos O y and integrating term by term with respect to t we find according to (3.25)

Solving Logarithmic Integrals by Using Fourier Series f

§ S 1 · cos O y ³0 ¨© sinh S y  y ¸¹ y dy

(1) k e  O k k 1

f

S¦ k

f

f

2¦ (1) k 1

k

125

cos O y dt 2  y2

³k 0

S ln(1  e  O ) .

With the substitutions S y t and O S P this becomes (3.41). In particular, with P o 0 equation (3.41) turns into f

§

1 · dt

1

³ ¨© sinh t  t ¸¹ t

 ln 2

0

Which is entry 3.529(1) in [25]. Note that while equation (3.41) is true for P

0 , equation (3.42) is not.

Example 3.2.13 In this example we evaluate some important log-gamma integrals. Our starting point is Kummer’s series for 0  x  1

1 §1 · ln *( x) ¨  x ¸ (J  ln 2)  (1  x)ln S  ln sin S x 2 ©2 ¹ 

1

f

ln n sin 2S nx 1 n

¦ S n

(see section 1.9.1 in the handbook of Arthur Erdelyi and Harry Bateman, Higher Transcendental Functions Volume I, McGraw-Hill, 1953). Integration between 0 and z yields z

(3.43)

³ ln *( x)dx 0

§ 1 z2 · ( z  z 2 )(J  ln 2)  ¨ z  ¸ ln S 2 2¹ ©

Special Techniques for Solving Integrals

126

1  2S

Sz

f

1

ln n

³ ln sin t dt  2S ¦ n 2

2

(1  cos 2S nz )

n 1

0

with the convenient replacement z

1

³ ln sin S x dx

S

0

Sz

³ ln sin t dt . 0

From here, setting z 1 and using the results from Example 3.2.1 ln S ln 2  2 2

1

³ ln *( x)dx 0

1 ln 2S 2

as computed originally by Euler. 1 in (3.43) we find 2

With z

1/ 2

³ ln *( x) dx 0

J 8

3ln 2 3ln S 1   8 8 2S 2



f

¦ n 1  (1) . ln n

n

2

n 1

In order to compute the series in this equation we use Riemann’s zeta function

] (s)

f

1

¦n

s

, Re s ! 1 .

n 1

Clearly, f

ln n s 1 n

] c( s ) ¦ n

f

and

ln n

¦n

2

n 1

Also,

(1) n ¦ s n 1 n f

(21 s  1) ] ( s )

and differentiation with respect to s gives

] c(2) .

Solving Logarithmic Integrals by Using Fourier Series

(1) n ln n ns 1

f

d 1 s (2  1) ] ( s ) ds

¦ n

127

21 s (ln 2)] ( s )  (21 s  1)] c( s ) . Therefore,

(1) n ln n ¦ n2 n 1

 ln 2 1 ] (2)  ] c(2) . 2 2

f

Putting together all these results we come to the evaluation

J  3ln S

1/ 2

³ ln *( x) dx

(3.44)

8

0



ln 2 3  ] c(2) | 0.8037 . 3 4S 2

This integral can also be evaluated in terms of the Glaisher-Kinkelin constant A . The relation of this constant to ] c(2) is given by

§ J  ln 2S ·  2ln A ¸ . 6 © ¹

] c(2) S 2 ¨

We continue working with equation (3.43). With z 1/ 4

³ ln *( x) dx 0

3J  7 ln 2S G ] c(2) 1    2 2 32 4S 2S 2S

1 there we have 4 f

ln n

¦n n 1

2

cos

Sn 2

.

It is easy to see that f

1

¦n n 1

s

cos

Sn 2

(21 2 s  2 s )] ( s )

and therefore, differentiation gives

ln n Sn cos s 2 1 n

f

¦ n

From here

(22  2 s  2 s )(ln 2)] ( s )  (21 2 s  2 s )] c( s ) .

Special Techniques for Solving Integrals

128

] c(2) 8

ln n Sn cos 2 2 1 n

f

¦ n

and finally, 1/ 4

(3.45)

³ ln *( x) dx 0

3J  7 ln 2S G 9] c(2)   | 0.58247 . 32 4S 16 S 2

Gosper evaluated the above integrals and also several others in terms of ] c(2) by a similar method (see Ralph W. Gosper, Jr.

³

m /6

n/4

ln *( z ) d z ,

Fields Inst. Commun., 14 (1997), 71-76). Example 3.2.14 In this example we give a solution to Problem 904 from the College Mathematics Journal (May 2009). The problem is to evaluate the double integral 1 1

³ ³ ln *( x  y) dxdy . 0 0

Solution: Our starting point is Euler’s integral 1

³ ln *( x)dx

ln 2S

0

from the previous example. First we prove the formula y 1

(3.46)

³y ln *( x)dx

y ln y  y  ln 2S

for y t 0 (the value of y ln y at y 0 is considered zero). Differentiating the left-hand side in in (3.46) with respect to y we find

Solving Logarithmic Integrals by Using Fourier Series

d dy

129

y 1

³y ln *( x)dx

ln *( y  1)  ln *( y ) ln y .

This is true for all y ! 0 because ln *( y  1)  ln *( y ) ln

*( y  1) *( y )

ln

y* ( y ) *( y )

ln y .

Also

d ( y ln y  y ) ln y . dy We see that the functions y 1

³y ln *( x)dx

and

y ln y  y

have the same derivative; therefore, they differ by a constant y 1

³y ln *( x)dx

y ln y  y  C .

Setting y o 0 and using Euler’s integral we conclude that C This way the identity (3.46) is proved. Now with the substitution x u  y, dx du we write 1

y 1

0

y

³ ln *( x  y)dx

³ ln *(u ) du

y ln y  y  ln 2S

and integrating both sides with respect to y from 0 to 1 we find 1 1

(3.47)

³ ³ ln *( x  y) dxdy 0 0

3 ln 2S  . 4

ln 2S .

Special Techniques for Solving Integrals

130

Example 3.2.15 This is a solution to Monthly Problem 11329 (2007, p. 925). The problem is to prove the two equations f

1

0

0

x x ³ 2 *( x) dx 2³ 2 *( x) dx 

J  ln ln 2 ln 2

and f

³ x2

x

*( x) dx

0

1

2 ³ ( x  1)2 x *( x) dx  0

(J  ln ln 2)(1  2ln 2)  1 . ln 2 2

Our starting point for the proof is the well-known representation f

ln *( x)

(3.48)

t § 1  e  ( x 1) t · e ³0 ¨© x  1  1  et ¸¹ t dt .

We multiply both sides by 2 x , integrate with respect to x from zero to infinity, exchange the order of integration, and integrate by parts to obtain f

A { ³ 2 x ln *( x) dx 0

f

t ­ 1 1 1 § 1 et · ½ e     ® ¾ ³0 ¯ ln 2 (ln 2)2 1  et ¨© ln 2 t  ln 2 ¸¹ ¿ t dt .

In the same way 1

B { ³ 2 x ln *( x) dx 0

Solving Logarithmic Integrals by Using Fourier Series

131

f

t ­ 1 1 1 § 1 et  1 / 2 · ½ e     ® ¾ ¨ ¸ ³0 ¯ ln 2 2(ln 2)2 1  et © 2ln 2 t  ln 2 ¹¿ t dt .

From here f

A  2B

§ et 1 · dt ³0 ¨© ln 2  t  ln 2 ¸¹ t

f

1 §  t ln 2 1 · dt  ¨e ¸ ln 2 ³0 © 1 t ¹ t

after rescaling t o t ln 2 . Next we use the representation f

§

³ ¨© e

 pt



0

1 · dt ¸ 1 t ¹ t

 ln p  J

(this is proved in Example 5.3.7 in Chapter 5). With p ln 2 A  2B



J  ln ln 2 ln 2

.

This proves the first equation in the problem. The second equation is proved likewise. We multiply (3.48) by x 2 x and integrate from zero to infinity. Then we multiply (3.48) by ( x  1)2 x and integrate from zero to one. The computation requires integration by parts twice. Details are left to the reader.

Example 3.2.16 In association with the log-sine integrals we may want to consider the interesting integral 1

³ ln(arcsin x)dx 0

which cannot be found in the tables [25] and [43]. With the substitution x sin t followed by integration by parts this integral becomes

Special Techniques for Solving Integrals

132

S /2

1

³ ln(arcsin x)dx

³

0

ln t sin t

S /2 0

S /2

³ ln td sin t

ln t (cos t )dt

0

0

S /2



sin t dt t

³ 0

ln

S

S  Si §¨ ·¸ . 2 ©2¹

That is, 1

³ ln(arcsin x)dx

ln

0

S

S  Si §¨ ·¸ 2 ©2¹

where x

sin t dt t 0

³

Si( x)

is the sine integral function [40, p. 150]. Another integral with a similar structure is 1

J

³ ln x(arcsin x) dx . 0

Integrating by parts we have

J

1 ln x § arcsin x 1  x ln x(arcsin x) 0  ³ x ¨¨ x 1  x2 0 © 1

 ³ arcsin xdx  0

1

³ 0

x ln x 1  x2

· ¸¸ dx ¹

dx .

The first integral we integrate by parts and in the second we set x sin t to get

J 1

S 2

S /2



³ sin t ln(sin t )dt . 0

Solving Logarithmic Integrals by Using Fourier Series

133

This integral is known from Example 3.2.1, so finally 1

³ ln x(arcsin x) dx

2

S

0

2

 ln 2

in line with entry 4.1.6 (41) in [20] and entry 4.591(1) in [25]. A simple problem for the reader. Prove that 1

³ ln x(arccos x) dx

ln 2  2

0

(entry 4.591(2) in [25]). Hint. Do not mimic the above computation – just use the simple relation between arccos x and arcsin x .

Example 3.2.17 At this point it will be very natural to look at the “first cousin” of the above integral (entry 4.593(1) in [25]) 1

³ ln x(arctan x) dx 0

S2 48



ln 2 S  2 4

where the presence of S 2 hints that ] (2) may somehow be involved. We start the solution as above, integrating by parts. Calling this integral M we write 1

M

ln x 1 § arctan x x ln x(arctan x) 0  ³ x ¨  x 1  x2 0 © 1

 ³ arctan xdx  0

Integration by parts gives

1

x ln x

³1 x 0

2

dx .

· ¸ dx ¹

Special Techniques for Solving Integrals

134

S

1

³ arctan xdx

4

0



ln 2 2

so that ln 2 S 1   ³ ln x d ln(1  x 2 ) 2 4 20 1

M

1 ln 2 S 1 1 ln(1  x 2 )   ln x ln(1  x 2 ) 0  ³ dx . 2 4 2 20 x 1

The term with the product of logarithms is zero and also 1

³ 0

ln(1  x 2 ) dx x

1



(1) n 1 2 n ½ x ¾ dx n 1 ¿

f

³ x ®¯¦ 0

n

1 f (1) n 1 ¦ 2 n 1 n2

where (here comes S 2 !)

(1) n 1 n2 1

f

¦ n

1 S2 ] (2) . 2 12

Putting all these pieces together we come to the desired result. A note about the evaluation 1

ln x ln(1  x 2 ) 0

0.

At the upper limit, for x 1 , the value is obviously zero. Then lim(ln x ln(1  x 2 )) 0 x o0

because ln(1  x 2 )  x 2 near zero and lim( x ln x) 0 . x o0

Example 3.2.18 This is a solution of Monthly Problem 11639 (2012, p. 345). The question is to evaluate the integral

Solving Logarithmic Integrals by Using Fourier Series

135

S /2

³ ln

2

(2sin t ) dt .

0

For this evaluation we use again the Fourier series (3.1). With the substitution x 2t the first series can be written in the form f

x· § ln ¨ 2sin ¸ 2¹ ©

cos (nx) , 0  x  2S . n 1

¦ n

Next we use Parseval’s theorem for Fourier series (see below). According to this theorem 2S

x ln 2 §¨ 2sin ·¸ dx ³ S 0 2¹ © 1

Returning back to t

S2

f

1 ¦ 2 n 1 n

6

.

x / 2 we have 2

S

S

2 ³ ln (2sin t ) dt 0

S2 6

.

Using the symmetry in the graph of sin t in the first and the second quadrants we have S

S /2

2 ³ ln (2sin t ) dt

2 ³ ln 2 (2sin t ) dt

S /2

S3

0

0

and therefore,

³ 0

ln 2 (2sin t ) dt

24

.

Parseval’s Theorem. If the real valued function f (t ) has Fourier expansion f (t )

a0 f  ¦ (an cos nt  bn sin nt ) 2 n1

Special Techniques for Solving Integrals

136

in the interval [0, 2S ] and is square integrable in this interval, then

1

2S

³

S

a02 f 2  ¦ (an  bn2 ) 2 n1

f 2 (t ) dt

0

(see [46, p. 119]).

Example 3.2.19 The standard logarithmic series ln(1  x)

f

xn 1 n

¦ n

(| x |  1)

can be used for the evaluation of the interesting integral

J (O )

1

³ ln x ln(1  O x) dx

(| O |  1) .

0

For 0  O  1 we have 1 f ­ f O n xn ½ On J (O )  ³ ln x ®¦ dx  ¾ ¦ n 1 n ¯n 1 n ¿ 0 f

¦ n 1

On ­

1 ½ ® 2 ¾ n ¯ (n  1) ¿

 ln(1  O ) 

1

O

1 O

O

f

¦O

n

n 1

­° 1 n ½° ® ³ x ln xdx ¾ ¯° 0 ¿°

1 1 ½ ­1  ®  2 ¾ ¯ n n  1 (n  1) ¿ 1

ln(1  O )  O  Li 2 (O )  O O

ln(1  O ) 

1

O

Li 2 (O )  2 .

That is, 1

³ ln x ln(1  O x) dx 0

1 O

O

ln(1  O ) 

1

O

Li 2 (O )  2 .

Solving Logarithmic Integrals by Using Fourier Series

137

By analytic continuation this extends on the disk | O |  1 . With O o 1 we find 1

³ ln x ln(1  x) dx

2  Li 2 (1) 2  ] (2) 2 

0

S2 6

.

With O o 1 1

³ ln x ln(1  x) dx 2ln 2  Li2 (1)  2 2ln 2  2  0

S2 12

.

These two integrals are entries 4.221(1) and 4.221(2) correspondingly in Gradshteyn and Ryzhik’s reference table [25].

Example 3.2.20 Not all log-sine integrals should be evaluated by the Fourier series (3.1). For example, the log-sine integral S /2

³ 0

ln(sin t ) dt cos t

can be approached differently, with the ordinary logarithmic series S /2

³

ln(sin t ) dt cos t



1 2

0

S /2

³ 0

1 2

S /2

³ 0

ln(sin 2 t ) dt cos t

1 ­ f cos 2 n  2 ½ ®¦ ¾ dt cos t ¯ n 0 n  1 ¿

1 2

S /2

³ 0

ln(1  cos 2 t ) dt cos t S /2



1 f 1 cos 2 n 1t dt . ¦ 2 n 0 n  1 ³0

We see here the well-known Wallis integral S /2

³ cos 0

2 n 1

t dt

4 n § 2n · ¨ ¸ 2n  1 © n ¹

1

Special Techniques for Solving Integrals

138

and therefore, S /2

³ 0

ln(sin t ) dt cos t

1

§ 2n · 1 f 4n  ¦ ¨ ¸ . 2 n 0 (n  1)(2n  1) © n ¹

The inverse binomial series here can be evaluated by certain means

§ 2n · 4n ¦ ¨ ¸ n 0 ( n  1)(2n  1) © n ¹ f

1

S2 4

and we find S /2

³ 0

ln(sin t ) dt cos t



S2 8

.

Example 3.2.21 We show a solution to Monthly Problem 12221 (December 2020). Prove that

S

log( x 6  1) ³0 x 2  1 dx 1

J

2

log 6  3G .

For the solution we make the substitution x S /4

³

J

S /4

log(1  tan 6t )dt

0

S /4

³ 0

³ 0

tan t and write

§ cos 6 t  sin 6 t · log ¨ ¸ dt cos 6 t © ¹

S /4

log(cos 6 t  sin 6t )dt  6 ³ log(cos t ) dt

A  6B

0

where A and B are the two integrals. The value of B is known from Example 3.2.1 S /4

B

³ log(cos t )dt 0

G S  ln 2 . 2 4

Solving Logarithmic Integrals by Using Fourier Series

139

To evaluate A we use the trigonometric identities

cos 6 t  sin 6 t 1  3cos 2 t sin 2 t S /4

³

A

³ 0

sin 2t

S /4

³ log(1  3cos

log(cos 6 t  sin 6t )dt

0

S /4

and 2cos t sin t 2

t sin 2t )dt

0

3 log(1  sin 2 2t )dt 4

1 2

S /2

3

³ log(1  4 sin

2

T ) dT

(2t T ) .

0

Now we expand the logarithm and integrate term by term A 

1 2

S /2

³ 0

­ f 1 § 3 ·n 2 n ½ ®¦ ¨ ¸ sin T ¾ dT ¯n 1 n © 4 ¹ ¿ 1 f 1 3  ¦ §¨ ·¸ 2 n 1 n©4¹

n



1 f 1§3· ¦ ¨ ¸ 2 n 1 n©4¹

n

S /2 °­ °½ 2n ® ³ sin T dT ¾ ¯° 0 ¿°

°­ 1 § 2n · S °½ ® n¨ ¸ ¾ °¯ 4 © n ¹ 2 °¿

according to the Wallis formula (see Section 5.8 in Chapter 5). The series can be evaluated by using the well-known generating function § 2n · x n ¦ ¨ ¸ n 1© n ¹ n f

(see [32]) which gives A

J

§ · 2log ¨ 1  1  4 x ¸ (| x |  1 / 4) 2x © ¹

S 2

log 3  S log 2 . Finally

A  6B

S 2

ln 6  3G .

The same technique solves Problem 2107 in the Mathematics Magazine (vol. 93, December 2020). Namely, f

log( x 6  1) ³0 x 2  1 dx S log 6 .

Special Techniques for Solving Integrals

140

3.3 A Binet Type Formula for the Log-Gamma Function In Example 3.2.11 we used the second Binet formula for ln *(O ) f

(3.49)

1· ln 2S arctan(t / O ) §  2³ ln *(O ) ¨ O  ¸ ln O  O  dt 2¹ 2 e 2S t  1 © 0

in order to prove the interesting evaluation f

arctan( x) dx 2S x 1 0 e

³

1 ln 2S  . 2 4

It is desirable to evaluate also the similar integral f

arctan( x) dx 2S x 1 0 e

³

which is not present in the popular tables [25] and [43], but appears in Brychkov’s handbook [20]. For the evaluation of this integral we need a Binet type formula like (3.49) where the integral will have denominator e 2S x  1 instead of e 2S x  1 . We will present this formula here. Formula (3.49) is usually proved by using the Abel-Plana summation formula f

¦ f ( n) n 0

f

f

f (0) f (i x)  f (i x)  ³ f ( x) dx  i ³ dy 2 e 2S x  1 0 0

valid for functions holomorphic on the half-plane Re z t 0 with certain growth conditions (see Whittaker-Watson [48, pp. 145-146]). A similar Abel-Plana formula exist with e 2S y  1 in the denominator f

(3.50)

1 f §¨ n  ·¸ ¦ 2¹ © n 0

f

f

0

0

³ f ( x) dx  i ³

f (i x)  f (i x) dx e 2S x  1

(see, for example, Frappier’s paper “A generalization of the summation formula of Plana” in the Bulletin of the Australian Mathematical Society,

Solving Logarithmic Integrals by Using Fourier Series

141

59 (1999), 315-322). Using this formula we will prove the following proposition (a different Binet type formula). Proposition 3.1. For Re z ! 0 (3.51)

1· § ln * ¨ z  ¸ 2¹ ©

f

arctan( x / z ) dx . e 2S x  1 0

z ln z  z  ln 2S  2 ³

Proof. We apply (3.50) to the function 1 ( x  z )2

f ( x)

and first we evaluate f

³

1  xz

f ( x)dx

0

f

0

1 . z

Next we compute 1 1  2 ( z  i x) ( z  i x) 2

f (i x)  f (i x) f



4i x z ( z  x 2 )2 2

f

f (i x)  f (i x) dx i ³ e 2S x  1 0

xz dx 2S x  1) 0 ( z  x ) (e

4 ³

2

2 2

and therefore, (3.50) implies f

(3.52)

1· § ¨n  z  ¸ ¦ 2¹ n 0©

2

f

1 xz  4³ 2 dx . 2 2 2S x z ( z x ) ( e 1)   0

It is easy to recognize the series on the left-hand side here. The digamma function \ ( z ) has the series representation f

\ ( z ) J  ¦ §¨ n

(J

1 1 ·  ¸ nz¹ 0 © n 1

\ (1) is Euler’s constant). From this

Special Techniques for Solving Integrals

142

f

1

¦ (n  z )

\ '( z )

2

n 0

and so (3.52) becomes

1 \ ' §¨ z  ·¸ 2¹ ©

f

xz 1  4³ 2 dx . 2 2 2S x z  1) 0 ( z  x ) (e

Integrating this equation with respect to z provides f

1 \ ¨§ z  ¸· ln z  2³ ©

x dx  C . ( x  z )(e 2S x  1) 0



2

2

Setting z o f and using the fact that lim(\ ( x  n)  ln( n)) 0 (see n of

0 . Thus we produce the interesting

entry 8.365(5) in [25]) we find C representation f

(3.53)

x 1 \ §¨ z  ·¸ ln z  2³ 2 2 2S x dx . ( x  z )(e  1) 2¹ © 0

This is entry 4.1.2(17) in [20]. Remembering that \ ( z ) (ln *( z ))' we integrate equation (3.53) to find

1· § ln * ¨ z  ¸ 2¹ ©

f

arctan( z / x) dx  C e 2S x  1 0

z ln z  z  2 ³

and setting z o 0 we find C

ln *(1 / 2) ln S .

At this point we have proved the representation (3.54)

1· § ln * ¨ z  ¸ 2¹ ©

f

arctan( z / x) dx e 2S x  1 0

z ln z  z  ln S  2 ³

which is equivalent to (3.51). To obtain (3.51) from (3.54) we use the identity

Solving Logarithmic Integrals by Using Fourier Series

arctan

z x

S

 arctan

2

143

x z

so that f

f

f

arctan( z / x) 1 arctan( x / z ) dx S ³ 2S x dx  2 ³ dx 2S x e 1 e 1 e 2S x  1 0 0 0



where the integral in the middle is easy to compute f

S³ 0

1 e 2S x  1

f

f

e  2S x ­f n 1  2S nx ½ S dx ®¦ (1) e ¾ dx 2S x ³ 1  (e )) ¿ 0 0 ¯n 1

dx S ³

f

f

n 1

0

(1) n 1 1 2S n

f

S ¦ (1) n 1 ³ e  2S nx dx S ¦ n

1 ln 2 ln 2 . 2

Replacing now the integral in (3.54) we come to (3.51). The proof is completed. Now we set z 1 in (3.51). On the left-hand side we have § · § 1 § 1 ·· ln *(3 / 2) ln ¨ * ¨ ¸ ¸ ln ¨ S ¸ ln S  ln 2 © 2 © 2 ¹¹ © 2 ¹

and we compute f

(3.55)

arctan( x) dx 2S x 1 0 e

³

3 1 ln 2  4 2

(entry 4.1.6(135) in [20]). 3.4 Some Theorems Theorem A. Let f ( x) be a piecewise continuous function with Fourier series

a0 f  ¦ (an cos nx  bn sin nx) 2 n1

Special Techniques for Solving Integrals

144

in the interval (S , S ) . Then for any two numbers a d b from [S , S ] we have b

³

f ( x)dx

a

f b a0 (b  a )  ¦ ³ (an cos nx  bn sin nx) dx 2 n 1 a

whether or not the Fourier series of f ( x) converges. (See [23, vol. 3, Chapter 20] or [46, p. 125].) In some examples we integrate term-wise functional series. The operation is supported by the following theorem (see [23, vol. 2, p. 436]). Theorem B. Let f

f ( x)

¦ u ( x) n

n 0

where the functions un ( x), n 0,1... are continuous on the interval [a, b] and the series is uniformly convergent on that interval. In this case f

b

³ a

f ( x) dx

b

¦ ³u

n

( x) dx .

n 0 a

Uniform convergence is assured by the classical criterion of Weierstrass. Theorem C. If | un ( x) | d cn on [a, b] for every n 0,1... , where the f

series

¦ cn is convergent, then the series n 0

f

¦ u ( x) n

n 0

convergent on [a, b] . (See, for example, [23, vol. 2, p. 427].) Proofs can be found in the corresponding references.

is uniformly

Chapter 4

Evaluating Integrals by Laplace and Fourier Transforms. Integrals Related to Riemann’s Zeta Function

4.1 Introduction The Laplace and Fourier transforms can be used to solve integrals directly or by means of Parseval’s theorem. In this chapter the reader will find examples of both techniques. Among other things we prove the Fresnel integrals and several important integrals involving trigonometric and hyperbolic functions. The reader will see how the functional equation for the Riemann zeta function can be derived from two special integrals. Another special integral is used to prove Euler’s formula expressing ] (2n) in terms of Bernoulli numbers. Same is done also for Euler’s L( s ) function. The functional equation is derived and the connection between L(2n  1) and Euler’s numbers E2n is proved again using certain integrals. At the end of the chapter we show how the functions ] ( s ) and L( s ) can be used to evaluate integrals. Also in this chapter the reader will meet the interesting exponential polynomials which are used for the evaluations of some nontrivial integrals with the gamma function.

145

146

Special Techniques for Solving Integrals

4.2 Laplace Transform We use the standard notations. The originals f (t ) are functions defined on [0, f) and their images F ( s ), s ! 0 , are given by f

F (s)

L{ f (t )}

³ f (t )e

 st

dt .

0

Needed are mostly the formulas L{cos at}

s , L{sin at} s  a2

a s  a2

L{t E }

*( E  1) , L{e  at } s E 1

1 sa

2

2

and also

where 1  E and a are constants. Good references for the Laplace transform are the books [22] and [42]. An elementary way to use the Laplace transform for evaluation of integrals is to change one integral into another with a known value. A more powerful method is to introduce a parameter into the integral and evaluate the Laplace transform of the resulting function. This method will be illustrated by several examples.

Example 4.2.1 We want to evaluate the integral f

³ 0

x  sin x dx . x3

For this purpose we define the function

Evaluating Integrals by Laplace and Fourier Transforms f

³

f (t )

0

xt  sin( xt ) dx x3

and apply the Laplace transform

­° f xt  sin( xt ) ½°  st ³0 ®¯°³0 x3 dx ¾¿° e dt

f

L{ f (t )}

f 1 ­° °  st ½ ³0 x3 ¯°®³0 ( xt  sin( xt )) e dt ¿°¾ dx

f

f

1 1 dx 2 ³ 2 s 0 s  x2

1 x arctan 3 s s

f

x ½ 1 ­x  2 ¾ dx 3 ® 2 s  x2 ¿ ¯s

³x 0

f

S 2s

0

Therefore,

S 2 t 4

f (t )

and with t 1 f

³ 0

x  sin x dx x3

S 4

.

Example 4.2.2 Here we prove the evaluation f

(4.1)

3

§ sin x · ³0 ¨© x ¸¹ dx

3S 8

(this is entry 3.827(4) in [25]). Defining f

f (t )

3

§ sin xt · ³0 ©¨ x ¸¹ dx

3

­S ½ L ® t2 ¾ . ¯4 ¿

147

Special Techniques for Solving Integrals

148

and using the decomposition sin 3 T

1 (3sin T  sin 3T ) 4

we compute f f ½ dx 1 °­  st ° L{ f } ® ³ {3sin( xt )  sin(3 xt )}e dt ¾ 3 ³ 4 0 °¯ 0 °¿ x f

f

1 ­ 3x 3 x ½ dx  2 ® 2 ¾ 2 ³ s  9 x 2 ¿ x3 4 0 ¯s  x

1 dx ( s  x )( s 2  9 x 2 ) 0



2

2

f

3 ­ 9 1 ½  ® ¾ dx 4 s 2 ³0 ¯ s 2  9 x 2 s 2  x 2 ¿ f

3 ­3 3x 1 x½ arctan  arctan ¾ 2 ® 4s ¯ s s s s¿ 0

3 § 3S S ·  ¸ ¨ 4s3 © 2 2 ¹

3S 4s3

3S L{t 2 } 8

so that f (t )

3S 2 t 8

and (4.1) is proved. In the same way one can prove the other integrals from the group 3.827 in [25].

Example 4.2.3. The Fresnel integrals For this example we need some preparation. First, using Euler’s beta function

Evaluating Integrals by Laplace and Fourier Transforms f

%(u , v)

t u 1 ³0 (1  t )u v dt

*(u )*(v) *(u  v)

1 u)

we evaluate one important integral (with v f

t u 1 ³0 1  t dt

*(u )*(1  u )

S sin S u

f

xq ³0 s 2  x 2 dx

S 2s

q 1

sec

Sq 2

(0  u  1) .

x 2 / s 2 , s ! 0 , and then also

Here we change the variables by setting t 2u  1 q to get (4.2)

149

, 1  q  1.

This integral will be needed very soon. Now we turn to Fresnel’s integrals. The two integrals f

f

0

0

D ³ cos(z )dz, SD

CD

³ sin(z

D

)dz

where D ! 1 , are known as Fresnel integrals, named after the French mathematician and scientist Augustin-Jean Fresnel (1788-1827). The two special transcendental functions x

C ( x)

x

2 ³ cos(z )dz, S ( x)

³ sin(z

0

2

)dz

0

have important applications in optics. We will evaluate CD and SD by using Laplace transform. First, the substitution z D x brings to CD

where p 1 

1

D

1

D

f

p ³ x cos(x)dx, SD 0

1

D

f

³x

p

sin(x)dx

0

with 0  p  1 . We define the two functions

Special Techniques for Solving Integrals

150

CD (t )

1

f

x D³

p

cos(xt )dx, SD (t )

0

1

f

x D³

p

sin(xt )dx

0

and compute their Laplace transforms

L{CD (t )}

­f °½ p °  st x ® ³ cos( xt ) e dt ¾ dx ³ D0 ¯° 0 ¿°

x p dx D ³0 x 2  s 2

L{SD (t )}

­f ½° p °  st x ® ³ sin( xt ) e dt ¾ dx ³ D0 ¯° 0 ¿°

x1 p dx. D ³0 x 2  s 2

f

1

f

1

f

s

1

f

According to (4.2) we have

L{CD (t )}

S Sp sec p 2D s 2

S S p L{t p 1} sec 2D 2 *( p )

L{SD (t )}

S Sp csc p 2D s 2

S S p L{t p 1} csc 2D 2 *( p )

and therefore,

CD (t )

S t p 1 Sp sec , SD (t ) 2D *( p ) 2

S t p 1 Sp csc 2D *( p ) 2

or f

p ³ x cos(xt )dx 0

f

p ³ x sin(xt )dx 0

S t p 1 Sp sec 2* ( p ) 2 S t p 1 Sp csc 2* ( p ) 2

(see entries 3.761 (4) and 3.761(9) in [25]). Now since

Evaluating Integrals by Laplace and Fourier Transforms

1 *( p )

1 *(1  1 / D )

151

*(1 / D )sin(S / D )

S

we come to the evaluations

CD (t )

1 §1· S 1/D 1 §1· S 1/D * ¨ ¸ cos * ¨ ¸ sin t , SD (t ) t . 2D D ©D ¹ D © D ¹ 2D

Setting t 1 we find f

³ cos(z

D

)dz

S 1 §1· * ¨ ¸ cos D ©D ¹ 2D

)dz

1 §1· S sin * D ¨© D ¸¹ 2D

0

f

³ sin(z 0

D

which are practically entries 3.712 (1) and 3.712(2) in [25]. Problem for the reader: Show that the integral f

p ³ x cos(xt )dx 0

S t p 1 2* ( p )

sec

Sp 2

can be written in the form f

³x 0

by setting p

s

cos xt dx



*( s  1) Ss sin t s 1 2

(t ! 0,  1  Re s  0)

 s and using the property of the gamma function

*( z )*(1  z )

S . sin S z

(This integral will be needed later in Section 4.7.) Remark. The import integral (4.2) appears also in disguise as entry 2.5.26(7) in [43], namely,

Special Techniques for Solving Integrals

152 S /2

³ tan

P

xdx

S

§ SP · sec ¨ ¸ (| Re P |  1) . 2 © 2 ¹

0

The substitution tan x t , t

arctan x transforms this integral into

f

tP ³0 1  t 2 dt

S

SP · sec §¨ ¸ 2 © 2 ¹

which is equivalent to (4.2). A problem for the reader: Show that f

ln(1  O t ) ³0 t z 1 dt

S Oz (O ! 0, 0  Re z  1) . z sin(S z )

Example 4.2.4 We present a solution to Monthly Problem 11650 (2012, p. 522) where Laplace transform is used. The problem is to evaluate the double integral ff

A

( x y ) sin 2 ( x 2  y 2 ) ³³e 2

0 x

Introducing polar coordinates x

x2  y 2 dydx . ( x 2  y 2 )2

r cos T , y

r sin T where

S S½ ­ T  ¾ ® 0  r  f, 4 2¿ ¯ the integral becomes f S /2

A

³ S³ e 0

 r 2 (1 sin 2T )

/4

and after the substitution t

A

sin 2 (r 2 )

cos 2T r dT dr r2

r2

2 S /2 f 1  t § sin t · °­ °½ t sin 2T e cos 2T dT ¾ dt ¨ ¸ ®³e ³ 2 0 © t ¹ ¯°S / 4 ¿°

Evaluating Integrals by Laplace and Fourier Transforms f

2

1  t § sin t · t sin 2T S / 2 e ¨ |S / 4 dt ¸ e 4 ³0 © t ¹ f

f

2

1 t § sin t · t e ¨ ¸ (1  e ) dt 4 ³0 © t ¹ f

2

153

2

1  t § sin t · 1 § sin t · e ¨ ¸ dt  ³ ¨ ¸ dt . ³ 40 © t ¹ 4 0© t ¹

The Laplace transform integral f

J (s)

2

 s t § sin t · ³0 e ¨© t ¸¹ dt

is known, this is entry 3.948 (4) in [25] J (s)

s s2 s S  arctan  log 2 4 s 4 2 2

and with s 1 an s 0 we find A

A

1 J (1)  J (0) , that is, 4

1 1 1 1 log  arctan . 16 5 4 2

For the convenience of the reader we give the evaluations of J ( s ) here. Differentiating twice and using the Laplace transform formula for the cosine f

J ''( s )

st 2 ³ e sin t dt 0

f

1 st e (1  cos 2t ) dt 2 ³0

1§1 s · ¨  2 ¸. 2© s s  4¹

Integrating this we find J '( s )

1 1 log s  log( s 2  4) 2 4

1 s2 log 2 4 s 4

(with s o f we find the constant of integration to be zero). Integrating again

Special Techniques for Solving Integrals

154

s s s log s  log( s 2  4)  arctan  C 2 4 2

J (s)

and with s o f we compute C

S . The formula is proved. 2

Example 4.2.5 In this example we prove two interesting integrals f

A

³t

x 1  a t

e

f

³t

x 2 2

(a 2  b )

0

B

*( x)

cos bt dt

x 1  a t

e

*( x)

sin bt dt

x 2 2

(a 2  b )

0

b· § cos ¨ x arctan ¸ a¹ ©

b· § sin ¨ x arctan ¸ a¹ ©

with x, a ! 0 and b an arbitrary real number. These are entries 3.944(6) and 3.944(5) correspondingly in [25]. The two integrals can be viewed as Laplace transforms of t x 1 cos bt and t x 1 sin bt . For x 1, 2, 3 they can be computed by differentiating with respect to the variable a the Laplace transforms f

at ³ e cos bt dt 0

a 2 a  b2

f

and

³e

at

0

sin bt dt

b . a  b2 2

For arbitrary x ! 0 this method does not work. Fikhtengolt’s [23, Section 539] gave a nice evaluation of A and B by using a differential equation. We will prove the integrals here by using the definition of the gamma function f

*( x)

³t

x 1  t

e dt .

0

First we make the substitution t o ct , c ! 0 in this integral to get

Evaluating Integrals by Laplace and Fourier Transforms f

*( x) c

x

³t

x 1  ct

e

155

dt

0

and then we extend the above equation to the right half plane for complex numbers c a  ib, a ! 0 . Thus *( x) c  x

f

³t

x 1  at  ibt

e

e

dt .

0

All we have to do now is separate real and imaginary parts in this equation by using Euler’s formula e ibt

cos bt  i sin bt

and also by using the polar representation a  ib (a 2  b 2 )1/ 2 eiT , T

arctan

b . a

This gives

c x

(a  ib)  x

( a 2  b 2 )  x / 2 e  i xT

b b· § (a 2  b 2 )  x / 2 ¨ cos x arctan  i sin x arctan ¸ a a¹ ©

(a  ib)  x

so comparing real and imaginary parts proves A and B . With x

1 in A and B we find 2 f

³e

at

0

f

³e 0

at

cos bt dt t sin bt dt t

S 1 2 4

b· §1 cos ¨ arctan ¸ a¹ ©2

1 2 4

b· §1 sin ¨ arctan ¸ a¹ ©2

(a 2  b )

S (a 2  b )

Special Techniques for Solving Integrals

156

and now we can use the identities b· §1 cos 2 ¨ arctan ¸ a¹ ©2

a · 1§ ¨1  2 2 ¸ 2© a b ¹

b· §1 sin 2 ¨ arctan ¸ a¹ ©2

a · 1§ ¨1  2 2 ¸ 2© a b ¹

to write the curious integrals f

a x ³e 0

f

a x ³e

cos bx dx x

S 2

b2  a 2  a

sin bx

S

b2  a 2  a

x

0

dx

b2  a 2

b2  a 2

2

.

Differentiating n-times these integrals with respect to the variable a we prove the strange looking entries 3.944(13) and (14) in [25] f

³x

n

1 2 a x

e

cos bt dx (1) n

0

f

³x

n

1 2 a x

e

sin bt dx (1) n

0

S dn

b2  a 2  a

2 da n

S dn 2 da n

b2  a 2

b2  a 2  a b2  a 2

.

Example 4.2.6 This is a solution to Monthly Problem 12260 (AMM, June-July 2021). Show that f

J

sin 2 x  x sin x dx ³0 x3

1  ln 2 . 2

Integration by parts gives (the middle term is zero)

Evaluating Integrals by Laplace and Fourier Transforms

157

f

J

1 sin 2 x  sin x  x cos x dx 2 ³0 x2

and now we introduce the function f

F (s)

³e

s x

0

sin 2 x  sin x  x cos x dx ( s t 0) x2

which is the Laplace transform of the integrand. Differentiating with respect to s twice gives consecutively f

F c( s )  ³ e  s x 0

F cc( s )

f

³e

s x

sin 2 x  sin x  x cos x dx x

(sin 2 x  sin x  x cos x) dx .

0

Using the properties of the Laplace transform we can write this in the form

F cc( s )

2 1 d s  2  s  4 s  1 ds s 2  1 2

and now we can integrate back to find

s s F c( s ) arctan  arctan s  2 2 s 1 (the constant of integration is zero, as lim F c( s ) 0 ). Integrating this s of

again (the arctangent we integrate by parts) we come to the explicit form F ( s ) ln

s2  1 s § ·  s ¨ arctan  arctan s ¸ . 2 s 4 2 © ¹

The constant of integration is zero again as lim F ( s ) 0 (a simple calculus s of

exercise for the reader). Setting s 0 we compute

Special Techniques for Solving Integrals

158

J

1 F (0) 2

1 ( ln 4  1) 2

1  ln 2 . 2

4.3 A Tale of Two Integrals Here we consider two interesting similar integrals. For t t 0 , let f

(4.3)

A(t )

(4.4)

B (t )

cos ( xt ) dx x2  1 0

³

f

sin ( xt ) dx . x2  1 0

³

Both integrals can be viewed as Fourier cosine and sine transforms of the function ( x 2  1) 1 . They really look very much alike. We will evaluate both integrals now by using Laplace transform and it will become clear that the two functions A(t ) and B (t ) are quite different. Thus f °­ cos ( xt ) °½  st ® ³0 ¯°³0 x 2  1 dx °¿¾ e dt

f ½ 1 °­  st ° ® ³0 x 2  1 ¯°³0 cos ( xt ) e dt ¿¾° dx

f

L{ A(t )} f

1 ­ s ½ ³0 x 2  1 ¯® x 2  s 2 ¿¾ dx

f

f

s 1 ½ ­ 1  2 ® 2 ¾ dx 2 ³ s  1 0 ¯ x  1 x  s2 ¿ f

s ­ 1 x½ ®arctan x  arctan ¾ 2 s 1 ¯ s s¿ 0

S s § 1· S 1 ¨1  ¸ 2 s2  1 © s ¹ 2 s  1

so that

L{ A(t )} Therefore,

S L{e t } . 2

Evaluating Integrals by Laplace and Fourier Transforms

159

S t e . 2

A(t )

(This result was obtained in Chapter 2, Example 2.3.2 by a different method.) The integral is entry 3.723(2) in [25]. The change of the order of integration above is easy to justify and we leave it to the reader. Now we try the same technique on the second integral (4.4) f °­ sin ( xt ) °½  st ® ³0 ¯°³0 x 2  1 dx ¿¾° e dt

f ½ 1 °­  st ° ® ³0 x 2  1 ¯°³0 cos ( xt ) e dt ¿°¾ dx

f

L{B (t )} f

f

f

1 ­ x ½ ³0 x 2  1 ®¯ x 2  s 2 ¾¿ dx

1 x ½ ­ x  2 ® 2 ¾ dx 2 ³ s  1 0 ¯ x  1 x  s2 ¿ f

1 ­1 x2  1 ½ ln ® ¾ s2  1 ¯ 2 x2  s2 ¿ 0

1 § 1 1· ¨  ln ¸ s  1 © 2 s2 ¹ 2

ln s . s2  1

That is,

ln s s2  1

L{B(t )}

(4.5)

and it is not clear what is the original for this Laplace image. Consulting the table of Fourier sine transforms [5] we find that f

sin ( xt ) dx x2  1 0

³

1 t ªe Ei(t )  et Ei(t ) º ¼ 2¬

where Ei is the exponential integral function f

eu du u x

Ei(t )  ³

and Ei(t )

1 Ei(t  i0)  Ei(t  i0) . 2

Special Techniques for Solving Integrals

160

A good reference for the exponential integral is [40]. This evaluation exists also in the popular tables [25] and [43]. It can be traced back to the handbook “Nouvelles tables d'intégrales définies” (Amsterdam, 1858) by the Dutch mathematician David Bierens de Haan. The integral appears there as number 7 in Table 204 on p. 282. (In the improved 1867 edition of this book the integral appears as number 3 in table 160 on page 223.) This integral possibly originated in the works of Joseph Ludwig Raabe (1801-1859) and Oscar Schlömilch (1823-1901) see the historical note by Nielsen on page 24 in his book [39]. The integral is sometimes called Raabe integral. The exponential integral Ei(t ) is not a very convenient function. We prefer to evaluate B (t ) in terms of the entire function

(1) n 1 t n ¦ n !n n 1 f

Ein(t )

which is related to the exponential integral by the equation

Ein(t ) J  ln t  Ei(t ), t ! 0 . d ln *( z ) is the digamma dz function. With the function Ein(t ) we do not have to deal with one-sided limits.

Here J

\ (1) is Euler’s constant and \ ( z )

Proposition 4.1. For every t ! 0 (4.6)

B(t )

1 t ª¬e Ein(t )  e t Ein(t ) º¼  (ln t  J )sinh t . 2

Before proving this evaluation we need to prepare two known facts. First let

Hn 1 

1 1 1   ...  , H 0 2 3 n

0

Evaluating Integrals by Laplace and Fourier Transforms

161

be the harmonic numbers. Multiplying the two power series for e x and Ein( x) we write

x n ­° n § n · (1) k 1 °½ ®¦ ¨ ¸ ¾ ¦ ° k 1 © k ¹ k ¿° n 0 n! ¯ f

(4.7)

e x Ein( x)

f

xn Hn ¦ n 0 n!

according to the well-known binomial identity

§ n · (1) k 1 ¦ ¨ ¸ k k 1©k ¹ n

Hn

(see [8]). Thus e x Ein( x) is the exponential generation function for the harmonic numbers. Their well-known ordinary generating function is 

(4.8)

ln(1  x) 1 x

f

¦H

n

xn

(| x |  1) .

n 0

Second fact. The Laplace transform of the logarithm is f

³e

 st

ln t dt

0

1  (ln s  J ) . s

This is known. For convenience we give a proof. Differentiating with respect to p the equation f

*( p )

s p ³ t p 1e  st dt 0

we get *c( p )

f

f

0

0

s p ln s ³ t p 1e  st dt  s p ³ t p 1 (ln t ) e  st dt

and then with p 1 we find the desired result since *c(1) \ (1) J . It follows that

162

Special Techniques for Solving Integrals f

³ (ln t  J ) e

 st

dt

0



ln s . s

Proof of the proposition. We will compute the Laplace transform of the right-hand side in (4.6). First, for s ! 1 we have in view of (4.7) and (4.8) 1 L ^e t Ein(t )  e t Ein(t )` 2 f H n (1) n ½ 1 ­ f Hn 1  ®¦ ¾ ¦ 2 ¯ n 0 n s n 1 n 0 n s n 1 ¿

­ § 1· § 1·½ ln ¨1  ¸ ln ¨1  ¸ ° ° 1 ° © s ¹  © s ¹° ® 1 1 ¾° 2s ° 1 1 s s °¿ °¯

1 ­ ln( s  1)  ln s ln( s  1)  ln s ½  ® ¾ 2¯ s 1 s 1 ¿

1 ­ ln( s  1) ln( s  1) ½ ln s  . ® ¾ 2 ¯ s 1 s  1 ¿ s2  1 Also L ^(ln t  J )sinh t`

1 L ^(ln t  J )(et  e  t ` 2

1 ­ ln( s  1) ln( s  1) ½  ® ¾ 2 ¯ s 1 s 1 ¿ by using the “s-shift” property of the Laplace transform. Combining this with the previous evaluation we see that the right-hand side in (4.6) becomes ln s . s2  1

Evaluating Integrals by Laplace and Fourier Transforms

163

According to (4.5) the proposition is proved. We will finish this section with three remarks. Remark 1. The above proof shows an interesting connection between B(t ) and the harmonic numbers H n . Namely, (4.6) can be written in the form f

f

sin ( xt ) ³0 x 2  1 dx  (ln t  J )sinh t

t 2 n 1

¦ (2n  1) H

2 n 1

.

n 0

Remark 2. In comparison to (4.4) the integral f

sin 2 ( xt ) ³0 x 2  1 dx

has a simple evaluation. Writing sin 2 ( xt ) (1 / 2)(1  cos (2 xt )) and using the evaluation of (4.3) we find f

sin 2 ( xt ) ³0 x 2  1 dx

S 4

(1  e 2t ) .

More generally, using the representations 1.320 from [25]

sin 2 n x

§ 2n · °½ 1 °­ n 1 § 2n · nk ¸(1) 2cos 2(n  k ) x  ¨ ¸ ¾ 2 n ®¦ ¨ 2 ¯° k 0 © k ¹ © n ¹ ¿°

cos 2 n x

1 22 n

cos 2 n 1 x

we prove the evaluations

­° n 1 § 2n · § 2n · ½° ®¦ ¨ ¸ 2cos 2(n  k ) x  ¨ ¸ ¾ © n ¹ ¿° ¯° k 0 © k ¹ 1

2

2n2

§ 2n  1· ¸ cos (2n  2k  1) x k ¹ 0©

n 1

¦¨ k

Special Techniques for Solving Integrals

164

S ­° n 1 § 2n ·

f

sin 2 n ( xt ) ³0 x 2  1 dx

2

2 n 1

®¦ ¨ ¸(1) ¯° k 0 © k ¹

S ­° n 1 § 2n ·

f

cos 2 n ( xt ) ³0 x 2  1 dx

nk

2

2 n 1

f

®¦ ¨ ¸ 2e °¯ k 0 © k ¹

S

cos 2 n 1 ( xt ) ³0 x 2  1 dx

2

2 n 1

§ 2n · ½° 2e 2( n  k )t  ¨ ¸ ¾ © n ¹ ¿° 2( n  k ) t

§ 2n · ½°  ¨ ¸¾ © n ¹ °¿

§ 2n  1·  (2 n  2 k 1) t ¸e k ¹ 0©

n 1

¦¨ k

(cf. [25], entries 3.824 (1), (3), (6), and (7)). Remark 3. The famous Indian mathematician Srinivasa Ramanujan (1887-1920) discovered the equation

S f sin ( xt ) 2³ 0

x 1 2

f

cos ( xt ) ln x dx x2  1 0

dx  ³

0

(this was confirmed by contour integration in the recent paper by Bruce C. Berndt and Armin Straub “Certain Integrals Arising from Ramanujan’s Notebooks”, SIGMA 11 (2015), 083). From this equation we learn the value of the second integral as well. With t 0 we find again f

ln x dx 2 1

³x 0

0

(see Example 1.8.3).

4.4 Parseval’s Theorem In this section we will work with the Fourier cosine transform and we will evaluate interesting and challenging integrals by using Parseval’s theorem. For functions f ( x) defined on [0, f) Fourier’s cosine transform is defined by

Evaluating Integrals by Laplace and Fourier Transforms

165

f

³ f ( x) cos ( xy)dx .

Fc ( y )

0

Let f ( x) and g ( x) be two real valued functions on [0, f) with Fourier cosine transforms Fc ( y ) and Gc ( y ) . Parseval’s theorem says that f

S

³ F ( y) G ( y)dy

(4.9)

c

f

2 ³0

c

0

f ( x) g ( x)dx

(see [22], section 2.14). We can evaluate hard integrals by using this property. The idea is to select such pairs of transforms that one of the integrals in (4.9) will be easy to evaluate and this will provide the evaluation of the other one. In the examples below we use Batemann’s table of cosine transforms in [5].

Example 4.4.1 Consider the pair of Fourier cosine transforms

S

1  e a y y

S 2b

f

§ a2 · ln ³0 ¨©1  x 2 ¸¹ cos( xy)dx f

cos( xy ) dx 2  b2 0

³x

eb y

where a, b ! 0 . Parseval’s theorem implies

S f (1  e  a y ) e  by b ³0

y

f

dy

§ a 2 · dx ln ³0 ¨©1  x 2 ¸¹ x 2  b2 .

The integral on the left-hand side is a Frullani integral (see Chapter 5)

Special Techniques for Solving Integrals

166 f

f

(1  e  a y )e  by dy ³0 y

e  by  e  ( a  b ) y dy ³0 y

ln

ab b

and we obtain the evaluation

S b

ln

f

§ a 2 · dx ln ³0 ¨©1  x 2 ¸¹ x 2  b2 .

ab b

This integral is equivalent (through a simple manipulation) to entry 4.295(7) in [25]. Example 4.4.2 Here we work with the pair of cosine transforms ( a, s ! 0 ) f

s 2 y  s2

S 2 a

e



³e

s x

cos( xy )dx

0

y2 4a

f

³e

a x 2

cos( xy )dx

0

where (4.9) implies f

s

Sa Setting a

1 and x 4 s

f

S ³ 0

³e



y2 4a

0

f

³e

 a x 2  sx

dx .

0

2t we can write this in the form

e y dy y2  s2 2

es

where

dy 2 y  s2

e

s2

f

³e

 (t  s ) 2

dt

0

2

S 2

(1  erf ( s ))

e

s2

f

³e s

u 2

du

Evaluating Integrals by Laplace and Fourier Transforms x

2

e S ³

erf ( x)

u 2

167

du

0

is the error function. This way we have the evaluation f

(4.10)

³ 0

e y dy y2  s2 2

S es

2 f

s

³e

u 2

S es

du

2

2s

s

(1  erf ( s )) .

In particular, for s 1 we obtain the interesting formula f

³ 0

e y dy y2  1

f

2

S e ³ e u du . 2

1

Example 4.4.3 The third pair we employ is f

1§ 1 S2 · ¨ 2 ¸ 2© y sinh 2 S y ¹

S 2* ( E )

sec

SE 2

y E 1

³ 0

f

³x

x cos( xy ) dx e x 1 E

cos( xy ) dx

0

where 0  E  1 . (The second integral was evaluated in Example 4.2.3.) Parseval’s identity gives

SE 1 sec 2*( E ) 2

f

§ 1 S 2 · E 1  ¨ ³0 © y 2 sinh 2 S y ¸¹ y dy

f

x1 E ³0 e x  1 dx

] (2  E )*(2  E ) . Here the last equality comes from the well-known representation

] ( s )* ( s )

x s 1 ³0 e x  1 dx (Re s ! 1)

f

Special Techniques for Solving Integrals

168

for the Riemann zeta function ] ( s ) (see below Section 4.7). The result can be simplified by using the properties

S , sin SE sin SE

*( E )*(1  E )

2sin

SE 2

cos

SE 2

and we write f

§ 1 S 2 · E 1 SE  ³0 ¨© y 2 sinh 2 S y ¸¹ y dy S (1  E ) csc 2 ] (2  E ) .

Also, with the substitution 1  E

D , 0  D  1 this becomes

f

§ 1 S 2 · D SD  ¨ 2 ³0 © y sinh 2 S y ¸¹ y dy SD sec 2 ] (1  D )

(4.11) or f

³ 0

1 y2

ª § S y · 2 º D SD ] (1  D ) . «1  ¨ ¸ » y dy SD sec 2 «¬ © sinh S y ¹ »¼

With D o 0 in (4.11) we easily compute f

§ 1 S2 ·  ¨ ³0 © y 2 sinh 2 S y ¸¹ dy S .

(4.12)

Example 4.4.4 From the pair

S

f

§ a2 · ln ³0 ¨©1  x 2 ¸¹ cos( xy)dx

1  e a y y

S 2* ( E )

sec

SE 2

y E 1

f

³x 0

E

cos( xy )dx

Evaluating Integrals by Laplace and Fourier Transforms

( a ! 0, 0  E  1 ) we obtain the equation

S *( E )

sec

SE 2

f

f

§ a2 · E ln x ¨1  2 ¸ dx . ³0 x ¹ ©

a y E 2 ³ (1  e )y dy 0

Integrating by parts the integral on the left-hand side we find f

³ (1  e

a y

) y E  2 dy

0

1 (1  e  a y ) y E 1 E 1

f 0

f

a y E 1e  a y dy E  1 ³0



a *( E ) ˜ 1  E a E 1

*( E ) a (1  E ) E

(the limits of (1  e  a y ) y E 1 at f and 0 are zeros). This way the equation takes the form (4.13)

S a E (1  E )

sec

f

SE

§ a2 · E x ln ¨1  2 ¸ dx . ³0 x ¹ ©

2

This integral is equivalent to entry 4.293 (10) in [25].

Example 4.4.5 Here we work again with the two integrals

S 2*( E )

sec

S 2b

SE 2 eb y

y E 1

f

³x

E

cos( xy )dx

0

f

cos( xy ) dx 2  b2 0

³x

169

Special Techniques for Solving Integrals

170

(0  E  1, b ! 0) . Parseval’s theorem implies

S 2b*( E )

sec

SE 2

f

f

x E ³0 x 2  b2 dx .

E 1  b y ³ y e dy 0

Since the first integral here equals *( E ) / b E , the left-hand side simplifies and we come to the important integral (4.14)

S

SE

2b

2

sec E 1

f

x E ³0 x 2  b2 dx .

This integral was evaluated also in Example 4.2.3 by using Euler’s beta function (cf. Example 2.3.21 on p. 116 in [34]).

Example 4.4.6 Using the pair

S

§S y · sech ¨ ¸ 2a © 2a ¹

S 2b

f

³ cos( xy)sech(ax) dx 0

f

cos( xy ) dx 2  b2 0

³x

eb y

(a, b ! 0) we find S

f

§S y · e by sech ¨ ¸ dy ³ 2ab 0 © 2a ¹

f

sech(ax) dx . x2  b2 0

³

With a S / 2 this becomes f

f

e by §Sx· dx ³0 cosh y dy b ³0 sech ¨© 2 ¸¹ x 2  b2 .

The integral on the left-hand side will be evaluated in the next section in terms of Nielsen’s beta function E ( x) . Namely,

Evaluating Integrals by Laplace and Fourier Transforms f

e by ³0 cosh y dy

(4.15)

171

§ b 1· ¸. © 2 ¹



This way we have also f

§Sx· dx ¸ 2 ¹ x2  b2

³ sech ©¨ 0

1 § b 1· E¨ ¸. b © 2 ¹

4.5 Some Important Hyperbolic Integrals 4.5.1 Expansion of the cotangent in partial fractions We will need the expansions of cot x, tan x, sec x in partial fractions. These classical expansions can be obtained from the famous Euler formula

sin x

f § x2 · x– ¨ 1  2 2 ¸ S n ¹ n 1©

expressing the sine function as an infinite product. Let 0  x  S . We take logarithms of both sides to get f § x2 · ln sin x ln x  ¦ ln ¨1  2 2 ¸ © S n ¹ n 1 f

ln x  ¦ ^ln(S 2 n 2  x 2 )  ln(S 2 n 2 )` . n 1

Differentiating this equation we come to the expansion cos x sin x

cot x

f 1 1  2 x¦ 2 2 2 x n 1S n  x

Special Techniques for Solving Integrals

172

1 f § 1 1 ·  ¦¨  ¸. x n 1© x Sn x Sn ¹

Replacing here x by xi we find also the representation of the hyperbolic cotangent f 1 1 .  2 x¦ 2 2 2 x n 1S n  x

coth x

Next, replacing x by

S  x in the cotangent expansion and rearranging 2

that series we come to f 1 1 § ·  tan x ¦ ¨ x  (n  1 / 2)S ¸¹ n 1 © x  ( n  1 / 2)S

which can be written in the form f

1 . 2 4 (2 x n  1) 2 S 2  1

tan x 8 x ¦ n

The substitution x o xi provides the expansion of the hyperbolic tangent f

1 . 2 x  n  1) 2 S 2 4 (2 1

tanh x 8 x ¦ n

Similar expansions hold for sec x and csc x . We know that

2 tan sin x

x 2

1  tan 2

x 2

and from here 1 sin x

1§ x x· ¨ tan  cot ¸ . 2© 2 2¹

Evaluating Integrals by Laplace and Fourier Transforms

x x and cot we obtain after a simple 2 2

Adding the expansions of tan adjustment

1 sin x

f 1 f (1) n 1 · 1 § 1  ¦ (1) n ¨  2 x .  ¸ ¦ 2 2 2 x n1 © x Sn x Sn ¹ x n 1 x S n

Replacing x by

S  x and rearranging the series we find also 2 (1) n (2n  1) . 2 2 2 0 (2n  1) S  4 x

f

1 cos x

4S ¦ n

Here again the substitution x o xi gives

1 sinh x

f 1 (1) n  2 x¦ 2 2 2 x n 1 x S n

(1) n (2n  1) . 2 2 2 0 (2n  1) S  4 x

f

1 cosh x

4S ¦ n

Example 4.5.1 We prove now the important integral f

³ 0

sin xt sinh

St

dt

tanh x

2

by using the expansion of tanh x in partial fractions. We write f

³ 0

sin xt sinh

St 2

f

dt

2³ 0

173

sin xt dt St/2 e  e S t / 2

f

2 ³ sin xt 0

e S t / 2 dt 1  e S t

Special Techniques for Solving Integrals

174

f ­ S ¨ n  ¸ t ½ ° ° 2¦ ® ³ sin xt e © 2 ¹ ¾ dt n 0° ° ¯0 ¿

f ­ f S ¨§ n  1 ¸· t ½ 2 ³ sin xt ®¦ e © 2 ¹ ¾ dt ¯n 0 ¿ 0

f

n

2

§



f

x 2 0 x  S ( n  1 / 2)



f

1 2 0 4 x  S (2n  1)

8 x¦

2

n

2

tanh x

2

according to the expansion of tanh x obtained above. This integral will be used later in Section 4.7.

Example 4.5.2 Using the expansion of coth x in partial fractions we will prove here one very interesting integral, namely, f

sin xt dt t 1

³e 0

S 2



S 2S x

e

1



1 . 2x

For x ! 0 we write f

³ 0

sin xt dt e t 1

f

³ sin xt 0

f

et dt 1  e t

­° f °  nt ½ ® ³ sin xt e dt ¾ ¦ °0 n 1¯ ¿° f

f

¦x n 1

2

­

f

³ sin xt ®¯¦ e

 nt ½

n 1

0

S

x  n2

2

¾ dt ¿

coth S x 

1 . 2x

At the same time

S 2

S e S x  e S x

coth S x

2e

S 2



Sx

e

S x

S e S x e

Sx

e

S x

S ( e S x  e  S x  2e  S x ) e S x  e S x

2

S 2



S e

and the proof is completed. This integral will be used later in Section 4.9.

2S x

1

,

Evaluating Integrals by Laplace and Fourier Transforms

175

The integral f

S

sin xt dt t 1

³e 0

2

coth S x 

1 2x

appears as entry 3.911(2) in [25] and as entry 2.534(4) in [43]. With rescaling we can write the above integral in the form f

sin O t ³0 e 2S t  1 dt

1§ eO  1 2 ¨ 4© 1  eO

· 1 ¸ ¹ 2O

f 1§ · 1 1  2¦ e  k O ¸  ¨ 4© k 1 ¹ 2O

or f

¦ e kO k 1

f

1 1 sin O t dt .    2 ³ 2S t 2 O e 1 0

Differentiating n times with respect to O we find f

¦ k n e kO k 1

n!

O n 1

f

nS · t n §  2(1) n ³ sin ¨ O t  dt . ¸ 2 ¹ e 2S t  1 © 0

This representation can be used to solve the American Mathematical Monthly Problem 12075 (2018). The problem is this: f

Let

xn

¦k

n

/ e k . Prove that lim ( xn / n !) 1 , but the sequence n of

k 1

( xn  n !) n t1 is unbounded.

Indeed, we have with O 1 xn 1 n!

f

n 2(1) n § nS · t t dt sin  ¨ ¸ n ! ³0 © 2 ¹ e 2S t  1

176

Special Techniques for Solving Integrals

§x · and lim ¨ n  1¸ 0 since the right-hand side approaches zero. We can n of n ! © ¹ estimate this way f

2 tn dt n ! ³0 e 2S t  1

| ( xn / n !)  1| d f

2] (n  1) (2S ) n 1

tn 2 dt n !(2S ) n 1 ³0 e t  1

and the sequence ] (n  1) is bounded. For the second part of the problem we can write f

x4 m  (4m)! 2 ³ sin t 0

t 4m dt e 1 2S t

which is an unbounded subsequence of ( xn  n !) n t1 . Problem for the reader: Prove that for x ! 0 f

sin xt dt t 1

³e 0

1 S  csch S x 2x 2

(entry 3.911(1) in [25] and entry 2.5.34(2) in [43]).

4.5.2 Evaluation of important hyperbolic integrals Consider the function (4.16)

E ( x)

f

(1) n

1

u x 1

e  xt e t dt t 1 0

f

¦ n  x ³ u  1 du ³ e n 0

0

for Re( x) z 0, 1, 2,... This function was studied and used extensively by Nielsen and is sometimes called Nielsen’s beta function. It was called the incomplete beta function in [16] (see also [35]).

Evaluating Integrals by Laplace and Fourier Transforms

177

The first equality above follows from expanding (1  u ) 1 in geometric series inside the integral and then integrating term by term. For the second equality we use the substitution u e t . The function E ( x) is closely related to the digamma function \ ( x) (d / dx)ln *( x) which has the series representation f

1 · § 1  ¸. n x¹ 0 © n 1

\ ( x) J  ¦ ¨ n

Comparing this series to (4.16) we see that

E ( x)

1 ª § x 1· § x ·º \¨ ¸ \ ¨ ¸ » . « 2¬ © 2 ¹ © 2 ¹¼

Now we prove the evaluation (4.15) f

e by ³0 cosh y dy

e  (b 1) y dy 1  e 2 y 0

f

f

e by dy e y  e y 0



f

­f ½ 2 ³ e  (b 1) y ®¦ (1) n e 2 n y ¾ dy ¯n 0 ¿ 0

2³ f

f

n 0

0

2¦ (1) n ³ e  (b 1 2 n ) y dy

(1) n . 0 b  1  2n

f

2¦ n

That is, for every b ! 0 f

e by

³ cosh y dy

(4.17)

0

(1) n . 0 b  1  2n

f

2¦ n

Comparing this to (4.16) proves (4.15). We can also write f

e by ³0 cosh y dy

1 ª §b 3· § b  1 ·º \¨ ¸ \ ¨ ¸» . « 2¬ © 4 ¹ © 4 ¹¼

Special Techniques for Solving Integrals

178

Now let | y |  1 . We will prove the important formula f

cos( xy ) dx cosh x 0

³

(4.18)

S §S y · sech ¨ ¸ 2 © 2 ¹

known as Ramanujan’s formula. It shows the invariance of the hyperbolic secant under the cosine transform (entry 3.981(3) in [25]). We write

1 e ity  e ity dt 2 ³0 cosh t

f

f

cos( xy ) ³0 cosh x dx

f ­ ½ 1 1  2¦ ® ¾ 2n  1  yi ¿ n 0 ¯ 2n  1  yi

f

2¦ (1) n n 0

2n  1 . (2n  1) 2  y 2

§S y · sech ¨ ¸ in partial 2 © 2 ¹ fractions obtained above and (4.18) follows. (See also entry 6.1.62 in Hansen’s table [26].) In the last series we recognize the expansion of

S

We can write (4.18) in the form f

cos( xy ) ³0 cosh x dx

S S y/2  e S y / 2 e

S e S y/2 1 eS y

and integrating both sides with respect to y we find f

sin( xy ) ³0 x cosh x dx

S e S y / 2 dy ³ 1 eS y

d e S y/2 2³ 1 eS y



e S y/2 S y d 1 eS y 2

§ S2y · 2arctan ¨ e ¸  C . © ¹

Evaluating Integrals by Laplace and Fourier Transforms

With y

0 we compute C 

S 2

179

so that

§ S2y · S sin( xy ) dx 2arctan ¨e ¸  ³0 x cosh x © ¹ 2

f

(4.19)

which is entry 4.111(7) in [25] and entry 2.5.47(6) in [43]. Next we evaluate the integral f

sin( xy )

³ cosh x dx 0

which looks simpler, but in fact, is not. We will evaluate it this way:

§1 i y · E¨ ¸ © 2 ¹

f

e i xy ³0 cosh x dx

f

f

cos( xy ) sin( xy ) ³0 cosh x dx  i ³0 cosh x dx

so that f

f sin( xy ) (1) n §1 i y · Im 2 dx y E ¦ ¨ ¸ 2 2 ³0 cosh x © 2 ¹ n 0 (2n  1)  y

(4.20)

where we used (4.16) for the series representation. Prudnikov et al in [43, entry 2.5.46(4)], and Gradshteyn and Ryzhik [25, 3.981(2)], give the evaluation f

sin( xy )

³ cosh x dx 0

i ª § 1  iy · Sy § 1  iy · º S \¨ . ¸ \ ¨ ¸ »  tanh « 2¬ © 4 ¹ 2 © 4 ¹¼ 2

The same evaluation can be found also in [5]. Some other interesting hyperbolic integrals can be found in [17]. Problems for the reader: Show that

Special Techniques for Solving Integrals

180

1 § P 1· E¨ ¸ 2 © 2 ¹

tP ³0 1  t 2 dt 1

S /4

³ tan

P

x dx

0

for Re P ! 1 (entry 2.5.26(1) in [43]). f

sin 2 ( xy ) ³0 x sinh x dx

1 ln cosh(S y ) 2

(entry 2.5.47(3) in [43]). Also, for | a |  1 , b real f

S

sinh(S b) 2 cosh(S b)  cos(S a)

cosh(ax)sin(bx) dx sinh( x) 0

³

f

S

sinh(S a ) 2 cosh(S b)  cosh(S a )

sinh(ax) cos(bx) dx sinh( x) 0

³

(entries 2.5.46(9) and 2.5.46(13) in [43]). Another problem for the reader. Using the expansion of sech( x) from section 4.5.1 and also equation (2.24) from Example 2.3.2 prove the integral (entry 4.113(12) in [25]) y (O )

f

cos O x

dx

³ cosh(S x / 2) ˜ 1  x

2

O e  O  cosh(O ) ln(1  e 2 O ) .

0

Another possible solution: compute y ''  y and using the integral from (4.18) solve the resulting second order differential equation by variation of parameters under initial conditions y (0) ln 2, y '(0) 0 . In this case the result comes in the form y (O ) cosh(O ) ln(2cosh(O ))  O sinh(O )

as evaluated by Ramanujan (see equation (12) on p. 61 in the Collected Papers of Srinivasa Ramanujan, Chelsea, 1962).

Evaluating Integrals by Laplace and Fourier Transforms

181

4.6 Exponential Polynomials and Gamma Integrals In this section we will evaluate some integrals containing the gamma function. We will use Parseval’s theorem for the Fourier transform and also a special class of polynomials, the exponential polynomials. Let D

d . The exponential polynomials M n ( x) are defined by the dx

equation

Mn ( x) e x

( xD) n e x

(4.21)

for n 0, 1,.... Thus we have

M0 ( x) 1

M1 ( x) x M2 ( x)

M3 ( x )

M4 ( x) M5 ( x )

x2  x

x3  2 x 2  x

x 4  6 x3  7 x 2  x

x 5  10 x 4  25 x 3  15 x 2  x

etc. From the definition it follows immediately that

Mn 1 ( x) x(Mnc ( x)  Mn ( x)) . Using the Taylor series of the exponential function f

ex

xk

¦ k! k 0

equation (4.21) can be written in the form (with the agreement 00 1 )

Special Techniques for Solving Integrals

182

f

k n xk . ¦ k 0 k!

Mn ( x) e x Another important property is this

n §n· Mn 1 ( x) x ¦ ¨ ¸ Mk ( x) . k 0©k ¹

(4.22)

Here is the proof. Starting from f

¦

Mk ( x) e x

j 0

jkxj j!

we compute

§n· x ¦ ¨ ¸ Mk ( x) e k k 0© ¹ n

x j ­° n § n · k ½° ®¦ ¨ ¸ j ¾ ¦ ° k 0 © k ¹ ¿° j 0 j! ¯ f

1 f ( j  1) n 1 x j 1 ¦ x j 0 ( j  1)!

f

xj ( j  1) n ¦ j ! j 0

1 Mn 1 ( x) x

as needed. The generating function for the polynomials M n justifies their name

e x (e

t

1)

f

Mn ( x) t n

n 0

n!

¦

.

Their coefficients are the Stirling numbers of the second kind S (n, k )

Mn ( x)

n

¦ S ( n, k ) x

k

.

k 0

The exponential polynomials appeared in the works of Ramanujan, E. T. Bell, J. Touchard, Gean-Carlo Rota and many others. As indicated in [14], they appeared as early as 1843 in the works of the prominent German mathematician Johann August Grunert. We can write

Evaluating Integrals by Laplace and Fourier Transforms

x

d dx

ax

183

d d (ax)

for any nonzero number a, so equation (4.21) can be written in the more flexible form

Mn (ax) e a x .

( xD) n e a x

With the substitution x e t this becomes n

§ d · ae t ¨ ¸ e © dt ¹

(4.23)

Mn (ae t ) ea e . t

t

This formula describes the higher order derivatives of the function e a e . Next we recall the definition of Fourier transform. For functions f (t ) defined on (f, f) the Fourier transform F ( x) is defined by f

³e

F ( x)

 ixt

f (t ) dt

f

with inversion

f (t )

1 2S

f

³e

ixt

F ( x) dx .

f

We will use Parseval’s theorem. If g (t ), G ( x) is another pair originalimage, it is true that f

³

f

f

F ( x) G ( x) dx

³

f (t ) g (t ) dt

f

where the bar on the top indicates complex conjugate. In the following examples we will use Parseval’s theorem in the same way we used it in Section 4.4.

Special Techniques for Solving Integrals

184

Example 4.6.1 First we represent the gamma function as a Fourier transform. The usual integral representation of the gamma function f

*( z )

³x

z 1  x

e dx, Re( z ) ! 0

0

is a Mellin transform formula. It turns into a Fourier transform by the substitution x e O and also by setting z a  it , a ! 0,  f  t  f f

*(a  it )

³e

iO t

O

e aO e  e d O

f

From this equation by inversion

2S e aO e  e

(4.24)

O

f

³e

 iO t

*(a  it )dt .

f

In particular, with a 1 we can write O

2S (e )e

e O

d e O 2S e dO

f

 ³ e  iOt *(1  it )dt . f

Differentiating n times with respect to O we find in accordance with (4.23) the formula

2S Mn 1 (e  O ) e  e

O

f

(i ) n ³ e  iOt t n *(1  it )dt f

(n 0,1,...) or f

(4.25)

³e

f

 iO t n

t *(1  it )dt

2S i nMn 1 (e  O ) e  e

O

Evaluating Integrals by Laplace and Fourier Transforms

185

which represents the Fourier transform of t n *(1  it ). From here by setting O 0 we obtain the evaluation f

³t

(4.26)

n

2S e 1i n Mn 1 (1)

*(1  it )dt

f

with n 1

¦ S (n  1, k )(1)

Mn 1 (1)

k

.

k 0

If p (t ) c0  c1t  ...  cm t is a polynomial we can write f

³

m

2S e 1 ¦ ck i k Mk 1 (1) .

p (t ) *(1  it )dt

f

k 0

Differentiating n-times equation (4.24) we have f

n

§ d · aO  e O 2S ¨ ¸ e e © dO ¹

(i ) n

³e

 iO t n

t *(a  it )dt .

f

On the left-hand side we use the Leibniz rule to compute n

§ n · § d · e O § d · ¦ ¨ ¸¨ ¸ e ¨ ¸ © dO ¹ k 0 © k ¹© dO ¹

§ d · aO  e O 2S ¨ ¸ e e © dO ¹ n

k

n

§n·

¦ ¨ k ¸ M ( e O ) e e k 0

 O

© ¹

k

O

n

e aO e  e

§n·

¦ ¨ k ¸M k 0

© ¹

k

nk

e aO

a n  k e aO

( e O ) a n  k .

This provides the Fourier transform formula (n 0,1, 2,...) f

(4.27)

 iO t n ³ e t *(a  it )dt

f

2S i n e aO e  e

O

n

§n·

¦ ¨ k ¸M k 0

© ¹

k

( e O ) a n  k .

Special Techniques for Solving Integrals

186

When a 1 this turns into (4.25) in view of (4.22). When O f

³t

(4.28)

n

0 we have

n §n· 2S i n e 1 ¦ ¨ ¸ M k (1) a n  k . k 0©k ¹

*(a  it )dt

f

Example 4.6.2 We are going to obtain a new integral formula with the product of two gamma functions. We replace a by b ! 0 and O by O  P in (4.24) to write

2S e bO e bP e  e

O e P

f

³e

 iO t i P t

e *(b  it )dt .

f

Now we apply Parseval’s theorem for this Fourier transform and the one in (4.27). The result is

2S i e n

bP

§ n · n  k f ( a b ) O  e O (1 e P ) e M k ( e O ) d O ¦ ¨ ¸a ³ e k 0©k ¹ f n

f

³e

iP t n

t *(a  it )*(b  it ) dt .

f

Returning to the variable x e O we write this in the form f

³e

iP t n

t *(a  it )*(b  it ) dt

f

2S i e n

2S i e n

bP

bP

§ n · nk f a  b 1  x (1 e P ) e dx ¦ ¨ ¸ a ³ Mk ( x) x k 0©k ¹ 0 n

f § n · nk k j a  b  j 1  x (1 e P ) e dx ¦ ¨ ¸ a ¦ S (k , j ) (1) ³ x k 0©k ¹ j 0 0 n

Evaluating Integrals by Laplace and Fourier Transforms

187

n k §n· *(a  b  j ) 2S i n e bP ¦ ¨ ¸ a n  k ¦ S (k , j ) (1) j . (1  e  P ) a  b  j k 0©k ¹ j 0

This proves the evaluation f

³e

(4.29)

iP t n

t *(a  it )*(b  it ) dt

f

n k §n· *( a  b  j ) 2S i n e bP ¦ ¨ ¸ a n  k ¦ S (k , j ) (1) j (1  e  P ) a  b  j k 0©k ¹ j 0

for any n 0,1, 2,... and any a, b ! 0 . In particular, when P

0

f

³t

n

*(a  it )*(b  it ) dt

f n

§n·

k

k 0

© ¹

j 0

S i n ¦ ¨ ¸ a n  k ¦ S (k , j ) (1) j k For n

0 we have the Fourier transform formula. f

(4.30)

*(a  b  j ) . 2a  b  j 1

 iP t ³ e *(a  it )*(b  it ) dt

2S *(a  b)

f

e bP . (1  e  P ) a  b

Note that all gamma integrals above are absolutely convergent because of the well-known estimate ( M - a constant)

| *(a  it ) | d M | t |

a

1 2

e



S |t | 2

(| t | o f) .

Example 4.6.3 Let 0  a d b . We apply Parseval’s theorem to the pair of Fourier transforms

Special Techniques for Solving Integrals

188

2S e bO e bP e  e

f

O e P

³e

 iO t i P t

 iO t

1 dt a  t2

e *(b  it )dt

f

S  a |O | e a

f

³e

2

f

(the first formula is from the previous example). The result is

2S 2 a

f

 a | O | b O b P  e ³e e e e

O e P

f

dO

f

³e

f

iPt

*(b  it ) dt . a2  t 2

We change here P to  P and in the first integral we make the substitution

x e O to get f

iPt ³e

f

*(b  it ) dt a2  t 2

f

2S 2  a |ln x | b 1 b P  x e P e x e e dx a ³0

1 f º P 2S 2 e b P ª a b 1  x e P x e dx  xb  a 1 e  x e dx » «³ ³ a ¬0 1 ¼

2S 2 e b P a

ª 1 « P ( a b ) ¬« e

eP

a  b 1  u ³ u e du  0

1 e

P (ba )

º b  a 1  u u e du » (u ³ eP ¼» f

2S 2  a P ªe J (a  b, e P )  e a P *(b  a, e P ) ¼º . a ¬

That is, f

(4.31)

³e

f

iP t

*(b  it ) dt a2  t 2

2S 2  a P ªe J (a  b, e P )  e a P *(b  a, e P ) ¼º a ¬

where

xe P )

Evaluating Integrals by Laplace and Fourier Transforms p

J ( s, p )

³x

189

s 1  x

e dx

0

and f

*( s, p )

³x

s 1  x

e dx

p

are the lower and upper incomplete gamma functions. When a f

iP t ³e

f

*(a  it ) dt a2  t 2

b

2S 2  a P ªe J (2a, e P )  e a P Ei(e P ) ¼º a ¬

where f

et Ei( x) ³ dt t x is the exponential integral function. When P f

*(b  it ) ³f a 2  t 2 dt

0 we have

2S 2 J (a  b,1)  *(b  a,1) . a

4.7 The Functional Equation of the Riemann Zeta Function The Riemann zeta function ] ( s ) is defined for Re s ! 1 by the series f

1

¦n

] (s)

s

n 1

Riemann’s zeta function has very important applications in number theory (the distribution of prime numbers) and in analysis. Its theory originates in the works of Leonhard Euler, who often used the function

K (s)

f

¦ n 1

(1) n 1 ns

190

Special Techniques for Solving Integrals

defined for Re s ! 0 . This function is known as Euler’s eta function, or as the alternating zeta function. Clearly,

K (1) ln 2 . For Re s ! 1 we have

K (s) 1 

1 1 1  s  s  ... s 2 3 4

1 1 1 1 § · § 1 · ¨1  s  s  s  ... ¸  2 ¨ s  s  ... ¸ 4 ¹ © 2 3 4 ¹ ©2

] (s) 

2 ] (s) . 2s

That is, K ( s ) (1  21 s )] ( s ) , or

] (s)

1 K (s) . 1  2 1 s

By means of K ( s ) Riemann’s zeta function ] ( s ) extends to the half plane Re s ! 0 with a simple pole at s 1 . A fundamental property of Riemann’s zeta function is the functional equation (4.32)

] ( s ) 2s S s 1 sin

Ss 2

*(1  s )] (1  s )

which helps to extend ] ( s ) also for Re s d 0 . For example,

] (1) 

1 . 12

Titchmarsh [45, pp.12-27] gave seven proofs of the functional equation (4.32) and several others exist in the literature. Here we present yet another proof of this equation based on some results in this chapter. Our point is to show that the functional equation follows from the two integrals

Evaluating Integrals by Laplace and Fourier Transforms f

³

(4.33)

0

sin xt sinh

St

dt

191

tanh x

2

and f

³x

(4.34)

s

cos xt dx



0

*( s  1) Ss sin s 1 t 2

where t ! 0,  1  Re s  0 . The first integral can be viewed as a sine Fourier transform. It was evaluated above in Example 4.5.1. The second integral is a well-known Fresnel integral. It can be found at the end of Example 4.2.3. Here are some integral representations of the functions ] ( s ) and K ( s ) . Proposition 4.2. For Re s ! 1 and Re b ! 0 f

x s 1 s ³0 e b x  1 dx b *(s) ] (s)

(4.35)

f

x s 1 s ³0 e  1 dx b *(s)K (s)

(4.36)

bx

f

x s 1 ³0 sinh bx dx

(4.37) f

(4.38)

³x

2b  s (1  2 s )*( s )] ( s )

(1  tanh bx) dx

2(2b)  s *( s )K ( s )

(coth bx  1) dx

2(2b)  s *( s )] ( s ) .

s 1

0

f

(4.39)

³x

s 1

0

In particular, from (4.36) and (4.38)

Special Techniques for Solving Integrals

192

f

K (1) 1 dx 1 b

³e

ln 2 b

bx

0

and f

ln 2 . b

³ (1  tanh bx) dx 0

Proof. For the proof we can take b 1 . Then the general form comes after the substitution x o bx . Using geometric series f

f

x s 1 ³0 e x  1 dx

³x

s 1

0

e x dx 1 e x

f

³x

s 1

0

­ f n x ½ ®¦ e ¾ dx . ¯n 1 ¿

After changing the order of integration and summation this equals f ­° f s 1  n x ½° 1 x e dx * ( s ) ®³ ¾ ¦ ¦ s n °0 n 1¯ n 1 ¿° f

*( s )] ( s )

and (4.35) is proved. Equation (4.36) is proved the same way. For (4.37) we write f

x s 1 ³0 sinh bx dx

f

2³ x

s 1

0

e x dx 1  e 2 x

f

f s 1 ­  (2 n 1) x ½ x ® ¾ dx ¦ ³0 ¯ n 0 e ¿

f ­° f s 1  (2 n 1) x ½° 1 dx ¾ *( s )¦ ®³ x e ¦ s °¿ n 0° n 0 (2n  1) ¯0 f

and (4.37) follows, because f

1

¦ (2n  1) n 0

s

] (s) 

1 ] (s) . 2s

To prove (4.38) we write the function 1  tanh x in terms of exponentials and expand in geometric series

Evaluating Integrals by Laplace and Fourier Transforms

1  tanh x 1 

2e 2 x 1  e 2 x

e x  e x e x  e x

193

2e  x e x  e x

f

2¦ (1) n 1e 2 n x . n 1

Multiplying this by x s 1 and integrating we obtain f

s 1 ³ x (1  tanh x) dx

(1) n 1 s 1 (2n )

f

2* ( s ) ¦

0

n

2(2)  s *( s )K ( s ) .

The representation (4.39) is proved in a similar way. Differentiating (4.38) and (4.39) with respect to the variable b we find two more representations f

xs ³0 cosh 2 bx dx

(4.40)

f

xs ³0 sinh 2 bx dx

(4.41)

4 *( s  1)K ( s ) (2b) s 1 4 *( s  1) ] ( s ) . (2b) s 1

The left-hand side in (4.40) is well defined for Re s ! 1 and this representation provides the extension of K ( s ) and ] ( s ) for Re s ! 1 , since we have (4.42)

K (s)

(2b) s 1 4*( s  1)

f

1 xs ³0 cosh 2 bx dx, ] (s) 1  2 1 s K (s) .

Differentiating equation (4.33) we find also (4.43)

1 cosh 2 x

f

³ 0

t cos xt dt . St sinh 2

This integral will be used immediately in the following proof.

Special Techniques for Solving Integrals

194

Proof of the functional equation. For 1  Re s  0 we compute f

xs ³0 cosh 2 bx dx

­ f t cos xt ½ ° dt ° ³0 x ®³0 sinh S t ¾ dx °¯ 2 °¿

f

s

­° f s ½° t ³0 ®¯°³0 x cos xt dx ¾¿° S t dt sinh 2

f

­f t  s ½ dt ° *( s  1)sin ® St ¾ 2 ° 0 sinh 2 °¿ ¯

S s °³

*( s  1)sin

½ S s ­ § S · s 1 2 *(1  s )(1  2 s 1 )] (1  s ) ® 2 ¯ ¨© 2 ¸¹

¾ ¿

by using (4.34) and (4.37). Combining this result with (4.40) we find 4 *( s  1)(1  21 s )] ( s ) 2 s 1 *( s  1)sin

½ S s ­ § S · s 1 2 *(1  s )(1  2 s 1 )] (1  s ) . ® 2 ¯ ¨© 2 ¸¹

¾ ¿

Simplifying this equation gives the functional equation (4.32). The restriction 1  Re s  0 can now be removed by analytic continuation. The functional equation can be written also in the form (4.44)

] (1  s ) 2(2S )  s cos

by using the property

Ss 2

*( s )] ( s )

Evaluating Integrals by Laplace and Fourier Transforms

*(1  s )*( s )

195

S . sin S s

We come to the classical result: Proposition 4.3. The Riemann zeta function ] ( s ) can be extended as analytical function for all complex values s z 1 . At that, ] (0) 1 / 2 and ] (2k ) 0, k 1, 2,... . Proof. The property ] (2k ) 0, k 1, 2,... follows immediately from (4.43) with s 1  2k . Setting s 0, b 1 in (4.42) we find also 2K (0)

f

1

³ cosh 0

2

x

dx

1, K (0)

f

tanh x 0

1 2

and 1 2

] (0) K (0)  . Notice that for the proof of the functional equation we used only the Fresnel integral (4.34), the derivative of (4.33) (which is the integral (4.43)), and the representation (4.37). The functional equation is “built into” the structure if the integral (4.33).

Example 4.7.1 The integral representations of the functions K ( s ) and ] ( s ) can be used to evaluate some difficult integrals. For example, differentiating with respect to s equation (4.36), that is, f

x s 1 s ³0 e b x  1 dx b *(s)K (s)

we come to the equation

Special Techniques for Solving Integrals

196

f

x s 1 ln x ³0 e b x  1 dx

b  s ln b *( s )K ( s )  b  s * '( s )K ( s )  b  s *( s )K '( s ) and with s 1 f

³e 0

ln x dx 1



bx

ln b 1 1 K (1)  * '(1)K (1)  K '(1) . b b b

Here K (1) ln 2, * '(1) * '(1) / *(1) \ (1) J and we write f

³e 0

ln x dx 1

1 1 1  ln b ln 2  J ln 2  K '(1) . b b b

bx

The value of K '(1) can be found from the equation

K ( s ) (1  21 s )] ( s ) and the well-known series representation

] (s) 

f 1 (1) n J ¦ J n ( s  1) n s 1 n! n 1

(the coefficients J n here are known as the Stieltjes constants). A simple computation gives

K '(1) lim

K ( s )  ln 2

s o1

s 1

1 2

J ln 2  ln 2 2 .

Therefore, f

³e 0

ln x dx 1

bx



ln 2 ln 2  2ln b . 2b

Problem for the reader (easy!). Prove that

Evaluating Integrals by Laplace and Fourier Transforms f

³ ln x (1  tanh bx) dx



0

ln 2 (3ln 2  2ln b) . 2b

Example 4.7.2 Differentiating equation (4.35) f

x s 1 s ³0 e b x  1 dx b *(s) ] ( s)

with respect to s and then setting s f

x ln x dx bx 1

1 (] (2) ln b  \ (2)] (2)  ] '(2)) . b2

³e 0

2 we obtain

S2

Now we have the values ] (2)

6

S2

] '(2)

6

, \ (2) 1  J and

(J  ln(2S )  12ln A)

where A is the Glaisher-Kinkelin constant. We conclude that f

x ln x ³0 e b x  1 dx

S2 §

2S ·  1  12ln A ¸ . ¨ ln 6b © b ¹ 2

For the Glaisher-Kinkelin constant it is known that

1  12ln A 12] '(1) and when b 2S we have f

x ln x dx 2 x 1

³e S 0

1 ] '(1) . 2

197

198

Special Techniques for Solving Integrals

4.8 The Functional Equation for Euler’s L(s) Function Euler worked with the function f

(4.45)

L( s )

(1) n

¦ (2n  1)

s

(Re s ! 0)

n 0

which is somewhat similar to the zeta function. Here 1 1 1 S L(1) 1     ... 3 5 7 4

is the Gregory series. Another important value is (1) n ¦ 2 n 0 (2n  1) f

L(2)

G

the Catalan constant (see Section 5.5). The function L( s ) is also known as Dirichlet’s L( s ) function, or Dirichlet’s beta function E ( s ) . It is easy to show that f

2*( s ) L( s )

(4.46)

x s 1 ³0 cosh x dx .

The proof is exactly like that of (4.37). Proposition 4.4. The function L( s ) satisfies the functional equation

Ss §2· ¨ ¸ sin *( s ) L( s ) 2 ©S ¹ s

(4.47)

L(1  s )

or, in equivalent form (4.48)

§S · L( s ) ¨ ¸ ©2¹

Proof. We use the integral

s 1

cos

Ss 2

*(1  s ) L(1  s ) .

Evaluating Integrals by Laplace and Fourier Transforms f

1 cosh x

(4.49)

³ 0

cos xt cosh

St

199

dt

2

(this is a modification of (4.18) from Section 4.5.2). For Re s ! 0 we write f ­ ½ ° s 1 ° x cos xt dx ¾ dt ® ³0 ³ S t ¯° 0 ° ¿ cosh 2

f

f

x s 1 ³0 cosh x dx

f

^

1

`

­f t  s ½ dt ° *( s ) cos ® St ¾ 2 ° 0 cosh 2 °¿ ¯

S s °³

*( s ) Ss dt cos ³0 St ts 2 cosh 2 1

*( s ) cos

½ S s ­ § S · s 1 2 *(1  s ) L(1  s ) . ® 2 ¯ ¨© 2 ¸¹

¾ ¿

Comparing this to (4.46) we come to the functional equation (4.48). The equivalent form (4.47) follows in view of the gamma function property *( s )*(1  s )

S . sin S s

In the proof we have used again the Fresnel integral (4.34) in a slightly different form. The functional equation shows that L( s ) extends as analytic function for all complex s. From (4.48) we find L(0)

2

S

L(1)

1 2

and from (4.47) the property L(1  2k ) 0, k 1, 2,... .

200

Special Techniques for Solving Integrals

Like in the previous section we can say that the functional equation is built into the structure of the integral (4.49).

4.9 Euler’s Formula for Zeta(2n) In this section we present two important formulas relating the values of Riemann’s zeta function z (2n) and z (1 - 2n) , n = 1, 2,... to the Bernoulli numbers Bn . We also give two formulas relating the values L(2n + 1) and L(-2n) of Euler’s L(s) -function to Euler’s numbers En . Following the ideas of the previous two sections these formulas will be based on two special integrals. 4.9.1 Bernoulli numbers The popular Bernoulli numbers Bk appeared in the works of the Swiss mathematician Jakob Bernoulli (1654-1705) who evaluated sums of powers of consecutive integers 1n + 2n + ... + (m - 1) n =

1 n æ n + 1ö n +1- k å ç ÷ m Bk . n + 1 k =0 è k ø

The Bernoulli numbers have numerous applications in mathematics: in combinatorics, analysis, and probability (see, for instance, [40, Chapter 24] and [44, Section 1.6]). The exponential generating function for the Bernoulli numbers is (4.50)

¥ B x x ¥ B = å n xn = 1 - + å n xn e - 1 n =0 n! 2 n = 2 n!

x

(| x | < 2p ) .

We have

1 1 1 B0 = 1, B1 = - , B2 = , B3 = 0, B4 = - , ... . 2 6 30 Equation (4.50) can be put in the form

Evaluating Integrals by Laplace and Fourier Transforms f

x x  1 x e 1 2

(4.51)

Bn

¦ n! x

201

n

n 2

where the function on the left-hand side is even. Indeed, setting x x  e 1 2

f ( x)

x

we have x x  x e 1 2

 xe x x  1 e x 2

 xe x  x 2(1  e x )

 x(e x  1  2) 2(1  e x )

x x  x 2 e 1

f ( x) .

f ( x)

It follows that B2 n 1

0, n 1, 2,... .

Most interestingly, the nonzero numbers B2n are related to the values ] (2n) of Riemann’s zeta function. Euler discovered the formula (4.52)

] (2n)

(1) n 1 (2S ) 2 n B2 n 2(2n)!

(n 1, 2, ...)

bearing his name. In particular

] (2)

S2 6

S4

, ] (4)

90

, ] (6)

S6 945

, ... .

There are many proofs of this formula. We will present here a proof based on the integral f

(4.53)

sin xt dt t 1 0

³e

S 2



S e

2S x

1



1 2x

( x ! 0)

which was evaluated in Example 4.5.2. We will see that Euler’s formula is hidden in the structure of this integral. We need also the integral representation of the zeta function

Special Techniques for Solving Integrals

202

f

t s 1 1 dt *( s ) ³0 e t  1

] (s)

(4.54)

(Re s ! 1)

(see equation (4.35) in the previous section). Proof of Euler’s formula. We look at the right-hand side in equation (4.53) G ( x)

S 2



S e

2S x

1 . 1 2x 

It is easy to see that lim G ( x) 0 and defining G (0) 0 this function x o0

becomes analytic in the disk | x |  1 . According to (4.51) 2 xG ( x)

2S x 2S x  2S x 1 e 1 2

(2S ) 2 n B2 n 2 n x (2n)! 1

f

¦ n

and therefore, (2S ) 2 n B2 n 2 n 1 x . ¦ 2(2n)! n 1 f

G ( x)

which is obviously the Taylor series for this function centered at x Using the formula for the Taylor coefficients we conclude that G (2 n 1) (0) (2n  1)!

(4.55)

(2S ) 2 n B2 n . 2(2n)!

At the same time from (4.53) f

G ( x)

and

f

2 n 1 sin xt cos xt n 1 t (2 n 1) dt , G ( x ) (  1) ³0 e t  1 ³0 e t  1 dt

0.

Evaluating Integrals by Laplace and Fourier Transforms f

G (2 n 1) (0) (2n  1)!

(1) n 1 t 2 n 1 dt (2n  1)! ³0 e t  1

203

(1) n 1 ] (2n) .

Comparing this to (4.55) we find (2S ) 2 n B2 n 2(2n)!

(1) n 1 ] (2n)

and Euler’s formula is proved. Since ] (0) 

1 and B0 1 the formula 2

is true also for n 0 . Note that this proof can be used in reverse order and from Euler’s formula we can derive equation (4.53). Therefore, the two equations (4.52) and (4.53) are equivalent. Combining Euler’s formula (4.52) with the functional equation

] (1  s ) 2(2S )  s cos

Ss 2

*( s )] ( s )

and setting here s 2n we come to another remarkable formula (4.56)

] (1  2n) 

B2 n 2n

(n 1, 2,...)

also due to Euler. In particular,

] (1) 

1 1 . , ] (3) 12 120

Remark. As we know from Example 4.5.2 equation (4.53) can be written also in the form f

sin xt dt t 1

³e 0

S 2

coth S x 

1 2x

and it follows from the representation of G ( x) that

Special Techniques for Solving Integrals

204

S 2

coth S x 

(2S ) 2 n B2 n 2 n 1 x . ¦ 2(2n)! n 1 f

1 2x

This shows the interesting Taylor series for the function S x coth S x (2S ) 2 n B2 n 2 n x . (2n)! 0

f

¦

S x coth S x

n

In terms of zeta values f

S x coth S x 2¦ (1) n 1 ] (2n) x 2 n . n 0

If we replace x by xi we come to the representation of the trigonometric cotangent f

S x coth S x 2¦ ] (2n) x 2 n

(| x |  1)

n 0

4.9.2 Euler numbers and Euler’s formula for L(2n+1) The Euler numbers En are usually defined by their exponential generating function 1 cosh x

(4.57)

This function is even, so E2 n 1 in particular, E0

1, E2

1, E4

f

En

¦ n! x

n

.

n 0

0, n 1, 2,... . For even indices we have

5, E6

61, E8 1385 ,…

(see [40, Chapter 24]). We will prove a formula similar to Euler’s formula (4.52) involving Euler’s L( s ) function

Evaluating Integrals by Laplace and Fourier Transforms

(1) n ¦ s n 0 (2n  1) f

L( s )

205

(Re s ! 0)

with integral representation f

L( s )

1 t s 1 dt 2*( s ) ³0 cosh t

(see Section 4.7).

Proposition 4.5. For every n 0,1, 2,... we have L(2n  1)

(4.58)

(1) n S 2 n 1 E2 n . 22 n  2 (2n)!

For example

S

L(1)

4

, L(3)

S3 32

, L(5)

5S 5 ,... . 1536

This formula also comes from Euler. We give here a proof based on the special integral f

cos xt

³ cosh t dt

(4.59)

0

S

1

2 cos S x 2

evaluated in Section 4.5.2 (this is integral (4.18)). The argument is this. First we write

S

f

1

2 cos

Sx 2

S 2 n 1 E2 n

¦2 n 0

2n2

(2n)!

x2n

206

Special Techniques for Solving Integrals

as a result from (4.57). Then equation (4.59) says that f

(4.60)

S 2 n 1 E2 n

f

cos xt ³0 cosh t dt

¦2

2n2

n 0

(2n)!

x2n

giving explicitly the Taylor coefficients of the function f

cos xt

³ cosh t dt .

F ( x)

0

At the same time we can find the Taylor coefficients of this even function by repeated differentiation with respect to x. That is, f

(1) n t 2n dt (2n)! ³0 cosh t

F (2 n ) (0) (2n)!

(1) n L(2n  1)

for n 0,1, 2,... This way f

F ( x)

¦ (1)

n

L(2n  1) x 2 n .

n 0

Comparing this equation to equation (4.60) completes the proof. The functional equation for L( s ) proved in Section 4.8

S L( s ) ¨§ ¸· ©2¹

s 1

cos

Ss 2

*(1  s ) L(1  s )

in view of the representation L(2n  1)

(1) n S 2 n 1 E2 n 22 n  2 (2n)!

implies a formula similar to (4.56), namely, (4.61)

L(2n)

1 E2 n 2

(n 0,1, 2,...) .

Evaluating Integrals by Laplace and Fourier Transforms

207

Example 4.9.1 In Gradshteyn and Ryzhik’s reference book [25], on page 532, there sits one monster integral, a visitor from the bad dream of some calculus student S /2

(4.62)

³ ln(ln tan x) dx S

J

/4

S

§ *(3 / 4) · 2S ¸ . ln ¨ 2 © *(1 / 4) ¹

This is entry 4.229(7) in [25]. It is difficult to understand how such an integral has come into life. Closer examinations shows, however, that the integral has several faces, one of which is quite civilized. First, the substitution u

tan x ( x arctan u ) turns this integral into f

(4.63)

J

ln(ln u )

³ 1 u

2

du

1

(entry 4.325(4)). The substitution x arctan

1 gives it another look, an u

integral with finite limits 1

(4.64)

1 § 1· ³0 1  u 2 ln ¨© ln u ¸¹ du

J

Finally, the substitution u simpler f

(4.65)

J

³

ln(tan x) or x arctan eu makes the logarithm

³ ln u 0

ln( ln u ) du . 1 u 2 0

1

eu du 1  e2u

f

1 ln u du ³ 2 0 cosh u

(entry 4.371(1)). This last one we will evaluate using Euler’s L( s ) function. More precisely, we look at equation (4.46) f

x s 1 ³0 cosh x dx

2* ( s ) L ( s )

208

Special Techniques for Solving Integrals

and realize that the logarithm will appear inside after differentiation. Indeed, differentiating and setting s 1 we find f

1 ln x dx 2 ³0 cosh x

* '(1) L(1)  *(1) L '(1)

S

and since * '(1) \ (1) J , L(1)

J

we have

4

L '(1) 

S 4

J.

Now we need to find L '(1) . From the functional equation

Ss §2· ¨ ¸ sin *( s ) L( s ) 2 ©S ¹ s

L(1  s )

differentiating and setting s 1 we find (4.66)

L '(1) 

S 4

J

S §1

S · ¨ ln  L '(0) ¸ . 2©2 2 ¹

We see now that we need L '(0) . To compute this value we will follow the idea of Ilan Vardi [54]. Vardi involved the Hurwitz zeta function

] ( s, a )

f

1

¦ (n  a)

s

(a ! 0, Re s ! 1) .

n 0

This function can be continued analytically as a function of s on the whole complex plane with a simple pole at s 1 . For its analytical continuation we have a very important property, the formula of Lerch (see [48, p. 273]) (4.67)

] '(0, a ) ln

*(a ) . 2S

We can express L( s ) in terms of ] ( s, a )

Evaluating Integrals by Laplace and Fourier Transforms

209

§ f 1 3 ] ¨§ s, ¸·  ] ¨§ s, ¸· ¨ ¦ ©



f · 4s 4s  ¦ s s ¸ 4 ¹ © n 0 (4n  1) n 0 (4n  3) ¹

©

1 1 1 § · 4 s ¨1  s  s  s  ... ¸ © 3 5 7 ¹

that is, 1 3 ] §¨ s, ·¸  ] §¨ s, ·¸ 4s L( s ) .

(4.68)

©



©



Differentiating this equation and then setting s 0 we find in view of Lerch’s formula (4.67) and L(0) 1 / 2

ln

*(1 / 4) *(3 / 4)

ln 2  L '(0) .

Placing this value of L '(0) into equation (4.66) we find L '(1) 

S 4

J



*(3 / 4) ·  ln 2S ¸ ln ¨ 2 © *(1 / 4) ¹

which proves (4.62). A good survey on this integral and several similar integrals can be found in Iaroslav V. Blagouchine’s paper “Rediscovery of Malmsten’s integrals, their evaluation by contour integration methods and some related results” (Ramanujan J., 35 (2014), 21–110).

Example 4.9.2 The integral from the previous example has an interesting neighbor in Gradshteyn and Ryzhik’s table [25] with a similar structure 1

(4.69)

§ 1· ³0 ¨© ln x ¸¹

P 1

§ 1· ln ¨ ln ¸ dx \ ( P )*( P ) (Re P ! 0) © x¹

Special Techniques for Solving Integrals

210

(entry 4.229(4)). This integral is much easier to prove. The substitution 1 t ln or x  ln t brings the integral to something familiar x 1

§ 1· ³0 ©¨ ln x ¹¸

P 1

f

§ 1· ln ¨ ln ¸ dx © x¹

³t

P 1

(ln t ) e  t dt .

0

This is the derivative of Euler’s gamma function *( P )

f

³t

P 1  t

e dt .

0

Since * '( P ) \ ( P )*( P ) our proof is done. When P 1 we have 1

§



³ ln ¨© ln x ¸¹ dx

(4.70)

\ (1) J

0

which is entry 4.229(1). With P 1

§ 1· ³0 ¨© ln x ¸¹

1/ 2

1 in (4.69) 2

§ 1· §1· §1· ln ¨ ln ¸ dx \ ¨ ¸ * ¨ ¸ ©2¹ ©2¹ © x¹

and as 1 * ¨§ ¸· ©2¹

1 S , \ §¨ ·¸ 2ln 2  J ©2¹

we find also 1

(4.71)

§ 1· ³0 ¨© ln x ¸¹

1/ 2

§ 1· ln ¨ ln ¸ dx © x¹

This is entry 4.229(3) in [25].

(J  2ln 2) S .

Evaluating Integrals by Laplace and Fourier Transforms

211

Example 4.9.3 Euler’s numbers En are well-known and together with formulas (4.46) and (4.58), namely, f

x s 1 ³0 cosh x dx

2*( s ) L( s ),

(1) n S 2 n 1 E2 n 22 n  2 (2n)!

L(2n  1)

they can be used for the evaluation of a group of integrals from section 3.523 in [25]. The two formulas above together yield f

(4.72)

x2n ³0 cosh x dx

(1) n S 2 n 1 E2 n 22 n 1

S (1) n ¨§ ·¸ ©2¹

2 n 1

E2 n

which also comes directly from (4.60). This is entry 3.523 (4) in [25]. For n 1, 2, 3 we have f

x2 ³0 cosh x dx

(4.73)

f

x4 ³0 cosh x dx

(4.74)

f

x6 ³0 cosh x dx

(4.75)

S3 8 5S 5 32

61S 7 . 128

These are entries 3.523(5), 3.523(7), and 3.352(9) in the same order. For s

3 we find from (4.46) and the definition of L( s ) 2 f

(4.76)

x ³0 cosh x dx

(entry 3.523(11)).

3 3 2* §¨ ·¸ L §¨ ·¸ ©2¹ ©2¹

(1) n 3/ 2 0 (2n  1)

f

S¦ n

Special Techniques for Solving Integrals

212

In the same way with s f

(4.77)

1 we obtain 2

1 dx x cosh x

³ 0

f (1) n 1 1 2* §¨ ·¸ L §¨ ·¸ 2 S ¦ ©2¹ ©2¹ 2n  1 n 0

(entry 3.523(12) in [25]). Etc.

Example 4.9.4 We will show now a solution to the American Mathematical Monthly Problem 11973 (Vol. 124, No. 4, (2017), p. 369). Our solution is based on the representation f

(4.78)

S x coth S x 2¦ ] (2n) x 2 n

(| x |  1)

n 0

from Section 4.9.1. The problem is to prove that (4.79)

S

] (2n) §

f

¦ (2n  1)4 2 n 0

n

2· ¨1  n ¸ G © 4 ¹

where G is Catalan’s constant. For the solution we integrate (4.78) x

³t 0

cos S t dS t sin S t

x

³ td ln(sin S t ) 0

x

x ln(sin S x)  ³ ln(sin S t ) dt 0

f

2¦ n 0

] (2n) 2n  1

x 2 n 1

so that x

 x ln(sin S x)  ³ ln(sin S t ) dt 0

f

2¦ n 0

] (2n) 2n  1

x 2 n 1 .

Evaluating Integrals by Laplace and Fourier Transforms

Here we set x

1 and rescale the variable in the integral to get 2 S /2

³

(4.80)

4

.

1 we find 4

In the same way setting x

S

(2n  1)4n

n 0

0

(4.81)

] (2n)

f

ln(sin t ) dt S ¦

S /4

] (2n) .  1)16n (2 n 0

f

ln 2  2 ³ ln(sin t ) dt S ¦ n

0

The log-sine integrals are known (see Example 3.2.1 in Chapter 3) S /2

³ ln(sin t ) dt



0

S /4

³ ln(sin t )dt 0

S 2

ln 2

1 S ln 2  G . 4 2

Finally, from (4.80) and (4.81) we find

S

] (2n) §

f

¦ (2n  1)4 2 n 0

n

2· ¨1  n ¸ © 4 ¹



f f ] (2n) ] (2n) ·  2¦ ¨¦ n n ¸ 2 © n 0 (2n  1)4 n 0 (2 n  1)16 ¹



S 4

ln 2 

S 4

ln 2 

S 2

ln 2  G G

as desired. As an added bonus we have the two interesting series evaluations f

(4.82)

] (2n)

¦ (2n  1)4 n 0

n

 ln 2

213

214

Special Techniques for Solving Integrals f

(4.83)

] (2n)

¦ (2n  1)16 n 0

n

1 G  ln 2  . S 4

In the last one three interesting constants appear together.

Chapter 5

Various Techniques

5.1 The Formula of Poisson Many challenging integrals can be evaluated by using the residue theorem and contour integration. This popular method is well represented in most books on complex variables and will not be discussed here. However, in the theory of analytic functions there is one nice and efficient formula which is useful for integral evaluation and does not require special contours. Suppose f ( z ) is a function bounded and analytic on the right half plane Re z ! 0 . Setting z x  iy we have the important integral representation (see chapter 6 in [30]) f

(5.1)

f ( x  iy )

1 x f (it ) 2 dt ³ S f x  ( y  t )2

where f (it ),  f  t  f are the boundary values on the y-axis. For real valued integrals we use the two representations f

1 x Re f (it ) 2 dt ³ S f x  ( y  t )2

(5.2)

Re f ( x  iy )

(5.3)

1 x Im f ( x  iy ) Im f (it ) 2 dt . ³ S f x  ( y  t )2

f

215

Special Techniques for Solving Integrals

216

The same representation is true for harmonic functions bounded on the closed right half plane. The formula has numerous applications in harmonic analysis, potential theory and partial differential equations.

Example 5.1.1 Let a ! 0 and for z

x  iy consider the function

f ( z ) e a z

e a x ei a y

e  a x (cos a y  i sin a y )

which is bounded and analytic for x t 0 . By Poisson’s formula

e  a x (cos ay  i sin ay )

f

x cos at  i sin at ³ x2  ( y  t )2 dt . S f

Separating real and imaginary parts we find for x ! 0 f

³x

(5.4)

2

f f

³x

(5.5)

f

2

cos at S a x dt e cos ay 2  ( y  t) x sin at S a x dt e sin ay . 2  ( y  t) x

For y 0 in (5.4) we find f

cos at ³0 x 2  t 2 dt

f

1 cos at ³ x 2  t 2 dt 2 f

S 2x

e a x .

This integral was evaluated in Example 2.3.2 (Chapter 2) by differentiation with respect to the variable a.

Example 5.1.2 Now consider f ( z ) e b z cosh a z where 0  a d b. Then

Various Techniques

217

f (it ) cos(bt )cos(at )  i sin(bt )cos( at ) We apply formula (5.2) and then set y 0 to obtain for x ! 0 f

(5.6)

S b x e cosh ax 2x

cos bt cos at dt x2  t 2 0

³

as the integrand is an even function. This is entry 3.743(3) from [25] in a slightly different form.

Example 5.1.3 Let D ! 0 and consider the function f ( z )

i log(1  iD t ) and t

value of the logarithm. Then f (it )

Re f (it ) With x ! 0, y (5.7)

log(1  D z ) with the principal z

1 Arg(1  iD t ) t

arctan D t . t

0 we find from (5.2)

log(1  D x) x2

f

1 arctan D t dt ³ t x2  t 2 S f

f

2 arctan D t dt t x2  t 2 S ³0

that is, f

arctan D t dt 2  t2 )

³ t(x 0

S log(1  D x) 2

x2

.

Special Techniques for Solving Integrals

218

The proofs of the next two examples are left to the reader. Example 5.1.4 Show that for every x ! 0 and 0  D  E f

(5.8)

sin D t cos E t dt t x2  t 2 0

S E x e sinh D x . 2 x2

³

This is entry 3.725 (3) in [25]. The function to be used is

f ( z ) e E z

sinh D z . z

Example 5.1.5 Prove that for every x ! 0, a ! 0, b ! 0 f

(5.9)

cos bt dt ³0 b2  t 2 x2  t 2

S b e  a x  xe  ab 2bx b 2  x 2

(entry 3.728 in [25]). Computing the limit when x o b show that f

cos bt ³0 (b2  t 2 )2 d t

S e  ab (ab  1) . 4b3

The function to be used for this integral is f ( z)

b e  a z  ze  ab . b2  z 2

Example 5.1.6 Here we use this technique to solve Problem 2116 from the Mathematics Magazine (94 (2021), 150). The problem is to evaluate f

e cos t cos(sin t  D t ) dt ³0 x2  t 2

( x,D ! 0) .

Various Techniques

219 z

For the solution we consider the entire function f ( z ) e e D z , z x  iy which is bounded on the closed right half plane x t 0 . We have Re f (it ) ecos t cos(sin t  D t ) and Poisson’s formula (5.2) implies (with y 0) f

ecos t cos(sin t  D t ) dt ³0 x2  t 2

S 2x

ee

x

D x

(as the integrand is an even function).

5.2 Frullani Integrals Frullani’s formula says that for a, b ! 0 f

(5.10)

³ 0

f (bx)  f (ax) dx x

[ f (f)  f (0)]ln

b a

where f (f) lim f ( x) . For the validity of this formula it is sufficient to x of

assume that f ( x) is continuous on [0, f) , and its derivative f '( x) exists and is continuous on (0, f) . We also assume the limit f (f) exists. These conditions are too strong, but quite appropriate for most applications and for the short proof below. Giuliano Frullani (1795-1834) was an Italian mathematician. The above formula carries his name because of his contributions to integral solving techniques. Here is a simple proof of the formula. f

³ 0

f (bx)  f (ax) dx x ­° f °½ ® ³a °¯³0 f c( xy) dx ¾°¿ dy b

b °­ °½ ® ³0 ¯°³a f c( xy) dy ¾¿° dx

f

­° f ( xy ) ® ³a y ¯° b

½° ¾ dy ° 0 ¿

f

Special Techniques for Solving Integrals

220 b

³ ^ f (f)  f (0)` a

dy y

b

dy y a

^ f (f)  f (0)` ³

f (f)  f (0) ln

b . a

A popular example follows. For a, b ! 0 f

e  a x  e bx b ³0 x dx ln a

with f ( x) e  x , lim f ( x) 0, f (0) 1 . x of

More essential examples are given below. In all following examples until the end of the section we assume that a and b are two positive numbers.

Example 5.2.1 Taking f ( x) e  O x cos x, O ! 0 in (5.10) we have e  O ax cos ax  e  Obx cos bx b dx ln . ³0 x a

f

In this case lim f ( x) 0, f (0) 1 . x of

A similar integral was evaluated in Example 2.2.9 by differentiation with respect to a parameter. It is most remarkable that the integral does not depend on O . Even more, we can use the function f ( x) e  O x cos p ( x) where O is any positive number and p is any positive integer. We still have e  O a x cos p (ax)  e  Ob x cos p (bx) b dx ln ³0 x a

f

(5.11)

Various Techniques

221

and the integral is independent of O and p . Similarly, we have for any O ! 0 and any integer p t 1 e  O a x sin p (ax)  e  Ob x sin p (bx) dx 0 ³0 x

f

with f ( x) e  O x sin p ( x), lim f ( x) 0, f (0) 0 . x of

Example 5.2.2 In this example we will evaluate the integral f

cos p (ax)  cos p (bx) dx (a, b ! 0) ³0 x

which is not a Frullani integral, because lim cos p ( x) does not exist. x of

However, this integral is interesting and resembles (5.11). The computation is based on the case p 1 f

cos (ax)  cos (bx) b dx ln x a 0

³

evaluated in Chapter 2, in Example 2.2.13. For any integer p t 1 we consider two cases: when p 2n is even, and when p 2n  1 is odd. We also need the two representations (entries 1.320(5) and 1.320(7) from [25])

cos 2 n ( x)

cos 2 n 1 ( x)

1 4n

­° n 1 § 2n · § 2n · ½° ®2¦ ¨ ¸ cos 2(n  k ) x  ¨ ¸ ¾ © n ¹ ¿° ¯° k 0 © k ¹

1 n 1 § 2n  1· ¦¨ ¸ cos(2n  2k  1) x . 4n 1 k 0 © k ¹

Special Techniques for Solving Integrals

222

Then we compute f

cos 2 n (ax)  cos 2 n (bx) dx ³0 x

2 4n

§ 2n · f cos 2(2n  k )ax  cos 2(2n  k )bx dx ¦ ¨ ¸³ x k 0© k ¹ 0 n 1

2 b ln 4n a

n 1

§ 2n ·

k 0

©

¦¨ k ¸ . ¹

That is, f

cos 2 n (ax)  cos 2 n (bx) dx ³0 x

(5.12)

2 b ln 4n a

n 1

§ 2n ·

k 0

©

¦¨ k ¸ . ¹

Similarly f

cos 2 n 1 (ax)  cos 2 n 1 (bx) dx ³0 x

f 1 n 1 § 2n  1· cos (2n  2k  1)ax  cos (2n  2k  1)bx dx ¦¨ ¸ 4n 1 k 0 © k ¹ ³0 x

1 b ­° n 1 § 2n  1· ½° ln ®¦ ¨ ¸¾ 4n 1 a ¯° k 0 © k ¹ ¿°

1 b b ln ^22 n  2 ` ln . n 1 4 a a

Finally f

(5.13)

cos 2 n 1 (ax)  cos 2 n 1 (bx) b dx ln ³0 x a

(see entry 2,5,29(18) in [43]).

Various Techniques

223

Example 5.2.3 Let p be any positive number. Applying Frullani’s formula to the function p §S · f ( x) arctan p ( x) with lim f ( x) ¨ ¸ and f (0) 0 we find x of ©2¹ f

arctan p (ax)  arctan p (bx) a §S · dx ¨ ¸ ln . ³0 x b ©2¹

(5.14)

p

Example 5.2.4 For any p ! 0 we have f

sech p (ax)  sech p (bx) b dx ln . ³0 x a

(5.15)

Here f ( x) sech p ( x), lim f ( x) 0, f (0) 1 . x of

Example 5.2.5 Now take the function f ( x) e  O x ln p (1  x) with arbitrary O ! 0, p ! 0 . Frullani’s formula provides e  O ax ln p (1  ax)  e  Obx ln p (1  bx) dx 0 x 0

f

³

(5.16)

since lim f ( x) 0 and also f (0) 0 . x of

We cannot pass to limits with O o 0 here because the integral f

ln p (1  ax)  ln p (1  bx) dx ³0 x

is divergent.

Special Techniques for Solving Integrals

224

Example 5.2.6 At first sight the integral f

e a x  eb x dx ³0 x 2

2

(where a, b ! 0 ) does not look like a Frullani integral. However, replacing

a and b by get

a and

2

b we apply (5.10) to the function f ( x) e  x to

f

e a x  eb x b d x ln ³0 x a 2

2

1 b ln . 2 a

In the same way, for any p ! 0 f

(5.17)

p

p

e a x  eb x b1/ p d x ln ³0 x a1/ p

1 b ln . p a

For further examples of Frullani integrals and more theory see Albano et al. [4], Boros and Moll [7], and Moll [35]. Frullani’s formula has many extensions and ramifications. Sergio Bravo et al. have connected it to the special method of brackets [19]. Hardy [27] has provided very interesting extensions and examples.

5.3 A Special Formula An interesting extension of Frullani’s formula was found by Ramanujan. His result is discussed by Bruce Brendt in his book [1, pp. 313-317]. Here we give a similar formula which quickly evaluates integrals of the form

Various Techniques f

³ 0

225

f ( x) dx x

for appropriate functions f ( x) . Suppose the function f ( x) is defined on [0. f) and is also analytic in a neighborhood of the origin with Taylor series f

(5.18)

f ( x)

¦ (1)

n 1

A(n) x n

n 0

where A (0) 0 and the coefficients A(n) , n 0,1, 2,... extend to a “good enough” differentiable function A (t ) on the interval [0, f) . Then we have the remarkable formula f

(5.19)

³ 0

f ( x) dx x

A '(0) .

At the end of the section we will sketch a justification of this formula. Note that the summation in (5.18) can be started from n 1 f

f ( x)

¦ (1)

n 1

A(n) x n .

n 1

Example 5.3.1 We start with a simple example. Consider the function f ( x)

ln(1  x) 1 x

which is defined on [0, f) and has the Taylor expansion

ln(1  x) 1 x

f

¦ (1)

n 1

H n xn

n 1

for | x |  1. Here H n are the harmonic numbers (they appeared before in Section 4.2). The harmonic numbers have the representation

Special Techniques for Solving Integrals

226

H n \ (n  1)  J where \ (t ) * '(t ) / *(t ) is the digamma function and J \ (1) is Euler’s constant. This way the harmonic numbers extend to the function

H (t ) \ (t  1)  J defined and differentiable on (1, f) . The digamma function has the series representation f

§1 1© n

\ ( x  1) J  ¦ ¨  n

1 · ¸ n x¹

so that

H '(0) \ '(1)

f

1 ¦ 2 n 1 n

S2 6

and we come to the evaluation f

³ 0

ln(1  x) dx (1  x) x

S2 6

This integral was evaluated in Example 2.5.4 in Chapter 2. It is a good illustration of how formula (5.19) works. A natural extension is the integral f

ln(1  x)

³ (1  x) p x dx,

p!0.

0

We have the representation ln(1  x) (1  x) p

f

¦ (1) n 1

n 1

§ n  p  1· n ¨ ¸ \ (n  p )  \ ( p ) x n © ¹

(see, for instance, [13]) and the coefficients

Various Techniques

227

§ n  p  1· A(n) ¨ ¸ \ (n  p )  \ ( p ) n © ¹

extend to § t  p  1· A(t ) ¨ ¸ \ (t  p )  \ ( p) t © ¹

*(t  p ) \ (t  p) \ ( p) . *( p ) *(t  1) It is easy to compute that

A '(0) \ '( p ) ] (2, p ) where

] ( s, p )

f

1

¦ (n  p) s ,

Re s ! 1

n 0

is the Hurwitz zeta function. Thus f

ln(1  x)

³ (1  x) p x dx 0

] (2, p)

f

n 0

This integral appears as entry 2.6.10 (52) in [43].

Example 5.3.2 We have f

§ 1  e x · dx  e x ¸ 1. x ¹ x 0

³ ¨©

To prove this we notice that

1

¦ (n  p)

2

.

Special Techniques for Solving Integrals

228

1  e x  e x x

f

¦ (1)

n 1

n 1

§1 1 · n ¨  ¸x © n ! (n  1)! ¹

and the coefficients

1 1  extend to A (t ) n ! (n  1)!

A(n)

1 1  *(t  1) *(t  2)

with

A '(t ) 

* '(t  1) * '(t  2)  * 2 (t  1) * 2 (t  2)

so that A '(0) \ (2)  \ (1) 1 . This proves the value of the integral.

Example 5.3.3 For any q ! 0 we have f

(5.20)

§ sin x

³ ¨¨ 0

©

x



1 · dx ¸ 1  q x ¹¸ x

2(1  J )  ln q .

Here sin x x



1 1 qx

f

¦ (1) n 1

n 1

§ n · n 1 ¨q  ¸x (2n  1)! ¹ ©

and the coefficients A (n) q n  1 / (2n  1)! extend to

A(t ) q t 

1 . *(2t  2)

Therefore,

A '(t ) q t ln q 

2* '(2t  2) * 2 (2t  2)

Various Techniques

229

A '(0) ln q  2\ (2) ln q  2(1  J ) . The evaluation is proved. With the substitution x t 2 the integral (5.20) turns into f

§ sin t 1 · dt  ¸ t 1  qt 2 ¹ t

³ ¨© 0

1 1  J  ln q 2

which is similar to entry 2.5.29 (8) in [43]. Remark. From (5.20) we know that when q 1 § sin x 1 · dx  ¨ ³0 ¨ x 1  x ¸¸ x © ¹

f

2(1  J ) .

It is most interesting that for any p ! 0 we have also § sin x 1  1 xp x 0©

f

³ ¨¨

(5.21)

· dx ¸¸ ¹ x

2(1  J )

that is, the integral does not depend on the parameter p ! Here is a proof. We can write f

§ sin x

³ ¨¨ 0

©

x



1 1 xp

· dx ¸¸ ¹ x

§ sin x 1 1 1    1 x 1 x 1 xp x 0©

f

³ ¨¨

· dx ¸¸ ¹ x

f

1 · dx § 1  2(1  J )  ³ ¨ ¸   1 x 1 xp ¹ x 0©

and now we will show that the last integral equals zero

Special Techniques for Solving Integrals

230

f

§ 1

· dx x

1

³ ¨© 1  x  1  x p ¸¹

(5.22)

0

0.

Proof. f

1 · dx § 1 ³0 ¨© 1  x  1  x p ¸¹ x

f

xp  x dx ³0 (1  x)(1  x p ) x

f

x p 1  1 ³0 (1  x)(1  x p ) dx f

x p 1  1 x p 1  1 dx  ³0 (1  x)(1  x p ) ³1 (1  x)(1  x p ) dx . 1

These two integrals annihilate each other. Making the substitution x 1 / t in the first one we get x p 1  1 ³0 (1  x)(1  x p ) dx 1

t p 1 § dt · 1  t p 1 ³ (t  1)(t p  1) t p 1 ¨©  t 2 ¸¹ f 1

f

t p 1  1 dt (t  1)(t p  1) 1



so that f

x p 1  1 ³0 (1  x)(1  x p ) dx 0

(5.23) for any p ! 0 .

With the substitution x t 2 we find also that for any p ! 0 f

(5.24)

§ sin t 1  t 1 t p

³ ©¨ 0

· dt ¸ ¹ t

In general, we can state the proposition.

1 J .

Various Techniques

231

Proposition 5.1. Suppose h( x) is a function defined on [0, f) and such that the following integral is convergent and has value M f

§

1 · dt t

³ ¨© h( x)  1  t ¸¹ 0

M.

Then for every p ! 0 we have also f

§

· dt t

1

³ ¨© h( x)  1  t p ¸¹ 0

M.

For the proof we just need to add the zero integral (5.22).

Example 5.3.4 For any q ! 0 we have f

(5.25)

§

³ ¨© cos

x

0

1 · dx ¸ 1 qx ¹ x

2J  ln q .

Here cos x 

f

1 1 qx

¦ (1) n 1

n 1

§ n 1 · n ¨q  ¸x (2n)! ¹ ©

and the coefficients A (n) q n  1 / (2n)! extend to

A (t ) q t 

1 *(2t  1)

with A '(0) ln q  2\ (1) ln q  2J . The evaluation is proved. With the substitution x t 2 we find also (cf. 2.5.29 (9) in [43]) f

§

1

³ ¨© cos t  1  qt 0

2

· dt ¸ ¹ t

1 J  ln q . 2

Special Techniques for Solving Integrals

232

In the same way as above we find also f

§

³ ¨© cos

(5.26)

x

0

f

· dx ¸ ¹ x

1 1 xp

§

1

· dt

³ ¨© cos t  1  t p ¸¹ t

2J

J

0

or,

J

f

§ 1

³ ¨© 1  t

p

0

· dt  cos t ¸ ¹ t

for any p ! 0 . This extend the well-known (for p 1 ) representation of Euler’s constant J .

Example 5.3.5 § 1  cos x · dx 1  ¸ x 2(1  q x) ¸¹ x 0©

f

(5.27)

1 3 ln q   J 2 2

³ ¨¨

for any q ! 0 . With x t 2 f

§ 1  cos t · dt 1  2 ¸ t 2(1  qt ) ¹ t 0

³ ¨©

1 ln q  3  2J . 4

Now 1  cos x 1  x 2(1  q x)

f

¦ (1) n 1

n 1

§ qn · n 1 ¨  ¸x © 2 (2n  2)! ¹

and the coefficients A(n) extend to

A(t )

1 qt  2 *(2t  3)

Various Techniques

233

( t t 1 ) with 1 A '(0) \ (3)  ln q 2

3 1  J  ln q . 2 2

Again, as in Example 5.3.3 we have for every p ! 0 f

§ 1  cos t · dt 1  2 p ¸ t 2(1  t ) ¹ t 0

³ ¨©

(5.28)

3 J  4 2

which extends entry 2.5.29 (7) from [43] (given there for p 1 ).

Example 5.3.6 For any q ! 0 we have § arctan x 1 · dx  ¸ 1  q x ¸¹ x x 0©

f

³ ¨¨

(5.29)

2  ln q

Here arctan x 1  1 qx x

f

¦ (1) n 1

n 1

1 · n § n ¨q  ¸x 2n  1 ¹ ©

and the coefficients A(n) extend to A(t ) q t 

1 with A '(0) ln q  2 . 2t  1

This proves (5.29).

Example 5.3.7 For any q, p ! 0 f

(5.30)

§

³ ©¨ e 0

px



1 · dx ¸ 1 qx ¹ x

ln

q J . p

Special Techniques for Solving Integrals

234

This is entry 2.3.19 (7) in [43]. We have e p x 

pn · n n 1 § n q   ( 1) ¨ ¸x ¦ n! ¹ n 1 © f

1 1 qx

and the coefficients A(n) q n  p n / n ! extend to A(t ) q t  p t / *(t  1) with

A '(t ) q t ln q 

*(t  1) ln p  * '(t  1) t p * 2 (t  1)

and A '(0) ln q  ln p  \ (1) ln

q J . p

Using the special integral (5.22) we can also write for any p, r ! 0 f

§

³ ¨© e

(5.31)

0

px



1 · dx ¸ 1  xr ¹ x

 ln p  J

Example 5.3.8 For every q ! 0 f

(5.32)

§

ln 2 · dx x

§1 · ¨ ln 2  J  ln q ¸ ln 2 ©2 ¹

³ ©¨ E ( x  1)  1  q x ¸¹ 0

where E ( x) is the Nielsen beta function used before in Section 4.5 (see (4.16)). Recall that

E ( x)

f

(1) n

¦ nx . n 0

We will use also Euler’s eta function (1) n 1 K (s) ¦ ns n 1 f

f

1 x s 1 dx, Re s ! 0 *( s ) ³0 e x  1

Various Techniques

235

with K (1) ln 2 . It is easy to prove the expansion f

¦ (1) K (n  1) x

E ( x  1)

n

n

.

n 0

This is the Taylor series for E ( x  1) centered at the origin, as

(1) k 1 n 1 1 k

f

E ( n ) (1) (1) n n! ¦ k

(1) n n ! K (n  1) .

Now

E ( x  1) 

f

ln 2 1 qx

¦ (1)

n

(K (n  1)  q n ln 2) x n

n 0

and A (n) K (n  1)  q n ln 2 extend to A (t ) K (t  1)  q t ln 2 with

A '(0) K '(1)  ln q ln 2 . It is known that K '(1) J ln 2  (ln 2 2) / 2 and (5.32) follows. To understand this integral better we will show that it is absolutely convergent. It is sufficient to show that the integral f

³ 1

E ( x  1) x

dx

is convergent. This follows from the estimate ( M ! 0 a constant) 0

E ( x  1) x

d

M x2

for x ! 0 . We have from (4.16) xE ( x  1)

f

xe  xt ³0 et  1 dt

f

d e  xt dt et  1 0



f

et e  xt 1 ³ t dt 2 0 (e  1) 2

and therefore, xE ( x  1) is a bounded function on [0, f) . When q 1 we have for every p ! 0

Special Techniques for Solving Integrals

236 f

§

ln 2 · dx x

§1 · ¨ ln 2  J ¸ ln 2 . ©2 ¹

³ ¨© E ( x  1)  1  x p ¸¹

(5.33)

0

Example 5.3.9 Let ] ( s ) be Riemann’s zeta function defined for Re( s ) ! 1 by

] (s)

f

1 x s 1 dx . *( s ) ³0 e x  1

f

1 ¦ s n 1 n

Then for every q ! 0 we have f

(5.34)

§ \ ( x  1)  J ] (2) · dx  ¸ x 1 qx ¹ x 0

³ ¨©

] (2) ln q  ] '(2) .

We will use the well-known expansion (Taylor series centered at the origin – see 8.363(1) in [25])

\ ( x  1)  J

f

¦ (1)

k 1

] (k  1) x k

k 1

for | x |  1. Setting k  1 n we have

\ ( x  1)  J

f

¦ (1) ] (n  2) x n

x

n

n 0

so that

\ ( x  1)  J x



] (2) 1  qx

f

¦ (1)

n 1

(q n] (2)  ] (n  2)) x n

n 1

(here ] (2) is needed to assure A(0) 0 ). Now A(n) q n] (2)  ] (n  2) extend to A(t ) q t ] (2)  ] (t  2) with A '(0) ] (2) ln q  ] '(2) . The evaluation (5.34) follows.

Various Techniques

Since ] (2)

237

S2 and ] '(2) ] (2)(J  ln(2S ))  12ln A , where A is 6

Glaisher-Kinkelin’s constant, we can write the value of the integral as

S2

(ln q  J  ln(2S ))  12ln A .

6

It is not difficult to see that this integral is also absolutely convergent.

Explaining formula (5.19) First we recall Euler’s transformation formula for series (see [8], [13]). Let

g (t ) a0  a1 t  a2 t 2  ... be a power series. Then

­ n § n · ½° n° t ®¦ ¨ ¸ ak ¾ . ¦ °¯ k 0 © k ¹ °¿ n 0 f

1 § t · g¨ ¸ 1 t ©1 t ¹

Now in the integral in (5.19) we make the substitution x f

³ 0

1

f ( x) dx x

­° f n t ³0 ®¯°¦ n 0 1

1

³1 t 0

n

§n·

k 0

© ¹

§ t · dt f¨ ¸ ©1 t ¹ t

¦ ¨ k ¸ (1)

k 1

½° dt A(k ) ¾ ¿° t

­° n § n · ½° 1 n 1 k 1 ®¦ ¨ ¸ (1) A(k ) ¾³ t dt ¦ °k 1©k ¹ n 1¯ ¿° 0 f

f

°­

n

§n·

¦ °®¦ ¨ k ¸ (1) n 1

¯k 1© ¹

k 1

°½ 1 A(k ) ¾ . ¿° n

t to get 1 t

Special Techniques for Solving Integrals

238

Note that the summation starts now from n 1 because A(0) 0 . It was shown in [9] that for a large class of function A(t ) defined on [0, f) we have f

­°

§n·

n

¦ ®°¦ ¨ k ¸ (1)

(5.35)

n 1

k 1

¯k 1© ¹

½° 1 A(k ) ¾ °¿ n

A '(0) .

This is true for all functions A (t ) appearing in the above examples. To give the reader an idea how (5.35) works we apply it to the function A(t ) q t  1, |1  q |  1. Note that A(0) 0 and we can start the summation in the interior sum from n 0 f

°­

§n·

n

¦ ®°¦ ¨ k ¸ (1) n 1

k 1

¯k 1© ¹

°½ 1 (q k  1) ¾ °¿ n

°­ n § n · °½ 1 k 1 k ®¦ ¨ ¸ (1) (q  1) ¾ ¦ °k 0 © k ¹ °¿ n n 1¯ f

f ­ n n ½° 1 §n· ° §n· ¦ ®¦ ¨ ¸ (1) k q k  ¦ ¨ ¸ (1) k ¾ °k 0 © k ¹ n 1¯ k 0©k ¹ ¿° n f ­ n ° §n· °½ 1 ¦ ®¦ ¨ ¸ (1) k q k ¾ °k 0 © k ¹ n 1¯ ¿° n

(1  q ) n n 1

f

¦ n

ln(1  (1  q )) ln q

using the fact that n

§n·

¦ ¨ k ¸ (1) k 0

© ¹

k

0.

One more example. Let us take the function

A '(0)

Various Techniques

A(t )

239

1 1 1 1  *(t  1) *(t  1) *(1)

where for the reciprocal gamma function we will use an integral representation based on a positively oriented Hankel contour L extending on both sides of the negative half axis (f, 0) with a small loop around the origin

1 *(t  1)

1 u t 1e u du . 2S i ³L

We have

A(t )

1 (u t  1) u 1e u d u 2S i ³L

and (5.35) works the same way (as it applies to the expression u t  1 ). A new proof of formula (5.35) appeared in the recent paper by the author “New series identities with Cauchy, Stirling, and harmonic numbers, and Laguerre polynomials” (https://arxiv.org/abs/1911.00186). Other interesting formulas for evaluating integrals were presented by M. Laurence Glasser and Michael Milgram in their paper “Master Theorems for a Family of Integrals” (Integral Transforms Spec. Func. 25 (2014), 805-820). 5.4 Miscellaneous Selected Integrals In this section we present a collection of interesting integrals some of which appear as problems in the American Mathematical Monthly, the College Mathematics Journal, or the Mathematics Magazine. The solutions of the problems presented here were found independently by the author. They may differ from the published solutions. Example 5.4.1 We start with a simple and nice integral. For any a, b ! 0

Special Techniques for Solving Integrals

240

f

³ ln

(5.36)

0

x2  b2 dx S (b  a ) x2  a2

This is entry 2.6.15(10) in [43]. The proof is very short. We will write this integral as a double integral and then change the order of integration. f

f

x2  b2 ln ³0 x 2  a 2 dx

³ ^ln( x

³ {ln( x

 b 2 )  ln( x 2  a 2 )} dx

0

f

2

2

t ) 2

b a

0

` dx

­° f 2t ½° ³a ®¯°³0 x 2  t 2 dx ¾°¿ dt b

b

2³ a

S 2

dt

b 2t °­ °½ ³0 ®°¯³a x 2  t 2 dt ¾°¿ dx

f

b ­° x 2 ³ ®arctan t ° a¯

½° ¾ dt 0 ¿ ° f

S (b  a ) .

The integral can be evaluated without using double integrals, but first computing the antiderivative and then using the limits. Thus

³ ln

x2  b2 dx x2  a2

³ ln( x

2

 b 2 ) dx  ³ ln( x 2  a 2 ) dx

(and after integration by part and simplifying)

x ln

x2  b2 x x  2b arctan  2a arctan . 2 2 x a b a

Now evaluation between the given limits brings to our result. For the limit

lim x ln x of

x2  b2 x2  a2

0

the substitution x 1 / t would be appropriate.

Various Techniques

241

Example 5.4.2 Solution to Monthly Problem 11796 (2015, p.738). The problem is to evaluate the integral f

sin (2n  1) x D x m 1 e x dx sin x 0

³

where D ! 0 is arbitrary and m t 1, n t 0 are integers. We start with the well-known representation of the Dirichlet kernel

sin (2n  1) x sin x

n

¦ e 2i k x

k n

(this is computed easily by summing the finite geometric series on the right-hand side). Next we multiply this equation by e D x and integrate f

sin (2n  1) x D x ³0 sin x e dx

n

¦

f

 (D  2 i k ) x dx ³e

k n 0

n

1

¦ D  2ik .

k n

All we need to do now is to differentiate both sides of this equation m  1 times with respect to D . The result is f

(5.37)

n sin (2n  1) x D x m 1 1 . e x dx ( m  1)! ¦ m ³0 sin x k  n (D  2ik )

This evaluation is compact enough. If we want to avoid complex numbers in the answer we can separate the real part of the sum to get f

sin (2n  1) x D x m 1 e x dx sin x 0

³

n § 1 cos(m arctan(2k / D )) · (m  1)! ¨ m  2¦ ¸. (D 2  4k 2 ) m / 2 k 1 ©D ¹

Special Techniques for Solving Integrals

242

Example 5.4.3 Here we prove entry 4.236(1) from [25]. For any p ! 0 ­1  ( p  1) ln x x ln x ½ p 1  ¾ x dx \ '( p )  1 . 1 x (1  x) 2 ¿ 0

1

(5.38)

J

³ ¯®

This is a very tricky integral, a real puzzle! The integral is a combination of two independent integrals, J where ­1  p ln x x ln x ½ p 1  ¾ x dx (1  x) 2 ¿ 1 x 0

J1  J 2

1

³ ¯®

J1

1

and 1

³

J2

0

 ln x p 1 x dx \ '( p ) . 1 x

This combination is not obvious! First we evaluate ­ x p 1  px p 1 ln x x p ln x ½  ¾ dx ³0 ®¯ 1 x (1  x) 2 ¿ 1

J1 1

­d

³ ®¯ dx ( x 0

p

ln x)

1 d 1 ½  ( x p ln x) ¾ 1 x dx 1  x ¿

d § x p ln x · ³0 dx ¨© 1  x ¸¹ dx 1

x p ln x 1 x

1

1 0

(the values at the endpoint are found by using limits). Next we use the well-known integral representation of the digamma function (entry 8.361 (7) in [25]) 1  x p 1 dx 1 x 0

1

\ ( p) J  ³

Various Techniques

243

where J is Euler’s constant. Differentiating with respect to p brings to J 2 immediately. The formula is proved.

Example 5.4.4 In this example we give an extension to Monthly Problem 11506 (2010, p. 459). We will prove that for any two complex numbers O , P with | Re O |  1, | Re P |  1, | Re(O  P ) |  1 and any two positive number a, b ! 0 we have f

(5.39)

sin OS ³ 0

f

xO bP  x P x P aO  xO d x sin PS ³ dx xa bx xb a x 0

sin OS sin PS

S

ff

xP t O ³0 ³0 ( x  b)(t  a)(t  x) d xdt .

The proof starts with the well-known Euler integral f

tE ³0 t  a dt

S a E , 1  E  0 sin ES

(see Example 4.2.3). Using partial fractions we write f

tO ³0 (t  a)(t  x) dt

S aO  xO sin OS a  x

which extends to 1  Re O  1 . Then we rewrite this in the form aO  xO ax

sin OS

S

f

tO ³0 (t  a)(t  x) dt .

Here we multiply both sides by sin PS x from zero to infinity. The result is

xP and integrate with respect to xb

Special Techniques for Solving Integrals

244

f

sin PS ³

(5.40a)

0

sin OS sin PS

S

x P aO  xO dx xb a x

ff

xP t O ³0 ³0 ( x  b)(t  a)(t  x) d tdx .

In the same way, from bP  xP bx

sin PS

S

f

tP ³0 (t  b)(t  x) dt

we obtain f

sin OS ³

(5.40b)

0

sin OS sin PS

S

xO bP  x P dx xa bx

ff

xO t P ³0 ³0 ( x  a)(t  b)(t  x) d tdx .

The double integrals in (5.40a) and (5.40b) are the same, so the left-hand sides are the same and the identity (5.39) is proved. Example 5.4.5 Here we prove a very nice integral. This is entry 4.242(1) from [25]. For any 0  b  a f

(5.41)

J

³ 0

ln ab § a 2  b 2 K¨ ¨ 2a a ©

ln x dx (a 2  x 2 )(b 2  x 2 )

· ¸ ¸ ¹

where S /2

K (k )

³ 0

l 1  k sin 2 T 2

dT

is the complete elliptical integral of the first kind (see 8.112 (1) in [25]).

Various Techniques

245

This evaluation involves a special trick – we use two independent substitutions in the same integral. First we set x a tan T in (5.41) to get S /2

ln a  ln tan T

³

J

a cos 2 T  b 2 sin 2 T 2

0

dT .

The second substitution (in the original integral) is x b cot T and it transforms the integral into S /2

ln b  ln tan T

³

J

a cos 2 T  b 2 sin 2 T 2

0

dT .

Adding these two integrals we find S /2

(5.42)

ln ab ³

2J

0

l a cos T  b 2 sin 2 T 2

2

dT .

§ a 2  b2 · a 2 ¨1  sin 2 T ¸ and setting k 2 a © ¹ we can write the above result as

a 2  b2 a

Here a 2 cos 2 T  b 2 sin 2 T

2J

ln ab a

S /2

³ 0

l 1  k sin T 2

2

dT

ln ab K (k ) a

which is (5.41). An interesting equation follows from (5.41) and (5.42) f

³ 0

ln x dx (a 2  x 2 )(b 2  x 2 )

ln ab 2

S /2

³ 0

l a 2 cos 2 T  b 2 sin 2 T

dT .

The second integral here is directly related to the Arithmetic-Geometric Mean of the numbers a and b - see Section 1.7 in Chapter 1.

Special Techniques for Solving Integrals

246

Example 5.4.6 Solution to Monthly Problem 11966 (March 2017). The problem is to prove that x ln(1  x) ³0 1  x 2 dx 1

(5.43)

S2 96



(ln 2) 2 . 8

We present two solutions using the method from Chapter 2, that is, differentiation with respect to a parameter. For the first solution we define the function 1

³

J (O )

0

x ln(1  O x) dx, 0 d O d 1 . 1  x2

Differentiation gives 1

x2 ³0 (1  O x)(1  x 2 ) dx

J '(O )

1 1 1 1 ª dx xdx dx º   O « » 2 ³ 2 ³ ³ 1 O ¬0 1 Ox 1 x 1  x2 ¼ 0 0

1 1 O2

ln 2 S º ª ln(1  O ) O  » « O 2 4¼ ¬

ln(1  O ) ln 2 O S 1   . 2 2 4 1 O2 O (1  O ) 2 1  O Integrating this between 0 and 1 we find ln(1  O ) (ln 2) 2 S 2 . O d   ³0 O (1  O 2 ) 4 16 1

J (1)

Now ln(1  O ) ³0 O (1  O 2 ) d O 1

1

³ 0

ln(1  O )

O

O ln(1  O ) dO 1 O2 0

1

d O ³

S2 12

 J (1)

Various Techniques

247

because 1

³ 0

ln(1  O )

O

­ f (1) n 1 O n 1 ½ ¾dO ³0 ®¯¦ n n 1 ¿ 1

dO

(1) n 1 ¦ n2 n 1 f

S2 12

.

This way we come to the equation

(ln 2) 2 S 2  4 48

2 J (1) and (5.43) follows.

For the second solution we first integrate by parts

x ln(1  x) ³0 1  x 2 dx 1

1 1 ln(1  x 2 ) ln(1  x) ln(1  x 2 )  ³ dx 2 2 0 1 x 0 1

1

(ln 2) 2 1 ln(1  x 2 )  ³ dx 2 0 1 x 2 1

and then we solve the last integral in this equation. For 0 d D d 1 we work with the function ln(1  D 2 x 2 ) ³0 1  x dx . 1

F (D )

Differentiating with respect to D we find F '(D )

2D x 2 ³0 (1  x)(1  D 2 x 2 ) dx 1

1 1 1 2D ª dx xdx dx º ³ ³ » 2 «³ 2 2 1D ¬0 1 x 0 1D x 1  D 2 x2 ¼ 0

2D ª ln(1  D 2 ) arctan D º   ln 2 « D »¼ 1 D 2 ¬ 2D 2

Special Techniques for Solving Integrals

248

2D ln(1  D 2 ) 2arctan D ln 2   . 1D 2 1D 2 D (1  D 2 ) Integrating this between 0 and 1 we find ln(1  x 2 ) ln(1  D 2 ) S2 2 . D dx (ln 2)  d  ³0 1  x ³0 D (1  D 2 ) 16 1

F (1)

1

In this integration the first and the third integrals are trivial. In the second integral we make the substitution t D 2 to get ln(1  D 2 ) ³0 D (1  D 2 ) dD 1

1 ln(1  D 2 ) 2D dD 2 ³0 D 2 (1  D 2 ) 1

1 ln(1  t ) 1 ln(1  t ) dt  ³ dt ³ 20 t 2 0 1 t 1

1

1 ln(1  t ) dt 2 ³0 t (1  t ) 1

S2 24



(ln 2) 2 4

(the first integral appeared above). Finally, § S 2 (ln 2) 2 · S 2 F (1) (ln 2) 2  ¨  ¸ 4 ¹ 16 © 24

3 S2 (ln 2) 2  4 48

and a simple computation gives x ln(1  x) ³0 1  x 2 dx

S2

ln(1  x 2 ) dx 1 x 0

3 S2 (ln 2) 2  4 48

1

96



(ln 2) 2 . 8

The integral 1

(5.44)

³

will be used later in Section 5.5.

Various Techniques

249

Example 5.4.7 We present here a very challenging integral. We want to evaluate §S2 2 x · dx ¨ ³0 © 18  2arcsin 2 ¸¹ 1  x . 1

J

Our starting point is the expansion (Maclaurin series) 1

§ 2n · x 2 n , | x| 2 ¦ ¨ ¸ n2 n 1© n ¹ f

x 2arcsin 2 2

(for a simple derivation of this expansion see [32]). When x 1 we have

S2 18

1

§ 2n · 1 ¦ ¨ ¸ 2 n n 1© n ¹ f

and therefore,

S2

x  2arcsin 18 2 2

1

§ 2n · 1 1 1  x 2 n dx ¦ ¨ ¸ 2 ³ n 0 1 x n 1© n ¹ f

J

1

§ 2n · 1 2n ¦ ¨ ¸ 2 (1  x ) n n 1© n ¹ f

1

§ 2n · 1 1 2 2 n 1 ¦ ¨ ¸ 2 ³ (1  x  x  ...  x ) dx n 0 n 1© n ¹ f

1

§ 2n · 1 ¦ ¨ ¸ 2 H 2n n n 1© n ¹ f

where H k

1  1 / 2  ...  1 / k are the harmonic numbers.

We have the evaluation 1

§ 2n · H 2 n ¦ ¨ ¸ n2 n 1© n ¹ f

1

2 f § 2n · 1 ] (3)  ¦ ¨ ¸ 3 3 n 1© n ¹ n

Special Techniques for Solving Integrals

250

(see equation (117) on p. 22 in [2]). From the same place (equation (61)) 1

§ 2n · 1 ¦ ¨ ¸ 3 n n 1© n ¹ f

4 3

S 3(c1  1)  ] (3) 

2S 3 9 3

where

c1  1

f

1

¦ (3n  1)

2

n 0

( c1 is a special constant used in [2]). Now we finally have

J

1

§ 2n · H 2 n ¦ ¨ ¸ n2 n 1© n ¹ f

17 4S 3 2S  (c1  1) . ] (3)  9 27 3 3

Remark. In the next two examples we will use the Stirling numbers of the first kind s (n, k ). They are dual to the Stirling numbers of the second kind S (n, k ) which appeared in Section 4.6 n

¦ S ( n, k ) s ( k , m )

G nm ,

k 0

n

¦ s ( n, k ) S ( k , m )

G nm .

k 0

The ordinary and exponential generating functions for s (n, k ) are (5.45)

x( x  1)( x  2)...( x  n  1)

n

¦ s ( n, k ) x

k

k 0

or n

x( x  1)( x  2)...( x  n  1) (1) n ¦ (1) k s (n, k ) x k k 0

(5.46)

1 (ln (1  x)) n n!

f

¦ s ( p, n) p 0

xp . p!

Various Techniques

251

Example 5.4.8 Solution to problem 1139 from the College Mathematics Journal (November 2018, p. 371). (a) Prove that for any integer n ! 0 (ln(1  t )) n ³0 t dt 1

(1) n n !] (n  1) .

(b) Evaluate the series f

¦ (1)

p

p 0

s ( p, n) . p! p

Solution. From the expansion (5.46) after setting x integrating between 0 and 1 we find (ln(1  t )) n dt t 0

1

(5.47)

³

f

n ! ¦ (1) p p 0

t, dividing by t, and

s ( p, n) . p! p

e  x this integral transforms to

With the substitution 1  t

(ln(1  t )) n ³0 t dt 1

f

x n e x dx 1  e x 0

(1) n ³

f

xn dx e x 1 0

(1) n ³

(1) n n !] (n  1)

by using the well-known integral representation of the Riemann zeta function

] (s)

f

1 x s 1 dx, Re( s ) ! 0 . *( s ) ³0 e x  1

Comparing the above two evaluations we come to the most interesting representation f

(5.48)

] (n  1) (1) n ¦ (1) p p 0

s ( p, n) . p! p

Special Techniques for Solving Integrals

252

This solves problem 1139 completely. The representation (5.48) is not new. A good exposition of this formula, informative comments, and more general results can be found in Adamchik’s paper [3].

Example 5.4.9 Here we solve the similar Problem 1117 from the College Mathematics Journal (January 2018, p. 60). Prove that for n t 1 n

§ ln (1  t ) · ³0 ¨© t ¸¹ dt 1

(5.49)

n 1

n ¦ (1) k 1s (n  1, k ) ] (n  1  k ) . k 0

For the proof we will transform both sides of this equation to one and the same expression. First the left-hand side. With the substitution 1  t

e  x we write n

§ ln (1  t ) · ³0 ¨© t ¸¹ dt 1

f

x n e x dx (1  e  x ) n 0

(1) n ³

f °­ f §  n · °½ (1) n ³ x n e  x ® ¦ ¨ ¸ (1) m e  mx ¾ dx 0 ¯° m 0 © m ¹ ¿° f f § n · (1) n ¦ ¨ ¸ (1) m ³ x n e  ( m 1) x dx m 0© m ¹ 0 f § n · n! (1) n ¦ ¨ ¸ (1) m m (m  1) n 1 m 0© ¹

f § n 1 m · 1 . (1) n n ! ¦ ¨ ¸ m ¹ (m  1) n 1 m 0©

Various Techniques

253

The exchange of integration and summation is justified as the binomial series is absolutely convergent. Now the right-hand side. n 1

n ¦ (1) k 1s (n  1, k ) ] (n  1  k ) k 0

n 1 ­ f mk ½ n¦ (1) k 1s (n  1, k ) ®¦ n 1 ¾ k 0 ¯m 1 m ¿

f

1 ­ n 1 ½ (1) k 1 s (n  1, k ) m k ¾ n 1 ® ¦ 1m ¯k 0 ¿

n¦ m

f

(1) n ­ n 1 ½ (1) n 1 k s (n  1, k ) m k ¾ n 1 ® ¦ 1 m ¯k 0 ¿

n¦ m

f

m(m  1)...(m  n  2) m n 1 1

(1) n n¦ m

f

(m  1)...(m  n  1) (m  1) n 1 0

(1) n n ¦ m

(by using the generating function (5.45) for the numbers s (n  1, k ) and changing the index of summation m o m  1 ). Multiplying top and bottom of the terms of this series by (n  1)! m! we continue f

(m  n  1)! n 1 0 ( n  1)! m !( m  1)

(1) n n(n  1)!¦ m

f § n 1 m · 1 (1) n n !¦ ¨ ¸ m ( m  1) n 1 m 0© ¹

which equals the left-hand side. Thus (5.49) is proved.

Special Techniques for Solving Integrals

254

Example 5.4.10 In this example we give our solution to Monthly Problem 11418 (2009, p. 276). The problem is to evaluate the strange integral f

x 2 sech 2 x ³ a  tanh x dx f

J (a)

where a ! 1. The published solution (by Omran Kouba, 2010, p. 652) uses contour integration. We will give a solution without complex integration. The integral is very tricky! Here sech 2 x is the derivative of tanh x and the substitution u a  tanh x is very tempting! However, this substitution leads to nowhere. After playing with J (a ) for some time, the reader may come to a natural decision – express the hyperbolic functions in terms of exponentials, simplify, and see what happens. With some simple algebra we can write J (a ) in the form f

J (a)

4 x 2 e2 x ³ (e2 x  1)(e2 x  (a  1)(a  1)1 ) dx . a  1 f

a 1 ! 0 and rescaling x o x / 2 we come to a more a 1 convenient form

Setting b

f

J (a)

1 x2e x ³ (e x  1)(e x  b) dx . 2(a  1) f

In order to evaluate this integral we define the function F (O )

f

e Ox ³ (e x  1)(e x  b) dx f

for 0  O  2 . It is clear that

J (a)

1 F ''(1) 2(a  1)

Various Techniques

so we proceed to find F ''(1) . The substitution e x F (O ) into the integral F (O )

255

t , x ln t transforms

f

t O 1 ³0 (t  1)(t  b) dx .

Notice that b ! 1 . For the moment we assume that 0  O  1 . Using partial fractions we write f f O 1 · 1 § t O 1 t  dt dt ¸ ¨³ ³ b 1© 0 t 1 t b ¹ 0

F (O )

f f O 1 · 1  b O 1 f t O 1 1 § t O 1 O 1 t dt b dt  ¨ ³0 t  b ¸¹ b  1 ³0 t  1 dt . b  1 © ³0 t  1

The last integral here we evaluate by using Euler’s beta function f

%(u , v)

We set u

t u 1 ³0 (1  t )u v

*(u )*(v) , u, v ! 0 . *(u  v)

O , v 1  O to find F (O )

1  b O 1 1  b O 1 S . *(O )*(1  O ) b 1 b  1 sin(SO )

It is easy to see (using the rule of L’Hospital) that lim F (O ) O o1

ln b b 1

and defining F (1) to be this value we see that F (O ) is analytic in the disc | O  1|  1. Its Taylor series centered at O  1 starts with F (O )

so that

ln b ln 2 b ln b (S 2  ln 2 b) (O  1)  (O  1) 2  ...  b  1 2(b  1) 6(b  1)

Special Techniques for Solving Integrals

256

ln b (S 2  ln 2 b) . 3(b  1)

F ''(1)

Finally,

J (a)

1 1 a 1§ 2 2 a 1· ln b (S 2  ln 2 b) ln ¨ S  ln ¸. 12 12 a  1 © a 1 ¹

Done! Example 5.4.11 Here we will work with one excellent symmetric integral! This is Monthly Problem 12127 (August 2019). Evaluate 2

§ Li (1)  Li ( x) · ³0 ¨© 2 1  x 2 ¸¹ dx 1

J where

f

Li 2 ( x)

xn ¦ 2 n 1 n

is Euler’s dilogarithm ( | x | d 1 ). In the following work we will use the simple fact that d ln(1  x) . Li 2 ( x)  dx x

Integration by parts gives 1

J

³ Li

2

(1)  Li 2 ( x)

0

1

³ Li 0

2

1 dx (1  x) 2

(1)  Li 2 ( x) d 2

2

1 1 x

Various Techniques

Li 2 (1)  Li 2 ( x) 1 x

2 1

1

 2³

Li 2 (1)  Li 2 ( x) ln(1  x) dx 1 x

0

0

257

x

1· § 1 A  2³ ¨  ¸ Li 2 (1)  Li 2 ( x) ln(1  x) dx 1 x x ¹ 0© 1

(where A , the first term, will be evaluated later) 1

A  2 ³ Li 2 (1)  Li 2 ( x) 0

1

2 ³ Li 2 (1)  Li 2 ( x) 0

ln(1  x) dx x

ln(1  x) dx 1 x

1

A  2 ³ Li 2 (1)  Li 2 ( x) d Li 2 (1)  Li 2 ( x) 0

1

 ³ Li 2 (1)  Li 2 ( x) d ln(1  x)

2

0

A  Li 2 (1)  Li 2 ( x)

2 1 0

 Li 2 (1)  Li 2 ( x) ln 2 (1  x)

ln 3 (1  x) dx x 0

1



A  (] (2)) 2  B  6 ] (4) where B is the third term and the value ln 3 (1  x) ³0 x dx 1

1

ln 3 t ³0 1  t dt

6 ] (4)

is well known (see Example 5.4 8 above). Also

1 0

Special Techniques for Solving Integrals

258

Li 2 (1)  Li 2 ( x)

A lim

2

(] (2)) 2 .

 (Li 2 (1)) 2

1 x

x o1

The limit is zero. By the Mean Value Theorem, when x o 1 the function Li 2 (1)  Li 2 ( x) behaves like (1  x)ln(1  x) / x and the limit is the same as

lim(1  x) ln 2 (1  x) 0 x o1

(It is easy to see that lim(t ln m t ) 0 for any m .) For the same reason t o0

Li 2 (1)  Li 2 ( x) ln 2 (1  x) 0 1

B

0.

Finally,

J

S4

6 ] (4)

15

.

Example 5.4.12 Yet another Monthly Problem! Another impossible integral! The Monthly Problem 12184 (127, May 2020) asks for the proof of the strange integral f

³

J

1

ln( x 4  2 x 2  2) x x2  1

dx S ln(2  2) .

Here is the proof. We write x 4  2 x 2  2 ( x 2  1) 2  1 and make the substitution x sec t . Since sec 2 t  1 tan 2 t the integral becomes S /2

J

³

S /2

§ cos 4 t  sin 4 t · ¸ dt cos 4 t ¹

³ ln ¨©

ln(1  tan 4t )dt

0

0

S /2

³ ln(cos

S /2 4

t  sin t )dt  4 4

0

The last integral is known from Section 3.2

³ ln(cos t )dt . 0

Various Techniques S /2

³ ln(cos t )dt



0

S 2

259

ln 2 .

We now use the trigonometric identities cos 4 t sin 4 t

1 (cos 4t  4cos 2t  3) 8 1 (cos 4t  4cos 2t  3) 8

from which 1 (cos 4t  3) 4

cos 4 t  sin 4 t

and therefore, S /2

³ ln(cos

4

t  sin t )dt 4

0

S /2

S /2

0

0

³ ln(cos 4t  3)dt  ³ ln 4 dt

S /2

³ ln(cos 4t  3)dt  S ln 2 . 0

The last integral here is known S /2

³ ln(cos 4t  3)dt 0

S 2

ln(3  2) .

This evaluation comes from entry 2.6.36 (2) in the table of Prudnikov et al. [43] 2S

³ 0

ln(a  b cos x) dx 2S ln

a  a 2  b2 2

(0 d b  a )

where we take a 3 , b 1 , and make the substitution x particular case. Putting all pieces together we find

4t to get our

Special Techniques for Solving Integrals

260

J

S 2

ln(6  4 2) S ln 6  4 2 . 64 2

Simple algebra shows that and the proof is finished.

2  2 (just square both sides)

Problem for the reader: Prove the useful integral 2S

³

ln(a  b cos x) dx 2S ln

0

a  a 2  b2 2

(0 d b  a )

(using the method of Chapter 2 will be helpful). The trigonometric identities used above are very easy to prove. They both come from the double-angle formulas cos 2 t

1 (1  cos 2t ) 2

sin 2 t

1 (1  cos 2t ) 2

after squaring both sides. Example 5.4.13 In this example we will entertain the reader by proving the integral f

cos O x ³0 x 4  1 dx

S



2 2

e

O 2

O O · §  sin ¨ cos ¸, O t 0 . 2 2¹ ©

First some remarks. For b ! 0 by simple rescaling x o x / b we can write this in the form f

cos O x ³0 x 4  b4 dx

S 2b

3



2

e

Ob 2

which is entry 3.727(1) in [25]. With O

Ob Ob · §  sin ¨ cos ¸ 2 2¹ © 0 we have

Various Techniques f

³x

4

0

261

S

1 dx  b4

2b3 2

.

Differentiation with respect to O gives also entry 3.727(4) in [25] f

x sin O x ³0 x 4  b4 dx

S 2b



Ob 2

e 2

sin

Ob 2

while integration gives entry 3.734(1) f

sin O x ³0 x( x 4  b4 ) dx

S §

¨1  e 2b 4 ©



Ob 2

cos

Ob · . ¸ 2¹

Now we start working on the initial integral. Well, our integral is a tough nut to crack! Such integrals are usually solved by contour integration and the residue theorem. We will solve the integral by using very simple facts about complex numbers. We start with the decomposition

1 x 1 4

1§ 1 1 ·  2 ¸ ¨ 2 2i © x  i x  i ¹

and we also use some help from our old friend f

cos O x dx 2  a2

³x 0

S 2a

e O a .

This integral was evaluated in the book twice – in Chapter 2, Example 2.3.2, and also in Chapter 4, Section 4.3. Here a ! 0 . First we replace a by a to write f

cos O x dx 2 a 0

³x

S 2 a

e O

a

.

Now this equation can be extended by analytical continuation to the entire complex plane without the closed ray (f,0] . In particular, we can take a i

e

i

S 2

with

Special Techniques for Solving Integrals

262

i

e

i

S 4

S

cos

 i sin

4

S 4

1 i 1 , 2 i

1 i . 2

This way f

cos O x ³0 x 2  i dx

S



2 2

O 2

e

S (1  i ) 2 2

e

O 2

O O · §  i sin ¨ cos ¸ 2 2¹ ©

ª§ O O · § O O ·º  sin  sin «¨ cos ¸  i ¨ cos ¸» . 2 2¹ © 2 2 ¹¼ ¬©

i e

Also, taking now a



i

S

i

2

e

i

with S

1 i , 2

4

1 i

1 i 2

we compute f

cos O x ³0 x 2  i dx

S 2 2



e

O 2

S (1  i ) 2 2



e

O 2

O O · §  i sin ¨ cos ¸ 2 2¹ ©

ª§ O O · § O O ·º  sin  sin «¨ cos ¸  i ¨ cos ¸» . 2 2¹ © 2 2 ¹¼ ¬©

Then f

cos O x ³0 x 4  1 dx

S 2 2

f f 1 § cos O x cos O x · dx  ³ 2 dx ¸ ¨³ 2 2i © 0 x  i x i ¹ 0



e

O 2

O O · §  sin ¨ cos ¸. 2 2¹ ©

Done! Problem for the reader: Prove entry 3.734(1) in [25]

Various Techniques

S §

f

sin O x ³0 x( x 4  b4 ) dx

¨1  e 2b 4 ©



263 Ob 2

cos

Ob · . ¸ 2¹

Example 5.4.14 We will use again the integral f

cos O x dx 2  a2

³x 0

S 2a

e O a

(O t 0, a ! 0)

(Example 2.3.2) in order to prove the very unusual one f

sin(2n  1) x 1 dx x2  a2 sin x 0

³

S §1

¨ e a©2

 ( n 1) a

sinh na · ¸. sinh a ¹

Here n t 1 is an integer and a ! 0 . The Dirichlet kernel sin(2n  1) x / sin x is a bounded and continuous function on [0, f) with period S and the integral is absolutely convergent. To evaluate the integral we use the well-known representation n sin(2n  1) x 1  2¦ cos (2kx) . sin x k 1

Thus we have f

sin(2n  1) x 1 dx 2 sin x x  a2 0

³

f

³x 0

2

n 1 ­ ½ 1  2¦ cos(2kx) ¾ dx 2 ® a ¯ k 1 ¿

n ­f ° cos(2kx) ½° dx ¾  2¦ ® ³ 2 2 2a °0 x  a k 1¯ ¿°

S

S 2a



S a

e 2 a

1  e 2 na 1  e 2 a

S 2a



S

n

e 2 k a ¦ a k 1

S § 1 1  e 2 na · a ¨© 2



¸ e2a  1 ¹

Special Techniques for Solving Integrals

264

S §1

¨  a©2

e  na (e na  e  na · ¸ e a (e a  e  a ) ¹

S §1

¨ e a©2

 ( n 1) a

sinh(na ) · ¸ sinh a ¹

as needed. When n is not an integer, one needs to consider principal value integrals (see, for instance, the paper of the author “The integral formula of Poisson with principal value integrals…” at https://arxiv.org/abs/1503.01175v1). Easy problem for the reader. Show that S /2

³ 0

S

sin(2n  1) x dx sin x

2

.

Three more problems, more challenging this time. Prove that S /2

³ 0

S /2

³ 0

S /2

³ 0

cos(2n  1) x dx cos x n

sin(2nx) dx sin x

sin(2nx) dx cos x

(1) n

(1) k 1 1 2k  1

2¦ k

n

S 2

(n t 1)

(1) k (n t 1) . 1 2k  1

2(1) n ¦ k

5.5 Catalan’s Constant Catalan’s constant f

G

(1) n 2 0 (2n  1)

¦ n

already appeared in previous chapters. In this section we will present some important integrals evaluated in terms of this constant. The most straightforward example is

Various Techniques

265

1

arctan x dx G . x 0

³

(5.50)

For the proof we expand the arctangent in Maclaurin series f

(1) n x 2 n 1 2n  1 0

¦

arctan x

n

and integrating the expansion f

(1) n x 2 n 0 2n  1

¦

arctan x x

n

between 0 and 1 we come to (5.50). This is the most popular integral representation of G. Another popular representation is the integral 1

(5.51)

G

ln x dx 1  x2 0



which is obtained from (5.50) using integration by parts. If we make the t substitution x tan in (5.50) we get also 2

G

1 4

S /2

³ 0

t t t tan cos 2 2 2

dt

1 4

S /2

³ 0

t t t sin cos 2 2

dt

with the help from the double-angle formula sin 2T we have the very interesting evaluation S /2

t

³ sin t dt 0

(entry 2.5.4 (5) in [43]). Another amazing similar evaluation is

2G

1 2

S /2

t

³ sin t dt 0

2sin T cos T . Thus

Special Techniques for Solving Integrals

266

f

t

³ cosh t dt

2G .

0

The proof now is very different. We write 2cosh t using geometric series we have f

t dt 2cosh t 0

³

f

f

³

f ­ ½ t ®e t (e 2t ) n ¾ dt n 0 ¿ 0 ¯

¦

³

­° f ½° (1) n ® te  (2 n 1)t dt ¾ 0 °¯ 0 °¿

f

¦ n

f

t dt t t  e e 0

³

³

t

0

e t  e t and then

et dt 1  e 2t

f

­f ½ t ® (1) n e  (2 n 1)t ) ¾ dt ¿ 0 ¯n 0

³ ¦ f

¦ (1)

n

n 0

1 (2n  1) 2

G.

Next we prove the integral 1

ln(1  x 2 ) dx 1  x2 0

³

(5.52)

S 2

ln 2  G

which will be used later in Example 5.6.4. With the substitution x we have 1

ln(1  x 2 ) dx 2 1 x  0

³

S /4

³

tan t

S /4

ln sec 2tdt

0

2

³ ln cos tdt 0

1 · S § S 2 ¨  ln 2  G ¸ ln 2  G 2 ¹ 2 © 4 by using the results in Example 3.2.1 from Chapter 3. In a similar way 1

(5.53)

ln(1  x 2 ) dx 1  x2 0

³

S 4

ln 2  G .

Various Techniques

We use again the substitution x cos 2 t  sin 2 t cos 2t

tan t and also the trigonometric identity

S /4

1

ln(1  x 2 ) dx 1  x2 0

³ ln(cos

³

2

t  sin 2 t )  ln cos 2 t dt

0

S /4

³

S /4

ln cos 2t dt  2

0

1 2

267

³ ln cos t dt 0

S /2

§ S



³ ln cos t dt  2 ¨©  4 ln 2  2 ¸¹ 0

1§ S · S ¨  ln 2 ¸  ln 2  G 2© 2 ¹ 2

S 4

ln 2  G .

Next we present one really nice companion to (5.50) 2

1

(5.54)

S

§ arctan x · ¨ ¸ dx x ¹ © 0

³

4

ln 2 

S2 16

G.

We work this way: first we integrate by parts 1

1

(arctan x) 2 dx x2 0

³

(arctan x) 2 x 

S2

³

 (arctan x) 2 d 0

1

1

2 0

arctan x

³ x(1  x ) dx 2

0

1

x §1 2 ¨  16 © x 1  x2 0 

S2 16

³

1

 2G  2

1 x

³ 0

· ¸ arctan xdx ¹

x arctan x dx . 1  x2

Special Techniques for Solving Integrals

268

Then we evaluate the last integral 1

1

x arctan x 2 dx 1  x2 0

³

³

 (arctan x) d ln(1  x 2 ) 0

1

1

 ln(1  x 2 ) arctan x 0 



S 4

ln 2 

S 2

ln 2  G

ln(1  x 2 ) dx 1  x2 0

³

S 4

ln 2  G .

Putting the pieces together we come to (5.54). Done! Making the substitution x evaluation S /4

(5.55)

³ 0

tan t in (5.54) we come to another remarkable 2

§ t · ¨ ¸ dx © sin t ¹

S 4

ln 2 

S2 16

G

(entry 2.5.4 (2) in [43]). And now we present a real jewel, an integral whose value is a combination of three important constants, Catalan’s constant G, Apéry’s constant ] (3) , and the Archimedes constant S . 1

(arctan t ) 2 dt t 0

³

S 2

7 G  ] (3) . 8

For the proof we use equation (2.46) from Chapter 2

] (3)

1

8 arctan t 1 arctan dt t t 7 ³0

together with the identity arctan

1 S  arctan t . t 2

Various Techniques

269

This way 7 ] (3) 8

1

³ 0

1

arctan t 1 arctan dt t t

S

1

2 ³0

³ 0

arctan t § S · ¨  arctan t ¸ dt t ©2 ¹

1

arctan t (arctan t ) 2 dt  ³ dt t t 0

S 2

1

G³ 0

(arctan t ) 2 dt t

and the desired equation follows. Problems for the reader: Show that S /4

³ 0

2

§ t · ¨ ¸ dx © cos t ¹ S /4

S 4

ln 2 

S2 16

G

x dx tan x

G S  ln 2 2 8

³ x tan xdx

G S  ln 2 2 8

³ 0

S /4

0

S

³ x tan xdx

S ln 2 .

0

The last one is a principal value integral

§ S2  H · S ¨ ¸ x tan xdx  ³ x tan xdx ¸ . ³0 x tan xdx Hlim o0 ¨ ³ S ¨ 0 ¸ H 2 © ¹

S

Enjoy!

Special Techniques for Solving Integrals

270

Example 5.5.1 With some help from the above results we prove two interesting integrals § 1  x2 · d x ln ³0 ¨© x ¸¹ 1  x 2

S

§ 1  x2 · d x ln ³0 ¨© x ¸¹ 1  x 2

S

1

2

1

4

ln 2

ln 2

which are entries 4.2.98(8) and 4.298(11) in [25] correspondingly. Although not present in them, Catalan’s constant plays a big role in their evaluation § 1  x2 · d x ln ¨ ³0 © x ¸¹ 1  x 2 1

ln(1  x 2 )  ln x ³0 1  x 2 dx 1

ln(1  x 2 ) ln x ³0 1  x 2 dx  ³0 1  x 2 dx 1

1

S 2

ln 2  G  G

Likewise § 1  x2 · d x ln ³0 ¨© x ¸¹ 1  x 2 1

S 4

ln(1  x 2 )  ln x ³0 1  x 2 dx 1

ln 2  G  G

S 4

ln 2 .

Example 5.5.2 The interesting and challenging integral 1

1 2 ³0 x 2 ln(1  x ) arccos x dx

S2 4

 4G

S 2

ln 2 .

Various Techniques

271

appears as entry 4.1.6(77) in Brychkov’s handbook [20]. We will prove it now. Starting with the substitution x cos t 1

1 2 ³0 x 2 ln(1  x ) arccos x dx S /2

2 ³ 0

t ln(sin t ) d cos t cos 2 t S

t ln(sin t ) 2 cos t

2 0

S /2

2 ³ 0

S /2

2 ³ 0

S /2

2³ 0

t sin t ln(sin t ) dt cos 2 t

S /2

2 ³ t ln(sin t ) d 0

1 cos t

1 § t cos t · ¨ ln(sin t )  ¸ dt cos t © sin t ¹ S /2

ln(sin t ) t dt  2 ³ dt cos t sin t 0

S2  4G 4 by using a result from Example 3.2.19. We leave it to the reader to verify the limits t ln(sin t ) t oS / 2 cos t lim

t ln(sin t ) t o0 cos t

lim

0.

Next to this integral in [20] we see a very similar one, entry 4.1.6(76) whose value does not include Catalan’s constant, but includes S 3 . 1

1 2 ³0 x ln(1  x ) arccos x dx

S 2

ln 2 2 

S3 24

Possibly the reader is curious how such a small change in the integrand brings to a marked change in the value of the integral. In the next example we will solve a more general integral depending on a parameter D where the above integral corresponds to D 1 .

Special Techniques for Solving Integrals

272

Example 5.5.3 Here comes entry 4.1.6(75) from Brychkov’s table [20] 1

1

³ x ln(1  D x

2

) arccos x dx

0



ln 4 ¨©

2

1 1D 1 1D ·  2 Li 2 ¸ 2 2 ¹

( | D | d 1 ). We call this integral J (D ) and apply the method from Chapter 2. For technical convenience during the work we assume that 0  D  1 . Differentiating and integrating by parts we have J '(D )

1

x arccos x ³0 1  D x 2 dx

1

1

1 arccos x d (1  D x 2 ) 2D ³0 1  D x 2

1 arccos x d ln(1  D x 2 ) 2D ³0

1

1 arccos x ln(1  D x 2 ) 2D 0

1 ln(1  D x 2 ) dx . 2D ³0 1  x2 1



The term with the limits is zero and in the last integral we make the substitution x sin t to get J '(D )

1 2D

S /2

³ ln(1  D sin

2

t ) dt .

0

This integral was evaluated in Chapter 2, Example 2.2.15, equation (2.18).

J '(D )

S 1 1D ln . 2D 2

Now we have to integrate this logarithm

Various Techniques

S 1 1 1D dD . ln 2 ³D 2

J (D )

Proceeding with the substitution 1  D

2

S

273

³E

J (D )

E 2, D

E 2  1 we write

2E 1 E ln dE 2 1 2 1 · 1 E dE 2

§ 1

³ ¨© 1  E  E  1 ¸¹ ln 1

1 E 1 E 1 1 E §1 E · ³ ¨© 2 ¸¹ ln 2 d 2  ³ E  1 ln 2 d E

³ ln

1 E 1 E d ln A 2 2

(calling the second integral A ) 1 2 1 E ln  A. 2 2

For the evaluation of A we notice that

1 E d Li 2 2 dE 

1 1 E

d dE

(1  E ) n n 2 1 2 n

f

¦ n

1 §1 E · ¨ ¸ ¦ 2 ¹ n 1 n© f

n

(1  E ) n 1 2n n 1

f

¦ n

1 1 E ln 1 E 2

and therefore,

A This gives

1

³ E  1 ln

1 E dE 2

 Li 2

1 E 2

274

Special Techniques for Solving Integrals

2

S

1 2 1 E 1 E ln  Li 2 2 2 2

J (D )

and returning to the variable D we finish the proof. The constant of integration is zero. We can extend the result to the disk | D | d 1 by analytic continuation. Example 5.5.4 We want to pay attention to the integral f

ln(1  x) dx 1  x2 0

³

S 4

ln 2  G

(entry 4.291(9) in [25]) where the integrand is the same as in Example 2.1.2, but the limits are different and the Catalan constant appears. To evaluate this integral we follow the same method as in Example 2.1.2. Set f

ln(1  O x) dx 1  x2 0

³

F (O )

for O ! 0 . Then f

x

³ (1  O x)(1  x

F '(O )

2

0

f

^

)

dx

`

1 xO O dx  2 O  1 ³0 1  x 2 1  O x f

1 § x2  1 · O  arctan x ln ¨ ¸ O2 1© 1 Ox ¹ 0

^

`

1 SO  ln O . O 1 2 2

Therefore,

Various Techniques

S

F (O )

4

275

O

ln t dt . 1 t2 0

ln(1  O )  ³ 2

Integrating by parts we come to the representation F (O )

S 4

O

arctan t dt t 0

ln(1  O 2 )  ln O arctan O  ³

and from here f

F (1)

ln(1  x) ³0 1  x 2 dx

S 4

1

arctan t dt t 0

ln 2  ³

S 4

ln 2  G .

The function O

(1) n O 2 n 1 ¦ 2 n 0 (2n  1) f

arctan t ³0 t dt

Ti 2 (O )

is known as the inverse tangent integral. It was studied by Ramanujan and Levin [33]. In terms of the dilogarithm we have Ti 2 (O )

1 > Li 2 (iO )  Li 2 (iO )@ . 2i

Example 5.5.5 We again recall the integrals S /2

³ ln cos t dt



0

S /4

³ ln cos t dt 0



S 2

ln 2

S

1 ln 2  G 4 2

from Example 3.2.1. With the help of these two integrals we will prove the interesting entry 4.227(10) in [25]

Special Techniques for Solving Integrals

276

S /2

S

³ ln(1  tan x) dx

ln 2  G .

4

0

Indeed, we have S /2

S /2

0

0

§ cos x  sin x · ¸ dx cos x ¹

³ ln(1  tan x) dx ³ ln ¨© S /2

³

S /2

³ ln(cos x) dx

ln(cos x  sin x) dx 

0

S /2

0

S · S S 2 §¨ cos cos x  sin sin x ·¸ ¸ dx  ln 2 2 4 4 © ¹¹

§

³ ln ¨© 0

S 2

S /2

ln 2 

0

S /4

³ S

S



§

³ ln cos ¨© x  4 ¸¹ dx  2 ln 2

ln cos tdt 

 /4

3S ln 2 4

S /4

2 ³ ln cos tdt  0

3S ln 2 4

3S S 1 S 2 §¨  ln 2  G ·¸  ln 2 ln 2  G . 4 2 ¹ 4 © 4 A problem for the reader: Use the same technique to show that S /4

S

³ ln(1  tan x) dx

8

0

ln 2 .

This is entry 4.227(9) in [25]. During the computation Catalan’s constant appears twice and cancels out. Further problems for the reader: Prove entries 4.227(11), 4227(12), and 4.227(13) from [25]. Namely, in this order, S /4

³ ln(1  tan x) dx 0

S 8

ln 2  G

.

Various Techniques S /2

S

³ ln((1  tan x) ) dx 2

2

0

S /4

³ ln(1  cot x) dx 0

S 8

277

ln 2  2G

ln 2  G .

Example 5.5.6 In this last example for the section we present one curious integral also related to Catalan’s constant S /2

³ arcsinh(cos x)dx

J

G.

0

S

 t shows that cos x here can be replaced by sin x . 2 According to equation (1.21) we can write

The substitution x

S /2

³ ln(cos x 

J

1  cos 2 x ) dx .

0

Integrating by parts gives S /2

J

x sin x

³

1  cos 2 x

0

dx

(the intermediate term is zero). To evaluate this integral we will use the binomial series § 1 / 2 · 2n ¸ cos x . n 0© ¹

f

¦¨

(1  cos 2 x) 1/ 2

n

Putting this series in the integral and switching the order of summation and integration we compute S /2

J

­°

§ 1 / 2 · 2 n ½° ¸ cos x ¾ dx n ¹ 0 ¿°

f

³ x sin x ®¯°¦ ¨© 0

n

Special Techniques for Solving Integrals

278

§ 1 / 2 · °­S / 2 °½ 2n ¦ ¨ ¸ ® ³ x(cos x)sin x dx ¾ n ¹ ¯° 0 n 0© ¿° f

S /2 ½° § 1 / 2 · ­° 1 x d (cos x) 2 n 1 ¾ .  ¦ ¨ ¸® ³ n ¹ ¯° 2n  1 0 n 0© ¿° f

After integration by parts where the intermediate term is zero S /2 ½° 1 § 1 / 2 · °­ 2 n 1 ® ¦ ¨ ¸ ³ (cos x) dx ¾ . n ¹ ¯° 0 n 0 2n  1 © ¿° f

J

Easy computation shows that § 1 / 2 · ¨ ¸ © n ¹

(1) n § 2n · ¨ ¸ 4n © n ¹

and the value of the Wallis integral in the braces is well-known 1

S /2

³ (cos x)

2 n 1

0

dx

4 n § 2n · ¨ ¸ . (2n  1) © n ¹

The result is (1) n ¦ 2 n 0 (2n  1) f

J

G!

5.6 Summation of Series by Using Integrals In the previous sections we saw some examples of evaluating integrals by reducing them to series. Here we evaluate some challenging series by reducing them to integrals and then solving these integrals.

Example 5.6.1 Our first example is Problem 2063 from the Mathematics Magazine (March, 2019). Evaluate the series

Various Techniques

(1) n  k 1 . ¦¦ 2 n 0 k 1 (n  k ) f

S

The answer is S

279

f

ln 2 . Here is the proof.

Separating the sum with n 0 and n t 1 we write (1) k 1 f f (1) n  k 1  ¦¦ ¦ 2 k2 k 0 n 1 k 1 (n  k ) f

S

S1  S2

where S1 is the first sum and S 2 is the double sum. We have 1 (n  k )2

f

f

0

0

 ( n k )t ³ te dt

³ te

 nt  k t

e

dt

and therefore, f

S2

f

­f f ½  ³ t ®¦¦ e  nt e  kt ¾ dt ¿ 0 ¯n 1 k 1 2

f ­ e  t ½ ³ t ® ¾ dt 1  et ¿ 0 ¯

2

­f ½  ³ t ®¦ e  kt ¾ dt ¿ 0 ¯n 1 f

te 2t dt (1  e  t ) 2 0



f

f

te  t t ³0 (1  et )2 d (1  e )

 ³ te  t d 0

1 . 1  et

(Changing the order of summation and integration is easily justified.) Next we integrate by parts S2

te  t  1  et f

f

f

e  t  te  t dt 1  et 0

³ 0

f

et te  t dt  ³0 1  et ³0 1  et dt .

Here

Special Techniques for Solving Integrals

280 f

te  t dt 1  et 0



f

­f ½ (e  t ) n ¾ dt ³0 t ®¯¦ n 1 ¿

(1) n ¦ 2 n 1 n f

f

f

n 1

0

¦ (1)n ³ te nt dt

 S1

and also f

et ³0 1  et dt

 ln(1  e  t )

ln 2  S1 and S

This way S 2

S1  S2

f 0

ln 2 .

ln 2 . Done!

Example 5.6.2 We present our solution to Problem 997 from the College Mathematics Journal (May 2013, p. 142). Evaluate the series

V We show that V

2

§ n (1) k 1 · ¦ ¨¦ ¸ . n 0© k 1 n  k ¹ f

ln 2 . A nice companion to the previous example!

For the solution we use the representation 1 nk

1

³x

n  k 1

dx

0

and we write (1) k 1 ¦ k 1 nk f

V

f ½ n ­ x (1) k 1 x k 1 ¾ dx ³0 ®¯¦ k 1 ¿ 1

§ 1 x n dx · ¨³ ¸ ¦ n 0 © 0 1 x ¹ f

2

1

xn ³0 1  x dx

§ 1 x n d x ·§ 1 y n d y · ¨³ ¸¨ ³ ¸ ¦ n 0 © 0 1  x ¹© 0 1  y ¹ f

Various Techniques

281

dx dy ­f ½ ( xy ) n ¾ ³0 ³0 ®¯¦ n 0 ¿ (1  x)(1  y )

f 1 1

1 1

x n y n d xd y ¦ ³³ n 0 0 0 (1  x )(1  y ) 1 1

dx dy

³ ³ (1  xy)(1  x)(1  y) . 0 0

The integral is convergent, as will be seen in the process of computation. u to get We set y x

V

§x · dx du ³0 ¨© ³0 (1  u )(u  x) ¸¹ (1  x) . 1

Using partial fractions we can evaluate the inside integral. The result is § 2 ·

1

dx

³ ln ¨© 1  x ¸¹ (1  x)

V

2

.

0

Next, the substitution

2 t 1 , brings this to the integral 1  t , or x 1 x 1 t

V

f

1 ln (1  t ) dt 2 ³1 t 2

which is obviously convergent. It can be evaluated easily by parts, f

ln (1  t ) ³1 t 2 d t ln 2  ln

Thus V

ln 2. Done!

t 1 t

ln (1  t )  t

f

1

f

dt t (1  t ) 1



f

ln 2  ln 2 2ln 2 . 1

Special Techniques for Solving Integrals

282

Example 5.6.3 Monthly Problem 11682 (December 2012, p. 881). This is an alternating version of the previous series by the same author (Ovidiu Furdui). Evaluate

V S2

This time V

24

2

§ n (1) k 1 ·  ( 1) ¦ ¨¦ ¸ . n 0 ©k 1 nk ¹ f

n

.

Solution: Starting again from the representations 1 nk

(1) k 1 ¦ k 1 nk f

1

³x

n  k 1

dx

0

f ½ n ­ x (1) k 1 x k 1 ¾ dx ® ³0 ¯¦ k 1 ¿ 1

1

xn ³0 1  x dx

we continue this way

V

§ 1 x n dx ·  ( 1) ¨³ ¸ ¦ n 0 © 0 1 x ¹ f

n

f

2

§ 1 x n dx ·§ 1 y n dy · n  ( 1) ¨³ ¸¨ ³ ¸ ¦ n 0 © 0 1  x ¹© 0 1  y ¹ f

1 1

x n y n dxdy (1  x)(1  y ) 0 0

¦ (1)n ³ ³ n 0

dx dy ­f ½ ( xy ) n ¾ ³0 ³0 ®¯¦ n 0 ¿ (1  x)(1  y ) 1 1

Here we set y

1 1

dx dy

³ ³ (1  xy)(1  x)(1  y) . 0 0

u to get x

V

§x · dx du ¨ ³0 © ³0 (1  u )(u  x) ¸¹ (1  x) . 1

Various Techniques

283

Using partial fractions we can evaluate the inside integral. The result is § 2 · dx

1

³ ln ¨© 1  x ¸¹ 1  x

V

2

.

0

2 1  t or x 1 x more transparent one

The substitution

1 t transforms this integral into a 1 t

1 ln (1  t ) dt 2 ³0 t 1

V which is evaluated this way ln (1  t ) ³0 t d t 1

Hence V

S2

­ f (1) k 1 t k ½ d t ¾ ³0 ®¯¦ k k 1 ¿ t 1

S2

(1) k 1 k2 1

f

¦ k

12

.

. The evaluation of the last series above is left to the reader.

24

Example 5.6.4 Ovidiu Furdui and Huizeng Qin proposed the following most interesting problem (Problem H-691, Fibonacci Quarterly, 47 (33), 2009/2010). Evaluate the series

V

2

f

1 1 1 · §   ...  ¸ . (1) n ¨ ln 2  ¦ n n n¹   1 2 2 © n 1

We will evaluate this series and show that (5.56)

V

S2 48



S

7 G ln 2  (ln 2) 2  8 8 2

Special Techniques for Solving Integrals

284

where G is Catalan’s constant (see Section 5.5). We start the solution by noticing that

(1) k 1 k 1

2n

1 1 1   ...  n 1 n  2 2n

¦ k

(an interesting known identity). At the same time

(1) k 1 k 1

f

ln 2

¦ k

so that ln 2 

1 1 1   ...  n 1 n  2 2n

(1) k 1 ¦ k k 2 n 1 f

1

x2n ³0 1  x dx

(the last equality is proved by expanding (1  x) 1 in power series and then integrating term by term). Next we have

V

§ 1 x2n · dx ¸ (1) ¨ ³ ¦ n 1 © 0 1 x ¹ f

2

n

f

f

§ 1 x2n

·§ 1 y 2 n

n

n 1

1 1

0

x2n y 2n

¦ (1) ³ ³ (1  x)(1  y) dxdy n

n 1

1 1

0 0

­

f

³ ³ ®¯¦ ( x n 1

0 0

2

dx dy ½ y2 ¾  (1 x)(1  y ) ¿

1 1

x2 y 2 dx dy . (1  x 2 y 2 ) (1  x) (1  y ) 0 0

³ ³

Here we set y u / x to get

V

x u 2 du °­ °½ dx ® ³0 ¯°³0 (1  u 2 )(u  x) ¾¿° 1  x 1

·

¦ (1) ¨ ³ 1  x dx ¸¨ ³ 1  y dy ¸ © ¹© ¹ 0

Various Techniques

285

x 2 1 1 u x 1 ½ °½ dx °­ ­ x ® ® ³0 °¯³0 ¯1  x 2 u  x  1  x 2 1  u 2  1  x 2 1  u 2 ¾¿ du ¾°¿ 1  x 1

­ x2 ln(1  x 2 ) x arctan x ½ dx ln 2   ® ¾ ³0 ¯1  x 2 2(1  x) 1  x2 ¿ 1  x 1

x2  x arctan x 1 ln(1  x 2 ) dx  dx  ³ dx . 2 2 ³ (1  x )(1  x) 2 0 (1  x )(1  x) (1  x 2 )(1  x) 0 0

1

1

ln 2 ³

1

Let us call these thee integrals A, B and C so that V

(5.57)

A ln 2 

1 BC 2

and now we will evaluate these integrals one by one. The first one is easy 1

A

­

x

1

³ ®¯ 2(1  x)  2(1  x

2

0

1 1 S ln 2  ln 2  2 4 8

)



½ 1 dx 2 ¾ 2(1  x ) ¿

3 S ln 2  . 4 8

Next

B

1 1 1 1 ­° ln(1  x 2 ) ln(1  x 2 ) x ln(1  x 2 ) ½° dx dx   ® ³0 1  x 2 ³0 1  x 2 dx ¿°¾ . 2 ¯° ³0 1  x

We have x ln(1  x 2 ) ³0 1  x 2 dx 1

1

1 ln(1  x 2 ) d ln(1  x 2 ) 2 ³0

1 (ln(1  x 2 )) 2 4

and from (5.44)

1 0

(ln 2) 2 4

Special Techniques for Solving Integrals

286

S2 3 . (ln 2) 2  4 48

ln(1  x 2 ) ³0 1  x dx 1

Now the integral in the middle needs attention. We know from Section 5.5 that ln(1  x 2 ) ³0 1  x 2 dx 1

(5.58)

S 2

ln 2  G .

Now we can write B

· 1 § (ln 2) 2 S ln 2 S 2   G¸. ¨ 2© 2 2 48 ¹

It remains to compute C. 1

C

 x arctan x dx 2 )(1  x)

³ (1  x 0

1 ­ 1 x 1 ½   ® ¾ arctan x dx 2 ³ 2 0 ¯1  x 1  x 1  x 2 ¿ 1

1 1 1 1 ­° arctan x x arctan x arctan x ½° dx  dx  dx ¾ . ®³ 2 ³ ³ 2 ¯° 0 1  x 1 x 1  x2 0 0 ¿°

Here 1

arctan x dx 1 x 0

³

S 8

ln 2

(evaluated in Chapter 2, see equation (2.3)). Integrating by parts and using equation (5.58) we write 1

x arctan x ³0 1  x 2 dx

S 8

1 ln(1  x 2 ) dx 2 ³0 1  x 2 1

ln 2 

Various Techniques

S

1§S · ln 2  ¨ ln 2  G ¸ 8 2© 2 ¹

1

1

arctan x ³0 1  x 2 dx

³ arctan x d arctan x 0

287

G S  ln 2 . 2 8 1 (arctan x) 2 2

1

S2

0

32

.

Collecting these numbers we find 1§S S2 G·   ¸. ln 2 ¨ 2© 4 32 2 ¹

C

Now we put these numbers in equation (5.57) and simple algebra brings to the desired evaluation (5.56). Another challenging series similar to (5.56) is

(1) n 1 § f (1) k 1 · ¨¦ ¸ ¦ n ©k 1 nk ¹ n 1 f

2

n (1) n 1 § (1) k 1 · ln 2  ¨ ¸ ¦ ¦ n © k ¹ n 1 k 1 f

2

S2

1 1 ln 2  (ln 2)3  ] (3) . 12 3 2

It has been evaluated in [12] by the same method - reducing the series to integrals.

Example 5.6.5 In line with the previous examples in this section we evaluate the series

V

f

§§ 1

¦ ¨ ¨© n n 1

©

2



1 1 · 1 ·   ... ¸  ¸ 2 2 (n  4) (n  2) ¹ 2n ¹

by using integrals. This is Monthly Problem 12250 (The American Mathematical Monthly, November 2020, p. 853). Using the representation

Special Techniques for Solving Integrals

288

1 ( n  2k ) 2

f

³ te

 ( n  2 k )t

dt

0

we have

1 1 1    ... 2 2 n (n  2) (n  4) 2 f f

¦ ³ te( n 2k )t dt k 0 0

f

f

1

¦ ( n  2k )

2

k 0

f ½  nt ­ e 2 kt ¾ dt ³0 te ®¯¦ k 0 ¿

f

te  nt ³0 1  e2t dt

by changing the order of summation and integration (this is easy to justify and is left to the reader). Also 1 2n

f

1  nt e dt . 2 ³0

This way we can write

V

f f  nt 1  nt ½° °­ te  dt e dt ¾ dt ®³ ¦ 2 t 2 ³0 °0 1 e n 1¯ ¿°

­° f  nt § t 1 · ½°  ¸ dt ¾ ®³ e ¨ ¦ 2 t 2 ¹ °¿ ©1 e °0 n 1¯

f

f

and again by exchanging integration and summation

V

f f

³ ¦e

 nt

0 n 1

1· § t  ¸ dt ¨ 2 t 2¹ ©1 e

f

et § t 1· ³0 1  et ¨© 1  e2t  2 ¸¹ dt

f

§ · te  t et  ¨   t 2 t ³0 © (1  e )(1  e ) 2(1  et ) ¸¹ dt f

§

³ ¨© (e 0

2t

· te 2t 1  ¸ dt . t t  1)(e  1) 2(e  1) ¹

From here we use the technique of partial fractions to decompose the integrand

Various Techniques f

§1

³ ©¨ 4 e

V

0

t

289

t 3 t 1 t 1 1 ·    t dt 2 t t  1 4 e  1 2 (e  1) 2 e  1 ¹¸

f f f t 1 · t 3 t 1 § 1  t   dt dt dt . t 2 ¨ t t ³ ³ ³ e  1 ¸¹ 4 0 e 1 4 0 e 1 2 0 © (e  1)

The first two integrals are easy to evaluate. Using the well-known representations of Riemann’s zeta function for Re s ! 1 f

f

t s 1 ³0 et  1 dt ] (s)*(s);

t s 1 ³0 et  1 dt

(1  21 s )] ( s )*( s )

(see (4.35) and (4.36)) we have f

1 t 1 ] (2) dt t ³ 4 0 e 1 8

S2 48

f

;

3 t dt t ³ 4 0 e 1

3 ] (2) 4

S2 8

.

We are left now with the integral J

The substitution u

f t 1 · 1 §  t dt . t 2 ¨ ³ e  1 ¸¹ 2 0 © (e  1)

e t  1 brings it to the form

f

1 § ln(1  u ) 1 · du  ¸ ¨ 2 ³0 © u 2 u ¹ u 1

J

f

1 ln(1  u )  u du . 2 ³0 u 2 (1  u )

Here we integrate by parts f

2J

ln(1  u )  u 1 d 1 u u 0



 f

ln(1  u )  u (1  u )u

ln(1  u ) du u (1  u ) 2 0



using the fact that

f

0

f

ln(1  u ) du u (1  u ) 2 0



Special Techniques for Solving Integrals

290

§ ln(1  u )  u ·c ¨ ¸ 1 u © ¹



ln(1  u ) . (1  u ) 2

Next we make the substitution x ln(1  u ) to write f

2J

ln(1  u ) du u (1  u ) 2 0



f

x dx x ( e  1)e x 0



f

f

³ 0

x(1  e x  e x ) dx (e x  1)e x

f

x S2 1  dx 6 ex  1 0

x ³ xe dx  ³ 0

(the first integral in the last line is *(2) 1 and the second was evaluated above). We found that J

1 S2  2 12

and putting the pieces together we finally get

V

S2 16



1 . 2

5.7 Generating Functions for Harmonic and Skew-Harmonic Numbers In this section we present several power series where the coefficients include harmonic or skew harmonic numbers. The creation of these series is based on the evaluation of some interesting and challenging integrals involving the logarithmic and polylogarithmic functions. The first subsection here is dedicated to harmonic numbers and the second subsection – to skew harmonic numbers. 5.7.1 Harmonic numbers The harmonic numbers

Various Techniques

1

Hn

291

1 1  ...  , H 0 2 n

0

already appeared in this book. Here we will use also the generalized harmonic numbers

H n( p ) 1 

1 1  ...  p , H 0( p ) p n 2

0, p t 1

and the polylogarithm [33] f

tn

¦n

Li p (t )

p

.

n 1

In this section we produce various generating functions for these numbers by repeated integration. In the process we will encounter some challenging integrals. First a simple lemma.

Lemma 5.2. Let f (t ) a0  a1t  a2t 2  ... be a power series. Then (5.59)

1 1 O t

f

f

¦a

n

tn

n 0

­

n

¦ t ®¯¦ a O n

nk

k

n 0

k 0

½ ¾ ¿

for an appropriate parameter O . For the proof we expand (1  O t ) 1 in geometric series assuming that | O t |  1 and multiply the two series. Starting from the expansion

 log(1  t )

f

1

¦nt

n

(| t | 1)

n 1

we obtain (using the lemma with O 1 ) f

(5.60)

¦H n 1

n

tn

 log(1  t ) . 1 t

Special Techniques for Solving Integrals

292

This is the well-known generating function for the harmonic numbers. In the same way, using the lemma we find f

¦H

(5.61)

Li p (t )

( p) n n

t

1 t

n 1

.

Integrations in (5.60) gives

t n 1 n 1

¦H

H n 1 

1 we can write n

f

(5.62)

¦H

n

n 1

From here, since H n f

(5.63)

¦H

n

n 1

f

n 1

n 1

tn n

tn n

1 2 log (1  t ) . 2

1 2 log (1  t )  Li 2 (t ) . 2

Clearly,

Li 2 (1) and with t

1 S2  ] (2)  2 12

(1) n ¦ 2 n 1 n f

1 in (5.63) we find the evaluation (1) n Hn ¦ n n 1 f

S2 1 2 log 2  . 2 12

The dilogarithm Li 2 (t ) satisfies Landen’s identity [33] (5.64)

1 § t · log 2 (1  t )  Li 2 (t )  Li 2 ¨ ¸ 2 ©1 t ¹

and so (5.63) can be written in the form f

¦ Hn n 1

tn n

We notice that from (5.64) with t

§ t ·  Li 2 ¨ ¸. ©1 t ¹

1

Various Techniques

293

2 1 §1· S  log 2 2 . Li 2 ¨ ¸ © 2 ¹ 12 2

Next, with the help of the identity H n2  H n21

2 1 H n 1  2 n n

equation (5.62) leads to another generating function f

¦ (H

(5.65)

2 n

 H n21 ) t n log 2 (1  t )  Li 2 (t ) .

n 1

Applying the lemma and simplifying the telescoping sum on the left-hand side we come to f

¦ H n2 t n

(5.66)

n 1

log 2 (1  t )  Li 2 (t ) . 1 t

Dividing here both sides by t and integrating gives f

¦ H n2

(5.67)

n 1

tn n

1 Li3 (t )  log(1  t ) Li 2 (t )  log 3 (1  t ) . 3

For this integration we use the decomposition log 2 (1  t )  Li 2 (t ) t (1  t )

log 2 (1  t ) log 2 (1  t ) Li 2 (t ) Li 2 (t )    t 1 t t 1 t

and then f

¦ H n2 n 1

log 2 (1  x) log 2 (1  x) dx  ³0 x ³0 1  x dx t

tn n t

t

t

Li 2 ( x) Li ( x) dx  ³ 2 dx . x 1 x 0 0



The second and the third integrals are solved easily, since

Special Techniques for Solving Integrals

294

t

³

Li p ( x) x

0

dx

Li p 1 (t ) .

Integrating by parts the last integral we find t

Li ( x) ³0 1 2 x dx

(5.68)

log 2 (1  x) dx x 0 t

 log(1  t ) Li 2 (t )  ³

and (5.67) follows. The series in (5.67) converges absolutely in the disk | t |  1 . It does not converge for t 1 , but converges for t 1 and we obtain

(1) n 2 Hn n 1

f

¦ n

1 Li3 (1)  log(2) Li 2 (1)  log 3 (2) . 3

We have

Li3 (1)

(1) n ¦ 3 n 1 n f

3  ] (3) 4

so that

(1) n 2 Hn n 1

f

¦ n

3 S2 1 log(2)  log 3 (2) .  ] (3)  4 12 3

Dividing both sides in (5.67) by t and integrating again we come to yet another generating function f

¦H

(5.69)

n 1

Li 4 (t ) 

2 n

tn n2

1 1 2 Li 2 (t )  log(t ) log3 (1  t )  log 2 (1  t ) Li 2 (1  t ) 2 3

2log(1  t ) Li3 (1  t )  2 Li 4 (1  t )  2] (4)

Various Techniques

t

295

9 2 121 3 625 4 18769 5 t  t  t  t  ... . 16 324 2304 9000

Here is the proof. Let first 0  t  1 . We have f

¦H n 1

2 n

tn n2



 log(1  t ) 1 log 3 (1  t ) dt  Li 4 (t )  ³ Li 2 (t ) dt ³ t t 3

Li 4 (t ) 

1 1 log 3 (1  t ) 2 dt Li 2 (t )  ³ 2 3 t

since  log(1  t ) t

d Li 2 (t ) . dt

Now we evaluate the last integral. Integrating by parts we find log 3 (1  t ) log(t ) log 2 (1  t ) 3 dt log( t ) log (1 t ) 3 dt   ³ t ³ 1 t

and then with the substitution 1  t

log(t ) log 2 (1  t ) dt ³ 1 t f

1 n 1 2 ¦ ³ x log ( x) dx n 1 n

x  log(1  x) log 2 ( x) dx ³ x

1 ª xn xn xn º 2 log ( ) 2 log( ) 2 x x   ¦ « » n2 n3 ¼ n 1 n¬ n f

log 2 ( x) Li 2 ( x)  2log( x) Li3 ( x)  2 Li 4 ( x)  C . Returning to t and putting all pieces together we form the right-hand side in (5.69). With t o 0 we compute f

C

2 Li 4 (1)

n 1

This way we finally come to (5.69).

1

¦n

4

] (4) .

Special Techniques for Solving Integrals

296

Some terms on the right-hand side in (5.69), like log(t )log 3 (1  t ) , are not analytic in a neighborhood of zero, but all terms together represent an analytic function. The right-hand side in (5.69) is well defined for 0  t  1 and equation (5.69) provides its analytic continuation in the disk | t |  1 . Both sides are defined also for t 1 , so we have f

1§S2 · 3] (4)  ¨ ¸ 2© 6 ¹

H n2 ¦ 2 n 1 n

2

17S 4 360

which is a well-known result. Adding equation (5.61) with p f

(5.70)

¦ H

2 n

2 to equation (5.66) we find

 H n(2) t n

n 1



log 2 (1  t )  2 Li 2 (t ) 1 t

2 § t · Li 2 ¨ ¸. 1 t ©1 t ¹

At this point we use the fact that for any positive integer p d 1 Li p 1 (t ) Li p (t ) dt t

and then setting u

t we apply the chain rule 1 t d Li p 1 (u ) dt

1 du Li p (u ) u dt

that is,

d § t · Li p 1 ¨ ¸ dt © 1 t ¹ From here we conclude that

1 § t · Li p ¨ ¸. t (1  t ) © 1 t ¹

Various Techniques

1

³ t (1  t ) Li

(5.71)

p

§ t · ¨ ¸ dt ©1 t ¹

297

§ t · Li p 1 ¨ ¸C. ©1 t ¹

We will apply this result now. Dividing both sides in (5.70) by t and integrating we come to another nice generating function f

¦ H

(5.72)

2 n

 H n(2)

n 1

tn n

§ t · 2 Li3 ¨ ¸. ©1 t ¹

Repeating this step again, dividing both sides by t and integrating we find also f

¦ H

(5.73)

2 n

 H n(2)

n 1

tn n2

2

§ t · § § t · · § t · 2 Li 4 ¨ ¸  ¨ Li 2 ¨ ¸ ¸  2log(1  t ) Li3 ¨ ¸. ©1 t ¹ © ©1 t ¹¹ ©1 t ¹ Applying the lemma (5.59) to equation (5.72) gives 2 § t · Li3 ¨ ¸. 1 t ©1 t ¹

­ n 1 2 (2) ½ n ®¦ H k  H k ¾ t ¦ n 1 ¯k 1 k ¿ f

Now we can use the identity (see [3, p. 129])

¦ k H n

1

2 k

 H k(2)

k 1

1 H k3  3H n H n(2)  2H n(3) 3

to write f

(5.74)

¦ H n  3H n H n 3

(2)

 2 H n(3) t n

n 0

6 § t · Li3 ¨ ¸. 1 t ©1 t ¹

Dividing by t and integrating this yields in view of (5.70) f

(5.75)

¦ H n3  3H n H n(2)  2 H n(3) n 0

tn n

§ t · 6 Li 4 ¨ ¸. ©1 t ¹

Special Techniques for Solving Integrals

298

Adding the equation

2 Li 2 (t ) 1 t

f

2¦ H n(2) t n n 1

to equation (5.66) we come to f

¦ H

(5.76)

2 n

log 2 (1  t ) 1 t

 H n(2) t n

n 0

and integration gives f

¦ H

2 n

 H n(2)

n 0

1 t n 1  log 3 (1  t ) . 3 n 1

Next we prove the representation f

¦ Hn

(5.77)

n 1

tn n2

1 log(t ) log 2 (1  t )  log(1  t ) Li 2 (1  t )  Li3 (1  t )  Li3 (t )  ] (3) . 2

An equivalent form of this representation was computed by Ramanujan in his notebooks. Ramanujan’s result can be found in Berndt’s monograph [6, p. 251], namely, f

H n t n 1

¦ (n  1)

2

n 1

1 log(t ) log 2 (1  t )  log(1  t ) Li 2 (1  t )  Li3 (1  t )  ] (3) 2

(see also [33, p. 303]). With t 1 these representations give f

Hn ¦ 2 n 1 n

2] (3),

f

Hn

¦ (n  1)

2

] (3) .

n 1

Here is the proof of (5.77): We divide both sides in (5.63) by t and

Various Techniques

299

integrate. The result is f

¦ Hn

(5.78)

n 1

1 log 2 (1  t ) dt  Li3 (t ) . t 2³

tn n2

The evaluation of this integral can be found in Levin’s book [33, p. 159]. We will give this evaluation here for the convenience of the reader. Integrating by parts we write log 2 (1  t ) ³ t dt

log(t ) log 2 (1  t )  2 ³

log(t ) log(1  t ) dt 1 t

and then in the last integral we use the substitution 1  t

³

log(t ) log(1  t ) dt 1 t

³ ln xd Li

2



x

log(1  x) log( x) dx x

( x) ln x Li 2 ( x)  ³

Li 2 ( x) dx x

ln x Li 2 ( x)  Li3 ( x)  C log(1  t ) Li 2 (1  t )  Li3 (1  t )  C . Assembling these results we come to (5.77). The constant of integration is computed to be C ] (3) by setting t 0 . Another interesting manipulation is this: From (5.61) we have f

¦H

(2) n 1 n

t

n 1

Li 2 (t ) t (1  t )

Li 2 (t ) Li 2 (t )  t 1 t

and then by integration f

¦ H n(2) n 1

tn n

Now in view of (5.68) we write

Li3 (t )  ³

Li 2 (t ) dt . 1 t

Special Techniques for Solving Integrals

300 f

¦H

(2) n

n 1

log 2 (1  x) dx . x 0 t

tn n

Li3 (t )  log(1  t ) Li 2 (t )  ³

At the same time from (5.63) f

2¦ H n n 1

tn n2

log 2 (1  x) ³0 x dx  2 Li3 (t ) . t

Adding these two equations we find the useful representation f

¦ H n(2) n 1

f tn tn  2¦ H n 2 n n n 1

3Li3 (t )  Li 2 (t ) log(1  t ) .

Dividing both sides by t and integrating (integration is easy) we come to f

¦ H n(2)

(5.79)

n 1

f tn tn  2 H ¦ n 3 n2 n n 1

3Li 4 (t ) 

1 2 Li 2 (t ) . 2

In particular, with t 1 we find f

f H n(2) H  2¦ 3n ¦ 2 n 1 n n 1 n

3] (4) 

1 2 ] (2) 2

17S 4 . 360

Subtracting (5.67) from (5.72) we come to the generating function f

¦H n 1

(2) n

tn n

1 3 § t · 2 Li3 ¨ ¸  Li3 (t )  Li 2 (t ) ln(1  t )  log (1  t ) . 3 ©1 t ¹ A project for the reader: Dividing by t and integrating show that f

(5.80)

¦ H n(2) n 1

tn n2

§ t · 2 Li 4 ¨ ¸  Li 4 (t )  2 Li 4 (1  t )  2] (4) ©1 t ¹

Various Techniques

301 2

2 § t · § § t · · 1 2 log(1  t ) Li3 ¨ ¸  ¨ Li 2 ¨ ¸ ¸  Li 2 (t ) 1 t 1 t 2   © ¹ © © ¹¹

1  log t log 3 (1  t )  log 2 (1  t ) Li 2 (1  t )  2log(1  t ) Li3 (1  t ) . 3

Using Landen’s identities for the dilogarithm (5.64) and the trilogarithm

§ z · Li3 ¨ ¸ ©1 z ¹

1 3 log (1  z )  Li3 (1  z ) 6

1 S2  log( z ) log 2 (1  z )  log(1  z )  Li3 ( z )  ] (3) 2 6

some terms above can be simplified. Thus (5.80) becomes f

¦H

(5.81)

(2) n

n 1



§ t · 2 Li 4 ¨ ¸  Li 4 (t )  2 Li 4 (1  t )  2] (4) ©1 t ¹

tn n2

1 1 2 Li 2 (t )  2log(1  t )(Li3 (t )  ] (3))  log t log3 (1  t ) 2 3 

1 log 4 (1  t )  ] (2) log 2 (1  t ) . 12

Subtracting (5.80) from (5.78) and simplifying we come to one important generating function f

¦ Hn n 1

tn n3

2Li 4 (t ) 

§ t · § t · 1 § § t · · Li 4 ¨ ¸  log(1  t ) Li3 ¨ ¸  ¨ Li 2 ¨ ¸¸ ©1 t ¹ ©1 t ¹ 2 © ©1 t ¹¹

2

1 1 1 2 Li2 (t )  log t log3 (1  t )  log 2 (1  t ) Li 2 (1  t ) 2 6 2

 log(1  t ) Li3 (1  t )  Li 4 (1  t )  ] (4) . In simplified form

Special Techniques for Solving Integrals

302 f

¦ Hn

(5.82)

n 1

§ t · Li 4 ¨ ¸  2 Li 4 (t )  Li 4 (1  t )  ] (4) ©1 t ¹

tn n3

1 1  log(1  t ) Li3 (t )  log(t ) log 3 (1  t )  log 4 (1  t ) 6 24

] (3) log(1  t ) 

S2 12

log 2 (1  t ) .

Using the obvious relation f

¦ Hn n 0

t n 1 (n  1)3

f

¦ Hn n 1

tn  Li 4 (t ) n3

the above generating function can be written also in the form f

(5.83)

¦H

n

n 0

t n 1 (n  1)3

§ t · Li 4 ¨ ¸  Li 4 (t )  Li 4 (1  t )  ] (4) ©1 t ¹

1 1  log(1  t ) Li3 (t )  log(t ) log 3 (1  t )  log 4 (1  t ) 6 24

] (3) log(1  t ) 

S2 12

log 2 (1  t ) .

Ramanujan worked on this problem more than hundred years ago. After he died on April 26, 1920, his wife gave his notebooks to the University of Madras. The notebooks were analyzed in depth much later. In Entry 10, Chapter 6 of his notebooks Ramanujan showed some properties of the Hn generating function for the numbers , but this function was not (n  1)3 given explicitly (see Berndt [6, p. 253]). Problems for the reader: Using the above techniques show that f

(5.84)

¦H n 1

n

H n(2) t n

1 §1 3 § t · · ¨ log (1  t )  Li3 ¨ ¸¸ 1 t © 6 ©1 t ¹¹

Various Techniques

303

and also º 1 ª 1 3 § t · 3Li3 ¨ ¸  2 Li3 (t )  log (1  t ) » . « 1 t ¬ 2 ©1 t ¹ ¼

f

¦H

(5.85)

3 n n

t

n 0

The following evaluations are also left to the reader. f

¦ (1)n1 n 1

1 §1· 2 Li3 ¨ ¸  Li3 (1)  Li 2 (1) log 2  log 3 2 2 3 © ¹

H n(2) n

] (3)  f

Hn ¦ 2 n n 1 n 2 f

(1) ¦ n 1 f

n 1

Hn n2

¦ H n2 n 1

5 ] (3); 8

(1) n 1 n

f

H n  H n (1)n ¦ n 1 2

f

¦H n 1

(2) n

S2 12

log 2

] (3) 

S2 12

f

(1) ¦ n 1

log 2 n 1

Hn (n  1) 2

1 ] (3) 8

S 2 log 2 (log 2)3 3  ] (3)  4 12 3 n 1

(2)

7 S 2 log 2 (log 2)3  ] (3)  4 6 3

f (1) n 1 (1) n 1  2¦ H n n n2 n 1

9 S2 ] (3)  log 2 . 4 12

5.7.2 Skew-harmonic numbers The skew-harmonic numbers already appeared at the end of Chapter 2, in Examples 2.5.3 and 2.5.5. We will take a closer look at these numbers now and generate various power series with skew-harmonic numbers in their coefficients. The skew-harmonic numbers are defined by

Special Techniques for Solving Integrals

304

H n 1 

1 (1) n 1  ...  (n 1, 2,...), H 0 2 n

0.

Their relation to the digamma function is given by

H n

log 2 

(1) n 2

ª § n 1· § n  2 ·º «\ ©¨ 2 ¹¸  \ ©¨ 2 ¹¸ » ¬ ¼

and because of this representation sometimes it is convenient to work with the expression H n  log 2. Applying Lemma 5.2 to the series

log(1  t )

(1) n 1 n t ¦ n n 1 f

(| t |  1)

we find the generating function for the skew-harmonic numbers

log(1  t ) 1 t

(5.86)

f

¦H

 n n

t .

n 1

Combining this with the series

log 2 1 t

f

¦ (log 2) t

n

n 0

we write also f

(5.87)

¦ H n 0

 n

 log 2 t n

1 §1 t · log ¨ ¸. 1 t © 2 ¹

This series is convergent in the disk | t |  1 and also for t 1 . We have

1 1 1 § 1 · H n  log 2 (1) n 1 ¨     ... ¸ © n 1 n  2 n  3 n  4 ¹ 1 1 § ·   ... ¸ (1) n 1 ¨ ( n  1)( n  2) ( n  3)( n  4) © ¹

Various Techniques

305

where

bn

d

1 1   ... (n  1)(n  2) (n  3)(n  4)

1 1   ... (n  1)(n  2) (n  2)(n  3)

1 n 1

so bn o 0 and bn is also monotone decreasing. Therefore, the series in (5.87) for t 1 is a convergent alternating series. Computing

lim t o1

1 1 §1 t · log¨ ¸  1 t 2 © 2 ¹

we find f

¦ H n 0

 n

1  log 2  . 2

Proposition 5.3. For all | t | d 1, t z 1 f

(5.88)

¦ H n n 1

tn n

§1 t · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  Li 2 (t )  log(1  t ) log 2 © 2 ¹ ©2¹

1 2 S2 §1 t · Li 2 ¨  Li (  t )  log(1  t ) log 2  log 2  . 2 ¸ 2 12 © 2 ¹ (This representation appears in a different form as entry 5.5.27 in Hansen’s table [26].) Proof. We notice that (5.89)

d 1 §1 t · §1 t · Li 2 ¨ log ¨ ¸ ¸ dx © 2 ¹ 1 t © 2 ¹

and therefore,

log(1  t ) log 2  1 t 1 t

Special Techniques for Solving Integrals

306 f

log(1  t ) 1 t

H n t n ¦ n 1

d § 1  t · log 2 Li 2 ¨ . ¸ dt © 2 ¹ 1 t

Integrating this we find

t n 1 §1 t · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  log 2log(1  t ) n 1 © 2 ¹ ©2¹

f

(5.90)

¦ H n n 1

which reduces to (5.88) because f

¦H

 n

n 1

t n 1 n 1

f

¦H n 1

 n

tn  Li 2 (t ) . n

Equation (5.88) can be written also in the form f

(5.91)

¦ H

 n

 log 2

n 1

tn n

§1 t · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  Li 2 (t ) © 2 ¹ ©2¹

by moving the term log(1  t )log 2 to the left-hand side and expanding

log(1  t ) . This equation is defined on the whole closed disk | t | d 1 while the series in (5.88) is not convergent for t 1 . This way we have f

¦ H

 n

 log 2

n 1

1 n

§1·  Li 2 ¨ ¸  Li 2 (1) ©2¹

1 2 log 2 2

by using the values

S 2 §1· , Li 2 ¨ ¸ 12 ©2¹

Li 2 (1) With t

1  log 2 2 . 12 2

1 f

H ¦ n 1 or

S2

 n

 log 2

(1)n1 S 2 log 2 2 n

12



2

Various Techniques f

¦ H n n 1

(1) n 1 n

S2 12



307

log 2 2 . 2

In view of (5.89) equation (5.87) can be written as f

¦ H

 n

d §1 x · Li 2 ¨ ¸ dx © 2 ¹

 log 2 t n

n 0

and integrating this we come to f

¦ H

 n

 log 2

n 0

t n 1 §1 t · §1· Li 2 ¨ ¸  Li 2 ¨ ¸ . n 1 © 2 ¹ ©2¹

Proposition 5.4. For | t |  1 f

¦ H

(5.92)

 2 n n

t

n 1

1 ­ §1· §1 t · ½ ®Li 2 (t )  2log 2log(1  t )  2 Li 2 ¨ ¸  2 Li 2 ¨ ¸¾ 1 t ¯ ©2¹ © 2 ¹¿

and for | t | d 1 f

¦ H

(5.93)

 n

 log 2 t n 2

n 0

ª §1 t · 1 ­ § 1 ·º ½ 2 ®Li 2 (t )  log 2  2 « Li 2 ¨ ¸  Li 2 ¨ ¸ » ¾ 1 t ¯ © 2 ¹¼ ¿ ¬ © 2 ¹

where the value at t 1 of the right-hand side is understood as the limit for t o 1 . For the proof of the proposition we need a lemma. Lemma 5.5. For every n 1, 2,... we have n

(5.94)

(1) k 1  Hk k 1

2¦ k

H

 2 n

 H n(2) .

308

Special Techniques for Solving Integrals

(Recall that H n(2)

1

1 1  ...  2 .) 2 2 n

Proof of the lemma by induction. For n 1 the equality is true. Suppose now it is true for some n t 1. Then

(1) k 1 H k k 1

n 1

n

2¦ k

(1) k 1 H k (1) n H n1 2 k n 1 1

2¦ k

H

 2 n

 H n(2)  2

(1) n H n1 n 1

2

§  (1) n H n1 (1) n · 1 (2)     H H 2 ¨ n 1 ¸ n 1 n 1 ¹ n 1 (n  1) 2 ©

H

2  n 1

 H n(2) 1 .

The proof is completed. Now we turn to the proof of the proposition. Replacing t by t in (5.88) we have f

¦ n 1

(1) n H n n t n

§1 t · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  Li 2 (t )  log(1  t ) log 2 © 2 ¹ ©2¹

and with some help from Lemma 5.2 and Lemma 5.5 we write ­ n (1) k 1 H k ½ n ® 2¦ ¾t ¦ k n 1¯ k 1 ¿ f

¦^ H f

n 1

 2 n

`

 H n(2) t n

2 ­ §1 t · § 1 ·½ ®Li 2 (t )  log(1  t ) log 2  Li 2 ¨ ¸  Li 2 ¨ ¸ ¾ . 1 t ¯ © 2 ¹ © 2 ¹¿

At the same time f

¦H n 1

(2) n n

t

Li 2 (t ) 1 t

Various Techniques

309

which inserted in the equation above leads to (5.92). After that we write

H

 n

 log 2

H

2

 2 n

 (2log 2) H n  log 2 2

and with summation starting from n 0 f

¦ H

 n

 log 2 t n 2

n 0

f

f

f

n 0

n 0

¦ H n t n  2log 2¦ H n t n  ¦ (log 2 2) t n . 2

n 0

Now (5.93) follows from (5.92) and (5.86). The proposition is proved. Remark. Setting t f

¦ (1) H n

 n

1 in (5.93) we compute  log 2

2 1­ § 1 ·½ S 2 . ®Li 2 (1)  log 2  2 Li 2 ¨ ¸ ¾ 2¯ © 2 ¹ ¿ 24

2

n 0

This provides an independent solution to problem 11682 in the American Mathematical Monthly (see Example 5.6.3). The series in (5.92) converges also for t 1 , as we have the estimate

H

 n

 log 2 d 2

1 . (n  1) 2

Computing the limit of the right-hand side in (5.93) we find f

H ¦ n 0

 n

 log 2

2

log 2 .

This equation repeats the result from Example 5.6.2. Equation (5.93) presents an extension of Problem 997 from the College Mathematic Journal.

Special Techniques for Solving Integrals

310

1 Proposition 5.6. For all  d t d 1 3 f

¦ H n

(5.95)

n 1

t n 1 (n  1) 2

§ 2t · § t · §1 t · §1· Li3 ¨ ¸  Li3 ¨ ¸  Li3 ¨ ¸  Li3 ¨ ¸  Li3 (t ) ©1 t ¹ ©1 t ¹ © 2 ¹ ©2¹ ª º §1· 1  log(1  t ) « Li 2 (t )  Li 2 ¨ ¸  log 2log(1  t ) » ©2¹ 2 ¬ ¼

or, equivalently, f

¦ H n

(5.96)

n 1

tn n2

§ 2t · § t · §1 t · §1· Li3 ¨ ¸  Li3 ¨ ¸  Li3 ¨ ¸  Li3 ¨ ¸  Li3 (t )  Li3 (t ) ©1 t ¹ ©1 t ¹ © 2 ¹ ©2¹ ª º §1· 1  log(1  t ) « Li 2 (t )  Li 2 ¨ ¸  log 2log(1  t ) » . ©2¹ 2 ¬ ¼

The representation (5.95) results from (5.90) by dividing both sides by t and integrating. The detailed proof can be found in [11]. Proposition 5.7. For | t |  1 f

¦ H

(5.97)

n 0

 n

 log 2

2

t n 1 n 1

2 ª Li 2 ( x) §1 t · S º dx  log(1  t ) 2 Li  2¨ « » ¸ ³0 1  x © 2 ¹ 6 ¼ ¬ t

ª §1 t · § 1 ·º 2log(1  t ) log 2 (1  t )  log 2 2  2log 2 « Li 2 ¨ ¸  Li 2 ¨ ¸ » © 2 ¹¼ ¬ © 2 ¹

Various Techniques

311

ª §1 t · §1 t · § 1 ·º 2log 2log 2 (1  t )  4log(1  t ) Li 2 ¨ ¸  4 « Li3 ¨ ¸  Li3 ¨ ¸ » , © 2 ¹ © 2 ¹¼ ¬ © 2 ¹

where for 1  t 

1 2 t

Li 2 ( x) dx 1 x 0

³

1 3 § t · 2 Li3 ¨ ¸  2 Li3 (t )  log(1  t ) Li 2 (t )  log (1  t ) 3 ©1 t ¹ and for 0 d t  1 we have t

Li ( x) ³0 1 2 x d x

ª S2 º 2 > Li3 (1  t )  ] (3)@  log(1  t ) « Li 2 (1  t )  » . 6 ¼ ¬

For the proof we divide by t in (5.93) and integrate. Details can be found in [11]. 5.7.3 Double integrals related to the above series Some of the generating functions considered above can be represented by double integrals. Starting from 1

1 nk

³x

n  k 1

dx

0

we write log 2  H n

k

and then for | z |  1

(1) k 1 1 nk

f

¦

f n ­ k 1 k 1 ½ x ® ¦ ³0 ¯ k 1 (1) x ¾¿ dx 1

1

xn ³0 1  x dx

Special Techniques for Solving Integrals

312 f

2

n 0

f

§ 1 x n d x ·§ 1 y n d y ·

2

§ 1 x n dx · n ¨³ ¸ z ¦ n 0 © 0 1 x ¹ f

¦ H n  log 2 z n

f 1 1

x n y n z n d xd y

¦ ¨ ³ 1  x ¸¨ ³ 1  y ¸ z ¦ ³ ³ (1  x) (1  y) © ¹© ¹ n 0

0

n

n 0 0 0

0

d x dy ­f ½ ( x y z )n ¾ ³0 ³0 ®¯¦ n 0 ¿ (1  x) (1  y ) 1 1

1 1

dx dy

³ ³ (1  x y z ) (1  x) (1  y) . 0 0

Therefore, from Propositions 5.4 and 5.7 we come to the following corollary. Corollary 5.8. For | z |  1 1 1

dx dy (1  x y z )(1  x)(1  y ) 0 0

g ( z) { ³ ³

(5.98)

ª §1 z · 1 ­ § 1 ·º ½ 2 ®Li 2 ( z )  log 2  2 « Li 2 ¨ ¸  Li 2 ¨ ¸ » ¾ 1 z ¯ © 2 ¹¼ ¿ ¬ © 2 ¹

with g (1) log 2 and g (1)

S2 24

. Also, by integration

log(1  x y z ) dx dy x y (1  x)(1  y ) 0 0

1 1



(5.99)

³³

2 ª Li 2 (t ) §1 z · S º    dt log(1 z ) 2 Li 2¨ « » ¸ ³0 1  t © 2 ¹ 6 ¼ ¬ z

ª §1 z · § 1 ·º 2log(1  z ) log 2 (1  z )  log 2 2  2log 2 « Li 2 ¨ ¸  Li 2 ¨ ¸ » © 2 ¹¼ ¬ © 2 ¹

Various Techniques

313

ª §1 z · §1 z · § 1 ·º 2log 2log 2 (1  z )  4log(1  z ) Li 2 ¨ ¸  4 « Li3 ¨ ¸  Li3 ¨ ¸ » . © 2 ¹ © 2 ¹¼ ¬ © 2 ¹

5.7.4 Expansions of dilogarithms and trilogarithms Consider the series

 log(1  P x)

f

¦ n 1

Pn n

xn

with an appropriate parameter P , where 1 d P x  1 . Using Lemma 5.2 with O 1 we have  log(1  P x) 1 x

­ n ( P )k ½ n n ®¦ ¾(1) x . ¦ k n 1 ¯k 1 ¿ f

We notice that (5.100)

d ª § (1  P ) x · § x ·º Li 2 ¨ ¸  Li 2 ¨ ¸» « dx ¬ © 1  x ¹ © 1  x ¹¼

 log (1  P x) x(1  x)

­ n ( P )k ½ n n 1 ®¦ ¾(1) x . ¦ k n 1 ¯k 1 ¿ f

Integrating this we come to the following result. Proposition 5.9. For any | P |  1, | x |  1 we have the expansion (5.101)

§ (1  P ) x · § x · Li 2 ¨ ¸  Li 2 ¨ ¸ © 1 x ¹ ©1 x ¹

­ n ( P )k ½ ( x) n . ®¦ ¾ ¦ k ¿ n n 1 ¯k 1 f

With P 1 this turns into equation (5.63) in view of Landen’s identity (5.64). When P 1 we have a new version of (5.88). Equation (5.100) also says that

Special Techniques for Solving Integrals

314

d ª § (1  P ) x · § x ·º Li 2 ¨ ¸  Li 2 ¨ ¸» « dx ¬ © 1  x ¹ © 1  x ¹¼

 log (1  P x) log (1  P x)  x 1 x

d log (1  P x) . Li 2 ( P x)  dx 1 x

Integrating this by using (5.100) we come to the known identity § P (1  x) · § (1  P ) x · Li 2 ¨ ¸  Li 2 ( P x) ¸  Li 2 ¨ © 1 x ¹ © 1 P ¹

(5.102)

§ P · § x · Li 2 ¨ ¸  log (1  P ) log (1  x) . ¸  Li 2 ¨  1 x © ¹ ©1 P ¹

With P 1 this becomes

§ 2x · §1 x · Li 2 ¨ ¸  Li 2 ¨ ¸  Li 2 ( x) ©1 x ¹ © 2 ¹ § x · §1 · Li 2 ¨ ¸  Li 2 ¨ ¸  log 2log (1  x) . ©1 x ¹ ©2¹

§ 2x · This identity shows that the function Li 2 ¨ ¸ extends on the closed ©1 x ¹ unit disk | x | d 1 except for x 1. This function appears implicitly in the works of Ramanujan (see [6, Entry 8, p. 249]). Ramanujan considered the function f

f (t )

§

1

1

2 n 1 · t

¦ ¨©1  3  ...  2n  1 ¸¹ 2n  1 n 1

and proved that

§ t · f¨ ¸ © 2t ¹

1 2 log (1  t )  Li 2 (t ) . 8

Various Techniques

With the substitution x

315

t we can put Ramanujan’s result in the 2t

form f 1 · x 2 n 1 § 1 2¦ ¨1   ...  . ¸ 3 2n  1 ¹ 2n  1 n 1©

§ 2x · 1 2 1  x Li 2 ¨ ¸  log 1 x ©1 x ¹ 4 Let now

f

Li m ( x)

xn ¦ m n 1 n

be the polylogarithm. It is easy to check that for every integer m t 2 and for an appropriate parameter P we have d dx

ª § (1  P ) x · § x ·º « Li m 1 ¨ 1  x ¸  Li m 1 ¨ 1  x ¸ » © ¹ © ¹¼ ¬

1 x(1  x)

With m

ª § (1  P ) x · § x ·º « Li m ¨ 1  x ¸  Li m ¨ 1  x ¸ » . © ¹ © ¹¼ ¬

2 from Proposition 5.9 we have d dx

ª § (1  P ) x · § x ·º « Li3 ¨ 1  x ¸  Li3 ¨ 1  x ¸ » ¹ © ¹¼ ¬ ©

1 x(1  x)

ª § (1  P ) x · § x ·º « Li 2 ¨ 1  x ¸  Li 2 ¨ 1  x ¸ » ¹ © ¹¼ ¬ ©

1 x(1  x)

­ (1) n n 1¯

f

¦® n

n

( P )k ½ n ¾x k ¿ 1

¦ k

and applying Lemma 5.2 this becomes 1 x

k ­ ° n ­ n  k ( 1)  ( 1) ®¦ ® ¦ k n 1° ¯k 1 ¯ f

( P ) j ½½ ° n ¾¾ x ¦ j j 1 ¿° ¿ k

Special Techniques for Solving Integrals

316

f

­ °

­1

n

k

½ ( P ) j ½° n n 1 ¾¾ (1) x . j ¿° 1 ¿

¦ ®¦ ® k ¦ n 1

° ¯k 1 ¯

j

After integration we come to the remarkable expansion: Proposition 5.10. For any | P | d 1, | x |  1

§ (1  P ) x · § x · Li3 ¨ ¸  Li3 ¨ ¸ © 1 x ¹ ©1 x ¹

(5.103)

­ n ­ 1 k ( P ) j ½° ½ (1) n n ° x . ®¦ ® ¦ ¾¾ ¦ n 1¯ ° k 1 ¯ k j 1 j ¿¿ ° n f

(with analytic extension of the left-hand side when needed). With P 1 § 2x · § x · Li3 ¨ ¸  Li3 ¨ ¸ ©1 x ¹ ©1 x ¹

With P

­ n H k ½ (1) n 1 n x . ®¦ ¾ ¦ n n 1 ¯k 1 k ¿ f

1 we have § x · Li3 ¨ ¸ ©1 x ¹

­ n H k ½ (1) n 1 n x ®¦ ¾ ¦ n n 1 ¯k 1 k ¿ f

which is equation (5.72) in disguise because of the identity n

Hk 1 k

2¦ k

H n2  H n(2) .

This nice identity is similar to the identity in (5.94) and can be proved the same way. 5.8 Fun with Lobachevsky In this short section we look at some simple, but amusing integrals.

Various Techniques

317

First, recall the classical integral solved at the beginning of Chapter 2 f

sin x dx x 0

³

(5.104)

S 2

.

Can we replace here sin x by cos x ? f

cos x dx x 0

³

?

No! This integral is divergent, because the ratio

cos x 1 behaves like x x

close to zero. However, we can multiply by cos x the integrand in (5.104) to get f

cos x sin x dx x 0

³

(5.105)

S 4

(second case in entry 3.741(2) in [25]). This result is very easy to explain by using the trigonometric identity sin(2 x) 2sin x cos x f

cos x sin x ³0 x dx

f

sin 2 x ³0 2 x dx

f

1 sin 2 x d 2x 2 ³0 2 x

S 4

.

Can we replace here cos x by sin x ? No, the integral becomes divergent f

(5.106)

sin x sin x ³0 x dx

f

sin 2 x ³0 x dx

f.

To see why this integral is divergent the reader can analyze the proof that (5.104) is convergent in Example 2.1.1 and see why it does not work for (5.106). At the same time f

(5.107)

sin(a x)sin(bx) dx x 0

³

1 ab ln 2 a b

318

Special Techniques for Solving Integrals

for a ! 0, b ! 0, a z b (entry 3.741(1) in [25]). This result comes from equation (5.13) after writing the product sin(a x)sin(bx) as the difference of two cosines sin(a x)sin(bx)

1 cos(a  b) x  cos(a  b) x . 2

(See also equation (2.2) in Example 2.2.10.) Representing the product sin(a x)cos(bx) as a difference of two sines when a ! b ! 0 we find (first case in entry 3.741(2)) f

S

sin(a x) cos(bx) dx x 0

³

(5.108)

2

.

This is somewhat counterintuitive in view of (5.105). (See also Example 2.2.12.) Multiplying inside (5.105) by cos x we get f

S

cos 2 x sin x dx ³0 x

(5.109)

4

.

Interesting! The same value as in (5.105)! But how do we evaluate this integral? In fact, it is true that f

cos 2 x sin x dx ³0 x

S /2

³ cos

2

xdx

0

S 4

.

What we see here is a special case of the following. Lobachevsky’s Integral Formula. Suppose f ( x) is a continuous function defined for x t 0 with the property f ( x  S ) f ( x) and f (S  x) f ( x) for any x t 0 . Then f

(5.110)

³ 0

f ( x)

sin x dx x

S /2

³ 0

f ( x) dx

Various Techniques f

³ 0

2

§ sin x · f ( x) ¨ ¸ dx © x ¹

319

S /2

³

f ( x) dx .

0

(Nikolai Ivanovich Lobachevsky (1792-1856) was a Russian mathematician who invented the hyperbolic geometry.) More details about this integral formula together with an interesting extensions can be found in [55]. For the cosine function we have

cos( x  S ) cos(S  x)  cos( x) and we see that the functions

f ( x) (cos x) 2 n , f ( x) | cos x | satisfy the conditions for Lobachevsky’s formula. Clearly the same is true for the functions

f ( x) (sin x) 2 n , f ( x) | sin x | . For our examples we will use the well-known Wallis integrals S /2

Wn

³

S /2

³ cos

sin n x dx

0

n

x dx

(n

0, 1, 2,...)

0

where (5.111)

(2n)! S 4n (n !) 2 2

W2 n

1 § 2n · S ¨ ¸ 4n © n ¹ 2

It follows that f

cos 2 n x sin x dx ³0 x f

2

f

§ sin x · ³0 cos x ¨© x ¸¹ dx

sin 2 n 1 x ³0 x dx

S /2

³ cos

2n

x dx W2 n

0

2

f

2n

§ sin x · ³0 sin x ¨© x ¸¹ dx W2n 2n

Special Techniques for Solving Integrals

320

for any integer n t 0 . The case n 1 is equation (5.109). For n have correspondingly cos 4 x sin x dx ³0 x

S /2

f

S /2

f

³ cos

4

x dx

3S 16

6

x dx

5S 32

0

cos 6 x sin x dx ³0 x

³ cos 0

etc. We also have f

³ 0

f

³ 0

S /2

sin 3 x dx x

³ sin

2

S

x dx

4

0

S /2

sin 5 x dx x

³ sin

4

3S . 16

x dx

0

At the same time all integrals of the form f

³ 0

sin 2 n x dx x

( n 0,1, 2,... ) are divergent. With f ( x) | sin x | , f ( x) | cos x | we have f

³ | sin x | 0

sin x dx x

f

³ | cos x | 0

S /2

³

S /2

| sin x | dx

0

sin x dx x

³ sin x dx 0

S /2

³ cos x dx 0

Problems for the reader: 1. For any integer p t 0 evaluate f

A1

(cos x) 2 (sin x) 2 p 1 dx ³0 x

1.

1.

2, 3 we

Various Techniques

321

f

cos 2 p x (sin x)3 dx . x 0

³

A2

2. Show that for every n t 2 Wn

and using that W0

S 2

, W1 1 prove the Wallis formulas (5.111) and

W2 n 1

(5.112)

n 1 Wn  2 n

1

4 n § 2n · ¨ ¸ . (2n  1) © n ¹

4n (n !) 2 (2n  1)!

5.9 More Special Functions We have already seen integrals evaluated in terms of special functions (in Section 4.3, for example). Here we want to mention briefly that certain integral representations of some special functions can be nicely used for solving integrals. Example 5.9.1 The second Binet formula for the log-gamma function was used in Example 3.2.11 f

1· ln 2S arctan(t / O ) §  2³ ln *(O ) ¨ O  ¸ ln O  O  dt . 2¹ 2 e 2S t  1 © 0

Here and throughout this example we assume Re O ! 0 . Differentiation gives an integral representation for the digamma function

\ (O ) ln O 

f

1 t  2³ 2 dt . 2 2O (t  O )(e 2S t  1) 0

Replacing O by O / 2 we write this in the form

Special Techniques for Solving Integrals

322

f

O 1 t O dt . \ §¨ ·¸ ln   8³ 2 2 2 O (4t  O )(e 2S t  1) ©2¹ 0

(5.113)

From Section 3.3 we have also the representation f

1 \ §¨ z  ·¸ ln z  2 ³ ©

x dx ( x  z )(e 2S x  1) 0



2

2

which we write in the form

\ §¨

O 1·

¸ © 2 ¹

(5.114)

ln

O 2

f

x dx . ( x  z )(e 2S x  1) 0

 8³

2

2

Using these two integral representations we will prove two interesting Laplace transforms. f

³e

(5.115)

O x

0

f

³e

(5.116)

0

O x

O 1 §1 · §O· ¨  coth x ¸ dx \ ¨ ¸  ln  2 O ©2¹ ©x ¹ 1 · §1 § O 1·  O . ¸ ln ¨  ¸ dx \ ¨ 2 © 2 ¹ © x sinh x ¹

(These are correspondingly entries 3.554(4) and 3.554(2) from [25].) To prove the first one we use the important integral from Example 4.5.2 f

4³ 0

sin 2 xt dt e 2S t  1

coth x 

1 x

(after a simple adjustment). Thus f

· O x § 1 ³0 e ¨© x  coth x ¸¹ dx

f

4 ³ 0

1 e

2S t

f ­° f sin 2 xt ½° 4 ³ e  O x ® ³ 2S t dt ¾ dx 0 ¯° 0 e  1 ¿°

f °­  O x °½ ® ³ e sin(2 xt ) dx ¾ dt  1 °¯ 0 °¿

f

4 ³ 0

(e

2S t

2t dt  1)(O 2  4t 2 )

Various Techniques

323

O 1 O \ §¨ ·¸  ln  2 O ©2¹ according to (5.113). This way (5.115) is proved. Likewise we use the integral (after adjustment) f

4³ 0

sin 2 xt dt e 2S t  1

1 1  x sinh x

from Example 4.5.2 for the proof of (5.116) f

1 · O x § 1 ³0 e ¨© x  sinh x ¸¹ dx f

4³ 0

f

4³ 0

(e

2S t

1 e 2S t

­ f sin 2 xt ½° O x ° e ³0 °¯®4³0 e 2S t  1 dt ¾°¿ dx

f

f °­  O x °½ ® ³ e sin(2 xt ) dx ¾ dt  1 °¯ 0 °¿

O 2t O 1· dt \ ¨§ ¸  ln 2 2  1)(O  4t ) 2 © 2 ¹

by using (5.114). Done! Example 5.9.2 The reader may looks at the group of entries 3.554 in [25] from where the above two integrals (5.115) and (5.116) were taken. The first entry in this group will surely catch the attention *

f

(5.117)

1 · dx O x § ³0 e ¨©1  cosh x ¸¹ x

 ln O 4 O 3 4

2ln *

O 1 4

(here again Re O ! 0 ). This integral resembles (5.115) and (5.116), but requires a different approach. For the proof we recall an important formula from Section 4.5.2, namely,

Special Techniques for Solving Integrals

324 f

eO x

³ cosh x dx

(5.118)

0

1 ª § O 3· § O  1 ·º \¨ ¸ \ ¨ ¸» . « 2¬ © 4 ¹ © 4 ¹¼

Therefore, we write f

1 · O x § ³0 e ¨©1  cosh x ¸¹ dx 1

O



f

f

e O x dx cosh x 0

O x ³ e dx  ³ 0

1 ª § O 3· § O  1 ·º \¨ ¸ \ ¨ ¸» . « 2¬ © 4 ¹ © 4 ¹¼

Now we integrate this equation with respect to O and remembering that d \ ( z) ln *( z ) we find dz f

eO x x 0



1 · § ¨1  ¸ dx cosh x¹ ©

ª § O 3· § O  1 ·º ln O  2 «ln * ¨ ¸  ln * ¨ ¸ C © 4 ¹ © 4 ¹ »¼ ¬ or, f

³e 0

O x

1 · dx § ¨1  ¸ © cosh x ¹ x

*

 ln O  C . O 3 4

2ln *

O 1 4

In order to compute the constant of integration we set O o f . The lefthand side approaches zero. Using the properties of the gamma function it is easy to compute that (with O 4x ) 3 * §¨ x  ·¸ 4¹ © lim x of 1 * §¨ x  ·¸ x 4¹ ©

1

Various Techniques

so with C is proved.

325

ln 4 the limit of the right-hand side is also zero. Thus (5.117)

Example 5.9.3 Using the properties of Euler’s beta function %( x, y ) and the representation

%( x , y )

* ( x )* ( y ) *( x  y )

one can derive the formula (see entry 8.380(10) in [25]) f

cosh(2 yt ) dt 2x (t ) 0

³ cosh

22 x  2

* ( x  y )* ( x  y ) *(2 x)

where Re x ! 0, Re x ! | Re y | . From here with x 1 and | y |  1 f

cosh(2 yt ) dt cosh 2 (t ) 0

³

Sy . sin S y

*(1  y )*(1  y )

With x 2 f

cosh(2 yt ) ³0 cosh 4 (t ) d t

2 *(2  y )*(2  y ) 4

2S y (1  y 2 ) . 3sin S y

Replacing y by iy we have also f

cos(2 yt ) dt 2 (t ) 0

³ cosh

f

cos(2 yt ) ³0 cosh 4 (t ) d t

Sy sinh S y 2S y (1  y 2 ) 3sinh S y

Other interesting integrals van be obtained from here by differentiation with respect to x or y.

Special Techniques for Solving Integrals

326

Example 5.9.4 In Example 2.3.1, Chapter 2, we evaluated the integral f

³e

t 2

cos(2 xt ) dt

0

S 2

e x . 2

Differentiating 2n times with respect to x we find f

2 n t ³ t e cos(2 xt ) dt 2

0

(1) n S § d ·  x 2 ¨ ¸ e . 22 n 1 © dx ¹ 2n

At this point we turn to the Rodrigues formula for the Hermite polynomials p

2 § d · 2 H p ( x) (1) p e x ¨ ¸ e  x © dx ¹

( p 0,1, 2,... ) where

H 0 ( x) 1, H1 ( x) 2 x, H 2 ( x) 4 x 2  2, H 3 ( x) 8 x3  12 x, H 4 ( x) 16 x 4  48 x 2  12,... . We conclude that for n 0,1, 2,... f

2 n t ³ t e cos(2 xt ) dt

(5.119)

2

0

(1) n S  x 2 e H 2 n ( x) . 22 n 1

In the same way we find f

(5.120)

³t 0

2 n 1  t 2

e

sin(2 xt ) dt

(1) n S  x 2 e H 2 n 1 ( x) 22 n  2

( n 0,1, 2,... ). These formulas can be used for solving integrals. For instance, with n 1

Various Techniques f

³t e

2 t 2



cos(2 xt ) dt

0

f

³t e

3 t 2

8

S



sin(2 xt ) dt

S

e  x (4 x 2  2) 2

e  x (8 x 3  12 x) . 2

16

0

327

In the place of t 2n in (5.119) we can put any even polynomial and evaluate the integral in terms of Hermite polynomials. Likewise in the place of t 2 n 1 in (5.120) we can put any odd polynomial.

Example 5.9.5 Suppose we want to evaluate the integral S

³e

cos x

dx .

0

What can we do? The substitution u something worse 1

³

1

cos x will not help, it brings to

eu 1  u2

du .

Integration by parts does not help either. We can introduce a parameter and try the method in Chapter 2, say, (5.121)

S

³e

F (O )

O cos x

dx .

0

Then F '(O )

S

³ cos xe

O cos x

dx

0

and things become complicated. Something natural will be to use the exponential series in (5.119), that is,

Special Techniques for Solving Integrals

328

F (O )

S

­ f O n cos n x ½ ¾ dx ³0 ®¯¦ n! ¿ n 0

O n °­S

f

¦ n! °®³ cos ¯0

n 0

n

°½ x dx ¾ . ¿°

Now S

³ cos

n

x dx

0 ( n odd)

0

x

because the substitution u

S

says that

2

S

³ cos

S /2 n

³ S

x dx

sin n x dx

0

 /2

0

as sin n x is odd. For n 2 p even we have from (5.111) S

2p ³ cos x dx 0

S /2

2 ³ cos 2 p x dx

2W2 p

0

S (2 p )! 4 p ( p !) 2

and f

1 §O· ¸ . 2 ¨ 0 ( p !) © 2 ¹ 2p

F (O ) S ¦ p

The series here is the modified Bessel function of the first kind I 0 (O ) of zero order, so that S

³e

(5.122)

O cos x

dx S I 0 (O )

0

and with O 1 S

f

1 . 2 0 4 ( p !)

cos x ³ e dx S ¦ 0

More generally, we have

p

p

Various Techniques S

³e

(5.123)

O cos x

329

cos(nx)dx S I n (O )

0

with the modified Bessel function of the first kind I n (O ) (entry 2.5.40(3) in [43]). Here 1 §O· ¨ ¸ ¦ *   k k n ! ( 1) ©2¹ k 0 f

I n (O )

2k n

(see [40]). In the same way one can use the integral representation J 0 ( x)

1 2S

2S

i x sin T ³ e dT 0

1

S

S

³e

i x cosT

dT

0

where (1) n 2 n x ¦ 2n 2 n 0 2 ( n !) f

J 0 ( x)

is the Bessel function of zero order. Thus, for example, S /2

³

cos( x sin T )dT

0

S /2

³ cos( x cosT )dT 0

S 2

J 0 ( x) .

Example 5.9.6 In this example we will show a very unusual method to prove two very unusual integrals S

(5.124)

ln(cosh x  sinh x cos y ) 2 dy S ln cosh x  sinh x cos y 1  cosh x 0

³

where x is arbitrary. Also

Special Techniques for Solving Integrals

330 S

(5.125)

ln 2 (cosh x  sinh x cos y ) dy cosh x  sinh x cos y 0

³

§ 1  cosh x · . 2S Li 2 ¨ ¸ 2 © ¹

One strange feature of these integrals is that they are even functions of x although the integrands contain the odd function sinh( x) . To prove these integrals we use the Legendre function of the first kind PO ( z ) which is a solution to the Legendre differential equation (5.126)

(1  z 2 ) y '' 2 z y ' O (O  1) y 0 .

When O n , a nonnegative integer, Pn ( z ) is the Legendre polynomial of order n . Substituting PO ( z ) in (5.126) and differentiating with respect to the parameter O , Szmytkowski showed that

d PO ( z ) dO O d2 PO ( z ) dO2 O d3 PO ( z ) dO3 O

0

0

1 z · ln §¨ ¸ © 2 ¹

0

1 z · 2 Li 2 §¨ ¸ © 2 ¹

1 z · § 1  z · Li § 1  z · 12 Li3 §¨ ¸  6ln ¨ ¸ 2¨ ¸ © 2 ¹ © 2 ¹ © 2 ¹

1 z · S 2 ln ¨§ ¸  12] (3) © 2 ¹ (R. Szmytkowski, “The parameter derivatives …” arXiv:1301.6586v1 (2013); the author attributes the second formula to G. P. Schramkowski.) The Legendre function has several integral representations, one of which is PO (cosh x)

1

S

1

dy S ³ (cosh x  sinh x cos y )O 1 0

(see p. 203 in Nico Temme’s nice book [44]). Differentiating here with respect to O we find consecutively

Various Techniques

 0

d2 PO (cosh x) dO2 O

(5.128)

(5.129)

S

d PO (cosh x) dO O

(5.127)

d3 PO (cosh x) dO3 O

331

1 ln(cosh x  sinh x cos y ) dy S ³0 cosh x  sinh x cos y S

0

1 ln 2 (cosh x  sinh x cos y ) dy S ³0 cosh x  sinh x cos y S

 0

1 ln 3 (cosh x  sinh x cos y ) dy . S ³0 cosh x  sinh x cos y

The two integrals (5.124) and (5.125) follow immediately from (5.127) and (5.128) in view of Szmytkowski’s results. The reader can continue and write down the evaluation of the integral in (5.129). Example 5.9.7 Here we solve problem 1184 from the College Mathematics Journal (September 2020, p. 306) by using one neat special function. Evaluate ff

J

sin( x)sin( x  y ) dxdy . x( x  y ) 0 0

³³

For the evaluation we will use the sine integral z

Si( z )

sin(t ) dt t 0

³

which has the obvious properties d Si( z ) dz

sin z , limSi( z ) z of z

f

sin(t ) dt t 0

³

S 2

, Si(0) 0 .

Using the substitution x  y u we write f sin x ­° sin( x  y ) ½° ³0 x ®°¯³0 x  y dy ¾°¿ dx

f

J

f sin x ­° sin(u ) ½° ³0 x ®°¯³x u du ¾°¿ dx

f

Special Techniques for Solving Integrals

332

and changing the order of integration (very easy to justify) u sin u °­ sin( x) °½ ® ³0 u °¯³0 x dx ¾°¿ du

f

J f

³ Si(u ) d Si(u ) 0

1 (Si(u )) 2 2

f

sin u Si(u ) du u 0

³

f 0

1§S · ¨ ¸ 2© 2 ¹

That’s all! ff

(5.130)

sin( x)sin( x  y ) ³0 ³0 x( x  y) dxdy

S2 8

.

2

S2 8

.

Appendix A

List of Solved Integrals

The integrals here are listed in the order they appear in the book. Some of them are solutions to problems from mathematics journals and this is indicated in the next line. The following abbreviations are used: American Mathematical Monthly (AMM) College Mathematics Journal (CMJ) Mathematics Magazine (MM)

(A.1)

³

dx x  x 1 2

 ln(2 x 2  x  1  1  2 x)  C

Example 1.2.1. (A.2)

³ ( x  3)

dx 3x  x 2  2

§ 2 2 x · 1 arctan ¨¨ ¸¸  C 5 © 5 x 1 ¹

Example 1.2.2.

³x

(A.3)

1 2 2

ln

dx x  6x  8 2

x 2  6 x  8  2( x  2) x 2  6 x  8  2( x  2)

Example 1.2.3.

333

C

Special Techniques for Solving Integrals

334 b

x

³ arccos

(A.4)

ax  bx  ab

a

dx

S (b  a ) 2 4(b  a )

Example 1.2.4. This is AMM Problem 11457. Here 0 d a d b. (A.5)

³x

dx

ln

1  2 x  x2

x  1  1  2 x  x2 C x

Example 1.2.5. (A.6)

³ (ax

2

4ax  2b

dx  bx  c)3/ 2

(4ac  b) ax 2  bx  c

C

Section 1.3.

³

(A.7)

3 6 x

dx x (1  x ) 3

1 x

2

3

 3arctan 6 x  C

Section 1.4. Also there

³x

(A.9)

1  x3 dx x

³

1  x5  1 1 ln C 5 1  x5  1

dx

(A.8)

1  x5

(A.10)

³

(A.11)

³x

1  x3  1 2 1 1  x 3  ln C 3 3 1  x3  1 dx

x

(1  x 2 )3

1  x2

dx 2

xx

4

The next integral is from Section 5:

2 3

C

x 3  1  C .

List of Solved Integrals

³

(A.12)

x2  3 dx x2

335

x2  3 C x

ln( x  x 2  3 ) 

Example 1.5.1. (A.13)

³

x 2 1 x  1  ln( x  x 2  1)  C 2 2

x 2  1 dx

Example 1.5.2. f

³ (x 

(A.14)

0

dx 1 x ) 2

r

r r 1 2

Example 1.5.3. f

³

(A.15)

cos t sin t 2  1 t 1 2

0

dt

S 4

Example 1.5.4. (A.16)

ª 1 § 1 x ·º arctan « ¨ 5 tan  1¸ »  C 2 ¹¼ 6 ¬2 6 ©

dx

³ 5  sin x

Example 1.6.1. (A.17)

§ a b x· arctan ¨¨ tan ¸¸  C 2¹ a b © ab

dx

1

³ a  b cos x

2

2

Example 1.6.1. (A.18) Example 1.6.2.

dx

³ 2  cos

1 2

x

2

arctan( 2 tan x)  C

Special Techniques for Solving Integrals

336

S /2

S

dx

³

(A.19)

a cos x  b sin x 2

0

2

2

2 M ( a, b)

2

Section 1.7. Here M (a, b) is the arithmetic-geometric mean for a, b. S

x sin x ³0 1  cos2 x dx

(A.20)

S2 . 4

Example 1.8.1. S /2

³

(A.21)

0

(cos x) p dx (cos x) p  (sin x) p

S 4

( p t 0 ) Example 1.8.2. f

ln x dx 0 2 1

³x

(A.22)

0

Example 1.8.3. f

(A.23)

2E ³ (1  x )



1

E

dx

0

1 2§ 1 · § 1 · * * 2 E ¨© 2 E ¸¹ ¨© E ¸¹

1

( E ! 0 ) Example 1.8.4. f

(A.24)

arctan x

³ E 1 x E 2

0

S 2§ 1 · § 1 · dx * * 8E ¨© 2 E ¸¹ ¨© E ¸¹

( E ! 0 ) Example 1.8.4. In particular, f

arctan x ³0 1  x 2 dx

(A.25) f

(A.26)

³ 0

arctan x 1 x

4

dx

S 16

S2 8

* 2 (1 / 4)

1

List of Solved Integrals f

³

(A.27)

arctan x

0

(A.28)

3

1 t

6

S 2 * (1 / 6)* 1 (1 / 3) . 24

dt

dx ( x  a )(b  x)

³

337

xa C ba

2arcsin

( a  b)

Example 1.8.5. In particular, b

dx

³

(A.29)

( x  a )(b  x)

a

(A.30)

³

1

dx

³

S,

x (1  x)

0

S.

3 x 1  (1  4 x) 2  C 2 12

x  x  x  ... dx

Example 1.8.6. f

³e

(A.31)

 a 2 x 2  x 2

S

dx

2a

0

e 2 a

(a ! 0)

Example 1.8.7. f

³e

(A.32)

O x

0

sin x dx x

S 2

 arctan O

(O t 0)

Example 2.1.1. In particular, f

³ 0

sin x dx x

eO x  e P x sin x d x x 0

f

(A.33)

³

S 2

.

arctan P  arctan O

( O , P ! 0 ). Also in Example 2.1.1 f

(A.34)

³e 0

O x

sinh x dx x

1 O 1 ln , O !1 2 O 1

338

Special Techniques for Solving Integrals f

³

(A.35)

0

S (b  a ) . 2

cos ax  cos bx dx x2

S ln 2 8

ln(1  x) dx 1  x2 0

1

³

(A.36)

Example 2.1.2. In the same place also 1

arctan x dx 1 x 0

³

(A.37)

S ln 2 . 8

§ 1  eO x · ¨ ³0 © x ¸¹ dx O ln 4 2

f

(A.38) Example 2.1.3.

xD  x E ³0 ln x dx 1

(A.39)

ln

1D 1 E

(D , E t 0)

Example 2.2.1. In particular,

xD  1 ³0 ln x dx ln(1  D ), D t 0 . 1

(A.40) 1

(A.41)

arctan O x

³x 0

1 x

2

dx

S 2



ln O  1  O 2

Example 2.2.2. f

(A.42)

arctan O x dx 2 ) 0

³ x(1  x

S 2

ln(1  O )

Example 2.2.3. f

(A.43)

arctan(O x) arctan( P x) dx x2 0

³



List of Solved Integrals

339

S >(O  P ) ln(O  P )  O ln O  P ln P @ (O , P ! 0) 2 Example 2.2.4. In particular, with O

P 1

f

(arctan x) 2 ³0 x 2 dx S ln 2 .

(A.44) f

ln(1  O 2 x 2 ) ³0 1  x 2 dx S ln(1  O ) (O t 0) .

(A.45)

Example 2.2.5. In particular, with O 1 f

ln(1  x 2 ) ³0 1  x 2 dx S ln 2 .

(A.46) f

(A.47)

E x ³e 0

1  cos O x dx x

1 § O2 · ln ¨1  ¸ ( E ! 0) 2 © E2 ¹

Example 2.2.6. Also there f

(A.48)

E x ³e 0

cos O x  cos P x dx x

1 § E 2  P2 · ln ¨ ¸ 2 © E 2  O2 ¹

f

cos O x  cos P x dx x 0

³

(A.49)

ln

P O

( O , P ! 0 ). f

(A.50)

³ 0

eO x  e P x cos E x dx x

1 P2  E 2 ln 2 O2  E 2

( O , P ! 0 ) Example 2.2.7. f

(A.51)

x ³ e dx 2

0

S 2

f

,

³e 0

x p

dx

1 §1· * p ¨© p ¸¹

Special Techniques for Solving Integrals

340

Example 2.2.8. f

1  eO x ³0 x 2 dx

(A.52)

2

OS

(O t 0)

Example 2.2.8. f

(A.53)

e  p x cos qx  e  O x cos P x dx ³0 x

1 O2  P2 ln 2 p2  q2

( O , p ! 0 ) Example 2.2.9. f

(A.54)

³e

O x

0

sin(a x)sin(bx) dx x

1 O 2  ( a  b) 2 ln 4 O 2  ( a  b) 2

( a ! b ! 0 ) Example 2.2.10. f

sin(a x)sin(bx) dx x2 0

³

(A.55)

Sb 2

(a ! b ! 0)

Example 2.2.11. f

(A.56)

³e

O x

0

sin(a x) cos(a x) dx x

S

1 O  arctan 4 2 2a

( a ! b ! 0, O ! 0 ) Example 2.2.12. f

³e

(A.57)

O x

0

O 2

ln

cos(a x)  cos(bx) dx x2

O 2  a2 b a  b arctan  a arctan 2 2 O b O O

Example 2.2.13. f

(A.58)

O x ³e 0

sin 2 (a x)  sin 2 (bx) dx x2

(O ! 0)

List of Solved Integrals

O 4

ln

341

2a 2b O 2  4b 2  a arctan  b arctan 2 2 O  4a O O

( O ! 0 ) Example 2.2.13. S /2

³

(A.59)

ln(D 2  cos 2 T )dT

S ln

D  D 2 1 2

0

(D ! 1)

Example 2.2.14. S /2

(A.60)

³

ln(1  E 2 cos 2 T )dT

S ln

0

1 1 E 2 2

(0 d E d 1)

Example 2.2.14. In particular, with E 1 S /2

³ ln(sin T ) dT

(A.61)



0

S /2

(A.62)

³ ln(1  D sin

2

T ) dT

S ln

0

S 2

ln 2 .

1 1D 2

(1 d D )

Example 2.2.15. S

ln(1  D cos T ) dT cos T 0

³

(A.63)

S arcsin D

(| D | d 1)

Example 2.2.16. In particular, S

ln(1 r cos T ) ³0 cosT dT

(A.64) S

(A.65)

³ ln(1  D cosT ) dT 0

S ln

r

S2 2

1 1D 2 2

Example 2.2.17. With D o r1 we have

.

(| D |  1)

Special Techniques for Solving Integrals

342

S

³ ln(1 r cosT ) dT

(A.66)

S ln 2 .

0

S

³ ln (E

(A.67)

2

 2DE cos x  D 2 ) d x

2S ln | D |

0

( | E | d | D | ) Example 2.2.18. 1

(A.68)

³

ln(1  D 2 x 2 ) x2 1  x2

0

dx S





(| D |  1)

1 D 2 1

Example 2.2.19. f

a

³

(A.69)

a x 2

0

Sa

ln

2

2

b

arctan

dx

a  x2 2

b  b2  a 2 a

(a, b ! 0)

Example 2.2.20 (AMM Problem 11101). f

1 § 1 · arctan x ¸ dx 2 ¨1  x © ¹

³x

(A.70)

0

S 4

Example 2.2.21. f

³e

(A.71)

t 2

S

cos(2 xt ) dt

2

0

e x

2

Example 2.3.1. f

(A.72)

³e

f

Example 2.3.1.

 at 2

cos ( xt ) dt

S a

e x

2

/ 4a

(Re a ! 0)

List of Solved Integrals f

³

(A.73)

cos t



1 1· ¨ cos  sin ¸ 2© 4 4¹

cos t dt

t

0

343

Example 2.3.1 (MM Problem 1896). f

cos O x dx 2  x2

S

³a

(A.74)

0

2a

e a O

Example 2.3.2. Here and in the following three integrals a ! 0, O t 0 . f

x sin O x dx 2  x2

³a

(A.75)

0

S 2

e a O

Example 2.3.2. Also in this example f

sin O x dx 2  x2 )

³ x (a

(A.76)

0

f

sin O x dx 2  x 2 )2

³ x(a

(A.77)

0

f

(A.78)

e  st ³0 a 2  t 2 dt

S 2a 4

S 2a

2

(1  e  a O )

(1  e  a O ) 

SO 4a 3

e a O .

1 >ci(as)sin(as)  si(as) cos(as)@ a

( a ! 0 ) Example 2.3.3. Also there f

(A.79)

te  st ³0 a 2  t 2 dt

 ci(as ) cos(as )  si(as )sin( as ) .

f

sin a x dx xb 0

³

(A.80)

ci(ab)sin(ab)  si(ab) cos(ab)

( a, b ! 0 ) Example 2.3.3. Also there f

(A.81)

cos a x dx xb 0

³

 ci(ab) cos(ab)  si(ab)sin(ab) .

Special Techniques for Solving Integrals

344 f

D · dx

§

³ exp ¨©  x  x ¸¹

(A.82)

S exp (2 D ), D ! 0

x

0

Example 2.3.4. This integral is equivalent to (A.31). Also in this example f

D · dx

§

³ exp ¨©  x  x ¸¹ x

(A.83)

0

f

(A.84)

³ 0

S exp (2 D ) D

x

D· § x exp ¨  x  ¸ dx x¹ ©

1 S §¨ D  ·¸ exp (2 D ) . ©

f

(A.85a)

§D2 · 2  exp ( x ) cos ¨ 2 ¸ dx ³0 ©x ¹



S 2

e

2D

cos 2D

e

2D

sin 2D .

(D ! 0 ) Example 2.3.5. Also in this example f

(A.85b)

§D2 · 2 exp ( x )sin  ¨ 2 ¸ dx ³0 ©x ¹ 1

³ M D

(A.86)

S 2

arctan(D x) 1  x2

( )

2

dx

2 1 § D 2 1 1· 1 S2 ¨ ln ¸  arctan D 2  1  8 ¨© 8 D 2  1  1 ¸¹ 2

where D ! 1, M (D )

1

1

D2





.

Example 2.4.1. In particular, 1

(A.87)

³ 0

arctan x 1  x2

dx

S2 8





1 ln(1  2) 2



2

List of Solved Integrals 1

(A.88)

³

arctan(2 x) 1  x2

3/2

2

2 1§ 5 1· 1  ¨¨ ln ¸¸  arctan 3 . 8 8© 5 1 ¹ 2

S2

dx

1



arcsin x dx 1  x2

³

(A.89)

0

345

1 ln(1  2) 2





2

Example 2.4.1. In the same place f

arctan t

³t

(A.90)

1

t2 1

S2

dt

8



f

ln(D x  D 2 x 2  1) dx ³ x(1  x 2 ) 1/D

(A.91)





2 1 ln(1  2) . 2

1 2 ln ( 1  D 2  D ) 2

( D ! 0) Example 2.4.2. In particular, f

ln( x  x 2  1) ³1 x(1  x 2 ) dx

(A.92) f

(A.93)

ln( x  x 2  4) ³2 x(1  x 2 ) dx f

³1

(A.94)

1 2 ln ( 2  1) 2

1 2 5 1 5 . ln  ln 2ln 2 2 2

ln( x  x 2  1) x x2  1

dx

2G

Example 2.4.2. 1

(A.95)

³

arcsin D x 1 x

0

2

dx

1 > Li 2 (D )  Li 2 (D )@ (| D | d 1) 2

Section 2.5.1. 1

(A.96)

2D ³ 0

arccos x 1  D 2 x2

dx

Li 2 (D )  Li 2 (D ) (| D | d 1)



Special Techniques for Solving Integrals

346

Section 2.5.1. 1

³

(A.97)

x arccos x

D x 2

0

2

dx

SD

§S 1 ·  D E ¨ , ¸ (D t 1) 2 ©2 D¹

P

³

Example 2.5.1. Here E( P , k )

1  k 2 sin 2 t dt . Also there

0

1

³

(A.98)

x arcsin x

D x 2

0

2

dx

f

(A.99)

arctan D x dx 1  x2 0





S D 2 1 2

ln D ln

§S 1 · D E¨ , ¸ . ©2 D¹

1D  Li 2 (D )  Li 2 (D ) 1D

0 d D d 1 . Example 2.5.2 arctan D x dx 1  x2 0

1

(A.100)



f

¦ (ln 2  H n 0

 n

)

D 2 n 1 2n  1

( | D | d 1 ). Example 2.5.3. f

(A.101)

³ 0

ln(1  D x) dx x(1  x)

ln D ln(1  D )  Li 2 (D )

( 0 d D d 1 ) Example 2.5.4. In particular, f

³

(A.102)

0

1

(A.103)

³ 0

ln(1  x) dx x(1  x)

ln(1  D x) dx x(1  x)

S2 6

.

§1· §1D · Li 2 ¨ ¸  Li 2 ¨ ¸ ©2¹ © 2 ¹

( 1 d D d 1 ) Example 2.5.5. In particular, 1

(A.104)

³ 0

ln(1  x) dx x(1  x)

S2

1  ln 2 2 . 12 2

List of Solved Integrals 1

1

³ x (log x)

(A.105)

p

0

log

347

1 E x dx 1 E x

(1) p 1 *( p  1) ^Li p  2 ( E )  Li p  2 ( E )`

( | E | d 1, p t 0 ). Example 2.5.6. Also there 1

1

³ x (log x)

(A.106)

p

log (1  E x) d x

0

(1) p 1 *( p  1) Li p  2 ( E ) f

(A.107)

] (3)

4 1 1 arctan t arctan dt ³ 70 t t

(A.108)

] (3)

8 1 1 arctan t arctan dt ³ 70 t t f

1 1 § 1· log(1  t ) log ¨1  ¸ dt 2 ³0 t © t¹

] (3)

(A.109)

] (3)

(A.110)

1

1

1

§



³ t log(1  t ) log ¨©1  t ¸¹ dt . 0

x

1

§1 t · ¸ dt 2 ¹

³ 1  t ln ¨©

(A.111)

0

§1 x · §1· Li 2 ¨ ¸  Li 2 ¨ ¸ © 2 ¹ ©2¹

Example 2.5.7. This integral can be put also in the form ln(1  t ) dt 1 t 0 x

(A.112)

³

§1 x · §1· Li 2 ¨ ¸  Li 2 ¨ ¸  ln 2ln(1  x) . © 2 ¹ ©2¹ x

(A.113)

³ ln(1  t ) ln(1  t ) dt 0

Special Techniques for Solving Integrals

348

1 x §1 x · §1 x · Li 2 ¨ ¸  Li 2 ¨ ¸  (1  ln 2) ln 1 x © 2 ¹ © 2 ¹  x ln(1  x) ln(1  x)  x ln(1  x 2 )  2 x .

Here | x |  1. In particular, with x o 1 1

³ ln(1  t ) ln(1  t ) dt

2

0

S2 6

 (ln 2) 2  2ln 2

Example 2.5.7. S /2

³

(A.114)

S /2

³ ln(cos t )dt

ln(sin t )dt

0

0

S ln 2 2

Example 3.2.1. Also there S

³ ln(sin t )dt

(A.115)

S ln 2

0

S /4

S 1 ln 2  G 4 2

³ ln(sin t )dt

(A.116)

0

S /4

S 1 ln 2  G 4 2

³ ln(cos t )dt

(A.117)

0

S /4

(A.118)

³

t ln(sin t )dt

0

S 2 S 35 ln 2  G  ] (3) 32 8 128

S /2

(A.119)

³

t ln(sin t )dt

0

S

(A.120)

S 2 7 ln 2  ] (3) 8 16

³ t ln(sin t )dt 0

S 2 ln 2 2

List of Solved Integrals

349

S /2

³ sin t ln(sin t ) dt

(A.121)

ln 2  1

0

1

x ln x

³

(A.122) 1

1 §S · dx  Cl2 ¨ ¸ . 2 ©3¹ 4  x2 ln x

³

(A.123)

dx ln 2  1

1  x2

0

0

S

x

S

x

S

³ cos x ln cot 2 dx

(A.124)

0

Example 3.2.2. Also there S /2

³ cos x ln cot 2 dx

(A.125)

0

S /4

S

x

³ cos x ln cot 2 dx

(A.126)

4

0

1

(A.127)

³ arctan( x

2

) dx

4

0

2 ln(1  2) . 2



S (1  2)

2



2 ln(1  2) 2

Example 3.2.3. Also there 1

x2

³1 x

(A.128)

4

dx

0

S /4

(A.129)

³

tan T dT

0

S 2 8



S 2 4



2 ln(1  2) 4 2 ln(1  2) . 2

Sp

(A.130)

³ log(1  2D cos x  D

2

) dx

0

0

( | D |  1 , p any integer). Example 3.2.4. Also there

Special Techniques for Solving Integrals

350

Sp

³ ln(1  cos x) dx

(A.131)

S p ln 2

0

S /2

(A.132)

³ log(1  2D cos x  D

2

)dx i Li 2 (iD )  Li 2 ( iD )

0

S /2

³ ln(1  cos x) dx

(A.133)



0

Sp

³ ln(1  2D cos x  D

(A.134)

2

S 2

ln 2  2G

)dx 2S p ln | D |

0

( | D | ! 1 ). Also Sp

³ ln(E

(A.135)

2

 2DE cos x  D 2 ) dx 2S p ln | D |

0

( | E | d | D | , p any integer). Sp

(A.136)

³ cos mx log(1  2D cos x  D

2

) dx

0

S p m D m

( m ! 0, p integers). Example 3.2.5. Sp

³ ln(cosh E r cos x)dx

(A.137)

( E  ln 2) pS

0

( E ! 0 , p arbitrary integer) Example 3.2.6. f

(A.138)

log(1  2D cos x  D 2 ) dx ³0 x2  b2

S b

log(1  D e  b )

( | D |  1, Re b ! 0 ) Example 3.2.7. f

(A.139)

³x 0

p

log(1  ae  O x ) dx 

*( p  1)

O p 1

Li p  2 (a )

List of Solved Integrals

351

Example 3.2.8. Also there with O ! 0, b z 0 f

³ sin bx log(1  e

(A.140a)

O x

) dx

0

º 1 ª § ib · § ib · \ ¨1  ¸  \ ¨1  ¸  2J » « 2b ¬ © O¹ O¹ © ¼ f

³ sin bx log(1  e

(A.140b)

O x

) dx

0

ib · ib · 1 ª § § § O  ib · § O  ib · º 4 ln 2 \ ¨1  ¸ \ ¨1  ¸ \ ¨ ¸ \ ¨ ¸» « 4b ¬ © 2O ¹ © 2O ¹ © 2O ¹ © 2O ¹ ¼ f

(A.141)

³ cos bx log(1  e

O x

) dx

0

O 2b 2



S 2b

§ Sb · coth ¨ ¸. © O ¹

S

(A.142)

³e

at

ln(sin t ) dt

0

1  e aS ­ 1 ª § ia · § ia · º ½ ®ln 2  J  «\ ¨1  ¸  \ ¨1  ¸ » ¾ a ¯ 2¬ © O¹ O ¹¼ ¿ © ( a z 0 ) Example 3.2.9. Also there S /2

(A.143)

³ S

e at ln(cos t ) dt

 /2

Sa ­ 1 § ia · § ia · ½ sinh ® 2ln 2  2J  \ ¨1  ¸  \ ¨1  ¸ ¾ O¹ O ¹¿ a 2 ¯ © © S /2

(A.144)

³e

at

ln(cos t ) dt

0

1  e aS /2 e aS /2 ln 2  a 2a

ª § ia · º § ia · «\ ¨1  O ¸  \ ¨1  O ¸  2J » ¹ © ¹ ¬ © ¼

Special Techniques for Solving Integrals

352



º 1 ª § ia · § ia · E ¨1  ¸  E ¨1  ¸  2E (1) » « 2a ¬ © 2¹ 2¹ © ¼ S /2

³e

(A.145)

at

ln(sin t ) dt

0

1  e aS /2 e aS /2 ln 2  a 2a 

ª § ia · º § ia · « E ¨1  O ¸  E ¨1  O ¸  2E (1) » ¹ © ¹ ¬ © ¼

º 1 ª § ia · § ia · \ ¨1  ¸  \ ¨1  ¸  2J » « 2a ¬ © O¹ O¹ © ¼ ln(1  x  x 2 ) ³0 x 1

(A.146)

S2 9

Example 3.2.10. f

(A.147)

ª ln(1  e 2S O x ) 1· ln 2S º § ³0 1  x 2 dx S «¬ln *(O )  ¨© O  2 ¸¹ ln O  O  2 »¼

( Re O ! 0 ) Example 3.2.11. Also there f

(A.148)

arctan( x) 1· ln 2S § dx ln *(O )  ¨ O  ¸ ln O  O  2SO x 1 e 2¹ 2 © 0

2O ³

and in particular, f

arctan( x) dx e 2S x  1 0

³

(A.149) f

(A.150)

§

1

1 · cos P t dt t

³ ¨© sinh t  t ¸¹ 0

1 ln 2S .  2 4

( P ! 0 ) Example 3.2.12. In particular

 ln(1  e S P )

List of Solved Integrals f

§

1 · dt

1

³ ¨© sinh t  t ¸¹ t

(A.151)

353

 ln 2

0

and also there f

1· § 1 ³0 ¨© sinh t  t ¸¹ sin P t dt

(A.152)

ln S ln 2  2 2

1

³ ln *( x)dx

(A.153)

S e S P 1  e S P

0

S . e 1 SP

1 ln 2S 2

Example 3.2.13. Also there 1/ 2

³ ln *( x) dx

(A.154)

J  3ln S 8

0

1/ 4

³ ln *( x) dx

(A.155)

0

ln 2 3  2 ] c(2) 3 4S

3J  7 ln 2S G 9] c(2) .   32 4S 16 S 2 y 1

1

(A.156)



³ ln *( x  y)dx

³y ln *(u ) du

0

y ln y  y  ln 2S

Example 3.2.14. Also there 1 1

³ ³ ln *( x  y) dxdy

(A.157)

ln 2S 

0 0

3 4

(Problem 904 from CMJ). (A.158)

f

1

0

0

x x ³ 2 *( x) dx 2³ 2 *( x) dx 

f

(A.159)

³ x2 0

x

*( x) dx

J  ln ln 2 ln 2

Special Techniques for Solving Integrals

354 1

2 ³ ( x  1)2 x *( x) dx  0

(J  ln ln 2)(1  2ln 2)  1 ln 2 2

Example 3.2.15. This is Problem 11329 from AMM.

S

1

³ ln(arcsin x)dx

(A.160)

ln

2

0

S  Si §¨ ·¸ ©2¹

Example 3.2.16. Also there 1

³ ln x(arcsin x) dx

(A.161)

2

S 2

0

 ln 2

1

³ ln x(arccos x) dx

(A.162)

ln 2  2 .

0

1

³ ln x(arctan x) dx

(A.163)

0

S2 48



ln 2 S  2 4

Example 3.2.17. S

³ ln

(A.164)

2

(2sin t ) dt

0

S3 12

Example 3.2.18. Also there S /2

³

(A.165)

ln 2 (2sin t ) dt

0

S3 24

This is Problem 11639 from AMM. 1

(A.166)

³ ln x ln(1  O x) dx 0

1 O

O

ln(1  O ) 

1

O

( | O |  1 ) Example 3.2.19. With O o 1 and O o 1

Li 2 (O )  2

List of Solved Integrals 1

³ ln x ln(1  x) dx

(A.167)

2

355

S2

0

6

1

³ ln x ln(1  x) dx

(A.168)

2ln 2  2 

0

S /2

³

(A.169)

0

ln(sin t ) dt cos t



S2 12

.

S2 8

Example 3.2.20. (A.170)

1 ln * §¨ z  ·¸ 2¹ ©

f

arctan( x / z ) dx e 2S x  1 0

z ln z  z  ln 2S  2 ³

Section 3.3. Also there f

(A.171)

1 \ ¨§ z  ¸· ln z  2 ³ ©

x dx ( x  z )(e 2S x  1) 0



2

f

arctan( x) dx 2S x 1 0 e

³

(A.172)

f

³

(A.173)

0

2

3 1 ln 2  . 4 2

x  sin x dx x3

S 4

Example 4.2.1. f

3

§ sin x · ³0 ¨© x ¸¹ dx

(A.174)

3S 8

Example 4.2.2. f

(A.175)

t u 1

³ 1  t dt 0

Example 4.2.3. Also there

S sin S u

(0  u  1)

Special Techniques for Solving Integrals

356 f

S

xq ³0 s  x 2 dx

(A.176)

2

2s

q 1

sec

f

, 1  q  1

2* ( p )

0

f

S t p 1

p ³ x sin(xt )dx

(A.178)

2

S t p 1

p ³ x cos(xt )dx

(A.177)

Sq

2* ( p )

0

sec

csc

Sp 2

Sp 2

( 0  p  1 ). For D ! 1 f

³ cos(z

(A.179)

D

)dz

1 §1· S * ¨ ¸ cos 2D D ©D ¹

)dz

1 §1· S * ¨ ¸ sin D © D ¹ 2D

0

f

³ sin(z

(A.180)

D

0

f

³x

(A.181)

s

cos xt dx

0



*( s  1) Ss sin s 1 t 2

(t ! 0,  1  Re s  0) . ff

( x y ) sin 2 ( x 2  y 2 ) ³³e 2

(A.182)

0 x

x2  y 2 dydx ( x 2  y 2 )2

1 1 1 1 log  arctan 16 5 4 2 Example 4.2.4. This is Problem 11650 from AMM. Also there f

(A.183)

f

(A.184a)

2

 s t § sin t · ³0 e ¨© t ¸¹ dt

³t 0

x 1  a t

e

cos bt dt

s s2 s S log 2  arctan  . 4 s 4 2 2

*( x) x 2 2

(a 2  b )

b· § cos ¨ x arctan ¸ a¹ ©

List of Solved Integrals f

³t

(A.184b)

x 1  a t

e

*( x)

sin bt dt

b· § sin ¨ x arctan ¸ a¹ ©

x 2 2

(a 2  b )

0

357

( a, b, x ! 0) Example 4.2.5. Also in this example f

a x ³e

(A.185a)

0

f

a x ³e

(A.185b)

0

cos bx dx x

S

sin bx dx x

S

b2  a 2  a b2  a 2

2

b2  a 2  a b2  a 2

2

.

f

sin ( xt ) dx x2  1 0

³

(A.186)

1 t ªe Ein(t )  e t Ein(t ) º¼  (ln t  J )sinh t 2¬ t 2 n 1 H 2 n 1 . 0 (2n  1)

f

(ln t  J )sinh t  ¦ n

f

sin 2 n ( xt ) ³0 x 2  1 dx

(A.187)

S °­ n 1 § 2n · 2

2 n 1

®¦ ¨ ¸(1) ¯° k 0 © k ¹

nk

§ 2n · °½ 2e 2( n  k ) t  ¨ ¸ ¾ © n ¹ ¿°

and in particular, for n 1 f

sin 2 ( xt ) ³0 x 2  1 dx

cos 2 n ( xt ) ³0 x 2  1 dx

4

(1  e 2t )

S ­° n 1 § 2n ·

f

(A.188)

S

2

2 n 1

®¦ ¨ ¸ 2e °¯ k 0 © k ¹

2( n  k ) t

§ 2n · ½°  ¨ ¸¾ © n ¹ °¿

Special Techniques for Solving Integrals

358 f

(A189)

cos 2 n 1 ( xt ) ³0 x 2  1 dx

S 2

§ 2n  1·  (2 n  2 k 1) t ¸e k ¹ 0©

n 1

2 n 1

¦¨ k

Section 4.3. f

S

§ a 2 · dx ln ³0 ¨©1  x 2 ¸¹ x 2  b2

(A.190)

ln

b

ab b

(a, b ! 0)

Example 4.4.1. f

³

(A.191)

0

e y dy y2  s2 2

S es

2

(1  erf ( s ))

2s

and in particular, with s 1 f

³ 0

e y dy y2  1

f

2

S e ³ e u du 2

1

Example 4.4.2. f

(A.192)

§ 1 S 2 · D SD  ³0 ¨© y 2 sinh 2 S y ¸¹ y dy SD sec 2 ] (1  D )

( 0  D  1 ). Example 4.4.3. In particular, f

§ 1 S2 ·  ³0 ¨© y 2 sinh 2 S y ¸¹ dy S .

(A.193) f

(A.194)

§ a2 · E x ln ¨1  2 ¸ dx ³0 x ¹ ©

S E

a (1  E )

sec

SE 2

( a ! 0, 0  E  1 ) Example 4.4.4. f

(A.195)

0

Example 4.4.6.

§Sx· dx ¸ 2 ¹ x2  b2

³ sech ¨©

1 § b 1· E¨ ¸ b © 2 ¹

List of Solved Integrals f

³

(A.196)

0

sin xt sinh

dt

St

359

tanh x

2

Example 4.5.1. f

S

sin xt dt t 1

³e

(A.197)

0

2



S e

2S x

1



1 2x

( x ! 0) . Also in the form f

S

sin xt dt t 1

³e

(A.198)

0

2

coth S x 

1 2x

Example 4.5.2. In the same place also f

1 S Sx .  csch 2x 2 2

sin xt dt t 1

³e

(A.199)

0

f

e  by ³0 cosh y dy

(A.200)

§ b 1· ¸ © 2 ¹



1 ª §b 3· § b  1 ·º \¨ ¸ \ ¨ ¸ « 2¬ © 4 ¹ © 4 ¹ ¼» S /4

2 ³ tan b x dx . 0

Section 4.5.2. Also in this section f

cos( xy ) dx cosh x 0

³

(A.201) f

(A.202)

sin( xy ) ³0 x cosh x dx

S 2

§S y · sech ¨ ¸ © 2 ¹

§ Sy · S 2arctan ¨ e 2 ¸  © ¹ 2

Special Techniques for Solving Integrals

360

f

§1 i y · Im E ¨ ¸. © 2 ¹

sin( xy )

³ cosh x dx

(A.203)

0

f

³e

(A.204)

 iO t

*(1  it )dt

2S e  e

O O

f

( O  \ ) Example 4.6.1. Also there f

³e

(A.205)

 iO t n

t *(1  it )dt

2S i nM n 1 (e  O ) e  e

O

f

f

(A.206)

 iO t n ³ e t *(a  it )dt

2S i n e aO e  e

f

O

n

§n·

¦ ¨ k ¸M k 0

© ¹

k

( e O ) a n  k

( a ! 0, n 0,1, 2,... ). Here

Mn ( x)

n

§n·

¦ ¨ k ¸ S ( n, k ) x k 0

k

© ¹

and S (n, k ) are the Stirling numbers of the second kind. f

(A.207)

³e

 iO t i P t

e *(b  it )dt

2S e bO e bP e  e

O e P

f

( b ! 0, O , P  \ ) Example 4.6.2. Also there f

(A.208)

³e

iP t n

t *(a  it )*(b  it ) dt

f

n k §n· *( a  b  j ) 2S i n e bP ¦ ¨ ¸ a n  k ¦ S (k , j ) (1) j (1  e  P ) a  b  j k 0©k ¹ j 0

( a, b ! 0 ). In particular, f

(A.209)

³t

f

n

*(a  it )*(b  it ) dt

List of Solved Integrals n

§n·

k

k 0

© ¹

j 0

S i n ¦ ¨ ¸ a n  k ¦ S (k , j ) (1) j k f

(A.210)

iP t ³ e *(a  it )*(b  it ) dt

361

*(a  b  j ) 2a  b  j 1

2S *(a  b)

f

f

³e

(A.211)

iP t

f

e bP . (1  e  P ) a  b

*(b  it ) dt a2  t 2

2S 2  a P ªe J (a  b, e P )  e a P *(b  a, e P ) º¼ a ¬

Example 4.6.3. In particular, f

³e

(A.212)

iP t

f

*(a  it ) dt a2  t 2

2S 2  a P ª¬e J (2a, e P )  e a P Ei(e P ) º¼ a f

(A.213)

2S 2 J (a  b,1)  *(b  a,1) . a

*(b  it ) ³f a 2  t 2 dt f

(A.214)

x s 1 s ³0 e b x  1 dx b *(s) ] (s)

Section 4.7. Here and further b ! 0 . Also in this section f

(A.215)

x s 1 s ³0 e b x  1 dx b *(s)K (s)

and in particular, for s 1 f

³e 0

1 dx 1

bx

ln 2 b

Special Techniques for Solving Integrals

362

f

x s 1 ³0 sinh bx dx

(A.216) f

(A.217)

³x

s 1

2b  s (1  2 s )*( s )] ( s )

2(2b)  s *( s )K ( s )

(1  tanh bx) dx

0

in particular, f

³ (1  tanh bx) dx 0

f

(A.218)

³x

s 1

ln 2 b

2(2b)  s *( s )] ( s )

(coth bx  1) dx

0

f

(A.219)

xs ³0 cosh 2 bx dx

4 *( s  1)K ( s ) . (2b) s 1

From this, with s 1, 2 we have f

x

³ cosh 0

2

bx

f

dx

ln 2 b2

S § x · ³0 ¨© cosh bx ¹¸ dx 12b3 2

f

(A.220)

xs ³0 sinh 2 bx dx f

³

(A.221)

0

f

(A.222)

³e 0

Example 4.7.1.

4 *( s  1) ] ( s ) (2b) s 1

t cos xt dt St sinh 2

ln x dx 1

bx

2



1 . cosh 2 x

ln 2 ln 2  2ln b 2b

List of Solved Integrals f

³ ln x (1  tanh bx) dx

(A.223)

ln 2 (3ln 2  2ln b) . 2b



0

f

S2 §

2S ·  1  12ln A ¸ . ¨ ln 6b 2 © b ¹

x ln x ³0 e b x  1 dx

(A.224)

363

In particular, with b 2S f

x ln x dx 2 x 1

1 ] '(1) 2

³e S

(A.225)

0

Example 4.7.2. f

x s 1 ³0 cosh x dx

(A.226)

2* ( s ) L ( s )

Section 4.8. S /2

³ ln(ln tan x) dx S

(A.227)

/4

S

§ *(3 / 4) · 2S ¸ { J ln ¨ 2 © *(1 / 4) ¹

Example 4.9.1. Also there, with the same value of J f

ln(ln u )

³ 1 u

(A.228)

2

du

J

1

1

1 § 1· ³0 1  u 2 ln ¨© ln u ¸¹ du

(A.229)

f

ln u

ln( ln u ) du 1 u 2 0

1

³

³ cosh u du

(A.230)

J

2J .

0

1

(A.231)

§ 1· ³0 ¨© ln x ¸¹

P 1

§ 1· ln ¨ ln ¸ dx \ ( P )*( P ) (Re P ! 0) © x¹

Example 4.9.2. In particular,

Special Techniques for Solving Integrals

364

1

§



³ ln ¨© ln x ¸¹ dx

(A.232)

\ (1) J

0

1/ 2

1

§ 1· ³0 ¨© ln x ¸¹

(A.233)

§ 1· ln ¨ ln ¸ dx © x¹

f

x2n ³0 cosh x dx

(A.234) Example 4.9.4. ( Ek , k

S (1) n §¨ ·¸ ©2¹

f

1

³

x cosh x

0

f

³x

(A.237)

2

f f

³x

(A.238)

E2 n

2

f

(1) n 3/ 2 0 (2 n  1)

f

x ³0 cosh x dx

(A.236)

2 n 1

0,1, 2,... are the Euler numbers). Also there f

(A.235)

(J  2ln 2) S .

S¦ n

f

2 S¦

dx

n 0

cos at dt  ( y  t )2

S

sin at dt  ( y  t )2

S

(1) n 2n  1

.

e  a x cos ay

x

x

e  a x sin ay

( a, x ! 0) Example 5.1.1. f

cos bt cos at dt x2  t 2 0

³

(A.239)

S 2x

e  b x cosh ax

( 0  a d b, x ! 0 ) Example 5.1.2. f

(A.240)

arctan D t dt t x2  t 2 0

³

Example 5.1.3.

S log(1  D x) 2

x2

(D , x ! 0)

List of Solved Integrals f

sin D t cos E t dt t x2  t 2 0

S

³

(A.241)

2x

2

365

e  E x sinh D x

( 0  D  E , x ! 0 ) Example 5.1.4. f

cos bt dt ³0 b2  t 2 x 2  t 2

(A.242)

S b e  a x  xe  ab 2bx

b2  x2

( x ! 0, a ! 0, b ! 0 ) Example 5.1.5. Also there f

cos bt ³0 (b2  t 2 )2 d t

(A.243)

S e  ab (ab  1) 4b3

.

e  O a x cos p (ax)  e  Ob x cos p (bx) dx ³0 x

f

(A.244)

ln

b a

( a, b, O ! 0, p  any positive integer ) Example 5.2.1. Also there e  O a x sin p (ax)  e  Ob x sin p (bx) dx ³0 x

f

(A.245) f

(A.246)

cos 2 n (ax)  cos 2 n (bx) dx ³0 x

2 b ln 4n a

0.

n 1

§ 2n ·

k 0

©

¦¨ k ¸ ¹

( a, b ! 0 ) Example 5.2.2. Also there f

cos 2 n 1 (ax)  cos 2 n 1 (bx) dx ³0 x

(A.247)

ln

f

(A.248)

b . a

arctan p (ax)  arctan p (bx) a §S · dx ¨ ¸ ln ³0 x b ©2¹ p

( a, b ! 0, p  any positive integer ) Example 5.2.3. f

(A.249)

sech p (ax)  sech p (bx) dx ³0 x

ln

b a

Special Techniques for Solving Integrals

366

( a, b ! 0, p  any positive integer) Example 5.2.4. e  O a x ln p (1  ax)  e  Ob x ln p (1  bx) dx ³0 x

f

(A.250)

( a, b, p, O ! 0 ) Example 5.2.5. f

p

p

e a x  eb x dx ³0 x

(A.251)

1 b ln p a

( a, b, p ! 0 ) Example 5.2.6. f

(A.252)

ln(1  x) dx ] (2, p ) p x

f

0

1

¦ (n  p)

³ (1  x)

2

n 0

( p ! 0 ) Example 5.3.1. f

§ 1  e x  x · dx ³0 ¨© x  e ¸¹ x 1

(A.253) Example 5.3.2. f

(A.254)

§ sin x

³ ¨¨ 0

©

x



1 · dx ¸ 1  q x ¸¹ x

2(1  J )  ln q

( q ! 0) Example 5.3.3. Also there, for p ! 0 is arbitrary, f

(A.255)

§ sin x

³ ¨¨ 0

©

x



1 1 xp

· dx ¸¸ ¹ x

2(1  J )

or f

§ sin t 1 · dt  ¸ t 1 t p ¹ t

³ ¨© 0

1 J

0

List of Solved Integrals f

§ 1

· dx x

1

³ ¨© 1  x  1  x p ¸¹

(A.256)

0

f

§

³ ¨© cos

(A.257)

x

0

1 · dx ¸ 1 qx ¹ x

367

0.

2J  ln q (q ! 0)

Example 5.3.4. Also there f

§

1

³ ¨© 1  t

(A.258)

p

0

· dt  cos t ¸ ¹ t

J

f

§ 1  cos t · dt 1  p ¸ 2 t 2(1  t ) ¹ t 0

³ ¨©

(A.259)

( p ! 0) .

3 J  4 2

( p ! 0)

Example 5.3.5. f

§ arctan x

³ ¨¨

(A.260)

0

©

x



1 · dx ¸ 1  q x ¸¹ x

2  ln q (q ! 0)

Example 5.3.6. f

§

³ ¨© e

(A.261)

0

px



1 · dx ¸ 1 qx ¹ x

ln

q J p

( p, q ! 0 ) Example 5.3.7. Also there f

§

³ ¨© e

(A.262)

0

f

§

px



1 · dx ¸ 1  xr ¹ x

ln 2 · dx x

³ ©¨ E ( x  1)  1  q x ¹¸

(A.263)

0

 ln p  J

( p, r ! 0) .

§1 · ¨ ln 2  J  ln q ¸ ln 2 2 © ¹

( q ! 0, E ( s ) - Nielsen’s beta function). Example 5.3.8. Also there f

(A.264)

§

ln 2 · dx x

³ ¨© E ( x  1)  1  x p ¹¸ 0

§1 · ¨ ln 2  J ¸ ln 2 ( p ! 0) ©2 ¹

Special Techniques for Solving Integrals

368 f

§ \ ( x  1)  J ] (2) · dx  ¸ x 1 qx ¹ x 0

³ ©¨

(A.265)

] (2) ln q  ] '(2)

( q ! 0 ) Example 5.3.9. f

³ ln

(A.266)

0

x2  b2 dx S (b  a ) (a, b ! 0) x2  a2

Example 5.4.1. f

(A.267)

sin (2n  1) x D x m 1 ³0 sin x e x dx

n

1 m  n (D  2ik )

(m  1)! ¦ k

n § 1 cos(m arctan(2k / D )) · (m  1)! ¨ m  2¦ ¸ D (D 2  4k 2 ) m / 2 k 1 © ¹

Example 5.4.2. This is Problem 11796 from AMM. Here D ! 0 , and m t 1, n t 0 are integers. ­1  ( p  1) ln x x ln x ½ p 1  ¾ x dx \ '( p )  1 1 x (1  x) 2 ¿ 0

1

(A.268)

³ ®¯

( p ! 0 ) Example 5.4.3. f

(A.269)

f

xO bP  x P x P aO  xO sin OS ³ d x sin PS ³ dx xa bx xb a x 0 0 sin OS sin PS

S

ff

xP t O ³0 ³0 ( x  b)(t  a)(t  x) d xdt

Example 5.4.4. Here | Re O |  1, | Re P |  1, | Re(O  P ) |  1 . This extends Problem 11506 from AMM. f

(A.270)

³ 0

ln x dx (a 2  x 2 )(b 2  x 2 )

Example 5.4.5. Here 0  b  a and

ln ab § a 2  b 2 K¨ ¨ 2a a ©

· ¸ ¸ ¹

List of Solved Integrals S /2

K (k )

³ 0

l 1  k sin 2 T 2

x ln(1  x) ³0 1  x 2 d x 1

(A.271)

S2 96



369

dT .

(ln 2) 2 8

Example 5.4.6. Problem 11966 (AMM). Also there ln(1  x 2 ) ³0 1  x dx 1

(A.272)

3 S2 . (ln 2) 2  4 48

§S2 2 ³0 ¨© 18  2arcsin 1

(A.273)

x · dx ¸ 2 ¹1 x

17 4S 3 2S f 1  ] (3)  ¦ 2 9 27 3 3 n 0 (3n  1)

Example 5.4.7. (ln(1  t )) n dt t 0

1

³

(A.274)

(1) n n !] (n  1)

Example 5.4.8. Problem 1139 from CMJ. n

§ ln (1  t ) · ³0 ¨© t ¸¹ dt 1

(A.275)

n 1

n ¦ (1) k 1s (n  1, k ) ] (n  1  k ) k 0

Example 5.4.9. Problem 1117 (CMJ). Here s (n, k ) are the Stirling numbers of the first kind. f

(A.276)

x 2 sech 2 x 1 a 1§ 2 2 a 1· ³f a  tanh x dx 12 ln a  1 ¨© S  ln a  1 ¸¹

( a ! 1 ). Example 5.4.10. Problem 11418 (AMM).

Special Techniques for Solving Integrals

370

2

S4

§ Li (1)  Li ( x) · ³0 ¨© 2 1  x 2 ¸¹ dx 1

(A.277)

15

Example 5.4.11. This is Problem 12127 from AMM. f

³

(A.278)

ln( x 4  2 x 2  2) x x2  1

1

dx S ln(2  2)

Example 5.4.12. Problem 12184 (AMM). f

cos O x ³0 x 4  b4 dx

(A.279)

S 2b

3



Ob 2

e

2

Ob Ob · §  sin ¨ cos ¸ 2 2¹ ©

where O t 0, b ! 0 . In particular, with O f

³x

4

0

0

S

1 dx  b4

2b3 2

Example 5.4.13. Also in this example f

x sin O x ³0 x 4  b4 dx

(A.280)

S 2b

f

(A.281)



sin(2n  1) x 1 dx sin x x2  a2 0

³

Ob

e 2

2

S §1

sin

¨ e a©2

Ob 2

 ( n 1) a

Example 5.4.14. Here a ! 0 and n t 1 is an integer. 1

(A.282)

arctan x dx G x 0

³

Section 5.5. ( G is Catalan’s constant). Also there 1

(A.283)

ln x

³1 x 0

2

dx

G

. sinh na · ¸ sinh a ¹

List of Solved Integrals S /2

t

³ sin t dt

(A.284)

371

2G

0

f

t

³ cosh t dt

(A.285)

2G

0

ln(1  x 2 ) dx 1  x2 0

S

1

S

1

³

(A.286a)

2

ln(1  x 2 ) dx 2 1  x 0

³

(A.286b)

2

1

§ arctan x · ¨ ¸ dx x © ¹ 0

³

(A.287)

S /4

³

(A.288)

0

2

§ t · ¨ ¸ dx © sin t ¹

1

(arctan t ) 2 ³0 t d t

(A.289)

4

S 4

S 4

ln 2  G

ln 2  G

ln 2 

ln 2 

16

S2 16

G

G

S

7 G  ] (3) . 2 8

§ 1  x2 · d x ln ³0 ¨© x ¸¹ 1  x 2 1

(A.290a)

S2

S 2

ln 2

Example 5.5.1. Also there

§ 1  x2 · d x ln ³0 ¨© x ¸¹ 1  x 2 1

(A.290b) 1

(A.291) Example 5.5.2.

1 2 ³0 x 2 ln(1  x ) arccos x dx

S 4

ln 2 .

S2 4

 4G

Special Techniques for Solving Integrals

372

1

1

³ x ln(1  D x

(A.292)

2

) arccos x dx

0



ln 4 ¨©

2

1 1D 1 1D ·  2 Li 2 ¸ 2 2 ¹

Example 5.5.3. Here | D | d 1 . In particular, with D

S

1

1 2 ³0 x ln(1  x ) arccos x dx

(A.293) f

(A.294)

ln(1  O x) dx 1  x2 0

S

³

4

2

ln 2 2 

1

S3 24

ln(1  O 2 )  ln O arctan O  Ti 2 (O )

( O ! 0 ). In particular, with O 1 f

ln(1  x) dx 1  x2 0

³

(A.295)

S 4

ln 2  G

Example 5.5.4. S /2

³ ln(1  tan x) dx

(A.296)

0

S 4

ln 2  G

Example 5.5.5. Also there S /4

³ ln(1  tan x) dx

(A.297)

0

S 8

ln 2 .

S /2

³ arcsinh(cos x)dx

(A.298)

G

0

Example 5.5.6. Also there S /2

(A.299)

³ ln(cos x  0

.

1  cos 2 x ) dx G .

List of Solved Integrals 1 1

dx dy

³ ³ (1  xy)(1  x)(1  y)

(A.300)

373

ln 2

0 0

Example 5.6.2. Also there § 2 ·

1

dx

³ ln ¨© 1  x ¸¹ (1  x)

(A.301)

ln 2 .

2

0

f

ln (1  t ) dt t2 1

³

(A.302)

2ln 2 .

S2

1 1

dx dy ³0 ³0 (1  xy)(1  x)(1  y)

(A.303)

24

Example 5.6.3. Also there (A.304)

§ 2 · dx ³0 ln ¨© 1  x ¸¹ 1  x 2

(A.305)

ln (1  t ) ³0 t d t

S2

1

1

24

S2 12

.

1 1

x2 y 2 ³0 ³0 (1  x 2 y 2 ) (1  x) (1  y) dx dy

(A.306)



S2 48



S

7 G ln 2  (ln 2) 2  . 8 8 2

Example 5.6.4. log(t ) log 2 (1  t ) dt ³ 1 t

(A.307)

log 2 (1  t ) Li 2 (1  t )  2log(1  t ) Li3 (1  t )  2 Li 4 (1  t )  C

Section 5.7.1. Also there

Special Techniques for Solving Integrals

374

1

(A.308)

³ t (1  t ) Li

(A.309)

³

p

§ t · ¨ ¸ dt ©1 t ¹

§ t · Li p 1 ¨ ¸C ©1 t ¹

log(t ) log(1  t ) dt 1 t

log(1  t ) Li 2 (1  t )  Li3 (1  t )  C . t

Li 2 ( x) dx 1 x 0

³

(A.310)

ª S2 º 2 > Li3 (1  t )  ] (3)@  log(1  t ) « Li 2 (1  t )  » 6 ¼ ¬ ( 0  t  1 ). Section 5.7.2. 1 1

dx dy

³ ³ (1  x y z )(1  x)(1  y)

(A.311)

0 0

ª §1 z · 1 ­ § 1 ·º ½ 2 ®Li 2 ( z )  log 2  2 « Li 2 ¨ ¸  Li 2 ¨ ¸ » ¾ . 1 z ¯ © 2 ¹¼ ¿ ¬ © 2 ¹ Section 5.7.3. f

cos x sin x dx x 0

³

(A.312)

S 4

Section 5.8. Also there f

(A.313)

sin(a x)sin(bx) dx x 0

³

1 ab ln 2 ab

( a, b ! 0, a z b ) f

(A.314)

sin(a x) cos(bx) dx x 0

³

S 2

List of Solved Integrals

375

(a ! b ! 0 ) f

S

cos 2 x sin x dx ³0 x

(A.315) f

cos 2 n x sin x dx ³0 x

(A.316)

4 2

f

2 n § sin x · ³0 cos x ¨© x ¸¹ dx

1 § 2n · S ¨ ¸ 4n © n ¹ 2 f

(A.317)

sin 2 n 1 x ³0 x dx f

³ | sin x |

(A.318)

0

f

³e

(A.319)

O x

0

2

f

2 n § sin x · ³0 sin x ¨© x ¸¹ dx

sin x dx x

f

³ | cos x | 0

1 § 2n · S ¨ ¸ 4n © n ¹ 2

sin x dx 1 . x

O 1 §1 · §O· ¨  coth x ¸ dx \ ¨ ¸  ln  2 O ©2¹ ©x ¹

Example 5.9.1. Here Re O ! 0 . Also in this example f

³e

(A.320)

O x

0

f

(A.321)

³e 0

O x

1 · §1 § O  1 ·  ln O . ¸ ¨  ¸ dx \ ¨ 2 © 2 ¹ © x sinh x ¹

1 · dx § ¨1  ¸ © cosh x ¹ x

*

 ln O 4 O 3 4

2ln *

O 1 4

Example 5.9.2. f

(A.322)

cosh(2 yt ) dt 2x (t ) 0

³ cosh

22 x  2

* ( x  y )* ( x  y ) *(2 x)

( Re x ! 0, Re x ! | Re y | ) Example 5.9.3. Also there

Special Techniques for Solving Integrals

376

f

Sy sin S y

f

Sy sinh S y

cosh(2 yt ) dt cosh 2 (t ) 0

³

(A.323)

cos(2 yt ) dt 2 (t ) 0

³ cosh

(A.324) f

2S y (1  y 2 ) 3sin S y

cosh(2 yt ) ³0 cosh 4 (t ) d t

(A.325)

f

2S y (1  y 2 ) 3sinh S y

cos(2 yt ) ³0 cosh 4 (t ) d t

(A.326) f

2n t ³ t e cos(2 xt ) dt 2

(A.327)

0

(1) n S  x 2 e H 2 n ( x) 22 n 1

Example 5.9.4. Here H k ( x) are the Hermite polynomials. Also there f

(A.328)

(1) n S  x 2 e H 2 n 1 ( x) . 22 n  2

2 n 1  t ³ t e sin(2 xt ) dt 2

0

S

³e

(A.329)

O cos x

cos(nx)dx S I n (O )

0

Example 5.9.5. Here I n (O ) ( n 0,1, 2,...) are the modified Bessel functions of the first kind. In particular S

³e

(A.330)

O cos x

dx S I 0 (O )

0

S

³e

(A.331)

f

cos x

0

S

(A.332)

1 . 2 0 4 ( p !)

dx S ¦ p

p

ln(cosh x  sinh x cos y ) 2 dy S ln cosh x  sinh x cos y 1  cosh x 0

³

Example 5.9.6. Also in this example

List of Solved Integrals S

(A.333)

ln 2 (cosh x  sinh x cos y ) ³0 cosh x  sinh x cos y dy ff

(A.334)

377

§ 1  cosh x · . 2S Li 2 ¨ ¸ 2 © ¹

sin( x)sin( x  y ) ³0 ³0 x( x  y) dxdy

S2 8

Example 5.9.7. f

(A.335) Example 4.2.6.

sin 2 x  x sin x dx ³0 x3

1  ln 2 . 2

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

References

[1]

Naum I. Akhiezer, Elements of the Theory of Elliptic Functions, Amer. Math. Soc. (1990).

[2]

Jacob Ablinger, Discovering and proving infinite binomial sums identities, Experimental Mathematics, 26 (1) 2017.

[3]

Victor Adamchik, On Stirling numbers and Euler sums, J. Comput. Appl. Math., 79 (1) (1997), 119-130.

[4]

Matthew Albano, Tewodros Amdeberhan, Erin Beyerstedt and Victor H. Moll, The integrals in Gradshteyn and Ryzhik. Part 15: Frullani integrals, SCIENTIA, Series A: Mathematical Sciences, Vol. 19 (2010), 113–119.

[5]

Harry Bateman, Artur Erdelyi, Tables of Integral Transforms, Volumes I & II], McGraw Hill 1954.

[6]

Bruce C. Berndt, Ramanujan’s notebooks, Part 1. Springer 1983.

[7]

George Boros, Victor H. Moll, Irresistable Integrals, Cambridge University Press, 2004.

[8]

Khristo N. Boyadzhiev, Notes on the Binomial Transform, World Scientific, 2018.

[9]

Khristo N. Boyadzhiev, Evaluation of series with binomial sums, Anal. Math., 40 (1) (2014), 13-23.

[10] Khristo N. Boyadzhiev, Some integrals related to the Basel problem, SCIENTIA. Series A: Mathematical Sciences, 26 (2015), 1-13. Also arXiv: 1611.03571 [math.NT] [11] Khristo N. Boyadzhiev, Power series with skew-harmonic numbers, dilogarithms, and double integrals, Tatra Mountain Math. Publications, 56 (2013), 93-108. [12] Khristo N. Boyadzhiev, Evaluation of one exotic Furdui type series, Far East J. Math. Sci., 75 (2) (2013), 359-367.

379

380

Special Techniques for Solving Integrals

[13] Khristo N. Boyadzhiev, Series Transformation Formulas of Euler Type, Hadamard Product of Functions, and Harmonic Number Identities, Indian J. Pure Appl. Math., 42 (2011), 371-387. [14] Khristo N. Boyadzhiev, Exponential polynomials, Stirling numbers, and evaluation of some Gamma integrals, Abstract Appl. Anal., Volume 2009, Article ID 168672 (electronic). [15] Khristo Boyadzhiev, Larry Glasser, Solution to problem 883, The College Math. Journal, 40 (4) (2009), 297-299. [16] Khristo N. Boyadzhiev, Louis Medina and Victor H. Moll, The integrals in Gradshteyn and Ryzhik, Part 11: The incomplete beta function, SCIENTIA: Series A: Mathematical Sciences, 18 (2009), 61-75. [17] Khristo N. Boyadzhiev, Victor H. Moll, The integrals in Gradshteyn and Ryzhik, Part 21: Hyperbolic functions, SCIENTIA: Series A: Mathematical Sciences, v. 22 (2012), 109-127. [18] Khristo Boyadzhiev, Hans Kappus, Solution to problem E 3140, Amer. Math. Monthly, 95 (1), (1988), 57-59. [19] Sergio Bravo, Ivan Gonzalez, Karen Kohl, and Victor H. Moll, Integrals of Frullani type and the method of brackets, Open Math. 15 (1) (2017), 1-12. [20] Yuri A. Brychkov, Handbook of Special Functions, CRC Press, 2008. [21] Hongwey Chen, Parametric differentiation and integration, Internat. J. Math. Ed. Sci. Tech. 40 (4) (2009), 559-579. [22] Lokenath Debnath, Dambaru Bhatta, Integral Transforms and Their Applications, Chapman and Hall/CRC, 2007. [23] Grigorii M. Fikhtengol’ts, A Course of Differential and Integral Calculus (Russian), Vol. 1, Vol. 2, Vol. 3, Nauka, Moscow, 1966. (Abbreviated version in English: The Fundamentals of Mathematical analysis, Vol. 2, Pergamon Press, 1965.) [24] M. Laurence Glasser, A remarkable property of definite integrals, Math. Comp., 40 (162) (1983), 561-563

References

381

[25] Izrail S. Gradshteyn and Iosif M. Ryzhik, Tables of Integrals, Series, and Products, 8th edition, Academic Press, 2014. [26] Eldon R. Hansen, A Table of Series and Products, Prentice Hall, 1975. [27] Godfrey H. Hardy, On the Frullanian integral (formula), Quarterly J. Math. 33 (1902) 113-144. [28] Godfrey H. Hardy, On differentiation and integration under the integral sign, Quarterly J. Pure and Applied Math, 32 (1901), 66-140. (Continued as Quarterly J. Math.) [29] Omar Hijab, Introduction to Calculus and Classical Analysis, Springer, 1997.

[30] Paul Koosis, Introduction to Hp spaces, Cambridge University Press, 1980.

[31] Dan Kalman and Mark McKinzie, Another way to sum a series: generating functions, Euler, and the dilog function, Amer. Math. Monthly, 119 (1) (2012), 42-51. [32] Derrick H. Lehmer, Interesting series involving the central binomial coefficient, Amer. Math. Monthly, 92 (7) (1985), 449-457. [33] Leonard Lewin, Polylogarithms and associated functions, North Holland, 1981. [34] Constantin C. Maican, Integral Evaluations Using the Gamma and Beta Functions and Elliptic Integrals in Engineering, International Press, 2005. [35] Victor H. Moll, Special Integrals of Gradshteyn and Ryzhik: the Proofs - Volumes 1 and 2, CRC, 2016. [36] Habib Bin Muzaffar, A New Proof of a Classical Formula, Amer. Math. Monthly, 120, No. 4 (2013), 355-358. [37] Paul J. Nahin, Inside Interesting Integrals, Springer, 2015. [38] Niels Nielsen, Die Gammafunktion, Chelsea, 1965.

382

Special Techniques for Solving Integrals

[39] Niels Nielsen, Theorie des Integrallogarithmus, Teubner, Leipzig, 1906. [40] Frank W. Olver et al (editors), NIST Handbook of Mathematical Functions, Cambridge Univ. Press, 2010. [41] Nikolai S. Piskunov, Differential and Integral Calculus, Groningen: P. Noordhoff, 1969. [42] Alexander D. Poularikas, The Transformations and Applications Handbook, CDC Press, 1996 [43] Anatoli P. Prudnikov, Yuri. A. Brychkov, Oleg. I. Marichev, Integrals and Series, vol. 1 Elementary Functions, Gordon and Breach 1986. [44] Nico M. Temme, Special Functions, John Wiley, 1996. [45] Edward Charles Titchmarsh, The Theory of the Riemann Zeta-function, (second edition), Clarendon Press, Oxford, 2001 [46] Georgi P. Tolstov, Fourier Series, Dover, 1976. [47] J. Trainin, Integrating expressions of the form sinn x / xm and others, Math. Gazette, 94 (2010), 216-223. [48] Edmund Taylor Whittaker, George Neville Watson, A Course of Modern Analysis, (fourth edition), Cambridge University Press, 1992. [49] Joseph Wiener, Differentiation with respect to a parameter, College Mathematics Journal, 32, No. 3. (2001), pp. 180-184. [50] Frederick S. Woods, Advanced Calculus: A Course Arranged with Special Reference to the Needs of Students of Applied Mathematics. New Edition, Ginn and Co., Boston, MA, 1934. [51] Aurel J. Zajta, Sudhir K. Goel, Parametric integration techniques, Math. Magazine, 62 (5) (1989), 318-322. [52] Don Zagier, The Dilogarithn Function, Frontiers in Number Theory, Physics, and Geometry II, Springer, 2007, 3-65.

References

383

[53] 66th Annual William Lowell Putnam Mathematical Competition, Math. Magazine, 79 (2006), 76-79. [54] Ilan Vardi, Integrals, an Introduction to Analytic Number Theory, Amer. Math. Monthly, 95 (4), (1988), 308-315. [55] Hassan Jolany, An extension of Lobachevsky formula, Elemente der Mathematik, 73 (3) (2018), 89-94.

B1948

Governing Asia

This page intentionally left blank

B1948_1-Aoki.indd 6

9/22/2014 4:24:57 PM

Index

Fourier’s cosine transform, 70 Fresnel integrals, 148, 149 Frullani integral, 221, 224 Frullani’s formula, 46, 219, 223, 224 gamma function, 154, 181, 184, 210, 239, 321, 324 Gauss formula, 2, 27, 29 Gaussian integral, 39, 53, 54, 55 General Trigonometric Substitution, 22 Glaisher-Kinkelin constant, 127, 197, 237 harmonic numbers, 161, 163 Hecke’s integral, 75 Hermite polynomials, 326, 327 hyperbolic substitutions, 2, 17 inverse tangent integral, 275 Kummer’s series, 125 Laplace integrals, 74 Laplace transform, 42, 146, 147, 149, 158, 161, 162 Legendre function, 330 Legendre polynomial, 330 Leibnitz Integral Rule, 79 Leibniz rule, 185 Lerch’s formula, 209 Lobachevsky’s Integral Formula, 318 log-cosine, 104 log-cotangent, 108 log-gamma integral, 104 log-sine, 104, 106, 119 Mellin transform, 184 modified Bessel function of the first kind, 328, 329 Nielsen’s beta function, 120, 170, 176, 234 Parseval’s theorem, 135, 145, 164, 165, 170, 181, 183, 186, 187

Abel’s substitution, 10 Abel-Plana summation formula, 140 Apéry’s constant, 96, 97, 100, 268 arithmetic-geometric inequality, 26 Arithmetic-Geometric Mean, 26, 27, 245 Basel problem, 85, 86, 89, 91 Bernoulli numbers, 145, 200 Binet type formula, 140, 141 Binet’s formula, 123, 124 Catalan’s constant, 45, 212, 264, 268, 270, 271, 276, 277, 284 Chebyshev, 13, 15 Clausen’s function, 108 differential binomial, 12 digamma function, 103, 118, 141, 160, 177, 226, 242 dilogarithm, 86, 104, 113, 256, 275, 292, 301 Dirichlet kernel, 241 elliptic integrals, 29 Euler substitution, 1, 4, 5, 6, 7, 8, 9 Euler’s beta function, 148, 170 Euler’s constant, 118, 226, 232, 243 Euler’s eta function, 190, 234 Euler’s L(s) function, 198 Euler’s numbers, 145, 200, 204, 211 Euler’s substitutions, 2 Euler’s transformation formula, 237 exponential integral, 159, 160, 189 exponential polynomials, 145, 181, 182 First Euler substitution, 3 Formula of Poisson, 215 Fourier cosine transform, 164 Fourier series, 103, 104, 143, 144 Fourier transform, 183, 184, 185, 186, 187

385

386

Special Techniques for Solving Integrals

Poisson’s formula, 216 Pólya’s criterion, 37 polylogarithm, 96, 104, 117, 291, 315 Riemann’s zeta function, 103, 106, 126, 145, 168, 189, 190, 195, 200, 201, 236 Second Euler substitution, 3 sine and cosine integrals, 74 skew-harmonic numbers, 90, 91, 95

Stieltjes constants, 196 Stirling numbers of the first kind, 250 Stirling numbers of the second kind, 182, 250 The second Binet formula, 321 Third Euler substitution, 4 trilogarithm, 301 Wallis integral, 137, 319