Skip to content

Harmonic Distortion

Prime #
894
Origin domain
Signal Processing And Communication
Subdomain
signal processing → Signal Processing And Communication
Also from
Optics, Mechanical Engineering, Economics, Neuroscience
Aliases
Nonlinear Distortion, Total Harmonic Distortion, Intermodulation Distortion, Spurious Harmonic Generation

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

If you sing one clean note into a cheap toy speaker, it can buzz and add extra tones that you never sang. Harmonic Distortion is when something bends a pure sound and brand-new tones come out that weren't there before, made up by the bending itself.

Made-Up Tones

When a pure signal, like a single musical tone, passes through something that doesn't respond evenly, the output comes out with *extra* tones added in. These new tones are at neat multiples of the original (twice the pitch, three times, and so on). The important thing is that nothing copied them in, the bend itself *manufactured* them. You can tell this is happening because the extra tones get stronger when you turn the signal up louder, since a louder signal explores more of the bendy part of the response.

New Spectrum From Curvature

Harmonic Distortion is when a signal passes through a *nonlinear* transfer function, a mapping whose output isn't simply proportional to its input, and comes out carrying new frequency components that were never in the input: harmonics at whole-number multiples of the input frequency, plus, if several tones are present, intermodulation products at their sums and differences. The decisive point is that this needs *only* nonlinearity, no sampling, no digitizing, no rounding. A perfectly smooth continuous signal flowing through a smooth but curved medium still picks up harmonics, because a curve raises a sinusoid to powers, and powers of a cosine *are* cosines at multiplied frequencies. This is exactly why it must be distinguished from aliasing: aliasing's fake frequencies come from undersampling, not curvature. The test that tells them apart is to vary the *level*, harmonic distortion grows with amplitude, while a sampling artifact tracks the sampling rate.

 

Harmonic Distortion is the pattern in which a signal passed through a nonlinear transfer function emerges carrying new frequency components, harmonics at integer multiples of the input frequencies and intermodulation products at their sums and differences, that were not present in the input at all. The extra spectral lines are *generated*, not transmitted: they are manufactured by the curvature of the mapping itself. The decisive commitment is that this requires only nonlinearity, no sampling, discretization, quantization, or time step. A perfectly continuous signal through a perfectly continuous but nonlinear medium acquires harmonics, because the nonlinearity acting on a sinusoid produces powers of that sinusoid, and powers of a cosine are cosines at multiplied frequencies. Four commitments hold: an input signal with spectral content; a nonlinear transfer function (a saturating amplifier, a stiffening spring, a convex pass-through rule) for which superposition fails and gain depends on level; spectral generation of harmonics and intermodulation products; and the fact that the generated structure is *diagnostic* of the curve's shape, a quadratic term yields a second harmonic, a cubic term a third, so the new spectrum reads back the order of the curve. The single most consequential fact is that the artifact arises from the nonlinearity and nothing else, which is exactly why it must be distinguished from aliasing, whose spurious frequencies come from undersampling. The test that isolates the mechanism is to vary the signal level, not the sampling: distortion grows with amplitude, while a sampling artifact tracks the sampling rate.

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

One-hop neighborhood: parents above, mutual partners to the right, children below.Harmonic Distortionsubsumption: DistortionDistortion

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 DistortionDistortionTransformation

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.