I wrote a program to simulate the string equation.
Apparently, a developing theme of this blog is that I don’t like using Newtonian methods for continuum mechanics problems.
Let’s now derive the string equation. Wikipedia, say, does it with vector diagrams (this source uses the same derivation, too). We’ll do it with a method that’s closer to what we’ve been using for other problems.
Here’s the model:
We divide the string into a bunch of springs.
We can also use those tools to develop the Euler-Lagrange equation itself. In my humble opinion, this is a more straight forward derivation than is usually shown.
If L = T – V, with T a particle’s kinetic energy and V its potential energy, L is called the Lagrangian and the integral of the Lagrangian over a path in time is called the action. The principle of least action says that the path a particle actually takes is a minimum in action.
For a simple example, the Lagrangian of a particle in a uniform gravitational field is
Jumping to the answer, the Euler-Lagrange equation is
Plugging in, we eventually get
Which of course is obvious, from Newton’s second law.
Now let’s derive the equation on our own.
The curve of fastest descent: Drop a point object on a curved slope — what slope gives the minimum time for it to travel between two points?
This problem is different from the others:
So, we derived the Euler-Bernoulli Beam equation, and solved some beam bending problems, but in the process we developed some general tools, so we really should try to use them for more things, if possible.
We’ll start with the catenary problem. Catenary comes from the latin word for chain. A chain is hanging from two fixed points. What shape does it take?