How would you compute the following integrals? I_n=\int_0^\pi\frac{1-\cos nx}{1-\cos x}dx J_{n,m}=\int_0^{\pi}\frac{x^m(1-\cos nx)}{1-\cos

Wanda Kane

Wanda Kane

Answered question

2022-01-01

How would you compute the following integrals?
In=0π1cosnx1cosxdx
Jn,m=0πxm(1cosnx)1cosxdx

Answer & Explanation

Carl Swisher

Carl Swisher

Beginner2022-01-02Added 28 answers

As for the first integral
In=0π1cosnx1cosxdx=0πsin2(nx2)sin2(x2)dx=2
0π20sin2(nx)sin2(x)dx=20π2(sin(nx)sin(x))2dx=
20π2(exexeixeix)2dx=2
20π2(k=0n1(eix)2k+1n)2dx=2
0π2(k=0n1(eix)2k+1n)(l=0n1(eix)2l+1n)dx=
0π2(eix)2k+2l+22ndx=
2k=0n1l=0n1π2σ2k+2l+22n=πk=0n1l=0n1σ2k+2l+22n
=πn
As for the second... I'll think about it.

Kirsten Davis

Kirsten Davis

Beginner2022-01-03Added 27 answers

The exponential generating function of Jm,n for fixed n is
Gn(t)=m=0Jm,ntmm0πetxsin(nx)2sin(x)2dx
We then have (sin(nx)sin(x))2=n+2j=1n1(nj)cos(2jx) and
Gn(t)=(eπt1)(nt+2j=1n1(nj)tt2+4j2)
For example, G3(t)=(eπt1)(3t+4tt2+4+2tt2+16). Now
eπt1=j=1πjtjj!=πt+π2t22+π3t36+
3t+4tt2+4+2tt2+16=3t+
j=0(1)j(4j+16j8)t2j+1=3t+(1+18)t(14+116×8)t3+
and so Jm,3 is m! times the coefficient of tm in the product of these.
karton

karton

Expert2022-01-09Added 613 answers

Another generating function approach is to set z=eix in
k=0k=0(it)mm!0πxm1cos(nx)1cos(x)dx=0πzt(zn1z1)2dzizn=1i0π(k=1nn1(n|k|)zk+t1)dz=1ik=1nn1(n|k|)(1)keπit1k+t=1eπitt2itk=1n1nkk2t2(1(1)keπit)

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?