0

I'm learning to the exam and I find this exercise in the book , and I can't think how I solve it.

Given Fourier series for $f(x)$ continuous over $[-\pi, \pi]$.

$$f(x) \approx \frac{a_0}{2} + \sum^\infty_{n=1}a_n\cos(nx) + b_n\sin(nx).$$

Find $\int_{-\pi}^\pi f(x)\cos^2(nx)dx$.

Can you please give me some hints to solve it? thanks in advance.

Billie
  • 3,449
  • 1
    write $\cos^2$ in terms of $\cos$ and/or $\sin$ without the square. Like here: http://upload.wikimedia.org/math/4/d/f/4dfea30e3f140331d990893647d3d5af.png – user66081 Jan 30 '14 at 23:51

1 Answers1

1

As mentioned in comments write $\displaystyle \cos^2(nx) = \frac{\cos (2nx) + 1}{2}$. Use the series value of right hand side and use orthogonality of sines and cosines in $[-\pi, \pi]$. You should get $a_{2n}/2$.

S L
  • 11,731