TrumpetTrumpet · the science of the horn

the science of the horn

Why a trumpet has three valves

A tube of one length can only sound a ladder of notes — the harmonic series. The three valves exist to fill the biggest gap in that ladder with just enough extra tubing. Here is the whole idea, from a bugle call to the twelfth root of two, at every skill level.

works for:Ages 6–9Ages 10–13Ages 14+

start here — three switches

A trumpet has exactly three moving parts you press. Each one is either down or up — there is no halfway. Three switches, two settings each: the instrument is a 3-bit number, and a trumpeter's fingers are counting in binary all night long. What makes it worth a whole room of mathematics is what happens when you press two at once — because the valves add pipe, and pitch is a thing that multiplies. Those two do not get along, and you can hear the argument.

i

The air takes a detour

A trumpet cannot stretch. So it carries three spare loops of pipe, and each valve is a trapdoor that sends the air the long way round one of them. Press a valve and the journey suddenly gets longer — in a fixed jump, never a slide.

MeasurementRatio & proportionPhysics: waves
the air's journey — press a valve and watch it detourvalves 000 · open

The trumpet is drawn here unrolled — a real one folds this same tube up twice so it fits under your arm. Faint loops are shut. Press a valve and its loop lights up and joins the road.

valve 1shut · +18.1 cm+2 semitonesvalve 2shut · +8.8 cm+1 semitonevalve 3shut · +28.0 cm+3 semitonesmouthpiecebell — the air comes out here
valves
000
open
detour added
+0.0 cm
no detour
total air path
1.48 m
mouthpiece to bell
the note
Bb
233.08 Hz
Longer tube, lower note — exactly the same law as the trombone.

longer tube = lower note

All eight things a trumpet's valves can do, shortest tube at the top. Tap any bar to put the valves there. Notice there is no way to land between two bars — a trumpet jumps, it never slides.

Read down the bars: every bar is longer than the one above it, and every note is lower. That is the whole law of a brass instrument in one picture.

Look closely at the two bars that both play G. Valve 3 on its own gives 1.760 m; valves 1 and 2 together give 1.749 m. Same note on paper, two different tubes — and that tiny difference is a real thing you can hear.

two solutions to one problem

trombone — smooth

Stretches the tube itself, through every length in between. 2.74 m to 3.87 m with nothing skipped. Perfectly in tune anywhere — but you have to find the spot by ear, every time.

trumpet — in jumps

Adds a whole loop at once, in fixed steps. 1.48 m to 2.03 m in eight settings and nothing between them. Lands in the same place every time — but the combinations come out a bit short.

Identical physics: air travelling down a tube, and a longer trip means a lower note. Two completely different pieces of engineering to change that trip length — one continuous, one discrete. That choice is the whole difference between the two instruments.

ii

Three valves, eight states

Each valve is down or up. Two choices, three times over: 2 × 2 × 2 = 2³ = 8. Press the valves and watch the instrument count from 000 to 111.

CombinatoricsIndices & powers

press the valves

in binary
000
state number
0
of 0 to 7
tube added
+0
semitones · open

The binary digits read valve 1, valve 2, valve 3 — so valves 1 and 3 down is 101, which is 5 in binary, state number five. Careful though: the binary place values are 4, 2, 1, while the semitones the valves add are 2, 1, 3. Same three switches, two completely different numbers riding on them — one for counting the states, one for measuring the pipe.

all eight states — the instrument counting from 000 to 111

Nothing is left out and nothing is repeated: that is what guarantees.

statebinaryvalves down2 + 1 + 3semitones added
0000open00
1001333
2010211
30112+31 + 34
4100122
51011+32 + 35
61101+22 + 13
71111+2+32 + 1 + 36
iii

Why 1, 2 and 3 — the subset-sum trick

The valves add 1, 2 and 3 semitones. Choose any subset of them and you can hit every total from 0 to 6 — the exact range needed to fill the biggest hole in the harmonic ladder.

CombinatoricsNumber theoryArithmetic

every total from 0 to 6, and how to reach it

Valve 2 adds 1, valve 1 adds 2, valve 3 adds 3. Add up any handful of them:

semitones neededvalve combinationthe sumhow many ways
0open01
1211
2121
33 or 1+23 · 2 + 12
42+31 + 31
51+32 + 31
61+2+32 + 1 + 31

Eight states, seven different lengths — because 3 has two solutions: valve 3 on its own, or valves 1 and 2 together (2 + 1). That duplicate is not a design flaw, it is a gift: a player who needs three semitones can pick whichever fingering their hand is nearer to, or whichever is better in tune on that particular note. Trumpeters call these alternate fingerings and use them constantly in fast passages.

and why stop at six?

A fixed tube can only sound its harmonic ladder, and the biggest hole down low sits between rung 2 and rung 3 — a perfect fifth, seven semitones wide. To fill it you need the six missing chromatic notes in between, plus the open note itself: seven usable settings. The valves supply exactly 0, 1, 2, 3, 4, 5, 6. Not five, which would leave a hole. Not nine, which would be dead weight and extra pipe to carry. Three valves, sized 1, 2 and 3, are the smallest set of switches that covers the whole gap — a genuinely elegant piece of engineering arithmetic from the 1810s.

iv

Adding, in a world that multiplies

Pitch goes down by multiplying the tube. Valves go down by adding pipe. Those are different operations — and pressing two valves at once is where the difference becomes something you can hear.

AlgebraIndices & powersLogarithms

the two rules, side by side

what pitch wants

length × 2^(n/12)

To go down n semitones you multiply the tube. Twelve of those multiplications compound to ×2 — one octave.

what a valve does

length + a fixed loop

A valve drops a trapdoor into one loop of pipe, cut to one length, welded on. It can only ever add the same amount.

On its own, each valve is cut perfectly. The trouble starts the moment you press two.

valve 1 + valve 3 — do the arithmetic

Valve 1 is cut for a 2-semitone drop, valve 3 for a 3-semitone drop. Press both and you want 5 semitones. Here is what you actually get.

valve 1 adds 2^(2/12) − 1 = 0.12246 of the base length

valve 3 adds 2^(3/12) − 1 = 0.18921 of the base length

together they add 0.12246 + 0.18921 = 0.31167

so the tube becomes ×1.31167

but a true 5-semitone drop needs 2^(5/12) = ×1.33484

the tube is TOO SHORT → the note is 30 cents sharp

1200 · log₂(1.33484 ÷ 1.31167) = 30.3 cents

open tube ×1.00000valves 1 + 3 as built — two fixed loops ADDED×1.31167a true 5-semitone drop — the length MULTIPLIED by 2^(5/12)×1.33484short by 0.02317 of the base length ↑

The shaded sliver is the missing pipe — small on paper, very audible in a chord.

hear the 30 cents

Same written note, two tube lengths. One is the pitch the music asks for; the other is what valves 1 and 3 physically deliver. Play them one after the other.

Thirty cents is roughly a third of a semitone — small enough to sing past on your own, impossible to hide inside a chord, where it beats against everyone else. This is why every trumpet made has a 3rd-valve slide: a ring or hook the player's left hand pushes out on the 1+3 and 1+2+3 fingerings to lengthen the tube by hand, in real time, because the arithmetic cannot be fixed by welding. The player is a live error-correction system for an exponent that refuses to add.

now fix it by hand

The welding is wrong and cannot be un-wronged — so trumpet makers put the missing length on a handle. Pull the third-valve slide out and watch the error fall.

pull the slide0.0 cm out  →  0.0 cm of pipe added

+30.3 cents sharp

tube ×1.31167 · target ×1.33484

355.39 Hz

The number you are hunting is 3.43 cm of extra pipe — which is (1.334841.31167) × 1.48 m, the shortfall from the proof above turned into something you could measure with a ruler. And because the slide is a U, the player only pulls their hand 1.71 cm: every centimetre of pull adds two centimetres of tube, once down the outward pipe and once back.

That is the whole trick. The arithmetic is wrong by a fixed amount, so the fix is a fixed amount of brass — and a trumpeter's left hand does that sum, correctly, several times a minute, for their entire playing life.

v

The ladder underneath it all

Everything above exists to patch one thing: a fixed tube only sounds whole-number multiples of its lowest note. Same ladder as the trombone — only the gap-filling machine is different.

Physics: wavesArithmetic

valves untouched — the harmonic series

No valve pressed, nothing moving. Buzz tighter and the note climbs ×1, ×2, ×3, ×4 — the times table of the open tube.

The jumps shrink as you climb — octave, fifth, fourth, third — so it is the bottom of the ladder that needs help. A trombone fills those gaps by sliding to any length it likes. A trumpet fills them with three welded loops and a binary count. Identical physics, opposite engineering: one instrument chose continuous and hard, the other chose discrete and slightly out of tune.

For the classroom

Learning goals

  • The note is decided by the DISTANCE the air travels: 1.48 m open, 2.03 m with all three valves down. A valve does not squeeze the air — it DIVERTS it round an extra loop, so the journey gets longer in a fixed jump and the note drops.
  • Three independent two-state switches give 2 × 2 × 2 = 2³ = 8 combinations — the multiplication principle, and literal binary counting from 000 to 111.
  • The valves add {1, 2, 3} semitones, and every total from 0 to 6 is reachable — a subset-sum problem with exactly one redundancy (3 = valve 3 = valves 1+2), which is why trumpeters have alternate fingerings.
  • Pitch drops by MULTIPLYING the tube by 2^(n/12), but valves ADD fixed lengths, so 2^(2/12) + 2^(3/12) − 1 ≠ 2^(5/12). Exponents do not add — the 1+3 note lands about 30 cents sharp, and the 3rd-valve slide is the fix.

Try this

  1. 1.Open the air-path animation and press the valves one at a time, writing down the total each time: 1.48, 1.57, 1.66, 1.76, 2.03 m. Ask the class to check each loop with the formula 1.48 × (2^(n/12) − 1) — 8.8 cm, 18.1 cm, 28.0 cm — and then to predict the total for 2+3 before pressing it.
  2. 2.Have the class write out all eight rows of the binary table from 000 to 111 before looking, then fill in the semitones each row adds. Ask which total appears twice and why that redundancy is useful to a player.
  3. 3.Work out 0.12246 + 0.18921 = 0.31167 by hand, compare it to 2^(5/12) − 1 = 0.33484, then play the two notes back to back. The 30-cent error you can hear is the arithmetic mistake of adding exponents.