Classical MechanicsBSc · Notes

1. Bring acceleration into virtual work

The virtual-work principle found the condition for an Atwood machine to remain in equilibrium: equal masses. When the masses are unequal, the system accelerates. The geometry and tension cancellation have not changed. What changes is the balance equation from which we start.

D’Alembert's principle uses Newton's equation and the same virtual projection to obtain dynamics without explicitly solving for ideal reactions. This is the final step of Unit 1 and the direct conceptual bridge to Lagrangian mechanics.

Prerequisites: Newton's second law, Chapters 4–5, and the pendulum tangent direction. All calculations here use an inertial frame and constant particle masses.

In equilibrium, applied forces have no resultant tendency along allowed directions. In motion, that tendency is not zero: it produces mass times acceleration. D’Alembert's principle projects their difference onto the allowed directions.

2. Derivation of D’Alembert’s principle

Consider constant-mass particles in an inertial frame. Write each total force as the sum of an applied force Fa\mathbf F_a and constraint reaction Ra\mathbf R_a. Assume the reactions have zero total virtual work for all admissible virtual displacements.

For particle aa,

Fa+Ra=maaa.\mathbf F_a+\mathbf R_a=m_a\mathbf a_a.(6.1)

Move the acceleration term to the force side:

Fa−maaa+Ra=0.\mathbf F_a-m_a\mathbf a_a+\mathbf R_a=0.(6.2)

This has the algebraic appearance of force balance. The term −maaa-m_a\mathbf a_a is sometimes called D’Alembert's inertial force. In this inertial-frame derivation it is not a new interaction from another body, nor a Newton's-third-law partner. It is the acceleration term rewritten.

Take the dot product with δra\delta\mathbf r_a and sum over particles:

∑a(Fa−maaa)⋅δra+∑aRa⋅δra=0.\sum_a(\mathbf F_a-m_a\mathbf a_a)\cdot\delta\mathbf r_a+\sum_a\mathbf R_a\cdot\delta\mathbf r_a=0.(6.3)

The last sum is zero by ideality. The result is

∑a=1N(Fa−maaa)⋅δra=0.\boxed{\sum_{a=1}^{N}(\mathbf F_a-m_a\mathbf a_a)\cdot\delta\mathbf r_a=0.}(6.4)

This equation must hold for every admissible virtual displacement at the instant considered. With constant mass, maaa=p˙am_a\mathbf a_a=\dot{\mathbf p}_a, so the momentum form replaces maaam_a\mathbf a_a by p˙a\dot{\mathbf p}_a.

Only the components of applied force minus momentum change along permitted directions survive. Normal reactions disappear because their virtual work vanishes, not because the motion has no normal acceleration.

At static equilibrium, every acceleration is zero and the formula reduces to the principle of virtual work. For an unconstrained particle, δr\delta\mathbf r may point in any direction. Therefore the vector coefficient must vanish, recovering F=ma\mathbf F=m\mathbf a.

3. Generalized-coordinate form

Assume independent generalized coordinates for ideal holonomic constraints. Substitute δra=∑i(∂ra/∂qi)δqi\delta\mathbf r_a=\sum_i(\partial\mathbf r_a/\partial q_i)\delta q_i into D’Alembert's principle and collect variations:

∑i[Qi−∑amaaa⋅∂ra∂qi]δqi=0.\sum_i\left[Q_i-\sum_a m_a\mathbf a_a\cdot\frac{\partial\mathbf r_a}{\partial q_i}\right]\delta q_i=0.(6.5)

Since the δqi\delta q_i are independent, each coefficient must vanish:

Qi=∑amaaa⋅∂ra∂qi.\boxed{Q_i=\sum_a m_a\mathbf a_a\cdot\frac{\partial\mathbf r_a}{\partial q_i}.}(6.6)

This is a usable equation of motion. The expression on the right is an inertial contribution appropriate to the chosen coordinate. It is not always simply “mass times q¨i\ddot q_i.” Angles introduce length factors, curved coordinates introduce geometrical terms, and coupled coordinates can involve several accelerations.

For dependent or non-holonomic variations, one cannot set every displayed coefficient to zero independently. That shortcut is restricted to independent generalized coordinates with the assumed admissible variations.

4. Applications

Example 1 · Horizontal mass–spring motion

A mass mm moves on a smooth horizontal line and is attached to a spring of stiffness kk. Let xx denote its displacement from equilibrium. The spring supplies the only force component along the permitted motion.

Use δr=(δx,0)\delta\mathbf r=(\delta x,0); vertical weight and support reaction contribute no work along it. The horizontal force is −kx-kx. D’Alembert's principle gives (−kx−mx¨)δx=0(-kx-m\ddot x)\delta x=0 for every δx\delta x. Hence

mx¨+kx=0.m\ddot x+kx=0.(6.7)

For m=2 kgm=2\,\mathrm{kg} and k=18 N m−1k=18\,\mathrm{N\,m^{-1}}, x¨+9x=0\ddot x+9x=0 and angular frequency ω=3 s−1\omega=3\,\mathrm{s^{-1}}. The acceleration opposes extension, so the sign is restoring. The general solution x=Acos⁡ωt+Bsin⁡ωtx=A\cos\omega t+B\sin\omega t follows by differentiating twice and substituting; initial position and velocity fix AA and BB.

The corresponding energies are T=12mx˙2T=\tfrac12m\dot x^2, V=12kx2V=\tfrac12kx^2. These expressions will provide an alternative route to the equation of motion in Unit 2.

Example 2 · Motion on an inclined plane

A block of mass mm slides on a smooth incline at angle α\alpha. Choose qq increasing down the slope, so that positive acceleration corresponds to downward motion.

Let t^\hat{\mathbf t} be the constant unit vector down the plane. Then δr=t^δq\delta\mathbf r=\hat{\mathbf t}\delta q and a=t^q¨\mathbf a=\hat{\mathbf t}\ddot q. The component of gravity along the slope is mgsin⁡αmg\sin\alpha; the normal reaction is perpendicular. D’Alembert gives (mgsin⁡α−mq¨)δq=0(mg\sin\alpha-m\ddot q)\delta q=0, so

q¨=gsin⁡α.\ddot q=g\sin\alpha.(6.8)

For α=30∘\alpha=30^\circ, acceleration is 4.9 m s−24.9\,\mathrm{m\,s^{-2}} with g=9.8 m s−2g=9.8\,\mathrm{m\,s^{-2}}. The mass cancels. A horizontal plane gives zero downhill acceleration.

If kinetic friction of magnitude μfmgcos⁡α\mu_fmg\cos\alpha acts uphill while the block slides down, include it explicitly: q¨=g(sin⁡α−μfcos⁡α)\ddot q=g(\sin\alpha-\mu_f\cos\alpha). This expression applies only during that assumed sliding direction. Static friction requires its own inequality and cannot be assigned the kinetic value automatically.

Example 3 · Dynamics of the Atwood machine

Two masses m1,m2m_1,m_2 are connected by a taut, massless, inextensible string over an ideal fixed pulley. Take q=x1q=x_1 downward for mass 1. The string constraint then gives x2=b−qx_2=b-q, allowing the motion to be described by one coordinate.

Then δx1=δq\delta x_1=\delta q, δx2=−δq\delta x_2=-\delta q, x¨1=q¨\ddot x_1=\ddot q, and x¨2=−q¨\ddot x_2=-\ddot q. The string tensions cancel in total virtual work. Keeping gravity as applied force gives

(m1g−m1q¨)δq+[m2g−m2(−q¨)](−δq)=0.(m_1g-m_1\ddot q)\delta q+[m_2g-m_2(-\ddot q)](-\delta q)=0.(6.9)

Expand the second term before collecting: it is −m2gδq−m2q¨δq-m_2g\delta q-m_2\ddot q\delta q. Therefore

[(m1−m2)g−(m1+m2)q¨]δq=0,[(m_1-m_2)g-(m_1+m_2)\ddot q]\delta q=0,(6.10)

and the acceleration is

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

For m1=3 kgm_1=3\,\mathrm{kg} and m2=2 kgm_2=2\,\mathrm{kg}, q¨=1.96 m s−2\ddot q=1.96\,\mathrm{m\,s^{-2}} downward for mass 1. To recover tension, use Newton's equation for that mass: m1g−T=m1q¨m_1g-\mathcal T=m_1\ddot q. Hence T=m1(g−q¨)=23.52 N\mathcal T=m_1(g-\ddot q)=23.52\,\mathrm N. In general, T=2m1m2g/(m1+m2)\mathcal T=2m_1m_2g/(m_1+m_2).

Equal masses give zero acceleration. For positive masses, ∣q¨∣<g|\ddot q|<g. Reversing the mass labels reverses the acceleration sign. The corresponding energies are T=12(m1+m2)q˙2T=\tfrac12(m_1+m_2)\dot q^2 and, up to a constant, V=−(m1−m2)gqV=-(m_1-m_2)gq.

Example 4 · Exact equation of pendulum motion

A bob of mass mm is attached to a fixed pivot by a rod of length aa and moves in a vertical plane under gravity. With θ\theta measured from the downward vertical, the equation of motion follows from projection onto the tangent direction.

Use r=(asin⁡θ,−acos⁡θ)\mathbf r=(a\sin\theta,-a\cos\theta) and δr=(acos⁡θ,asin⁡θ)δθ\delta\mathbf r=(a\cos\theta,a\sin\theta)\delta\theta. Differentiate the velocity components from Chapter 4:

x¨=acos⁡θθ¨−asin⁡θθ˙2,\ddot x=a\cos\theta\ddot\theta-a\sin\theta\dot\theta^2,(6.12)
y¨=asin⁡θθ¨+acos⁡θθ˙2.\ddot y=a\sin\theta\ddot\theta+a\cos\theta\dot\theta^2.(6.13)

Project acceleration onto ∂r/∂θ\partial\mathbf r/\partial\theta:

a⋅∂r∂θ=a2cos⁡2θθ¨−a2sin⁡θcos⁡θθ˙2+a2sin⁡2θθ¨+a2sin⁡θcos⁡θθ˙2.\mathbf a\cdot\frac{\partial\mathbf r}{\partial\theta}=a^2\cos^2\theta\ddot\theta-a^2\sin\theta\cos\theta\dot\theta^2+a^2\sin^2\theta\ddot\theta+a^2\sin\theta\cos\theta\dot\theta^2.(6.14)

The two velocity-squared terms cancel; the squared-trigonometric terms sum to one. The projection is therefore a2θ¨a^2\ddot\theta. Gravity gives Qθ=(0,−mg)⋅(acos⁡θ,asin⁡θ)=−mgasin⁡θQ_\theta=(0,-mg)\cdot(a\cos\theta,a\sin\theta)=-mga\sin\theta. The generalized D’Alembert equation becomes −mgasin⁡θ=ma2θ¨-mga\sin\theta=ma^2\ddot\theta, yielding

θ¨+gasin⁡θ=0.\boxed{\ddot\theta+\frac ga\sin\theta=0.}(6.15)

This equation is exact within the ideal model. For ∣θ∣≪1|\theta|\ll1 in radians, sin⁡θ≈θ\sin\theta\approx\theta, giving simple harmonic motion with ω=g/a\omega=\sqrt{g/a}. This approximation must not be used for large angles without checking its accuracy.

Only tangential acceleration survives the projection. Radial centripetal acceleration is present physically but is removed from this equation by the chosen tangent variation. If tension is needed afterward, radial Newtonian balance gives T=maθ˙2+mgcos⁡θ\mathcal T=ma\dot\theta^2+mg\cos\theta for a string, and the taut-string condition must be checked.

The corresponding energies are T=12ma2θ˙2T=\tfrac12ma^2\dot\theta^2 and V=mga(1−cos⁡θ)V=mga(1-\cos\theta) when the lowest point is the potential reference.

mgpositive tangentreactionθTangential gravity:−mg sin θTangential acceleration:a θ̈
Figure 6.1 · Tangent projection removes the rod reaction and radial acceleration. The downward gravitational force has a restoring tangential component.

5. Why this leads naturally to Lagrangian mechanics

The pendulum and Atwood calculations eliminated the reactions successfully, but still required explicit accelerations in Cartesian form. That becomes lengthy for several coordinates. We would like a way to assemble the inertial terms from one scalar quantity, kinetic energy, and conservative applied forces from another, potential energy.

The velocity identities derived in Chapter 4 provide that bridge. Unit 2 will use TT, VV, and L=T−VL=T-V to obtain equations in the chosen coordinates directly. The physical system has not changed; the organization of the calculation has improved.

6. Scope of the dynamical projection

D’Alembert's principle does not turn a moving system into an actual static one. It writes a dynamical identity in a force-balance form. Do not say the acceleration is zero after introducing the inertial term.

Do not erase friction with the normal reaction. Do not set coefficients of dependent variations to zero separately. Do not assume aa=q¨ie^i\mathbf a_a=\ddot q_i\hat{\mathbf e}_i in curved coordinates. The pendulum example shows the additional velocity-squared components explicitly.

If an accelerating reference frame is used, its appropriate fictitious forces must first be included consistently. All main derivations here use an inertial frame, so that separate complication is unnecessary.

7. Practice problems

See Chapter 6 hints and solutions.

  1. 6.1 Is −ma-m\mathbf a a new physical interaction in the inertial-frame derivation?

  2. 6.2 What does D’Alembert's principle become in static equilibrium?

  3. 6.3 Can an ideal reaction enforce nonzero normal acceleration?

  4. 6.4 When may coefficients of δqi\delta q_i be set to zero separately?

  5. 6.5 Explain why the principle is a reformulation of Newton's law rather than a replacement physical law.

  6. 6.6 Why does the Atwood acceleration involve the sum of the masses in the denominator?

  7. 6.7 How can a reaction eliminated from the motion equation be calculated afterward?

  8. 6.8 Derive D’Alembert's principle and its generalized-coordinate form, stating the role of ideality and independence.

  9. 6.9 Derive the exact pendulum equation by projecting the Cartesian acceleration onto the virtual displacement.

  10. 6.10 An Atwood machine has masses 5 kg5\,\mathrm{kg} and 3 kg3\,\mathrm{kg}. Find acceleration and tension for g=9.8 m s−2g=9.8\,\mathrm{m\,s^{-2}}.

  11. 6.11 A smooth incline makes 20∘20^\circ with the horizontal. Find the downhill acceleration for g=9.8 m s−2g=9.8\,\mathrm{m\,s^{-2}}.

  12. 6.12 A 0.25 kg0.25\,\mathrm{kg} mass is attached to a spring with k=9 N m−1k=9\,\mathrm{N\,m^{-1}}. Find the motion if x(0)=0.04 mx(0)=0.04\,\mathrm m and x˙(0)=0\dot x(0)=0.

  13. 6.13 State, derive, and interpret D’Alembert's principle. Apply it to an Atwood machine, including checks on your result.

  14. 6.14 Explain the connected route from constraints to D’Alembert's principle and why a Lagrangian description is useful next.

  15. 6.15 Add a constant horizontal force PP to the pendulum. Obtain the exact angular equation and show that its equilibrium agrees with Chapter 5.

  16. 6.16 A particle slides on the fixed parabola y=cx2y=cx^2 under gravity. With q=xq=x, derive its equation of motion using generalized D’Alembert, including the velocity-squared term.

8. From force balance to energy methods

D’Alembert's principle retains Newton's dynamics while projecting the equations onto admissible displacement directions. It removes ideal reactions, but does not remove the physical normal acceleration or turn motion into static equilibrium. Reactions can be recovered afterward from the components of Newton's equations that were not retained in the projection.

The calculations for the Atwood machine and pendulum show both the usefulness and the remaining labour of this approach. The geometry is already encoded in the coordinates, yet Cartesian accelerations still have to be differentiated and projected. Expressing these inertial terms through kinetic energy leads to the Lagrangian formulation, developed in Unit 2. The Unit 1 problems collect applications of the present method.

Reading progress is saved on this device.

Search the notes

Search all four units and the course references.