The Fourier expansion theorem proves that any periodic function $* F(x)$ can be expanded in terms of sines and cosines. If the function happens to be even $[F(x)=F(-x)]$, only cosines are needed and the expansion has the form
$$
F(x)=\sum_{n=0}^{\infty} A_{n} \cos \left(\frac{2 n \pi x}{\lambda}\right)
$$
where $\lambda$ is the period (or wavelength) of the function. In this problem you will see how to find the Fourier coefficients $A_{n}$. (a) Prove that
$$
A_{0}=\frac{1}{\lambda} \int_{0}^{\lambda} F(x) d x
$$
[Hint: Integrate Eq. $(6.57)$ from $x=0$ to $\lambda$. $]$
(b) Prove that for $m>0$,
$$
A_{m}=\frac{2}{\lambda} \int_{0}^{\lambda} F(x) \cos \left(\frac{2 m \pi x}{\lambda}\right) d x(6.59)
$$
where we have labeled the coefficient as $A_{m}$ (rather than $A_{n}$ ) for reasons that will become apparent in your proof. [Hint: Multiply both sides of $(6.57)$ by $\cos (2 m \pi x / \lambda)$, and integrate from 0 to $\lambda$. Using the trig identities in Appendix $\mathrm{B}$, you can prove that $\int_{0}^{R} \cos (2 m \pi x / \lambda) \cos (2 m \pi x / \lambda) d x$ is zero if $m \neq n$
and equals $\lambda / 2$ if $m=n .$ In both parts of this problem you may assume that the integral of an infinite series, $\int\left[\sum g_{n}(x)\right] d x$, is the same as the series of integrals $\left.\sum\left[\int g_{n}(x) d x\right]\right]$