How can I evaluate \int_{-\infty}^\infty\frac{\cos x}{\cosh x}dx and \int_0^\infty\frac{\sin x}{e^x-1}dx

Oberlaudacu

Oberlaudacu

Answered question

2022-01-03

How can I evaluate
cosxcoshxdx and 0sinxex1dx

Answer & Explanation

Janet Young

Janet Young

Beginner2022-01-04Added 32 answers

Expand sech x in an infinite series in ex:
2ex(1+e2x)=2k=0(1)ke(2k+1)x
Interchange the order of integration, and you are left with integrals of the form
0eaxcosxdx
which can be done using integration by parts, to avoid complex numbers totally, with the result a1+a2. Hence the integral is equal to
k=0(1)k1+2k1+2k+2k2
Okay, and now it is time once again for ''Special Functions and Pray''. Using the usual tricks, one can express infinite sums in terms of the digamma function as follows: first, write the summand in partial fractions as
1+2k1+2k+2k2=12(1k+a+1k+a)
where a is the complex root of the denominator, 1+i2. Now we have the identity
k=0K1k+a=ψ(K+a+1)ψ(a+1)
where ψ=(logΓ) as usual. However, this is not good enough: we have to deal with the (1)k. This we do by splitting into the even and odd cases: some algebra shows the result we want is
k=0K(1)kk+a=12(1)Kψ(a2+K2+1)12(1)Kψ(a2+K2+12)12ψ(a2)+12ψ(a2+12)
Now, this sum actually converges by comparison with the alternating harmonic series, the details of which I omit. Hence we can take the limit as k. The problem is what happens to the terms
12(1)K(ψ(a2+K2+1)ψ(a2+K2+12)),
but a slight abuse of Stirling's approximation shows that this term is O(lognlog(n+12))=o

censoratojk

censoratojk

Beginner2022-01-05Added 46 answers

We have
I=0cos(x)(ex+ex2)dx=02excos(x)1+e2xdx=k=02(1)k0e(2k+1)xcos(x)dx
=2k=0(1)kfk
where
fk=0e(2k+1)xcos(x)dx=i=0(1)l(2l)!0e(2k+1)xx2ldx
=l=0(1)l(2l)!0ett2ldt(2k+1)2l+1
=(2k+1)(2k+1)2+1
Hence, we have
I=2k=0(1)k(2k+1)(2k+1)2+1=π2cosh(π2)
karton

karton

Expert2022-01-11Added 613 answers

You may prove through differential equations that 1coshx is almost a fixed point of the Fourier transform, meaning that
F(1coshx)=π21coshπs2
according to Mathematica's standard choice of normalization constants.
Similarly, in the sense of distributions
F(cosx)=π2[σ(s1)+σ(s+1)]
hence, by parity, it follows that
0+cosxcoshxdx=12Rcosxcoshxdx=π21coshπs2|s=1=π2coshπ2=πeπ/2eπ1

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?