Open week: the whole portal is free until 11 December.
Subscribe

Home › Analytical mechanics

Analytical mechanics

Analytical mechanics: constraints and generalized coordinates, the principle of virtual work, d'Alembert's principle, Lagrange's equations, Hamilton's equations and the principle of least action, small oscillations, with a calculator. All chapters use the same example, so the results build on each other.

Calculator

CALCULATOR

Analytical mechanics calculator

Trolley with a pendulum, a two-degree-of-freedom system and the nonlinear pendulum.

LIST

Symbols and units

All symbols from the chapters and the calculator: name, unit and the chapter in which they are introduced.

Chapters

1

Constraints and generalized coordinates

Constraints and their classification, the number of degrees of freedom, generalized coordinates, possible and virtual displacements, ideal constraints.

✎ 3 problems
2

Principle of virtual work and d'Alembert

The principle of virtual work for the equilibrium of systems with ideal constraints, generalized forces, d'Alembert's principle and the general equation of dynamics.

✎ 3 problems
3

Lagrange's equations

Derivation of Lagrange's equations of the second kind, kinetic energy in generalized coordinates, the Lagrangian, non-conservative forces and the equations of the trolley with a load.

✎ 3 problems
4

Hamilton's equations and conservation laws

Generalized momenta, the Hamiltonian, canonical equations, cyclic coordinates, Noether's theorem, phase space and the principle of least action.

✎ 3 problems
5

Small oscillations

Linearization about a stable equilibrium, mass and stiffness matrices, natural frequencies and mode shapes, a two-degree-of-freedom system, the zero mode and the nonlinear pendulum.

✎ 3 problems

Practice problems

Every chapter ends with 3 problems with step-by-step solutions. Here is one from the first chapter:

Problem 1. ●○○ easy A winch on the trolley changes the rope length by a prescribed law l(t) (reeling in 0.5 m/s). How many degrees of freedom does the trolley-load system have in the plane, and what type are the constraints?

y = 0M = 200 kgm = 1000 kgθl(t)xn = ?

What is happening: The constraint is still an equation between coordinates (holonomic), but it now contains time explicitly – hence rheonomic. A prescribed length is not a new coordinate.

Show answer and solution

Solution idea: Count coordinates and constraints; check whether the constraint contains t.

Given: \(N = 2\ \text{points}\), \(l = l(t)\), \(\dot l = -0.5\ \text{m/s}\)

Find: \(n = ?\)

Symbols:

  • \(N\) – number of particles
  • \(l\) – rope length, m
  • \(t\) – time, s
  • \(\dot l\) – rope reeling speed, m/s
  • \(n\) – degrees of freedom
  • \(x_1\) – trolley x-coordinate, m
  • \(y_1\) – trolley y-coordinate, m
  • \(x_2\) – load x-coordinate, m
  • \(y_2\) – load y-coordinate, m
  • \(k\) – number of constraints
  • \(q_1\) – first generalized coordinate
  • \(x\) – trolley position (generalized coordinate), m
  • \(q_2\) – second generalized coordinate
  • \(\theta\) – rope angle from vertical (generalized coordinate), °, rad
  1. Coordinates and constraints:$$4\ \text{coordinates}:\ x_1, y_1, x_2, y_2;$$$$y_1 = 0$$$$(x_2 - x_1)^2 + y_2^2 = l(t)^2$$
  2. Degrees of freedom:$$\begin{aligned}n &= 2N - k \\ &= 4 - 2 \\ &= 2\end{aligned}$$$$\begin{aligned}(q_1 &= x,\ q_2 \\ &= \theta)\end{aligned}$$

Answer: n = 2 (x, θ); the rope constraint is holonomic and rheonomic

Sanity check: If the winch were free (no brake or motor), l would be a third coordinate and n = 3. A rheonomic constraint does work, so the load's total energy changes – the winch supplies it.

All problems of the first chapter →

Example

Example used throughout: a crane trolley with a load hanging on a rope (the same in every chapter of Analytical mechanics).
trolley mass M = 200 kg; load mass m = 1000 kg; rope length l = 4 m;
the trolley runs along a horizontal girder without friction; the rope is inextensible and massless.

✎ Report an error on this page