# Potential energy requirements for the Lagrangian to work

It's clear to me that in acquiring the equations of motion using the Euler-Lagrange equations and the Lagrangian, defined as $$L \equiv T - V,$$ the potential energy may have a time dependence if the generalized coordinates depend on the regular coordinates and time. It's not clear to me whether or not the potential energy is allowed to depend on time even if we're using regular coordinates, i.e., it's not clear whether or not a potential energy of the form $$V = V\left(\mathbf{r}_1, \dots, \mathbf{r}_N, t\right)$$ can be used to arrive at the equations of motion the "normal way". Can such a potential energy be used? More generally, what kind of potential energies are allowed?

• With a time-dependent $V$, Lagrangian formalism still works fine, and it still gives the equations of motion in the usual way, but there is no conserved energy (if "energy" is defined as usual via Noether's theorem). Intuitively, if $V$ depends on time (other than via the coordinates $\mathbf{r}_n$), then the laws of physics (aka equations of motion) don't have time-translation symmetry. That ruins the conservation of energy. (Posting this as a comment because it doesn't answer the question "what kind of potential energies are allowed?") – Chiral Anomaly Apr 8 at 0:46
• @ChiralAnomaly, think a massive charged particle in a time-varying EM field. No conservation of mechanical energy, of course, but still a physical setup. – kkm Apr 8 at 2:23
• @kkm Good example. The important distinction is between time-dependence that enters only via the dynamic variables (the things governed by the equations of motion [EOMs], such as the $\mathbf{r}_n$ in the OP's example) versus time-dependence that enters via non-dynamic structures (the things that define the EOMs, such as the background EM field in your example). One model's background field can be another model's dynamic field, like the metric field in special relativity (background) versus general relativity (dynamic, unless considering test-particle motion in a given curved metric). – Chiral Anomaly Apr 8 at 13:05

1. Within Lagrangian point mechanics, a local Lagrangian $$L(q,\dot{q}, \ddot{q}, \ldots;t)$$ could in principle be higher-order, but often it is assumed to only depend on generalized positions $$q$$, generalized velocities $$\dot{q}$$, and time $$t$$, cf. e.g. this & this Phys.SE posts.
2. The Lagrangian $$L$$ does not need to be of the form of kinetic energy minus potential energy $$T-U$$, cf. e.g. this Phys.SE post.
3. A generalized potential $$U(q,\dot{q},t)$$ could in principle depend on all variables. Think e.g. of a charged point particle in a time-dependent E&M background, cf. above comment by user kkm.