The communion hymn, no. 317, opens and closes with the melody outlining a tonic triad, the three-note chord rooted on the home note of the key, in this case D major. Thus, the chord comprises the notes D-F-sharp-A, do-mi-sol of a scale. The tonic chord is the one that is repeated frequently at the ends of symphonies and other pieces, often in alternation with the dominant, to reinforce the key. The explanation for the stability and power of this chord lies in acoustics. A resonant body – string, vocal cord, etc. – vibrates at a certain frequency, but it also vibrates in even sub-lengths of half, quarter, eighth, etc. of the overall length, with each sub-vibration yielding a higher pitch (called a partial or overtone). If you plot these over the root tone you get first the octave, then the 5th, then the triad, and the triad contains both the double octave and the 5th above. The tonic triad thus anchors the harmony of a tonal piece because it is composed of the strongest overtones. – D. Boelzner