Fourier Series Calculator (Coefficients)
Compute the Fourier series coefficients a₀, aₙ and bₙ of f(x) on [−L, L] and the value of the partial sum at any x.
Compute the Fourier series coefficients a₀, aₙ and bₙ of f(x) on [−L, L] and the value of the partial sum at any x.
Results
About This Calculator
a₀ = (1/L)∫f, aₙ = (1/L)∫f cos(nπx/L), bₙ = (1/L)∫f sin(nπx/L). Odd functions have only sine terms, even functions only cosine terms.
Example
Example: f(x) = x on [−π, π] with 10 terms gives 1.096451588 at x = 1 (f = 1).
Assumptions
Coefficients by numerical integration; convergence is slow near jumps (Gibbs phenomenon).
Frequently Asked Questions
What is the Gibbs phenomenon?
An overshoot of about 9% near a jump that doesn't go away as you add terms.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile