Fourier Series Builder Simulation
Math · Fourier Series · High School
About this simulation
Any repeating wave, however sharp its corners, can be written as a sum of plain sine waves whose frequencies are whole-number multiples of the wave's own. Which sines, and how loud, is set by the shape: a square wave needs only the odd harmonics with amplitudes falling as 1/k, a sawtooth needs all of them with the sign flipping each time, and a triangle needs the odd ones falling much faster, as 1/k². Adding terms always reduces the average error, and each harmonic removes exactly its own share of it. But at a jump the sum never settles down: the ripple beside the discontinuity gets narrower as terms are added while staying about 17.9% taller than the wave itself — 8.95% of the full jump. That is the Gibbs phenomenon, and it is a property of the series, not of the drawing. Students can change harmonics and target wave and compare what happens. Use it for math inquiry with High School on a projector or student device.
Standards: Common Core CCSS.MATH.CONTENT.HSF.TF.B.5, CCSS.MATH.CONTENT.HSF.BF.A.1.B
What students can explore
- Add harmonics one at a time to a square wave and watch each new sine flatten a bit more of the top
- Push the harmonic count to thirty and check whether the spike at the corner has got any shorter
- Switch to the triangle wave and see the overshoot vanish, because a corner is not a jump
- Compare the RMS error of the triangle and the square at the same harmonic count, and link the gap to 1/k² against 1/k
- Watch the chain of circles and check that the height of the last one is always the value of the wave
Learning objectives
- 1Predict how changing harmonics will affect the highest harmonic, then test the prediction.
- 2Use evidence from the live calculation and visual to explain the result.
Questions teachers ask
Is the Fourier Series Builder simulation free?
Yes. Open the Fourier Series Builder simulation in a modern browser with no download or sign-up required.
Is it suitable for High School?
The simulation includes learning-level presets spanning High School. Choose the level that matches your class, then use it on a projector or student devices.
Embed this simulation
Drop it into your LMS, blog, or class site — free.
<iframe src="https://kiwibee.io/en/simulations/fourier-series-builder-simulation/embed" title="Fourier Series Builder Simulation | KiwiBee" loading="lazy" allowfullscreen style="width:100%;height:min(70vh,620px);min-height:420px;border:0;border-radius:16px"></iframe>Continue exploring
More interactive science models
Spin a spinner, flip a coin or roll a die and watch two sets of bars: the chances the shapes predict, and the results you actually got. Ten spins prove nothing; a few hundred and the two are hard to tell apart.
Type any function and see its shape straight away. Plot up to three at once in three colours to compare them, drag the trace point to read a value off a curve, and see where each one crosses zero.
Two bodies under gravity trace an ellipse forever and you can write the formula down. Add a third and no such formula exists. Run the figure-eight orbit, nudge one mass, and watch a stable pattern become unpredictable while the total energy stays put.
Approximate the area under a curve with strips and choose how each takes its height: left edge, right edge, middle, or a sloping top. Push the strip count up and watch the error fall, with the running total plotted as its own curve.
Move m and watch the line tilt; move b and watch it slide. Or drag the two points on the line and read the equation it writes back. A rise-over-run staircase climbs the line so slope becomes something you can count.
Bring interactive science into your classroom
KiwiBee's free teacher workspace brings lesson planning, worksheets, classroom tools, and gradebook together in one place.
Start free and create your first class