Fourier Series and Periodic Forcing
Decompose a periodic input into harmonics and combine their linear responses.
Builds on Power-Series Solutions
The bigger question: What changes when conditions or inputs describe a whole interval?
On this page
The idea
A Fourier series expresses a periodic waveform as sinusoidal harmonics. A linear system responds to each harmonic separately, so its steady periodic response can be assembled from frequency responses. Higher harmonics can have very different amplitudes and phases after filtering.
Visual guide
- First harmonic
- Seven odd harmonics
- Target square wave
Method and assumptions
For period , write , with coefficients obtained by integrating over one period and dividing by . Under standard piecewise smoothness conditions, the series converges to the midpoint of the two one-sided limits at a jump.
Worked example: an odd square wave
Take on and on , periodically extended. Oddness makes . Integration gives for odd and zero for even . Its first terms are .
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Distinguish linearity from other properties of a model.
Hint 2 · Take the next step
A sum of inputs leads to a sum of zero-state responses when the operation and limits are valid.
Show the reasoning
Answer: Linearity permits superposition, with suitable convergence.
Superposition is the reason; each harmonic can still have a different amplitude and phase response.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: filtering one harmonic
For , seek . Matching gives and . The amplitude is , so high-frequency harmonics are reduced more strongly.
Interpreting the result
A finite Fourier sum overshoots near a jump; adding terms narrows the affected region but does not eliminate the limiting Gibbs overshoot. For an undamped oscillator, a resonant harmonic needs separate treatment because no bounded steady periodic response exists.
Practice
- Which coefficients vanish for an even input?
- What value does the square-wave series take at a jump from to ?
- What is the output amplitude for ?
Show worked solutions
- The sine coefficients vanish.
- The midpoint is .
- .
Further study
MIT OpenCourseWare: Differential Equations provides a full university course with additional lectures and exercises.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.