
The Euler-Lagrange equation is the differential equation whose solutions extremize a given functional in calculus of variations.In the mid-18th century, Leonhard Euler and Joseph-Louis Lagrange independently derived the equation that became the heart of analytical mechanics. They showed that all of Newtonian mechanics can be rewritten in the language of energy. The key idea: the system's trajectory is the solution for which the integral (total value) of the Lagrangian over time is extremal (usually minimal). This is called the principle of least action. Analogy: nature chooses the most economical path, just as water flows along a winding riverbed, minimizing energy loss.
In 1744, Leonhard Euler, studying the brachistochrone problem (the curve of fastest descent), arrived at an equation that minimizes the functional integral. Nearly half a century later, Joseph-Louis Lagrange in his 'Analytical Mechanics' (1788) used the calculus of variations to rethink all of classical mechanics, formulating the equations of motion through the Lagrangian. This made it possible to eliminate forces and accelerations, replacing them with energy and generalized coordinates. Later, William Rowan Hamilton developed this idea into the principle of least action, and Carl Gustav Jacobi connected it with optics.
The equation is used to derive equations of motion in complex systems: multi-body mechanisms, fields, relativistic particles. Its range of validity: applies to systems where forces can be derived from a potential (conservative forces with a generalized potential) and where there are no nonholonomic constraints. It falls outside its scope in the presence of dissipation (friction) or when taking into account quantum effects, where its modification in the form of Feynman path integrals is used.
Applied in robotics to calculate the motions of manipulators and in animation for realistic simulation of cloth and hair.
The Euler–Lagrange equation works not only in mechanics but also in electrodynamics, field theory, and even economics—everywhere where the concept of an optimal path exists.
| f | variable | homogeneous function of degree n — homogeneous function |
| x | variable | independent variable — variable |
| n | variable | degree of homogeneity — degree |
| f'(x) | operator | derivative of f with respect to x — derivative |





