In calculus of variations, the Euler–Lagrange equation, or Lagrange's equation, is a differential equation whose solutions are the functions for which a given functional is stationary. It was developed by Swiss mathematician Leonhard Euler and Italian mathematician Joseph Louis Lagrange in the 1750s.
Because a differentiable functional is stationary at its local maxima and minima, the Euler–Lagrange equation is useful for solving optimization problems in which, given some functional, one seeks the function minimizing (or maximizing) it. This is analogous to Fermat's theorem in calculus, stating that where a differentiable function attains its local extrema, its derivative is zero.
In Lagrangian mechanics, because of Hamilton's principle of stationary action, the evolution of a physical system is described by the solutions to the Euler–Lagrange equation for the action of the system. In classical mechanics, it is equivalent to Newton's laws of motion, but it has the advantage that it takes the same form in any system of generalized coordinates, and it is better suited to generalizations (see, for example, the "Field theory" section below).
Contents |
The Euler–Lagrange equation was developed in the 1750s by Euler and Lagrange in connection with their studies of the tautochrone problem. This is the problem of determining a curve on which a weighted particle will fall to a fixed point in a fixed amount of time, independent of the starting point.
Lagrange solved this problem in 1755 and sent the solution to Euler. The two further developed Lagrange's method and applied it to mechanics, which led to the formulation of Lagrangian mechanics. Their correspondence ultimately led to the calculus of variations, a term coined by Euler himself in 1766.[1]
The Euler–Lagrange equation is an equation satisfied by a function, q, of a real argument, t, which is a stationary point of the functional
where:
The Euler–Lagrange equation, then, is given by
where Lx and Lv denote the partial derivatives of L with respect to the second and third arguments, respectively.
If the dimension of the space X is greater than 1, this is a system of differential equations, one for each component:
Derivation of one-dimensional Euler-Lagrange equation |
---|
The derivation of the one-dimensional Euler–Lagrange equation is one of the classic proofs in mathematics. It relies on the fundamental lemma of calculus of variations. We wish to find a function which satisfies the boundary conditions , , and which extremizes the cost functional We assume that F has continuous first partial derivatives. A weaker assumption can be used, but the proof becomes more difficult. If f extremizes the cost functional subject to the boundary conditions, then any slight perturbation of f that preserves the boundary values must either increase J (if f is a minimizer) or decrease J (if f is a maximizer). Let gε(x) = f(x) + εη(x) be such a perturbation of f, where η(x) is a differentiable function satisfying η(a) = η(b) = 0. Then define We now wish to calculate the total derivative of J with respect to ε or the first variation of J. It follows from the total derivative that So When ε = 0 we have gε = f and since f is an extreme value it follows that , i.e. The next crucial step is to use integration by parts on the second term, yielding Using the boundary conditions on η, we get that Applying the fundamental lemma of calculus of variations now yields the Euler–Lagrange equation |
Alternate derivation of one-dimensional Euler-Lagrange equation |
---|
Given a functional on with the boundary conditions and , we proceed by approximating the extremal curve by a polygonal line with segments and passing to the limit as the number of segments grows arbitrarily large. Divide the interval into equal segments with endpoints and let . Rather than a smooth function we consider the polygonal line with vertices , where and . Accordingly, our functional becomes a real function of variables given by Extremals of this new functional defined on the discrete points correspond to points where Evaluating this partial derivative gives that Dividing the above equation by gives and taking the limit as of the right-hand side of this expression yields The term denotes the variational derivative of the functional , and a necessary condition for a differentiable functional to have an extremum on some function is that its variational derivative at that function vanishes. |
A standard example is finding the real-valued function on the interval [a, b], such that f(a) = c and f(b) = d, the length of whose graph is as short as possible. The length of the graph of f is:
the integrand function being L(x, y, y′) = √1 + y′ ² evaluated at (x, y, y′) = (x, f(x), f′(x)).
The partial derivatives of L are:
By substituting these into the Euler–Lagrange equation, we obtain
that is, the function must have constant first derivative, and thus its graph is a straight line.
To find the equations of motions for a given system, one only has to follow these steps:
The motion of a single particle in a conservative force field (for example, the gravitational force) can be determined by requiring the action to be stationary, by Hamilton's principle. The action for this system is
where x(t) is the position of the particle at time t. The dot above is Newton's notation for the time derivative: thus ẋ(t) is the particle velocity, v(t). In the equation above, L is the Lagrangian (the kinetic energy minus the potential energy):
where:
In this case, the Lagrangian does not vary with its first argument t. (By Noether's theorem, such symmetries of the system correspond to conservation laws. In particular, the invariance of the Lagrangian with respect to time implies the conservation of energy.)
By partial differentiation of the above Lagrangian, we find:
where the force is F = −∇U (the negative gradient of the potential, by definition of conservative force), and p is the momentum. By substituting these into the Euler–Lagrange equation, we obtain a system of second-order differential equations for the coordinates on the particle's trajectory,
which can be solved on the interval [t0, t1], given the boundary values xi(t0) and xi(t1). In vector notation, this system reads
or, using the momentum,
which is Newton's second law.
Field theories, both classical field theory and quantum field theory, deal with continuous coordinates, and like classical mechanics, has its own Euler–Lagrange equation of motion for a field,
where
Note: Not all classical fields are assumed commuting/bosonic variables, (like the Dirac field, the Weyl field, the Rarita-Schwinger field) are fermionic and so, when trying to get the field equations from the Lagrangian density, one must choose whether to use the right or the left derivative of the Lagrangian density (which is a boson) with respect to the fields and their first space-time derivatives which are fermionic/anticommuting objects.
There are several examples of applying the Euler–Lagrange equation to various Lagrangians:
The stationary values of the functional
can be obtained from the Euler-Lagrange equation[2]
If the problem involves finding several functions () of a single independent variable () that define an extremum of the functional
then the corresponding Euler-Lagrange equations are[2]
A multi-dimensional generalization comes from considering a function on n variables. If Ω is some surface, then
is extremized only if f satisfies the partial differential equation
When n = 2 and is the energy functional, this leads to the soap-film minimal surface problem.
If there are several unknown functions to be determined and several variables such that
the system of Euler-Lagrange equations is[2]
If there is a single unknown function to be determined that is dependent on two variables and their higher derivatives such that
the Euler-Lagrange equation is[2]