4.12 Key signatures through five signs
Add B major, D-flat major and their relative minors.
B major has five sharps: F, C, G, D and A. D-flat major has five flats: B, E, A, D and G. The order of the signs continues the pattern used in keys with fewer sharps or flats.
Relative major and minor keys share a key signature. The relative minor of B major is G-sharp minor; that of D-flat major is B-flat minor. Each minor tonic lies a minor third below its relative major tonic.
A key signature does not by itself identify major or minor. The tonal context, particularly the tonic and leading note, distinguishes the two. The B and F sharp in the main example belong to B major, but the five-sharp signature is also used for G-sharp minor.
Five sharps: B/G sharp minor. Five flats: D flat/B flat minor.