---
title: "Standing waves and Fourier series | Sandbox Physics"
description: "Boundary conditions select which standing waves fit. Find their frequencies, then add the allowed modes to reconstruct a wave profile."
canonical_url: "https://sandboxphysics.com/learn/oscillations-and-waves/standing-waves-and-fourier/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/learn/oscillations-and-waves/standing-waves-and-fourier/"
last_modified: "2026-11-24"
---

[Volume 2 · Oscillations and Waves](https://sandboxphysics.com/learn/oscillations-and-waves/)

# How do boundaries select standing waves?

Boundary conditions select which standing waves fit. Find their frequencies, then add the allowed modes to reconstruct a wave profile.

Before you start: [Chapter 4](https://sandboxphysics.com/learn/oscillations-and-waves/coupled-oscillators/) and [Chapter 5](https://sandboxphysics.com/learn/oscillations-and-waves/travelling-waves/) on normal modes, phase and travelling waves. [Chapter 3](https://sandboxphysics.com/learn/oscillations-and-waves/driven-oscillation-and-resonance/) explains what a drive-frequency scan measures.

After this chapter you can: Find the nodes and frequencies for given boundaries and use Fourier coefficients to reconstruct an initial string profile.

A standing wave has nodes that stay in place. On a string fixed at both ends, both anchors must be nodes. Only patterns that fit a whole number of half-wavelengths between the anchors can vibrate at a single frequency. A pluck usually starts several of these patterns at once. Fourier coefficients tell us how much of each pattern is present at release.

## 6.1 Two travelling waves make fixed nodes

Take two sinusoidal waves of equal amplitude $a$, wavenumber $k$ and angular frequency $\omega$. Choose their phases so that the displacement cancels at the left anchor. Their sum is

$$
\begin{aligned}
u(x,t)&=a\sin(kx-\omega t)+a\sin(kx+\omega t)\\
&=2a\sin(kx)\cos(\omega t).
\end{aligned}
$$

The two sine terms travel in opposite directions. Their sum is a fixed spatial pattern multiplied by a common time factor. Wherever $\sin(kx)=0$, the point always has zero displacement. These points are nodes. Where $|\sin(kx)|=1$, the amplitude is largest. These points are antinodes.

At certain times the whole string passes through its equilibrium line. A point that happens to cross that line can have nonzero speed. To identify a node, check that the point stays on the line over a full cycle.

## 6.2 Put the second anchor at a node

A string of length $L$ is fixed at $x=0$ and $x=L$. The first anchor is already a node in the chosen sine pattern. The other must satisfy $\sin(kL)=0$. The allowed positive values of $kL$ are integer multiples of $\pi$.

$$
k_n=\frac{n\pi}{L},\qquad
\lambda_n=\frac{2L}{n},\qquad
f_n=\frac{nv}{2L},\qquad n=1,2,3,\ldots
$$

Here $v$ is the speed of a travelling wave on the string. The fundamental mode fits one half-wave between the anchors. Mode 2 fits two half-waves and has a node in the middle. Mode 3 fits three half-waves and has two internal nodes. A pure mode keeps its own node pattern as it oscillates.

For a string with $L=0.800\,\mathrm{m}$ and $v=120\,\mathrm{m/s}$, the first three natural frequencies are $75.0\,\mathrm{Hz}$, $150\,\mathrm{Hz}$ and $225\,\mathrm{Hz}$. The second mode moves through twice as many cycles as the fundamental in the same time.

## 6.3 Resolve a pluck into its modes

### 6.3.1 Project the initial shape onto one sine at a time

Hold the ideal string in a shape $g(x)$ and release it from rest. In mode $n$, the spatial factor is $\sin(n\pi x/L)$ and the subsequent time factor is $\cos(2\pi f_n t)$. The coefficient $b_n$ sets that mode's initial contribution.

$$
u(x,t)=\sum_{n=1}^{\infty} b_n\sin\!\left(\frac{n\pi x}{L}\right)\cos(2\pi f_n t).
$$

To extract a coefficient, multiply the release shape by that mode's sine pattern and integrate across the string. Products of different sine patterns integrate to zero. The integral of a pattern squared is $L/2$, which fixes the normalization.

$$
b_n=\frac{2}{L}\int_0^L g(x)\sin\!\left(\frac{n\pi x}{L}\right)\,dx.
$$

This is the continuous version of the projection used for the bead chain in Chapter 4. The integral adds up the signed contributions along the string.

### 6.3.2 Work out a centered pluck

Pull the midpoint to height $A$, so the initial string consists of two straight segments. Their joined shape is symmetric about the middle. For every even mode, the sine factor has opposite signs at mirror points. The overlap cancels, so every even coefficient vanishes.

Integrating each straight segment gives

$$
b_n=\frac{8A}{n^2\pi^2}\sin\!\left(\frac{n\pi}{2}\right).
$$

The first term reaches only $0.811A$ at the midpoint. Including modes 3 and 5 raises the sum there to $0.933A$. All three terms satisfy the fixed ends. The added terms bring the release shape closer to the sharp bend of the exact triangle.

- Exact release shape
- Mode 1
- Modes 1, 3 and 5

**Figure 6.1** Analytic reconstruction at release. The exact midpoint pluck is a triangle. The mode 1 curve and the sum of modes 1, 3 and 5 approximate it. Position is normalized by string length and transverse displacement by the pluck height.

## 6.4 Change a boundary or move the source

### 6.4.1 Pick out pressure nodes inside an air column

A microphone responds to pressure variation. At an ideal open end, the pressure variation vanishes. At a rigid piston, the air displacement vanishes and the pressure amplitude is maximal in the ideal standing mode. In a real open tube, the effective pressure node lies slightly outside the visible mouth.

In [Resonance Tube & Sound Speed](https://sandboxphysics.com/labs/resonance-tube/), choose **Three pressure lobes** and select **Save frequency sweep**. Then choose **Open both ends** and save again. The geometric length stays at about $0.423\,\mathrm{m}$. One rigid and one open end fit an odd number of quarter-waves. Two open ends fit a whole number of half-waves. The sweeps show the change in the spacing and order of the resonances.

**Table 6.1** First three resolved frequency-sweep peaks from the two simulated tube settings, rounded to the nearest hertz.

| Tube ends | First peak | Second peak | Third peak |
| --- | --- | --- | --- |
| Rigid piston and open mouth | $200\,\mathrm{Hz}$ | $600\,\mathrm{Hz}$ | $1000\,\mathrm{Hz}$ |
| Both open | $394\,\mathrm{Hz}$ | $789\,\mathrm{Hz}$ | $1183\,\mathrm{Hz}$ |

Return to **Three pressure lobes** and look at **Live calibrated pickup** at $1000\,\mathrm{Hz}$. Then choose **A quiet microphone** and read it again. The drive, length and boundaries stay fixed. The probe moves to an interior pressure node, so its signal drops from about $0.81\,\mathrm{Pa}$ toward the noise floor. The resonance remains possible with the probe at the node.

### 6.4.2 Strike a circular membrane at two positions

Open [Drum Modes & Strike Position](https://sandboxphysics.com/labs/drum-modes/) and compare **Center strike · all modes** with **Off-center · all modes**. The fixed rim is a displacement node. A mode with a nodal diameter also vanishes at the center, so the centered point strike has zero overlap with that mode. A strike away from the center can excite it.

Check **Selected natural frequency** and compare the lines in **Calculated mode spectrum and point motion**. The mode family with two nodal diameters and no internal nodal circles has a frequency of about $49.7\,\mathrm{Hz}$ in both presets. Its modeled energy is zero for the center strike and positive for the off-center strike. The position of the hit controls which modes ring. The unchanged membrane and rim determine their frequencies. This Lab displays a finite sum of ideal membrane modes from a point impulse.

To see a Fourier sum on a time axis, open [Fourier Epicycles](https://sandboxphysics.com/labs/fourier-epicycles/). Choose **Triangle** and compare **Harmonics** set to 1 and to 3. Each rotating vector supplies one sine term to the sum. On the string, the coefficients describe a shape as a function of position at release. In this Lab, they describe a periodic waveform as a function of time.

## 6.5 Exercises

1. A string is fixed at both ends and vibrates in mode 4. Where are its internal nodes?
2. When a string oscillating in a single mode passes through equilibrium, what observation distinguishes a node from an antinode?
3. The fundamental frequency of a fixed-end string is $80\,\mathrm{Hz}$. Can $240\,\mathrm{Hz}$ be a natural frequency? What wavelength fits that mode, in terms of $L$?
4. Keep the length and wave speed of an ideal tube the same. How does the fundamental frequency change when the rigid end of a tube with one open end is replaced by a second ideal open end?
5. Why can a resonant peak disappear from a microphone record when the microphone is moved?
6. A fixed-end string starts from rest with $g(x)=3\,\mathrm{mm}\,\sin(2\pi x/L)$. Which Fourier coefficient is nonzero, and what value does it take?
7. Why does a midpoint pluck give zero contribution to every even mode? What changes if the string is plucked off center?
8. A point strike excites a drum mode after moving off center. Which parts of the model determine that mode's natural frequency? Which determine whether the strike excites it?

Exercise 1

The mode has four half-waves. The internal nodes are at $L/4$, $L/2$ and $3L/4$. The two remaining nodes are the anchors.

Exercise 2

Watch through a cycle. The node stays at equilibrium throughout. The antinode moves with the largest amplitude and has its highest speed when it passes through equilibrium.

Exercise 3

Yes, $240\,\mathrm{Hz}=3f_1$ is the third natural frequency. Three half-waves fit the string, so $\lambda_3=2L/3$.

Exercise 4

It doubles. The fundamental changes from one quarter-wave in the tube to one half-wave. With the same length, the wavelength halves and the frequency doubles.

Exercise 5

The microphone can move to a pressure node of the mode. Near that position the mode produces little pressure change, so its local signal can be too small to resolve as a peak.

Exercise 6

Only $b_2=3\,\mathrm{mm}$ is nonzero. The given shape is exactly the second sine pattern. Its overlap with every other pattern vanishes.

Exercise 7

At mirror positions about the midpoint, the pluck is equally high while an even mode has opposite signs. Those parts of the projection cancel in pairs. With an off-center pluck the release shape loses that symmetry, so even modes can contribute.

Exercise 8

The membrane's radius, tension, areal mass density and fixed rim determine the mode frequency. The strike couples through the mode's value at the strike position. On a node that value is zero.

## Test it in the Lab

Change one setting at a time, then compare what you see with the tables and answers in this chapter.

[Resonance Tube & Sound Speed → Slide the end plate, move the microphone and compare open and closed tubes. Save sweeps at several lengths to infer sound speed and end correction.](https://sandboxphysics.com/labs/resonance-tube/) [Drum Modes & Strike Position → Strike a circular drum in three dimensions. Pick out one family of frequencies, find its nodal circles and diameters, then compare which vibrations a center strike and an off-center strike set ringing.](https://sandboxphysics.com/labs/drum-modes/) [Fourier Epicycles → Each Fourier term is a rotating vector. Connect them head to tail and the final tip traces a curve; add more terms and a wobbly approximation locks onto the target wave.](https://sandboxphysics.com/labs/fourier-epicycles/)

## Sources and reading scope

1. [OpenStax, University Physics Volume 1, §16.6 Standing Waves and Resonance](https://openstax.org/books/university-physics-volume-1/pages/16-6-standing-waves-and-resonance)

   The section forms a standing wave from two equal waves travelling in opposite directions and uses fixed ends to find nodes and allowed frequencies.

2. [OpenStax, University Physics Volume 1, §17.4 Normal Modes of a Standing Sound Wave](https://openstax.org/books/university-physics-volume-1/pages/17-4-normal-modes-of-a-standing-sound-wave)

   The section links path differences to phase and gives the ideal frequencies for open and closed tube ends. The lab compares frequency spacings.

3. [MIT OpenCourseWare, 8.03SC Vibrations and Waves, Chapter 6, Continuum Limit and Fourier Series](https://ocw.mit.edu/courses/8-03sc-physics-iii-vibrations-and-waves-fall-2016/651d034b498a5dceecab775b0901fbd4_MIT8_03SCF16_Text_Ch6.pdf)

   The chapter uses normal modes of the continuous string to solve its initial-value problem and uses orthogonality to find the mode coefficients.

4. [A. F. Bower, Applied Mechanics of Solids, §10.7.2 Circular Membrane Vibrations](https://solidmechanics.org/Text/Chapter10_7/Chapter10_7.php)

   The fixed circular edge sets the allowed frequencies through Bessel zeros. The lowest mode with two nodal diameters uses the root near 5.1356.

[← Chapter 5 · How does a wave carry a phase from place to place?](https://sandboxphysics.com/learn/oscillations-and-waves/travelling-waves/)

Chapters in this volume

- [1. Why does a mass on a spring oscillate?](https://sandboxphysics.com/learn/oscillations-and-waves/mass-spring-oscillation/)
- [2. How does a free oscillation die away?](https://sandboxphysics.com/learn/oscillations-and-waves/damped-oscillations/)
- [3. Why does a periodic push build a large oscillation?](https://sandboxphysics.com/learn/oscillations-and-waves/driven-oscillation-and-resonance/)
- [4. How do coupled oscillators exchange energy?](https://sandboxphysics.com/learn/oscillations-and-waves/coupled-oscillators/)
- [5. How does a wave carry a phase from place to place?](https://sandboxphysics.com/learn/oscillations-and-waves/travelling-waves/)
- [6. How do boundaries select standing waves?](https://sandboxphysics.com/learn/oscillations-and-waves/standing-waves-and-fourier/)

## Keep reading

Interactive Physics Textbook · Reading path

### Oscillations and Waves

1. [Article **Why does a mass on a spring oscillate?**](https://sandboxphysics.com/learn/oscillations-and-waves/mass-spring-oscillation/)
2. [Article **How does a free oscillation die away?**](https://sandboxphysics.com/learn/oscillations-and-waves/damped-oscillations/)
3. [Article **Why does a periodic push build a large oscillation?**](https://sandboxphysics.com/learn/oscillations-and-waves/driven-oscillation-and-resonance/)
4. [Article **How do coupled oscillators exchange energy?**](https://sandboxphysics.com/learn/oscillations-and-waves/coupled-oscillators/)
5. [Article **How does a wave carry a phase from place to place?**](https://sandboxphysics.com/learn/oscillations-and-waves/travelling-waves/)
6. [You are here **How do boundaries select standing waves?**](https://sandboxphysics.com/learn/oscillations-and-waves/standing-waves-and-fourier/)

1 more group

### Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

1. [Lab **Resonance Tube & Sound Speed**](https://sandboxphysics.com/labs/resonance-tube/)
2. [Article **Why the air beyond a pipe changes its resonance**](https://sandboxphysics.com/stories/instruments/resonance-tube/)
3. [Lab **Drum Modes & Strike Position**](https://sandboxphysics.com/labs/drum-modes/)
4. [Article **Standing waves on drum skins, on plates and in a liquid-filled channel**](https://sandboxphysics.com/stories/acoustics-ultrasound/standing-waves-and-resonators/)
