Constraints and Constraint Forces

Look around you and count the forces with formulas. Gravity has one: mgmg, always down. A spring has one: −kx-kx. But the chair holding you up, the floor pushing on your feet, the string suspending a lamp, the rails steering a train through a curve — none of these forces comes with a formula. There is no "law of the normal force," no equation that tells you in advance how hard a wire pushes on a bead. These forces are answers, not inputs: each one takes whatever value it must to keep a geometric promise — the block stays on the surface, the string stays taut, the wheel touches the road. The promise is called a constraint, and the force that enforces it is a constraint force. Constraints are also the greatest data-compression scheme in physics. A rigid pendulum is roughly 102310^{23} atoms, yet one angle θ\theta tells you everything, because internal constraints have frozen every other coordinate. Learning to count what survives — the degrees of freedom — and to solve for the enforcing forces is the daily bread of every mechanics problem harder than free fall: pulleys, wedges, rolling wheels, robots planting a foot. There is a deep structural payoff waiting at the end. Ideal constraint forces share one remarkable property — they do no work along any motion the constraint allows — and that single fact is the hinge on which all of analytical mechanics turns. Keep the constraint forces and you are doing Newton; learn to eliminate them and you are three steps from Lagrange.

Key takeaways
  • A constraint is a geometric or kinematic restriction on motion — bead on a wire, block on a surface, rolling without slipping — and a constraint force is whatever force the wire, surface, or string must exert to enforce it.
  • Constraint forces have no force law. They are unknowns, solved from Newton's second law together with the constraint equation, and they adjust instantly to the motion: N=mgcos⁡θN = mg\cos\theta on an incline, N>mgN > mg at the bottom of a loop, N=0N = 0 at the moment of takeoff.
  • Holonomic constraints are equations among coordinates, f(r1,…,t)=0f(\mathbf{r}_1,\dots,t)=0; each independent one removes exactly one degree of freedom: n=3N−kn = 3N - k.
  • Rolling without slipping, x˙=Rθ˙\dot x = R\dot\theta on a line, generalizes to velocity conditions that cannot be integrated into coordinate equations — non-holonomic constraints, where the reachable configurations depend on the path taken.
  • Ideal constraint forces do no virtual work: they point perpendicular to every allowed displacement, F(c)=λ ∇f\mathbf{F}^{(c)} = \lambda\,\nabla f. This is why energy methods work so well in constrained systems — the enforcers never bill you.
  • Unilateral constraints (surfaces push but cannot pull, strings pull but cannot push) switch off when their force would change sign — that is the physics of leaving the track and of slack ropes.
  • Key idea: a constraint confines the system to a lower-dimensional surface in configuration space; the constraint force is exactly the force required to keep it there, and for ideal constraints it points along the surface normal — so it does no work along any allowed motion.
The core insight

A constraint confines the system to a lower-dimensional surface in configuration space; the constraint force is exactly the force needed to keep the system on that surface, and for ideal constraints it points along the surface normal — so it does no virtual work.

Where this lives today

Every physics engine you have ever seen — game engines, robot simulators, animation software — is at heart a constraint-force solver. At each frame, the engine collects thousands of contacts, joints, and no-penetration conditions, writes them as F(c)=λ ∇f\mathbf{F}^{(c)} = \lambda\,\nabla f with unknown multipliers, and solves a large complementarity problem for the λ\lambda's: exactly our unilateral logic (N≥0N \ge 0, contact or no contact) industrialized. Simulators like MuJoCo — the standard training ground for 2026's humanoid-robot policies — spend most of their compute deciding what the constraint forces are, because the applied forces (gravity, motors) are the easy part. A walking robot is a constraint negotiation in real time: each planted foot is a unilateral, friction-limited contact, and the controller must keep every required friction force inside its μsN\mu_s N budget — our rolling-cylinder check, run a thousand times a second on a machine that falls over when the answer is no. Molecular dynamics plays the same game at the ångström scale. The fastest vibrations in a biomolecule (hydrogen bond stretches) would force absurdly small time steps, so simulation packages constrain those bond lengths rigidly and use SHAKE/RATTLE-type algorithms to compute the Lagrange multipliers — the interatomic constraint forces — that hold them fixed. A protein-folding simulation is, in this precise sense, a pendulum problem with a few hundred thousand strings.

The physical picture

Take stock of four systems you have met — a pendulum, a bead on a curved wire, a block on an incline, a wheel rolling down a slope — and ask of each: what force keeps the geometry honest? The string's tension keeps the bob at distance LL. The wire's sideways push keeps the bead on the curve. The incline's normal force keeps the block out of the ground. Static friction at the contact point keeps the wheel from slipping. Four different names, one job description: each force does whatever it takes, no more and no less, to enforce a geometric rule.

Figure
Four constraints and their enforcers — the constraint force in red, the allowed motion in blue
pendulum — tension along the string T v bead on a wire — sideways push F wire v block on incline — normal force N v rolling wheel — static friction at contact v f s adjusts to prevent slip contact point momentarily at rest

Now zoom out to the view that organizes everything. Describe the whole system by a single point in configuration space — one axis per coordinate of every particle. A constraint carves out a surface in that space, and the system's point is forbidden to leave it. The constraint force is the wall that confines the point, and like any ideal wall it pushes only perpendicular to itself, never along it. That one geometric sentence contains the two facts you will use a hundred times: the force's direction is fixed by the geometry (normal to the surface, along the string, at the contact point), while its magnitude is whatever the motion demands. This is why constraint forces feel slippery on first meeting: you cannot look them up. Gravity is prescribed; the normal force is negotiated. Press down on a table and it pushes back harder; jump, and for an instant it pushes not at all. The table is not consulting a formula — it is deforming microscopically, by exactly enough to stop your hand, and the "constraint" is our idealization of that stiff spring in the limit of zero give. Whenever you see an unknown NN, TT, or fsf_s in a problem, read it as a question the geometry will answer. The last piece of the picture is the no-work property. A gigantic normal force on a sliding block does zero work, because it is perpendicular to every displacement the block can actually make. A pendulum string's tension does zero work, because the bob always moves perpendicular to the string. The contact-point friction of pure rolling does zero work, because the point it acts on is instantaneously at rest. Ideal constraint forces are enforcers, not investors: they redirect motion without ever paying into or withdrawing from the kinetic-energy account. That is the property d'Alembert isolated, and it is the trapdoor through which constraint forces will later vanish from mechanics entirely.

The language of constraints

Before computing anything we need the grammar: what kinds of restriction exist, and how much freedom each one costs. The cleanest kind of constraint is a plain equation among coordinates. The pendulum's string enforces x2+y2−L2=0x^2 + y^2 - L^2 = 0; a bead on a parabola enforces y−ax2=0y - ax^2 = 0; a particle glued to a table enforces z=0z = 0. All of these fit one template:

f(r1,…,rN, t)=0(1)f(\mathbf{r}_1,\dots,\mathbf{r}_N,\,t) = 0 \qquad (1)

where: ri\mathbf{r}_i — the position of particle ii; ff — a smooth function whose zero set is the allowed surface; tt — time, present only if the constraint itself moves (a pendulum whose pivot is being cranked, an elevator floor). Constraints of this form are called holonomic — expressible as coordinate equations. If ff has no explicit tt the constraint is scleronomic (rigid, time-frozen); if tt appears it is rheonomic (the wall itself moves, and — watch this — a moving wall can do real work on you). Each independent holonomic equation flattens the accessible configuration space by one dimension. Count what survives and you have the single most useful planning number in mechanics — how many coordinates you will actually need:

n=3N−k(2)n = 3N - k \qquad (2)

where: nn — degrees of freedom; NN — number of particles; kk — number of independent holonomic constraints. A free particle has n=3n=3. A pendulum bob in a plane has 3−2=13 - 2 = 1: the angle θ\theta. A rigid body has n=6n = 6 no matter how many atoms it contains, because the enormous web of fixed-distance constraints is massively redundant — three numbers place the center of mass, three orient the body. When a problem hands you a tangle of pulleys and rods, computing nn first tells you exactly how many equations of motion you are ultimately solving for. Not every restriction is an equation among coordinates. A wheel rolling on a straight line must match its rim speed to its travel:

x˙=R θ˙(3)\dot x = R\,\dot\theta \qquad (3)

where: xx — position of the wheel's center; RR — its radius; θ\theta — its rotation angle. On a straight line this integrates at once to x=Rθ+constx = R\theta + \mathrm{const}, so it is secretly holonomic. But let the wheel steer — a coin free to roll and turn on a tabletop, a car in a parking lot — and the same no-slip rule becomes a velocity condition that no coordinate equation can capture. The proof is your own experience: a car cannot slide sideways (the constraint forbids it at every instant), yet by rolling forward, turning, and backing up, you can move the car sideways into a parallel-parking spot. Where you can get depends on the path, not just on the rules — the fingerprint of a non-holonomic constraint. Such constraints still remove freedom from the velocities, but not from the configurations, and they demand more careful machinery (Lagrange multipliers, or momentum methods) later on. Finally, the property that gives constraint forces their special status. Freeze time, and imagine any small displacement δri\delta\mathbf{r}_i of the particles that respects the constraints — a virtual displacement, a test wiggle along the allowed surface. Ideal constraint forces are exactly those that do no work under any such wiggle:

∑iFi(c)⋅δri=0(4)\sum_i \mathbf{F}^{(c)}_i \cdot \delta\mathbf{r}_i = 0 \qquad (4)

where: Fi(c)\mathbf{F}^{(c)}_i — the constraint force on particle ii; δri\delta\mathbf{r}_i — any virtual displacement consistent with the constraints at fixed time. Frictionless surfaces, inextensible strings, rigid rods, and the static-friction contact of pure rolling all pass this test; sliding (kinetic) friction fails it, which is precisely why kinetic friction must be carried as an ordinary applied force. For a single particle on a surface f(r)=0f(\mathbf{r})=0, equation (4) pins down the direction of the enforcer completely:

F(c)=λ ∇f(5)\mathbf{F}^{(c)} = \lambda\,\nabla f \qquad (5)

where: ∇f\nabla f — the gradient of the constraint function, which points normal to the surface f=0f=0; λ\lambda — an undetermined multiplier carrying the magnitude and sign, fixed only when you solve the equations of motion. Equation (5) is the mathematical form of "walls push perpendicular": the tangent directions are exactly the virtual displacements, and a vector orthogonal to all of them must lie along the normal. The number λ\lambda is the ancestor of the Lagrange multiplier you will meet in analytical mechanics — same object, grander machinery.

Which tool answers which question

you wantusenotes
how many coordinates a problem really hasn=3N−kn = 3N - k, eq. (2)count independent constraints first
the direction of a constraint forceF(c)=λ∇f\mathbf{F}^{(c)} = \lambda \nabla f, eq. (5)normal to surface, along string, at contact
the magnitude of a constraint forceNewton's second law + the constraint equationnever a force law — always solved
linked accelerations (pulleys, rods)differentiate the constraint equation twiceDerivation A below
rolling problemsx˙=Rθ˙\dot x = R\dot\theta, eq. (3) + torque equationfriction is the enforcer, Derivation C
whether contact survivessolve assuming contact, check the sign of NN or TTunilateral constraints switch off
Derivation AHow a pulley turns rope length into linked accelerations

We are deriving the kinematic heart of every pulley problem: the fixed length of an ideal rope is a holonomic constraint, and differentiating it twice converts geometry into a relation between accelerations — before any forces enter at all. The strategy is deliberately mechanical, because it scales to arbitrarily messy pulley networks: write the total rope length as a sum of segment lengths expressed in your coordinates, set its time derivatives to zero, and read off the velocity and acceleration relations. We do it for the two standard cases — a fixed pulley, then a movable one — and the thing to watch is the movable pulley, where two segments shorten together and a factor of 2 appears in the kinematics and, by no coincidence, disappears from the force.

Step 1. Fixed pulley: a rope of length ℓ\ell runs from block 1 (coordinate x1x_1 measured toward the pulley) over the wheel to hanging block 2 (coordinate y2y_2 measured downward). Ignoring the constant wrap length,

ℓ=x1+y2=const\ell = x_1 + y_2 = \mathrm{const}

Why we can ignore the wrap: the rope in contact with the wheel has fixed length as long as the rope does not stretch — constants die under the derivative anyway.

Step 2. Differentiate twice:

x˙1+y˙2=0⇒x¨1=− y¨2\dot x_1 + \dot y_2 = 0 \qquad\Rightarrow\qquad \ddot x_1 = -\,\ddot y_2

The two blocks share one acceleration magnitude. The pulley redirects the rope; the constraint transmits the kinematics unchanged.

Step 3. Movable pulley: anchor the rope to the ceiling, run it down and under a pulley that carries the load (coordinate ypy_p downward), then back up over a fixed pulley and down to the free end (coordinate yey_e downward). Two segments of lengths ≈yp\approx y_p each support the movable pulley:

ℓ=2 yp+ye=const\ell = 2\,y_p + y_e = \mathrm{const}

Why the 2: raising the movable pulley by 1 cm shortens both supporting segments by 1 cm each, so 2 cm of rope must appear at the free end.

Step 4. Differentiate twice:

2 y˙p+y˙e=0⇒y¨e=−2 y¨p2\,\dot y_p + \dot y_e = 0 \qquad\Rightarrow\qquad \ddot y_e = -2\,\ddot y_p

The free end moves twice as fast as the load. Because an ideal rope carries a single tension TT, the load feels 2T2T upward (two segments) while the free end feels TT — the classic mechanical advantage of 2, bought at the price of pulling twice the distance.

Step 5. The energy audit closes: the rope does work T⋅veT \cdot v_e at the free end and delivers 2T⋅vp=2T⋅ve2=T ve2T \cdot v_p = 2T \cdot \tfrac{v_e}{2} = T\,v_e to the load. The constraint force transmits power perfectly and keeps none — the ideal-constraint property (4) in action. The 2:1 velocity ratio and the factor-2 force advantage are consistent: power in equals power out, as an ideal constraint requires.

Figure
Movable pulley bookkeeping — two segments shorten together, so the free end moves twice as fast as the load
segment 1 segment 2 load load rises at v free end pulled at 2v one tension T everywhere in the rope — the load feels 2T, the hand feels T
Go deeper · Derivation B · 2 minThe block on a free wedge
Derivation BThe block on a free wedge

This is the constraint problem that separates plug-and-chug from real understanding, and a fixture of every serious exam. A block of mass mm slides down the frictionless face (angle θ\theta) of a wedge of mass MM, which itself rests on a frictionless floor — so the wedge recoils as the block descends. We are deriving the wedge's acceleration AA and the contact force NN between the two bodies. The strategy: treat each body with its own Newton equation and the unknown NN, then close the system with the constraint that the block stays on the wedge face — written, crucially, in terms of the block's motion relative to the wedge. The step to watch is exactly that: the block's slide happens along the face of an accelerating wedge, so relative and absolute accelerations must not be confused.

Step 1. Coordinates: let the wedge accelerate with AA (positive leftward, away from the face) and let the block accelerate arela_{\mathrm{rel}} down the face relative to the wedge. The block's absolute acceleration is the vector sum

ablock=A+arel\mathbf{a}_{\mathrm{block}} = \mathbf{A} + \mathbf{a}_{\mathrm{rel}}

with components ax=arelcos⁡θ−Aa_x = a_{\mathrm{rel}}\cos\theta - A (rightward) and ay=− arelsin⁡θa_y = -\,a_{\mathrm{rel}}\sin\theta (downward). Why this decomposition is the constraint: staying on the face means the block's motion relative to the wedge can only point along the face — the geometry has been encoded before any force appears.

Step 2. Newton for the block, with only gravity and the face-normal force NN acting:

Nsin⁡θ=m ax=m (arelcos⁡θ−A),mg−Ncos⁡θ=m arelsin⁡θN\sin\theta = m\,a_x = m\,(a_{\mathrm{rel}}\cos\theta - A), \qquad mg - N\cos\theta = m\,a_{\mathrm{rel}}\sin\theta

Why NN appears tilted: the face is inclined at θ\theta, so its normal leans θ\theta from the vertical — the horizontal component Nsin⁡θN\sin\theta pushes the block one way and, by Newton's third law, the wedge the other.

Step 3. Newton for the wedge, horizontally. The floor is frictionless and the only horizontal force on the wedge is the reaction Nsin⁡θN\sin\theta:

Nsin⁡θ=MAN\sin\theta = M A

Step 4. Three equations, three unknowns (AA, arela_{\mathrm{rel}}, NN). Eliminate NN using Step 3, then eliminate arela_{\mathrm{rel}}:

A=mg sin⁡θcos⁡θM+msin⁡2θ,arel=(M+m) gsin⁡θM+msin⁡2θ,N=Mm gcos⁡θM+msin⁡2θ(6)A = \frac{m g\,\sin\theta\cos\theta}{M + m\sin^2\theta}, \qquad a_{\mathrm{rel}} = \frac{(M+m)\,g\sin\theta}{M + m\sin^2\theta}, \qquad N = \frac{M m\,g\cos\theta}{M + m\sin^2\theta} \qquad (6)

where: the denominator M+msin⁡2θM + m\sin^2\theta is the effective inertia resisting the exchange of horizontal momentum. Note N<mgcos⁡θN < mg\cos\theta: the recoiling wedge partially drops away from the block, so the contact presses more gently than on a fixed incline — the constraint force adjusted itself to the actual motion.

Step 5. Sanity checks. As M→∞M \to \infty: A→0A \to 0 and arel→gsin⁡θa_{\mathrm{rel}} \to g\sin\theta — the fixed incline returns. As θ→0\theta \to 0: everything stops, A=0A = 0, N=mgN = mg. As θ→90∘\theta \to 90^\circ: N→0N \to 0 and arel→ga_{\mathrm{rel}} \to g — free fall beside a vertical wall. Horizontal momentum is conserved throughout: m ax=MAm\,a_x = M A term by term. As a numerical check: with M=4.0 kgM = 4.0\ \mathrm{kg}, m=1.0 kgm = 1.0\ \mathrm{kg}, θ=30∘\theta = 30^\circ, the formulas give A=1.00 m/s2A = 1.00\ \mathrm{m/s^2}, arel=5.77 m/s2a_{\mathrm{rel}} = 5.77\ \mathrm{m/s^2}, N=8.00 NN = 8.00\ \mathrm{N} (versus mgcos⁡θ=8.50 Nmg\cos\theta = 8.50\ \mathrm{N} on a fixed incline), and max=MA=4.00 Nm a_x = M A = 4.00\ \mathrm{N} confirms momentum conservation.

Figure
Block on a free wedge — the block slides along the face while the wedge recoils, and one normal force couples the two
M angle θ at the left corner m N on block N on wedge a rel, down the face wedge recoil A constraint: the block moves along the face of the moving wedge — one unknown N enforces it on both bodies at once
Go deeper · Derivation C · 2 minRolling without slipping and the friction that enforces it
Derivation CRolling without slipping and the friction that enforces it

Rolling is the everyday face of a velocity constraint, and its enforcer is static friction at the contact point. We are deriving the acceleration of a uniform solid cylinder (mass mm, radius RR, moment of inertia I=12mR2I = \tfrac12 m R^2) rolling without slipping down an incline of angle θ\theta, together with the friction force required and the steepness at which rolling must fail. The route: one translational Newton equation, one rotational equation about the center, and the rolling constraint x˙=Rθ˙\dot x = R\dot\theta to weld them together. The point to watch is the role reversal — friction here is not a given μN\mu N but an unknown constraint force, solved like any other; the coefficient μs\mu_s enters only at the end, as a budget the answer must fit inside.

Step 1. Translation along the incline, taking downhill positive; gravity drives, friction fsf_s (up the slope) resists slipping of the contact point:

mgsin⁡θ−fs=mam g\sin\theta - f_s = m a

Step 2. Rotation about the center of mass. Gravity and the normal force act through (or point at) the center, so only friction supplies torque:

fs R=I αf_s\,R = I\,\alpha

Why about the center: the center of mass is the one point about which the torque equation holds unmodified even while accelerating.

Step 3. The constraint enters. Rolling without slipping means the contact point has zero velocity, x˙=Rθ˙\dot x = R\dot\theta; differentiating once gives a=Rαa = R\alpha. Substitute into Step 2:

fs=I aR2f_s = \frac{I\,a}{R^2}

Why this is the constraint force: fsf_s is now expressed in terms of the motion it enforces — no friction law has been used, only geometry.

Step 4. Combine with Step 1 and solve:

a=gsin⁡θ1+ImR2=23 gsin⁡θ,fs=13 mgsin⁡θ(7)a = \frac{g\sin\theta}{1 + \dfrac{I}{mR^2}} = \frac{2}{3}\,g\sin\theta, \qquad f_s = \frac{1}{3}\,m g\sin\theta \qquad (7)

where: the factor 1+I/mR21 + I/mR^2 is the price of spinning up the wheel — part of gravity's pull is diverted from advancing the center to building rotation. For the solid cylinder (I/mR2=12I/mR^2 = \tfrac12) that price is a third of the driving force.

Step 5. The budget check that decides whether rolling survives. Static friction cannot exceed μsN=μsmgcos⁡θ\mu_s N = \mu_s m g\cos\theta, so rolling demands

13 mgsin⁡θ≤μs mgcos⁡θ⟺tan⁡θ≤3μs\frac{1}{3}\,m g\sin\theta \le \mu_s\,m g\cos\theta \qquad\Longleftrightarrow\qquad \tan\theta \le 3\mu_s

Steeper than that and the constraint force required exceeds the supply: the contact point breaks loose, kinetic friction takes over, and x˙=Rθ˙\dot x = R\dot\theta simply stops being true. A constraint is a contract, and contracts can be broken.

Step 6. The energy bookkeeping. The contact point — the material point the friction acts on — is instantaneously at rest, so fsf_s does zero work even though it decisively shapes the motion. That is why energy conservation, 12mv2+12Iω2=mgh\tfrac12 m v^2 + \tfrac12 I\omega^2 = mgh, works flawlessly for rolling despite friction being present the whole way down. As a check: at θ=30∘\theta = 30^\circ the formula gives a=3.27 m/s2a = 3.27\ \mathrm{m/s^2}, and the frictionless limit μs→0\mu_s \to 0 forces tan⁡θ→0\tan\theta \to 0 — a cylinder cannot roll on frictionless ice, it can only slide.

Limiting cases

caseresultmeaning
M→∞M \to \infty in the wedge problemA→0A \to 0, arel→gsin⁡θa_{\mathrm{rel}} \to g\sin\theta, N→mgcos⁡θN \to mg\cos\thetaan immovable wedge is the ordinary fixed incline — the free-wedge answer contains the textbook one
θ→0\theta \to 0 on any inclineN→mgN \to mg, all accelerations →0\to 0flat ground: the constraint force reduces to simple weight support
θ→90∘\theta \to 90^\circN→0N \to 0, motion →\to free falla vertical wall constrains nothing about falling — contact evaporates
μs→0\mu_s \to 0 for rollingrolling impossible; pure sliding with a=gsin⁡θa = g\sin\thetano enforcer, no constraint: the no-slip contract needs friction to sign it
constraint force reaches zero (unilateral)N=0N = 0 or T=0T = 0 marks departurea surface cannot pull, a string cannot push — beyond this point the body leaves the track or the rope goes slack
I/mR2→0I/mR^2 \to 0 (all mass at the axle)a→gsin⁡θa \to g\sin\theta, fs→0f_s \to 0nothing to spin up, so the rolling constraint costs nothing and needs no friction

Worked examples

1 · Two blocks and a pulley (confidence builder)

A block of mass m1=3.0 kgm_1 = 3.0\ \mathrm{kg} sits on a frictionless table, connected by a light string over an ideal pulley at the table's edge to a hanging block of mass m2=2.0 kgm_2 = 2.0\ \mathrm{kg}. Find the acceleration and the string tension.

Step 1. Count the unknowns. The motion unknowns are two accelerations and one tension — but the string's fixed length (Derivation A, fixed-pulley case) forces both blocks to share one acceleration magnitude aa. Two unknowns remain: aa and TT. Two Newton equations will close the problem.

Step 2. Newton for each body along its direction of motion. Table block, horizontal: T=m1aT = m_1 a. Hanging block, vertical (down positive): m2g−T=m2am_2 g - T = m_2 a.

Step 3. Add the equations — the constraint force TT cancels, exactly as an internal enforcer should:

m2g=(m1+m2) a⇒a=m2m1+m2 g=2.05.0×9.81=3.92 m/s2m_2 g = (m_1 + m_2)\,a \qquad\Rightarrow\qquad a = \frac{m_2}{m_1+m_2}\,g = \frac{2.0}{5.0} \times 9.81 = \mathbf{3.92\ m/s^2}

Step 4. Recover the constraint force from either equation: T=m1a=3.0×3.92=11.8 NT = m_1 a = 3.0 \times 3.92 = \mathbf{11.8\ N}. Cross-check with the other body: T=m2(g−a)=2.0×(9.81−3.92)=11.8 NT = m_2(g - a) = 2.0 \times (9.81 - 3.92) = 11.8\ \mathrm{N}. Consistent.

Step 5. Read the result like a physicist. T=11.8 NT = 11.8\ \mathrm{N} sits strictly between 00 and m2g=19.6 Nm_2 g = 19.6\ \mathrm{N}: the string pulls hard enough to drag m1m_1 forward but not hard enough to hold m2m_2 static — the constraint force found the one value that lets both bodies obey the same geometry. If someone had "looked up" T=m2gT = m_2 g, block 2 would never fall and block 1 would accelerate at 6.5 m/s26.5\ \mathrm{m/s^2} — two bodies, two different stories, and a snapped constraint.

2 · Sliding off a hemisphere — when the constraint lets go (exam level)

A child's marble starts from rest at the very top of a frictionless hemisphere of radius R=2.0 mR = 2.0\ \mathrm{m} (a playground dome) and slides down the outside. At what angle from the vertical does it leave the surface, how fast is it moving at that moment, and how far below the top is it?

Step 1. Set up the constraint while it lasts. On the dome the marble moves on a circle of radius RR, so at angle θ\theta from the vertical its radial (center-pointing) equation of motion reads mgcos⁡θ−N=mv2Rmg\cos\theta - N = \dfrac{m v^2}{R}, where NN is the outward normal force — the constraint force keeping the marble out of the dome.

Step 2. Get v(θ)v(\theta) from energy conservation — legitimate because the normal force is perpendicular to the motion and does no work: 12mv2=mgR (1−cos⁡θ)\tfrac12 m v^2 = m g R\,(1 - \cos\theta), so v2=2gR(1−cos⁡θ)v^2 = 2gR(1-\cos\theta).

Step 3. Solve for the constraint force as a function of angle:

N=mgcos⁡θ−mv2R=mg (3cos⁡θ−2)N = mg\cos\theta - \frac{m v^2}{R} = mg\,(3\cos\theta - 2)

The enforcer weakens as the marble speeds up: gravity's radial component must both hold the circle and feed the growing centripetal demand, and NN absorbs the slack.

Step 4. Apply the unilateral test. A dome can push but never pull, so contact survives only while N≥0N \ge 0. Departure happens at N=0N = 0:

cos⁡θ∗=23⇒θ∗=48.2∘\cos\theta^* = \frac{2}{3} \qquad\Rightarrow\qquad \theta^* = \mathbf{48.2^\circ}

Remarkably, the angle is universal — no mass, no radius, no planet enters.

Step 5. The numbers for R=2.0 mR = 2.0\ \mathrm{m}. Speed at departure: v2=2gR(1−23)=2gR3=2×9.81×2.03=13.08 m2/s2v^2 = 2gR(1 - \tfrac23) = \tfrac{2gR}{3} = \tfrac{2 \times 9.81 \times 2.0}{3} = 13.08\ \mathrm{m^2/s^2}, so v=3.6 m/sv = \mathbf{3.6\ m/s}. Height fallen: R(1−cos⁡θ∗)=2.0×13=0.67 mR(1-\cos\theta^*) = 2.0 \times \tfrac13 = \mathbf{0.67\ m}. From that point on the marble is a projectile — the constraint equation is deleted from the problem, and NN with it.

Step 6. Notice the method, because it recurs everywhere: solve assuming the constraint holds, watch the constraint force, and the moment it would change sign, switch problems. The same logic times a roller coaster cresting a hill (N=0N = 0 at v2=gRv^2 = gR), a car topping a rise, and cargo floating off a truck bed on a bump.

Where the ideas came from

Origins · 1 minJean le Rond d'Alembert and how this was discovered
JL
Jean le Rond d'Alembert
1717–1783 · Académie des Sciences, Paris

Abandoned as a newborn on the steps of the Saint-Jean-le-Rond chapel in Paris — the source of his name — d'Alembert rose to co-edit the Encyclopédie and to become the sharpest mechanician of the French Enlightenment. His Traité de dynamique (1743) recast Newton's law as a statement about equilibrium: move mam\mathbf{a} to the force side and every dynamics problem becomes a statics problem in which the applied forces, the "inertial force" −ma-m\mathbf{a}, and the constraint forces balance. The masterstroke was what he did with the constraint forces — nothing. By pairing his principle with virtual displacements, along which ideal constraint forces do no work, he made the unknowable enforcers cancel out of the equations entirely. Lagrange built the whole of analytical mechanics on that cancellation, calling his own masterpiece a development of d'Alembert's principle. Every time you solve a pulley system without ever computing the force in the axle, you are spending d'Alembert's inheritance.

History
1687
— Newton's Principia solves constrained problems one ingenious geometric trick at a time — the pendulum, the cycloid — with no general method for the forces of contact.
1743
— d'Alembert's Traité de dynamique turns dynamics into statics and shows that ideal constraint forces can be made to vanish from the equations by virtual work.
1788
— Lagrange's Mécanique analytique delivers the machinery in full: generalized coordinates absorb the constraints, and multipliers recover the constraint forces on demand.
1894
— Hertz's Prinzipien der Mechanik draws the decisive line between holonomic and non-holonomic constraints, naming the distinction and exposing rolling as fundamentally different.
1977
— Ryckaert, Ciccotti and Berendsen publish the SHAKE algorithm, turning constraint enforcement into a numerical workhorse that lets molecular-dynamics codes freeze bond lengths and take far larger time steps.

Going further

Texts. Morin, Introduction to Classical Mechanics, ch. 3 (F = ma with constraint-force examples) and ch. 8 (rolling) · Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §1.3–1.4 (constraints, d'Alembert's principle) · Taylor, Classical Mechanics, ch. 7 · Landau & Lifshitz, Mechanics, §1–§5 · Kleppner & Kolenkow, An Introduction to Mechanics, ch. 2–3. The key results collected here are: (1) movable-pulley kinematics y¨e=−2y¨p\ddot y_e = -2\ddot y_p, from differentiating the rope-length invariant 2yp+ye=const2y_p + y_e = \mathrm{const}; (2) free-wedge formulas A=mgsin⁡θcos⁡θ/(M+msin⁡2θ)A = mg\sin\theta\cos\theta/(M+m\sin^2\theta), arel=(M+m)gsin⁡θ/(M+msin⁡2θ)a_{\mathrm{rel}} = (M+m)g\sin\theta/(M+m\sin^2\theta), N=Mmgcos⁡θ/(M+msin⁡2θ)N = Mmg\cos\theta/(M+m\sin^2\theta), with the numeric case M=4.0M=4.0 kg, m=1.0m=1.0 kg, θ=30∘\theta=30^\circ giving A=1.00 m/s2A = 1.00\ \mathrm{m/s^2}, arel=5.77 m/s2a_{\mathrm{rel}} = 5.77\ \mathrm{m/s^2}, N=8.00 NN = 8.00\ \mathrm{N}; (3) rolling solid cylinder a=23gsin⁡θa = \tfrac23 g\sin\theta, fs=13mgsin⁡θf_s = \tfrac13 mg\sin\theta, slip threshold tan⁡θ≤3μs\tan\theta \le 3\mu_s using I=12mR2I = \tfrac12 mR^2; (4) hemisphere departure condition cos⁡θ∗=23\cos\theta^* = \tfrac23 (θ∗=48.2∘\theta^* = 48.2^\circ) with v=3.6 m/sv = 3.6\ \mathrm{m/s} and drop 0.67 m0.67\ \mathrm{m} for R=2.0R = 2.0 m; (5) two-block pulley a=3.92 m/s2a = 3.92\ \mathrm{m/s^2}, T=11.8 NT = 11.8\ \mathrm{N} for m1=3.0m_1 = 3.0 kg, m2=2.0m_2 = 2.0 kg. All numerical values use g=9.81 m/s2g = 9.81\ \mathrm{m/s^2}.

Builds on: Newton's Second Law · Newton's Third Law · Vectors, Coordinate Systems and Kinematics · Normal Force · Circular Motion and Centripetal Acceleration. Leads to: Generalized Coordinates and Configuration Space · D'Alembert's Principle · Lagrangian Mechanics · Rigid Body Dynamics.

How does the wire "know" exactly how hard to push on the bead?

Because it is not really rigid — it is a stupendously stiff spring. Push a bead against a real wire and the wire deflects by a microscopic amount, generating an elastic restoring force that grows until it stops further penetration. The stiffer the wire, the smaller the deflection needed to produce any required force. The "constraint" is the idealized limit of infinite stiffness: deflection →0\to 0 while the force remains finite and equal to whatever the motion demands. So nothing mysterious is being computed by the wire; you are watching a feedback loop (deflect →\to push back →\to stop deflecting) run to completion in nanoseconds. This is also why constraint idealizations can fail: a real wire has a maximum elastic force, and a fast enough bead bends the track.

Is friction a constraint force or an ordinary force? I have seen it on both sides.

It depends on which friction. Static friction enforcing rolling-without-slipping is a genuine constraint force: its value is unknown in advance, solved from the equations of motion (we got fs=13mgsin⁡θf_s = \tfrac13 mg\sin\theta with no friction law at all), it acts at a point that is instantaneously at rest, and it does no work — all the ideal-constraint credentials. The coefficient μs\mu_s enters only as an after-the-fact budget check. Kinetic friction is the opposite in every respect: its magnitude is prescribed by the law fk=μkNf_k = \mu_k N, it acts along relative sliding, and it dissipates energy. That is why sliding friction must be carried as an applied force and breaks the no-virtual-work property, while rolling problems can use energy conservation freely.

If the tension does no work, why do my arms burn when I hold a heavy bag still?

Two different ledgers are being consulted. In the mechanics ledger, a force does work only when its application point moves along it — a motionless bag means zero mechanical work, full stop. Your burning arms are in the physiology ledger: skeletal muscle holds a static force by continuously cycling molecular motors (myosin heads attaching, pulling, detaching), each cycle consuming chemical energy that ends up as heat. You are paying to maintain a force, not to do work with it. A table holds the same bag for free because its atoms sustain the force with static elastic strain, no cycling required. The physics point survives the sore arms: the tension in an ideal string transfers energy between bodies perfectly and keeps none for itself.

What exactly goes wrong when I try to integrate the rolling constraint for a steerable wheel?

The no-slip conditions for a wheel that can steer are velocity relations that tangle the heading angle into the position rates — schematically, x˙=Rϕ˙cos⁡ψ\dot x = R\dot\phi\cos\psi, y˙=Rϕ˙sin⁡ψ\dot y = R\dot\phi\sin\psi, where ψ\psi is the heading. To integrate these into a coordinate equation you would need the heading history ψ(t)\psi(t), which is not determined by the configuration — it is chosen by the driver. Different paths between the same start and end configurations wind up the wheel differently, so no function f(x,y,ϕ,ψ)=0f(x, y, \phi, \psi) = 0 can encode the rule. The physical signature is that you can reach any configuration despite the constraint (parallel parking works), whereas a holonomic constraint permanently walls off part of configuration space. Constraints that restrict velocities but not reachable configurations are the defining case of non-holonomic.

Can a constraint force ever do real work on the system?

Yes — when the constraint itself moves (rheonomic). Stand in an elevator accelerating upward: the floor's normal force is a constraint force, and it does very real work on you, which is why your kinetic and potential energy increase. The subtlety is the difference between virtual and actual displacements. Virtual displacements are taken at frozen time, tangent to the constraint surface as it is at this instant, and the ideal constraint force is perpendicular to those — that is equation (4), and it holds even in the elevator. But the actual displacement over time includes the motion of the surface itself, and along that component the constraint force can do work. Practical consequence: energy conservation may fail in systems with moving constraints even when every contact is frictionless, and d'Alembert's principle survives because it only ever invokes frozen-time displacements.

Why does a rigid body have exactly six degrees of freedom when it contains astronomically many distance constraints?

Because the constraints are massively redundant. For NN atoms, formula (2) would read 3N−k3N - k, but the (N2)\binom{N}{2} fixed-distance conditions are far from independent: once you pin atom 1 (three numbers), fix atom 2's distance from it (two remaining numbers), and fix atom 3's distances from both (one number), every further atom is fully located by its distances to those three. Count what was actually free: 3+2+1=63 + 2 + 1 = 6. The same six survive for N=1023N = 10^{23} — three for where the body is (center of mass) and three for how it is oriented. This is the compression theorem that makes rigid-body dynamics possible at all: the internal constraint forces (interatomic bonds) do no net work and never appear; six coordinates carry everything.

How do I decide when a block leaves a surface or a string goes slack?

Solve the problem assuming the constraint holds, keep the constraint force as an explicit unknown, and watch its sign. Surfaces are one-way enforcers: N≥0N \ge 0 (push only). Strings too: T≥0T \ge 0 (pull only). The moment your solution would require N<0N < 0 — the surface pulling the body down to stay in contact — the real body has already left; the moment T<0T < 0 the real string has gone slack. The boundary case is the physics: N=0N = 0 gave the hemisphere departure at cos⁡θ=23\cos\theta = \tfrac23, and T=0T = 0 at the top of a vertical circle gives the minimum speed v=gRv = \sqrt{gR} for the string to stay taut. After the switch, delete the constraint and its force from the equations and re-solve — usually as projectile motion.

What is the difference between the constraint force and the Lagrange multiplier λ?

None in content, only in packaging. Equation (5), F(c)=λ ∇f\mathbf{F}^{(c)} = \lambda\,\nabla f, splits the constraint force into a known direction (∇f\nabla f, the normal to the constraint surface) and an unknown scalar λ\lambda that carries magnitude and sign. In the Newtonian approach you solve for the force components directly; in the Lagrangian approach you eliminate the constraint forces first (they do no virtual work, so they drop out) and, if you want them back — an engineer sizing a bearing, a chemist checking a bond force — you reintroduce λ\lambda as an extra unknown alongside the coordinates. Solving then delivers the motion and the multiplier together, and λ ∇f\lambda\,\nabla f is the constraint force you skipped. The multiplier is the constraint force, wearing analytical-mechanics clothing.

Do I actually need d'Alembert or Lagrange to solve pulley and wedge problems?

No — everything on this page used only Newton's laws plus constraint equations, and for one or two bodies that is often the fastest route, especially when you want the constraint forces. The analytical machinery pays off as the count grows. A double pendulum has two degrees of freedom but six Cartesian coordinates and four constraint-force components; Newton makes you carry all of them, Lagrange lets you write two equations in two angles and never mention a tension. The rule of thumb: constraint forces wanted, or few bodies — Newton. Many constraints, curvilinear geometry, or only the motion wanted — generalized coordinates. Knowing both lets you choose per problem, and the choice is exactly the strategic question this article's overview promised.

Before this

Where this leads