A key signature is a set of sharps or flats placed at the beginning of each staff line, indicating the default accidentals for a piece and thereby identifying its key. The circle of fifths organizes all 12 major keys (and their relative minors) in a circular arrangement where each key is a perfect fifth away from its neighbors. Moving clockwise adds one sharp; moving counterclockwise adds one flat. The order of sharps is F-C-G-D-A-E-B, and the order of flats is the reverse: B-E-A-D-G-C-F.
Memorize the order of sharps and flats using the mnemonics 'Father Charles Goes Down And Ends Battle' (sharps) and its reverse (flats). Draw the circle of fifths from memory until it is automatic.
When you learned major scales, you discovered that each scale is built from a specific pattern of whole and half steps — and that different starting notes require different combinations of sharps or flats to maintain that pattern. A D major scale, for instance, needs F# and C# to preserve the correct whole-step/half-step sequence. Writing those accidentals next to every F and C throughout a piece would be tedious and clutter-filled. The key signature solves this problem elegantly: place all the required accidentals once at the beginning of each staff line, and they apply automatically for the entire piece (unless overridden by a natural sign or a new key signature).
The circle of fifths is the map that organizes all this information. Twelve major keys are arranged in a circle where each adjacent key is a perfect fifth apart. Moving clockwise from C adds one sharp at a time: G major has one sharp (F#), D major has two (F#, C#), A major has three, and so on through seven sharps. Moving counterclockwise from C adds flats: F major has one flat (Bb), Bb major has two, Eb major has three, continuing to seven flats. At the bottom of the circle, some keys overlap — F# major and Gb major sound identical but are notated differently (enharmonic equivalents).
The order of sharps (F-C-G-D-A-E-B) and order of flats (B-E-A-D-G-C-F, the reverse) are not arbitrary. Each new sharp is a perfect fifth above the previous one, following the same interval logic that generates the circle of fifths. Mnemonics make these orders easy to memorize: "Father Charles Goes Down And Ends Battle" for sharps, and its reverse for flats. Once you know the order, reading any key signature is mechanical: three sharps means F#, C#, G# — that's A major (or F# minor).
To identify the major key from a sharp signature, look at the last sharp and go up a half step — that's the tonic. (Three sharps: last sharp is G#, one half step up is A, so the key is A major.) For flat signatures, the second-to-last flat names the key directly (three flats: B, E, A — second to last is E, key is Eb major). The exception is one flat, which you just memorize: F major.
One important subtlety: the key signature identifies the default accidentals, not the key absolutely. A piece might begin in C major (no sharps or flats) but modulate to G major mid-phrase — the G major passage will use F# as an accidental without changing the key signature. Conversely, a piece in D major might occasionally use a natural F or C (canceling the default sharps) to create color or imply a brief departure. The key signature is a point of reference, not a cage.
Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.