Physics · Intermediate

The Lagrangian versus the Newtonian approach to classical mechanics

Written by SignalsLab

Early edition: these lessons are being reviewed.

Content

Summary

Classical mechanics contrasts the vectorial Newtonian approach, which explicitly tracks forces and momentum, with the scalar Lagrangian approach, which derives equations of motion from energy functions. The Lagrangian method utilizes generalized coordinates to elegantly handle constraints and non-conservative forces, often simplifying complex mechanical systems.

Intuition

Think of the Newtonian approach as a detailed accounting of every push and pull, requiring you to identify every force, including hidden constraint forces that keep objects on their paths. The Lagrangian approach is like looking at the system's energy budget; by focusing on kinetic and potential energy, it bypasses the need to calculate those tricky constraint forces entirely. This scalar perspective allows you to choose the most convenient variables (generalized coordinates) for the problem, turning a complex vector problem into a simpler energy minimization problem.

Key equations

ℒ=T−U
(1)

The Lagrangian function is the difference between kinetic energy T and potential energy U.

ddt(∂ℒ∂q˙i)−∂ℒ∂qi=Qiexc
(2)

The Euler-Lagrange equation for independent generalized coordinates, where Q_exc represents non-conservative or excluded constraint forces.

S=N−M
(3)

The number of independent generalized coordinates S, derived from N total coordinates and M constraints.

U=qΦ−q𝐯⋅𝐀
(4)

The velocity-dependent potential for the Lorentz force, involving scalar electric potential Phi and vector potential A.

Derivation

  1. Start with d'Alembert's Principle, which transforms the principle of virtual work from statics into dynamics.
  2. Apply this principle to a system with N coordinates and M constraints.
  3. Reduce the system to S = N - M independent generalized coordinates q_i to eliminate constraint forces.
  4. Define the Lagrangian function as the scalar difference between kinetic energy T and potential energy U.
  5. Minimize the time integral of the Lagrangian (action) to derive the Euler-Lagrange equations.
  6. Add generalized forces Q_exc to the right-hand side to account for non-conservative forces or non-holonomic constraints.

Worked example

Problem

Consider a particle subject to the electromagnetic Lorentz force. How is this velocity-dependent force incorporated into the standard Lagrangian framework which typically assumes conservative forces?

  1. Identify that the Lorentz force is velocity-dependent and typically non-conservative.
  2. Recognize that it can be derived from a specific velocity-dependent potential U.
  3. Define the potential as U=qΦ−q𝐯⋅𝐀, where Φ is the scalar electric potential and 𝐀 is the vector potential.
  4. Substitute this U into the Lagrangian definition ℒ=T−U.
  5. Apply the Euler-Lagrange equation to derive the equations of motion including the Lorentz force.

Answer The Lorentz force is incorporated by using a velocity-dependent potential U=qΦ−q𝐯⋅𝐀 within the Lagrangian ℒ=T−U, allowing the standard Euler-Lagrange equations to yield the correct dynamics.

Common mistakes

  • Assuming the Lagrangian approach cannot handle non-conservative forces; it can via the generalized force term Q_exc.
  • Forgetting that constraint forces are eliminated in the minimal coordinate approach but can be recovered using Lagrange multipliers.
  • Confusing the scalar nature of the Lagrangian with a lack of directional information; direction is derived from the principle of least action.
  • Attempting to calculate constraint forces explicitly in Newtonian mechanics for complex systems, leading to circular dependencies.

Animation

Animation coming soon

The animated version of this lesson is being prepared for the web. In the Signals AI app, lessons are drawn step by step.

Code

This is a text lesson: it has no animation code yet.

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.