As part of my Uni courses, I want to write down the basic derivation of the one-dimensional wave equation on a rope, just as an exercise for myself :)

Let’s imagine that we have a vibrating rope, and we chunk out a small fragment of it.

If we draw the diagram of forces we’ll get:

Rope force diagram

Where μ=dm/dldm/dx\mu = dm/dl \approxeq dm/dx is the density, and TT is the tension on the rope.

Using Newton’s second law, for xx:

μdxd2xdt2=Tsin(θ+dθ)Tsinθ \mu dx\frac{d^2x}{dt^2} = T\sin{\left(\theta + d\theta\right)} - T\sin{\theta}

Now, for very small values of dθ<<θd\theta\lt\lt\theta, we can use Taylor’s approximation around dθ=0d\theta = 0:

sin(θ+dθ)sinθ+ddθ[sin(θ+dθ)]dθ=0dθ+O(dθ2)=sinθ+cosθdθ+O(dθ2) \sin{\left(\theta + d\theta\right)} \approxeq \sin{\theta} + \frac{d}{d\theta}\left[\sin{\left(\theta + d\theta\right)}\right]_{d\theta=0}d\theta + O(d\theta^2) = \sin{\theta} + \cos{\theta}d\theta + O(d\theta^2)

Substituting back, we get:

μdxd2xdt2=Tsinθ+TcosθdθTsinθ=Tcosθdθ \mu dx\frac{d^2x}{dt^2} = T\sin{\theta} + T\cos{\theta}d\theta - T\sin{\theta} = T\cos{\theta}d\theta

Rearranging a bit:

d2xdt2=Tμcosθdθdx \frac{d^2x}{dt^2} = \frac{T}{\mu}\cos{\theta}\frac{d\theta}{dx}

For small θ\theta approximation, we have cosθ1\cos{\theta} \approxeq 1:

d2xdt2=Tμdθdx \frac{d^2x}{dt^2} = \frac{T}{\mu}\frac{d\theta}{dx}

This is nice, but there’s three variables here, let’s try to get rid of θ\theta. With a bit of trigonometry, we can see that:

tandθ=dydx \tan{d\theta} = \frac{dy}{dx}

And again, doing Taylor approximation around dθ=0d\theta=0, we get:

tandθ=dydxdθ \tan{d\theta} = \frac{dy}{dx} \approxeq d\theta

Deriving with respect xx both sides:

d2ydx2=dθdx \frac{d^2y}{dx^2} = \frac{d\theta}{dx}

And plugging this back to the equation from before, we end up with:

d2xdt2=Tμd2ydxc2d2ydx \frac{d^2x}{dt^2} = \frac{T}{\mu}\frac{d^2y}{dx} \equiv c^2\frac{d^2y}{dx}

And this is our wave equation! \o/, where it’s usually defined cTμc \equiv \sqrt{\frac{T}{\mu}} as the propagation velocity.