Fourier series odd and even functions

4 replies · 3K views · last reply
robertjford80
Messages
388
Reaction score
0

Homework Statement



Typeset equations: b_n = 2/(nπ)(1 − (−1)^n), then 'So:' f(x) equals the sum from n=1 to infinity of 2/(nπ)(1 − (−1)^n) sin(nx).





The Attempt at a Solution



I don't understand the step above. It has something to do with this equation

Textbook page showing Fourier coefficient formulas: if f(x) is odd, b_n = (2/l) times the integral from 0 to l of f(x) sin(n pi x / l) dx and a_n = 0; if f(x) is even, a_n = (2/l) times the integral from 0 to l of f(x) cos(n pi x / l) dx and b_n = 0.


I think. I'm supposed to expand it into an appropriate Fourier series.
 
You haven't given us enough information. What is f(x)? You were probably given a function and asked to expand it in a sine series.
 
The "step above" is just applying the definition of the Fourier series:
Are you saying you do not know what that is?
 
here is some more info

Printed textbook problem: Each of the functions in Problems 5 to 12 is given over one period, sketch several periods and decide if even or odd, then expand in a Fourier series. Problem 5: f(x) = -1 for -π < x < 0, and 1 for 0 < x < π.


Hand-drawn style graph of a square wave with values 1 and -1 over several periods, with x-axis marked -2π, -π, π, 2π, and text below giving the odd-function argument and the formula for b_n = (2/L) times the integral from 0 to L of f(x) sin(nπx/L) dx.


Handwritten-style worked derivation of Fourier sine coefficients: b_n = (2/π) ∫ from 0 to π of sin(nx) dx, evaluated step by step to (2/(nπ))(1 − (−1)^n), ending with f(x) = sum from n=1 to infinity of (2/(nπ))(1 − (−1)^n) sin(nx).


I don't understand why they're adding the sin on to that last step.
 
robertjford80 said:
I don't understand why they're adding the sin on to that last step.


What is the definition of a Fourier series?