Take a homogeneous comoving cell of physical volume and total entropy . At vanishing chemical potential, the reversible first law of thermodynamics reads
For an extensive equilibrium system, the thermodynamic Euler relation is . At this gives
The supplied pressure identity verifies consistency directly: implies
The thermodynamic Euler relation fixes the additive normalization that a differential identity alone would leave undetermined.
For adiabatic cosmological expansion, the cosmological perfect-fluid continuity equation gives , while . Hence
This proves cosmological entropy conservation in the stated perfect-fluid approximation. Kinetic equilibrium alone does not guarantee adiabatic evolution: entropy injection, dissipative stresses or out-of-equilibrium reactions would require additional source terms. Those effects are implicitly excluded in this calculation.
Write for the material derivative and for the cross-helicity density, so . The ideal magnetohydrodynamic induction equation of ideal magnetohydrodynamics, with , gives
The dot product of the Euler momentum equation with the magnetic field has no Lorentz force contribution, because . Consequently,
Here is the specific enthalpy, the temperature, and the specific entropy; is the internal energy per unit mass. The first law of thermodynamics in this convention is , so . Substitution, followed by , yields the cross-helicity conservation law
The vector triple product identity puts this in the equivalent form
For the fixed volume, the divergence theorem gives the exact cross-helicity balance
Thus cross-helicity is constant when the net source equals the outward flux. Simple sufficient hypotheses are throughout the volume and on its boundary. The first condition includes a homentropic flow; the second prevents both relevant boundary fluxes. Periodic boundary conditions, or sufficiently rapid decay at infinity, provide alternatives. These statements concern smooth ideal magnetohydrodynamics: material specific entropy conservation alone, , does not eliminate spatial specific entropy gradients along the magnetic field lines.
Let the closed atmospheric parcel exchange heat and volume work with reservoirs at fixed temperature and pressure , while reactions rearrange its conserved elemental inventory. For a reversible differential between equilibrium states, the first law of thermodynamics, with chemical work included, is
The Gibbs free energy therefore obeys
The first law of thermodynamics supplies this differential but does not alone choose the direction of a reaction. The Second law of thermodynamics does: for the parcel plus its reservoirs, at fixed and with no non-volume work,
Thus spontaneous reactions decrease Gibbs free energy, and stable thermochemical equilibrium is its constrained minimum. For an allowed reaction of extent , let , with positive stoichiometric vector entries for products and negative entries for reactants. At an interior minimum,
The condition must hold for every independent allowed reaction, with fixed total atoms of each element and any relevant charge constraint. At a boundary with absent species, only feasible one-sided variations are permitted. These are the hypotheses of constrained Gibbs minimization for chemical equilibrium.
For an ideal gas mixture, , where is the volume mixing ratio and the molar gas constant. Therefore
This is a dimensionless activity-based equilibrium constant, not a bare product of dimensional pressures.
For a reversible change, the first law of thermodynamics is . Using the monatomic internal energy,
Along the constant-volume leg, , so heat is absorbed. Along the constant-pressure return leg, , so heat is emitted. The work signs are zero on and negative, or work on the gas, on .
Let be the physical volume of a region with fixed comoving coordinates, so , and write . The first law of thermodynamics is . Use extensive quantities: under replication, . The Euler theorem for homogeneous functions gives
Setting yields
This is the entropy form of the Gibbs-Duhem equation; it fixes the normalization by extensivity, rather than adding an arbitrary volume-independent entropy constant.
For equilibrium expansion of the same region, the first law and the cosmological perfect-fluid continuity equation imply
Therefore , establishing cosmological entropy conservation for adiabatic equilibrium evolution. Here “comoving volume” means a patch moving with the cosmological fluid; its physical volume changes. The corresponding coordinate volume is constant. The local TeX's in the continuity-equation hint is a transcription error: the PDF correctly has .
In the microcanonical ensemble, the microcanonical energy-shell entropy is the Boltzmann entropy
For a macroscopic system, changing the small energy resolution by a fixed factor changes only by a nonextensive additive term, while . Its relative effect therefore vanishes in the thermodynamic limit.
The thermodynamic temperature, pressure, and chemical potential are defined in the entropy representation by
Thus
or, equivalently, the first law of thermodynamics in fundamental form is
Because increasing the length by requires work on the chain, its first law of thermodynamics is
All configurations have the same energy, so at fixed and ,
Differentiating the entropy found above gives
and hence the entropic Hooke law for a one-dimensional chain is
When , the Taylor expansion of gives
which is Hooke's law. Conversely, at fixed force,
The extension decreases as the temperature rises and tends to zero as : the rubber contracts on heating at fixed tension.
Classically, the laws of black-hole mechanics have the same form as the laws of thermodynamics, but this could have been only a formal analogy. Hawking radiation makes it physical: a stationary black hole emits approximately thermal radiation with
so surface gravity is proportional to genuine temperature.
The correspondence is:
matches the first law of thermodynamics and fixes the Bekenstein-Hawking entropy
A real Hawking temperature therefore identifies horizon area as thermodynamic entropy and turns the geometric laws into thermodynamic laws.
Let be the material derivative, and write for specific enthalpy. The ideal magnetohydrodynamic induction equation and Gauss's law for magnetism give
Dotting the momentum equation with eliminates the Lorentz force density. Therefore the cross-helicity density satisfies
The first law of thermodynamics gives for specific entropy , without requiring uniform entropy. Consequently
Since , the first term on the right is a divergence. This proves the cross-helicity conservation law, with flux
For the perfect gas used here, .
For a perfect gas with constant specific heat capacity , the first law of thermodynamics gives
Using the pressure-density Hugoniot relation for a perfect gas, the entropy production in a perfect-gas shock is therefore
This is positive for , as required by the Second law of thermodynamics for the physical compressive normal shock wave.
For a simple system of fixed composition, the first law of thermodynamics and
give
Thus
Equality of mixed derivatives gives the Gibbs free-energy Maxwell relation
The heat capacity at constant volume and heat capacity at constant pressure are
Regarding as a function of and differentiating along a constant-pressure curve gives
The Maxwell relation from the Helmholtz free energy is
Therefore the difference between constant-pressure and constant-volume heat capacities is
Along the liquid-gas phase coexistence curve, the molar Gibbs free energies agree. Differentiating along the curve gives
Hence the Clausius-Clapeyron relation is
where is the molar latent heat.
If and the gas is ideal, then , so
For constant , integration yields
where is constant over the range in which the approximations apply.
The first law of thermodynamics is
so, regarding as a function of ,
Equality of mixed partial derivatives gives the thermodynamic derivation of blackbody radiation pressure
Writing , we have , and hence
Equivalently, , so
The condition as forces . Therefore the radiation pressure is
At constant volume, the First law of thermodynamics gives
At constant pressure,
Differentiating at fixed gives
Consequently,
and the Mayer relation is
The specific-heat ratio is therefore
The first law of thermodynamics, with defined as heat lost by the particle to the bath, is
Thus , and part d becomes the local detailed balance identity
The logarithmic path-probability ratio is the bath's entropy production in units of .
Contract for the perfect fluid in general relativity with . Using and gives the relativistic perfect-fluid energy equation
the local first law of thermodynamics. Project instead with to obtain the relativistic Euler equation
Write . At fixed density,
The specific internal energy is
Applying the first law of thermodynamics adiabatically gives
Combining these logarithmic derivatives yields
As gas pressure dominates,
the result for a monatomic perfect gas. In the radiation-pressure limit it tends to .
An adiabatic process has no heat transfer, . With work done by the gas taken as positive, the first law of thermodynamics gives
Using and ,
Integration, followed by the Mayer relation , yields
Eliminating with the equation of state gives the reversible ideal-gas adiabat
For fixed amount of substance, take the internal energy . The first law of thermodynamics identifies and . Equality of mixed second derivatives gives
For the Helmholtz free energy, subtract the product differential from the first law of thermodynamics to obtain . Its natural variables are , so and . Exactness therefore gives
For the Gibbs free energy, the product rule gives . Thus , , and
For the enthalpy, , giving , and
These are the four Maxwell relations, each following from exactness in the appropriate pair of natural variables.
Along a change in volume at fixed temperature, the first law of thermodynamics gives
Use the Helmholtz Maxwell relation derived in (a) to replace the entropy derivative. This proves
For the stated Van der Waals equation, temperature-independent give . Hence . Integrating with respect to yields
The dilute-limit condition holds at every fixed and forces , so
The result is the internal energy of a van der Waals gas in the fixed-amount convention of the question. Its volume derivative is positive even though the attractive energy correction itself is negative.
The relevant claim concerns a machine that repeats its complete operating cycle while delivering a continuing net output of work without a corresponding supply of energy. A machine cannot supply net work in a cycle without taking in energy or depleting an energy store. This follows from conservation of energy, an experimentally supported physical law rather than a theorem of pure logic.
Let include the machine's internal energy, kinetic energy and potential energy. With the net heat received and the net work delivered, the first law of thermodynamics gives
For a complete cycle all stores return to their initial values, so and . If there is neither heat input nor another energy input, . A descending mass, unwinding spring, consumed fuel or discharged battery supplies energy, but it cannot be omitted from the accounting while calling the result perpetual motion.
Changing an overbalanced wheel's geometry does not evade the argument. A conservative force gives zero net work around a closed configuration cycle, while friction dissipates usable mechanical energy. Resetting a mechanism or returning a raised weight costs work that must be included.
Indefinitely continuing motion without useful output is a different possibility: an ideal frictionless oscillator or freely moving body need not stop. Connecting a load removes energy and changes that situation. A cyclic machine supplied with heat from only one reservoir and converting all that heat into work is excluded instead by the Kelvin-Planck statement of the Second law of thermodynamics. The first-law and second-law objections address different proposed energy balances.