In the previous modules we have explored properties of mechanical wave, electromagnetic waves and matter waves. We have studied harmonic waves and superpositions of harmonic waves, such as standing waves and wave packets.
All these waves are solution of differential equations called wave equations. Let us write down the wave equation for a wave on a string. The displacement of the string from its equilibrium position is denoted by y, and y is a function of position x and time t, y = y(x,t). The function y(x,t) is a solution of the wave equation
∂2y/∂x2 - (1/v2)∂2y/∂t2 = 0,
with , where F is the tension in the string and μ = m/L is the mass per unit length of the string.
All possible waves on a string that are not driven or damped (harmonic waves, standing waves, wave pulses) satisfy this equation. Which waves are actually realized on the string depends on the initial conditions and the boundary conditions, i.e. on how the wave is produced and what is happening on the ends of the string.
The wave equation tells us how the displacement y of a string can possibly change as a function of position and time. The key word is CHANGE.
We can look at the displacement of a string at some particular time, say t = 0. Since the time is now fixed we can construct a plot of displacement y(x) versus position x. Then we can find the change in y, ∆y, given a change in x, ∆x. ∆y/∆x defines the slope of a straight line connecting the points A and B in the figure below. As B moves closer to A, this straight line approaches the line tangent to y(x) at point A.
The slope of this tangent line is the derivative of y with respect to x and is denoted dy/dx. Since a tangent line to the function y(x) can be defined at any point x, the derivative itself is a function of x. We can denote it by g(x).
g(x) = dy/dx
The slope of the tangent line at some point on the function y(x) may be approximated by the slope of a line connecting two points, A and B, set a finite distance apart on the curve.
dy/dx ~∆y/∆x
The smaller we make the distance ∆x, the better the approximation becomes. In the limit ∆x --> 0, i.e. when the distance between A and B becomes infinitesimally small, the approximation becomes exact.In-class activity: Exploring derivatives using a spreadsheet
Since the tangent line to the function y(x) can be defined at any point x, the derivative itself is a function of x. The table below lists derivatives of some common functions. In all expressions a and b are constants.
y(x) = |
dy/dx = |
a*xb |
a*b*xb-1 |
a*exp(bx) |
a*b*exp(bx) |
a*sin(bx) |
a*b*cos(bx) |
a*cos(bx) |
-a*b*sin(bx) |
a*ln(x) |
a/x |
Often we will encounter functions of the form y(x) = a*exp(bx + c), y(x) = a*sin(bx + c), and y(x) = a*cos(bx + c).
The derivatives of those functions are given below.
y(x) = |
dy/dx = |
a*exp(bx + c) |
a*b*exp(bx + c) |
a*sin(bx + c) |
a*b*cos(bx + c) |
a*cos(bx + c) |
-a*b*sin(bx + c) |
Second Derivatives
The tangent line to the function y(x) can be defined at any point x, the derivative itself is a function of x which we denote it by g(x). We can also find the slope of tangent line to the function g(x), i.e. we can find the derivative dg(x)/dx. Taking the derivative of a derivative is called taking the second derivative. The notation used is
dg(x)/dx = d(dy/dx )/dx = d2y(x)/dx2.
Find the derivatives of the following functions:
(a) y = 3x3
(b) y = 1/x
(c) y = 2√x
Solution:
Using the formula for the derivative d(a*xb)dx = abxb-1
we have that
(a) when y = 3x3,
dy/dx = 9x2,
(b) when y = 1/x, this can be
written as y = x-1. Therefore
dy/dx = -x-2 = -1/(x2),
(c) when y = 2√x, this can be
written as y = 2x(1/2). Therefore dy/dx = x-(1/2) = 1/(√x).
Find the second derivatives of the functions y = 3sin(4x).
Solution:
Using the formulas for the derivative d(a*sin(bx))/dx = a*b*cos(bx)
and d(a*cos(bx))dx = -a*b*sin(bx) we have that
y = 3sin(4x),
dy/dx = 12cos(4x), d2y/dx2
= -48sin(4x).
Find the second derivatives of the function y = exp(-3x).
Solution:
Using the formula for the derivative d(a*exp(bx))/dx = a*b*exp(bx) we have that
y = exp(-3x),
dy/dx = -3exp(-3x), d2y/dx2
= 9exp(-3x).
The
first and second derivative of an exponential function are are
proportional to the original function.
Our wave function is a function of two variables, the position x and the time t. In general, if we have a function y(x,t), the variables x and t may not be independent of each other. Let us consider the simple function y(x,t) = x2 + t2. If we want to take the derivative of y with respect to x while ignoring the possible dependence of t on x, we want to take a partial derivative. We only consider the explicit dependence of the function on the differentiating variable, all other variables are taken to be constant.
A partial derivative has special notation, the "d" is replaced by "∂". Thus, the partial derivative of y(x,t) = x2 + t2 with respect to x is ∂y/∂x = 2x, the partial derivative of y(x,t) = x2 + t2 with respect to t is ∂y/∂t = 2t.
The wave equation
So what are the solutions to our wave equation ∂2y/∂x2 - (1/v2)∂2y/∂t2 = 0?
For y = Acos(k1x -
ω1t),
∂2y/∂x2
= -Ak12cos(k1x - ω1t) and
∂2y/∂t2
= -Aω12cos(k1x -
ω1t).
Assume y = Acos(k1x - ω1t)
is a solution of the wave equation.
Then -Ak12cos(k1x -
ω1t) + Aw12cos(k1x -
ω1t)/v2 = 0.
This implies
-k12+ ω12/v2 = 0.
|v| = ω1/k1 = λ1f1.
(Here |v| is the magnitude of v.)
A is an arbitrary constant. We can consider k1 an arbitrary constant,
but then ω1 is fixed. A positive k1
represents a wave traveling into the positive x-direction and a negative
k1 represents a wave traveling into the negative x-direction.
Similarly we can show that y = Bsin(k2x -
ω2t) is a solution to the wave
equation if |v| = ω2/k2.
For y = Bsin(k2x - ω2t),
∂2y/∂x2
= -Bk22sin(k2x - ω2t) and
∂2y/∂t2
= -Bω22sin(k2x -
ω2t).
Assume y = Bsin(k2x - ω2t)
is a solution of the wave equation.
Then -Bk22sin(k2x -
ω2t) + Bω22sin(k2x -
ω2t)/v2 = 0.
-k22+ ω22/v2 = 0.
|v| = ω2/k2 = λ2f2.
B is an arbitrary constant. We can consider k2 an arbitrary constant,
but then ω2 is fixed. A positive k2
represents a wave traveling into the positive x-direction and a negative
k2 represents a wave traveling into the negative x-direction.
A general solution to a second order partial differential
equation like the wave equation has two arbitrary constant. For a
specific problem these constants are determined by the initial conditions
and the boundary conditions. There always exist two linearly
independent solutions, i.e. the second solution is not just the first
one multiplied by a constant. Any other solution can be written as a
linear combination of those solutions.
For our wave equation we have found two linearly independent solution, y = Acos(k1x -
ω1t) and y = Bsin(k2x -
ω2t), each with two arbitrary
constants. Any other solution is a
linear combination of those solutions. (See
Wave Packets and the Fourier
theorem.)
So the wave equation for waves on a string tells us that any arbitrary wave can be synthesized by a superposition of harmonic waves, as long as for those waves |v| = ω/k = λf.