Rayleigh Dissipation Function

Lagrangian mechanics has a dirty secret: it describes a world that does not exist. Every pendulum it swings, swings forever; every orbit it closes, closes exactly. The formalism inherits this immortality from its foundation — Hamilton's principle only speaks about forces that come from a potential, and friction stubbornly refuses to be one. Yet look around: every clock winds down, every bridge cable hums itself quiet, every circuit warms its resistor. If analytical mechanics could not price this universal tax, engineers would have abandoned it in the nineteenth century. Lord Rayleigh's 1873 repair is a masterpiece of minimalism. For the enormous class of forces linear in velocity — Stokes drag, dashpots, electrical resistance, viscous structural damping — he packaged all of friction into one scalar function F\mathcal{F}, quadratic in the generalized velocities, exactly as potential energy packages all conservative forces into one scalar UU. Where the potential generates forces by a position-gradient, the dissipation function generates friction by a velocity-gradient, and the Euler–Lagrange equations acquire a single new term on the right-hand side. Generalized coordinates, cyclic-coordinate bookkeeping, the whole machine — everything survives. The function even audits itself: 2F2\mathcal{F} is precisely the rate at which mechanical energy is converted to heat, so the energy ledger of any damped system reads E˙=−2F\dot E = -2\mathcal{F}, no equation-solving required. That factor of two, the strict linear-in-velocity fine print, and the reason a positive F\mathcal{F} is the second law wearing mechanics' clothes are this article's business.

Key takeaways
  • Hamilton's principle handles only monogenic forces; friction linear in velocity needs one extra structure — Rayleigh's dissipation function F=12∑ijcij q˙iq˙j\mathcal{F} = \tfrac12\sum_{ij} c_{ij}\,\dot q_i\dot q_j, a positive-semidefinite quadratic form in the generalized velocities.
  • Its velocity-gradient is the frictional generalized force, Qjdiss=−∂F/∂q˙jQ_j^{\text{diss}} = -\partial\mathcal{F}/\partial\dot q_j, exactly mirroring how −∂U/∂qj-\partial U/\partial q_j generates conservative forces.
  • The equations of motion become ddt∂L∂q˙j−∂L∂qj=−∂F∂q˙j\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_j} - \frac{\partial L}{\partial q_j} = -\frac{\partial \mathcal{F}}{\partial \dot q_j} — one new term, all other Lagrangian machinery intact.
  • The energy audit is built in: dE/dt=−2F\mathrm{d}E/\mathrm{d}t = -2\mathcal{F}. The dissipated power is twice the dissipation function — Euler's theorem on degree-2 homogeneous functions supplies the 2.
  • Scope is strict: viscous (linear) damping only. Coulomb dry friction and quadratic air drag have no quadratic F\mathcal{F} and must enter as bare generalized forces.
  • Key idea: define a positive-semidefinite quadratic form in the generalized velocities, F=12∑ijcijq˙iq˙j\mathcal{F}=\tfrac12\sum_{ij}c_{ij}\dot q_i\dot q_j; its velocity-gradient is the dissipative generalized force, the equations of motion become ddt(∂L/∂q˙j)−∂L/∂qj=−∂F/∂q˙j\tfrac{\mathrm{d}}{\mathrm{d}t}(\partial L/\partial\dot q_j)-\partial L/\partial q_j=-\partial\mathcal{F}/\partial\dot q_j, and 2F2\mathcal{F} is the rate of energy loss.
The core insight

Define a positive-semidefinite quadratic form in the generalized velocities, F=12∑ijcijq˙iq˙j\mathcal{F}=\tfrac12\sum_{ij}c_{ij}\dot q_i\dot q_j. Its velocity-gradient is the dissipative generalized force, so the equations of motion become ddt(∂L/∂q˙j)−∂L/∂qj=−∂F/∂q˙j\tfrac{\mathrm{d}}{\mathrm{d}t}(\partial L/\partial\dot q_j)-\partial L/\partial q_j=-\partial\mathcal{F}/\partial\dot q_j, and 2F2\mathcal{F} is the rate of energy loss.

Where this lives today

Open any commercial finite-element package — the solvers that certify buildings against earthquakes, hulls against slamming, or launch vehicles against acoustic loads — and the damping input panel asks for two numbers: α\alpha and β\beta. Equation (7) is not a historical footnote; it is the default damping model of the global simulation industry, because proportional damping is the unique cheap ansatz that lets a million-DOF model decouple into independent damped modes. Seismic design codes effectively legislate worked example 2: engineers anchor the Rayleigh curve on the structure's dominant modes and must then check that no safety-relevant mode falls into the bathtub's under-damped sag. The same (L,F)(L, \mathcal{F}) pair runs quieter revolutions elsewhere: MEMS gyroscope and resonator designers engineer F\mathcal{F} downward (quality factors above 10610^6) to starve the drain in equation (4), while vehicle suspension models put dashpots between coordinates exactly as in Derivation D. The deepest modern echo is conceptual. Rayleigh's function presumes that macroscopic friction is linear in velocity — and the fluctuation-dissipation theorem (1951) explains why that presumption works so widely: linear response of any system near thermal equilibrium ties the damping matrix cijc_{ij} to the spectrum of its microscopic fluctuations. The same mathematics now appears at the frontier of machine learning for physics, where "dissipative Lagrangian" and port-Hamiltonian neural networks learn a system's LL and F\mathcal{F} separately from data — reversible physics in one scalar, irreversible physics in the other — precisely Rayleigh's 1873 division of labor, rediscovered as an inductive bias for AI.

The physical picture

Think about what the potential energy actually does for you. Before UU, a conservative force was three components per particle, tangled with geometry; after UU, it is one scalar landscape whose downhill direction is the force. Rayleigh's move is the same compression applied to friction — with one twist. Friction does not care where you are; it cares how fast you move. So the landscape must be built over velocity space, and the force must be its downhill direction there: Qjdiss=−∂F/∂q˙jQ_j^{\text{diss}} = -\partial\mathcal{F}/\partial\dot q_j. Stand still anywhere and the landscape is flat — no drag. Move, and you climb the paraboloid; the faster you go, the steeper the wall, and the harder friction shoves you back toward the origin of velocity space, which is rest.

Figure
Where the energy goes — the mass-spring-dashpot system and its draining ledger
the hardware spring k dashpot b m velocity spring stores and returns energy; only the dashpot destroys it, at rate b times velocity squared the ledger t E drain rate = 2F mechanical energy can only fall while the system moves: dE/dt equals minus twice the dissipation function

The paraboloid picture is worth carrying around explicitly. At any instant, evaluate F\mathcal{F} at the system's current velocities: that single number is half the power currently leaving the mechanical world. The gradient of the paraboloid at that point, reversed, is the entire frictional force ledger, distributed correctly over every coordinate. And because a quadratic bowl has its minimum — zero — at the origin, three facts arrive at once: friction vanishes at rest, always opposes motion, and can only ever remove energy. That last one is the second law of thermodynamics smuggled into mechanics as a convexity statement: the positive-semidefiniteness of the coefficient matrix cijc_{ij} is what forbids a dashpot from spontaneously flinging the mass into faster motion.

Figure
The dissipation paraboloid — friction is steepest descent in velocity space
one coordinate: the bowl velocity F force = downhill height = half the power lost two coordinates: the contours q̇₁ q̇₂ −∇F force current velocity contours of F; friction always points down the bowl, toward rest at the center

One more orientation point before the machinery. The dissipation function is not part of the Lagrangian and never will be — friction has no action principle in the ordinary sense. F\mathcal{F} lives beside LL as a second scalar, and the pair (L,F)(L, \mathcal{F}) specifies the dynamics completely. This is the honest division of labor that d'Alembert's principle already promised: monogenic forces flow through the Lagrangian; the rest enter as generalized forces, and Rayleigh's contribution is that for linear friction those generalized forces come, once again, from a single scalar.

The dissipation function and the modified equations

Start with the definition. Take any set of generalized coordinates q1,…,qnq_1,\dots,q_n and build a quadratic form in their velocities:

F=12∑i,jcij q˙i q˙j,cij=cji,  C⪰0(1)\mathcal{F} = \tfrac{1}{2}\sum_{i,j} c_{ij}\,\dot q_i\,\dot q_j,\qquad c_{ij}=c_{ji},\ \ \mathbf{C}\succeq 0 \qquad (1)

where: F\mathcal{F} — the Rayleigh dissipation function, with units of power (watts); cijc_{ij} — the damping coefficients, arranged as a symmetric, positive-semidefinite matrix C\mathbf{C}; q˙i\dot q_i — the generalized velocities. Symmetry costs nothing (only the symmetric part of C\mathbf{C} survives the quadratic form), and positive-semidefiniteness is physics, not mathematics: it encodes that friction never feeds energy in. For a single mass with Stokes drag −bx˙-b\dot x, the whole apparatus collapses to F=12bx˙2\mathcal{F} = \tfrac12 b\dot x^2. The equations of motion then acquire exactly one new term. If L=T−UL = T - U carries all the conservative physics, the dynamics with linear friction reads

ddt∂L∂q˙j−∂L∂qj=−∂F∂q˙j(2)\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_j} - \frac{\partial L}{\partial q_j} = -\frac{\partial \mathcal{F}}{\partial \dot q_j} \qquad (2)

where: the left side is the untouched Euler–Lagrange operator and the right side is the generalized dissipative force

Qjdiss=−∂F∂q˙j=−∑icji q˙i(3)Q_j^{\text{diss}} = -\frac{\partial \mathcal{F}}{\partial \dot q_j} = -\sum_i c_{ji}\,\dot q_i \qquad (3)

where: QjdissQ_j^{\text{diss}} — the frictional force conjugate to qjq_j: a drag torque if qjq_j is an angle, a drag force if a length. Read equation (2) as a division of the world into two scalars: everything reversible lives in LL on the left, everything irreversible lives in F\mathcal{F} on the right. Set F=0\mathcal{F}=0 and conservative mechanics returns untouched; hold the system at rest and the right side vanishes — friction only exists in motion. Where does the recipe (3) come from? It is not a definition to memorize but a two-line consequence of d'Alembert's principle, and the derivation shows exactly which forces qualify.

Derivation AThe dissipative force as a velocity gradient

We are deriving the central recipe Qjdiss=−∂F/∂q˙jQ_j^{\text{diss}} = -\partial\mathcal{F}/\partial\dot q_j from d'Alembert's principle, for the class of forces linear in the particle velocities. The strategy: write the linear drag law on each particle, project it onto the generalized coordinates using the standard generalized-force formula, and watch the projection reorganize itself into the velocity-gradient of one scalar. The step to watch is the "cancellation of dots" — the same lemma that powers the Euler–Lagrange derivation — which is what converts a geometric projection into a velocity derivative. The payoff of doing this honestly: you will see precisely why linear is not negotiable.

Step 1. Let each particle aa feel a drag force proportional to its own velocity,

Fadiss=−ka va\mathbf{F}_a^{\text{diss}} = -k_a\,\mathbf{v}_a

Why this is the right starting class: Stokes drag on a slow sphere, a dashpot's resistance, the effective damping of internal material friction — all are linear in velocity at small speeds, which is also the leading term of any smooth drag law expanded about rest. (Coefficients may differ per particle and even be anisotropic matrices; nothing below changes except bookkeeping.)

Step 2. Project onto the generalized coordinates with the generalized-force formula from d'Alembert's principle:

Qjdiss=∑aFadiss⋅∂ra∂qj=−∑aka va⋅∂ra∂qjQ_j^{\text{diss}} = \sum_a \mathbf{F}_a^{\text{diss}}\cdot\frac{\partial \mathbf{r}_a}{\partial q_j} = -\sum_a k_a\,\mathbf{v}_a\cdot\frac{\partial \mathbf{r}_a}{\partial q_j}

Step 3. Apply the cancellation-of-dots identity ∂ra/∂qj=∂va/∂q˙j\partial\mathbf{r}_a/\partial q_j = \partial\mathbf{v}_a/\partial\dot q_j:

Qjdiss=−∑aka va⋅∂va∂q˙jQ_j^{\text{diss}} = -\sum_a k_a\,\mathbf{v}_a\cdot\frac{\partial \mathbf{v}_a}{\partial \dot q_j}

Why this lemma holds: va=∑k(∂ra/∂qk)q˙k+∂ra/∂t\mathbf{v}_a = \sum_k (\partial\mathbf{r}_a/\partial q_k)\dot q_k + \partial\mathbf{r}_a/\partial t is linear in the q˙\dot q's, so differentiating with respect to q˙j\dot q_j simply picks out the coefficient ∂ra/∂qj\partial\mathbf{r}_a/\partial q_j.

Step 4. Recognize a perfect velocity-derivative. Because va⋅∂va/∂q˙j=12 ∂(va2)/∂q˙j\mathbf{v}_a\cdot\partial\mathbf{v}_a/\partial\dot q_j = \tfrac12\,\partial(v_a^2)/\partial\dot q_j,

Qjdiss=−∂∂q˙j(12∑akava2)≡−∂F∂q˙jQ_j^{\text{diss}} = -\frac{\partial}{\partial \dot q_j}\left(\tfrac12\sum_a k_a v_a^2\right) \equiv -\frac{\partial \mathcal{F}}{\partial \dot q_j}

Why linearity was essential: the drag force had to be the gradient of something quadratic in velocity, and only a linear force is. A Coulomb force of constant magnitude or a quadratic drag ∝v2\propto v^2 leaves Step 4 with no scalar to pull out — the projection simply does not reassemble into a gradient of any smooth quadratic. *Why the coefficients inherit the right structure: substituting the scleronomic expansion va=∑k(∂ra/∂qk)q˙k\mathbf{v}_a = \sum_k(\partial\mathbf{r}_a/\partial q_k)\dot q_k into 12∑akava2\tfrac12\sum_a k_a v_a^2 reproduces the quadratic form (1) with cij=∑aka (∂ra/∂qi)⋅(∂ra/∂qj)c_{ij} = \sum_a k_a\,(\partial\mathbf{r}_a/\partial q_i)\cdot(\partial\mathbf{r}_a/\partial q_j) — manifestly symmetric and positive-semidefinite.*

Notice what the Verified line delivered as a bonus: the coefficients cijc_{ij} in generalized coordinates are automatically symmetric and positive-semidefinite because they descend from positive particle drags through real geometry — the same mechanism that makes the kinetic-energy mass matrix symmetric and positive. The two quadratic forms TT and F\mathcal{F} are structural twins, one built on mam_a, the other on kak_a.

The energy ledger

The dissipation function earns its name with a bookkeeping identity. Let EE be the Jacobi energy function E=∑jq˙j ∂L/∂q˙j−LE = \sum_j \dot q_j\,\partial L/\partial\dot q_j - L — the quantity that conservative, time-independent Lagrangians conserve. Switch on linear friction and EE is no longer constant; it drains at a rate the formalism computes for you:

dEdt=−2F(4)\frac{\mathrm{d}E}{\mathrm{d}t} = -2\mathcal{F} \qquad (4)

where: the factor 2 is not a convention but a theorem — Euler's identity for homogeneous functions applied to the degree-2 form F\mathcal{F}. So the number you compute when you evaluate F\mathcal{F} is exactly half the instantaneous power bill. Rayleigh chose the normalization (1) so that F\mathcal{F} mirrors the structure of kinetic energy; the price is this factor of two at the cash register, and forgetting it is the single most common error in applications.

Go deeper · Derivation B · 1 minThe energy drains at twice the dissipation function
Derivation BThe energy drains at twice the dissipation function

The goal is the exact energy law (4): for a Lagrangian without explicit time dependence, the Jacobi energy of a linearly damped system decreases at precisely 2F2\mathcal{F}, never faster, never slower. The strategy has two movements — first the general theorem, which is one application of Euler's identity for homogeneous functions; then a concrete audit on the damped oscillator, where the same result falls out of freshman calculus, confirming the general machinery against a case you can check by hand. Watch the homogeneity hypothesis: it is where the scleronomic (time-independent) assumption quietly enters.

Step 1. Differentiate the Jacobi energy along a trajectory of the modified equations (2). For ∂L/∂t=0\partial L/\partial t = 0 the standard computation leaves only the non-conservative power:

dEdt=∑jq˙j Qjdiss=−∑jq˙j ∂F∂q˙j\frac{\mathrm{d}E}{\mathrm{d}t} = \sum_j \dot q_j\,Q_j^{\text{diss}} = -\sum_j \dot q_j\,\frac{\partial \mathcal{F}}{\partial \dot q_j}

Why only this survives: the conservative parts of E˙\dot E cancel by exactly the algebra that proves energy conservation in the frictionless case — the new term is the rate of working of the extra force on the right of (2).

Step 2. Apply Euler's theorem for homogeneous functions. When the coordinate transformation carries no explicit time, each va\mathbf{v}_a is strictly linear in the q˙\dot q's, so F\mathcal{F} is homogeneous of degree 2 in the velocities, and

∑jq˙j ∂F∂q˙j=2 F\sum_j \dot q_j\,\frac{\partial \mathcal{F}}{\partial \dot q_j} = 2\,\mathcal{F}

Why degree 2 means factor 2: for any function with F(λq˙)=λ2F(q˙)\mathcal{F}(\lambda\dot q) = \lambda^2\mathcal{F}(\dot q), differentiate with respect to λ\lambda and set λ=1\lambda = 1. The same theorem gives ∑q˙j ∂T/∂q˙j=2T\sum \dot q_j\,\partial T/\partial\dot q_j = 2T for kinetic energy — the two facts are siblings.

Step 3. Combine, and read the sign:

dEdt=−2F≤0\frac{\mathrm{d}E}{\mathrm{d}t} = -2\mathcal{F} \le 0

Why the inequality is the second law in miniature: F≥0\mathcal{F} \ge 0 because C\mathbf{C} is positive-semidefinite, so mechanical energy is monotonically non-increasing whenever any damped coordinate moves. Equality holds only at instants when the motion is entirely along undamped directions.

Step 4. Audit on the damped oscillator. Take E=12mx˙2+12kx2E = \tfrac12 m\dot x^2 + \tfrac12 kx^2 and F=12bx˙2\mathcal{F} = \tfrac12 b\dot x^2. Differentiating, E˙=x˙(mx¨+kx)\dot E = \dot x(m\ddot x + kx); the equation of motion mx¨+kx=−bx˙m\ddot x + kx = -b\dot x (Derivation C below) turns this into

dEdt=−b x˙2=−2F\frac{\mathrm{d}E}{\mathrm{d}t} = -b\,\dot x^2 = -2\mathcal{F}

Why the two approaches agree: averaged over a cycle in the lightly damped limit, ⟨bx˙2⟩=(b/m) ⟨E⟩\langle b\dot x^2\rangle = (b/m)\,\langle E\rangle, so the energy audit E˙=−2F\dot E = -2\mathcal{F} reproduces the exponential energy decay E∝e−(b/m)tE \propto e^{-(b/m)t} — the same result obtained by solving the <a class="wiki-link" href="/wiki/aq-mech-damped-harmonic-oscillator" data-track="wiki_article.body.wiki_link">damped harmonic oscillator</a> directly.

Equation (4) is often the fastest route to physical answers. You never need to solve the motion to know the drain rate — evaluate one quadratic at the current velocities and double it. Steady states become power balances: a driven, damped system settles exactly where the drive's average power input equals ⟨2F⟩\langle 2\mathcal{F}\rangle, which is how the resonance curve and the quality factor Q=mω0/bQ = m\omega_0/b of an oscillator fall out of the dissipation function with almost no work.

A zoo of dissipation functions

The formalism shows its reach in how little it changes from system to system. A mass on a spring with a dashpot:

L=12mx˙2−12kx2,F=12 b x˙2(5)L = \tfrac12 m\dot x^2 - \tfrac12 kx^2, \qquad \mathcal{F}=\tfrac12\, b\,\dot x^2 \qquad (5)

where: bb — the dashpot constant (N·s/m). Equation (2) delivers mx¨+bx˙+kx=0m\ddot x + b\dot x + kx = 0, the canonical damped oscillator. An RLC circuit is the same mathematics wearing different units. With charge QQ as the coordinate,

Lcirc=12LQ˙2−Q22C,F=12R Q˙2(6)L_{\text{circ}} = \tfrac12 L\dot Q^2 - \frac{Q^2}{2C}, \qquad \mathcal{F}=\tfrac12 R\,\dot Q^2 \qquad (6)

where: LL — inductance, playing mass; CC — capacitance, playing inverse stiffness; RR — resistance, the dissipative element; Q˙=I\dot Q = I — the current. The modified equation reproduces LQ¨+RQ˙+Q/C=0L\ddot Q + R\dot Q + Q/C = 0, and the energy law (4) reads E˙=−RI2\dot E = -R I^2: the dissipation function is Joule heating, 2F=RI22\mathcal{F} = RI^2. That one scalar function moves untouched between a workshop dashpot and a resistor is the formalism advertising its indifference to hardware. For structures with thousands of coordinates, nobody measures every cijc_{ij}. Engineering practice assumes proportional — Rayleigh — damping:

C=α M+β K(7)\mathbf{C} = \alpha\,\mathbf{M} + \beta\,\mathbf{K} \qquad (7)

where: M,K\mathbf{M}, \mathbf{K} — the mass and stiffness matrices of the undamped structure; α\alpha (units s−1^{-1}) — mass-proportional damping, dominant at low frequency; β\beta (units s) — stiffness-proportional damping, dominant at high frequency. The magic of this ansatz: the modal transformation that diagonalizes M\mathbf{M} and K\mathbf{K} automatically diagonalizes C\mathbf{C}, so every normal mode stays an independent damped oscillator, with modal damping ratio

ζn=12(αωn+β ωn)(8)\zeta_n = \frac{1}{2}\left(\frac{\alpha}{\omega_n} + \beta\,\omega_n\right) \qquad (8)

where: ωn\omega_n — the nn-th undamped modal frequency. The two terms trace a "bathtub" in frequency: mass damping punishes slow modes, stiffness damping punishes fast ones, and the designer chooses α,β\alpha, \beta to pin acceptable damping onto the modes that matter (worked example 2 does exactly this).

Figure
Designing Rayleigh damping — the bathtub curve between two anchored modes
f (Hz) ζ (%) 0 1 3 5 2 1 mass term α/2ω stiffness term βω/2 anchor: 2% at 1 Hz anchor: 2% at 5 Hz minimum 1.49% at 2.24 Hz the sum (solid) sags between the anchors and rises outside them: modes below 1 Hz and above 5 Hz are over-damped

Which dissipation function when

situationF\mathcal{F}notes
single dashpot / Stokes drag12bx˙2\tfrac12 b\dot x^2exact for linear drag
resistor in a circuit12RQ˙2\tfrac12 R\dot Q^22F=RI22\mathcal{F} = RI^2 Joule heating
dashpot between two masses12c(x˙1−x˙2)2\tfrac12 c(\dot x_1 - \dot x_2)^2off-diagonal cijc_{ij}; Derivation D
large structure, damping unknown12q˙T(αM+βK)q˙\tfrac12\dot{\mathbf q}^{\mathsf T}(\alpha\mathbf{M}+\beta\mathbf{K})\dot{\mathbf q}modal ratios (8); design via two anchors
dry (Coulomb) frictionnone existsuse generalized force QjQ_j directly
quadratic air dragnone (quadratic)degree-3 form possible but E˙≠−2F\dot E \ne -2\mathcal{F}

Two derivations complete the toolkit: the single damped oscillator worked end to end, and the coupled pair that shows off-diagonal damping working exactly as the matrix promises.

Go deeper · Derivation C · 1 minEquation of motion for the damped oscillator
Derivation CEquation of motion for the damped oscillator

We are applying the modified Euler–Lagrange equation (2) to the simplest damped system — one mass, one spring, one dashpot — to confirm the formalism reproduces the equation every physicist already trusts. The strategy is pure computation: three derivatives from LL, one from F\mathcal{F}, assemble. The point of doing something this small carefully is calibration: after this, you can trust the same four moves on systems where you do not know the answer.

Step 1. Compute the conservative pieces from L=12mx˙2−12kx2L = \tfrac12 m\dot x^2 - \tfrac12 kx^2:

∂L∂x˙=mx˙,ddt∂L∂x˙=mx¨,∂L∂x=−kx\frac{\partial L}{\partial \dot x} = m\dot x, \qquad \frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot x} = m\ddot x, \qquad \frac{\partial L}{\partial x} = -kx

Step 2. Compute the dissipative piece from F=12bx˙2\mathcal{F} = \tfrac12 b\dot x^2:

∂F∂x˙=bx˙\frac{\partial \mathcal{F}}{\partial \dot x} = b\dot x

Why the sign takes care of itself: the recipe puts −bx˙-b\dot x on the force side, automatically opposing whichever direction the mass currently moves — no case analysis, no arrows to flip by hand.

Step 3. Assemble equation (2):

mx¨+kx=−bx˙⟹mx¨+bx˙+kx=0m\ddot x + kx = -b\dot x \qquad\Longrightarrow\qquad m\ddot x + b\dot x + kx = 0

The characteristic roots λ=(−b±b2−4mk)/2m\lambda = \big(-b \pm \sqrt{b^2 - 4mk}\big)/2m reproduce the full solution of the <a class="wiki-link" href="/wiki/aq-mech-damped-harmonic-oscillator" data-track="wiki_article.body.wiki_link">damped harmonic oscillator</a>, covering the underdamped, critical, and overdamped regimes.

Go deeper · Derivation D · 1 minTwo coupled damped oscillators from one dissipation function
Derivation DTwo coupled damped oscillators from one dissipation function

The goal is to see the matrix structure of F\mathcal{F} do real work: two masses joined by a dashpot damp their relative motion, and the off-diagonal coefficients c12c_{12} must encode that coupling with the correct signs. The strategy: write the one-line physical statement — the dashpot dissipates according to the relative velocity — as a dissipation function, expand it into the quadratic form, and differentiate. Watch Newton's third law emerge without being asked for: it is hiding in the symmetry of C\mathbf{C}.

Step 1. State the physics as a scalar. A dashpot of constant cc spanning masses 1 and 2 resists their relative sliding, so

F=12 c (x˙1−x˙2)2\mathcal{F} = \tfrac12\, c\,(\dot x_1 - \dot x_2)^2

Step 2. Expand into the standard form (1):

F=12c x˙12−c x˙1x˙2+12c x˙22⟹C=(c−c−cc)\mathcal{F} = \tfrac12 c\,\dot x_1^2 - c\,\dot x_1\dot x_2 + \tfrac12 c\,\dot x_2^2 \qquad\Longrightarrow\qquad \mathbf{C} = \begin{pmatrix} c & -c \\ -c & c \end{pmatrix}

Why this matrix is only semi-definite: its eigenvalues are 2c2c (relative motion, damped) and 00 (moving both masses together, undamped — the dashpot doesn't stretch). Zero modes of C\mathbf{C} are motions friction cannot see.

Step 3. Differentiate for each force:

Q1diss=−∂F∂x˙1=−c(x˙1−x˙2),Q2diss=−∂F∂x˙2=+c(x˙1−x˙2)Q_1^{\text{diss}} = -\frac{\partial\mathcal{F}}{\partial\dot x_1} = -c(\dot x_1 - \dot x_2), \qquad Q_2^{\text{diss}} = -\frac{\partial\mathcal{F}}{\partial\dot x_2} = +c(\dot x_1 - \dot x_2)

Why the third law came free: the two forces are equal and opposite because F\mathcal{F} depends on the velocities only through their difference — the symmetry of the scalar enforces the symmetry of the forces.

Step 4. Assemble the coupled equations for identical grounded springs kk:

m1x¨1+kx1+c(x˙1−x˙2)=0,m2x¨2+kx2−c(x˙1−x˙2)=0m_1\ddot x_1 + kx_1 + c(\dot x_1 - \dot x_2) = 0, \qquad m_2\ddot x_2 + kx_2 - c(\dot x_1 - \dot x_2) = 0

This is the damping matrix C\mathbf{C} of standard structural dynamics: for m1=m2m_1 = m_2 the in-phase normal mode is undamped and the out-of-phase mode carries damping constant 2c2c — consistent with the eigenvalues found in Step 2 and the classical treatment of damped <a class="wiki-link" href="/wiki/aq-mech-coupled-oscillators" data-track="wiki_article.body.wiki_link">coupled oscillators</a>.

Limiting cases

CaseResultMeaning
Stokes (linear) dragF=−bv⇒F=12bv2\mathbf{F} = -b\mathbf{v} \Rightarrow \mathcal{F} = \tfrac12 bv^2the native regime — exact at low Reynolds number, for dashpots, and for linear resistors
zero damping F→0\mathcal{F}\to 0ordinary Euler–Lagrange equationsJacobi energy conservation recovered; the conservative world is the C=0\mathbf{C} = 0 corner
Coulomb (dry) frictionF=−μN sgn(x˙)F = -\mu N\,\mathrm{sgn}(\dot x)NOT representable: constant magnitude at any speed has no smooth quadratic parent
quadratic (Newtonian) dragF=−c x˙∣x˙∣F = -c\,\dot x\lvert\dot x\rvertNOT representable by (1); a degree-3 homogeneous form exists but then E˙=−3F\dot E = -3\mathcal{F}, not −2F-2\mathcal{F}
rheonomic coordinatesF\mathcal{F} gains linear and constant velocity termshomogeneity broken — the clean E˙=−2F\dot E = -2\mathcal{F} audit fails with explicitly time-dependent transformations
C\mathbf{C} with zero modessome motions undampedeigenvectors of C\mathbf{C} with zero eigenvalue slide friction-free (Derivation D's in-phase mode)

Worked examples

1 · Auditing a damped oscillator without solving it (confidence builder)

A mass m=0.50 kgm = 0.50\ \mathrm{kg} hangs on a spring of stiffness k=200 N/mk = 200\ \mathrm{N/m} with a dashpot b=1.2 kg/sb = 1.2\ \mathrm{kg/s}. (a) At an instant when the speed is x˙=0.80 m/s\dot x = 0.80\ \mathrm{m/s}, what is the dissipation function and the power being lost? (b) Released from rest at amplitude A=5.0 cmA = 5.0\ \mathrm{cm}, roughly how long until half the mechanical energy is gone, and how many oscillations is that?

Step 1. The dissipation function at the given instant: F=12bx˙2=12(1.2)(0.80)2=0.384 W\mathcal{F} = \tfrac12 b\dot x^2 = \tfrac12 (1.2)(0.80)^2 = \boxed{0.384\ \mathrm{W}}. The power draining out of the mechanical energy is twice this: 2F=0.768 W2\mathcal{F} = \boxed{0.768\ \mathrm{W}} — the factor the warning box exists for.

Step 2. Check the regime. ω0=k/m=400=20 rad/s\omega_0 = \sqrt{k/m} = \sqrt{400} = 20\ \mathrm{rad/s} and γ=b/2m=1.2 rad/s\gamma = b/2m = 1.2\ \mathrm{rad/s}, so γ≪ω0\gamma \ll \omega_0: lightly damped, quality factor Q=mω0/b=(0.50)(20)/1.2=8.3Q = m\omega_0/b = (0.50)(20)/1.2 = 8.3.

Step 3. Energy decay without solving the ODE. Averaged over a cycle, ⟨2F⟩=b⟨x˙2⟩=(b/m)⟨E⟩\langle 2\mathcal{F}\rangle = b\langle\dot x^2\rangle = (b/m)\langle E\rangle, so the energy obeys ⟨E˙⟩=−(b/m)⟨E⟩\langle\dot E\rangle = -(b/m)\langle E\rangle: exponential decay with time constant τE=m/b=0.50/1.2=0.417 s\tau_E = m/b = 0.50/1.2 = 0.417\ \mathrm{s}.

Step 4. Half-life and cycle count. t1/2=τEln⁡2=0.417×0.693=0.289 st_{1/2} = \tau_E\ln 2 = 0.417 \times 0.693 = \boxed{0.289\ \mathrm{s}}. The damped period is T=2π/ωdT = 2\pi/\omega_d with ωd=ω02−γ2=19.96 rad/s\omega_d = \sqrt{\omega_0^2 - \gamma^2} = 19.96\ \mathrm{rad/s}, so T=0.315 sT = 0.315\ \mathrm{s}: the oscillator loses half its energy in about 0.9 oscillations\boxed{\text{about } 0.9\ \text{oscillations}}. Cross-check with QQ: the fractional energy loss per cycle is 2π/Q=0.752\pi/Q = 0.75, i.e. only a quarter of the energy survives each full swing — consistent with a half-life shorter than one period. (Initial energy, for scale: E0=12kA2=12(200)(0.05)2=0.25 JE_0 = \tfrac12 kA^2 = \tfrac12(200)(0.05)^2 = 0.25\ \mathrm{J}.)

2 · Designing Rayleigh damping for a building model (exam level)

A finite-element model of a six-story frame must carry ζ=2.0%\zeta = 2.0\% damping in its two seismically dominant modes, at f1=1.0 Hzf_1 = 1.0\ \mathrm{Hz} and f2=5.0 Hzf_2 = 5.0\ \mathrm{Hz}. (a) Find the Rayleigh coefficients α,β\alpha, \beta. (b) What damping does an intermediate 3.0 Hz mode actually receive? (c) Where is the damping minimum and how low does it go?

Step 1. Convert to angular frequencies: ω1=2π(1.0)=6.283 rad/s\omega_1 = 2\pi(1.0) = 6.283\ \mathrm{rad/s}, ω2=2π(5.0)=31.42 rad/s\omega_2 = 2\pi(5.0) = 31.42\ \mathrm{rad/s}.

Step 2. Impose equation (8) at both anchors. With equal target ζ\zeta at ω1\omega_1 and ω2\omega_2, the pair of linear equations ζ=12(α/ω+βω)\zeta = \tfrac12(\alpha/\omega + \beta\omega) solves to

α=2ζ ω1ω2ω1+ω2,β=2ζω1+ω2\alpha = \frac{2\zeta\,\omega_1\omega_2}{\omega_1 + \omega_2}, \qquad \beta = \frac{2\zeta}{\omega_1 + \omega_2}

Step 3. Plug in numbers: ω1ω2=197.4\omega_1\omega_2 = 197.4, ω1+ω2=37.70\omega_1 + \omega_2 = 37.70, so α=(0.04)(197.4)/37.70=0.209 s−1\alpha = (0.04)(197.4)/37.70 = \boxed{0.209\ \mathrm{s^{-1}}} and β=0.04/37.70=1.061×10−3 s\beta = 0.04/37.70 = \boxed{1.061\times 10^{-3}\ \mathrm{s}}.

Step 4. The 3 Hz mode: ω=18.85 rad/s\omega = 18.85\ \mathrm{rad/s}, so ζ=12(0.209/18.85+0.001061×18.85)=12(0.01111+0.02000)=0.0156=1.56%\zeta = \tfrac12(0.209/18.85 + 0.001061 \times 18.85) = \tfrac12(0.01111 + 0.02000) = 0.0156 = \boxed{1.56\%} — less than the 2% at the anchors. This sag is generic: interior modes are always under-damped relative to the anchors.

Step 5. The minimum of the bathtub. Setting dζ/dω=0\mathrm{d}\zeta/\mathrm{d}\omega = 0 gives ω∗=α/β=197.4=14.05 rad/s=2.24 Hz\omega^* = \sqrt{\alpha/\beta} = \sqrt{197.4} = 14.05\ \mathrm{rad/s} = 2.24\ \mathrm{Hz} (the geometric mean ω1ω2\sqrt{\omega_1\omega_2}), with ζmin⁡=αβ=1.49%\zeta_{\min} = \sqrt{\alpha\beta} = \boxed{1.49\%}. Design moral: choose anchors that bracket the modes you must protect — anything between them gets slightly less damping than promised, and anything far outside gets much more (a 0.5 Hz mode here would receive 3.5%3.5\%).

Origins · 1 minLord Rayleigh and how this was discovered
LR
Lord Rayleigh
1842–1919 · Terling Place, Essex

John William Strutt inherited the barony of Rayleigh at 30 and, against every expectation attached to a Victorian estate, converted a wing of Terling Place into a private laboratory and stayed a working physicist for life. The dissipation function appeared in an 1873 paper on vibrating systems and was folded into The Theory of Sound — the two-volume masterwork he began writing on a houseboat trip up the Nile, convalescing from rheumatic fever. His career is a lesson in the power of careful second looks: re-measuring the density of nitrogen to the fourth decimal place led him (with Ramsay) to discover argon and win the 1904 Nobel Prize; thinking honestly about why the sky is blue produced Rayleigh scattering; asking when two point sources are distinguishable produced the Rayleigh criterion that still gates every telescope and microscope. He succeeded Maxwell as Cavendish Professor, standardized the ohm, ampere and volt, and served as chancellor of Cambridge — yet published his last paper in the year he died, having never really left the bench. The dissipation function is characteristic Rayleigh: no new physics claimed, just a structure so well-chosen that acousticians, circuit designers, and earthquake engineers still fill in his two coefficients a century and a half later.

History
1743
— d'Alembert's principle admits non-conservative forces into analytical mechanics as generalized forces, with no systematic packaging.
1788
— Lagrange's Mécanique analytique perfects the conservative formalism; friction remains a case-by-case intruder.
1873
— Rayleigh introduces the dissipation function in a paper on vibrations, giving linear friction its own generating scalar.
1877
— The Theory of Sound, Vol. 1 (§81) systematizes damped vibration theory around F; the book becomes the founding text of acoustics.
1951
— Callen and Welton prove the fluctuation-dissipation theorem, tying the macroscopic damping coefficients in F to microscopic thermal fluctuations.

Going further

References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §1.5 and §6.5 · Landau & Lifshitz, Mechanics, 3rd ed., §25 · Morin, Introduction to Classical Mechanics, Ch. 6 · Taylor, Classical Mechanics, §7.x (generalized forces) · Rayleigh, The Theory of Sound, Vol. 1, §81 Key checkpoints in this article: the cancellation-of-dots identity ∂ra/∂qj=∂r˙a/∂q˙j\partial\mathbf r_a/\partial q_j=\partial\dot{\mathbf r}_a/\partial\dot q_j; Euler's theorem giving ∑jq˙j∂F/∂q˙j=2F\sum_j\dot q_j\partial\mathcal{F}/\partial\dot q_j=2\mathcal{F} for the degree-2 homogeneous form; and the Rayleigh modal damping ratio ζn=12(α/ωn+βωn)\zeta_n=\tfrac12(\alpha/\omega_n+\beta\omega_n). Worked-example values (2F=0.768 W2\mathcal{F} = 0.768\ \mathrm{W}, t1/2=0.289 st_{1/2} = 0.289\ \mathrm{s}, α=0.209 s−1\alpha = 0.209\ \mathrm{s^{-1}}, β=1.061×10−3 s\beta = 1.061\times10^{-3}\ \mathrm{s}, ζ3 Hz=1.56%\zeta_{3\,\mathrm{Hz}} = 1.56\%, ζmin⁡=1.49%\zeta_{\min} = 1.49\% at 2.24 Hz2.24\ \mathrm{Hz}) are illustrative arithmetic computed from the boxed formulas.

Builds on: The Euler-Lagrange Equations · The Lagrangian Function · Generalized Forces and Generalized Momenta · d'Alembert's Principle · The Energy Function and Jacobi Integral Leads to: Cyclic Coordinates and Conservation of Conjugate Momenta · Normal Modes and Coupled Oscillations

Why is the dissipated power 2F and not F — and why define F with the half in the first place?

The factor traces to Euler's theorem: F\mathcal{F} is homogeneous of degree 2 in velocities, so ∑jq˙j ∂F/∂q˙j=2F\sum_j \dot q_j\,\partial\mathcal{F}/\partial\dot q_j = 2\mathcal{F}, and that weighted sum is exactly the rate of frictional working. Rayleigh kept the 12\tfrac12 normalization deliberately, to make F\mathcal{F} a structural twin of kinetic energy T=12∑mijq˙iq˙jT = \tfrac12\sum m_{ij}\dot q_i\dot q_j: same quadratic form, mass matrix swapped for damping matrix, and force-by-differentiation with the same clean coefficients. You pay for the pretty symmetry once, at the energy ledger. Mnemonic: kinetic energy also hides its factor there — ∑q˙j ∂T/∂q˙j=2T\sum\dot q_j\,\partial T/\partial\dot q_j = 2T, which is why the Jacobi energy is 2T−L=T+U2T - L = T + U for natural systems.

If F is so useful, why can't we just fold it into the Lagrangian and use Hamilton's principle?

Because friction breaks the variational structure. Hamilton's principle demands monogenic forces — derivable from a potential U(q)U(q) or a velocity-dependent potential U(q,q˙)U(q,\dot q) like the electromagnetic one covered in velocity-dependent potentials. A linear drag −bx˙-b\dot x satisfies neither: any candidate potential you try either produces the wrong sign on the return swing or fails the Euler–Lagrange consistency conditions. The honest statement is that the dynamics needs two scalars, LL and F\mathcal{F}, feeding different sides of equation (2). There are formal workarounds — Bateman's trick doubles the coordinates with a time-reversed mirror system so the pair conserves an action — but they add ghost degrees of freedom rather than genuinely putting friction inside one Lagrangian.

What do I actually do for Coulomb friction or quadratic air drag, since F can't hold them?

Fall back one level of generality: compute the generalized force directly, Qj=∑aFa⋅∂ra/∂qjQ_j = \sum_a \mathbf{F}_a\cdot\partial\mathbf{r}_a/\partial q_j, and put it on the right side of the Euler–Lagrange equations in place of −∂F/∂q˙j-\partial\mathcal{F}/\partial\dot q_j. That route is exact for any force whatsoever — it's just d'Alembert's principle without the packaging. For quadratic drag there is a half-generalization: a degree-3 homogeneous function F3=13∑cava3\mathcal{F}_3 = \tfrac13\sum c_a v_a^3 whose velocity-gradient gives −cv2-c v^2 forces, but Euler's theorem then yields E˙=−3F3\dot E = -3\mathcal{F}_3, and the tidy "twice the function" audit is lost. For Coulomb friction even that fails — sgn(x˙)\mathrm{sgn}(\dot x) is not the gradient of any smooth homogeneous form, and the force must additionally switch to static friction at sticking, which no single formula captures.

Is the dissipation function unique for a given physical system?

The generalized forces only see the velocity-gradient of F\mathcal{F}, so two functions differing by anything velocity-independent — a constant, or any function of coordinates and time alone — produce identical dynamics. Within the quadratic class the answer is sharper: only the symmetric part of the coefficient matrix survives the quadratic form (an antisymmetric part cancels identically in q˙iq˙j\dot q_i\dot q_j), so the symmetric C\mathbf{C} appearing in the equations of motion is unique. What is genuinely conventional is the coordinate representation: change generalized coordinates and the matrix transforms like a rank-2 tensor built on velocity space, exactly as the kinetic-energy mass matrix does — same geometry, different numbers.

Does F break Noether's theorem and all the conservation laws I rely on?

It modifies them in a controlled, quantitative way rather than destroying them. For a cyclic coordinate, the exact statement becomes p˙j=−∂F/∂q˙j\dot p_j = -\partial\mathcal{F}/\partial\dot q_j: the conjugate momentum decays at a rate the dissipation function computes for you, and it is still conserved if F\mathcal{F} happens not to involve that velocity — Derivation D's in-phase mode is a live example, sliding through the dashpot untouched. The energy story is equation (4) itself: conservation degrades into the monotone audit E˙=−2F\dot E = -2\mathcal{F}. This "broken-but-budgeted" structure is often more useful than strict conservation, because it tells you not just that quantities decay but exactly how fast, mode by mode.

Where does the lost energy actually go — and is a velocity-linear force even consistent with microscopic physics being reversible?

It goes into heat: disordered kinetic energy of the fluid, the dashpot oil, the resistor's electron gas — degrees of freedom the generalized coordinates deliberately ignore. Friction is what reversible microphysics looks like after you coarse-grain away 102310^{23} bath coordinates. The deep consistency check is the fluctuation-dissipation theorem (Callen–Welton, 1951): near thermal equilibrium, the same coupling to the bath that damps your coordinate also kicks it randomly, and the damping coefficient in F\mathcal{F} is locked to the spectrum of those kicks (Einstein's relation D=kBT/bD = k_BT/b for Brownian motion is the most famous instance). So Rayleigh's function is the deterministic half of a matched pair — write down F\mathcal{F} for a nanoscale system and thermodynamics has already fixed the noise you must add to be honest.

Can the dissipation function be negative — what would that even model?

A genuinely negative-definite F\mathcal{F} inverts equation (4) into E˙=+2∣F∣\dot E = +2\lvert\mathcal{F}\rvert: energy growth linear in the quadratic form, which is anti-damping. That is not exotic — it is how self-excited oscillations start. Aeroelastic flutter of a wing, the bowed violin string in its stick-slip regime, and negative-resistance electronic oscillators all behave, near their operating point, like systems with a negative effective damping coefficient feeding a mode. The formalism handles it perfectly well as long as you remember what broke: the second-law guarantee. Some external reservoir (the airstream, the bow, the power supply) is paying the bill, and the linear model is only valid until the growing amplitude leaves the linear regime — real flutter saturates or the wing fails.

In structural engineering, why assume C = αM + βK instead of using the true damping matrix?

Because the true damping matrix essentially cannot be known: damping in a real structure comes from micro-slip in ten thousand bolted joints, material hysteresis, cladding, and soil — none of it computable from blueprints the way M\mathbf{M} and K\mathbf{K} are. What is measurable is a handful of modal damping ratios. Proportional damping is the minimal model consistent with those measurements that also preserves the undamped mode shapes, so the million-DOF problem still decouples into scalar damped oscillators — computationally decisive for time-history earthquake analysis. Its known artifact is the bathtub of worked example 2 (interior modes slightly under-damped, far modes over-damped); when that matters, engineers use Caughey's series generalization or specify ζn\zeta_n mode-by-mode, both still living inside Rayleigh's quadratic-F\mathcal{F} framework.

Before this

Where this leads