
128 CHAPTER 4. LINEAR PDES OF PHYSICS
4.1 Three Cheers for the String
When I introduce my physics and engineering students to the PDEs of physics,
I always begin with the transverse vibrations of the humble string. The reason
is quite simple. The vibrating string is familiar and easy to visualize, the basic
underlying equation of motion (the 1-dimensional wave equation) easy to derive,
and a wide variety of important methods and ideas can be introduced. So this
section illustrates a gourmet selection of string recipes. Lest you get ideas of
stringing me up after munching on some of the stringy concoctions, I will show
you that there is life beyond the string in the second part of this chapter.
4.1.1 Jennifer Finds the General Solution
Friends are like fiddle strings, they must not be screwed too tight.
English Proverb. Collected in: H. G. Bohn, A Handbook of Proverbs (1855)
Consider a light, uniform, stretched string of linear density (mass per unit
length) which is horizontal in equilibrium. The goal of this recipe, provided
by Jennifer the MIT mathematician, is to obtain the equation of motion for the
transverse (vertical) oscillations of the string and then the general solution.
The PDEtools package is loaded, because it contains the declare and
dchange commands. Jennifer needs the former to introduce subscript nota-
tion, favored by mathematicians, for the resulting 1-dimensional wave equation
and the latter to transform the variables in arriving at the general solution.
The plots package is included because a typical solution will be animated.
>
restart: with(PDEtools): with(plots):
Let the vertical displacement of a point x on the string from equilibrium at
time t be ψ(x, t). Consider an infinitesimal element of string of arclength ds=
(dx)
2
+(dψ)
2
=
1+(∂ψ/∂x)
2
dx, located between x and x + dx. Since the
string is only to move vertically, the horizontal component T of the tension in
the string is constant along the string. The vertical component of the tension,
which is given by T∂ψ/∂x, will vary along the string. The net vertical force
F on the infinitesimal element is equal to the difference between the vertical
forces at its ends. This force is entered.
>
F:=T*Diff(psi(x+dx,t),x)-T*Diff(psi(x,t),x);
F := T (
∂
∂x
ψ(x + dx,t)) − T (
∂
∂x
ψ(x, t))
Since dx is small, F is taylor expanded in powers of dx to order 2 and the order
of term removed with the convert( ,polynom) command.
>
F:=convert(taylor(F,dx=0,2),polynom);
F := T D
1
(ψ)(x, t) − T (
∂
∂x
ψ(x, t)) + T D
1, 1
(ψ)(x, t) dx
Newton’s second law is applied to the string element in the vertical direction.
The net vertical force F is converted to differential form on the lhs of ode .This