One of the most important equations in physics is the wave equation.
In this post, we will derive the wave equation for the case of a transverse wave on a string. We’ll also find this speed as a function of tension and linear density. Let’s get started.
Consider an infinitesimal rope element at a horizontal distance from the origin of our coordinate system. As time passes, it oscillates vertically but stays still horizontally. Notice this means that the rope element stretches and relaxes as a function of time. Let the height of the wave as a function of position and time be . If you’ve never seen a multivariable function before, this just means that at a given time , the height of the string at the point is . Let’s assume that there are no external forces on the string (like gravity).
From the figure above, we see that
The weird curly derivative above is just the rate of change of with respect to at a particular instant in time. In the same way, is the velocity of the rope at a certain point on the axis.
Let the tension as a function of position and time be .
Notice that we’re assuming tension always points along the rope (this would not be true for a steel bar for example, but it’s true for ideal ropes).
Since we’re doing physics and not math, we can only find the wave equation by applying Newton’s laws. We’re assuming that mass elements move only up and down, so all horizontal forces must cancel out. This means that the horizontal tension must be constant along the rope at any given time! We express this mathematically using derivatives.
Using the chain rule (notice that this applies to partial derivatives because at any specific point in time, is a function of alone).
Let’s move on to the vertical direction. Notice that as the rope oscillates, the mass between and is a constant, although the density per length along the rope changes because the rope stretches a little bit. We don’t need to worry about it at all. Let’s define to be the density along the axis as a function of position. In other words, is the mass of the small rope element at a position divided by .
So the mass of the small rope element is
What’s the acceleration? This is super easy. Since the height as a function of time and space is , the acceleration of the particle at is just
Finally, what’s the vertical component of the force? At the position , the force is and at the position , the force is .
So the vertical force is
Notice the first term is just the definition of the partial derivative with respect to for the function
According to Newton
Dividing by , we get
Using the chain rule, we can rewrite the left hand side as
Unfortunately, we need to make an approximation in order to get the wave equation. We assume that the oscillations in the vertical direction are small, so that we can use the small angle approximation on . Therefore, in radians
Plugging these in, we get
We can also rewrite the horizontal tension equation as
Notice that this implies is second order in because
is first order in
Therefore the tension is approximately constant along the rope at any given time, like you would intuitively expect.
Substituting from this equation to the previous one, we get
The first term is second order in so we neglect it. Therefore
Substituting back into
But since tension is approximately constant along the rope at any given time, tension is approximately a function of time alone. Assuming that you give the rope a constant tension throughout (i.e., you don’t increase or decrease how hard you’re pulling the ends of the rope), is a constant. If we further assume that density is a constant , we get
This is the famous wave equation. The constant is called the “phase speed” of the wave.
The most general solution to the wave equation is
This can be proven rigorously using math without too much difficulty, but it has a very obvious physical meaning!
is the wave travelling to the right, because if you want to fix the argument of , then must increase at a speed of . Similarly, is the wave travelling to the left, because to keep the argument the same, must now decrease. This shape could be anything! For example, this is a valid wave, as long as the pulse is moving to the right at a constant speed!
There’s a very common misconception that all waves have to be sines or cosines, but this is not true! However, all waves can be written as the superposition of sines and cosines. This is a very important fact called the Fourier Theorem.
If you liked this post, please subscribe to my mailing list. It’s free!