Calculating Coefficients of Fourier Series Homework

Click For Summary

Homework Help Overview

The discussion revolves around calculating the coefficients for a Fourier series, specifically focusing on simplifying the expression for a_n. The original poster presents a complex formula and seeks clarification on how to simplify it to a more concise form.

Discussion Character

  • Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants explore the relationship between cosine values and their implications for simplifying the Fourier series coefficients. Questions arise regarding the substitution of cosine terms with their equivalent expressions involving (-1)^n.

Discussion Status

There is ongoing exploration of the simplification process, with participants attempting to substitute values and check for correctness. Some guidance is offered on verifying results by substituting integer values for n, but no consensus on the final expression has been reached.

Contextual Notes

Participants are navigating the complexities of the Fourier series coefficients, with some expressing uncertainty about the implications of their substitutions and the need for verification against the original expression.

teme92
Messages
185
Reaction score
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.

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]

Homework Equations

The Attempt at a Solution


I have found an example where the above line goes straight to:

a_n=-\frac{1}{2π}(1+(-1)^n)\frac{2}{(n-1)(n+1)}

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.
 
Physics news on Phys.org
What is ##\cos(n\pi)##?
 
-1 for n = odd and 1 for n = even.
 
So how can you write this on a more concise form?
 
(-1)^n
 
So how can you apply this to your problem?
 
I've tried subbing (-1)n in for both of the cos parts but it doesn't simply to what is given.
 
teme92 said:
I've tried subbing (-1)n in for both of the cos parts but it doesn't simply to what is given.

Yes it does; start again.
 
When I sub in and simplify I'm getting:

a_n = \frac{1}{2π}\Big[\frac{(-1)^n + (-1)^n}{(n-1)(n+1)}\Big]
 
Last edited:
  • #10
Observe that you have ##\cos[(n-1)\pi]## and that you have some other terms too.
 
  • #11
a_n = \frac{1}{2π}\Big[\frac{(-1)^n}{n-1}-\frac{(-1)^n}{n+1}-\frac{1}{n-1}+\frac{1}{n+1}\Big]

Is this correct?
 
  • #12
teme92 said:
a_n = \frac{1}{2π}\Big[\frac{(-1)^n}{n-1}-\frac{(-1)^n}{n+1}-\frac{1}{n-1}+\frac{1}{n+1}\Big]

Is this correct?
Why don't you try inserting a few values to check?
 
  • #13
What would I be checking for?
 
  • #14
That the values that come out of your formula agree with the original expression.
 
  • #15
If I put integers in for n will the result not be a single number?
 
  • #16
Yes, but it will be different for different n of course. I said "inserting a few values".
 
  • #17
n=0: a_n = 0

n=1: a_n = \frac{1}{2π}(has zero dividers though)

n=2: a_n = \frac{1}{12π}
 
  • #18
And if you use the same values in the original expression?
 
  • #19
But do I not want there to be n's in my result?
 
  • #20
Yes. But you want to check that you got the right result first. You asked:
teme92 said:
a_n = \frac{1}{2π}\Big[\frac{(-1)^n}{n-1}-\frac{(-1)^n}{n+1}-\frac{1}{n-1}+\frac{1}{n+1}\Big]

Is this correct?

If there is any n for which your new expression does not equal the old, then it is not correct.
 
  • Like
Likes   Reactions: teme92

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K