Lagrange multiplier

Also known as λ · lambda · constraint force · reaction force

In constrained Lagrangian mechanics, a Lagrange multiplier λ is the scalar (one per constraint) that enforces a holonomic constraint on the system. In multi-body dynamics it has a direct physical meaning — the joint reaction force, in Newtons, transmitted across that constraint. Exposing λ as a primary output of the dynamics solver gives engineers fatigue-relevant joint forces without post-processing or additional modelling.

The math

For a system with generalised coordinates q, Lagrangian L(q, q̇), and holonomic constraints C(q) = 0, the equations of motion derived from the principle of stationary action are:

d/dt (∂L/∂q̇) − ∂L/∂q + Cqᵀ λ = Q
C(q) = 0

where:

  • Cq = ∂C/∂q is the constraint Jacobian.
  • λ is the vector of Lagrange multipliers, one component per scalar constraint.
  • Q is the generalised non-conservative force.

The multiplier λ is whatever value is required to keep C(q) = 0 satisfied at every instant. It is determined uniquely by the constraint and the dynamics, not by a separate equation.

Physical meaning in MBSD

In constrained multi-body dynamics, each λ corresponds to a specific joint constraint:

  • Pin joint at point P → two scalar constraints (x and y match between the two bodies sharing the joint) → two λ values → these are the reaction force components at P, in Newtons.
  • Prismatic joint → one scalar constraint → one λ → the constraint force perpendicular to the prismatic axis.
  • Gear constraint → one scalar relating angular positions → one λ → the contact force scaled by the gear-mesh geometry.

The vector of Lagrange multipliers from the augmented mass-Jacobian solve is literally the list of joint reaction forces, in the natural units of the integrator (Newtons for force, Newton-metres for moment).

Why this matters in our pipeline

Most MBSD treatments either:

  • Compute reaction forces in a separate post-processing step using the acceleration field (introduces a derivative which amplifies numerical noise), or
  • Skip reaction-force reporting entirely in pedagogical examples.

We take the index-3 augmented system seriously and expose λ as a primary output at every integration step. The pay-off:

  • Bearing sizing uses the vector directly. No “estimate the peak from the geometry” step.
  • Fatigue-life analysis consumes the λ time series straight from the simulator output.
  • The joint-force overlay in our parallax assembly is an actual λ field — not a stylised representation.

λ in the four classical filters

The classical defect filters (Grashof, transmission angle, branch, order) work on geometry, not forces. But once a candidate clears the geometric filters, λ is the next layer of qualification:

  • A linkage with low μ near a precision point will produce large λ on the rocker pin — direct mechanical-advantage consequence.
  • A force-balanced counterweight design reduces shaking force at the ground pivots, observable directly in the λ time series at those pivots.
  • An over-stressed joint surfaces in the simulation before the prototype bench bends.

See also

FROM CONCEPT TO HARDWARE

Need this applied to your mechanism?

We turn these ideas into validated models, synthesis studies and Python tools your team can keep.