Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A Fourier series is a way to represent a repeating function as a sum of sine and cosine waves. This matters because many real signals, including sound waves, alternating currents, vibrations, and image patterns, are periodic or can be studied as if they repeat. Instead of describing a complicated waveform all at once, Fourier series breaks it into simple building blocks.

The result is a powerful bridge between calculus, trigonometry, and real world signal analysis.

For a function with period 2π, the Fourier series uses a constant term plus cosine and sine terms with frequencies 1, 2, 3, and so on. The coefficients tell how much of each wave is needed, and they are found using integrals over one full period. Adding more terms usually gives a better approximation to the original function, especially away from jumps.

This idea is used in acoustics, electronics, heat flow, quantum mechanics, data compression, and solving differential equations.

Understanding Calculus: Fourier Series Introduction

The key idea behind the coefficient integrals is orthogonality. Over a complete cycle, different sine and cosine frequencies cancel each other out when they are multiplied together and averaged. A sine wave of frequency two does not leave a net contribution when compared with a cosine wave of frequency five.

Each wave is therefore independent in a useful sense. To find one coefficient, calculus measures how strongly the function matches one chosen wave.

This is similar to finding the component of a force in one direction. The integral acts like a careful average, keeping the matching pattern while cancelling patterns that do not match.

Symmetry can make the work much shorter. An even function has mirror symmetry across the vertical axis. Its positive and negative halves match, so every sine contribution cancels over a centered interval.

An odd function has rotational symmetry about the origin. Its constant contribution and all cosine contributions cancel instead. Before doing any integration, sketch the function and check its symmetry.

This often tells you half the answer, or nearly all of it. It also helps catch errors. If an odd function produces a nonzero cosine coefficient, something in the calculation needs checking.

Fourier series do not behave perfectly at every point. For a smooth repeating function, partial sums settle closer to the function as more frequencies are included. At a jump, the series approaches the average of the left-hand height and the right-hand height.

Near that jump, partial sums overshoot and undershoot by a visible amount. This is called the Gibbs phenomenon. Adding more terms squeezes the wiggles into a narrower region, but the largest overshoot does not simply disappear.

Students should not mistake this for a failed calculation. It is a real feature of using smooth waves to model a sharp corner or sudden step.

The period matters because it sets the basic frequency. A function that repeats over a longer interval needs stretched versions of the sine and cosine waves, rather than the standard waves used over the interval from negative pi to pi. In practical work, a microphone records sound at many time steps, so a computer uses sums instead of exact integrals to estimate the frequency content.

Low frequencies often describe broad, slow changes. High frequencies describe rapid detail, sharp edges, or noise.

When studying examples, pay attention to the chosen interval, the symmetry, and whether the graph has jumps. These details determine which terms appear and how well a finite approximation can match the original pattern.

Key Facts

  • For period 2π, f(x) ≈ a0/2 + Σ from n = 1 to ∞ of [an cos(nx) + bn sin(nx)].
  • a0 = (1/π) ∫ from -π to π f(x) dx.
  • an = (1/π) ∫ from -π to π f(x) cos(nx) dx for n ≥ 1.
  • bn = (1/π) ∫ from -π to π f(x) sin(nx) dx for n ≥ 1.
  • If f(x) is even, then bn = 0, so the Fourier series contains only cosine terms and the constant term.
  • If f(x) is odd, then a0 = 0 and an = 0, so the Fourier series contains only sine terms.

Vocabulary

Fourier series
A Fourier series is an infinite sum of sine and cosine functions used to represent a periodic function.
Period
The period is the length of one complete repeat of a function or signal.
Harmonic
A harmonic is a sine or cosine wave whose frequency is an integer multiple of the fundamental frequency.
Fourier coefficient
A Fourier coefficient is a number that measures how much of a particular sine or cosine wave appears in the function.
Orthogonality
Orthogonality means that different sine and cosine waves have zero average product over a full period, which lets coefficients be separated by integration.

Common Mistakes to Avoid

  • Forgetting the a0/2 term is wrong because the average value of the function is represented by half of a0, not by a0 in the final series.
  • Using the wrong interval is wrong because the coefficient formulas depend on integrating over exactly one full period, such as -π to π for a 2π-periodic function.
  • Assuming every function needs both sine and cosine terms is wrong because symmetry can eliminate many coefficients, making the series much simpler.
  • Expecting perfect agreement at jump discontinuities is wrong because a Fourier series converges to the average of the left and right limits at a jump.

Practice Questions

  1. 1 Find a0 for f(x) = 3 on the interval -π ≤ x ≤ π, extended periodically with period 2π.
  2. 2 For f(x) = x on -π ≤ x ≤ π, use symmetry to determine whether a0, an, or bn must be zero, and explain which type of terms remain.
  3. 3 A square wave is approximated by adding more and more sine terms. Explain why the approximation improves on flat sections but may still overshoot near a jump.