Physics, guitars and pitch harmonics

One of the fun parts about being a scientist is running across “day-to-day” phenomena which can be understood much better using a little bit of one’s knowledge.  One of these I’ve had bouncing around in my head for a while: the idea of ‘pitch harmonics’ on guitar.

I started playing the guitar about a year and a half ago on a whim.  Deciding that I spent too many evenings in front of the television doing nothing, I marched into the local music store and declared that I wanted to learn guitar, and needed the works: guitar, case, and lessons!  I have a really excellent instructor named Toby, and my knowledge of guitar has increased rapidly, if not my technique.

Anyway, what is a pitch harmonic?  Here’s a short audio clip of me playing the first few notes from Pearl Jam’s Jeremy (an .mp3 file):

If you can get past the quality of the guitar playing, you’ll notice that the last two notes of the riff have a completely distinct sound from the first few.  Those are the pitch harmonics, which are played differently on the guitar from other notes.  We discuss the physics of them below the fold…

Let’s start with the guitar basics!  A guitar, of course, makes noise through the vibration of strings, though the means by which those string vibrations are converted to audible sound depends on the type of instrument (electric or acoustic).   A picture of my “axe”* is below:

One  normally plays notes of different pitch by pressing down upon the ‘frets’ (raised pieces of metal) on the neck of the guitar, which effectively shortens the length of the string and increases the pitch:

But one can also play harmonics, by touching a finger lightly upon the string right above certain frets, without pressing; this produces the pitch harmonic.  This can only be done effectively at certain frets: namely, at the fifth, seventh, twelfth, nineteenth, and twenty-fourth frets.  In sequence, starting with the fifth fret, the pitch harmonics sound as follows:

They range from high pitch at the fifth, to the lowest pitch at the twelfth fret, and then climb in pitch again.  Curiously, the pitch of the regular tone at the twelfth fret and the pitch of the harmonic are the same:

We can understand all of these properties by understanding the basic physics of a vibrating string, which we cover next.  We then wrap up by testing the principles with measurements on my own guitar.

(Note: I’ll skip the detailed math, which involves the solution of a partial differential equation, and focus on the important results.) Waves on a string travel at a speed v determined by the tension T on the string and the mass density (mass per unit length) of the string \rho, according to the following equation,

v = \sqrt{T/\rho}.

Strings on a guitar are of different thicknesses to take advantage of the effect of the wave velocity on the frequency of sound emitted; we’ll come back to that momentarily.  For waves on a string of length L fixed at both ends, it follows from the mathematics that any wave excitation on the string can be written in terms of a series of elementary standing waves on the string, referred to as ‘modes’; the first few modes are illustrated below:

The modes are labelled by an integer index n, and spatially take the form of sinusoids, of the form

y_n(x) = A_n\sin(n \pi x/L),

where y_n(x) is the height of the wave as a function of the position x on the string.  The quantity A_n is the amplitude of the wave.  The lowest mode, with n = 1, is known as the ‘fundamental mode’.  Looking at the picture, we see that there are ‘nodes’ (points of zero amplitude) of each standing wave spaced at intervals of L/n along the length of the string; for instance, the n = 3 mode has zeros at L/3 and at 2L/3.  This will be important in a moment.

Also from the picture, we can see that the wavelength \lambda_n of a mode (the distance after which the wave repeats itself) is given by

\lambda_n = 2L/n.

Recalling (see my optics basics post here if you don’t recall) that the wavelength and frequency \nu of a wave are related by

v = \nu \lambda,

The frequency of the modes satisfy the equation,

\nu_n = v /\lambda_n = nv/(2L) = n\sqrt{T/\rho}/(2L).

From a guitar design and tuning point of view, there are a few things to note in this equation.  The harmonics (n>1) have higher frequencies than the fundamental mode (n=1); in particular, the first harmonic has twice the frequency of the fundamental mode.  The frequency of all modes on a string can be reduced by decreasing the tension of the string (which is how one tunes the guitar) or by increasing the mass density.  In fact, the ‘low’ strings on a guitar are thicker than the ‘high’ strings, which allows them to play lower notes than the ‘high’ strings without a significant difference in tension.**

So what mode is played when a guitar string is plucked?  In fact, some combination of all of them!  The mathematical equation which describes the behavior of a string which has been plucked (pulled and released) may be written as

y(x,t) = \sum_{n=1}^\infty A_n \sin(\pi n x/L)\cos(\pi v n t/L),

where ‘\sum‘ is the mathematical representation of a sum over all modes of the string.  The relative amplitudes A_n depend on the exact manner in which the string has been plucked; a mathematical calculation assuming a pluck of amplitude y_0 at the 20th cm of a 25 cm string gives values, for the first seven modes:

{0.74, -0.30, 0.133, -0.05, 0.0, 0.02, -0.02}y_0.

Part of the distinctive sound of any stringed instrument is the relative weights of the fundamental mode and the higher harmonics.  For an ordinary pluck of a guitar string, the fundamental mode will dominate.  The next couple of modes have some appreciable amplitude, but beyond the third mode the amplitude is negligible.  How do we isolate one of the higher harmonics and suppress the fundamental mode?  We’ve already described how guitarists do it: by lightly blocking the string with a finger at a location which doesn’t obstruct a harmonic.

This is illustrated roughly below:

If we wish to have the first harmonic dominate, we place our finger about halfway along the string (the twelfth fret).  The fundamental mode has a maximum amplitude at that point and will be blocked by our finger, while the first harmonic has a node at that point and will ring freely.  To allow the second harmonic to play, we place our finger about a third of the way along the string (the 7th or 19th frets).  This will block both the fundamental and the first harmonic, and allow the second harmonic to play through.  Similarly, blocking the string at a point a quarter of the way along the string (the 5th or 24th frets) will allow the third harmonic to play, while blocking the others.

In principle, one should be able to play harmonics higher than the third but, as we can see from the relative amplitudes A_n listed above, there’s typically just not enough energy put into these higher modes from a single pluck of the string.

Just to be an experimentalist again, I went to my (acoustic) guitar and measured the string lengths and the positions of the various frets.  The results are listed below:

String length: 25.2”

5th fret: 6.3” from head: ~1/4 of string length: 3rd harmonic

7th fret: 8.3” from head: ~1/3 of string length: 2nd harmonic

12th fret: 12.5” from head: ~1/2 of string length: 1st harmonic

19th fret: 16.6” from head: ~ 2/3 of string length: 2nd harmonic

One other question can be readily answered by the equations above.  We noted that the pitch of the regular note at the twelfth fret and the harmonic at that fret are the same.  Playing a regular note at the twelfth fret halves the length of the string, doubling the frequency.  Likewise, playing the first harmonic at the twelfth fret doubles the frequency; the pitches are therefore the same.  The tonal quality of the notes are different, however; because they were played by different techniques, the notes have different weights of A_n‘s, i.e. they contain different weights of the higher harmonic tones.

There are a few comments one can make about harmonics as applied to other fields of interest.  First, in Central Asia, notably the country of Tuva, there exists a type of ‘throat singing‘ in which a singer can sing an ‘overtone’ or harmonic pitch in addition to the fundamental.  It is not entirely clear, to me at least, exactly how such overtones are produced, but it is quite remarkable to hear.  There is a website, Khoomei.com, dedicated to the art, and a very wonderful documentary, Genghis Blues, about an American blues singer traveling to Tuva and competing in a competition there (fun fact: Tuva became known to American audiences thanks in large part to physicist Richard Feynman, who endeavored mightily before his death to travel there).

The technique of ‘blocking’ the fundamental mode to produce a harmonic, or vice versa, is also applied in laser physics.  A laser can in principle operate in numerous transverse modes.  Some of these modes (referred to mathematically as Hermite-Gaussian modes) are depicted below as they would be seen ‘head-on’*** (via Wikipedia):

800px-Hermite-gaussian

These modes are labeled by two indices, m and n, just as the modes on a string are labeled by a single index n.  In most applications, one wishes to have the laser operate only in the lowest mode (the 0,0 mode); since this mode is the smallest in spatial extent, one can introduce a small aperture into the laser cavity.  The higher harmonics are partially blocked by the aperture, and that loss causes them to lose out to the fundamental mode.  Alternatively, one can block the fundamental mode by putting a very small obstruction (such as a strand of hair or wire) across the center of the laser cavity, which blocks the fundamental mode more than the higher harmonics.  For instance, a thin hair arranged vertically in the cavity would cause the laser to favor the 10, 11, and 12 modes.

As I’ve said, this is one of the things I like about physics: when one looks around long enough, one can make connections between day-to-day casual activities (such as guitar playing) and the physics of such activities, and then make further connections to more advanced physics, such as the behavior of laser resonator modes!  I may come back to other guitar/physics connections later, hopefully with some more skillfully played examples!

***************************************

* For best nerdy effect, imagine me making quotation marks with my fingers as I speak.

** In fact, for a steel-stringed guitar, a solid wire for the lowest-pitched strings would be too rigid for practical use.  To get around this, the low strings on such a guitar are actually one wire with another wire coiled around it.  This coiling allows the mass to be increased without increasing rigidity.

*** Though I always feel compelled to point out that one should never look into a laser beam head-on with your eye!

Advertisements
This entry was posted in Physics. Bookmark the permalink.

19 Responses to Physics, guitars and pitch harmonics

  1. Blake Stacey says:

    I believe the phrase is, “Do not look into laser with remaining eye.”

  2. Blake: Though, to counter your argument, any good physicist should make sure an experimental result is repeatable…

  3. babs67 says:

    Your desire to learn to play the guitar was on a whim? I thought it was so you could “score with chicks.”

  4. babs67 wrote: “I thought it was so you could “score with chicks.””

    It got you, didn’t it? 😛

  5. Micah Stewart says:

    Very interesting article actually, I would have never thought there was formula’s to playing guitar, I’m a structural engineer in training, lol, but i love metal, rock, and all things guitar!! Thanks for posting this it was a very interesting read.

  6. JB8544 says:

    This is really cool. I am a student that just started taking physics and I’m also a guitarist. Physics rocks!

  7. Kayla says:

    I score boyss everyday cause i play the guitarrr ;P

  8. H. R. Park says:

    Your article is strongly impressed on me.
    I’m wondering if there are some physics papers or books related to pinch harmonics of guitar playing.

  9. NM2433 says:

    Awesome article!
    I’ve been playing for over 2 years and am doing a project on exactly this sort of thing: the physics of guitars.
    One question: What is the model or make of your guitar? It’s really slick looking and I can’t find it anywhere. Thanks!

  10. David Farrell says:

    I have attached an oscilloscope to my guitar. Realizing that it will show all the modes for any string plucked, I did not expect to see any clear single trace. What I found is that several chords and some harmonics can produce a single trace, normally you get several modes on top of each other. Some of these special single trace shapes look like a crown that is slowly rotating, the frequency of the rotation appears to match the rate at which the guitar is loosing amplitude. I then hooked up feedback to keep it going and this is totally cool. Suggest you try this and come up with a theory on why the rotation rate slightly varies between these traces. Energy methods may apply. The math gets complex. I think I am looking at a coupling term such as in the D matrix since spring axial stiffness dominates normally. Bending is usually ignored in the strings.

  11. David Farrell says:

    Also, a pal of mine, who is an aerospace engineer like myself, suggested using a FFT to identify these freqencies and to verify that they add together to form the shapes shown on the oscilloscope as only a single trace. In other words these odd shapes are formed by adding all these frequencies and whatever it is that causes these to appear to rotate, like a crown spinning on the vertical axis, can be explained . I would not mind anyones input on this, I dont think it will explain it myself, but it may help. It is obviously a non linear effect and the energy is bleeding out – either off the ends of the strings or due to air friction as well. When feedback happens the same shape can be held , but you can see the tendancy to have frequency creep as the deflections get smaller. The amplitude does affect the tonal response.

    • David Farrell says:

      One more thing, there is a slight difference between the oscilloscope single traces formed when this is placed into a feedback – amp and the gain is dialed up – amp is close to the guitar, so sonic vibration excites the strings. In the case of plucking a single string harmonic, with a single trace shown, I found that the other strings try to find this freqency or creep in other modes, so you have to damp them with your hand. This tells me that even though I plucked a string, and that is dominant, the nearby response from the unplucked strings factors into what you are hearing. Normally nobody would believe this. This concept does not work as well with chords making a single trace , which is very interesting. The strings can excite each other and it is more robust as far as holding onto the single trace pattern on the oscilloscope. There is less creep . This is intuitive as a guitarist. Lots of fun to see these. My teenagers love it and show it to pals.

  12. trent thomas says:

    how much for the guitar lol

  13. Trish says:

    I am currently working on a physics project about the physics of guitars. I never really thought about this topic much until i was assigned it for a research paper. This blog helped me out so much! Thank you! and Sweet guitar by the way 🙂

  14. Jim says:

    Thank you for this article, it’s helped me to understand how harmonics work.

    The reason I was searching for the science of harmonics is due to slight confusion after realising I can play a harmonic on the 12th fret, remove my finger and then place it gently on the string again without muting the string. Similarly I realised I could play a harmonic on the 5th fret and remove my finger and place it gently above the 12th fret without muting the note, and now I know why 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s