Three physical properties govern a string's pitch. This principle applies to guitars, violins, pianos, harps, and all string instruments.
Inverse relationship: Longer strings vibrate slower → lower pitch. Shorter strings → higher pitch. (Pressing a fret shortens the vibrating length, raising the note.)
Inverse relationship: Tighter strings vibrate faster → higher pitch. Looser strings → lower pitch. (Tuning pegs adjust tension.)
Direct relationship: Thicker/heavier strings vibrate slower → lower pitch. Thinner/lighter strings → higher pitch. (Lower strings on a guitar are thicker.)
Low notes come from long, loose, thick strings.
High notes come from short, tight, thin strings.