therimalaya
- 7
- 0
May be simple, but I'm getting problem with doing Fourier series expansion of Sin(x) for -pi\leqx\leqpi
The discussion focuses on the Fourier series expansion of the function Sin(x) over the interval -π ≤ x ≤ π. The correct formula for the Fourier expansion is given by f(x) = a0 + Σ(an cos(nx) + bn sin(nx)), where a0 = (1/π) ∫ f(x) dx, an = (1/2π) ∫ f(x) cos(nx) dx, and bn = (1/2π) ∫ f(x) sin(nx) dx. Participants clarified that a0 should use 1/π, while an and bn should use 1/2π, and emphasized the importance of using definite integrals for accurate calculations. The need to check integration boundaries was also highlighted to avoid errors in coefficient calculations.
PREREQUISITESMathematicians, physics students, engineers, and anyone interested in signal processing or harmonic analysis will benefit from this discussion on Fourier series expansion.
CompuChip said:What does the formula for the Fourier expansion of a general function f(x) look like?
Defennder said:Isn't it supposed to be 1/pi for both a_n and b_n and 1/2pi for a_0? And in the formulae for a_n, b_n, these are supposed to be definite integrals not indefinite ones.
CompuChip said:Anyway, for the sine you can either calculate all these
----------------
HallsOfIvy, you may be right, didn't notice that. Asked the mods to look into it and maybe split the thread.[/size]