HomeArticlesSound & Music

The Vibrating String: Standing Waves, Harmonics and Timbre

How fixed ends force a string into a discrete harmonic series, why tension and thickness set the pitch, and how the pluck point shapes the overtone spectrum.

mysimulator teamUpdated June 2026≈ 7 min read▶ Open the simulation

The one-dimensional wave equation

An ideal stretched string's transverse displacement y(x,t) obeys the 1D wave equation, with a wave speed set entirely by the string's own physical properties — its tension T and its mass per unit length μ:

∂²y/∂t² = c² * ∂²y/∂x²
c = sqrt(T / μ)
live demo · a plucked string vibrating in its harmonic modes● LIVE

Fixed ends force a discrete set of notes

A real string is clamped at both ends, y(0,t) = y(L,t) = 0, and that boundary condition is the whole reason a string produces musical notes rather than an arbitrary continuum of tones: only wavelengths that fit an exact number of half-waves between the two fixed ends can exist as a steady standing-wave pattern at all, so the allowed frequencies form a discrete harmonic series:

λ_n = 2L / n              (n = 1, 2, 3, ...)
f_n = n * c / (2L) = n * f_1     (f_1 = the fundamental)

Nodes, antinodes, and everything happening at once

The nth harmonic has n antinodes (points of maximum motion) and n+1 nodes (motionless points, including the two fixed ends). A plucked string does not vibrate in only one of these modes at a time — the general motion of any real pluck is a superposition of the fundamental and every harmonic above it simultaneously, exactly as Fourier's theorem guarantees for any periodic shape, with the relative strength of each harmonic determined entirely by the initial pluck shape.

Why tension and thickness change the pitch

Since c = √(T/μ) and f_1 = c / (2L), the fundamental frequency rises with the square root of tension and falls with the square root of linear density — which is exactly the physical basis of tuning a guitar (turning the tuning peg changes T) and of why a bass string sounds lower than a treble string of the same length and tension (a thicker, heavier-wound string has a larger μ, so it needs a lower frequency to satisfy the same wave speed relationship).

The overtone spectrum of a real pluck

Decomposing a triangular pluck shape (displaced at one point x₀ and released) into its Fourier sine series shows the amplitude of the nth harmonic scales as roughly (1/n²) · sin(nπx₀/L):

A_n ∝ (1 / n²) * sin(n * π * x₀ / L)

Plucking near one end (x₀ close to 0 or L) pushes energy into higher harmonics, since sin(nπx₀/L) stays large for more values of n, giving a brighter, twangier tone. Plucking exactly at the midpoint (x₀ = L/2) sends sin(nπ/2) to zero for every even n, silencing every even harmonic completely and leaving only the odd ones — a purer, more open sound that any guitarist plucking over the middle of the string is producing whether they know the Fourier series behind it or not.

Frequently asked questions

Why does plucking near the bridge sound brighter than plucking near the middle?

The Fourier decomposition of the pluck's initial triangular shape places more energy into the higher harmonics when the pluck point is closer to one end of the string. Plucking exactly at the midpoint does the opposite, cancelling every even harmonic outright because they each have a node located precisely there.

Why do thicker strings produce lower notes at the same tension and length?

The wave speed on a string is the square root of tension divided by linear mass density, so a thicker or more heavily wound string with a larger mass per unit length supports a slower wave speed for the same tension. Since the fundamental frequency is the wave speed divided by twice the length, a slower wave speed means a lower note, which is why bass strings are wound with extra mass rather than simply made longer.

What exactly are nodes and antinodes?

Nodes are points along the string that stay motionless in a given standing-wave mode because the rightward- and leftward-travelling waves making up that mode always cancel there; antinodes are the points of maximum displacement in between. The nth harmonic has exactly n antinodes and n+1 nodes, counting the two fixed ends as nodes.

Try it live

Everything above runs in your browser — open String Physics and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open String Physics simulation

What did you find?

Add reproduction steps (optional)