Fourier serier with complex integral

36 Views Asked by At

I have a problem with a long calculus of Fourier series coefficient.

The integral is $\int_{-\pi}^{\pi} x^4 cos{nx} dx$.

How can resolve quickly with $\int_{-\pi}^{\pi} x^4 e^{-inx} dx$ instead of integral by parts??

Thank you

1

There are 1 best solutions below

3
On BEST ANSWER

HINT:

$$\int_a^b x^4\cos(nx)dx=\text{Re}\int_a^b x^4e^{-inx}dx=\text{Re}\frac{\partial^4}{\partial n^4}\int_a^b e^{-inx}dx$$ and $$\int^\pi_{-\pi}e^{-inx}dx=\frac{e^{-\pi ni}-e^{\pi ni}}{-ni}=\frac2n \sin(n\pi)$$