Fourier series Created 2026-09-24 Updated 2026-10-13
A Fourier series describes a periodic function through sines and cosines whose frequencies are integer multiples of one base frequency. These Fourier harmonics give a useful alternative to describing the value at every input: each Fourier coefficient measures how much of one oscillating pattern is present. For a real, integrable function of period , the real form is
The cosine formula includes ; the sine formula uses . Thus is the mean value over a period, not itself. The symbol associates a function with its Fourier coefficients; an equality requires a specified kind of convergence, such as pointwise convergence. For general period , replace by and the coefficient prefactor by . Fourier orthogonality explains why integrating against one mode removes the others. [ref].
For a finite example, take
Its mean is , its real Fourier coefficients are , , , and all other vanish. At , the three contributions add to . The function is already a trigonometric polynomial, so retaining these modes reconstructs it exactly. Here is an angular coordinate in radians; if it instead represents time, a base angular frequency must supply the corresponding units.
Figure 1.
Three simple components reconstruct a periodic signal exactly
. The constant function , the cosine , and the sine add to the displayed trigonometric polynomial. The marked input has output . Each contribution can be measured separately by its Fourier coefficient. Details.
The change of viewpoint is useful because many linear problems act separately on these modes. The second derivative maps to and maps in the same way. Consequently a differential equation that is complicated for a whole profile can become a simpler calculation for each Fourier harmonic. A linear time-invariant system similarly has a separate response to each complex exponential. Superposition combines the responses when the relevant sums and operations are justified. [ref].
The infinite case contains a subtlety absent from the finite example. Under pointwise convergence of a piecewise smooth Fourier series, the value at a jump discontinuity is the average of the two one-sided limits. For a square-integrable function, the complex Fourier series instead converges in the norm: the integrated squared error tends to zero. Neither statement says that the error becomes small everywhere at once. A square wave shows the difference vividly through the Gibbs phenomenon.
A historical source for this connection between profiles and modes is Joseph Fourier's 1822 book Théorie analytique de la chaleur. Chapter III develops expansions in sines and cosines while studying the propagation of heat. The heat equation gives a continuing application of this approach. [ref].
Periodic function Created 2026-09-24 Updated 2026-10-14
A periodic function repeats exactly after a nonzero shift of its input. For , a positive period of a function satisfies
One interval of length therefore determines the whole function. For another domain of a function , a period must also preserve the domain, ; equality only where two domains happen to overlap is weaker. Periodicity is an exact translation of a function symmetry, rather than merely two similar-looking pieces of its graph.
The sine has fundamental period one. The function repeats after half a unit: the sine changes sign under that shift, but squaring removes the sign. The mixed function again has fundamental period one. All positive integer multiples of a period are periods, so specifying one period need not identify the shortest repetition.
Figure 1.
Mixed harmonics, a squared sine, and a constant have different sets of periods
. Details.
If the input is time and is the fundamental period, the frequency is and the angular frequency is . Repetition lets a Fourier series describe a cycle using sines and cosines; the period average separates the reference level from the oscillating terms. Strang develops this representation and its Fourier coefficients in §4.1 of Computational Science and Engineering by Gilbert Strang.[ref]
This connection grew out of a physical problem. In his 1822 book Théorie analytique de la chaleur by Joseph Fourier, Joseph Fourier used periodic functions to extend profiles beyond their initial interval while treating heat conduction. Chapter III, §§233–234 combines even functions and odd functions into sine–cosine expansions and rescales their period.[ref] A modern Fourier series interpretation still requires the appropriate convergence conditions.
A constant function has every real shift as a period and no fundamental period. Without continuity, even a nonconstant periodic function can lack a smallest positive period; periodic function without a least positive period gives a concrete example. The period group of a function organizes all these possibilities.