math calculator
Fourier Series Coefficient Synthesizer
Decompose periodic waveforms (square, triangle, sawtooth) into sine and cosine series coefficients.
Inputs
Results
Formulas
a_0 = 0, \quad a_n = 0, \quad b_n = \frac{4}{n\pi} \quad \text{for odd } n
Fourier Wave Synthesis
Light Blue: Ideal wave | Solid: Fourier summation (N=5)
Harmonic Amplitudes
1.2732
0.4244
0.2546
Step-by-Step Derivation
Fourier expansion for a periodic waveform with fundamental frequency \(f_0 = 1\text{ Hz}\) ($\omega_0 = 6.283\text{ rad/s}$):
A square wave is an odd function, so its cosine coefficients \(a_n\) are zero. The sine coefficients are:
First 5 terms summation: \[f(t) \approx \frac{4}{1\pi} \sin(1\omega_0 t) + \frac{4}{3\pi} \sin(3\omega_0 t) + \frac{4}{5\pi} \sin(5\omega_0 t) + \dots\]
Formula
Fourier Series Waveform Formulas
f(t) = \sum_{n=1,3,5,\dots}^{\infty} \frac{4}{n\pi} \sin(n\omega_0 t)Fourier coefficients decompose periodic waveforms. For odd wave symmetries, cosine coefficients a_n equal zero, simplifying calculations.
Step by step
How the calculation works
- 1Select the Target Waveform (Square, Triangle, or Sawtooth).
- 2Specify the number of Harmonics (N) to sum. Larger N values lead to sharper waveforms.
- 3Set the fundamental frequency (f₀) to scale the time period and observe the frequency distribution.
Related guides
Learn more about this calculation
Guide
Scientific Notation Guide: Powers of Ten Made Practical
Learn how to convert, compare, and calculate with powers of ten using worked examples and the live DTC scientific calculator.
Site Guide
How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide
Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
Scientific
Scientific Calculator
Evaluate trigonometric terms directly.
Laplace Transform
Laplace Transform
Examine transient and frequency-domain solutions.