String vibration



A vibration in a string is a wave. Resonance causes a vibrating string to produce a sound with constant frequency, i.e. constant pitch. If the length or tension of the string is correctly adjusted, the sound produced is a musical tone. Vibrating strings are the basis of string instruments such as guitars, cellos, and pianos.

Wave
The velocity of propagation of a wave in a string ($$v$$) is proportional to the square root of the force of tension of the string ($$T$$) and inversely proportional to the square root of the linear density ($$\mu$$) of the string:

$$v = \sqrt{T \over \mu}.$$

This relationship was discovered by Vincenzo Galilei in the late 1500s.

Derivation
Source:

Let $$\Delta x$$ be the length of a piece of string, $$m$$ its mass, and $$\mu$$ its linear density. If angles $$\alpha$$ and $$\beta$$ are small, then the horizontal components of tension on either side can both be approximated by a constant $$T$$, for which the net horizontal force is zero. Accordingly, using the small angle approximation, the horizontal tensions acting on both sides of the string segment are given by


 * $$T_{1x}=T_1 \cos(\alpha) \approx T.$$
 * $$T_{2x}=T_2 \cos(\beta)\approx T.$$

From Newton's second law for the vertical component, the mass (which is the product of its linear density and length) of this piece times its acceleration, $$a$$, will be equal to the net force on the piece:


 * $$\Sigma F_y=T_{1y}-T_{2y}=-T_2 \sin(\beta)+T_1 \sin(\alpha)=\Delta m a\approx\mu\Delta x \frac{\partial^2 y}{\partial t^2}.$$

Dividing this expression by $$T$$ and substituting the first and second equations obtains (we can choose either the first or the second equation for $$T$$, so we conveniently choose each one with the matching angle $$\beta$$ and $$\alpha$$)


 * $$-\frac{T_2 \sin(\beta)}{T_2 \cos(\beta)}+\frac{T_1 \sin(\alpha)}{T_1 \cos(\alpha)}=-\tan(\beta)+\tan(\alpha)=\frac{\mu\Delta x}{T}\frac{\partial^2 y}{\partial t^2}.$$

According to the small-angle approximation, the tangents of the angles at the ends of the string piece are equal to the slopes at the ends, with an additional minus sign due to the definition of $$\alpha$$ and $$\beta$$. Using this fact and rearranging provides


 * $$\frac{1}{\Delta x}\left(\left.\frac{\partial y}{\partial x}\right|^{x+\Delta x}-\left.\frac{\partial y}{\partial x}\right|^x\right)=\frac{\mu}{T}\frac{\partial^2 y}{\partial t^2}.$$

In the limit that $$\Delta x$$ approaches zero, the left hand side is the definition of the second derivative of $$y$$:


 * $$\frac{\partial^2 y}{\partial x^2}=\frac{\mu}{T}\frac{\partial^2 y}{\partial t^2}.$$

This is the wave equation for $$y(x,t)$$, and the coefficient of the second time derivative term is equal to $$\frac{1}{v^{2}}$$; thus


 * $$v=\sqrt{T\over\mu},$$

Where $$v$$ is the speed of propagation of the wave in the string (see the article on the wave equation for more about this). However, this derivation is only valid for small amplitude vibrations; for those of large amplitude, $$\Delta x$$ is not a good approximation for the length of the string piece, the horizontal component of tension is not necessarily constant. The horizontal tensions are not well approximated by $$T$$.

Frequency of the wave
Once the speed of propagation is known, the frequency of the sound produced by the string can be calculated. The speed of propagation of a wave is equal to the wavelength $$\lambda$$ divided by the period $$\tau$$, or multiplied by the frequency $$f$$:


 * $$v = \frac{\lambda}{\tau} = \lambda f.$$

If the length of the string is $$L$$, the fundamental harmonic is the one produced by the vibration whose nodes are the two ends of the string, so $$L$$ is half of the wavelength of the fundamental harmonic. Hence one obtains Mersenne's laws:


 * $$f = \frac{v}{2L} = { 1 \over 2L } \sqrt{T \over \mu}$$

where $$T$$ is the tension (in Newtons), $$\mu$$ is the linear density (that is, the mass per unit length), and $$L$$ is the length of the vibrating part of the string. Therefore:
 * the shorter the string, the higher the frequency of the fundamental
 * the higher the tension, the higher the frequency of the fundamental
 * the lighter the string, the higher the frequency of the fundamental

Moreover, if we take the nth harmonic as having a wavelength given by $$\lambda_n = 2L/n$$, then we easily get an expression for the frequency of the nth harmonic:


 * $$f_n = \frac{nv}{2L}$$

And for a string under a tension T with linear density $$\mu$$, then


 * $$f_n = \frac{n}{2L}\sqrt{\frac{T}{\mu}}$$

Observing string vibrations
One can see the waveforms on a vibrating string if the frequency is low enough and the vibrating string is held in front of a CRT screen such as one of a television or a computer (not of an analog oscilloscope). This effect is called the stroboscopic effect, and the rate at which the string seems to vibrate is the difference between the frequency of the string and the refresh rate of the screen. The same can happen with a fluorescent lamp, at a rate that is the difference between the frequency of the string and the frequency of the alternating current. (If the refresh rate of the screen equals the frequency of the string or an integer multiple thereof, the string will appear still but deformed.) In daylight and other non-oscillating light sources, this effect does not occur and the string appears still but thicker, and lighter or blurred, due to persistence of vision.

A similar but more controllable effect can be obtained using a stroboscope. This device allows matching the frequency of the xenon flash lamp to the frequency of vibration of the string. In a dark room, this clearly shows the waveform. Otherwise, one can use bending or, perhaps more easily, by adjusting the machine heads, to obtain the same, or a multiple, of the AC frequency to achieve the same effect. For example, in the case of a guitar, the 6th (lowest pitched) string pressed to the third fret gives a G at 97.999 Hz. A slight adjustment can alter it to 100 Hz, exactly one octave above the alternating current frequency in Europe and most countries in Africa and Asia, 50 Hz. In most countries of the Americas—where the AC frequency is 60 Hz—altering A# on the fifth string, first fret from 116.54 Hz to 120 Hz produces a similar effect.

Real-world example
A Wikipedia user's Jackson Professional Soloist XL electric guitar has a nut-to-bridge distance (corresponding to $$L$$ above) of 25$5/8$ in. and D'Addario XL Nickel-wound Super-light-gauge EXL-120 electric guitar strings with the following manufacturer specs: Given the above specs, what would the computed vibrational frequencies ($$f$$) of the above strings' fundamental harmonics be if the strings were strung at the tensions recommended by the manufacturer?

To answer this, we can start with the formula in the preceding section, with $$n = 1$$:
 * $$f = \frac{1}{2L}\sqrt{\frac{T}{\mu}}$$

The linear density $$\mu$$ can be expressed in terms of the spatial (mass/volume) density $$\rho$$ via the relation $$\mu = \pi r^2\rho = \pi d^2\rho/4$$, where $$r$$ is the radius of the string and $$d$$ is the diameter (aka thickness) in the table above:
 * $$f = \frac{1}{2L}\sqrt{\frac{T}{\pi d^2\rho/4}}

= \frac{1}{2Ld}\sqrt{\frac{4T}{\pi\rho}} = \frac{1}{Ld}\sqrt{\frac{T}{\pi\rho}}$$ For purposes of computation, we can substitute for the tension $$T$$ above, via Newton's second law (Force = mass &times; acceleration), the expression $$T = ma$$, where $$m$$ is the mass that, at the Earth's surface, would have the equivalent weight corresponding to the tension values $$T$$ in the table above, as related through the standard acceleration due to gravity at the Earth's surface, $$g_0 = 980.665$$ cm/s2. (This substitution is convenient here since the string tensions provided by the manufacturer above are in pounds of force, which can be most conveniently converted to equivalent masses in kilograms via the familiar conversion factor 1 lb. = 453.59237 g.) The above formula then explicitly becomes:
 * $$f_\mathrm{Hz} = \frac{1}{L_\mathrm{in} \times 2.54\ \mathrm{cm/in} \times d_\mathrm{in} \times 2.54\ \mathrm{cm/in}} \sqrt{\frac{T_\mathrm{lb} \times 453.59237\ \mathrm{g/lb} \times 980.665\ \mathrm{cm/s^2}}{\pi \times \rho_\mathrm{g/cm^3}}}$$

Using this formula to compute $$f$$ for string no. 1 above yields:
 * $$f_1 = \frac{1}{25.625\ \mathrm{in} \times 2.54\ \mathrm{cm/in} \times 0.00899\ \mathrm{in} \times 2.54\ \mathrm{cm/in}} \sqrt{\frac{13.1\ \mathrm{lb} \times 453.59237\ \mathrm{g/lb} \times 980.665\ \mathrm{cm/s^2}}{\pi \times 7.726\ \mathrm{g/cm^3}}} \approx 330\ \mathrm{Hz}$$

Repeating this computation for all six strings results in the following frequencies. Shown next to each frequency is the musical note (in scientific pitch notation) in standard guitar tuning whose frequency is closest, confirming that stringing the above strings at the manufacturer-recommended tensions does indeed result in the standard pitches of a guitar: