Lagrangian mechanics

Short description: Formulation of classical mechanics

Joseph-Louis Lagrange (1736–1813) Part of a series on

Classical mechanics
F=ddt(mv)

Second law of motion

* History
* Timeline
* Textbooks

Branches

* Applied
* Celestial
* Continuum
* Dynamics
* Kinematics
* Kinetics
* Statics
* Statistical

Fundamentals

* Acceleration
* Angular momentum
* Couple
* D'Alembert's principle
* Energy
* kinetic
* potential
* Force
* Frame of reference
* Inertial frame of reference
* Impulse
* Inertia / Moment of inertia
* Mass

Mechanical power
* Mechanical work

Moment
* Momentum
* Space
* Speed
* Time
* Torque
* Velocity
* Virtual work

Formulations

* Newton's laws of motion

* Analytical mechanics

* Lagrangian mechanics
* Hamiltonian mechanics
* Routhian mechanics
* Hamilton–Jacobi equation
* Appell's equation of motion
* Koopman–von Neumann mechanics

Core topics

* Damping ratio
* Displacement
* Equations of motion
* Euler's laws of motion
* Fictitious force
* Friction
* Harmonic oscillator

* Inertial / Non-inertial reference frame
* Mechanics of planar particle motion

* Motion (linear)
* Newton's law of universal gravitation
* Newton's laws of motion
* Relative velocity
* Rigid body
* dynamics
* Euler's equations
* Simple harmonic motion
* Vibration

Rotation

* Circular motion
* Rotating reference frame
* Centripetal force
* Centrifugal force
* reactive
* Coriolis force
* Pendulum
* Tangential speed
* Rotational speed

* Angular acceleration / displacement / frequency / velocity

Categories

Classical mechanics

* v
* t
* e

In physics, Lagrangian mechanics is an alternate formulation of classical mechanics founded on the d'Alembert principle of virtual work. It was introduced by the Italian-French mathematician and astronomer Joseph-Louis Lagrange in his presentation to the Turin Academy of Science in 1760[1] culminating in his 1788 grand opus, Mécanique analytique.[2] Lagrange's approach greatly simplifies the analysis of many problems in mechanics, and it had crucial influence on other branches of physics, including relativity and quantum field theory.

Lagrangian mechanics describes a mechanical system as a pair (M, L) consisting of a configuration space M and a smooth function L within that space called a Lagrangian. For many systems, L = T − V, where T and V are the kinetic and potential energy of the system, respectively.[3]

The stationary action principle requires that the action functional of the system derived from L must remain at a stationary point (specifically, a maximum, minimum, or saddle point) throughout the time evolution of the system. This constraint allows the calculation of the equations of motion of the system using Lagrange's equations.[4]

## Contents

* 1 Introduction
* 1.1 Lagrangian
* 1.2 Mathematical formulation (for finite particle systems)
* 2 Equations of motion
* 2.1 Extensions
* 3 From Newtonian to Lagrangian mechanics
* 3.1 Newton's laws
* 3.2 D'Alembert's principle
* 3.3 Equations of motion from D'Alembert's principle
* 3.4 Euler–Lagrange equations and Hamilton's principle
* 3.5 Lagrange multipliers and constraints
* 4 Properties of the Lagrangian
* 4.1 Non-uniqueness
* 4.2 Invariance under point transformations
* 4.3 Cyclic coordinates and conserved momenta
* 4.4 Energy
* 4.4.1 Invariance under coordinate transformations
* 4.4.2 Conservation
* 4.4.3 Kinetic and potential energies
* 4.5 Mechanical similarity
* 4.6 Interacting particles
* 4.7 Consequences of singular Lagrangians
* 5 Examples
* 5.1 Conservative force
* 5.1.1 Cartesian coordinates
* 5.1.2 Polar coordinates in 2D and 3D
* 5.2 Pendulum on a movable support
* 5.3 Two-body central force problem
* 6 Extensions to include non-conservative forces
* 6.1 Dissipative forces
* 6.2 Electromagnetism
* 7 Other contexts and formulations
* 7.1 Alternative formulations of classical mechanics
* 7.2 Momentum space formulation
* 7.3 Alternative Lagrangians
* 7.4 Alternative Actions
* 7.5 Higher derivatives of generalized coordinates
* 7.6 Optics
* 7.7 Relativistic formulation
* 7.8 Quantum mechanics
* 7.9 Classical field theory
* 7.10 Noether's theorem
* 8 See also
* 9 Footnotes
* 10 Notes
* 11 References
* 12 Further reading
* 13 External links

## Introduction

Bead constrained to move on a frictionless wire. The wire exerts a reaction force C on the bead to keep it on the wire. The non-constraint force N in this case is gravity. Notice the initial position of the bead on the wire can lead to different motions. Simple pendulum. Since the rod is rigid, the position of the bob is constrained according to the equation f(x, y) = 0, the constraint force C is the tension in the rod. Again the non-constraint force N in this case is gravity.

Newton's laws and the concept of forces are the usual starting point for teaching about mechanical systems.[5] This method works well for many problems, but for others the approach is nightmarishly complicated.[6] For example, in calculation of the motion of a torus rolling on a horizontal surface with a pearl sliding inside, the time-varying constraint forces like the angular velocity of the torus and the motion of the pearl in relation to the torus made it difficult to determine the motion of the torus with Newton's equations.[7] Lagrangian mechanics adopts energy rather than force as its basic ingredient,[5] leading to more abstract equations capable of tackling more complex problems.[6]

Particularly, Lagrange's approach was to set up independent generalized coordinates for the position and speed of every object, which allows the writing down of a general form of the Lagrangian (total kinetic energy minus potential energy of the system) and summing this over all possible paths of motion of the particles yielded a formula for the 'action', which he minimized to give a generalized set of equations. This summed quantity is minimized along the path that the particle actually takes. This choice eliminates the need for the constraint force to enter into the resultant generalized system of equations. There are fewer equations since one is not directly calculating the influence of the constraint on the particle at a given moment.[7]

For a wide variety of physical systems, if the size and shape of a massive object are negligible, it is a useful simplification to treat it as a point particle. For a system of N point particles with masses m1, m2, ..., mN, each particle has a position vector, denoted r1, r2, ..., rN. Cartesian coordinates are often sufficient, so r1 = (x1, y1, z1), r2 = (x2, y2, z2) and so on. In three-dimensional space, each position vector requires three coordinates to uniquely define the location of a point, so there are 3N coordinates to uniquely define the configuration of the system. These are all specific points in space to locate the particles; a general point in space is written r = (x, y, z). The velocity of each particle is how fast the particle moves along its path of motion, and is the time derivative of its position, thus 𝐯1=d𝐫1dt,𝐯2=d𝐫2dt,…,𝐯N=d𝐫Ndt. In Newtonian mechanics, the equations of motion are given by Newton's laws. The second law "net force equals mass times acceleration", ∑𝐅=md2𝐫dt2, applies to each particle. For an N-particle system in 3 dimensions, there are 3N second-degree ordinary differential equations in the positions of the particles to solve for.

### Lagrangian

Instead of forces, Lagrangian mechanics uses the energies in the system. The central quantity of Lagrangian mechanics is the Lagrangian, a function which summarizes the dynamics of the entire system. Overall, the Lagrangian has units of energy, but no single expression for all physical systems. Any function which generates the correct equations of motion, in agreement with physical laws, can be taken as a Lagrangian. It is nevertheless possible to construct general expressions for large classes of applications. The non-relativistic Lagrangian for a system of particles in the absence of an electromagnetic field is given by[8] L=T−V, where T=12∑k=1Nmkvk2 is the total kinetic energy of the system, equaling the sum Σ of the kinetic energies of the N particles. Each particle labeled k has mass mk, and vk2 = vk · vk is the magnitude squared of its velocity, equivalent to the dot product of the velocity with itself.[9]

Kinetic energy T is the energy of the system's motion and is a function only of the velocities vk, not the positions rk, nor time t, so T = T(v1, v2, ...).

V, the potential energy of the system, reflects the energy of interaction between the particles, i.e. how much energy any one particle has due to all the others, together with any external influences. For conservative forces (e.g. Newtonian gravity), it is a function of the position vectors of the particles only, so V = V(r1, r2, ...). For those non-conservative forces which can be derived from an appropriate potential (e.g. electromagnetic potential), the velocities will appear also, V = V(r1, r2, ..., v1, v2, ...). If there is some external field or external driving force changing with time, the potential changes with time, so most generally V = V(r1, r2, ..., v1, v2, ..., t).

### Mathematical formulation (for finite particle systems)

An equivalent but more mathematically formal definition of the Lagrangian is as follows.[10] For a system of N particles in three-dimensional space, the configuration space of the system is a smooth manifold Q⊆ℝ3N, where each configuration q∈Q specifies the spatial positions of each of the particles at a given instant of time, and the manifold is composed of all the configurations that are allowed by the constraints on the system.

The Lagrangian is a smooth function: L:TQ×ℝ->ℝ, where TQ⊆ℝ6N is the tangent bundle of the configuration space. That is, each element in TQ represents both the positions and the velocities of the particles, and can be written as a tuple (q1,…,qN,q˙1,…q˙N) with qi and q˙i specifying a position and a velocity of the i'th particle respectively. The time dependence t∈ℝ allows for the Lagrangian to describe time-dependent forces or potentials.

A trajectory of the system is a smooth function q:[t0,t1]->Q, describing the evolution of the configuration over time. Its velocity is the time derivative q˙(t)∈Tq(t)Q of q(t), and the pair (q(t),q˙(t))∈TQ is thus an element of the bundle for any t. The action functional of the trajectory can therefore be defined as the integral of the Lagrangian along the path: S[q]=∫t0t1L(q(t),q˙(t),t)dt.

The laws of motion in Lagrangian mechanics are derived from the postulate that among all trajectories between two given configurations, the actual one that will be taken by the system must be a critical point (often but not necessarily a local minimum) of the action functional. This leads to the Euler–Lagrange equations (see also below).

## Equations of motion

For a system of particles with masses m1,…,mN, the kinetic energy is: T(q,q˙)=12∑i=1Nmi‖q˙i‖2, where q˙i∈ℝ3 is the velocity of particle i.

The potential energy V(q,t) depends only on the configuration (and possibly on time), and typically arises from conservative forces.

The standard Lagrangian is given by the difference: L(q,q˙,t)=T(q,q˙)−V(q,t).

This formulation covers both conservative and time-dependent systems and forms the basis for generalizations to continuous systems (fields), constrained systems, and systems with curved configuration spaces.

If T or V or both depend explicitly on time due to time-varying constraints or external influences, the Lagrangian L(r1, r2, ... v1, v2, ... t) is explicitly time-dependent. If neither the potential nor the kinetic energy depend on time, then the Lagrangian L(r1, r2, ... v1, v2, ...) is explicitly independent of time. In either case, the Lagrangian always has implicit time dependence through the generalized coordinates.

With these definitions, Lagrange's equations are[11]

Lagrange's equations

∂L∂𝐫k−ddt∂L∂𝐫˙k+∑i=1Cλi∂fi∂𝐫k=0,

where k = 1, 2, ..., N labels the particles, there is a Lagrange multiplier λi for each constraint equation fi, and ∂∂𝐫k≡(∂∂xk,∂∂yk,∂∂zk),∂∂𝐫˙k≡(∂∂x˙k,∂∂y˙k,∂∂z˙k) are each shorthands for a vector of partial derivatives ∂/∂ with respect to the indicated variables (not a derivative with respect to the entire vector).[nb 1] Each overdot is a shorthand for a time derivative. This procedure does increase the number of equations to solve compared to Newton's laws, from 3N to 3N \+ C, because there are 3N coupled second-order differential equations in the position coordinates and multipliers, plus C constraint equations. However, when solved alongside the position coordinates of the particles, the multipliers can yield information about the constraint forces. The coordinates do not need to be eliminated by solving the constraint equations.

In the Lagrangian, the position coordinates and velocity components are all independent variables, and derivatives of the Lagrangian are taken with respect to these separately according to the usual differentiation rules (e.g. the partial derivative of L with respect to the z velocity component of particle 2, defined by vz,2 = dz2/dt, is just ∂L/∂vz,2; no awkward chain rules or total derivatives need to be used to relate the velocity component to the corresponding coordinate z2).

In each constraint equation, one coordinate is redundant because it is determined from the other coordinates. The number of independent coordinates is therefore n = 3N − C. We can transform each position vector to a common set of n generalized coordinates, conveniently written as an n-tuple q = (q1, q2, ... qn), by expressing each position vector, and hence the position coordinates, as functions of the generalized coordinates and time: 𝐫k=𝐫k(𝐪,t)=(xk(𝐪,t),yk(𝐪,t),zk(𝐪,t),t).

The vector q is a point in the configuration space of the system. The time derivatives of the generalized coordinates are called the generalized velocities, and for each particle the transformation of its velocity vector, the total derivative of its position with respect to time, is q˙j=dqjdt,𝐯k=∑j=1n∂𝐫k∂qjq˙j+∂𝐫k∂t.

Given this vk, the kinetic energy in generalized coordinates depends on the generalized velocities, generalized coordinates, and time if the position vectors depend explicitly on time due to time-varying constraints, so T=T(𝐪,𝐪˙,t).

With these definitions, the Euler–Lagrange equations,[12][13]

Lagrange's equations

ddt(∂L∂q˙j)=∂L∂qj

are mathematical results from the calculus of variations, which can also be used in mechanics. Substituting in the Lagrangian L(q, dq/dt, t) gives the equations of motion of the system. The number of equations has decreased compared to Newtonian mechanics, from 3N to n = 3N − C coupled second-order differential equations in the generalized coordinates. These equations do not include constraint forces at all, only non-constraint forces need to be accounted for.

Although the equations of motion include partial derivatives, the results of the partial derivatives are still ordinary differential equations in the position coordinates of the particles. The total time derivative denoted d/dt often involves implicit differentiation. Both equations are linear in the Lagrangian, but generally are nonlinear coupled equations in the coordinates.

### Extensions

As already noted, this form of L is applicable to many important classes of system, but not everywhere. For relativistic Lagrangian mechanics it must be replaced as a whole by a function consistent with special relativity (scalar under Lorentz transformations) or general relativity (4-scalar).[14] Where a magnetic field is present, the expression for the potential energy needs restating. And for dissipative forces (e.g., friction), another function must be introduced alongside Lagrangian often referred to as a "Rayleigh dissipation function" to account for the loss of energy.[15]

One or more of the particles may each be subject to one or more holonomic constraints; such a constraint is described by an equation of the form f(r, t) = 0. If the number of constraints in the system is C, then each constraint has an equation f1(r, t) = 0, f2(r, t) = 0, ..., fC(r, t) = 0, each of which could apply to any of the particles. If particle k is subject to constraint i, then fi(rk, t) = 0. At any instant of time, the coordinates of a constrained particle are linked together and not independent. The constraint equations determine the allowed paths the particles can move along, but not where they are or how fast they go at every instant of time. Nonholonomic constraints depend on the particle velocities, accelerations, or higher derivatives of position. Lagrangian mechanics can only be applied to systems whose constraints, if any, are all holonomic. Three examples of nonholonomic constraints are:[16] when the constraint equations are non-integrable, when the constraints have inequalities, or when the constraints involve complicated non-conservative forces like friction. Nonholonomic constraints require special treatment, and one may have to revert to Newtonian mechanics or use other methods.[17]

## From Newtonian to Lagrangian mechanics

### Newton's laws

Isaac Newton (1642–1727)

For simplicity, Newton's laws can be illustrated for one particle without much loss of generality (for a system of N particles, all of these equations apply to each particle in the system). The equation of motion for a particle of constant mass m is Newton's second law of 1687, in modern vector notation 𝐅=m𝐚, where a is its acceleration and F the resultant force acting on it. Where the mass is varying, the equation needs to be generalised to take the time derivative of the momentum. In three spatial dimensions, this is a system of three coupled second-order ordinary differential equations to solve, since there are three components in this vector equation. The solution is the position vector r of the particle at time t, subject to the initial conditions of r and v when t = 0.

Newton's laws are easy to use in Cartesian coordinates, but Cartesian coordinates are not always convenient, and for other coordinate systems the equations of motion can become complicated. In a set of curvilinear coordinates ξ = (ξ1, ξ2, ξ3), the law in tensor index notation is the "Lagrangian form"[18][19] Fa=m(d2ξadt2+Γabcdξbdtdξcdt)=gak(ddt∂T∂ξ˙k−∂T∂ξk),ξ˙a≡dξadt, where Fa is the a-th contravariant component of the resultant force acting on the particle, Γabc are the Christoffel symbols of the second kind, T=12mgbcdξbdtdξcdt is the kinetic energy of the particle, and gbc the covariant components of the metric tensor of the curvilinear coordinate system. All the indices a, b, c, each take the values 1, 2, 3. Curvilinear coordinates are not the same as generalized coordinates.

It may seem like an overcomplication to cast Newton's law in this form, but there are advantages. The acceleration components in terms of the Christoffel symbols can be avoided by evaluating derivatives of the kinetic energy instead. If there is no resultant force acting on the particle, F = 0, it does not accelerate, but moves with constant velocity in a straight line. Mathematically, the solutions of the differential equation are geodesics, the curves of extremal length between two points in space (these may end up being minimal, that is the shortest paths, but not necessarily). In flat 3D real space the geodesics are simply straight lines. So for a free particle, Newton's second law coincides with the geodesic equation and states that free particles follow geodesics, the extremal trajectories it can move along. If the particle is subject to forces F ≠ 0, the particle accelerates due to forces acting on it and deviates away from the geodesics it would follow if free. With appropriate extensions of the quantities given here in flat 3D space to 4D curved spacetime, the above form of Newton's law also carries over to Einstein's general relativity, in which case free particles follow geodesics in curved spacetime that are no longer "straight lines" in the ordinary sense.[20]

However, we still need to know the total resultant force F acting on the particle, which in turn requires the resultant non-constraint force N plus the resultant constraint force C, 𝐅=𝐂+𝐍.

The constraint forces can be complicated, since they generally depend on time. Also, if there are constraints, the curvilinear coordinates are not independent but related by one or more constraint equations.

The constraint forces can either be eliminated from the equations of motion, so only the non-constraint forces remain, or included by including the constraint equations in the equations of motion.

### D'Alembert's principle

Jean d'Alembert (1717–1783)

One degree of freedom.

Two degrees of freedom.

Constraint force C and virtual displacement δr for a particle of mass m confined to a curve. The resultant non-constraint force is N.

A fundamental result in analytical mechanics is D'Alembert's principle, introduced in 1708 by Jacques Bernoulli to understand static equilibrium, and developed by D'Alembert in 1743 to solve dynamical problems.[21] The principle asserts for N particles the virtual work, i.e. the work along a virtual displacement, δ𝐫k, is zero:[9] ∑k=1N(𝐍k+𝐂k−mk𝐚k)⋅δ𝐫k=0.

The virtual displacements, δ𝐫k, are by definition infinitesimal changes in the configuration of the system consistent with the constraint forces acting on the system at an instant of time,[22] i.e. in such a way that the constraint forces maintain the constrained motion. They are not the same as the actual displacements in the system, which are caused by the resultant constraint and non-constraint forces acting on the particle to accelerate and move it.[nb 2] Virtual work is the work done along a virtual displacement for any force (constraint or non-constraint).

Since the constraint forces act perpendicular to the motion of each particle in the system to maintain the constraints, the total virtual work by the constraint forces acting on the system is zero:[23][nb 3] ∑k=1N𝐂k⋅δ𝐫k=0, so that ∑k=1N(𝐍k−mk𝐚k)⋅δ𝐫k=0.

Thus D'Alembert's principle allows us to concentrate on only the applied non-constraint forces, and exclude the constraint forces in the equations of motion.[23][24] The form shown is also independent of the choice of coordinates. However, it cannot be readily used to set up the equations of motion in an arbitrary coordinate system since the displacements δ𝐫k might be connected by a constraint equation, which prevents us from setting the N individual summands to 0. We will therefore seek a system of mutually independent coordinates for which the total sum will be 0 if and only if the individual summands are 0. Setting each of the summands to 0 will eventually give us our separated equations of motion.

### Equations of motion from D'Alembert's principle

If there are constraints on particle k, then since the coordinates of the position rk = (xk, yk, zk) are linked together by a constraint equation, so are those of the virtual displacements δrk = (δxk, δyk, δzk). Since the generalized coordinates are independent, we can avoid the complications with the δrk by converting to virtual displacements in the generalized coordinates. These are related in the same form as a total differential,[9] δ𝐫k=∑j=1n∂𝐫k∂qjδqj.

There is no partial time derivative with respect to time multiplied by a time increment, since this is a virtual displacement, one along the constraints in an instant of time.

The first term in D'Alembert's principle above is the virtual work done by the non-constraint forces Nk along the virtual displacements δrk, and can without loss of generality be converted into the generalized analogues by the definition of generalized forces Qj=∑k=1N𝐍k⋅∂𝐫k∂qj, so that ∑k=1N𝐍k⋅δ𝐫k=∑k=1N𝐍k⋅∑j=1n∂𝐫k∂qjδqj=∑j=1nQjδqj.

This is half of the conversion to generalized coordinates. It remains to convert the acceleration term into generalized coordinates, which is not immediately obvious. Recalling the Lagrange form of Newton's second law, the partial derivatives of the kinetic energy with respect to the generalized coordinates and velocities can be found to give the desired result:[9] ∑k=1Nmk𝐚k⋅∂𝐫k∂qj=ddt∂T∂q˙j−∂T∂qj.

Now D'Alembert's principle is in the generalized coordinates as required, ∑j=1n[Qj−(ddt∂T∂q˙j−∂T∂qj)]δqj=0, and since these virtual displacements δqj are independent and nonzero, the coefficients can be equated to zero, resulting in Lagrange's equations[25][26] or the generalized equations of motion,[27] Qj=ddt∂T∂q˙j−∂T∂qj

These equations are equivalent to Newton's laws for the non-constraint forces. The generalized forces in this equation are derived from the non-constraint forces only – the constraint forces have been excluded from D'Alembert's principle and do not need to be found. The generalized forces may be non-conservative, provided they satisfy D'Alembert's principle.[28]

### Euler–Lagrange equations and Hamilton's principle

As the system evolves, q traces a path through configuration space (only some are shown). The path taken by the system (red) has a stationary action (δS = 0) under small changes in the configuration of the system (δq).[29]

For a non-conservative force which depends on velocity, it may be possible to find a potential energy function V that depends on positions and velocities. If the generalized forces Qi can be derived from a potential V such that[30][31] Qj=ddt∂V∂q˙j−∂V∂qj, equating to Lagrange's equations and defining the Lagrangian as L = T − V obtains Lagrange's equations of the second kind or the Euler–Lagrange equations of motion ∂L∂qj−ddt∂L∂q˙j=0.

However, the Euler–Lagrange equations can only account for non-conservative forces if a potential can be found as shown. This may not always be possible for non-conservative forces, and Lagrange's equations do not involve any potential, only generalized forces; therefore they are more general than the Euler–Lagrange equations.

The Euler–Lagrange equations also follow from the calculus of variations. The variation of the Lagrangian is δL=∑j=1n(∂L∂qjδqj+∂L∂q˙jδq˙j),δq˙j≡δdqjdt≡d(δqj)dt, which has a form similar to the total differential of L, but the virtual displacements and their time derivatives replace differentials, and there is no time increment in accordance with the definition of the virtual displacements. An integration by parts with respect to time can transfer the time derivative of δqj to the ∂L/∂(dqj/dt), in the process exchanging d(δqj)/dt for δqj, allowing the independent virtual displacements to be factorized from the derivatives of the Lagrangian, ∫t1t2δLdt=∫t1t2∑j=1n(∂L∂qjδqj+ddt(∂L∂q˙jδqj)−ddt∂L∂q˙jδqj)dt=∑j=1n[∂L∂q˙jδqj]t1t2+∫t1t2∑j=1n(∂L∂qj−ddt∂L∂q˙j)δqjdt.

Now, if the condition δqj(t1) = δqj(t2) = 0 holds for all j, the terms not integrated are zero. If in addition the entire time integral of δL is zero, then because the δqj are independent, and the only way for a definite integral to be zero is if the integrand equals zero, each of the coefficients of δqj must also be zero. Then we obtain the equations of motion. This can be summarized by Hamilton's principle: ∫t1t2δLdt=0.

The time integral of the Lagrangian is another quantity called the action, defined as[32] S=∫t1t2Ldt, which is a functional; it takes in the Lagrangian function for all times between t1 and t2 and returns a scalar value. Its dimensions are the same as [angular momentum], [energy]·[time], or [length]·[momentum]. With this definition Hamilton's principle is δS=0.

Instead of thinking about particles accelerating in response to applied forces, one might think of them picking out the path with a stationary action, with the end points of the path in configuration space held fixed at the initial and final times. Hamilton's principle is one of several action principles.[33]

Historically, the idea of finding the shortest path a particle can follow subject to a force motivated the first applications of the calculus of variations to mechanical problems, such as the Brachistochrone problem solved by Jean Bernoulli in 1696, as well as Leibniz, Daniel Bernoulli, L'Hôpital around the same time, and Newton the following year.[34] Newton himself was thinking along the lines of the variational calculus, but did not publish.[34] These ideas in turn lead to the variational principles of mechanics, of Fermat, Maupertuis, Euler, Hamilton, and others.

Hamilton's principle can be applied to nonholonomic constraints if the constraint equations can be put into a certain form, a linear combination of first order differentials in the coordinates. The resulting constraint equation can be rearranged into first order differential equation.[35] This will not be given here.

### Lagrange multipliers and constraints

The Lagrangian L can be varied in the Cartesian rk coordinates, for N particles, ∫t1t2∑k=1N(∂L∂𝐫k−ddt∂L∂𝐫˙k)⋅δ𝐫kdt=0.

Hamilton's principle is still valid even if the coordinates L is expressed in are not independent, here rk, but the constraints are still assumed to be holonomic.[36] As always the end points are fixed δrk(t1) = δrk(t2) = 0 for all k. What cannot be done is to simply equate the coefficients of δrk to zero because the δrk are not independent. Instead, the method of Lagrange multipliers can be used to include the constraints. Multiplying each constraint equation fi(rk, t) = 0 by a Lagrange multiplier λi for i = 1, 2, ..., C, and adding the results to the original Lagrangian, gives the new Lagrangian L′=L(𝐫1,𝐫2,…,𝐫˙1,𝐫˙2,…,t)+∑i=1Cλi(t)fi(𝐫k,t).

The Lagrange multipliers are arbitrary functions of time t, but not functions of the coordinates rk, so the multipliers are on equal footing with the position coordinates. Varying this new Lagrangian and integrating with respect to time gives ∫t1t2δL′dt=∫t1t2∑k=1N(∂L∂𝐫k−ddt∂L∂𝐫˙k+∑i=1Cλi∂fi∂𝐫k)⋅δ𝐫kdt=0.

The introduced multipliers can be found so that the coefficients of δrk are zero, even though the rk are not independent. The equations of motion follow. From the preceding analysis, obtaining the solution to this integral is equivalent to the statement ∂L′∂𝐫k−ddt∂L′∂𝐫˙k=0⇒∂L∂𝐫k−ddt∂L∂𝐫˙k+∑i=1Cλi∂fi∂𝐫k=0, which are Lagrange's equations of the first kind. Also, the λi Euler-Lagrange equations for the new Lagrangian return the constraint equations ∂L′∂λi−ddt∂L′∂λ˙i=0⇒fi(𝐫k,t)=0.

For the case of a conservative force given by the gradient of some potential energy V, a function of the rk coordinates only, substituting the Lagrangian L = T − V gives ∂T∂𝐫k−ddt∂T∂𝐫˙k⏟−𝐅k+−∂V∂𝐫k⏟𝐍k+∑i=1Cλi∂fi∂𝐫k=0, and identifying the derivatives of kinetic energy as the (negative of the) resultant force, and the derivatives of the potential equaling the non-constraint force, it follows the constraint forces are 𝐂k=∑i=1Cλi∂fi∂𝐫k, thus giving the constraint forces explicitly in terms of the constraint equations and the Lagrange multipliers.

## Properties of the Lagrangian

### Non-uniqueness

The Lagrangian of a given system is not unique. A Lagrangian L can be multiplied by a nonzero constant a and shifted by an arbitrary constant b, and the new Lagrangian L′ = aL \+ b will describe the same motion as L. If one restricts as above to trajectories q over a given time interval [tst, tfin] and fixed end points Pst = q(tst) and Pfin = q(tfin), then two Lagrangians describing the same system can differ by the "total time derivative" of a function f(q, t):[37] L′(𝐪,𝐪˙,t)=L(𝐪,𝐪˙,t)+df(𝐪,t)dt, where df(𝐪,t)dt means ∂f(𝐪,t)∂t+∑i∂f(𝐪,t)∂qiq˙i.

Both Lagrangians L and L′ produce the same equations of motion[38][39] since the corresponding actions S and S′ are related via S′[𝐪]=∫tsttfinL′(𝐪(t),𝐪˙(t),t)dt=∫tsttfinL(𝐪(t),𝐪˙(t),t)dt+∫tsttfindf(𝐪(t),t)dtdt=S[𝐪]+f(Pfin,tfin)−f(Pst,tst), with the last two components f(Pfin, tfin) and f(Pst, tst) independent of q.

### Invariance under point transformations

Given a set of generalized coordinates q, if we change these variables to a new set of generalized coordinates Q according to a point transformation Q = Q(q, t) which is invertible as q = q(Q, t), the new Lagrangian L′ is a function of the new coordinates and similarly for the constraints L′(𝐐,𝐐˙,t)=L(𝐪(𝐐,t),𝐪˙(𝐐,𝐐˙,t),t),ϕj′(𝐐,t)=ϕj(𝐪(𝐐,t),t) and by the chain rule for partial differentiation, Lagrange's equations are invariant under this transformation;[40]

ddt∂L′∂Q˙i=∂L′∂Qi+∑jλj∂ϕ'j∂Qi.

Proof

For a coordinate transformation Qi=Qi(𝐪,t), we have dQi=∑k∂Qi∂qkdqk+∂Qk∂tdt, which implies that Qi˙=∑k∂Qi∂qk(𝐪,t)q˙k+∂Qk∂t(𝐪,t) which implies that ∂Qi˙∂q˙k=∂Qi∂qk.

It also follows that: ∂Qi˙∂qj=∑k∂2Qi∂qj∂qk(𝐪,t)q˙k+∂2Qk∂qj∂t(𝐪,t) and similarly: ddt(∂Qi∂qj)=∑k∂2Qi∂qk∂qj(𝐪,t)q˙k+∂2Qk∂t∂qj(𝐪,t) which imply that ddt(∂Qi∂qk)=∂Q˙i∂qk. The two derived relations can be employed in the proof.

Starting from Euler Lagrange equations in initial set of generalized coordinates, we have: ddt∂L∂q˙i−∂L∂qi−∑jλj∂ϕj∂qi=0∑k(ddt(∂L∂Q˙k∂Q˙k∂q˙i)−∂L∂Qk∂Qk∂qi−∂L∂Q˙k∂Q˙k∂qi−∑jλj∂ϕj∂Qk∂Qk∂qi)=0∑k(ddt(∂L∂Q˙k)∂Q˙k∂q˙i+∂L∂Q˙kddt(∂Q˙k∂q˙i)−∂L∂Qk∂Q˙k∂q˙i−∂L∂Q˙kddt(∂Qk∂qi)−∑jλj∂ϕj∂Qk∂Qk∂qi)=0∑k(ddt(∂L∂Q˙k)−∂L∂Qk−∑jλj∂ϕj∂Qk)∂Qk∂qi=0

Since the transformation from q->Q is invertible, it follows that the form of the Euler-Lagrange equation is invariant i.e., ddt∂L∂Q˙i−∂L∂Qi−∑jλj∂ϕj∂Qi=0.

### Cyclic coordinates and conserved momenta

An important property of the Lagrangian is that conserved quantities can easily be read off from it. The generalized momentum "canonically conjugate to" the coordinate qi is defined by pi=∂L∂q˙i.

If the Lagrangian L does not depend on some coordinate qi, it follows immediately from the Euler–Lagrange equations that p˙i=ddt∂L∂q˙i=∂L∂qi=0 and integrating shows the corresponding generalized momentum equals a constant, a conserved quantity. This is a special case of Noether's theorem. Such coordinates are called "cyclic" or "ignorable".

For example, a system may have a Lagrangian L(r,θ,s˙,z˙,r˙,θ˙,ϕ˙,t), where r and z are lengths along straight lines, s is an arc length along some curve, and θ and φ are angles. Notice z, s, and φ are all absent in the Lagrangian even though their velocities are not. Then the momenta pz=∂L∂z˙,ps=∂L∂s˙,pϕ=∂L∂ϕ˙, are all conserved quantities. The units and nature of each generalized momentum will depend on the corresponding coordinate; in this case pz is a translational momentum in the z direction, ps is also a translational momentum along the curve s is measured, and pφ is an angular momentum in the plane the angle φ is measured in. However complicated the motion of the system is, all the coordinates and velocities will vary in such a way that these momenta are conserved.

### Energy

Given a Lagrangian L, the Hamiltonian of the corresponding mechanical system is, by definition, H=(∑i=1nq˙i∂L∂q˙i)−L. This quantity will be equivalent to energy if the generalized coordinates are natural coordinates, i.e., they have no explicit time dependence when expressing position vector: 𝐫=𝐫(q1,⋯,qn). From: T=m2v2=m2∑i,j(∂r→∂qiq˙i)⋅(∂r→∂qjq˙j)=m2∑i,jaijq˙iq˙j ∑k=1nq˙k∂L∂q˙k=∑k=1nq˙k∂T∂q˙k=m2(2∑i,jaijq˙iq˙j)=2T H=(∑i=1nq˙i∂L∂q˙i)−L=2T−(T−V)=T+V=E where aij=∂𝐫∂qi⋅∂𝐫∂qj is a symmetric matrix that is defined for the derivation.

#### Invariance under coordinate transformations

At every time instant t, the energy is invariant under configuration space coordinate changes q → Q, i.e. (using natural coordinates) E(𝐪,𝐪˙,t)=E(𝐐,𝐐˙,t). Besides this result, the proof below shows that, under such change of coordinates, the derivatives ∂L/∂q˙i change as coefficients of a linear form.

Proof

For a coordinate transformation Q = F(q), we have d𝐐=F*(𝐪)d𝐪, where F*(𝐪) is the tangent map of the vector space {∑i=1nq˙i⋅(∂∂qi|𝐪) | q˙i∈ℝ} to the vector space {∑i=1nQ˙i⋅(∂∂Qi|F(𝐪)) | Q˙i∈ℝ}, and F*(𝐪)=(∂Fi∂qj|𝐪)i,j=1n is the Jacobian. In the coordinates q˙i and Q˙i, the previous formula for d𝐐 has the form 𝐐˙=F*(𝐪)𝐪˙. After differentiation involving the product rule, d𝐐˙=G(𝐪,𝐪˙)d𝐪+F*(𝐪)d𝐪˙, where G(𝐪,𝐪˙)d𝐪=defd(F*(𝐪))𝐪˙=(∑k=1n∂2Fi∂qj∂qk|𝐪dqk)i,j=1n𝐪˙=(∑j=1nq˙j∑k=1n∂2Fi∂qj∂qk|𝐪dqk)i=1,…,nT=(∑k=1ndqk∑j=1n∂2Fi∂qj∂qk|𝐪q˙j)i=1,…,nT=(∑j=1n∂2Fi∂qj∂qk|𝐪q˙j)i,k=1nd𝐪.

In vector notation, dL(𝐐,𝐐˙,t)=∂L∂𝐐d𝐐+∂L∂𝐐˙d𝐐˙+∂L∂tdt=(∂L∂𝐐F*(𝐪)+∂L∂𝐐˙G(𝐪,𝐪˙))d𝐪+∂L∂𝐐˙F*(𝐪)d𝐪˙+∂L∂t.

On the other hand, dL(𝐪,𝐪˙,t)=∂L∂𝐪d𝐪+∂L∂𝐪˙d𝐪˙+∂L∂tdt.

It was mentioned earlier that Lagrangians do not depend on the choice of configuration space coordinates, i.e. L(𝐐,𝐐˙,t)=L(𝐪,𝐪˙,t). One implication of this is that dL(𝐐,𝐐˙,t)=dL(𝐪,𝐪˙,t), and ∂L∂𝐐˙F*(𝐪)=∂L∂𝐪˙. This demonstrates that, for each 𝐪, 𝐪˙, and t, ∑i=1n∂L∂q˙idq˙i is a well-defined linear form whose coefficients ∂L∂q˙i are contravariant 1-tensors. Applying both sides of the equation to 𝐪˙ and using the above formula for 𝐐˙ yields 𝐐˙∂L∂𝐐˙=𝐪˙∂L∂𝐪˙. The invariance of the energy E follows.

#### Conservation

In Lagrangian mechanics, the system is closed if and only if its Lagrangian L does not explicitly depend on time. The energy conservation law states that the energy E of a closed system is an integral of motion.

More precisely, let q = q(t) be an extremal. (In other words, q satisfies the Euler–Lagrange equations). Taking the total time-derivative of L along this extremal and using the EL equations leads to dLdt=𝐪˙∂L∂𝐪+𝐪¨∂L∂q˙+∂L∂t−∂L∂t=ddt(∂L∂q˙)𝐪˙+𝐪¨∂L∂q˙−L˙−∂L∂t=ddt(∂L∂q˙q˙−L)=dHdt

If the Lagrangian L does not explicitly depend on time, then ∂L/∂t = 0, then H does not vary with time evolution of particle, indeed, an integral of motion, meaning that H(𝐪(t),𝐪˙(t),t)=constant of time. Hence, if the chosen coordinates were natural coordinates, the energy is conserved.

#### Kinetic and potential energies

Under all these circumstances,[41] the constant E=T+V is the total energy of the system. The kinetic and potential energies still change as the system evolves, but the motion of the system will be such that their sum, the total energy, is constant. This is a valuable simplification, since the energy E is a constant of integration that counts as an arbitrary constant for the problem, and it may be possible to integrate the velocities from this energy relation to solve for the coordinates.

### Mechanical similarity

Main article: Physics:Mechanical similarity

If the potential energy is a homogeneous function of the coordinates and independent of time,[42] and all position vectors are scaled by the same nonzero constant α, rk′ = αrk, so that V(α𝐫1,α𝐫2,…,α𝐫N)=αNV(𝐫1,𝐫2,…,𝐫N) and time is scaled by a factor β, t′ = βt, then the velocities vk are scaled by a factor of α/β and the kinetic energy T by (α/β)2. The entire Lagrangian has been scaled by the same factor if α2β2=αN⇒β=α1−N2.

Since the lengths and times have been scaled, the trajectories of the particles in the system follow geometrically similar paths differing in size. The length l traversed in time t in the original trajectory corresponds to a new length l′ traversed in time t′ in the new trajectory, given by the ratios t′t=(l′l)1−N2.

### Interacting particles

For a given system, if two subsystems A and B are non-interacting, the Lagrangian L of the overall system is the sum of the Lagrangians LA and LB for the subsystems:[37] L=LA+LB.

If they do interact this is not possible. In some situations, it may be possible to separate the Lagrangian of the system L into the sum of non-interacting Lagrangians, plus another Lagrangian LAB containing information about the interaction, L=LA+LB+LAB.

This may be physically motivated by taking the non-interacting Lagrangians to be kinetic energies only, while the interaction Lagrangian is the system's total potential energy. Also, in the limiting case of negligible interaction, LAB tends to zero reducing to the non-interacting case above.

The extension to more than two non-interacting subsystems is straightforward – the overall Lagrangian is the sum of the separate Lagrangians for each subsystem. If there are interactions, then interaction Lagrangians may be added.

### Consequences of singular Lagrangians

From the Euler-Lagrange equations, it follows that: ddt∂L∂q˙i−∂L∂qi=0∂2L∂qj∂q˙idqjdt+∂2L∂q˙j∂q˙idq˙jdt+∂L∂t−∂L∂qi=0∑jWij(q,q˙,t)q¨j=∂L∂qi−∂L∂t−∑j∂2L∂q˙i∂qjq˙j,

where the matrix is defined as Wij=∂2L∂q˙i∂q˙j. If the matrix W is non-singular, the above equations can be solved to represent q¨ as a function of (q˙,q,t). If the matrix is non-invertible, it would not be possible to represent all q¨'s as a function of (q˙,q,t) but also, the Hamiltonian equations of motions will not take the standard form.[43]

## Examples

The following examples apply Lagrange's equations of the second kind to mechanical problems.

### Conservative force

A particle of mass m moves under the influence of a conservative force derived from the gradient ∇ of a scalar potential, 𝐅=−∇V(𝐫).

If there are more particles, in accordance with the above results, the total kinetic energy is a sum over all the particle kinetic energies, and the potential is a function of all the coordinates.

#### Cartesian coordinates

The Lagrangian of the particle can be written L(x,y,z,x˙,y˙,z˙)=12m(x˙2+y˙2+z˙2)−V(x,y,z).

The equations of motion for the particle are found by applying the Euler–Lagrange equation, for the x coordinate ddt(∂L∂x˙)=∂L∂x, with derivatives ∂L∂x=−∂V∂x,∂L∂x˙=mx˙,ddt(∂L∂x˙)=mx¨, hence mx¨=−∂V∂x, and similarly for the y and z coordinates. Collecting the equations in vector form we find m𝐫¨=−∇V which is Newton's second law of motion for a particle subject to a conservative force.

#### Polar coordinates in 2D and 3D

Using the spherical coordinates (r, θ, φ) as commonly used in physics (ISO 80000-2:2019 convention), where r is the radial distance to origin, θ is polar angle (also known as colatitude, zenith angle, normal angle, or inclination angle), and φ is the azimuthal angle, the Lagrangian for a central potential is L=m2(r˙2+r2θ˙2+r2sin2θφ˙2)−V(r). So, in spherical coordinates, the Euler–Lagrange equations are mr¨−mr(θ˙2+sin2θφ˙2)+∂V∂r=0, ddt(mr2θ˙)−mr2sin⁡θcos⁡θφ˙2=0, ddt(mr2sin2θφ˙)=0. The φ coordinate is cyclic since it does not appear in the Lagrangian, so the conserved momentum in the system is the angular momentum pφ=∂L∂φ˙=mr2sin2θφ˙, in which r, θ and dφ/dt can all vary with time, but only in such a way that pφ is constant.

The Lagrangian in two-dimensional polar coordinates is recovered by fixing θ to the constant value π/2.

### Pendulum on a movable support

Sketch of the situation with definition of the coordinates (click to enlarge)

Consider a pendulum of mass m and length ℓ, which is attached to a support with mass M, which can move along a line in the x-direction. Let x be the coordinate along the line of the support, and let us denote the position of the pendulum by the angle θ from the vertical. The coordinates and velocity components of the pendulum bob are xpend=x+ℓsin⁡θ⇒x˙pend=x˙+ℓθ˙cos⁡θypend=−ℓcos⁡θ⇒y˙pend=ℓθ˙sin⁡θ.

The generalized coordinates can be taken to be x and θ. The kinetic energy of the system is then T=12Mx˙2+12m(x˙pend2+y˙pend2) and the potential energy is V=mgypend giving the Lagrangian L=T−V=12Mx˙2+12m[(x˙+ℓθ˙cos⁡θ)2+(ℓθ˙sin⁡θ)2]+mgℓcos⁡θ=12(M+m)x˙2+mx˙ℓθ˙cos⁡θ+12mℓ2θ˙2+mgℓcos⁡θ.

Since x is absent from the Lagrangian, it is a cyclic coordinate. The conserved momentum is px=∂L∂x˙=(M+m)x˙+mℓθ˙cos⁡θ, and the Lagrange equation for the support coordinate x is (M+m)x¨+mℓθ¨cos⁡θ−mℓθ˙2sin⁡θ=0.

The Lagrange equation for the angle θ is ddt[m(x˙ℓcos⁡θ+ℓ2θ˙)]+mℓ(x˙θ˙+g)sin⁡θ=0; and simplifying θ¨+x¨ℓcos⁡θ+gℓsin⁡θ=0.

These equations may look quite complicated, but finding them with Newton's laws would have required carefully identifying all forces, which would have been much more laborious and prone to errors. By considering limit cases, the correctness of this system can be verified: For example, x¨->0 should give the equations of motion for a simple pendulum that is at rest in some inertial frame, while θ¨->0 should give the equations for a pendulum in a constantly accelerating system, etc. Furthermore, it is trivial to obtain the results numerically, given suitable starting conditions and a chosen time step, by stepping through the results iteratively.

### Two-body central force problem

Main articles: Two-body problem and Central force

Two bodies of masses m1 and m2 with position vectors r1 and r2 are in orbit about each other due to an attractive central potential V. We may write down the Lagrangian in terms of the position coordinates as they are, but it is an established procedure to convert the two-body problem into a one-body problem as follows. Introduce the Jacobi coordinates; the separation of the bodies r = r2 − r1 and the location of the center of mass R = (m1r1 \+ m2r2)/(m1 \+ m2). The Lagrangian is then[44][45][nb 4] L=12M𝐑˙2⏟Lcm+12μ𝐫˙2−V(|𝐫|)⏟Lrel where M = m1 \+ m2 is the total mass, μ = m1m2/(m1 \+ m2) is the reduced mass, and V the potential of the radial force, which depends only on the magnitude of the separation |r| = |r2 − r1|. The Lagrangian splits into a center-of-mass term Lcm and a relative motion term Lrel.

The Euler–Lagrange equation for R is simply M𝐑¨=0, which states the center of mass moves in a straight line at constant velocity.

Since the relative motion only depends on the magnitude of the separation, it is ideal to use polar coordinates (r, θ) and take r = |r|, Lrel=12μ(r˙2+r2θ˙2)−V(r), so θ is a cyclic coordinate with the corresponding conserved (angular) momentum pθ=∂Lrel∂θ˙=μr2θ˙=ℓ.

The radial coordinate r and angular velocity dθ/dt can vary with time, but only in such a way that ℓ is constant. The Lagrange equation for r is μrθ˙2−dVdr=μr¨.

This equation is identical to the radial equation obtained using Newton's laws in a co-rotating reference frame, that is, a frame rotating with the reduced mass so it appears stationary. Eliminating the angular velocity dθ/dt from this radial equation,[46] μr¨=−dVdr+ℓ2μr3. which is the equation of motion for a one-dimensional problem in which a particle of mass μ is subjected to the inward central force −dV/dr and a second outward force, called in this context the (Lagrangian) centrifugal force (see centrifugal force#Other uses of the term): Fcf=μrθ˙2=ℓ2μr3.

Of course, if one remains entirely within the one-dimensional formulation, ℓ enters only as some imposed parameter of the external outward force, and its interpretation as angular momentum depends upon the more general two-dimensional problem from which the one-dimensional problem originated.

If one arrives at this equation using Newtonian mechanics in a co-rotating frame, the interpretation is evident as the centrifugal force in that frame due to the rotation of the frame itself. If one arrives at this equation directly by using the generalized coordinates (r, θ) and simply following the Lagrangian formulation without thinking about frames at all, the interpretation is that the centrifugal force is an outgrowth of using polar coordinates. As Hildebrand says:[47]

"Since such quantities are not true physical forces, they are often called inertia forces. Their presence or absence depends, not upon the particular problem at hand, but upon the coordinate system chosen." In particular, if Cartesian coordinates are chosen, the centrifugal force disappears, and the formulation involves only the central force itself, which provides the centripetal force for a curved motion.

This viewpoint, that fictitious forces originate in the choice of coordinates, often is expressed by users of the Lagrangian method. This view arises naturally in the Lagrangian approach, because the frame of reference is (possibly unconsciously) selected by the choice of coordinates. For example, see[48] for a comparison of Lagrangians in an inertial and in a noninertial frame of reference. See also the discussion of "total" and "updated" Lagrangian formulations in.[49] Unfortunately, this usage of "inertial force" conflicts with the Newtonian idea of an inertial force. In the Newtonian view, an inertial force originates in the acceleration of the frame of observation (the fact that it is not an inertial frame of reference), not in the choice of coordinate system. To keep matters clear, it is safest to refer to the Lagrangian inertial forces as generalized inertial forces, to distinguish them from the Newtonian vector inertial forces. That is, one should avoid following Hildebrand when he says (p. 155) "we deal always with generalized forces, velocities accelerations, and momenta. For brevity, the adjective "generalized" will be omitted frequently."

It is known that the Lagrangian of a system is not unique. Within the Lagrangian formalism the Newtonian fictitious forces can be identified by the existence of alternative Lagrangians in which the fictitious forces disappear, sometimes found by exploiting the symmetry of the system.[50]

## Extensions to include non-conservative forces

### Dissipative forces

Dissipation (i.e. non-conservative systems) can also be treated with an effective Lagrangian formulated by a certain doubling of the degrees of freedom.[51][52][53][54]

In a more general formulation, the forces could be both conservative and viscous. If an appropriate transformation can be found from the Fi, Rayleigh suggests using a dissipation function, D, of the following form:[55] D=12∑j=1m∑k=1mCjkq˙jq˙k, where Cjk are constants that are related to the damping coefficients in the physical system, though not necessarily equal to them. If D is defined this way, then[55] Qj=−∂V∂qj−∂D∂q˙j and ddt(∂L∂q˙j)−∂L∂qj+∂D∂q˙j=0.

### Electromagnetism

A test particle is a particle whose mass and charge are assumed to be so small that its effect on external system is insignificant. It is often a hypothetical simplified point particle with no properties other than mass and charge. Real particles like electrons and up quarks are more complex and have additional terms in their Lagrangians. Not only can the fields form non conservative potentials, these potentials can also be velocity dependent.

The Lagrangian for a charged particle with electrical charge q, interacting with an electromagnetic field, is the prototypical example of a velocity-dependent potential. The electric scalar potential ϕ = ϕ(r, t) and magnetic vector potential A = A(r, t) are defined from the electric field E = E(r, t) and magnetic field B = B(r, t) as follows: 𝐄=−∇ϕ−∂𝐀∂t,𝐁=∇×𝐀.

The Lagrangian of a massive charged test particle in an electromagnetic field L=12m𝐫˙2+q𝐫˙⋅𝐀−qϕ, is called minimal coupling. This is a good example of when the common rule of thumb that the Lagrangian is the kinetic energy minus the potential energy is incorrect. Combined with Euler–Lagrange equation, it produces the Lorentz force law m𝐫¨=q𝐄+q𝐫˙×𝐁

Under gauge transformation: 𝐀->𝐀+∇f,ϕ->ϕ−f˙, where f(r,t) is any scalar function of space and time, the aforementioned Lagrangian transforms like: L->L+q(𝐫˙⋅∇+∂∂t)f=L+qdfdt, which still produces the same Lorentz force law.

Note that the canonical momentum (conjugate to position r) is the kinetic momentum plus a contribution from the A field (known as the potential momentum): 𝐩=∂L∂𝐫˙=m𝐫˙+q𝐀.

This relation is also used in the minimal coupling prescription in quantum mechanics and quantum field theory. From this expression, we can see that the canonical momentum p is not gauge invariant, and therefore not a measurable physical quantity; However, if r is cyclic (i.e. Lagrangian is independent of position r), which happens if the ϕ and A fields are uniform, then this canonical momentum p given here is the conserved momentum, while the measurable physical kinetic momentum mv is not.

## Other contexts and formulations

The ideas in Lagrangian mechanics have numerous applications in other areas of physics, and can adopt generalized results from the calculus of variations.

### Alternative formulations of classical mechanics

A closely related formulation of classical mechanics is Hamiltonian mechanics. The Hamiltonian is defined by H=∑i=1nq˙i∂L∂q˙i−L and can be obtained by performing a Legendre transformation on the Lagrangian, which introduces new variables canonically conjugate to the original variables. For example, given a set of generalized coordinates, the variables canonically conjugate are the generalized momenta. This doubles the number of variables, but makes differential equations first order. The Hamiltonian is a particularly ubiquitous quantity in quantum mechanics (see Hamiltonian (quantum mechanics)).

Routhian mechanics is a hybrid formulation of Lagrangian and Hamiltonian mechanics, which is not often used in practice but an efficient formulation for cyclic coordinates.

### Momentum space formulation

The Euler–Lagrange equations can also be formulated in terms of the generalized momenta rather than generalized coordinates. Performing a Legendre transformation on the generalized coordinate Lagrangian L(q, dq/dt, t) obtains the generalized momenta Lagrangian L′(p, dp/dt, t) in terms of the original Lagrangian, as well the EL equations in terms of the generalized momenta. Both Lagrangians contain the same information, and either can be used to solve for the motion of the system. In practice generalized coordinates are more convenient to use and interpret than generalized momenta.

### Alternative Lagrangians

Since Lagrangians that differ by a total time derivative term df(x,t)dt produce the same equations of motion,[56] it is possible to write the traditional one-dimensional Lagrangian, L=T−U, in the equivalent form

La=(T±iU)2

where it is assumed that, everywhere between the fixed endpoints, the kinetic energy is of the form T=a(x)x˙2≥0 and U(x)≥0. For a kinetic energy T=mx˙2/2≥0, the resulting equation of motion is

m2x˙±iU=Aexp⁡[±i2m∫∂U∂xdt]

This equation provides a phasor picture of the energy of the system. The phasor has a magnitude equal to the square root of the total energy, and it rotates between the m2x˙ and U axes at an angle 2m∫∂U∂xdt. Thus the transfer of energy from potential to kinetic is conveyed by rotations of the phasor.[57]

### Alternative Actions

It is possible to show, using Lagrange multiplier techniques[58] and other techniques,[59][60] that many alternative actions may be used to produce the same equations of motion as the traditional action. These alternative actions are typically formulated with the assumption that time averaged values of the total energy are fixed. It is also possible to assume that time-averaged values of the kinetic or potential energies are fixed. For example, consider the actions

ST=∫Tdt+λT[∫(T+U)dt−E¯Δt],

and

SU=∫Udt+λU[∫(T+U)dt−E¯Δt].

The terms in the square brackets represent the constraint that the time-averaged value of T+U over the interval Δt must be E¯. Both actions produce the same equations of motion as each other and as the traditional action for λT=−1/2 and λU=−1/2, which are also the values for which the total energy T+U is at all times equal to the time-averaged energy E¯.

One interesting feature of ST is that its extremal value is a minimum value in the typical case where T=12mx˙2. This is true since the square bracketed constraint term in the action is, by definition, constant, and the second variation of the action will have the form δ2ST=∫mη˙2dt, where η is the variation of the path. Clearly δ2ST≥0 for any η, so the extremal value must be a minimum.[61]

Additionally, one might consider actions consisting of products of time-integrals of energy. For example and product action with a constraint on the time-averaged energy

SP=[∫Tdt][∫Udt]+λP[∫(T+U)dt−E¯Δt]

will produce the same equations of motion as the traditional action, for the appropriate choice of λP. It is also possible to produce the traditional equations of motion for powers of products of time-integrated energies, such as

Snm=[∫Tdt]n[∫Udt]m+λnm[∫(T+U)dt−E¯Δt]

so long as the appropriate value of λnm is chosen.[58]

### Higher derivatives of generalized coordinates

There is no mathematical reason to restrict the derivatives of generalized coordinates to first order only. It is possible to derive modified EL equations for a Lagrangian containing higher order derivatives, see Euler–Lagrange equation for details. However, from the physical point-of-view there is an obstacle to include time derivatives higher than the first order, which is implied by Ostrogradsky's construction of a canonical formalism for nondegenerate higher derivative Lagrangians, see Ostrogradsky instability

### Optics

Main article: Physics:Hamiltonian optics

Lagrangian mechanics can be applied to geometrical optics, by applying variational principles to rays of light in a medium, and solving the EL equations gives the equations of the paths the light rays follow.

### Relativistic formulation

Main article: Relativistic Lagrangian mechanics

Lagrangian mechanics can be formulated in special relativity and general relativity. Some features of Lagrangian mechanics are retained in the relativistic theories but difficulties quickly appear in other respects. In particular, the EL equations take the same form, and the connection between cyclic coordinates and conserved momenta still applies, however the Lagrangian must be modified and is not simply the kinetic minus the potential energy of a particle. Also, it is not straightforward to handle multiparticle systems in a manifestly covariant way, it may be possible if a particular frame of reference is singled out.

### Quantum mechanics

In quantum mechanics, action and quantum-mechanical phase are related via the Planck constant, and the principle of stationary action can be understood in terms of constructive interference of wave functions.

In 1948, Feynman discovered the path integral formulation extending the principle of least action to quantum mechanics for electrons and photons. In this formulation, particles travel every possible path between the initial and final states; the probability of a specific final state is obtained by summing over all possible trajectories leading to it. In the classical regime, the path integral formulation cleanly reproduces Hamilton's principle, and Fermat's principle in optics.

### Classical field theory

In Lagrangian mechanics, the generalized coordinates form a discrete set of variables that define the configuration of a system. In classical field theory, the physical system is not a set of discrete particles, but rather a continuous field ϕ(r, t) defined over a region of 3D space. Associated with the field is a Lagrangian density ℒ(ϕ,∇ϕ,ϕ˙,𝐫,t) defined in terms of the field and its space and time derivatives at a location r and time t. Analogous to the particle case, for non-relativistic applications the Lagrangian density is also the kinetic energy density of the field, minus its potential energy density (this is not true in general, and the Lagrangian density has to be "reverse engineered"). The Lagrangian is then the volume integral of the Lagrangian density over 3D space L(t)=∫ℒd3𝐫 where d3r is a 3D differential volume element. The Lagrangian is a function of time since the Lagrangian density has implicit space dependence via the fields, and may have explicit spatial dependence, but these are removed in the integral, leaving only time in as the variable for the Lagrangian.

### Noether's theorem

The action principle, and the Lagrangian formalism, are tied closely to Noether's theorem, which connects physical conserved quantities to continuous symmetries of a physical system.

If the Lagrangian is invariant under a symmetry, then the resulting equations of motion are also invariant under that symmetry. This characteristic is very helpful in showing that theories are consistent with either special relativity or general relativity.

## See also

* Canonical coordinates
* Fundamental lemma of the calculus of variations
* Functional derivative
* Generalized coordinates
* Hamiltonian mechanics
* Hamiltonian optics
* Inverse problem for Lagrangian mechanics, the general topic of finding a Lagrangian for a system given the equations of motion.
* Lagrangian and Eulerian specification of the flow field
* Lagrangian point
* Lagrangian system
* Non-autonomous mechanics
* Plateau's problem
* Restricted three-body problem

## Footnotes

1. ↑ Sometimes in this context the variational derivative denoted and defined as δδ𝐫k≡∂∂𝐫k−ddt∂∂𝐫˙k is used. Throughout this article only partial and total derivatives are used.
2. ↑ Here the virtual displacements are assumed reversible, it is possible for some systems to have non-reversible virtual displacements that violate this principle, see Udwadia–Kalaba equation.
3. ↑ In other words 𝐂k⋅δ𝐫k=0 for particle k subject to a constraint force, however Ckxδxk≠0,Ckyδyk≠0,Ckzδzk≠0 because of the constraint equations on the rk coordinates.
4. ↑ The Lagrangian also can be written explicitly for a rotating frame. See Padmanabhan, 2000.

## Notes

1. ↑ Fraser, Craig. "J. L. Lagrange's Early Contributions to the Principles and Methods of Mechanics". Archive for History of Exact Sciences, vol. 28, no. 3, 1983, pp. 197–241. JSTOR, http://www.jstor.org/stable/41133689. Accessed 3 Nov. 2023.
2. ↑ Hand & Finch 1998, p. 23
3. ↑ Hand & Finch 1998, pp. 18–20
4. ↑ Hand & Finch 1998, pp. 46, 51
5. ↑ 5.0 5.1 Ball, Philip (2019-09-13). "Teaching Energy Before Forces" (in en). Physics 12 (2): 100. doi:10.1103/PhysRevPhysEducRes.15.020126. Bibcode: 2019PRPER..15b0126L. https://physics.aps.org/articles/v12/100. Retrieved 2024-09-27.
6. ↑ 6.0 6.1 Tatum, J. B.. "Lagrangian mechanics". https://www.astro.uvic.ca/~tatum/classmechs/class13.pdf.
7. ↑ 7.0 7.1 Parsons, Paul; Dixon, Gail (2016) (in en). 50 ideas you really need to know: science. London: Quercus. pp. 4–7. ISBN 978-1-78429-614-8.
8. ↑ Torby 1984, p. 270
9. ↑ 9.0 9.1 9.2 9.3 Torby 1984, p. 269
10. ↑ Cortés, Vicente; Haupt, Alexander S. (2023). "2". Mathematical Methods of Classical Physics. Springer. https://arxiv.org/pdf/1612.03100. Retrieved 2025-06-24.
11. ↑ Hand & Finch 1998, p. 60–61
12. ↑ Penrose 2007
13. ↑ Hand & Finch 1998, p. 19
14. ↑ Cremaschini, Claudio; Tessarotto, Massimo (2015-06-30). "Synchronous Lagrangian variational principles in General Relativity" (in en). The European Physical Journal Plus 130 (6): 123. doi:10.1140/epjp/i2015-15123-4. ISSN 2190-5444. Bibcode: 2015EPJP..130..123C. https://link.springer.com/article/10.1140/epjp/i2015-15123-4.
15. ↑ Bersani AM, Caressa P. Lagrangian descriptions of dissipative systems: a review. Mathematics and Mechanics of Solids. 2021;26(6):785-803. Doi: 10.1177/1081286520971834
16. ↑ Hand & Finch 1998, p. 36–40
17. ↑ Pfeiffer, Friedrich (2008), "Constraint Systems", in Pfeiffer, Friedrich (in en), Mechanical System Dynamics, Lecture Notes in Applied and Computational Mechanics, 40, Berlin, Heidelberg: Springer, pp. 85–186, doi:10.1007/978-3-540-79436-3_3, ISBN 978-3-540-79436-3, https://link.springer.com/chapter/10.1007/978-3-540-79436-3_3, retrieved 2024-09-23
18. ↑ Kay 1988, p. 156
19. ↑ Synge & Schild 1949, p. 150–152
20. ↑ Foster & Nightingale 1995, p. 89
21. ↑ Hand & Finch 1998, p. 4
22. ↑ Goldstein 1980, pp. 16–18
23. ↑ 23.0 23.1 Hand & Finch 1998, p. 15
24. ↑ Fetter & Walecka 1980, p. 53
25. ↑ Kibble & Berkshire 2004, p. 234
26. ↑ Fetter & Walecka 1980, p. 56
27. ↑ Hand & Finch 1998, p. 17
28. ↑ Hand & Finch 1998, p. 15–17
29. ↑ R. Penrose (2007). The Road to Reality. Vintage books. p. 474. ISBN 978-0-679-77631-4.
30. ↑ Goldstein 1980, p. 23
31. ↑ Kibble & Berkshire 2004, p. 234–235
32. ↑ Hand & Finch 1998, p. 51
33. ↑ Hanc, Jozef; Taylor, Edwin F.; Tuleja, Slavomir (2005-07-01). "Variational mechanics in one and two dimensions" (in en). American Journal of Physics 73 (7): 603–610. doi:10.1119/1.1848516. ISSN 0002-9505. Bibcode: 2005AmJPh..73..603H. https://pubs.aip.org/ajp/article/73/7/603/1056166/Variational-mechanics-in-one-and-two-dimensions.
34. ↑ 34.0 34.1 Hand & Finch 1998, p. 44–45
35. ↑ Goldstein 1980
36. ↑ Fetter & Walecka 1980, pp. 68–70
37. ↑ 37.0 37.1 Landau & Lifshitz 1976, p. 4
38. ↑ Goldstein, Poole & Safko 2002, p. 21
39. ↑ Landau & Lifshitz 1976, p. 4
40. ↑ Goldstein 1980, p. 21
41. ↑ Landau & Lifshitz 1976, p. 14
42. ↑ Landau & Lifshitz 1976, p. 22
43. ↑ Rothe, Heinz J; Rothe, Klaus D (2010) (in en). Classical and Quantum Dynamics of Constrained Hamiltonian Systems. World Scientific Lecture Notes in Physics. 81. WORLD SCIENTIFIC. p. 7. doi:10.1142/7689. ISBN 978-981-4299-64-0. Bibcode: 2010cqdc.book.....R. https://www.worldscientific.com/worldscibooks/10.1142/7689.
44. ↑ Taylor 2005, p. 297
45. ↑ Padmanabhan 2000, p. 48
46. ↑ Hand & Finch 1998, pp. 140–141
47. ↑ Hildebrand 1992, p. 156
48. ↑ Zak, Zbilut & Meyers 1997, pp. 202
49. ↑ Shabana 2008, pp. 118–119
50. ↑ Gannon 2006, p. 267
51. ↑ Kosyakov 2007
52. ↑ Galley 2013
53. ↑ Birnholtz, Hadar & Kol 2014
54. ↑ Birnholtz, Hadar & Kol 2013
55. ↑ 55.0 55.1 Torby 1984, p. 271
56. ↑ Saletan, Eugene J.; José, Jorge V., eds. (1998), "Lagrangian Formulation of Mechanics", Classical Dynamics: A Contemporary Approach, Cambridge: Cambridge University Press, pp. 48–107, doi:10.1017/CBO9780511803772.003, ISBN 978-0-521-63636-0
57. ↑ Zengel, Keith (2026). "An Alternative Lagrangian Approach". Am. J. Phys 94: 248-252. doi:10.1119/5.0307168.
58. ↑ 58.0 58.1 Zengel, Keith (2024). "Why the action?". Am. J. Phys. 92: 885-888. doi:10.1119/5.0199741.
59. ↑ Gray, G.G.; Karl, G.; Novikov, V.A. (1996). "The Four Variational Principles of Mechanics". Annals of Physics 251: 1-25. doi:10.1006/aphy.1996.0104.
60. ↑ Gray, C. G.; Karl, G.; Novikov, V. A. (2004). "KarlProgress in classical and quantum variational principles". Rep. Prog. Phys. 67: 159-208. doi:10.1088/0034-4885/67/2/R02.
61. ↑ Gelfand, I. M.; Fomin, S. V. (1963). Calculus of Variations. Englewood Cliffs, N.J.: Prentice-Hall. pp. 42-43 and 100-101.

## References

* Lagrange, J. L. (1811). Mécanique analytique. 1. https://books.google.com/books?id=Q8MKAAAAYAAJ.
* Lagrange, J. L. (1815). Mécanique analytique. 2. https://books.google.com/books?id=TmMSAAAAIAAJ.
* Penrose, Roger (2007). The Road to Reality. Vintage books. ISBN 978-0-679-77631-4.
* Landau, L. D.; Lifshitz, E. M. (15 January 1976). Mechanics (3rd ed.). Butterworth Heinemann. p. 134. ISBN 978-0-7506-2896-9.
* Landau, Lev; Lifshitz, Evgeny (1975). The Classical Theory of Fields. Elsevier Ltd.. ISBN 978-0-7506-2768-9.
* Hand, L. N.; Finch, J. D. (1998). Analytical Mechanics (2nd ed.). Cambridge University Press. ISBN 978-0-521-57572-0. https://books.google.com/books?id=1J2hzvX2Xh8C&pg=PA141.
* Saletan, E. J.; José, J. V. (1998). Classical Dynamics: A Contemporary Approach. Cambridge University Press. ISBN 978-0-521-63636-0. https://books.google.com/books?id=Eql9dRQDgvQC&pg=PA129.
* Kibble, T. W. B.; Berkshire, F. H. (2004). Classical Mechanics (5th ed.). Imperial College Press. p. 236. ISBN 978-1-86094-435-2.
* Goldstein, Herbert (1980). Classical Mechanics (2nd ed.). San Francisco, CA: Addison Wesley. ISBN 0-201-02918-9.
* Goldstein, Herbert; Poole, Charles P. Jr.; Safko, John L. (2002). Classical Mechanics (3rd ed.). San Francisco, CA: Addison Wesley. ISBN 0-201-65702-3. https://archive.org/details/classicalmechani00gold.
* Lanczos, Cornelius (1986). "II §5 Auxiliary conditions: the Lagrangian λ-method". The variational principles of mechanics (Reprint of University of Toronto 1970 4th ed.). Courier Dover. p. 43. ISBN 0-486-65067-7. https://books.google.com/books?id=ZWoYYr8wk2IC&pg=PA43.
* Fetter, A. L.; Walecka, J. D. (1980). Theoretical Mechanics of Particles and Continua. Dover. pp. 53–57. ISBN 978-0-486-43261-8. https://books.google.com/books?id=n54oAwAAQBAJ.
* The Principle of Least Action, R. Feynman
* Dvorak, R.; Freistetter, Florian (2005). "§ 3.2 Lagrange equations of the first kind". Chaos and stability in planetary systems. Birkhäuser. p. 24. ISBN 3-540-28208-4. https://books.google.com/books?id=shYNuW0B0fsC&pg=PA24.
* Haken, H (2006). Information and self-organization (3rd ed.). Springer. p. 61. ISBN 3-540-33021-6. https://books.google.com/books?id=tAfj4-xzyGwC&pg=PA61.
* Henry Zatzkis (1960). "§1.4 Lagrange equations of the second kind". in DH Menzel. Fundamental formulas of physics. 1 (2nd ed.). Courier Dover. p. 160. ISBN 0-486-60595-7. https://books.google.com/books?id=QgswE2BicW4C&pg=PA160.
* Hildebrand, Francis Begnaud (1992). Methods of applied mathematics (Reprint of Prentice-Hall 1965 2nd ed.). Courier Dover. p. 156. ISBN 0-486-67002-3. https://books.google.com/books?id=17EZkWPz_eQC&pg=PA156.
* Zak, Michail; Zbilut, Joseph P.; Meyers, Ronald E. (1997). From instability to intelligence. Springer. p. 202. ISBN 3-540-63055-4. https://books.google.com/books?id=tHdDL0GCA70C&pg=PA202.
* Shabana, Ahmed A. (2008). Computational continuum mechanics. Cambridge University Press. pp. 118–119. ISBN 978-0-521-88569-0. https://books.google.com/books?id=RJbPQPrS6VsC&pg=PA118.
* Taylor, John Robert (2005). Classical mechanics. University Science Books. p. 297. ISBN 1-891389-22-X. https://books.google.com/books?id=P1kCtNr-pJsC&pg=PA297.
* Padmanabhan, Thanu (2000). "§2.3.2 Motion in a rotating frame". Theoretical Astrophysics: Astrophysical processes (3rd ed.). Cambridge University Press. p. 48. ISBN 0-521-56632-0. https://books.google.com/books?id=ZzJicsTIrAAC&pg=PA48.
* Doughty, Noel A. (1990). Lagrangian Interaction. Addison-Wesley Publishers Ltd.. ISBN 0-201-41625-5.
* Kosyakov, B. P. (2007). Introduction to the classical theory of particles and fields. Berlin, Germany: Springer. doi:10.1007/978-3-540-40934-2. ISBN 978-3-540-40933-5. https://cds.cern.ch/record/1338975.
* Galley, Chad R. (2013). "Classical Mechanics of Nonconservative Systems". Physical Review Letters 110 (17). doi:10.1103/PhysRevLett.110.174301. PMID 23679733. Bibcode: 2013PhRvL.110q4301G.
* Birnholtz, Ofek; Hadar, Shahar; Kol, Barak (2014). "Radiation reaction at the level of the action". International Journal of Modern Physics A 29 (24): 1450132–1450190. doi:10.1142/S0217751X14501322. Bibcode: 2014IJMPA..2950132B.
* Birnholtz, Ofek; Hadar, Shahar; Kol, Barak (2013). "Theory of post-Newtonian radiation and reaction". Physical Review D 88 (10). doi:10.1103/PhysRevD.88.104037. Bibcode: 2013PhRvD..88j4037B.
* Roger F Gans (2013). Engineering Dynamics: From the Lagrangian to Simulation. New York: Springer. ISBN 978-1-4614-3929-5. https://www.amazon.com/gp/product/1461439299/ref=olp_product_details?ie=UTF8&me=&seller=.
* Gannon, Terry (2006). Moonshine beyond the monster: the bridge connecting algebra, modular forms and physics. Cambridge University Press. p. 267. ISBN 0-521-83531-3. https://books.google.com/books?id=ehrUt21SnsoC&pg=RA3-PA267.
* Torby, Bruce (1984). "Energy Methods". Advanced Dynamics for Engineers. HRW Series in Mechanical Engineering. United States of America: CBS College Publishing. ISBN 0-03-063366-4.
* Foster, J; Nightingale, J.D. (1995). A Short Course in General Relativity (2nd ed.). Springer. ISBN 0-03-063366-4.
* M. P. Hobson; G. P. Efstathiou; A. N. Lasenby (2006). General Relativity: An Introduction for Physicists. Cambridge University Press. pp. 79–80. ISBN 978-0-521-82951-9. https://books.google.com/books?id=xma1QuTJphYC&q=hobson+general+relativity+gravitomagnetic+field&pg=PA496.
* Synge, J.L.; Schild, A. (1949). Tensor Calculus. first Dover Publications 1978 edition. ISBN 978-0-486-63612-2. https://archive.org/details/tensorcalculus00syng.
* Kay, David (April 1988) (in en). Schaum's Outline of Tensor Calculus. McGraw Hill Professional. ISBN 978-0-07-033484-7. https://books.google.com/books?id=6tUU3KruG14C.

## Further reading

* Gupta, Kiran Chandra, Classical mechanics of particles and rigid bodies (Wiley, 1988).
* Cassel, Kevin (2013). Variational methods with applications in science and engineering. Cambridge: Cambridge University Press. ISBN 978-1-107-02258-4.
* Goldstein, Herbert, et al. Classical Mechanics. 3rd ed., Pearson, 2002.

## External links

* David Tong. "Cambridge Lecture Notes on Classical Dynamics". http://www.damtp.cam.ac.uk/user/tong/dynamics.html.
* Principle of least action interactive Excellent interactive explanation/webpage
* Joseph Louis de Lagrange - Œuvres complètes (Gallica-Math)
* Constrained motion and generalized coordinates, page 4

Template:Joseph-Louis Lagrange

* v
* t
* e

Industrial and applied mathematics

Computational|

* Computational logic
* Algorithms
* design
* analysis
* Information theory
* Coding theory
* Cryptography

Discrete|

* Computer algebra
* Computational number theory
* Combinatorics
* Graph theory
* Discrete geometry

Mathematical
physics|

| Algebraic|

* Operator algebra
* Representation theory
* Renormalization group
* Feynman integral
* M-theory

|

Analytic|

* Differential geometry
* Fourier analysis
* Harmonic analysis
* Functional analysis
* Operator theory

Analysis|

* Approximation theory
* Numerical analysis
* Differential equations
* Dynamical systems
* Control theory
* Variational calculus

Probability theory|

* Distributions (random variables)
* Stochastic processes / analysis
* Path integral
* Stochastic variational calculus

Decision sciences|

* Statistics
* Operations research
* Optimization
* Game theory
* Mathematical economics
* Mathematical finance

Other applications|

* Biology
* Chemistry
* Psychology
* Sociology
* "The Unreasonable Effectiveness of Mathematics in the Natural Sciences"

* Category
* Mathematics portal / outline / topics list

* v
* t
* e

Branches of physics

Divisions|

* Theoretical
* Phenomenology
* Computational
* Experimental
* Applied

Classical|

| Classical mechanics|

* Continuum
* Solid
* Fluid
* Acoustics

|

Electrodynamics|

* Electrostatics
* Magnetostatics
* Plasma physics
* Accelerator physics

Statistical mechanics|

* Thermodynamics
* Condensed matter
* Materials
* Mesoscopic
* Polymers
* Soft
* Solid-state

Modern|

| Quantum mechanics|

* Quantum electrodynamics
* Quantum field theory
* Quantum gravity
* Quantum information

|

Relativity|

* General
* Special

Particle physics|

* Astroparticle
* Nuclear
* Quantum chromodynamics

Atomic, molecular
and optical physics|

* Atomic physics
* Molecular physics
* Optics
* Photonics
* Quantum optics

Cosmology|

* Astrophysics
* Nuclear
* Celestial mechanics
* Solar
* Heliophysics
* Space physics

Interdisciplinary|

* Biophysics
* Agrophysics
* Medical
* Neurophysics
* Engineering
* Geophysics
* Atmospheric
* Cloud
* Materials science
* Mathematical physics
* Physical chemistry
* Chemical physics
* Physical oceanography
* Quantum computing
* Social physics
* Econophysics

See also|

* History of physics
* Nobel Prize in Physics
* Timeline of physics discoveries
* Theory of everything

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Lagrangian mechanics. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Lagrangian_mechanics&oldid=4550778"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template