Definition of Fourier series
The continuous-time Fourier series (CTFS) decomposes any periodic signal into a weighted sum of harmonically related complex exponentials (or equivalently, sinusoids). This decomposition is the starting point for nearly all frequency-domain analysis in signal processing: once you can express a signal in terms of its frequency components, you can filter it, pass it through LTI systems, or compress it by keeping only the dominant terms.
Two equations define the entire framework: the analysis equation (signal → coefficients) and the synthesis equation (coefficients → signal).
Representation of periodic signals
A signal is periodic with period if for all . The Fourier series expresses such a signal as an infinite sum of complex exponentials whose frequencies are integer multiples of the fundamental frequency:
The -th component oscillates at frequency . Because every component frequency is an integer multiple of , they are all harmonically related, which guarantees the sum is itself periodic with period .
Synthesis equation
The synthesis equation reconstructs from its Fourier series coefficients:
Each term is a complex exponential at the -th harmonic. The coefficient carries both the amplitude and phase of that component. Summing over all (positive, negative, and zero) recovers the original signal.
Analysis equation
To find the coefficients, you project onto each basis function :
This is an inner-product operation. You're measuring how much of the -th harmonic is "present" in . The integration interval can be any contiguous interval of length ; using or is a matter of convenience.
The resulting is in general a complex number. Its magnitude gives the amplitude of the -th harmonic, and its angle gives the phase.
Properties of Fourier series
These properties let you manipulate signals in the frequency domain without re-evaluating the analysis integral every time. In the notation below, means " has Fourier series coefficients ."
Linearity
If and (both with the same period ), then:
This follows directly from the linearity of integration. It means you can analyze complicated signals by breaking them into simpler pieces, finding each piece's coefficients, and combining the results.
Time shifting
Delaying a signal by multiplies each coefficient by a phase factor:
The magnitudes stay the same, so a time shift changes only the phases of the harmonics, not their amplitudes. This is why the magnitude spectrum is shift-invariant.
Time scaling
Compressing or stretching in time changes the period. If has period and coefficients , then has period and a new fundamental frequency . The coefficient values themselves do not change; what changes is the set of harmonic frequencies they correspond to. (The scaling that appears in the Fourier transform pair does not apply to the Fourier series coefficients directly, because the normalization by in the analysis equation absorbs it when the period changes.)
Time reversal
Reversing the signal in time reverses the index of the coefficients. For a real-valued signal, conjugate symmetry () means time reversal is equivalent to conjugating the coefficients.
Conjugate symmetry
For any real-valued signal :
This has practical consequences:
- (the magnitude spectrum is even)
- (the phase spectrum is odd)
- is always real (it's the DC/average value)
You only need to compute coefficients for ; the negative-index coefficients follow immediately.
Parseval's theorem
Parseval's theorem equates the average power of a periodic signal in the time domain to the sum of squared magnitudes of its coefficients:
The left side is the average power computed from the waveform. The right side distributes that same power across individual harmonics. This is useful for determining how much power resides in specific frequency bands and for verifying coefficient calculations.
Fourier series coefficients

Calculation of coefficients
The procedure for finding :
- Identify the period and compute .
- Choose a convenient integration interval of length (e.g., or ).
- Evaluate the analysis integral:
- Simplify using symmetry whenever possible. For example, if is even, the sine components vanish and you only need cosine integrals.
Trigonometric vs exponential form
The exponential (complex) form uses complex exponentials summed over all integers:
The trigonometric (real) form uses cosines and sines summed over non-negative integers:
The exponential form is more compact and easier to manipulate algebraically. The trigonometric form is sometimes more intuitive because and are real numbers that directly give cosine and sine amplitudes.
Relationship between coefficients
For a real-valued signal, the two sets of coefficients are related by:
Going the other direction:
- for
- for
Symmetry of coefficients
For real-valued signals:
- Conjugate symmetry:
- Even signals (): all are real, and
- Odd signals (): all are purely imaginary, and
Recognizing these symmetries before computing can cut your work roughly in half.
Convergence of Fourier series
Not every periodic signal has a well-behaved Fourier series. Convergence conditions tell you when the series actually represents the signal faithfully.
Dirichlet conditions
The Dirichlet conditions are sufficient (not necessary) for convergence. A periodic signal has a convergent Fourier series if, over one period:
- is absolutely integrable:
- has a finite number of discontinuities.
- has a finite number of maxima and minima.
When these hold, the Fourier series converges to at every point of continuity. At a discontinuity, it converges to the midpoint of the left- and right-hand limits: .
Gibbs phenomenon
When you truncate the Fourier series to terms near a discontinuity, you'll see oscillatory overshoots and undershoots. This is the Gibbs phenomenon.
The peak overshoot is approximately 9% of the jump size, and this percentage does not decrease as you add more terms. What does happen is that the oscillations get squeezed into a narrower region around the discontinuity. In the limit , the overshoot is confined to an infinitesimally thin region, but it never disappears for any finite truncation.
Uniform vs pointwise convergence
- Pointwise convergence: the partial sum converges to at each individual point , but the rate of convergence can vary across the period.
- Uniform convergence: the partial sum converges to at the same rate everywhere. The maximum error over the entire period goes to zero.
For continuous periodic signals satisfying the Dirichlet conditions, the Fourier series converges uniformly. For signals with discontinuities, convergence is only pointwise because the Gibbs phenomenon prevents the maximum error from vanishing at any finite truncation order.
Fourier series for common signals
Working through standard waveforms builds intuition about how time-domain shape maps to frequency content.
Square wave
A square wave of amplitude , period , and 50% duty cycle (symmetric about the origin) has only odd harmonics:
The amplitudes fall off as , which is relatively slow. This slow decay reflects the sharp discontinuities in the waveform and is why you need many terms to get a decent approximation (and why Gibbs phenomenon is prominent here).
Sawtooth wave
A sawtooth wave rising linearly from to over one period has both even and odd harmonics:
Amplitudes again decay as . Like the square wave, the sawtooth has jump discontinuities, so convergence is slow and Gibbs phenomenon appears.

Triangular wave
A triangular wave of amplitude and period has only odd harmonics, but the amplitudes decay as :
The faster decay comes from the fact that the triangular wave is continuous (no jumps). Smoother signals have coefficients that decay faster, so fewer terms are needed for a good approximation.
Full-wave rectified sine
Taking produces a signal with period (twice the original fundamental frequency). Its Fourier series contains a DC term and even harmonics of the original frequency:
where indexes harmonics of the new fundamental . The coefficients decay as because the waveform is continuous.
Applications of Fourier series
Filtering in frequency domain
Once a signal is decomposed into harmonics, you can selectively modify individual components. Multiplying each by a frequency-dependent gain implements a filter:
- Low-pass: keep low- coefficients, attenuate high-
- High-pass: attenuate low-, keep high-
- Band-pass: keep coefficients in a specific range of
This is far simpler than trying to design the equivalent operation directly in the time domain.
Approximation of signals
Truncating the Fourier series to terms gives the best -term approximation in the least-squares sense. This is the foundation of signal compression: if the coefficients decay quickly, a small number of terms captures most of the signal's energy (by Parseval's theorem). You can quantify the approximation quality by checking what fraction of total power is captured by the retained terms.
Analysis of LTI systems
For an LTI system with frequency response , the response to a periodic input is straightforward:
- Decompose the input:
- Each harmonic passes through the system independently: the -th harmonic gets scaled by
- The output coefficients are
- Synthesize the output:
This works because complex exponentials are eigenfunctions of LTI systems.
Solving differential equations
For ODEs or PDEs with periodic boundary conditions or periodic forcing:
- Express the unknown solution as a Fourier series with undetermined coefficients.
- Substitute into the differential equation.
- Exploit the orthogonality of the complex exponentials to obtain an algebraic equation for each .
- Solve for the coefficients individually.
This converts a differential equation into an (often simpler) set of algebraic equations. The technique is widely used in heat conduction, vibration analysis, and electromagnetic field problems.
Relationship with other transforms
Fourier series vs Fourier transform
The Fourier series handles periodic signals and produces a discrete set of coefficients at frequencies . The Fourier transform handles aperiodic signals and produces a continuous spectral density .
You can connect them by letting : the harmonic spacing shrinks to zero, the discrete coefficients merge into a continuous function, and the Fourier series sum becomes the inverse Fourier transform integral. Formally, as .
Discrete-time Fourier series
The discrete-time Fourier series (DTFS) is the counterpart for discrete-time periodic sequences with period . The key difference: because discrete-time complex exponentials are periodic in frequency, the DTFS has only distinct coefficients (), not infinitely many. The analysis and synthesis equations mirror the continuous-time case but use finite sums instead of integrals.
Fourier series vs Laplace transform
The Laplace transform uses a complex frequency variable , which allows it to handle signals with exponential growth or decay and to incorporate initial conditions. The Fourier series is essentially the Laplace transform evaluated along the imaginary axis () and restricted to periodic signals. If a signal is periodic and stable, both tools give equivalent frequency-domain information, but the Laplace transform is more general for transient and stability analysis.