This set reviews the mechanics of the first chapter: the Lagrangian and the Euler–Lagrange equations, Hamiltonian mechanics, cyclic coordinates and conservation laws, and, for Problem 5, the calculus of variations. The problems follow MIT's Problem Set 1, in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.
A few things to know about the source. The sheet has printed page numbers; its problems are on "p. 2" and "p. 3". Its reading list (pages of a mechanics textbook) is left out. MIT's Problem 3 is only a pointer to a problem in that textbook, so Problem 3 here is our own problem on the sheet's topic, a point mass on a hoop, in the spherical coordinates the sheet asks for; it keeps MIT's 12 points. The sheet's figure of the double pendulum is described in words in Problem 2. The course's assignments page lists an animation of a double pendulum next to this set; it is not MIT's own material, so it is not linked here.
Our additions, each marked where it appears: every answer box of Problems 1, 2, 4, 5 and 6; the normal modes of Problem 2(a) for equal masses and lengths; all of Problem 3; the numbers of Problem 4(c) and its graph; and the example in Problem 5. One choice is ours as well: in Problem 4 the relative coordinate points from the second mass to the first.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it, in the unit named in the question. A formula box takes plain typing, for example G*(m1 + m2)/r^2, and accepts every correct way of writing the answer. It treats its letters as independent, so each question says which letters to type: m1 and m2 for and , mu for , th for , thd for , w for , and so on.
Give a number answer to 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. Where a box needs more digits, its label says so.
MIT gives the points of each problem (12, 20, 12, 10 and 6, together 60). Their split between the parts is ours. MIT's extra problem is not for credit; here it is Problem 6 (optional) with 4 points of our own, which do not count for the score. Several parts ask you to show something. Those parts have no box, or only a small one: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The conventions are those of the lessons. An overdot is . A repeated index is summed over. Generalized coordinates are , their momenta , and the Hamiltonian is . Newton's constant is and the acceleration of free fall .
Problem 1#
Two particles in a gravitational field
Two masses and move in three dimensions. They attract each other by gravity, and both feel a uniform gravitational field: an acceleration in the direction. Write for the total mass, for the position of the centre of mass and for the vector from the second mass to the first, with length .
(a)4 points
Write the Lagrangian in the coordinates and . It falls apart into two separate pieces: explain physically why.
The two boxes are our additions. In the first, type m1 and m2.
Hint
Put and into the kinetic energy. The terms with cancel.
Hint
For the potential of the uniform field, add and compare with the definition of .
Solution
The idea. Kinetic energy always splits into the motion of the centre of mass and the motion relative to it. The potential splits too: the uniform field gives a potential that depends only on , and the mutual attraction depends only on .
Kinetic energy
With and , the mixed terms are , as in the split of the notes:
In words
capital T equals one half the sum over i of m sub i r i dot to the power 2 equals one half capital M capital R dot squared plus one half the sum over i of m sub i r i dot prime to the power 2
For two bodies the second piece is with .
The Lagrangian
The uniform field gives , and the mutual attraction . So
In words
capital L equals one half capital M capital R dot squared minus capital M g capital Z plus one half mu r dot to the power 2 plus capital G m one m two over r, mu equals m one m two over the quantity m one plus m two
The first two terms hold only , the last two only .
Why it splits
A uniform field pulls on each mass in proportion to that mass, so it gives both the same acceleration : it moves the pair as a whole and leaves their separation alone. The mutual attraction is internal and depends only on the separation. The centre of mass therefore falls freely, like a single body of mass , while the separation moves like a single body of mass in the potential , as if the outside field were not there.
Check the result
If , then and : the heavy mass falls freely and the light one moves about it with its own mass, the familiar one-body problem. and are cyclic, so the horizontal momentum , is conserved, as it should be with a vertical field.
(b)4 points
Take the part of the Lagrangian that depends on . Write it in spherical coordinates and find the Euler–Lagrange equations.
The box is our addition. Give ; type r, th for , thd for , phd for , G, m1 and m2.
Hint
In spherical coordinates a small step has length . That gives the kinetic energy.
Hint
does not appear in the Lagrangian, only . Divide the radial equation by at the end.
Solution
The idea. The relative motion is one body of mass in a central potential. Spherical coordinates give three equations; is cyclic.
The Lagrangian
In words
capital L equals one half mu the quantity r dot squared plus r squared theta dot squared plus r squared sine squared theta phi dot squared, all plus capital G m one m two over r
The Euler–Lagrange equations
Each coordinate obeys the equation of the notes,
In words
d over d t ( partial capital L over partial q sub i dot ) minus partial capital L over partial q sub i equals 0
which here gives
In words
mu r double dot equals mu r theta dot squared plus mu r sine squared theta phi dot squared minus capital G m one m two over r squared, d over d t ( mu r squared theta dot ) equals mu r squared sine theta cos theta phi dot squared, d over d t ( mu r squared sine squared theta phi dot ) equals 0
Divided by , the first gives .
Check the result
The third equation is the conservation of , the angular momentum about the axis. For a circular orbit in the plane (, ), the second equation holds because and the first gives : Kepler's third law with the total mass.
(c)4 points
From the Lagrangian of (b), find the Hamiltonian and Hamilton's equations.
The box is our addition. Give ; type pphi for , th, mu and r.
Hint
The momenta are , and . The kinetic energy is quadratic in the velocities, so is written with the momenta.
Hint
, and only the term of depends on .
Solution
The idea. Find the momenta, invert them for the velocities, and use the Legendre transformation. Because is quadratic in the velocities and does not depend on them, .
The Hamiltonian
The Legendre transformation of the notes is
In words
capital H (q, p, t) equals q sub i dot p sub i minus capital L (q, q dot, t)
and with the momenta of the first hint it gives
In words
capital H equals p sub r squared over the quantity 2 mu, plus p theta squared over the quantity 2 mu r squared, plus p sub phi squared over the quantity 2 mu r squared sine squared theta, minus capital G m one m two over r
Hamilton's equations
From
In words
q sub i dot equals partial capital H over partial p sub i, p sub i dot equals minus partial capital H over partial q sub i
we get six first-order equations:
In words
r dot equals p sub r over mu, theta dot equals p theta over the quantity mu r squared, phi dot equals p sub phi over the quantity mu r squared sine squared theta, p r dot equals p theta squared over the quantity mu r cubed, plus p sub phi squared over the quantity mu r cubed sine squared theta, minus capital G m one m two over r squared, p theta dot equals p sub phi squared cos theta over the quantity mu r squared sine cubed theta, p phi dot equals 0
Check the result
Put and into : it becomes , the right side of the equation of (b). The units of are those of , an energy, as a torque should have. has no explicit , so it is conserved, and here it is the energy of the relative motion.
Problem 2#
The double pendulum in a plane
MIT calls the double pendulum the mascot of the course. A ball of mass hangs from a fixed point on a rigid massless rod of length ; a second ball of mass hangs from the first on a rigid massless rod of length . Everything moves in one vertical plane, under gravity. The angles and are those of the two rods from the downward vertical, both measured in the same sense, as in MIT's figure.
(a)12 points
Find the Lagrangian and the equations of motion.
The two boxes are our additions. In the first, give the coefficient of in the kinetic energy; type m1, m2, l1, l2, th1 and th2. For the second: for small swings with and , the pendulum has two normal modes. Give the ratio of the higher to the lower angular frequency, as a decimal (tolerance 1%).
Hint
Take the fixed point as the origin with up: , , and the second ball is further along the direction .
Hint
In the cross term holds . For small swings, keep the kinetic energy at and the potential to second order in the angles.
Solution
The idea. Write the positions of the balls in terms of the two angles, then and . The angles are good generalized coordinates because the rods fix the distances: the constraints are imposed before the Lagrangian is written.
Positions and velocities
In words
x one equals ell one sine theta one, y one equals minus ell one cos theta one, x two equals x one plus ell two sine theta two, y two equals y one minus ell two cos theta two
The first ball has speed . For the second, .
The Lagrangian
In words
capital L equals one half the quantity m one plus m two, ell one squared theta one dot squared plus one half m two ell two squared theta two dot squared plus m two ell one ell two cos of the quantity theta one minus theta two, theta one dot theta two dot plus the quantity m one plus m two, g ell one cos theta one plus m two g ell two cos theta two
The equations of motion
The Euler–Lagrange equation for , divided by , and the one for , divided by :
In words
the quantity m one plus m two, ell one theta one double dot plus m two ell two cos of the quantity theta one minus theta two, theta two double dot plus m two ell two sine of the quantity theta one minus theta two, theta two dot squared plus the quantity m one plus m two, g sine theta one equals 0; ell two theta two double dot plus ell one cos of the quantity theta one minus theta two, theta one double dot minus ell one sine of the quantity theta one minus theta two, theta one dot squared plus g sine theta two equals 0
The terms in come from the time derivative of in the momenta, together with of the cross term.
Small swings (our addition)
With and , linearize: and . A solution needs
In words
the determinant of 2 g over ell minus 2 omega squared minus omega squared; minus omega squared g over ell minus omega squared equals 0 which gives omega squared equals the quantity 2 minus or plus the square root of 2, g over ell
The ratio of the frequencies is . In the slow mode the rods swing together, in the fast one against each other.
Check the result
With the first equation becomes , a simple pendulum, and the second describes a pendulum hanging from a moving point. With held fixed () the second equation is again a simple pendulum of length . The ratio does not depend on , as it must, since it is a pure number.
(b)8 points
Now take . Find the Hamiltonian and Hamilton's equations.
The box is our addition. Give in terms of the momenta and conjugate to and ; type p1, p2, m, l1, l2, th1 and th2.
Hint
Write with a matrix that depends on . Then and , the recipe of the lesson on Hamiltonian mechanics.
Hint
The determinant of is . Write as .
Solution
The idea. The kinetic energy is a quadratic form in the angular velocities. Invert its matrix to get the velocities from the momenta; then in the momenta. Write .
Momenta
With :
In words
p one equals 2 m ell one squared theta one dot plus m ell one ell two cos capital delta theta two dot, p two equals m ell two squared theta two dot plus m ell one ell two cos capital delta theta one dot
The Hamiltonian
The kinetic energy is quadratic in the velocities and does not depend on them, so ; the general form is the one of the notes,
In words
capital H equals one half the quantity p sub j minus a sub j, ( capital T to the power minus 1 ) sub j k the quantity p sub k minus a sub k, all minus capital L nought (q, t)
here with and . Inverting the matrix gives
In words
capital H equals the quantity ell two squared p one squared plus 2 ell one squared p two squared minus 2 ell one ell two cos capital delta p one p two, all over the quantity 2 m ell one squared ell two squared the quantity 1 plus sine squared capital delta, minus 2 m g ell one cos theta one minus m g ell two cos theta two
Hamilton's equations
The velocities follow from :
In words
theta one dot equals the quantity ell two p one minus ell one cos capital delta p two, all over the quantity m ell one squared ell two the quantity 1 plus sine squared capital delta, theta two dot equals the quantity 2 ell one p two minus ell two cos capital delta p one, all over the quantity m ell one ell two squared the quantity 1 plus sine squared capital delta
For , define
In words
C one equals p one p two sine capital delta over the quantity m ell one ell two the quantity 1 plus sine squared capital delta, C two equals the quantity ell two squared p one squared plus 2 ell one squared p two squared minus 2 ell one ell two cos capital delta p one p two, sine capital delta cos capital delta over the quantity m ell one squared ell two squared the quantity 1 plus sine squared capital delta, all squared
Then
In words
p one dot equals minus C one plus C two minus 2 m g ell one sine theta one, p two dot equals C one minus C two minus m g ell two sine theta two
The kinetic part depends on the angles only through , so its derivatives with respect to and are equal and opposite.
Check the result
At the velocities reduce to for , which agrees with solving , directly. The kinetic terms and cancel in , which is then only the torque of gravity about the fixed point. In our calculation file the box is compared with the velocity found by Cramer's rule from the momenta.
Problem 3#
A bead on a spinning hoop (our own problem)
This problem is our own; MIT's Problem 3 only points to a textbook problem on a point mass on a hoop. A circular hoop of radius stands in a vertical plane and is turned by a motor about its vertical diameter at a constant angular velocity . A bead of mass slides on it without friction. Use spherical coordinates with the origin at the centre of the hoop, as the sheet asks: the axis points up along the axis of rotation, and is measured from the upward vertical, so the bottom of the hoop is .
(a)4 points
State the constraints, write the Lagrangian with as the only coordinate, and find the equation of motion.
The box is ours. Give ; type th, w for , g and R.
Hint
On the hoop , and the plane of the hoop turns: . Put both into the kinetic energy in spherical coordinates.
Hint
The height of the bead above the centre is .
Solution
The idea. The two constraints and are holonomic; the second depends on time. Impose both in the kinetic energy and one coordinate, , is left.
The Lagrangian
The speed in spherical coordinates is . With and :
In words
capital L equals one half m capital R squared the quantity theta dot squared plus omega squared sine squared theta, all minus m g capital R cos theta
The equation of motion
, so
In words
theta double dot equals sine theta the quantity omega squared cos theta plus g over capital R
Check the result
For the equation is . Near the bottom , so the bead swings like a pendulum of length about . The units: and are both per second squared.
(b)3 points
Which quantity is conserved during the motion? Is it the energy of the bead?
Hint
Does depend on explicitly? Then work out and compare it with .
Solution
The idea. The constraint depends on time, but the Lagrangian written in does not. So is conserved, by the rule of the notes (Section 1.2, eq. (1.26), p. 8), .
The conserved quantity
In words
h equals theta dot partial capital L over partial theta dot minus capital L equals one half m capital R squared theta dot squared minus one half m capital R squared omega squared sine squared theta plus m g capital R cos theta
The energy is . The two differ in the sign of the rotation term, so the energy is not conserved: the hoop pushes sideways on the bead, and the motor does work whenever the bead moves out or in. is not a coordinate at all here, so no momentum belongs to it, and the angular momentum about the axis, , changes as does.
Check the result
by the equation of motion of (a). The term acts as a centrifugal potential, which is lowest at the equator, .
(c)5 points
Find every position where the bead can stay at rest relative to the hoop. Show that above a critical angular velocity there is one away from the top and the bottom, and find . Which positions are stable?
Then take m, rad/s and m/s² (our numbers). Give the angle of the bead from the bottom of the hoop, that is from the downward vertical, in degrees, and the angular frequency of small oscillations about that position, in rad/s.
The boxes are ours. In the first, type g and R.
Hint
Set in the equation of (a). One factor gives two positions for any ; the other gives a cosine that must lie between and .
Hint
For small oscillations, put and expand the right side of the equation of (a) to first order in . At one of the two terms of the derivative vanishes.
Solution
The idea. Equilibrium on the turning hoop means with . Gravity pulls the bead down, the rotation flings it outwards; above the two balance part of the way up.
The positions of rest
gives (top), (bottom), or
In words
cos theta nought equals minus g over the quantity omega squared capital R, possible only if omega greater than omega nought equals the square root of g over capital R, end of root
Since , this position is below the centre, at the angle from the downward vertical with (and its mirror image on the other side of the axis).
Stability
Write the right side of (a) as . A position is stable if , and then . At the top, : always unstable. At the bottom, : stable for , unstable above. At the factor vanishes, so only its derivative survives:
In words
f prime ( theta nought ) equals sine theta nought times (- omega squared sine theta nought ) equals minus omega squared sine squared theta nought, omega oscillation equals omega sine theta nought equals omega the square root of 1 minus ( g over the quantity omega squared capital R, ) squared, end of root
So the new position is stable whenever it exists: above the bottom loses its stability to the two positions on either side.
Our numbers
rad/s, so rad/s is above it. Then , so , and rad/s.
Check the result
As from above, and : the new position starts at the bottom, with a soft restoring force. As , : the bead rides out to the equator, the widest point. In our calculation file the oscillation frequency is found again from a numerical derivative of .
Problem 4#
Two masses joined by a spring on a table
A massless spring of natural length and spring constant joins two particles of masses and . They lie on a frictionless horizontal table, where the system can both oscillate and turn.
(a)2 points
Write the Lagrangian in two-dimensional Cartesian coordinates and .
Hint
The spring is stretched by the distance between the particles minus . The table is horizontal, so gravity does nothing.
Solution
The idea. Kinetic energy of the two particles, minus the energy of the spring.
The Lagrangian
In words
capital L equals one half m one the quantity x one dot squared plus y one dot squared, all plus one half m two the quantity x two dot squared plus y two dot squared, all minus one half k the quantity the square root of the quantity x one minus x two, all squared plus the quantity y one minus y two, all squared, end of root, minus b, all squared
Check the result
At the natural length the potential is zero, and it grows as the square of the stretch or squeeze, for a spring in any direction. No coordinate is cyclic in this form, although the system is clearly unchanged by sliding or turning it: the next part chooses coordinates that show this.
(b)4 points
Choose generalized coordinates that suit the symmetries. Find the Lagrangian and the equations of motion in them.
The box is our addition. Give for the length of the spring; type r, thd for , k, b and mu for the reduced mass .
Hint
Use the centre of mass , and plane polar coordinates for the vector from the second particle to the first (our choice of direction).
Hint
The kinetic energy splits as in Problem 1(a). In polar coordinates the relative kinetic energy is .
Solution
The idea. Translations of the whole system and rotations about the vertical leave it unchanged. Centre-of-mass coordinates make the translations cyclic, and an angle makes the rotation cyclic.
The Lagrangian
With , and , as in Problem 1(a) and in the polar form of the notes,
In words
capital L equals m over 2, times the quantity r dot squared plus r squared theta dot squared, all minus V(r, theta )
with replaced by :
In words
capital L equals one half capital M the quantity capital X dot squared plus capital Y dot squared, all plus one half mu the quantity r dot squared plus r squared theta dot squared, all minus one half k the quantity r minus b, all squared
The equations of motion
In words
capital M capital X double dot equals 0, capital M capital Y double dot equals 0, mu r double dot equals mu r theta dot squared minus k the quantity r minus b, d over d t ( mu r squared theta dot ) equals 0
Check the result
Without rotation (), : the spring oscillates about its natural length with , the familiar result for two masses on a spring. With , : one mass on a spring tied to a fixed point.
(c)4 points
Name every conserved generalized momentum that belongs to a cyclic coordinate of (b). (If you find fewer than you expect, improve your choice of coordinates in (b).) Show that the system can turn steadily without oscillating, and discuss what happens to this motion as the rate of turning increases. A graph is enough; no closed formula is needed.
The boxes are our additions. In the first, give the radius of the steady motion at angular velocity ; type k, b, mu and w for . In the second, take kg, kg and N/m (our numbers): above which angular velocity, in rad/s, is no steady turning possible? In the third, say what happens as the turning speeds up.
Hint
Steady turning without oscillation means and at all times. Which force must the spring supply?
Hint
For the graph, write with the conserved angular momentum and compare the two sides of as functions of .
Solution
The idea. , and are cyclic, which gives three conserved momenta. A steady turn needs the spring to supply exactly the inward force of circular motion.
Conserved momenta
A cyclic coordinate conserves its momentum, as the notes show:
In words
p sub j dot equals d over d t partial capital L over partial q sub j dot equals partial capital L over partial q sub j equals 0
So and (the total momentum) and (the angular momentum about the centre of mass) are conserved. In the Cartesian form of (a) none of them is visible, though all three are there. The Lagrangian also has no explicit , so the energy is conserved too, but it does not belong to a cyclic coordinate.
Steady turning
Put into the radial equation of (b), with :
In words
mu r nought omega squared equals k the quantity r nought minus b, which gives r nought equals k b over the quantity k minus mu omega squared, or, with p theta equals mu r nought squared omega : k the quantity r nought minus b, equals p theta squared over the quantity mu r nought cubed
The second form is the graphical solution. The left side is a straight line that rises from zero at ; the right side falls from very large values at small to zero. They always cross exactly once, at an : for every angular momentum there is a steady turn, with the spring stretched.
Faster turning
As grows, the crossing moves out and grows without limit. At the same time approaches from below, as shows: the spring alone cannot hold a turn at or faster. (A real spring would break or stop obeying Hooke's law long before.) With our numbers kg, so the limit is rad/s.
Check the result
At , : no turning, no stretch. For small , : the stretch is the centripetal force divided by , as expected. The limit is the frequency of the spring's own oscillation from (b).
Problem 5#
Jerky mechanics
Imagine a mechanics whose equations of motion hold a third time derivative, . Derive its Euler–Lagrange equations from Hamilton's principle. Start from a Lagrangian for generalized coordinates , and vary the paths keeping both and fixed at the two ends. Show that for each
In words
d squared over d t squared ( partial capital L over partial q sub i double dot ) minus d over d t ( partial capital L over partial q sub i dot ) plus partial capital L over partial q sub i equals 0
The box is our addition: an example. Apply the equation to for one coordinate .
Hint
The variation of the action now has three terms, with , and . Integrate the second by parts once and the third twice.
Hint
Each integration by parts leaves a term at the two ends. Which of and does each one multiply?
Solution
The idea. The same steps as for an ordinary Lagrangian, with one more integration by parts. The extra end terms vanish because the paths are held fixed in both and at the ends.
The variation
Hamilton's principle, as in the notes,
In words
delta S equals delta the integral from t one to t two of capital L (q, q dot, t) d t equals 0
now with in , and with , :
In words
delta S equals the integral from t one to t two of d t the quantity partial capital L over partial q sub i, times delta q sub i plus partial capital L over partial q sub i dot, times d delta q sub i over d t plus partial capital L over partial q sub i double dot, times d squared delta q sub i over d t squared
Integrate by parts
The second term, once: . The third term, twice:
In words
the integral of d t partial capital L over partial q sub i double dot, times d squared delta q sub i over d t squared equals the quantity partial capital L over partial q sub i double dot, times delta q sub i dot minus d over d t ( partial capital L over partial q sub i double dot ) delta q sub i, sub t one to the power t two plus the integral of d t d squared over d t squared ( partial capital L over partial q sub i double dot ) delta q sub i
Every end term holds or at or , and these are zero. The term with is the reason the sheet also holds fixed.
The result
What is left is . The are independent and arbitrary inside the interval, so each bracket must vanish: the equation of the sheet. With in , its second time derivative brings in up to the fourth derivative of ; a mechanics with a third derivative needs an in which these terms combine suitably.
The example
For : , whose second derivative is ; ; . The sum gives : Newton's law. This is no accident: , the usual Lagrangian plus a total time derivative, which is the subject of Problem 6.
Check the result
If does not depend on , the first term is zero and the ordinary Euler–Lagrange equation is left, with the opposite overall sign, which does not matter. Each of the three terms has the units of divided by .
Problem 6 (optional)#
Equivalent Lagrangians
MIT's extra problem, not for credit there; its 4 points here are our own and do not count for the score. Let be the Lagrangian of a particle with coordinate . Show that
In words
capital L prime equals capital L plus d capital F (q, t) over d t
gives the same Euler–Lagrange equation, for any differentiable function .
The box is our addition.
Hint
Write and put it into the Euler–Lagrange equation by itself.
Solution
The idea. The Euler–Lagrange expression is linear in , so it is enough to show that it gives zero for alone. Or, in Hamilton's principle: the integral of depends only on the ends, which are fixed.
Directly
The total derivative is . Its derivative with respect to is , whose total time derivative is . Its derivative with respect to is . The two are equal because mixed partial derivatives commute, so the Euler–Lagrange expression of is zero for every path.
From the action
. Varying with the ends fixed leaves the extra term unchanged, so , and the paths that make one stationary make the other stationary.
Check the result
The momentum changes, , but the equation of motion does not: a canonical momentum depends on the choice of Lagrangian, while the motion does not. Problem 5's example, , is the same idea with an that depends on too.