# Fourier Transformations

So what was Fourier’s discovery, and why is it useful? Imagine playing a note on a piano. When you press the piano key, a hammer strikes a string that vibrates to and fro at a certain fixed rate (440 times a second for the A note). As the string vibrates, the air molecules around it bounce to and fro, creating a wave of jiggling air molecules that we call sound. If you could watch the air carry out this periodic dance, you’d discover a smooth, undulating, endlessly repeating curve that’s called a sinusoid, or a sine wave. (Clarification: In the example of the piano key, there will really be more than one sine wave produced. The richness of a real piano note comes from the many softer overtones that are produced in addition to the primary sine wave. A piano note can be approximated as a sine wave, but a tuning fork is a more apt example of a sound that is well-approximated by a single sinusoid.)

Now, instead of single key, say you play three keys together to make a chord. The resulting sound wave isn’t as pretty—it looks like a complicated mess. But hidden in that messy sound wave is a simple pattern. After all, the chord was just three keys struck together, and so the messy sound wave that results is really just the sum of three notes (or sine waves).

Fourier’s insight was that this isn’t just a special property of musical chords, but applies more generally to any kind of repeating wave, be it square, round, squiggly, triangular, whatever. The Fourier transform is like a mathematical prism—you feed in a wave and it spits out the ingredients of that wave—the notes (or sine waves) that when added together will reconstruct the wave.

[...]

To summarize, the Fourier transform tells you how much of each ingredient “note” (sine wave or circle) contributes to the overall wave. Here’s why Fourier’s trick is useful. Imagine you were talking to your friend over the phone and you wanted to get them to draw this squarish wave. The tedious way to do this would be to read out a long list of numbers that represent the height of the wave at every instant in time. With all these numbers, your friend could patiently stitch together the original wave. This is essentially how old audio formats like WAV files worked. But if your friend knew Fourier’s trick, you could do something pretty slick: You could just tell them a handful of numbers—the sizes of the different circles in the picture above. They can then use this circle picture to reconstruct the original wave.

And this isn’t just some obscure mathematical trick. The Fourier transform shows up nearly everywhere that waves do. The ubiquitous MP3 format uses a variant of Fourier’s trick to achieve its tremendous compression over the WAV (pronounced “wave”) files that preceded it. An MP3 splits a song into short segments. For each audio segment, Fourier’s trick reduces the audio wave down to its ingredient notes, which are then stored in place of the original wave. The Fourier transform also tells you how much of each note contributes to the song, so you know which ones are essential. The really high notes aren’t so important (our ears can barely hear them), so MP3s throw them out, resulting in added data compression. Audiophiles don’t like MP3s for this reason—it’s not a lossless audio format, and they claim they can hear the difference.

## Notes:

It's like prism that breaks apart the components of a sound wave or image into it's smaller parts.

**Folksonomies:** mathematics

**Taxonomies:**

/technology and computing/mp3 and midi (0.534757)

/hobbies and interests/guitar (0.314055)

/technology and computing (0.265811)

**Keywords:**

wave (0.911112 (negative:-0.143745)), sine wave (0.732913 (positive:0.072739)), messy sound wave (0.608398 (negative:-0.575001)), Fourier transform (0.592415 (negative:-0.202244)), primary sine wave (0.521106 (positive:0.512302)), original wave (0.512556 (positive:0.366288)), squarish wave (0.350257 (negative:-0.274389)), overall wave (0.347645 (positive:0.228207)), audio wave (0.342394 (negative:-0.473681)), Fourier’s discovery (0.332623 (positive:0.218726)), Fourier Transformations (0.326553 (neutral:0.000000)), real piano note (0.313805 (positive:0.512302)), piano key (0.307870 (neutral:0.000000)), endlessly repeating curve (0.304742 (negative:-0.467479)), certain fixed rate (0.296414 (negative:-0.484016)), obscure mathematical trick (0.286254 (negative:-0.628275)), air molecules (0.281413 (negative:-0.405800)), mathematical prism—you feed (0.274353 (negative:-0.642104)), lossless audio format (0.266040 (neutral:0.000000)), sine waves (0.265878 (negative:-0.592729)), ubiquitous MP3 format (0.263203 (positive:0.446667)), smaller parts (0.212938 (neutral:0.000000)), softer overtones (0.211457 (positive:0.512302)), periodic dance (0.204019 (neutral:0.000000)), complicated mess (0.204002 (negative:-0.761013)), special property (0.200215 (positive:0.492350))

**Entities:**

Fourier:Person (0.833490 (positive:0.423258)), data compression:FieldTerminology (0.331077 (neutral:0.000000))

**Concepts:**

Sine wave (0.972508): dbpedia | freebase

Phase (0.914222): dbpedia | freebase

Wave (0.909089): dbpedia | freebase

Audio file format (0.829611): dbpedia | freebase | yago

Joseph Fourier (0.804344): dbpedia | freebase | yago

Fourier transform (0.675210): dbpedia | freebase | yago

Waves (0.669242): dbpedia

Piano (0.584358): dbpedia | freebase | opencyc

**The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face**

**Electronic/World Wide Web>**

**Blog:**Bhatia, Aatish (NOV 06, 2013)

*, The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face*, Nautilus Blog, Retrieved on 2013-11-07

**Folksonomies:**mathematics science writing