How Headphones Cancel the Hum of a Plane
On a long flight, the engines make a steady roar that tires your ears. Some headphones can make that roar fade without playing any music at all. They do it with a clever trick that uses the nature of sound.
Sound travels as a wave. You can picture a wave as a row of hills and valleys, where the air is squeezed together and then spread thin. Now imagine two waves meeting. If a hill from one wave lines up with a valley from the other, they cancel each other out, and the air barely moves at all.
Noise-canceling headphones use this idea. A tiny microphone on the outside listens to the sound around you. A small computer chip then makes a new wave that is the mirror image of the incoming one, with its hills where the noise has valleys. The speaker plays that mirror wave into your ear, and the two sounds nearly erase each other.
The trick works best on steady, low sounds like an engine drone, because they are easy to predict. It works less well on sudden noises, such as a dropped tray or a person talking, because the chip cannot match them quickly enough. That is why you can still hear a flight attendant over the hum. Thick padding around the ear helps block some of the rest.