2.1.3Analytical Mechanics

Kinetic energy in generalized coordinates

1,819 words8 min readdifficulty · medium1 backlinks

WHAT we are computing

The total kinetic energy is always T=a12mar˙ar˙a.T = \sum_a \tfrac12 m_a\, \dot{\mathbf r}_a \cdot \dot{\mathbf r}_a. Our job: turn the r˙a\dot{\mathbf r}_a into the q˙i\dot q_i.


HOW: derive from first principles

Step 1 — Differentiate the position map (chain rule). Because ra=ra(q,t)\mathbf r_a = \mathbf r_a(q,t), the total time derivative is r˙a=i=1nraqiq˙i  +  rat.\dot{\mathbf r}_a = \sum_{i=1}^{n}\frac{\partial \mathbf r_a}{\partial q_i}\,\dot q_i \;+\; \frac{\partial \mathbf r_a}{\partial t}.

Why this step? The chain rule says each velocity component is "how position changes per coordinate" ×\times "how fast that coordinate changes", summed, plus the explicit clock term tra\partial_t \mathbf r_a from moving constraints.

Step 2 — Substitute into TT. T=a12ma(iraqiq˙i+rat)(jraqjq˙j+rat).T = \sum_a \tfrac12 m_a\left(\sum_i \frac{\partial \mathbf r_a}{\partial q_i}\dot q_i + \frac{\partial \mathbf r_a}{\partial t}\right)\cdot\left(\sum_j \frac{\partial \mathbf r_a}{\partial q_j}\dot q_j + \frac{\partial \mathbf r_a}{\partial t}\right).

Why this step? We literally plug the dot product into the same expression and expand. The square of a sum gives three kinds of terms: q˙q˙\dot q\,\dot q, q˙×(t)\dot q\times(\partial_t), and (t)×(t)(\partial_t)\times(\partial_t).

Step 3 — Collect by powers of velocity. Expanding the product: T=T2+T1+T0\boxed{T = T_2 + T_1 + T_0} where

T2=12i,jMij(q,t)q˙iq˙j,Mij=amaraqiraqjT_2 = \tfrac12\sum_{i,j} M_{ij}(q,t)\,\dot q_i\dot q_j,\qquad M_{ij} = \sum_a m_a\,\frac{\partial \mathbf r_a}{\partial q_i}\cdot\frac{\partial \mathbf r_a}{\partial q_j}

T1=iai(q,t)q˙i,ai=amaraqiratT_1 = \sum_{i} a_i(q,t)\,\dot q_i,\qquad a_i = \sum_a m_a\,\frac{\partial \mathbf r_a}{\partial q_i}\cdot\frac{\partial \mathbf r_a}{\partial t}

T0=12ama(rat)2.T_0 = \tfrac12\sum_a m_a\left(\frac{\partial \mathbf r_a}{\partial t}\right)^2.

Why this step? Grouping by how many q˙\dot q factors appear is the only natural classification. T2T_2 is quadratic in velocities, T1T_1 is linear, T0T_0 has none.


The crucial special case: scleronomic systems

A homogeneous quadratic function obeys Euler's theorem: iq˙iT/q˙i=2T\sum_i \dot q_i \,\partial T/\partial \dot q_i = 2T. This is exactly why ipiq˙iL\sum_i p_i\dot q_i - L gives the energy and why H=T+VH=T+V when the system is scleronomic — keep this in your pocket.


Worked examples


Common mistakes


Recall Feynman: explain it to a 12-year-old

Imagine your toy car can only move along bent tracks. To say how fast it's really moving, you'd normally use plain left-right-up-down speed. But it's easier to say "how fast is it going along the track". Math lets us trade one for the other. If the track itself is being yanked around (someone is spinning the whole table), then even a car sitting still on the track is actually moving in the room — so we add extra speed terms. That extra stuff is the T1T_1 and T0T_0 pieces; when nobody yanks the table, they're zero and the energy is the simple 12(stuff)×(speed)2\frac12 (\text{stuff})\times(\text{speed})^2.


Active recall

Why does r˙a\dot{\mathbf r}_a contain a ra/t\partial\mathbf r_a/\partial t term?
Because under rheonomic (moving) constraints the position map ra(q,t)\mathbf r_a(q,t) depends explicitly on time, so the chain rule adds an explicit clock term.
Write the general decomposition of TT.
T=T2+T1+T0T=T_2+T_1+T_0 — quadratic, linear, and velocity-free in the q˙i\dot q_i.
Definition of the mass matrix MijM_{ij}?
Mij=amaqiraqjraM_{ij}=\sum_a m_a\,\partial_{q_i}\mathbf r_a\cdot\partial_{q_j}\mathbf r_a; symmetric and positive-definite.
When is TT a pure homogeneous quadratic (T=T2T=T_2)?
When constraints are scleronomic (ra/t=0\partial\mathbf r_a/\partial t=0), making ai=0a_i=0 and T0=0T_0=0.
What is TT in plane polar coordinates?
T=12m(r˙2+r2θ˙2)T=\tfrac12 m(\dot r^2+r^2\dot\theta^2).
By Euler's theorem, what is iq˙iT2/q˙i\sum_i \dot q_i\,\partial T_2/\partial \dot q_i?
2T22T_2 (homogeneous of degree 2 in velocities).
Physical meaning of T0T_0 for a rotating wire?
12mr2ω2\tfrac12 mr^2\omega^2 — acts like an effective potential giving the centrifugal effect.
Is MijM_{ij} constant in general?
No, it depends on the generalized coordinates qq (e.g. Mθθ=mr2M_{\theta\theta}=mr^2).

Connections

  • Lagrangian mechanicsL=TVL=T-V uses this TT.
  • Generalized coordinates and constraints — scleronomic vs rheonomic.
  • Euler-Lagrange equations — where T/q˙\partial T/\partial \dot q and T/q\partial T/\partial q feed in.
  • Generalized momentum and conserved quantitiespi=T/q˙i=jMijq˙jp_i=\partial T/\partial\dot q_i = \sum_j M_{ij}\dot q_j.
  • Configuration space and the metric tensorMijM_{ij} as a Riemannian metric.
  • Energy function and HamiltonianH=T2T0+VH=T_2-T_0+V in general; H=T+VH=T+V only when scleronomic.

Concept Map

re-express in q

differentiate

plug into T

expand product

q dot q dot terms

mixed terms

clock terms

coefficient

symmetric positive-definite metric

gives partial r partial t

gives partial r partial t

Cartesian KE half m v squared

Position map r_a of q and t

Chain rule for r_a dot

Substitute into T

Expand square of sum

T2 quadratic in q dot

T1 linear in q dot

T0 velocity independent

Mass metric matrix M_ij

Rheonomic time-dependent constraint

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, kinetic energy ki asli definition toh simple hai: T=12mv2T=\frac12 m v^2 Cartesian mein. Lekin Lagrangian mechanics mein hum generalized coordinates qiq_i use karte hain — jaise angle θ\theta, ya rail ke along distance rr. Toh humein velocity r˙\dot{\mathbf r} ko q˙i\dot q_i ke terms mein likhna padta hai. Chain rule lagao: r˙=i(r/qi)q˙i+r/t\dot{\mathbf r}=\sum_i (\partial\mathbf r/\partial q_i)\dot q_i + \partial\mathbf r/\partial t. Yeh last wala time term tabhi aata hai jab constraint khud move kar raha ho (rotating wire jaisa).

Jab is poori cheez ka square karke TT mein daalte ho, toh teen tarah ke terms milte hain: T2T_2 (velocity ka square — yeh hamesha hota hai), T1T_1 (velocity ke linear — sirf moving constraint mein), aur T0T_0 (velocity bilkul nahi — bhi sirf moving constraint mein). Isko yaad rakho mnemonic se: "2-1-0 — Quadratic, Linear, Lonely". Agar constraint move nahi karta (scleronomic), toh sirf T2T_2 bachta hai aur T=12Mijq˙iq˙jT=\frac12\sum M_{ij}\dot q_i\dot q_j — pura clean quadratic.

Yeh MijM_{ij} matrix bahut important hai — ise mass matrix ya metric bolte hain. Yaad rakho yeh constant nahi hota, position pe depend karta hai. Polar coordinates mein Mθθ=mr2M_{\theta\theta}=mr^2 — dekho rr aa gaya andar! Isiliye T=12m(r˙2+r2θ˙2)T=\frac12 m(\dot r^2+r^2\dot\theta^2) milta hai. Exam mein sabse common galti yahi hai ki students TT ko hamesha quadratic maan lete hain — par rotating ya moving constraint mein T1T_1 aur T0T_0 ko miss mat karna, warna centrifugal type effects galat aayenge.

Go deeper — visual, from zero

Test yourself — Analytical Mechanics

Connections