Orthogonality of sines and cosines
5 min read
Short answer
Over : , (for ) and always. Different frequencies are orthogonal under the inner product , which is what makes the Fourier coefficient formulas work.
Proof for the sine case
Use . For both cosines integrate to over a full period. For , the first becomes , integrating to over .
Why it matters
In a vector space with an orthogonal basis , the coefficient of in is . Sines and cosines form such a basis for periodic functions, and the formulas are exactly this projection.
Worked example
Compute and .
The first has , so it is . The second has , so it equals (indeed integrates to ).
Try it yourself
Compute .
Show the answer
, so it equals .
Keep going with practice
Vidi's dot-product lessons are the finite-dimensional version of this same orthogonality idea.