Harmonic Distortion¶
Core Idea¶
A signal passed through a nonlinear transfer function emerges carrying new frequency components — harmonics at integer multiples of the inputs, intermodulation products at their sums and differences — that were not in the input. The extra spectrum is generated by the curvature of the mapping, requiring only nonlinearity and no sampling — which is exactly why it must be distinguished from aliasing.
How would you explain it like I'm…
The Buzzy Speaker
Made-Up Tones
New Spectrum From Curvature
Broad Use¶
- Audio and amplifier engineering: a nonlinear gain stage adds harmonics (measured as THD); clipping generates a rich series guitar overdrive exploits and hi-fi design fights.
- Optics and photonics: second-harmonic generation in a crystal manufactures visible light from infrared by doubling its frequency.
- Mechanical engineering: nonlinear stiffness or backlash responds to one driving frequency with vibration at its harmonics, revealing loose joints and cracks.
- Economics: a nonlinear pass-through (convex cost curve, threshold price response) converts a clean shock into a response with components the input lacked.
- Neuroscience: the cochlea's nonlinear mechanics produce combination tones physically present in the inner ear but absent from the acoustic input.
Clarity¶
Routes "frequencies that weren't there" to nonlinearity rather than undersampling, and reframes the spurious spectrum as informational — a readable fingerprint of the transfer curve, a defect to suppress in a hi-fi amplifier but a measurement to exploit in vibration diagnostics.
Manages Complexity¶
Compresses every "the output has frequencies the input didn't" pathology into one mechanism with one intervention family — linearize, pre-distort, back off the level, or read the distortion as diagnosis — carried by a single discriminating question.
Abstract Reasoning¶
Any new spectral component is proof of nonlinearity (a linear system cannot create a frequency); which harmonics appear reverse-engineers the curve's shape; and the clean test is to vary amplitude (distortion grows) rather than sampling rate (which would indicate aliasing).
Knowledge Transfer¶
- Audio/RF → any invertible nonlinearity: the pre-distortion template — characterize the curve, apply its inverse at the source — transfers verbatim, depending only on having the transfer curve.
- Audio THD → vibration analysis: the harmonic spectrum reads back the order of a machine's nonlinearity, exposing cracks a linear analysis would miss.
- RF → acoustics: the intermodulation insight (sum-and-difference products falling in-band) carries to cochlear combination tones.
Example¶
A power amplifier driven into gain compression generates third-order intermodulation products that spill into adjacent channels; digital predistortion applies the amplifier's mathematical inverse before the signal reaches it so the two curvatures cancel — and an engineer who misreads the spillover as an aliasing problem and reaches for faster sampling fixes nothing.
Relationships to Other Primes¶
Parents (1) — more general patterns this builds on
- Harmonic Distortion is a kind of Distortion — SPLIT-PRODUCT (from aliasing_and_harmonic_distortion). The file + manifest: a nonlinear transfer function generates new frequency components (harmonics/intermodulation) absent from the input — a nonlinearity artifact, a specialization of distortion (deterministic mapping-deviation). Explicit parent. Nearest neighbor (0.80).
Path to root: Harmonic Distortion → Distortion → Transformation
Not to Be Confused With¶
- Harmonic Distortion is not Aliasing because aliasing produces spurious frequencies by undersampling in a perfectly linear system and tracks the sampling rate, whereas harmonic distortion produces them by nonlinearity in a continuous system and tracks the signal amplitude.
- Harmonic Distortion is not the general Distortion prime because distortion is the genus (any deterministic deviation from faithful rendering, including geometric and economic cases with no frequency content), whereas harmonic distortion is the spectral-generation-by-nonlinearity species.
- Harmonic Distortion is not Noise because noise is a random perturbation that averages out, whereas harmonic distortion is deterministic and repeatable — averaging only sharpens the harmonic fingerprint.