Mathematics and music are deeply linked. Pythagoras first discovered mathematical relationships between string lengths and musical pitches. Since then, theorists have studied proportions and how different frequencies produce different notes. Sound is produced by regular vibrations, with pitch determined by frequency. Overtones above the fundamental frequency give instruments their distinctive timbre. Resonant frequencies are important in acoustics and engineering.