Periodic and Orthogonal Functions
Sines and cosines of different frequencies are orthogonal: multiply two of them, integrate over a period, and you get zero. That's what lets you pull a function apart into its frequencies, one at a time.
What the symbols mean
- Inner product
Integrating a product plays the role of the dot product for functions.
Explanation
Two functions are orthogonal when you multiply them together, add up the result over an interval, and get zero, and waves of different pitches turn out to be orthogonal over a full cycle. ("Orthogonal" comes from the Greek for "right-angled": it's the function version of two vectors being perpendicular, with a dot product of zero.) That's what lets you take a mixed-up signal and pull out each frequency in it separately. The integral looks like a lot, but it's just three simple steps: take two waves (one with bumps, one with ), multiply them point by point, and total up the signed area over one period (that's what does). The answer is when the waves are different and when they're the same. That one fact is the key to everything else in this unit, so bear with it.
The eigenfunctions from the last lesson, , have a property that makes the rest of this unit work. Before we get to it, one quick definition.
Periodic functions repeat: . has period , so all of them repeat every .
Orthogonality. Think of functions as vectors with infinitely many components and as the dot product. Then are perpendicular to each other, like .
Think about why the integral of comes out to zero. The product-to-sum identity rewrites it as . When , both cosines complete whole cycles over , so each one's positive and negative parts cancel and the integral is . When , the first cosine is , which doesn't cancel, and it leaves .
A common mistake. It's tempting to think is zero too, because a sine averages out to zero over a period. It isn't: is never negative, so nothing cancels. Its average is , and over an interval of length that gives .
The payoff. Remember how you find the component of a vector: dot it with , and the and parts drop out. Functions work the same way. To find how much of is in , take the "dot product" of with it: every other term integrates to zero. That's how Fourier coefficients are computed, starting next lesson. There's an animation further down that shows the cancellation happening for and .
See it
Worked examples
Evaluate .
- 1
and have different frequencies, so they're orthogonal over a full period and the integral is zero.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Evaluate .
Evaluate .
Evaluate .
What is the period of ?
Evaluate .
Two radio carriers, and (3 Hz and 5 Hz), share a channel. A receiver can separate them because their product averages out over a second. Compute .
The hardest one here. Get it, and you've got this lesson.
Use orthogonality to evaluate without expanding everything.
Where it's used
Orthogonality is why a radio can pick one station out of the air, why JPEG and MP3 compression work, and how noise-cancelling headphones isolate frequencies.