Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Actually I'm trying to dive into Fourier series and have some trouble understanding the idea behind the Fourier coefficients.

Let's have a Fourier series $$f(x) = a_0 + \sum_{n=1}^{\infty}[a_n\cos(\omega_nx) + b_n\sin(\omega_nx)]$$ where $x \in \langle-\frac{T}{2}, \frac{T}{2}\rangle$, $n \in \mathbb{N}$, $\omega_n = \frac{2\pi}{T}n$ is angular frequency, $T$ is the period of function $f$.

If I understand it correctly I would say that $a_n$/$b_n$ is the amplitude of cosine/sine functions with frequency $n$ Hz (harmonic, since $n \in \mathbb{N}$). And by combining these (potentially infinite) number of functions I get function $f$ (visualization, animation).

Now comes the interesting part - amplitudes/coefficients $a_0$, $a_n$, $b_n$. I understand the calculations... multiplying the equation by $\cos(\omega_kx)$/$\sin(\omega_kx)$, $k \in \mathbb{N}$ and integrating over $\langle-\frac{T}{2}, \frac{T}{2}\rangle$ results in: $$a_0=\frac{1}{T}\int\limits_{-T/2}^{T/2}f(x)\mathrm{d}x,$$ $$a_k=\frac{2}{T}\int\limits_{-T/2}^{T/2}f(x)\cos(\omega_kx)\mathrm{d}x,$$ $$b_k=\frac{2}{T}\int\limits_{-T/2}^{T/2}f(x)\sin(\omega_kx)\mathrm{d}x.$$

Since $\int_{-T/2}^{T/2}f(x)\mathrm{d}x$ is area beneath function $f$ on interval $\langle-\frac{T}{2}, \frac{T}{2}\rangle$, $a_0$ can be geometrically interpreted as the average value of function $f$ on interval $\langle-\frac{T}{2}, \frac{T}{2}\rangle$ or as the new center of oscillation instead of zero.

What I do not understand is that how $a_k$/$b_k$ can be geometrically interpreted. In particular, I can imagine how $f(x)\cos(\omega_kx)$ look like but I can't wrap my head around the fact that the area beneath $f(x)\cos(\omega_kx)$ on interval $\langle-\frac{T}{2}, \frac{T}{2}\rangle$ divided by $\frac{2}{T}$ is the correct amplitude for function $cos(\omega_kx)$ to be the proper function to be added to others to build up function $f$ (the same for sine function too). Why is there a $2$? And how is it possible that $\int_{-T/2}^{T/2}f(x)\cos(\omega_kx)\mathrm{d}x$ is the right number to determine the correct amplitude for the Fourier series? What is the connection between the area beneath the function and the amplitude? I can't see it geometrically so I think that I miss some very important idea. Or some property of sine/cosine maybe...

Can someone explain the idea behind Fourier coefficients or paste a link where this is explained, please? I've read/watched couple of materials covering this topic but didn't find the answers :( Usually calculations of Fourier coefficient where presented but never the explanation of what does it actually in "human language" means. I consider it to be very important in understanding the essence of Fourier series.

Thanks in advance for any advice.

share|cite|improve this question
Perhaps that this earlier thread will help... – Raymond Manzoni Mar 25 '13 at 8:19
For future reference, I'd like to indicate this page which contains some interesting answers related to the questions:… – Marc Ourens Oct 6 '13 at 14:22

I'm glad you reposted this here; I saw it on MathOverflow earlier and wanted to answer, but it was closed (and it really is more appropriate here.)

As the answer there suggested, perhaps the best way to think about this is in terms of linear algebra.

Your sines and cosines form a complete orthonormal basis for your space of functions. The inner product on this space is $<f,g> = \int f(x)\bar{g(x)}dx$, and this gives a direct geometric interpretation of the integrals involved in calculating $a_n$ and $b_n$: you are simply projecting your function down onto a given basis vector to see "how much" of it is in "that direction." The $2/T$ factor out front comes from normalizing the basis vectors.

(For more details, see Bessel's inequality and Parseval's identity, or a good book like Stein and Shakarchi's 'Fourier Analysis: An introduction.' They have a wonderfully explicit visualization of this type on page 78, where they prove that partial sums $S_N(x)$ of Fourier series of a function f(x) are the best approximation possible with a trigonometric polynomial of order at most $N$.)

Your Fourier series, then, is equivalent to 'building up' f(x) from (an infinite linear combination of) basis vectors in the space, and the coefficients $a_n$ and $b_n$ tell you how much of each you need. The fact that you can do this at all is the content of Parseval's identity.

share|cite|improve this answer

On Carlo Beenakker recommended He hit the nail (right) on the head.

share|cite|improve this answer
Carlo, many thanks! Helped a lot! – seawolf Mar 26 '13 at 6:18

I like to think of Fourier coefficients in terms of an equalizer in a stereo system. In an equalizer, you have a bunch of dials that provide an amplitude of a certain frequency. (Actually, I think it is the square of the amplitude, but never mind.) That is, you may have a $40$ Hz dial, a $100$ Hz dial, etc. The set of amplitudes of the dials provides a unique representation of a volume function in terms of frequency components (albeit, just a few). Some functions have more treble, some more bass, but the equalizer provides a representation of the volume function in such a way as to provide control over certain frequency amplitudes.

The Fourier coefficients of a function represent the settings of some function equalizer. That equalizer stresses certain frequency components and ignores others. Of course, there are an infinite (but countable) set of dials for a periodic function. What happens is that the dial settings for the highest frequencies tend toward zero as a necessity for being a Fourier representation. The zero frequency, on the other hand, may be the volume control (although perhaps that scales all of the coefficients.)

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.