---
title: The vibrating string
heading: Transverse waves on a string and their speed, standing waves and harmonic modes, tuning by tension, how the plucking point sets the harmonic content, the string's characteristic impedance, and reflection where two strings meet
eyebrow: S16 · Lesson 3 · The vibrating string
xp: 50
---

::: hook
A string under tension is the simplest system that carries waves, and the simplest musical instrument. Its fixed ends allow only waves that fit a whole number of half-wavelengths, so it vibrates at a fundamental and its integer multiples, which our ears hear as a single note with a particular tone color. Where the string is plucked decides which harmonics are present, which is why a guitarist plucking near the bridge sounds bright and near the neck sounds mellow. The string is also the cleanest place to meet characteristic impedance and reflection before they show up for sound in air.
:::

::: play
- A string plucked at a fraction p of its length: the amplitudes of its harmonics, proportional to $|\sin(n\pi p)|/n^2$, relative to the fundamental.
- Plucking at the middle (p = 0.5) removes every even harmonic; plucking at a fifth of the length removes the 5th, 10th, and so on.
- Plucking close to the end (small p) keeps many harmonics strong: a brighter sound.
:::

```sim plot
view: graph
x: n = 1..16
y: A = 0..1.05
slider: p = 0.05..0.5 step 0.01 = 0.2
plot: abs(sin(n*pi*p))/n^2/abs(sin(pi*p)) | stems | label: harmonic amplitude relative to the fundamental
readout: second harmonic = abs(sin(2*pi*p))/4/abs(sin(pi*p)) | digits: 3
readout: third harmonic = abs(sin(3*pi*p))/9/abs(sin(pi*p)) | digits: 3
```

::: predict
## A guitar string 0.65 m long has a linear density of 6 g/m and plays 110 Hz. What's its tension?

- [ ] About 14 N
- [ ] About 1.2 N
- [x] About 123 N
- [ ] About 12,300 N

::: reveal
The fundamental is $f_1 = c/2L$, so c = 2 × 0.65 × 110 = 143 m/s, and $c = \sqrt{T/\mu}$ gives T = μc² = 0.006 × 143² = 123 N, about the weight of 12.5 kg. Six such strings put roughly 700 N on a guitar's neck.
:::
:::

::: nameit
## Waves on a string

A string with tension T and linear density μ (mass per length) carries transverse waves at

$$c = \sqrt{T/\mu}$$

Any shape $f(x - ct) + g(x + ct)$ travels without changing form.

## Modes

With both ends fixed, only standing waves with nodes at the ends survive: $y_n = A_n\sin(n\pi x/L)\cos(\omega_nt)$ with

$$f_n = \frac{nc}{2L} = \frac{n}{2L}\sqrt{\frac{T}{\mu}}$$

The frequencies are exact integer multiples of the fundamental: a **harmonic** series. Tuning raises the tension; heavier strings make lower notes at reasonable tensions.

## Plucking

A string pulled aside at a point a fraction p along its length and released starts as a triangle. Its harmonics have amplitudes

$$A_n \propto \frac{\sin(n\pi p)}{n^2}$$

so any harmonic with a node at the plucking point is missing, and the $1/n^2$ falloff makes plucked strings mellower than bowed ones, whose harmonics fall as 1/n.

## Impedance and reflection

A string resists being driven sideways with a characteristic impedance $Z = \mu c = \sqrt{T\mu}$ (force per transverse velocity). A wave reaching a junction with a second string reflects with displacement amplitude ratio

$$r = \frac{Z_1 - Z_2}{Z_1 + Z_2}$$

A fixed end is $Z_2 \to \infty$ (r = −1, inverted); a free end is $Z_2 = 0$ (r = +1).
:::

::: example
## For the predict question's string, find its characteristic impedance, and the reflection where it joins a string of twice the linear density under the same tension.

::: solution
1. **Characteristic impedance.**
   $$\begin{aligned} Z_1 &= \mu c \\ &= 0.006 \times 143 \\ &= 0.858\ \text{kg/s} \end{aligned}$$
2. **The heavier string.**
   $$\begin{aligned} Z_2 &= \sqrt{122.7 \times 0.012} \\ &= 1.213\ \text{kg/s} \end{aligned}$$
3. **Reflection.**
   $$\begin{aligned} r &= \frac{Z_1 - Z_2}{Z_1 + Z_2} \\ &= -0.172 \end{aligned}$$
   a 17% inverted reflection.

**Answer:** the string's impedance is 0.858 kg/s, and the junction reflects 17% of the wave, inverted (r = −0.172).
:::
:::

::: example
## The string is plucked a fifth of the way along. How strong are its second and third harmonics compared with the fundamental?

::: solution
1. **Second harmonic.** Compared with the fundamental:
   $$\begin{aligned} \frac{A_2}{A_1} &= \frac{|\sin(0.4\pi)|/4}{\sin(0.2\pi)} \\ &= 0.405 \end{aligned}$$
2. **Third harmonic.**
   $$\begin{aligned} \frac{A_3}{A_1} &= \frac{|\sin(0.6\pi)|/9}{\sin(0.2\pi)} \\ &= 0.180 \end{aligned}$$
3. **Missing harmonics.** The fifth is zero. Plucking at the middle would give zero for the second.

**Answer:** the second harmonic is 0.405 of the fundamental and the third is 0.180.
:::
:::

::: example
## A guitar string under 70 N has a linear density of 0.6 g/m. A traveling wave on it at 196 Hz has a 1 mm amplitude. What power does the wave carry?

::: solution
1. **Characteristic impedance.**
   $$\begin{aligned} Z &= \sqrt{T\mu} \\ &= \sqrt{70 \times 0.0006} \\ &= 0.205\ \text{kg/s} \end{aligned}$$
2. **Power.** A traveling wave carries
   $$\begin{aligned} P &= \tfrac12 Z(\omega A)^2 \\ &= \tfrac12 \times 0.205 \\ &\quad \times (2\pi \times 196 \times 0.001)^2 \\ &= 0.155\ \text{W} \end{aligned}$$
3. **Where the power goes.** Only a tiny fraction of that leaks into the guitar's body through the bridge on each pass, which is why a plucked string rings for seconds and why the radiating has to be done by the body.

**Answer:** the wave carries 0.155 W.
:::
:::

::: check
given: T = 50 | 100 | 400; m = 1 | 5 | 20
answer: sqrt(T/(m*1e-3))
unit: m/s
tolerance: 0.5%

## A string under {T} N tension has a linear density of {m} g/m. What's its wave speed?

::: right
Right. $\sqrt{T/\mu}$ = {answer} m/s.
:::

::: misses
- [sqrt(T/m)] Convert grams per meter to kilograms per meter.
- [any] Not yet. $c = \sqrt{T/\mu}$.
:::
:::

::: check
given: T = 50 | 100 | 400; m = 1 | 5 | 20; L = 0.3 | 0.65 | 1.2
answer: sqrt(T/(m*1e-3))/(2*L)
unit: Hz
tolerance: 0.5%

## A string {L} m long under {T} N with {m} g/m. What's its fundamental frequency?

::: right
Right. $\frac{1}{2L}\sqrt{T/\mu}$ = {answer} Hz.
:::

::: misses
- [sqrt(T/(m*1e-3))/L] The fundamental is half a wavelength long: divide by 2L.
- [any] Not yet. $f_1 = c/2L$.
:::
:::

::: check
given: f = 82.4 | 196 | 440; L = 0.33 | 0.65; m = 0.5 | 3 | 7
answer: m*1e-3*(2*L*f)^2
unit: N
tolerance: 0.5%

## A string {L} m long with {m} g/m must sound {f} Hz. What tension is needed?

::: right
Right. $T = \mu(2Lf)^2$ = {answer} N.
:::

::: misses
- [m*1e-3*(L*f)^2] The wave speed is 2Lf.
- [any] Not yet. Solve $f = \frac{1}{2L}\sqrt{T/\mu}$ for T.
:::
:::

::: check
given: p = 0.1 | 0.15 | 0.3; n = 2 | 3
answer: abs(sin(n*pi*p))/n^2/abs(sin(pi*p))
tolerance: 0.5%

## A string is plucked at {p} of its length. How strong is harmonic {n} relative to the fundamental?

::: right
Right. $|\sin(n\pi p)|/n^2 \div \sin(\pi p)$ = {answer}.
:::

::: misses
- [abs(sin(n*pi*p))/n/abs(sin(pi*p))] A plucked string's harmonics fall as $1/n^2$.
- [any] Not yet. The triangle's Fourier coefficients.
:::
:::

::: check
given: T = 50 | 100 | 400; m = 1 | 5 | 20
answer: sqrt(T*m*1e-3)
unit: kg/s
tolerance: 0.5%

## What's the characteristic impedance of a string under {T} N with {m} g/m?

::: right
Right. $\sqrt{T\mu}$ = {answer} kg/s.
:::

::: misses
- [any] Not yet. $Z = \mu c = \sqrt{T\mu}$.
:::
:::

::: check
given: a = 0.5 | 1 | 2; b = 1.5 | 3 | 6
answer: (a - b)/(a + b)
tolerance: 0.5%

## A wave on a string of impedance {a} kg/s reaches a junction with one of {b} kg/s. What's the reflected displacement amplitude ratio?

::: right
Right. $(Z_1 - Z_2)/(Z_1 + Z_2)$ = {answer}.
:::

::: misses
- [(b - a)/(a + b)] Check the sign: going into a heavier string inverts the reflection.
- [any] Not yet. The impedance mismatch.
:::
:::

::: check
kind: parts
given: T = 40 | 100; m = 0.4 | 5; f = 80 | 300; A = 0.5 | 2

## A string under {T} N with {m} g/m carries a traveling wave at {f} Hz with {A} mm amplitude.

::: part
answer: sqrt(T*m*1e-3)
unit: kg/s
tolerance: 0.5%

### What is its characteristic impedance?

::: misses
- [sqrt(T/(m*1e-3))] That's the wave speed; the impedance is $\sqrt{T\mu}$.
- [any] $\sqrt{T\mu}$.
:::
:::

::: part
answer: 0.5*sqrt(T*m*1e-3)*(2*pi*f*A*1e-3)^2
unit: W
tolerance: 0.5%

### What power does the wave carry?

::: misses
- [sqrt(T*m*1e-3)*(2*pi*f*A*1e-3)^2] The average power has a factor ½.
- [any] $\frac12Z(\omega A)^2$.
:::
:::
:::

::: check
kind: derivation
vars: T = 1..500, m = 0.0001..0.05, L = 0.1..2, n = 1..10

## A string of length L under tension T has linear density μ (kg/m), fixed at both ends.

::: step
answer: sqrt(T/m)

### What is its wave speed?
:::

::: step
answer: n*sqrt(T/m)/(2*L)

### What is the frequency of its nth mode?
:::

::: step
answer: sqrt(T*m)

### What is its characteristic impedance?
:::

::: right
Right. Speed and impedance both grow with tension; density raises the impedance but slows the wave.
:::
:::

::: explain
## Why does plucking a string at its middle remove all the even harmonics?

::: model
A plucked string's initial shape is a triangle with its peak at the plucking point, and each harmonic's amplitude is set by how well that shape matches the harmonic's mode shape. Every even harmonic has a node exactly at the middle of the string and is antisymmetric about it, while a triangle peaked at the middle is symmetric, so the overlap of the two is zero and those modes are never excited. More generally, any harmonic with a node at the plucking point gets no energy, because the plucking force acts exactly where that mode can't move.
:::
:::

::: practice

::: check
given: T = 10 | 1000; m = 0.3 | 50; L = 0.2 | 2
answer: sqrt(T/(m*1e-3))/(2*L)
unit: Hz
tolerance: 0.5%

## Fundamental: {T} N, {m} g/m, {L} m?

::: misses
- [any] $\frac{1}{2L}\sqrt{T/\mu}$.
:::
:::

::: check
given: f = 30 | 2000; L = 0.2 | 1.5; m = 0.2 | 20
answer: m*1e-3*(2*L*f)^2
unit: N
tolerance: 0.5%

## Tension for {f} Hz: {L} m, {m} g/m?

::: misses
- [any] $\mu(2Lf)^2$.
:::
:::

::: check
given: a = 0.1 | 10; b = 0.2 | 20
answer: (a - b)/(a + b)
tolerance: 0.5%

## Reflection: {a} → {b} kg/s?

::: misses
- [any] $(Z_1 - Z_2)/(Z_1 + Z_2)$.
:::
:::
:::
