Classical MechanicsBSc · Notes

1. From forces to a scalar description

In the pendulum calculation of Unit 1, the tension disappeared when Newton's equation was projected onto the allowed tangent direction. That was useful, but we still had to differentiate Cartesian coordinates twice and project the resulting acceleration. For a system with several moving parts, this is much of the work.

Lagrangian mechanics organizes the same dynamics through kinetic and potential energy. Both are scalars: they can be calculated without resolving every force into components. The geometry has already been incorporated in the transformations ra(q1,…,qn,t)\mathbf r_a(q_1,\ldots,q_n,t). The method then gives one equation for each independent coordinate.

The underlying assumptions in this unit are constant particle masses, an inertial frame for calculating physical kinetic energy, and ideal holonomic constraints incorporated in independent generalized coordinates. Non-ideal forces will be retained explicitly. These qualifications matter: eliminating a coordinate through a non-integrable rolling condition is not generally a valid substitution into the formulas below.

2. Kinetic energy, potential energy, and the Lagrangian

For particles labeled by aa, kinetic energy is

T=12∑amar˙a⋅r˙a.T=\frac12\sum_a m_a\dot{\mathbf r}_a\cdot\dot{\mathbf r}_a.(7.1)

It measures energy associated with motion in the chosen inertial frame. Use the transformation equations to express every velocity in terms of qi,q˙i,tq_i,\dot q_i,t before constructing the Lagrangian.

A conservative applied force can be represented by a potential: Fa(c)=−∇aV\mathbf F_a^{(c)}=-\nabla_a V. Its work is the negative change in potential energy when the potential has no explicit time dependence. The zero of VV is arbitrary. For gravity near Earth's surface with upward coordinate yy, V=mgyV=mgy because −∂V/∂y=−mg-\partial V/\partial y=-mg.

Definition. For an ordinary mechanical system with a velocity-independent potential, the Lagrangian is

L(q,q˙,t)=T(q,q˙,t)−V(q,t).\boxed{L(q,\dot q,t)=T(q,\dot q,t)-V(q,t).}(7.2)

LL has units of energy, but it is not the stored mechanical energy; that is T+VT+V. The subtraction has a dynamical purpose. Differentiating −V-V gives the applied conservative force, while derivatives of TT produce the inertial terms, including the geometrical terms introduced by curved coordinates. The usefulness of LL lies in those derivatives, not in assigning a separate substance to “kinetic energy minus potential energy.”

A coordinate qiq_i may be a distance or an angle. Its generalized velocity is q˙i=dqi/dt\dot q_i=dq_i/dt. In partial derivatives of LL, treat qiq_i and q˙i\dot q_i as independent arguments; only after differentiating do they follow a particular time-dependent motion. For example,

L=12mr2θ˙2−V(r),∂L∂r=mrθ˙2−V′(r),∂L∂θ˙=mr2θ˙.L=\frac12mr^2\dot\theta^2-V(r),\qquad \frac{\partial L}{\partial r}=mr\dot\theta^2-V'(r),\qquad \frac{\partial L}{\partial\dot\theta}=mr^2\dot\theta.(7.3)

The latter still depends on time through both r(t)r(t) and θ˙(t)\dot\theta(t).

3. Lagrange's equations

For conservative applied forces already included in VV,

ddt(∂L∂q˙i)−∂L∂qi=0,i=1,…,n.\boxed{\frac{d}{dt}\left(\frac{\partial L}{\partial\dot q_i}\right)-\frac{\partial L}{\partial q_i}=0,\qquad i=1,\ldots,n.}(7.4)

This is a system of nn second-order differential equations when the velocity dependence is regular. Position and velocity initial data supply the 2n2n constants needed to select a motion. “Conservative form” here means no remaining generalized force on the right; prescribed moving constraints or explicit time dependence can still exchange energy with the system.

If forces remain outside VV, define their generalized components by virtual work:

δWrem=∑iQiδqi,Qi=∑aFarem⋅∂ra∂qi.\delta W_{\rm rem}=\sum_i Q_i\delta q_i,\qquad Q_i=\sum_a\mathbf F_a^{\rm rem}\cdot\frac{\partial\mathbf r_a}{\partial q_i}.(7.5)

Then

ddt(∂L∂q˙i)−∂L∂qi=Qi.\boxed{\frac{d}{dt}\left(\frac{\partial L}{\partial\dot q_i}\right)-\frac{\partial L}{\partial q_i}=Q_i.}(7.6)

Here and throughout Units 2–3, QiQ_i denotes only the forces not already represented in LL. Including gravity in VV and again on the right would count it twice. QiδqiQ_i\delta q_i is work, so QiQ_i has dimensions of energy divided by the dimensions of qiq_i. For an angle it is a torque.

The syllabus requires the equations and their applications, not their full derivation. An optional derivation is provided separately. The proofs of conservation laws and kinetic-energy properties later in this unit remain part of the prescribed development.

4. Reading the three operations

For each coordinate, the three operations are: take a partial derivative with respect to its velocity, take the total time derivative of that result, and subtract the partial derivative with respect to the coordinate. They cannot be interchanged.

For ∂L/∂θ˙=mr2θ˙\partial L/\partial\dot\theta=mr^2\dot\theta, the product rule gives

ddt(mr2θ˙)=2mrr˙θ˙+mr2θ¨.\frac{d}{dt}(mr^2\dot\theta)=2mr\dot r\dot\theta+mr^2\ddot\theta.(7.7)

Writing only mr2θ¨mr^2\ddot\theta silently assumes rr is fixed. Equally, a coordinate absent from LL can have its velocity present: this will be the source of a conservation law, not a reason to discard its equation.

A systematic calculation begins with a coordinate convention and a sketch. Express TT and VV in those coordinates, form LL, apply the equation to each coordinate, and inspect dimensions and limiting cases. Reactions can be recovered afterward from Newton's law if the problem asks for them.

5. Applications

Example 1 · Free motion in Cartesian coordinates

A particle of mass mm moves in a plane without applied force. Choose q1=x,q2=yq_1=x,q_2=y. Then T=m(x˙2+y˙2)/2T=m(\dot x^2+\dot y^2)/2, V=0V=0, and L=TL=T.

The xx derivatives are ∂L/∂x˙=mx˙\partial L/\partial\dot x=m\dot x and ∂L/∂x=0\partial L/\partial x=0, so mx¨=0m\ddot x=0. The yy equation similarly gives my¨=0m\ddot y=0. Integrating once gives constant velocities vx0,vy0v_{x0},v_{y0}; integrating again gives

x=x0+vx0t,y=y0+vy0t.x=x_0+v_{x0}t,\qquad y=y_0+v_{y0}t.(7.8)

A straight line at constant speed emerges from the scalar kinetic energy. The freedom to choose x0,y0x_0,y_0 and the two velocities reflects the four initial data for two degrees of freedom.

Example 2 · Motion in a uniform gravitational field

Use upward yy and horizontal xx. With V=mgyV=mgy,

L=12m(x˙2+y˙2)−mgy.L=\frac12m(\dot x^2+\dot y^2)-mgy.(7.9)

For xx, mx¨=0m\ddot x=0. For yy, ∂L/∂y=−mg\partial L/\partial y=-mg and d(∂L/∂y˙)/dt=my¨d(\partial L/\partial\dot y)/dt=m\ddot y, so my¨+mg=0m\ddot y+mg=0. Therefore

x=x0+vx0t,y=y0+vy0t−12gt2.x=x_0+v_{x0}t,\qquad y=y_0+v_{y0}t-\frac12gt^2.(7.10)

If vy0=9.8 m s−1v_{y0}=9.8\,\mathrm{m\,s^{-1}}, the highest point occurs when y˙=vy0−gt=0\dot y=v_{y0}-gt=0: t=1 st=1\,\mathrm s. The rise is 9.8−4.9=4.9 m9.8-4.9=4.9\,\mathrm m. Mass cancels because inertial and gravitational masses have been identified in the model.

Example 3 · The planar pendulum

A bob of mass mm is attached to a fixed pivot by a massless rod of length aa. Let θ\theta be measured from the downward vertical. The transformations are x=asin⁡θx=a\sin\theta, y=−acos⁡θy=-a\cos\theta. Squaring x˙=acos⁡θθ˙\dot x=a\cos\theta\dot\theta and y˙=asin⁡θθ˙\dot y=a\sin\theta\dot\theta and adding gives v2=a2θ˙2v^2=a^2\dot\theta^2.

Choose the lowest point as zero potential:

T=12ma2θ˙2,V=mga(1−cos⁡θ),L=12ma2θ˙2−mga(1−cos⁡θ).T=\frac12ma^2\dot\theta^2,\quad V=mga(1-\cos\theta),\quad L=\frac12ma^2\dot\theta^2-mga(1-\cos\theta).(7.11)

Now ∂L/∂θ˙=ma2θ˙\partial L/\partial\dot\theta=ma^2\dot\theta and ∂L/∂θ=−mgasin⁡θ\partial L/\partial\theta=-mga\sin\theta. Thus

ma2θ¨+mgasin⁡θ=0,θ¨+gasin⁡θ=0.ma^2\ddot\theta+mga\sin\theta=0,\qquad \boxed{\ddot\theta+\frac ga\sin\theta=0.}(7.12)

For positive small θ\theta, acceleration is negative: gravity restores the bob toward the lowest point. Replacing sin⁡θ\sin\theta by θ\theta requires small angles in radians. It gives ω=g/a\omega=\sqrt{g/a} and period 2πa/g2\pi\sqrt{a/g}, not the exact period at arbitrary amplitude. The rod reaction never entered LL because it performs no virtual work.

Example 4 · The Atwood machine

Two masses m1,m2m_1,m_2 share a taut, massless string over an ideal fixed pulley. Choose qq downward for m1m_1; then the downward coordinate of m2m_2 is b−qb-q. Their speeds have equal magnitude ∣q˙∣|\dot q|.

T=12(m1+m2)q˙2,V=−m1gq−m2g(b−q)=−(m1−m2)gq+constant.T=\frac12(m_1+m_2)\dot q^2,\quad V=-m_1gq-m_2g(b-q)=-(m_1-m_2)gq+\text{constant}.(7.13)

Dropping the constant,

L=12(m1+m2)q˙2+(m1−m2)gq.L=\frac12(m_1+m_2)\dot q^2+(m_1-m_2)gq.(7.14)

Lagrange's equation gives (m1+m2)q¨−(m1−m2)g=0(m_1+m_2)\ddot q-(m_1-m_2)g=0. Hence

q¨=m1−m2m1+m2g.\ddot q=\frac{m_1-m_2}{m_1+m_2}g.(7.15)

For m1=4 kgm_1=4\,\mathrm{kg} and m2=1 kgm_2=1\,\mathrm{kg}, q¨=0.6g=5.88 m s−2\ddot q=0.6g=5.88\,\mathrm{m\,s^{-2}}. The heavier mass accelerates downward. If the pulley has appreciable rotational inertia or the string stretches, this kinetic energy is incomplete; changing the physical model requires changing TT and possibly the number of coordinates.

6. Newtonian and Lagrangian descriptions

Question Newtonian method Lagrangian method
Primary input Forces and acceleration Kinetic energy, potential, remaining generalized forces
Constraint handling Reactions and constraint equations, or projections Independent coordinates incorporating ideal holonomic constraints
Unknown reactions Often solved directly Usually eliminated; recover afterward if needed
Curved coordinates Resolve acceleration including changing basis vectors Geometry enters the kinetic energy
Physical predictions Same for the same model Same for the same model

The method is most economical when geometry makes the reactions awkward but the energies simple. For a free particle, Newton's equation may be shorter. A formalism is a way of organizing mechanics, not a different force law.

7. Results and physical interpretation

The minus sign in L=T−VL=T-V gives the correct conservative force sign. Independent coordinates reduce the number of equations; they do not remove the effects of geometry. Before treating a result as physical, check coordinate conventions, excluded forces, and whether the constraints are still satisfied. For a string pendulum, for example, a computed negative tension signals failure of the taut-string model.

Exercises

Hints and solutions are collected separately.

  1. 7.1 Why is the Lagrangian not the total mechanical energy?

  2. 7.2 If qq is an angle, what are the dimensions of QqQ_q and pqp_q?

  3. 7.3 For L=12m(q)q˙2−V(q)L=\tfrac12m(q)\dot q^2-V(q), find the equation of motion.

  4. 7.4 For upward vertical coordinate yy, construct LL for a freely falling mass and find its acceleration.

  5. 7.5 A pendulum of length 0.98 m0.98\,\mathrm m makes small oscillations. Find its period for g=9.8 m s−2g=9.8\,\mathrm{m\,s^{-2}}.

  6. 7.6 Find the acceleration of an ideal Atwood machine with masses 55 and 3 kg3\,\mathrm{kg}.

  7. 7.7 Construct the polar Lagrangian for a free particle and obtain both equations of motion.

  8. 7.8 Why does adding a constant to VV leave the motion unchanged?

  9. 7.9 A mass slides without friction on y=cx2y=cx^2 under gravity. Construct LL using xx and find its equation.

  10. 7.10 Explain, using a pendulum, what information is eliminated and what is retained by using generalized coordinates.

  11. 7.11 If gravity is included in VV, should Qy=−mgQ_y=-mg also be used?

  12. 7.12 For a string pendulum, why can a correct angular equation still cease to describe the motion?

Reading progress is saved on this device.

Search the notes

Search all four units and the course references.