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 , quadratic in the generalized velocities, exactly as potential energy packages all conservative forces into one scalar . 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: is precisely the rate at which mechanical energy is converted to heat, so the energy ledger of any damped system reads , no equation-solving required. That factor of two, the strict linear-in-velocity fine print, and the reason a positive is the second law wearing mechanics' clothes are this article's business.
- Hamilton's principle handles only monogenic forces; friction linear in velocity needs one extra structure — Rayleigh's dissipation function , a positive-semidefinite quadratic form in the generalized velocities.
- Its velocity-gradient is the frictional generalized force, , exactly mirroring how generates conservative forces.
- The equations of motion become — one new term, all other Lagrangian machinery intact.
- The energy audit is built in: . 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 and must enter as bare generalized forces.
- Key idea: define a positive-semidefinite quadratic form in the generalized velocities, ; its velocity-gradient is the dissipative generalized force, the equations of motion become , and is the rate of energy loss.
Define a positive-semidefinite quadratic form in the generalized velocities, . Its velocity-gradient is the dissipative generalized force, so the equations of motion become , and 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: and . 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 pair runs quieter revolutions elsewhere: MEMS gyroscope and resonator designers engineer downward (quality factors above ) 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 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 and 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 , a conservative force was three components per particle, tangled with geometry; after , 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: . 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.
The paraboloid picture is worth carrying around explicitly. At any instant, evaluate 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 is what forbids a dashpot from spontaneously flinging the mass into faster motion.
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. lives beside as a second scalar, and the pair 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 and build a quadratic form in their velocities:
where: — the Rayleigh dissipation function, with units of power (watts); — the damping coefficients, arranged as a symmetric, positive-semidefinite matrix ; — the generalized velocities. Symmetry costs nothing (only the symmetric part of 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 , the whole apparatus collapses to . The equations of motion then acquire exactly one new term. If carries all the conservative physics, the dynamics with linear friction reads
where: the left side is the untouched Euler–Lagrange operator and the right side is the generalized dissipative force
where: — the frictional force conjugate to : a drag torque if 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 on the left, everything irreversible lives in on the right. Set 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.
We are deriving the central recipe 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 feel a drag force proportional to its own velocity,
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:
Step 3. Apply the cancellation-of-dots identity :
Why this lemma holds: is linear in the 's, so differentiating with respect to simply picks out the coefficient .
Step 4. Recognize a perfect velocity-derivative. Because ,
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 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 into reproduces the quadratic form (1) with — manifestly symmetric and positive-semidefinite.*
Notice what the Verified line delivered as a bonus: the coefficients 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 and are structural twins, one built on , the other on .
The energy ledger
The dissipation function earns its name with a bookkeeping identity. Let be the Jacobi energy function — the quantity that conservative, time-independent Lagrangians conserve. Switch on linear friction and is no longer constant; it drains at a rate the formalism computes for you:
where: the factor 2 is not a convention but a theorem — Euler's identity for homogeneous functions applied to the degree-2 form . So the number you compute when you evaluate is exactly half the instantaneous power bill. Rayleigh chose the normalization (1) so that 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
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 , 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 the standard computation leaves only the non-conservative power:
Why only this survives: the conservative parts of 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 is strictly linear in the 's, so is homogeneous of degree 2 in the velocities, and
Why degree 2 means factor 2: for any function with , differentiate with respect to and set . The same theorem gives for kinetic energy — the two facts are siblings.
Step 3. Combine, and read the sign:
Why the inequality is the second law in miniature: because 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 and . Differentiating, ; the equation of motion (Derivation C below) turns this into
Why the two approaches agree: averaged over a cycle in the lightly damped limit, , so the energy audit reproduces the exponential energy decay — 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 , which is how the resonance curve and the quality factor 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:
where: — the dashpot constant (N·s/m). Equation (2) delivers , the canonical damped oscillator. An RLC circuit is the same mathematics wearing different units. With charge as the coordinate,
where: — inductance, playing mass; — capacitance, playing inverse stiffness; — resistance, the dissipative element; — the current. The modified equation reproduces , and the energy law (4) reads : the dissipation function is Joule heating, . 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 . Engineering practice assumes proportional — Rayleigh — damping:
where: — the mass and stiffness matrices of the undamped structure; (units s) — mass-proportional damping, dominant at low frequency; (units s) — stiffness-proportional damping, dominant at high frequency. The magic of this ansatz: the modal transformation that diagonalizes and automatically diagonalizes , so every normal mode stays an independent damped oscillator, with modal damping ratio
where: — the -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 to pin acceptable damping onto the modes that matter (worked example 2 does exactly this).
Which dissipation function when
| situation | notes | |
|---|---|---|
| single dashpot / Stokes drag | exact for linear drag | |
| resistor in a circuit | Joule heating | |
| dashpot between two masses | off-diagonal ; Derivation D | |
| large structure, damping unknown | modal ratios (8); design via two anchors | |
| dry (Coulomb) friction | none exists | use generalized force directly |
| quadratic air drag | none (quadratic) | degree-3 form possible but |
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
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 , one from , 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 :
Step 2. Compute the dissipative piece from :
Why the sign takes care of itself: the recipe puts 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):
The characteristic roots 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
The goal is to see the matrix structure of do real work: two masses joined by a dashpot damp their relative motion, and the off-diagonal coefficients 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 .
Step 1. State the physics as a scalar. A dashpot of constant spanning masses 1 and 2 resists their relative sliding, so
Step 2. Expand into the standard form (1):
Why this matrix is only semi-definite: its eigenvalues are (relative motion, damped) and (moving both masses together, undamped — the dashpot doesn't stretch). Zero modes of are motions friction cannot see.
Step 3. Differentiate for each force:
Why the third law came free: the two forces are equal and opposite because 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 :
This is the damping matrix of standard structural dynamics: for the in-phase normal mode is undamped and the out-of-phase mode carries damping constant — 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
| Case | Result | Meaning |
|---|---|---|
| Stokes (linear) drag | the native regime — exact at low Reynolds number, for dashpots, and for linear resistors | |
| zero damping | ordinary Euler–Lagrange equations | Jacobi energy conservation recovered; the conservative world is the corner |
| Coulomb (dry) friction | NOT representable: constant magnitude at any speed has no smooth quadratic parent | |
| quadratic (Newtonian) drag | NOT representable by (1); a degree-3 homogeneous form exists but then , not | |
| rheonomic coordinates | gains linear and constant velocity terms | homogeneity broken — the clean audit fails with explicitly time-dependent transformations |
| with zero modes | some motions undamped | eigenvectors of 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 hangs on a spring of stiffness with a dashpot . (a) At an instant when the speed is , what is the dissipation function and the power being lost? (b) Released from rest at amplitude , 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: . The power draining out of the mechanical energy is twice this: — the factor the warning box exists for.
Step 2. Check the regime. and , so : lightly damped, quality factor .
Step 3. Energy decay without solving the ODE. Averaged over a cycle, , so the energy obeys : exponential decay with time constant .
Step 4. Half-life and cycle count. . The damped period is with , so : the oscillator loses half its energy in . Cross-check with : the fractional energy loss per cycle is , 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: .)
2 · Designing Rayleigh damping for a building model (exam level)
A finite-element model of a six-story frame must carry damping in its two seismically dominant modes, at and . (a) Find the Rayleigh coefficients . (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: , .
Step 2. Impose equation (8) at both anchors. With equal target at and , the pair of linear equations solves to
Step 3. Plug in numbers: , , so and .
Step 4. The 3 Hz mode: , so — 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 gives (the geometric mean ), with . 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 ).
Origins · 1 minLord Rayleigh and how this was discovered
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.
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 ; Euler's theorem giving for the degree-2 homogeneous form; and the Rayleigh modal damping ratio . Worked-example values (, , , , , at ) 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: is homogeneous of degree 2 in velocities, so , and that weighted sum is exactly the rate of frictional working. Rayleigh kept the normalization deliberately, to make a structural twin of kinetic energy : 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 — , which is why the Jacobi energy is 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 or a velocity-dependent potential like the electromagnetic one covered in velocity-dependent potentials. A linear drag 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, and , 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, , and put it on the right side of the Euler–Lagrange equations in place of . 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 whose velocity-gradient gives forces, but Euler's theorem then yields , and the tidy "twice the function" audit is lost. For Coulomb friction even that fails — 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 , 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 ), so the symmetric 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 : the conjugate momentum decays at a rate the dissipation function computes for you, and it is still conserved if 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 . 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 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 is locked to the spectrum of those kicks (Einstein's relation for Brownian motion is the most famous instance). So Rayleigh's function is the deterministic half of a matched pair — write down 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 inverts equation (4) into : 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 and 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 mode-by-mode, both still living inside Rayleigh's quadratic- framework.