BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

The calculus of variations: from a stationary integral to the Euler–Lagrange and Hamilton equations

A functional J[y] = ∫ f(y, ẏ, s) ds is stationary under every small change of the path with fixed end points exactly when ∂f/∂y_i − d/ds(∂f/∂ẏ_i) = 0. With s = t and f = L this is Hamilton's principle giving the Euler–Lagrange equations; with f the arc length on a sphere it gives great circles as the shortest paths; and varying q and p independently in ∫(p q̇ − H) dt gives Hamilton's equations. D'Alembert's principle is the differential form of the dynamics, Hamilton's principle the integrated one.

You need this first

Full reading path (148 pages)
  1. Vectors (8.01)
  2. Position and velocity in one dimension (8.01)
  3. Acceleration in one dimension (8.01)
  4. Motion in two dimensions and projectiles (8.01)
  5. Newton's laws of motion (8.01)
  6. Momentum and impulse (8.01)
  7. Conservation of momentum (8.01)
  8. Centre of mass and its motion (8.01)
  9. Relative velocity and recoil (8.01)
  10. Symmetry and Galilean invariance (8.033)
  11. The universal law of gravitation (8.01)
  12. Contact forces: the normal force and friction (8.01)
  13. Tension in ropes and the spring force (8.01)
  14. The derivative: slope of the tangent line and rate of change (18.01)
  15. Limits and continuity (18.01)
  16. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  17. The chain rule and higher derivatives (18.01)
  18. Implicit differentiation and the derivatives of inverse functions (18.01)
  19. Exponentials and logarithms: the number e and its derivatives (18.01)
  20. Linear and quadratic approximations (18.01)
  21. Curve sketching with the first and second derivative (18.01)
  22. Sketching strategy and maximum–minimum problems (18.01)
  23. More max–min, and related rates (18.01)
  24. A ring on a string, and Newton's method (18.01)
  25. The mean value theorem and inequalities (18.01)
  26. Differentials and antiderivatives (18.01)
  27. Kinetic energy and work in one dimension (8.01)
  28. Work and kinetic energy in two and three dimensions (8.01)
  29. Conservative and non-conservative forces (8.01)
  30. Potential energy (8.01)
  31. Circular motion: polar coordinates, position and velocity (8.01)
  32. Uniform circular motion: centripetal acceleration, period and frequency (8.01)
  33. Circular motion: tangential acceleration and angular acceleration (8.01)
  34. Newton's second law and circular motion: banked turns and orbits (8.01)
  35. Circular motion dynamics: worked problems (8.01)
  36. Mechanical energy and energy conservation (8.01)
  37. Definite integrals and Riemann sums (18.01)
  38. The first fundamental theorem of calculus (18.01)
  39. Potential energy diagrams (8.01)
  40. Differential equations and separation of variables (18.01)
  41. Direction fields, isoclines and integral curves (18.03)
  42. Euler's method and better numerical methods (18.03)
  43. First-order linear equations and integrating factors (18.03)
  44. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  45. Autonomous equations, critical points and stability (18.03)
  46. Complex numbers and complex exponentials (18.03)
  47. Indeterminate forms and L'Hôpital's rule (18.01)
  48. The second fundamental theorem of calculus (18.01)
  49. Improper integrals (18.01)
  50. Infinite series and convergence tests (18.01)
  51. Stacking blocks and Taylor series (18.01)
  52. The harmonic oscillator (8.03)
  53. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  54. Combining sine and cosine; models for first-order linear equations (18.03)
  55. Second-order linear equations with constant coefficients (18.03)
  56. Complex characteristic roots and damped oscillations (18.03)
  57. Damped free oscillators (8.03)
  58. Linear operators, the Wronskian and normalized solutions (18.03)
  59. Inhomogeneous equations, particular solutions and stability (18.03)
  60. Driven oscillators and resonance (8.03)
  61. Vectors and the dot product (18.02)
  62. Determinants and the cross product (18.02)
  63. Planes through three points, and matrices (18.02)
  64. Equations of planes and square systems (18.02)
  65. The geometry of linear equations (18.06)
  66. Elimination with matrices (18.06)
  67. Matrix multiplication and inverse matrices (18.06)
  68. Factorization into A = LU (18.06)
  69. Transposes, permutations and vector spaces (18.06)
  70. Properties of determinants (18.06)
  71. Determinant formulas and cofactors (18.06)
  72. Cramer's rule, the inverse matrix and volume (18.06)
  73. Column space and nullspace (18.06)
  74. Eigenvalues and eigenvectors (18.06)
  75. Coupled oscillators and normal modes (8.03)
  76. Coupled pendulums and beats (8.03)
  77. Driven coupled oscillators and symmetry (8.03)
  78. Symmetry and infinitely many oscillators (8.03)
  79. The beaded string and the wave equation (8.03)
  80. Particular solutions: the exponential input theorem (18.03)
  81. Resonance and beats (18.03)
  82. Introduction to Fourier series (18.03)
  83. Normal modes of a string and Fourier series (8.03)
  84. Travelling waves, energy and reflection (8.03)
  85. Sound waves (8.03)
  86. Parametric equations of lines and the cycloid (18.02)
  87. Velocity, acceleration and Kepler's second law (18.02)
  88. Functions of two variables and partial derivatives (18.02)
  89. Tangent planes, critical points and least squares (18.02)
  90. The second derivative test (18.02)
  91. Differentials and the chain rule (18.02)
  92. The gradient and directional derivatives (18.02)
  93. Lagrange multipliers (18.02)
  94. Non-independent variables (18.02)
  95. Double integrals (18.02)
  96. Double integrals in polar coordinates, and their uses (18.02)
  97. Change of variables in double integrals (18.02)
  98. Vector fields and line integrals (18.02)
  99. Fields: scalar, vector, gravitational and electric (8.02)
  100. Field lines, charging and electric dipoles (8.02)
  101. Electric fields of continuous charge distributions (8.02)
  102. Electric potential and potential energy (8.02)
  103. Gradient fields and path independence (18.02)
  104. Testing for gradient fields, potentials and curl (18.02)
  105. Green's theorem (18.02)
  106. Flux and the normal form of Green's theorem (18.02)
  107. Simply connected regions (18.02)
  108. Triple integrals and cylindrical coordinates (18.02)
  109. Spherical coordinates and gravitational attraction (18.02)
  110. Vector fields in space and flux through surfaces (18.02)
  111. Flux through graphs and the divergence theorem (18.02)
  112. Gauss's law (8.02)
  113. Conductors, capacitors and stored energy (8.02)
  114. Shielding, combining capacitors and dielectrics (8.02)
  115. Current, resistance and DC circuits (8.02)
  116. Rigid bodies and rotational kinematics (8.01)
  117. Moment of inertia (8.01)
  118. Torque and the cross product (8.01)
  119. Magnetic fields and the force on moving charges (8.02)
  120. Forces on currents and the Biot–Savart law (8.02)
  121. Magnetic dipoles: torque, energy and force (8.02)
  122. Levitation and Ampère's law (8.02)
  123. The divergence theorem, its proof and the diffusion equation (18.02)
  124. Line integrals, gradient fields and curl in space (18.02)
  125. Stokes' theorem (18.02)
  126. Stokes' theorem, path independence and div curl = 0 (18.02)
  127. Div and curl in physics: torque and Maxwell's equations (18.02)
  128. Faraday's law of induction (8.02)
  129. Eddy currents, transformers and magnetic materials (8.02)
  130. Measuring circuits and RC circuits (8.02)
  131. Self-inductance, LR circuits and magnetic energy (8.02)
  132. LC oscillations and damped RLC circuits (8.02)
  133. AC circuits, phasors and resonance (8.02)
  134. Displacement current, Maxwell's equations and light (8.02)
  135. Electromagnetic waves (8.03)
  136. The speed of light and the Michelson–Morley experiment (8.033)
  137. Deriving the Lorentz transformation (8.033)
  138. Time dilation, length contraction and the interval (8.033)
  139. Four-vectors, the Doppler effect and aberration (8.033)
  140. Doppler effect, aberration and the twin paradox (8.033)
  141. Geodesics and the calculus of variations (8.033)
  142. The brachistochrone and the hanging chain (8.033)
  143. Angular momentum of a point particle (8.01)
  144. Newton to Lagrange: inertial frames and the Euler–Lagrange equations (8.09)
  145. Rolling kinematics (8.01)
  146. A rope with mass: differential analysis (8.01)
  147. Resistive forces: drag and terminal velocity (8.01)
  148. Constraints, d'Alembert's principle and friction: the dissipation function (8.09)
On this page · 5 sections
  1. Making an integral stationary
  2. Great circles
  3. Hamilton's equations from a variational principle
  4. Differential and integral forms
  5. Summary

The last section of Chapter 1 of Stewart's notes (pp. 22–28) has two parts: a review of the calculus of variations, which turns Hamilton's principle into equations of motion, and the method of Lagrange multipliers. This page covers the first part (notes pp. 22–23), and the next page the second. The same mathematics appears in 8.033 as geodesics and the calculus of variations; here it is set up for any number of functions, in the notes' order and in this page's own words, with its own worked example.

Making an integral stationary#

The calculus of variations looks for functions yi(s)y_i(s), i=1,…,ni = 1, \dots, n, between two values s1s_1 and s2s_2 of a parameter, that make a functional (a number that depends on whole functions) stationary:

A functional
J[yi]=∫s1s2ds f(y1(s),…,yn(s),y˙1(s),…,y˙n(s),s)J[y_i] = \int_{s_1}^{s_2} ds\, f\big(y_1(s), \dots, y_n(s), \dot y_1(s), \dots, \dot y_n(s), s\big)
In words

capital J ( y initial ) equals the integral from s one to s two of d s f ( y one (s), and so on, y sub n (s), y one dot (s), and so on, y sub n dot (s), s )

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.76), p. 22

In this general discussion only, the dot means d/dsd/ds, not d/dtd/dt. Compare the path yi(s)y_i(s) with a neighbouring one, yi′(s)=yi(s)+ηi(s)y_i'(s) = y_i(s) + \eta_i(s), where the change δyi=ηi\delta y_i = \eta_i vanishes at both ends, ηi(s1)=ηi(s2)=0\eta_i(s_1) = \eta_i(s_2) = 0: the end points stay fixed and only the path between them moves. To first order the change in JJ is

First-order variation
0=δJ=∫s1s2ds∑i[δyi ∂f∂yi+δy˙i ∂f∂y˙i]0 = \delta J = \int_{s_1}^{s_2} ds \sum_i\left[\delta y_i\,\frac{\partial f}{\partial y_i} + \delta\dot y_i\,\frac{\partial f}{\partial \dot y_i}\right]
In words

0 equals delta capital J equals the integral from s one to s two of d s the sum over i of the quantity delta y initial partial f over partial y initial plus delta y sub i dot partial f over partial y sub i dot

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.77), p. 22

Since δy˙i\delta\dot y_i is the derivative of δyi\delta y_i, integrating the second term by parts moves the derivative onto ∂f/∂y˙i\partial f/\partial\dot y_i. The boundary term contains δyi\delta y_i at s1s_1 and s2s_2, which is zero. What is left is ∫ds ∑i[∂f∂yi−dds∂f∂y˙i]δyi(s)\int ds\,\sum_i\left[\frac{\partial f}{\partial y_i} - \frac{d}{ds}\frac{\partial f}{\partial\dot y_i}\right]\delta y_i(s), and if the δyi\delta y_i are independent (for instance once holonomic constraints have been used to remove the dependent coordinates) and arbitrary, this vanishes only if every bracket does:

Euler–Lagrange equation for a functional
∂f∂yi−dds(∂f∂y˙i)=0\frac{\partial f}{\partial y_i} - \frac{d}{ds}\left(\frac{\partial f}{\partial \dot y_i}\right) = 0
In words

partial f over partial y initial minus d over d s ( partial f over partial y sub i dot ) equals 0

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.78), p. 22

The result holds for any integrand ff, not only in mechanics.

Hamilton's principle is the case s=ts = t, yi=qiy_i = q_i, f=Lf = L and J=SJ = S: requiring δS=0\delta S = 0 gives the Euler–Lagrange equations of motion.

Great circles#

A geometric example (notes pp. 22–23): the shortest path between two points on a sphere of radius aa is an arc of a great circle. The length of a path is J=∫s1s2dsJ = \int_{s_1}^{s_2} ds, and on the sphere (dr=0dr = 0, spherical angles θ\theta and ϕ\phi)

Arc length on a sphere
ds=(dx)2+(dy)2+(dz)2=a2(dθ)2+a2sin⁡2θ (dϕ)2ds = \sqrt{(dx)^2 + (dy)^2 + (dz)^2} = \sqrt{a^2(d\theta)^2 + a^2\sin^2\theta\,(d\phi)^2}
In words

d s equals the square root of (d x) squared plus (d y) squared plus (d z) squared, end of root, equals the square root of a squared (d theta ) squared plus a squared sine squared theta (d phi ) squared, end of root

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.79), p. 22

Using θ\theta as the parameter and ϕ(θ)\phi(\theta) as the unknown function,

Arc length with θ as parameter
ds=a1+sin⁡2θ(dϕdθ)2  dθds = a\sqrt{1 + \sin^2\theta\left(\frac{d\phi}{d\theta}\right)^2}\;d\theta
In words

d s equals a the square root of 1 plus sine squared theta ( d phi over d theta ) squared, end of root, d theta

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.80), p. 22

so f=1+sin⁡2θ ϕ˙2f = \sqrt{1 + \sin^2\theta\,\dot\phi^2} (dropping the constant aa, with ϕ˙=dϕ/dθ\dot\phi = d\phi/d\theta). ff does not contain ϕ\phi, so the Euler–Lagrange equation says ∂f/∂ϕ˙\partial f/\partial\dot\phi is constant along the path. Some algebra then gives the solutions

Great circles
sin⁡(ϕ−α)=βcot⁡θ\sin(\phi - \alpha) = \beta\cot\theta
In words

sine of the quantity phi minus alpha, equals beta cot theta

with constants α\alpha and β\beta. (Multiplying by asin⁡θa\sin\theta turns this into a linear relation among xx, yy and zz, the equation of a plane through the centre of the sphere, which cuts it in a great circle.)

Worked example

Flying between two cities at 60° N

Two cities lie on the parallel of latitude 60° N, 90° apart in longitude. Compare the length of the route along the parallel with the great-circle route, on a sphere of radius a=6371a = 6371 km, and find how far north the great circle goes.

Along the parallel

Latitude 60° is colatitude θ=30∘\theta = 30^\circ. Along the parallel dθ=0d\theta = 0, so eq. (1.79) gives ds=asin⁡θ dϕds = a\sin\theta\,d\phi and the length is asin⁡30∘×π/2=0.785a=5004a\sin 30^\circ \times \pi/2 = 0.785a = 5004 km. This path does not satisfy the great-circle equation: a parallel other than the equator is not a great circle.

The great circle

Put the two cities at ϕ=0\phi = 0 and ϕ=90∘\phi = 90^\circ, both at θ=30∘\theta = 30^\circ, into sin⁡(ϕ−α)=βcot⁡θ\sin(\phi - \alpha) = \beta\cot\theta: −sin⁡α=β3-\sin\alpha = \beta\sqrt3 and cos⁡α=β3\cos\alpha = \beta\sqrt3. So α=−45∘\alpha = -45^\circ and β=cos⁡45∘/3=0.408\beta = \cos 45^\circ/\sqrt3 = 0.408. The angle cc between the two cities seen from the centre follows from the cosine rule of spherical trigonometry (or from the dot product of the two position vectors): cos⁡c=cos⁡230∘+sin⁡230∘cos⁡90∘=0.75\cos c = \cos^2 30^\circ + \sin^2 30^\circ\cos 90^\circ = 0.75, so c=0.723c = 0.723 rad and the route is 0.723a=46050.723a = 4605 km, about 400 km shorter.

How far north

The path is closest to the pole where sin⁡(ϕ−α)=1\sin(\phi - \alpha) = 1, at ϕ=45∘\phi = 45^\circ. There cot⁡θ=1/β\cot\theta = 1/\beta, so θ=arctan⁡0.408=22.2∘\theta = \arctan 0.408 = 22.2^\circ: latitude 67.8° N, nearly 8° north of the two cities.

The great-circle route between two places at 60° N, 90° apart in longitude, computed from sin⁡(ϕ−α)=βcot⁡θ\sin(\phi - \alpha) = \beta\cot\theta with α=−45∘\alpha = -45^\circ and β=0.408\beta = 0.408 (θ\theta is the colatitude). Plotted on a flat latitude-longitude grid, the shortest route bulges towards the pole.

Hamilton's equations from a variational principle#

Hamilton's principle can also be set up in phase space (notes p. 23). Treat the 2N2N functions q1,…,qN,p1,…,pNq_1, \dots, q_N, p_1, \dots, p_N as independent and require

Hamilton's principle in phase space
δJ[q,p]=δ∫t1t2dt[piq˙i−H(q,p,t)]=0\delta J[q, p] = \delta\int_{t_1}^{t_2} dt\left[p_i\dot q_i - H(q, p, t)\right] = 0
In words

delta capital J ( q, p ) equals delta the integral from t one to t two of d t the quantity p sub i q sub i dot minus H(q, p, t), equals 0

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.81), p. 23

with all variations zero at the ends: δqi(t1)=δqi(t2)=0\delta q_i(t_1) = \delta q_i(t_2) = 0 and δpi(t1)=δpi(t2)=0\delta p_i(t_1) = \delta p_i(t_2) = 0. With f=piq˙i−Hf = p_i\dot q_i - H, the Euler–Lagrange equations for the two kinds of variable are

Hamilton's equations from the variation
ddt(∂f∂q˙i)−∂f∂qi=0  ⇒  p˙i=−∂H∂qi,ddt(∂f∂p˙i)−∂f∂pi=0  ⇒  q˙i=∂H∂pi\frac{d}{dt}\left(\frac{\partial f}{\partial \dot q_i}\right) - \frac{\partial f}{\partial q_i} = 0 \;\Rightarrow\; \dot p_i = -\frac{\partial H}{\partial q_i}, \qquad \frac{d}{dt}\left(\frac{\partial f}{\partial \dot p_i}\right) - \frac{\partial f}{\partial p_i} = 0 \;\Rightarrow\; \dot q_i = \frac{\partial H}{\partial p_i}
In words

d over d t ( partial f over partial q sub i dot ) minus partial f over partial q sub i equals 0 which gives p sub i dot equals minus partial H over partial q sub i, d over d t ( partial f over partial p sub i dot ) minus partial f over partial p sub i equals 0 which gives q sub i dot equals partial H over partial p sub i

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.82), p. 23

which are Hamilton's equations. Because ff does not contain p˙i\dot p_i, the boundary term from the pp variations is zero anyway, so the conditions δpi=0\delta p_i = 0 at the ends seem unnecessary. The notes insist that they are needed all the same: they put qiq_i and pip_i on the same footing, which is exploited later in the course for canonical transformations.

Differential and integral forms#

Finally the notes compare the two principles (notes p. 23). D'Alembert's principle,

D'Alembert's principle
[ddt(∂L∂q˙j)−∂L∂qj−Rj]δqj=0\left[\frac{d}{dt}\left(\frac{\partial L}{\partial \dot q_j}\right) - \frac{\partial L}{\partial q_j} - R_j\right]\delta q_j = 0
In words

the quantity d over d t ( partial L over partial q sub j dot ) minus partial L over partial q sub j minus capital R sub j, delta q sub j equals 0

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.83), p. 23

is a differential statement, holding at each instant, while Hamilton's principle,

Hamilton's principle, written out
δJ=∫t1t2dt[∂L∂qj−ddt(∂L∂q˙j)]δqj=0\delta J = \int_{t_1}^{t_2} dt\left[\frac{\partial L}{\partial q_j} - \frac{d}{dt}\left(\frac{\partial L}{\partial \dot q_j}\right)\right]\delta q_j = 0
In words

delta capital J equals the integral from t one to t two of d t the quantity partial L over partial q sub j minus d over d t ( partial L over partial q sub j dot ), delta q sub j equals 0

Source: 8.09 Chapter 1 notes (Stewart, typed, pp. 22–23), Section 1.5, eq. (1.84), p. 23

is an integrated statement about the whole path, and needs Rj=0R_j = 0: all forces must come from a potential.

Summary#

  • A functional J=∫f(yi,y˙i,s) dsJ = \int f(y_i, \dot y_i, s)\,ds is stationary under all variations with fixed end points exactly when ∂f∂yi−dds∂f∂y˙i=0\frac{\partial f}{\partial y_i} - \frac{d}{ds}\frac{\partial f}{\partial \dot y_i} = 0.
  • With s=ts = t and f=Lf = L this is Hamilton's principle and gives the Euler–Lagrange equations.
  • Minimising arc length on a sphere gives great circles, sin⁡(ϕ−α)=βcot⁡θ\sin(\phi - \alpha) = \beta\cot\theta; a parallel of latitude is longer.
  • Varying qq and pp independently in ∫(piq˙i−H) dt\int(p_i\dot q_i - H)\,dt gives Hamilton's equations; fixing δp\delta p at the ends puts qq and pp on an equal footing.
  • D'Alembert's principle is the differential form of the dynamics; Hamilton's principle is the integrated form, valid when Rj=0R_j = 0.

Symbols on this page

Show the 62 symbols used here
α\alpha alpha.
A constant of the great-circle solution sin(φ − α) = β cot θ: the longitude where the circle crosses the equator. Say it: “alpha”.
β\beta beta.
A constant of the great-circle solution sin(φ − α) = β cot θ, setting how far the circle is tilted from the pole. Say it: “beta” (sounds like “bay-ta or bee-ta”).
δ\delta delta.
Marks a variation: the small change of a path (δy_i, δq_j, δp_i) or of the functional (δJ). Say it: “delta”.
θ\theta theta.
The polar angle on the sphere, measured from the north pole: the colatitude. Unit: rad. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ϕ\phi phi.
The azimuthal angle (longitude) on the sphere. Unit: rad. Say it: “phi” (sounds like “fye”).
∘\circ degree.
Degrees of angle (as in 45°). Say it: “degrees”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
⟺\Longleftrightarrow if and only if.
If and only if: each statement implies the other. Say it: “is equivalent to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
cot⁡\cot cotangent.
Cotangent of an angle, cos/sin. Say it: “cot”.
aa a.
The radius of the sphere. Unit: m. Say it: “a”.
HH H.
The Hamiltonian H(q, p, t) = q̇_i p_i − L; equal to the energy T + V when T is quadratic in the velocities and V depends on the coordinates only. Unit: J. Say it: “H”.
zz z.
A Cartesian coordinate. Unit: m. Say it: “z”.
cc c.
The angle between two places on the sphere, seen from its centre; the great-circle distance is a c. Unit: rad. Say it: “c”.
arctan⁡\arctan arctangent.
The inverse tangent. Say it: “arc tangent”.
xx x.
A Cartesian coordinate. Unit: m. Say it: “x”.
yy y.
A Cartesian coordinate (in metres); written y(s) or y_i(s), the unknown function of a variational problem. Say it: “y”.
tt t.
Time. Unit: s (min for the tank). Say it: “t”.
dd d.
A differential or small change (ds, dθ, dφ); d/ds and d/dt are total derivatives. Say it: “d”.
ii i.
An index counting the unknown functions or coordinates. Say it: “i”.
nn n.
The number of unknown functions in the variational problem. Say it: “n”.
mm m.
A mass; p_i = m q̇_i holds only for simple Cartesian coordinates. Unit: kg. Say it: “m”.
ff f.
The integrand of the functional, f(y, ẏ, s); in mechanics, the Lagrangian or p q̇ − H. Say it: “f”.
rr r.
The radial coordinate, the distance from the centre of the sphere (fixed on it, dr = 0). Unit: m. Say it: “r”.
qq q.
Short for all the generalized coordinates (q₁, …, q_N) together; in a one-coordinate argument, that coordinate. Say it: “q”.
ss s.
The parameter along the path (time t in mechanics); in ds, the arc length. Say it: “s”.
LL L.
The Lagrangian L(q, q̇, t), usually the kinetic minus the potential energy, T − V. Unit: J. Say it: “L”.
NN N.
The number of generalized coordinates. Say it: “capital N”.
pp p.
Short for all the canonical momenta together; in a one-coordinate argument, that momentum. Say it: “p”.
SS S.
The action, the time integral of the Lagrangian. Unit: J s. Say it: “capital S”.
t1t_{1} t one.
The start and end times of the paths compared in Hamilton’s principle. Unit: s. Say it: “t one”.
t2t_{2} t two.
The start and end times of the paths compared in Hamilton’s principle. Unit: s. Say it: “t two”.
y1y_{1} y 1.
The first unknown function of the variational problem. Say it: “y one”.
JJ J.
A functional: an integral J[y] = ∫ f ds whose value depends on a whole path; for great circles, the path length. Say it: “capital J”.
ϕ˙\dot{\phi} phi dot.
Here dφ/dθ, the rate at which the longitude changes with colatitude along the path. Say it: “phi dot”.
y˙\dot{y} y dot.
The derivative dy/ds of the unknown function. Say it: “y dot”.
s1s_{1} s one.
The start and end values of the parameter s; the end points of the path are held fixed there. Say it: “s one”.
η\eta eta.
The small change η_i(s) = δy_i of a path; it vanishes at both end points. Say it: “eta”.
pip_{i} p i.
The canonical momentum conjugate to q_i, p_i = ∂L/∂q̇_i; not always m_i q̇_i. Say it: “p sub i”.
yiy_{i} y i.
The i-th unknown function y_i(s) of the variational problem. Say it: “y initial”.
yny_{n} y n.
The last of the n unknown functions of the variational problem. Say it: “y sub n”.
p1p_{1} p 1.
The momentum conjugate to q₁. Say it: “p one”.
q1q_{1} q one.
The first generalized coordinate. Say it: “q one”.
qiq_{i} q sub i.
The i-th generalized coordinate: any number (a distance, an angle …) that helps fix the configuration. Say it: “q sub i”.
qjq_{j} q sub j.
The j-th generalized coordinate. Say it: “q sub j”.
p˙i\dot{p}_{i} p i dot.
The rate of change of the canonical momentum p_i. Say it: “p sub i dot”.
q˙i\dot{q}_{i} q i dot.
The generalized velocity: the time derivative of the coordinate q_i. Say it: “q sub i dot”.
RjR_{j} R j.
The generalized force for q_j that comes from no potential, such as friction. Say it: “capital R sub j”.
pNp_{N} p N.
The momentum conjugate to q_N. Say it: “p sub N”.
qNq_{N} q sub N.
The last of the N generalized coordinates. Say it: “q sub N”.
s2s_{2} s two.
The start and end values of the parameter s; the end points of the path are held fixed there. Say it: “s two”.
ηi\eta_{i} eta i.
The small change η_i(s) = δy_i(s) of the i-th function; zero at both end points. Say it: “eta sub i”.
q˙j\dot{q}_{j} q j dot.
The generalized velocity of the coordinate q_j. Say it: “q sub j dot”.
y˙1\dot{y}_{1} y one dot.
The derivative of y₁ with respect to s. Say it: “y one dot”.
y˙n\dot{y}_{n} y n dot.
The derivative of y_n with respect to s. Say it: “y sub n dot”.
y˙i\dot{y}_{i} y i dot.
The derivative of y_i with respect to the parameter s (not time, in this general discussion). Say it: “y sub i dot”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 28 words used here

Also used

p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
calculus of variations.
The mathematics of finding the whole function or curve, rather than a single point, that makes some quantity smallest or largest. Explained in Geodesics and the calculus of variations.
Hamilton's principle.
The rule that a system moves along the path for which the action, the time total of its Lagrangian, is stationary. Explained in Newton to Lagrange: inertial frames and the Euler–Lagrange equations.
equation of motion.
The equation, usually from Newton's second law, that says how a system's position changes with time. Explained in The harmonic oscillator.
Lagrange multipliers.
A method for finding the largest or smallest value of a function when its variables must satisfy a constraint. Explained in A ring on a string, and Newton's method.
geodesic.
The straightest possible path in a curved space or spacetime: locally the shortest (or, for clocks, the longest-time) route between two points. Explained in Geodesics and the calculus of variations.
functional.
A rule that takes a whole function, such as a path or a wavefunction, and gives a single number. Explained in Geodesics and the calculus of variations.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
holonomic.
Of a constraint: one that can be written as an equation between the coordinates and time, so it can be used to remove a coordinate. Explained in Constraints, d'Alembert's principle and friction: the dissipation function.
integrand.
The function being integrated: the f(x) in ∫ f(x) dx. Explained in The logarithm from an integral, and areas between curves.
Euler–Lagrange equation.
The equation a path must satisfy to make an integral such as the action stationary; in mechanics, the equation of motion from a Lagrangian. Explained in Newton to Lagrange: inertial frames and the Euler–Lagrange equations.
linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
Eq..
Equation: followed by its number in the source, as in Eq. 3.12; Eqs. means equations.
dot product.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
position vector.
The arrow from the origin of a coordinate system to a point, which says where the point is. Explained in Position and velocity in one dimension.
Hamilton's equations.
The equations of motion written as first-order equations for coordinates and momenta: each rate of change is a derivative of the Hamiltonian. Explained in Hamiltonian mechanics: phase space, the Legendre transformation and a pendulum on a sliding support.
canonical transformation.
A change of coordinates and momenta together that keeps Hamilton's equations in the same form, with a new Hamiltonian. Explained in Canonical transformations and their generating functions.
D'Alembert's principle.
The rule that constraint forces do no work in any small displacement the constraints allow, which gives the equations of motion without them. Explained in Constraints, d'Alembert's principle and friction: the dissipation function.
differential.
As an adjective: to do with derivatives or with small changes at each point, as in a differential equation. Explained in A rope with mass: differential analysis.
arc length.
The length of a curve measured along the curve itself, as a piece of string laid along it would show. Explained in Derivatives of sine and cosine, and the product and quotient rules.
differential form.
A law written as an equation between derivatives at each point, rather than as an integral over a whole region.

Academic

vanish.
To become zero; sometimes, of a fixed point or solution, to stop existing.
to first order.
Keeping terms only up to a stated power of a small quantity: to first order keeps the first power and drops squares and higher powers.
arbitrary.
Free to be chosen as one likes; any choice gives a correct result.
satisfy.
To make an equation or condition true.
footing.
The basis or standing of something; things on an equal footing are treated in exactly the same way.
valid.
True or correctly applicable under the stated conditions.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. For the functional J=∫s1s2f(y,y˙,s) dsJ = \int_{s_1}^{s_2} f(y, \dot y, s)\,ds, which condition makes δJ=0\delta J = 0 for every variation with fixed end points?
  2. Two places at latitude 60° N are 90° apart in longitude. How long is the route along the parallel, as a fraction of the shortest (great-circle) route?
  3. In the phase-space version of Hamilton's principle, δ∫(piq˙i−H) dt=0\delta\int(p_i\dot q_i - H)\,dt = 0, what does the Euler–Lagrange equation for pip_i give?
  4. Which statement about d'Alembert's and Hamilton's principles matches the notes?
0 of 4 answered

Flashcards

1 / 4