⚙ Engineering 🚀 Advanced

Fourier Series: Square Wave

#838 of 1000

Lesson notes

Overview

Add odd sine harmonics and a square wave appears — with a Gibbs overshoot at each edge. This topic is rated advanced and is number 29 of 93 in Engineering. Deeper models, formal results and harder reasoning.

What you are seeing

The panel above shows a signal built up from simple waves. The animation is drawn live from the model, so everything you see responds to the sliders. Press Space to pause, use Restart to replay from the start, and change the speed to slow down quick events.

In depth

A square wave can be built from sine waves: the odd harmonics with amplitudes 1, 1/3, 1/5, and so on, Σ sin((2k − 1)x)/(2k − 1). Adding more terms makes the corners sharper, but there is always an overshoot of about 9% near each jump, the Gibbs phenomenon, which does not vanish, only becomes narrower. It shows how a discontinuous signal needs infinitely many frequencies and why sharp edges in signals require wide bandwidth.

Reading the relationship

The expression "Σ sin((2k−1)x)/(2k−1)" is a compact summary of the idea. It uses the symbols Σ, k, x; name what each one stands for before you start. Notice that it contains a ratio, so increasing the denominator makes the result smaller, and a sum, so many small contributions are added together. Then use the sliders to see how changing one quantity changes the others.

A guided exploration

1. Run the animation once with the default settings and describe in words what happens. 2. Change one slider at a time and note which quantity responds most. 3. Push each slider to its extreme and decide whether the result still makes sense.

Try this

Try to explain why the pattern holds, not just what it is. Look for limiting cases and what happens at the edges.

Common pitfalls

Always ask what the safety margin is and which assumption would break the design first. Idealised models hide losses, noise and limits.

How it connects

It builds on “Feedback Control Loops”, the topic before it in Engineering. Once you are comfortable, continue with “Fourier Series: Sawtooth Wave”.

Why it matters

Engineers use this idea to design structures, machines and systems that are safe, efficient and reliable.

Where you might use it

  • Revising “Fourier Series: Square Wave” before a class, exam or certification
  • Designing safe structures, machines and control systems that must work reliably
  • Diagnosing faults in electrical, mechanical or signal-processing equipment
  • Checking that a design meets safety margins before it is built or deployed

Frequently asked questions

What is Fourier Series: Square Wave?

Add odd sine harmonics and a square wave appears — with a Gibbs overshoot at each edge. It is an advanced topic in Engineering.

How do I use the Fourier Series: Square Wave simulation?

The panel at the top shows a signal built up from simple waves. Move the sliders one at a time, then press Space to pause the animation and look closer.

What does the formula mean?

The expression Σ sin((2k−1)x)/(2k−1) packs the idea into symbols. Name each symbol first, then change one quantity with the sliders and see which others respond.

Who is this topic for?

Deeper models, formal results and harder reasoning. If the quiz feels hard, reread the lesson notes and try the previous topic first.

What should I learn before this?

Start with “Feedback Control Loops”, the previous topic in Engineering. Each topic in a subject builds on the ones before it.

How do I track my progress?

Press “Mark as learned” on this page. Progress is stored only in this browser and is never sent anywhere. The Browse page can show topics you have learned or still need to learn.

Quick quiz
1. Which description matches “Fourier Series: Square Wave”?
2. Which topic is this describing? “Add odd sine harmonics and a square wave appears — with a Gibbs overshoot at each edge.”
3. Which expression belongs with “Fourier Series: Square Wave”?

More in Engineering

See all →