the science of the horn
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.
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.
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.
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.
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.
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.
press the valves
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 2³ guarantees.
| state | binary | valves down | 2 + 1 + 3 | semitones added |
|---|---|---|---|---|
| 0 | 000 | open | 0 | 0 |
| 1 | 001 | 3 | 3 | 3 |
| 2 | 010 | 2 | 1 | 1 |
| 3 | 011 | 2+3 | 1 + 3 | 4 |
| 4 | 100 | 1 | 2 | 2 |
| 5 | 101 | 1+3 | 2 + 3 | 5 |
| 6 | 110 | 1+2 | 2 + 1 | 3 |
| 7 | 111 | 1+2+3 | 2 + 1 + 3 | 6 |
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.
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 needed | valve combination | the sum | how many ways |
|---|---|---|---|
| 0 | open | 0 | 1 |
| 1 | 2 | 1 | 1 |
| 2 | 1 | 2 | 1 |
| 3 | 3 or 1+2 | 3 · 2 + 1 | 2 |
| 4 | 2+3 | 1 + 3 | 1 |
| 5 | 1+3 | 2 + 3 | 1 |
| 6 | 1+2+3 | 2 + 1 + 3 | 1 |
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.
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.
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
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.
+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.33484 − 1.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.
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.
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