---
title: Nonlinear acoustics
heading: Why loud waves distort as they travel, the coefficient of nonlinearity β and B/A, the discontinuity distance where a sinusoid becomes a shock, second-harmonic growth, the Goldberg number that pits nonlinearity against absorption, and the parametric array
eyebrow: S16 · Lesson 47 · Nonlinear acoustics
xp: 50
---

::: hook
Every lesson so far has assumed sound is a small disturbance, so waves add without changing each other and keep their shape. At 120 dB, a 1 kHz tone in air is still only a pressure change of two ten-thousandths of an atmosphere, yet after a couple of hundred meters it has turned into a sawtooth with near-vertical fronts. Medical ultrasound scanners exploit the same effect to image with harmonics the probe never sent, and sonars use it to make narrow low-frequency beams from small transducers. Where does the distortion come from?
:::

::: play
- A sinusoidal wave in a lossless fluid, plotted against phase over one cycle, at a distance σ measured in units of the discontinuity distance ℓ. The dashed curve is the original sinusoid.
- Each point of the waveform travels at $c + \beta u$: crests, where the fluid moves forward, outrun troughs. The waveform leans forward.
- At σ = 1 the front becomes vertical: a shock forms. Beyond it the curve would fold over, which a real pressure can't do; instead a thin shock front forms and dissipates energy.
:::

```sim plot
view: complex
range: 3.5
axes: phase, pressure
slider: s = 0..1 = 0.5
curve: (u - s*sin(u)) + j*sin(u) | over: u = -3.14159..3.14159 | label: distorted wave
curve: u + j*sin(u) | over: u = -3.14159..3.14159 | dashed | color: ch3 | label: initial sinusoid
readout: second harmonic relative to the fundamental, near the source = s/2 | digits: 3
```

::: predict
## A tone of the same sound pressure level is sent at 1 kHz and at 10 kHz through the same air. At which frequency does a shock form sooner?

- [ ] At 1 kHz, because longer waves carry more energy
- [x] At 10 kHz, ten times sooner
- [ ] Both at the same distance, since the pressure is the same
- [ ] Neither; shocks need explosions

::: reveal
The crests gain on the troughs by a fixed fraction of a wavelength per wavelength traveled, so the distance to a shock is a fixed number of wavelengths: $\ell = 1/(\beta Mk)$. Ten times the frequency means ten times the wavenumber and a tenth of the distance. Kinsler's example: 120 dB in air forms a shock after about 230 m at 1 kHz and 23 m at 10 kHz, though absorption, which also grows with frequency, may stop it first.
:::
:::

::: nameit
## Why waves distort

Two effects make a strong wave's speed depend on its own amplitude. Compression heats a gas, so the local sound speed is higher where the pressure is higher (the nonlinear equation of state), and the fluid carries each part of the wave along with its own particle velocity u. Together, a point of the waveform moves at

$$c + \beta u, \qquad \beta = 1 + \frac{B}{2A}$$

where B/A is the fluid's **parameter of nonlinearity**: for a perfect gas β = (γ + 1)/2, which is 1.2 for air, and for water B/A ≈ 5, so β ≈ 3.5 (tissues run 6 to 11).

## The discontinuity distance

With peak acoustic Mach number $M = U/c = P/(\rho_0c^2)$, where P is the peak pressure, an initially sinusoidal plane wave develops a vertical front at the **discontinuity distance**

$$\ell = \frac{1}{\beta Mk}$$

It shrinks with amplitude and frequency. Water's large $\rho_0c^2$ (2.25 GPa against air's 0.14 MPa) makes M small for a given pressure, but ultrasound's high frequencies and megapascal pressures still form shocks within centimeters.

## Harmonics

As the wave steepens, energy moves into harmonics. Close to the source, the second harmonic grows linearly with distance:

$$\frac{p_2}{p_1} \approx \frac{\beta Mkx}{2} = \frac{x}{2\ell}$$

By the discontinuity distance the waveform holds a full series of harmonics, and beyond it, as a sawtooth, the nth harmonic falls as 1/n. **Tissue harmonic imaging** forms ultrasound images from the second harmonic generated in the body, which is cleaner because it's born where the beam is strongest and narrowest.

## Losses versus nonlinearity

Absorption grows with frequency, so it attacks the harmonics first. The **Goldberg number** $\Gamma = 1/(\alpha\ell)$ compares the absorption length 1/α with the discontinuity distance. For Γ ≪ 1 the wave dies before it distorts; for Γ ≫ 1 shocks form first. Once a shock forms, its front dissipates energy, so beyond a point raising the source level barely raises the level far away: **acoustic saturation**.

## The parametric array

Two strong primary waves at nearby frequencies $f_1$ and $f_2$, sent in the same narrow beam, generate a wave at their **difference frequency** $f_1 - f_2$ throughout the volume they share. That volume acts as a long end-fire array of virtual sources, so the low difference frequency comes out in a beam nearly as narrow as the high-frequency primaries', without the large aperture a conventional low-frequency source would need. The price is low efficiency, a few percent at best. Kinsler derives it with the same perturbation method: the first nonlinear correction is driven by the square of the linear solution, whose products contain sum and difference frequencies.
:::

::: example
## A siren produces 140 dB re 20 µPa at 2 kHz in air. Find its peak Mach number and discontinuity distance, and the second harmonic's relative size 2 m away.

::: solution
1. **Peak pressure.** The RMS pressure is
   $$20\ \mu\text{Pa} \times 10^7 = 200\ \text{Pa}$$
   so the peak is 283 Pa.
2. **Peak Mach number.**
   $$\begin{aligned} M &= \frac{283}{1.21 \times 343^2} \\ &= 283/142{,}400 \\ &= 1.99 \times 10^{-3} \end{aligned}$$
3. **Discontinuity distance.** With k = 2π × 2000/343 = 36.6 m⁻¹ and β = 1.2:
   $$\begin{aligned} \ell &= \frac{1}{1.2 \times 1.99 \times 10^{-3} \times 36.6} \\ &= 11.4\ \text{m} \end{aligned}$$
4. **Second harmonic at 2 m.**
   $$\begin{aligned} p_2/p_1 &\approx x/2\ell \\ &= 2/22.9 \\ &= 8.7\% \end{aligned}$$
   already easily measured as distortion.
5. **A quieter siren.** The same siren at 120 dB would form a shock only after 114 m.

**Answer:** a peak Mach number of 1.99 × 10⁻³, a discontinuity distance of 11.4 m, and a second harmonic 8.7% of the fundamental at 2 m.
:::
:::

::: example
## A 1 MHz ultrasound beam reaches 1 MPa peak pressure in water. How far until a shock forms?

::: solution
1. **Stiffness of water.**
   $$\begin{aligned} \rho_0c^2 &= 1000 \times 1500^2 \\ &= 2.25 \times 10^9\ \text{Pa} \end{aligned}$$
2. **Mach number.**
   $$\begin{aligned} M &= \frac{10^6}{2.25 \times 10^9} \\ &= 4.4 \times 10^{-4} \end{aligned}$$
3. **Shock distance.** With k = 2π × 10⁶/1500 = 4190 m⁻¹ and β = 3.5:
   $$\begin{aligned} \ell &= \frac{1}{3.5 \times 4.4 \times 10^{-4} \times 4190} \\ &= 0.15\ \text{m} \end{aligned}$$
4. **Therapy and imaging.** Focused therapeutic beams reach far higher pressures and form shocks within millimeters at the focus; diagnostic pressures produce strong harmonics over typical imaging depths of several centimeters.

**Answer:** a shock forms about 0.15 m from the source.
:::
:::

::: example
## A 3 MHz ultrasound beam reaches 1 MPa peak in tissue (B/A = 7, ρ = 1050 kg/m³, c = 1540 m/s). How far until a shock would form, and how strong is the second harmonic 2 cm in?

::: solution
1. **Coefficient of nonlinearity.**
   $$\begin{aligned} \beta &= 1 + B/2A \\ &= 4.5 \end{aligned}$$
2. **Discontinuity distance.** For a plane wave:
   $$\begin{aligned} \bar{x} &= \frac{\rho c^3}{\beta\omega p} \\ &= 4.5\ \text{cm} \end{aligned}$$
3. **Second harmonic at 2 cm.** Well before that, the second harmonic grows in proportion to distance:
   $$\begin{aligned} p_2/p_1 &\approx x/2\bar{x} \\ &= 22\% \end{aligned}$$
4. **Harmonic imaging.** Scanners image that harmonic, which forms in the tissue itself and is free of the reverberation that clutters the fundamental near the skin.

**Answer:** a shock would form after 4.5 cm, and 2 cm in the second harmonic is about 22% of the fundamental.
:::
:::

::: check
given: L = 120 | 130 | 140 | 150
answer: sqrt(2)*20e-6*10^(L/20)/(1.21*343^2)
tolerance: 0.5%

## A plane wave in air (ρ₀ = 1.21 kg/m³, c = 343 m/s) has a sound pressure level of {L} dB re 20 µPa. What's its peak acoustic Mach number?

::: right
Right. Peak pressure over $\rho_0c^2$: {answer}.
:::

::: misses
- [20e-6*10^(L/20)/(1.21*343^2)] Use the peak pressure, √2 times the RMS.
- [sqrt(2)*20e-6*10^(L/20)/(1.21*343)] Divide by $\rho_0c^2$, not $\rho_0c$.
- [any] Not yet. $M = P/(\rho_0c^2)$ with P the peak pressure.
:::
:::

::: check
given: L = 120 | 130 | 140; f = 500 | 1000 | 4000
answer: 1/(1.2*sqrt(2)*20e-6*10^(L/20)/(1.21*343^2)*2*pi*f/343)
unit: m
tolerance: 0.5%

## A {L} dB, {f} Hz plane wave travels through air (β = 1.2). What's its discontinuity distance?

::: right
Right. $\ell = 1/(\beta Mk)$ = {answer} m.
:::

::: misses
- [1/(sqrt(2)*20e-6*10^(L/20)/(1.21*343^2)*2*pi*f/343)] Include β = 1.2 for air.
- [any] Not yet. Find M from the peak pressure and k from the frequency.
:::
:::

::: check
given: P = 0.5 | 1 | 3; f = 1 | 2 | 5; b = 5 | 7
answer: 1/((1 + b/2)*P*1e6/(1000*1500^2)*2*pi*f*1e6/1500)*100
unit: cm
tolerance: 0.5%

## An ultrasound wave of {P} MPa peak at {f} MHz travels through a fluid with B/A = {b}, ρ₀ = 1000 kg/m³ and c = 1500 m/s. What's its discontinuity distance?

::: right
Right. β = 1 + B/2A, then $\ell = 1/(\beta Mk)$ = {answer} cm.
:::

::: misses
- [1/(b*P*1e6/(1000*1500^2)*2*pi*f*1e6/1500)*100] Use β = 1 + B/2A, not B/A.
- [any] Not yet. Find β, M and k, then $\ell = 1/(\beta Mk)$.
:::
:::

::: check
given: x = 0.5 | 1 | 2; l = 10 | 20 | 50
answer: 100*x/(2*l)
unit: %
tolerance: 0.5%

## A wave's discontinuity distance is {l} m. About how large is its second harmonic relative to the fundamental {x} m from the source?

::: right
Right. $x/2\ell$ = {answer}%.
:::

::: misses
- [100*x/l] The second harmonic's ratio is x/(2ℓ).
- [any] Not yet. Near the source $p_2/p_1 \approx x/2\ell$.
:::
:::

::: check
given: a = 0.0004 | 0.003 | 0.02; l = 20 | 150 | 700
answer: 1/(a*l)
tolerance: 0.5%

## A wave has discontinuity distance {l} m in a medium with absorption coefficient {a} Np/m. What's its Goldberg number?

::: right
Right. Γ = 1/(αℓ) = {answer}: above 1, shocks form before absorption wins.
:::

::: misses
- [a*l] It's the absorption length over the discontinuity distance: 1/(αℓ).
- [any] Not yet. Compare 1/α with ℓ.
:::
:::

::: check
given: f = 100 | 200 | 400; d = 5 | 10 | 20
answer: d
unit: kHz
tolerance: 0.5%

## A parametric sonar drives primaries at {f} kHz and {f} + {d} kHz. At what frequency is its narrow low-frequency beam?

::: right
Right. The difference frequency, {answer} kHz.
:::

::: misses
- [2*f + d] That's the sum frequency, which is absorbed quickly.
- [any] Not yet. The nonlinearity mixes the primaries; the useful product is their difference.
:::
:::

::: check
kind: parts
given: b = 5 | 7 | 9; P = 0.5 | 2; f = 2 | 5; x = 0.5 | 1

## Ultrasound of {P} MPa peak at {f} MHz travels through tissue with B/A = {b} (ρ = 1050 kg/m³, c = 1540 m/s).

::: part
answer: 1050*1540^3/((1 + b/2)*2*pi*f*1e6*P*1e6)*100
unit: cm
tolerance: 0.5%

### What is its discontinuity distance?

::: misses
- [1050*1540^3/(b*2*pi*f*1e6*P*1e6)*100] Use β = 1 + B/2A, not B/A.
- [any] $\rho c^3/(\beta\omega p)$.
:::
:::

::: part
answer: x/(2*1050*1540^3/((1 + b/2)*2*pi*f*1e6*P*1e6)*100)
tolerance: 1%

### About how large is the second harmonic, relative to the fundamental, {x} cm in?

::: misses
- [any] $x/2\bar x$ while x is well short of $\bar x$.
:::
:::
:::

::: check
kind: derivation
vars: r = 900..1200, c = 1400..1600, b = 1..10, f = 100000..10000000, P = 10000..5000000

## A wave of peak pressure P and frequency f travels through a fluid of density ρ, speed c and nonlinearity coefficient β.

::: step
answer: r*c^3/(b*2*pi*f*P)

### What is its discontinuity distance?
:::

::: step
answer: P/(r*c^2)

### What is its peak acoustic Mach number?
:::

::: right
Right. The distance is about one over (β × Mach × k): stronger, higher-frequency waves steepen sooner.
:::
:::

::: explain
## Why does a strong sound wave steepen as it travels, and why can't the steepening go on forever?

::: model
In a strong wave the compressions are slightly hotter and denser than the rarefactions, so sound travels a little faster there, and the fluid in a compression is also moving forward with the wave, adding its particle velocity. Each part of the waveform therefore moves at $c + \beta u$: crests faster than c, troughs slower. The crests gain steadily on the troughs ahead of them, so the zero crossings between them steepen. By the discontinuity distance the front would be vertical, and if the process continued, the waveform would fold over and have three pressures at one place, which is impossible. Instead, a shock forms: a thin front across which pressure jumps, where viscosity and heat conduction act strongly and dissipate energy. From then on the wave loses energy at its fronts, which limits how loud a distant field can be made.
:::
:::

::: practice

::: check
given: L = 100..160; f = 100..10000
answer: 1/(1.2*sqrt(2)*20e-6*10^(L/20)/(1.21*343^2)*2*pi*f/343)
unit: m
tolerance: 0.5%

## Discontinuity distance in air: {L} dB at {f} Hz?

::: misses
- [any] $1/(\beta Mk)$, β = 1.2.
:::
:::

::: check
given: x = 0.1..5; l = 20..500
answer: 100*x/(2*l)
unit: %
tolerance: 0.5%

## Second harmonic at {x} m for ℓ = {l} m?

::: misses
- [any] $x/2\ell$.
:::
:::

::: check
given: a = 0.0001..0.05; l = 1..1000
answer: 1/(a*l)
tolerance: 0.5%

## Goldberg number: α = {a} Np/m, ℓ = {l} m?

::: misses
- [any] $1/(\alpha\ell)$.
:::
:::
:::
