- #1
teme92
- 185
- 2
Homework Statement
I'm calculating the coefficients for the Fourier series and I got to part where I can't simplify an any further but I know I have to.
[tex]a_n = \frac{1}{2π}\Big[\frac{cos(n-1)π}{n-1}-\frac{cos(n+1)π}{n+1}-\frac{1}{n-1}+\frac{1}{n+1}\Big][/tex]
Homework Equations
The Attempt at a Solution
I have found an example where the above line goes straight to:
[tex]a_n=-\frac{1}{2π}(1+(-1)^n)\frac{2}{(n-1)(n+1)}[/tex]
I don't know how you get from one line to the next. If anyone could explain this to me, it would be greatly appreciated.