Chapter 50: Harmonics and Fourier Series

0:00 / 0:00
Report an issue

Welcome to Last Minute Lecture.

This free chapter overview is designed to help students review and understand key concepts.

These summaries supplement not replaced the original textbook and may not be redistributed or resold.

For complete coverage, always consult the official text.

Welcome back to the Deep Dive.

We've got a really interesting challenge from you today.

That's right.

We're diving straight into the Feynman Lectures on Physics, Chapter 50, the topic Harmonics.

Yep.

And our goal is really to unpack the core ideas, the intuition behind the math.

Why do musical notes sound the way they do?

Right.

How does all that quality and periodicity actually work?

Feynman starts us off way back, doesn't he?

Like ancient Greece.

He does with Pythagoras, which might surprise some people.

We think geometry, but Feynman points out this amazing discovery about music.

About vibrating strings.

Exactly.

Around 500 BC, Pythagoras figured out that the musical intervals we find pleasing, you know, the octave, the fifth, the fourth, they correspond perfectly to simple integer ratios of string lengths.

Okay.

So like if you have the string length.

You get the octave.

That's a 1 .2 ratio.

And two thirds of the length gives you the fifth.

Yeah.

A 2 .3 ratio.

Precisely.

It was this incredible finding that something subjective, like pleasing sounds, was directly tied to simple numbers, a quantitative relationship.

Feynman mentions this sort of spun off into mysticism.

The music of the spheres and all that.

Yeah, it did, unfortunately.

But the core discovery, that was, as Feynman puts it, a really early success for quantitative science.

Real physics based on measurement.

Okay.

So that sets the stage, but let's define our terms.

What is a musical tone, physically speaking?

How's it different from just noise?

Good question.

If you were to grab the air pressure hitting your eardrum over time, noise would look totally random, all jumbled up.

No pattern.

Right.

But a musical tone, it's periodic.

The pattern repeats exactly over and over again.

Think of a wave shape that just keeps cycling.

And that repeating wave has key features.

Three main ones.

First, how fast it repeats.

That's the pitch or the frequency.

Higher frequency, higher pitch.

Correct.

Second, how big the pressure changes are, the peaks and troughs of the wave.

That's its loudness or amplitude.

Makes sense.

And the third one is the tricky one.

That's quality or timber.

It's the specific shape of that repeating wave pattern.

That's what makes a violin sound different from a flute, even at the same pitch and loudness.

So all that richness or raspiness is just the wave's particular shape.

How does one string make such a complex shape, not just a smooth up and down wave?

Ah, because the string doesn't just vibrate as a whole, it vibrates in multiple ways at once.

These are called its normal modes.

Okay.

So the string vibrates along its full length.

That's the main frequency, the fundamental, let's call it megadollar dollars.

But it also vibrates in two halves and three thirds, four fourths and so on, all at the same time.

Oh, okay.

Those are the overtones or harmonics.

Exactly the same thing, harmonics.

And they're simple integer multiples of that fundamental frequency.

Two megadollars, three megs, four megadollars and onwards.

The sound you actually hear is the sum of all these simpler vibrations.

Which leads us right into the main event, the Fourier series.

What's the big idea here?

The big idea is, well, kind of mind -blowing actually.

Fourier's principle says that any repeating periodic wave shape, no matter how complicated or jagged it looks,

can be perfectly built just by adding together a potentially infinite series of simple sine and cosine waves.

Seriously, any shape?

Any periodic shape.

You just need the right combination of the fundamental frequency and all its integer harmonics.

It sounds like a recipe.

Like the Can you describe the formula conceptually?

Yeah.

Think of it like this.

Your final complex wave, fubu t, is equal to some constant average value, let's call it t dollars, plus a sum.

A sum of?

A sum of all the harmonics.

For each harmonic number n, like one, two, three, you add a cosine wave part and a sine wave part.

Each of these parts has its own amount or amplitude, these coefficients on dollars.

So the n tells you how much of the n the cosine wave to add and the dollar tells you how much of the n sine wave.

Precisely.

And those amounts, the sizes of all the different ons and the modders, that is what defines the quality, the timbre of the sound.

It's the mathematical recipe.

Okay.

I think I get it.

So a flute sounds pure because?

Because its recipe is simple.

It's mostly the fundamental frequency, maybe a tiny bit of the second harmonic.

So a one dollar and maybe b dollars are big, but all the other on and modders dollars for n, a two, three, four are very small.

Whereas a trumpet or violin?

Much richer.

They have significant amounts, larger any two lotters for many of the higher harmonics.

That's what gives their sound that complex, bright, or maybe even slightly buzzy quality.

It makes the wave shape more intricate.

And you mentioned this applies to speech too, how we make vowel sounds.

Absolutely.

Your vocal cores produce a basic buzz, rich in harmonics, then your mouth, your throat, your tongue position.

They act like filters.

For the harmonics.

When you shape your mouth to say E versus A, you're emphasizing some harmonics and damping others down.

The fundamental pitch might stay the same, but changing the harmonic recipe creates those distinct vowel sounds.

Fascinating.

Okay.

Let's just quickly revisit Pythagoras and those perfect ratios.

We know 3 .2 sounds great, but pianos aren't tuned exactly that way, right?

Why not?

It's a practical compromise.

If you tune everything using those pure perfect ratios, an instrument sounds fantastic and maybe one specific musical key.

But if you change keys.

Things start to sound slightly off.

The perfect ratios don't quite mesh perfectly when you shift the starting point.

It's a mathematical quirk.

So pianos use, what's it called?

Tempered tuning.

Exactly.

Tempered tuning adjusts those intervals just a tiny bit away from perfect purity.

It spreads the slight out of tunedness evenly across all keys, making the instrument usable no matter what key you play in.

A small sacrifice in purity for versatility.

Right.

Makes sense.

Okay.

Now the really clever part.

We know how to build a sound from harmonics if we have the recipe, the coefficients one, two, B and O.

But how do we work backward?

If I give you a recording of a sound, how do you figure out its recipe?

How do you find those coefficients?

This is where the mathematical magic really shines.

It relies on a property called orthogonality.

Orthogonality.

Sounds complicated.

The name is maybe a bit intimidating, but the idea behind it is surprisingly neat.

Okay.

Walk me through it.

Let's say I have this complex sound wave recording.

I want to know exactly how much of the, say, third harmonics cosine wave, ATTs in there.

How do I isolate just that one piece?

It's like having a magic filter.

You take your entire complex sound wave over one full period and you multiply it point by point by a pure cosine wave of exactly the frequency you're interested in.

So in your case, you'd multiply by OP2.

Multiply the whole messy wave by the clean third harmonic cosine.

Then what?

Then you calculate the average value of that product over one whole period.

And here's the trick.

Because of orthogonality, when you do this multiplication and averaging,

all the other harmonic components in the original sound, the fundamental, the second harmonic, the fourth, all the sine parts, they all average out to exactly zero.

They cancel out.

Whoa.

So multiplying by a Toyota T acts like a filter that only lets the 333 parts survive the averaging process.

That's exactly it.

The only thing left after averaging is a number directly proportional to 33 of 30s.

You do the same trick, multiplying by sine is to find 33 of these, and you just repeat for every harmonic number and you care about.

That's incredibly elegant.

It lets you pick apart the sound harmonic by harmonic.

It really is.

Feynman uses the square wave example to show this.

Right.

The one with the sharp edges.

Yes.

To build that sharp, sudden, up and down shape, the Fourier analysis shows you need only the odd numbered harmonics, one, three, five, seven, and so on.

And it tells you precisely how much of each you need with the amounts dropping off in a specific way to make those sharp corners.

And there's a connection to energy too.

Yep.

The energy theorem basically says the total energy in the waves, which is related to the average of the waves value squared, is just the sum of the energies of all the individual harmonic components.

It's proportional to the sum of, and two offsends plus B and two dots for all the harmonics.

Energy adds up simply.

Okay.

So far, this is all very neat and tidy.

Everything adds up nicely.

Linear superposition works perfectly.

But then Feynman throws a curveball.

Non -linearity.

And this is crucial because the real world isn't always perfectly linear, especially when things get intense.

Linearity means output is directly proportional to input.

Double the input, double the output.

But non -linear means?

Non -linear means that relationship breaks down.

Maybe the output involves the input squared or cubed or some other more complex function.

Six dollars, not just times six dollars.

What happens mathematically when you put a simple sound into a non -linear system?

Let's use Feynman's simple case.

Output co -anedals input plus epsilon times input to the two.

Okay.

So if you feed just a pure cosine wave, Feynman to that system with the squared term, two completely new things pop out.

First, because you're squaring the input, which goes positive and negative, the output squared is always positive.

This creates a constant average value shift upwards.

It's called rectification.

Like it's turning the AC wave partly into DC, pushing the average up from zero.

Sort of, yeah.

It creates a steady component related to the intensity or energy of the input wave.

Interesting.

What's the second effect?

The squared term also generates the second harmonic.

Your input was pure mega TS, but the output now contains a piece that varies as mega T.

So a pure tone going through a slightly non -linear device automatically becomes complex.

It creates its own overtone.

Instantly.

And it gets even wilder if you put two pure tones in, say, omega T or one and omega two two.

What happens then?

That squared term causes them to mix.

The output will contain the original omega T or omega two two.

There are harmonics like two middle one and two to omega two does.

And the sum frequency, omega T plus omega two and the difference frequency, omega two and two.

These new frequencies are generated purely by the non -linearity.

This is called modulation.

Modulation.

Okay.

That sounds important technologically.

Hugely important.

AM radio is built on this.

Your voice is a low frequency.

The radio station's carrier wave is a high frequency.

A non -linear circuit, the modulator, mixes them to create sum and difference frequencies that can be broadcast effectively.

So non -linearity isn't just noise.

It's actually useful.

Absolutely essential in many cases.

And Feynman points out it happens in biology too.

Our ears are thought to behave non -linearly, especially with loud sounds.

Generating extra harmonics or those sum and difference tones inside our own hearing system.

Exactly.

It might contribute to how we perceive consonance and dissonance, especially at high volumes.

And the same physics, remarkably, applies to light.

Light.

How so?

For a long time, life interacting with glass was thought to be perfectly linear.

But with intense light, like from modern lasers, the materials respond non -linearly.

And you get?

You can get the second harmonic of light, you shine intense red laser light into the right crystal, and out comes some green light double the frequency.

It's a direct result of that 622 type of non -linearity.

Wow.

Okay.

Let's try and pull this all together.

We started with Pythagoras finding simple number ratios in music.

Right.

The first quantitative connection.

Then Fourier showed us that any repeating

timbre is just a sum of simple sine and cosine harmonics, a perfectly linear addition.

The recipe book for sound quality.

But then we hit the real world, where high intensity leads to non -linearity.

And that non -linearity breaks the simple addition rule.

And actually creates new frequencies, harmonics, sums, differences that weren't there to begin with.

It's the basis for modulation and effects we see even in light.

It really drives home that the beautiful simple linear physics, like Fourier analysis,

is often an approximation.

It works perfectly when things are gentle, low amplitude.

That's a great way to put it.

Linearity is often the low intensity limit.

Sound is linear at low volumes.

Feynman makes the point that for light, people assumed linearity for ages until lasers got powerful enough to reveal the non -linear effects.

Which leaves us with a pretty interesting final thought, doesn't it?

If simple superposition.

This idea that effects just add up, breaks down when you push systems harder.

And those breakdowns, the non -linearities, are what enable things like radio communication and creating new colors of light.

Well, what other fundamental physics might just be waiting for us to crank up the intensity and see what new rules emerge?

That's a fantastic question.

What happens when we push other systems far from equilibrium?

It's where a lot of modern physics happens.

Indeed.

Well, thank you for taking us through this deep dive into the physics of sound, from ancient strings to modern lasers.

My pleasure.

Hopefully you hear the world a little differently now, maybe pick out some of those hidden harmonics.

ⓘ This audio and summary are simplified educational interpretations and are not a substitute for the original text.

Chapter SummaryWhat this audio overview covers
Vibrating strings with length ratios expressed as simple whole numbers produce consonant musical intervals, a discovery attributed to Pythagoras that reveals the deep connection between mathematics and auditory perception. Musical tones differ fundamentally from noise in their periodic structure, exhibiting regular pressure oscillations that repeat predictably over time. The Fourier series provides the mathematical framework for decomposing any periodic waveform into constituent sinusoidal components whose frequencies are integer multiples of a fundamental frequency. Each harmonic contributes a specific amplitude to the overall waveform, and the particular combination of these amplitudes determines the sound's timbre, explaining why identical pitches on different instruments produce distinctly different tonal qualities. Calculating Fourier coefficients involves a systematic procedure that determines each harmonic's amplitude by evaluating the average product of the original waveform and the corresponding sine or cosine function across one complete oscillation period. The relationship between waveform composition and energy is established through the energy theorem, which shows that the total energy transported by a wave equals the sum of squared amplitudes across all harmonic components. Real physical systems frequently exhibit nonlinear behavior where output does not scale proportionally with input. This nonlinearity generates significant practical consequences including the creation of higher harmonics from pure input tones, resulting in distortion, and the production of combination frequencies when multiple input signals interact. These combination frequencies arise as both sum and difference values of the original frequencies, a phenomenon essential to understanding both the limitations of audio equipment and the complex frequency-dependent processing performed by biological hearing systems. The interplay between linear harmonic decomposition and nonlinear system effects bridges fundamental mathematical theory with real-world acoustic phenomena.

Using this chapter to study? Last Minute Lecture is free and student-run. If it helped, consider supporting the project.

Support LML ♥