Equazione delle onde nella corda en

From "Physics, Waves, Music": a website about the physics of waves and sound, acoustics of musical instruments, musical scales, harmony and music.

AI-translated from Italian. Original page: Equazione_delle_onde_nella_corda

The ordinary equation

Consider an ideal string of length L, lying along the x axis and free to oscillate transversely in the y direction. The linear equation of the oscillations is

T∂2y∂x2=μ∂2y∂t2,

where μ is the linear density of the string, and T its tension.

This equation is nothing but Newton's ordinary equation of motion

𝐅=md2𝐲dt2,

only specialised for a continuous system such as the string.

How it is derived

The equation is derived as follows:

  • consider an infinitesimal segment of the string while it is oscillating. Let dx be its length. Its mass is consequently μdx.
  • For this small segment we want to write the equation of motion in the y direction, perpendicular to the length of the string: dF=μdx⋅a.
  • The balance of forces is simple, because only the tension force acts at the ends of the small segment considered. The particular assumptions that make the string ideal have in fact these consequences:
    1. T is constant during the motion of the string (that is, whatever its deformation)
    2. T has the same magnitude along the whole string, and, at every point, acts only in the direction tangent to the string (that is, without components perpendicular to the string).
    3. all other external forces (such as gravity) are negligible compared with T.

The balance of the forces acting in the y direction on the segment Δx gives (see figure):

Fy=Ty(x0)+Ty(x0+Δx)=Tsin⁡α+Tsin⁡β.

Remembering that we actually want to study a segment of string of infinitesimal length dx, we can approximate sin with tan, and, remembering that the tangent to the curve y(x) is nothing but its first derivative with respect to x, write

Fy≈Ttan⁡α+Ttan⁡β,
tan⁡(α)=−∂y(x0)∂x
tan⁡(β)=∂y(x0+dx)∂x

and finally, replacing the infinitesimal difference of the first derivatives with the second derivative

∂y(x0+dx)∂x−∂y(x0)∂x=∂2y(x0)∂x2dx

we obtain

Fy≈Tdx∂2y∂x2.
  • The motion of the string is only transverse, so the acceleration of the string is only along the y axis. The right-hand side of Newton's equation (mass times acceleration) is then written
μdx⋅a=μdx∂2y∂t2

Equating the two sides obtained above gives the equation of motion quoted at the beginning.

T∂2y∂x2=μ∂2y∂t2

All right, but what does it mean?

A simple dimensional analysis shows that the term
Tμ=c2

has the dimensions of the square of a velocity.

Indeed, writing the wave equation for the string as

∂2y∂x2=1c2∂2y∂t2,

we see that the numerators have the same dimensions, and the denominator on the left has the dimensions of the square of a length; therefore the denominator on the right must also have dimensions equal to the square of a length.

The constant c is important because it is precisely the speed at which waves propagate in the string. In our ideal case it is the speed at which all waves propagate in the string.

This is shown by observing that any function of the form

F1(x−ct)+F2(x+ct),

where F1 and F2 are arbitrary functions, is a solution of our wave equation. But F1(x−ct) is nothing but an F1 that moves in time at a constant speed c.

How it is solved

  • The advantage of a linear equation is that a difficult solution can be written as a sum of simpler solutions (see the most important application of this principle in the page on Fourier's theorem)
  • The equation alone is not enough to obtain the solution. One must in fact specify initial conditions, which fix the shape of the string at time t=0, and, if the string is not infinite, boundary conditions, which state what happens at the edge (see, for example, reflection in strings).
  • There are two main routes to determining the solutions, which use equivalent but very different points of view, and which are examined in separate sections:
    1. The general solution is a superposition of normal modes.
    2. The general solution is a superposition of travelling waves
  • Whichever point of view we choose to adopt, there are also several ways to actually solve the equation:
    1. analytical methods (the simplest cases are dealt with in natural frequencies of the string, standing waves in 1D, normal modes of a string)
    2. numerical methods: an example (albeit in two dimensions) is our app 2D Waves app.
  • Finally, physics is essentially based on the method of experimental investigation, which in this case can be carried out by analysing the resonances of the system through an analysis of the normal modes, or by studying its evolution in the time domain.

"Less ideal" strings

In real strings the wave equation in general no longer has the form described above. Let us see how it changes if we drop, one at a time, the assumptions we made for the ideal case.

Dropping assumption no. 1

T is constant during the motion of the string (that is, whatever its deformation)

In real strings the tension T depends on the shape of the string itself, or at least on the maximum displacement ymax of the string from its equilibrium position. Assumption no. 1 is almost always valid as long as the maximum displacement of the string is not very large.

In mathematical terms, dropping this ideal assumption means making T a function of ymax (more generally a functional of y(x))

T(ymax)μ∂2y∂x2=∂2y∂t2.

Consequently, without ideal assumption no. 1, the speed of waves in the string is no longer a constant, but depends on the shape of the string itself, or at least on the size of its deformation.

c(ymax)=T(ymax)μ.

This implies that for large displacements waves travel at a different speed than for small displacements.

  • Important consequences follow, for example, for musical instruments: a larger displacement, in a string instrument, corresponds to a louder sound. Since the deformed string is longer than the string at rest, its tension increases with the displacement: playing a string louder therefore also slightly raises the frequency of the note produced. This requires intonation corrections when a string instrument is played softly or loudly. Alternatively, the slight detuning can be used as an effect.


Dropping assumption no. 2

Part one: T has the same magnitude along the whole string...

This assumption is actually rather well justified if the string is homogeneous. The case of non-homogeneous strings is not of particular interest for musical instruments, or for oscillations, while it has important applications in signal transmission along electrical lines, and in transduction (see for example impedance, reflection in strings, refraction in one dimension (in Italian)).

Part two:...at every point, acts only in the direction tangent to the string (that is, without components perpendicular to the string).

Considering transverse components of the tension in the string means thinking of the string no longer as a one-dimensional system, but as a genuine three-dimensional system. Think, for example, not of a violin string but of a thick steel cable of a suspension bridge. Then we cannot neglect, for example, its torsional motion, which can take energy away from the transverse vibration modes, modifying them. See the section on waves in bars.

A musical string also shows an effect of this kind: a real string has some bending stiffness, like a thin bar: when it bends its sections exchange forces perpendicular to the string. A term with the fourth derivative is then added to the equation, as for flexural waves in the bar:

T∂2y∂x2−YJ∂4y∂x4=μ∂2y∂t2,

where Y is the Young's modulus of the material and J the moment of inertia of the cross-section. For a harmonic wave of wavenumber q the speed becomes

c=T+YJq2μ:

it is as if the effective tension grew with frequency. In this case the phase velocity and the group velocity of the waves in the string differ: high-frequency waves propagate faster than low-frequency ones. As a consequence the higher natural frequencies of the string are slightly sharper than the integer multiples of the fundamental: this is the inharmonicity of strings, particularly evident in the thick, short strings of the bass register of the piano.

Dropping assumption no. 3

all other external forces (such as gravity) are negligible compared with T.

If we include other forces in the equation, then the behaviour of the string depends on the nature of these forces.

In particular, it is straightforward to introduce friction forces that tend to damp the oscillations, and also external forces that keep the string vibrating by counteracting friction. These terms can easily be included in the wave equation while keeping it linear (e.g. we know that the friction term leads to the telegraph equation: see wave equation).

  • Other possible modifications of the equation consist in making it nonlinear. To obtain a nonlinear equation it is enough, for example, not to replace the combination of sines with the corresponding first derivatives.

For waves described by a nonlinear equation, the superposition principle no longer holds: two waves that "collide" along this string can influence each other!

In this regime one observes an interesting variety of phenomena, some of which, although not specific to strings, are examined in the pages Nonlinear effects, Fermi-Pasta-Ulam chain, Intermodulation distortion and Modulational instability

Check your understanding

Problem. The E4 string of a guitar (329.6 Hz) has a vibrating length L = 0.648 m and a linear density μ = 0.4 g/m. Knowing that the fundamental has wavelength 2L, calculate the speed of the waves and the tension of the string. Solution. c=λf=2Lf = 2 · 0.648 · 329.6 m/s ≈ 427 m/s. From c2=T/μ we have T=μc2 = 0.0004 · 427² N ≈ 73 N, that is about the weight of a 7.4 kg mass.

Problem. By how much does the frequency of the string in the previous problem rise if the tension increases by 10%? Express the result in cents (100 cents = one equal-tempered semitone). Solution. The frequency is proportional to T: it grows by the factor √1.1 ≈ 1.049, that is by 4.9%. In cents: 1200 · log2(1.049) ≈ 83 cents, almost a semitone. This is why a small turn of the tuning peg is enough to tune the string.

Problem. How long does a pulse take to travel along the string of the first problem and back? Compare it with the period of the note. Solution. The time is 2L/c = 1.296/427 s ≈ 3.0 ms, equal to the period 1/329.6 s ≈ 3.0 ms: the plucked string repeats its motion every time the pulse returns to its starting point.

Problem. Two strings of the same material and the same length are stretched with the same tension, but one has twice the diameter of the other. What is the ratio between their frequencies? Solution. The linear density is proportional to the cross-sectional area, and therefore to the square of the diameter: the thick string has four times the μ, half the speed c=T/μ and half the frequency, that is it sounds an octave lower.


"Physics, Waves, Music": a website about the physics of waves, acoustics of musical instruments, musical scales, harmony and music.