Calculating Coefficients of Fourier Series Homework

Click For Summary
SUMMARY

The discussion focuses on calculating the coefficients of the Fourier series, specifically the term a_n. The initial expression provided is 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]. Participants clarify that this can be simplified to a_n = -\frac{1}{2π}(1+(-1)^n)\frac{2}{(n-1)(n+1)} by substituting cos(nπ) with (-1)^n. The importance of verifying the correctness of the derived expression by substituting integer values for n is emphasized.

PREREQUISITES
  • Understanding of Fourier series coefficients
  • Familiarity with trigonometric identities, specifically cosine functions
  • Basic algebraic manipulation skills
  • Knowledge of evaluating expressions with variable substitutions
NEXT STEPS
  • Study the derivation of Fourier series coefficients in-depth
  • Learn about trigonometric identities and their applications in simplification
  • Practice evaluating expressions with variable substitutions in mathematical contexts
  • Explore numerical methods for verifying mathematical expressions
USEFUL FOR

Students studying Fourier series, mathematics educators, and anyone involved in signal processing or harmonic analysis.

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
1K
  • · 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