WJSwanson
- 79
- 0
Homework Statement
For an even function, the Fourier series takes the form
^{\infty}_{n=0}\Sigma A_n cos(\frac{2\pi n x}{\lambda})
where \lambda is the 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^{\lambda}_0 F(x)dx
(Hint: Integrate F(x) from x = 0 to x = \lambda.)
b.) Prove that, for m > 0,
A_m = \frac{2}{\lambda} \int^{\lambda}_0 F(x) cos(\frac{2\pi m x}{\lambda}) dx
where Am (rather than An) is the Fourier coefficient for reasons that will become apparent in your proof. [Hint: Multiply both sides of equation (6.57) by cos (\frac{2\pi m x}{\lambda}), and integrate from 0 to λ.]
Homework Equations
Equation (6.57): F(x) = ^\infty _{n=0} \Sigma A_n cos(\frac{2\pi n x}{\lambda})
Final result (a) should be: A_0 = \frac{1}{\lambda} \int^{\lambda}_0 F(x) dx
Final result (b) should be: A_m = \frac{2}{\lambda} \int^{\lambda}_0 F(x) cos(\frac{2\pi m x}{\lambda}) dx
For a square wave: A_n = \frac{2}{\pi n} cos(\frac{\pi a n}{\lambda}) (Eq. 6.26)
The Attempt at a Solution
For part (a) I tried integrating as suggested. I ended up with
\int^{\lambda}_0 A_n cos(\frac{2\pi n x}{\lambda})dx = \frac{\lambda A_{n} sin(2\pi n)}{2\pi n}
...which doesn't do anything for me. Substituting 0 for n sets the whole sine argument equal to 0 (which is problematic in its own right, given the known expected outcome) but even worse puts a 0 in the denominator. If I substitute the function for An for an even square wave, I get
\frac{2}{\pi n} * cos(\frac{\pi a n}{\lambda}) * \frac{sin({2\pi n})}{2\pi n}
...which still doesn't do a thing for me, for the same reasons. I'm pretty badly lost here, and I'm not sure where to take the problem.