Energy flow (ecology) 2026-10-13
Energy flow tracks energy entering an ecosystem, passing through organisms and leaving its boundary. To see its quantitative effect, assume net production at one trophic level is and assume a transfer efficiency at each of two successive steps. Here measures the energy incorporated into new living material per unit area per day, after that level's own cellular respiration; it is not a count of organisms or a standing stock. The joule supplies the energy unit, with .
Figure 1.
An assumed energy flow budget: 1000 → 100 → 10 kJ per square metre per day
. Original toy calculation with 10 percent transfer efficiency assumed at both steps. Bars use one linear scale; the labels retain visibility of the smallest bar. The differences 900 and 90 are production not transferred along the selected food chain, not measurements of heat alone. The example is separate from the four-position illustrative food web. Details.
Only , or one percent, of the initial production reaches level 3 in this toy food chain. The first step leaves and the second outside the next level's new production. These differences can include uneaten material, wastes, and energy released as heat during cellular respiration; their separate amounts have not been assigned. Detritus can still carry energy to decomposers. The 10 percent efficiency is an assumption, not a universal law: transfer efficiencies vary with the organisms, food and conditions. The production ratio also differs from the fraction of an individual meal converted into growth. See Clark, Douglas and Choi, Biology 2e, 46.2: production and transfer efficiency.
The shrinking budget explains why supporting another trophic level requires enough production below it. It does not prove an exact maximum length for every food chain, particularly when a food web imports resources or has branching diets. Lindeman's 1942 paper grouped feeding relationships into trophic levels, compared transfers and cellular respiration, and emphasized the ecosystem as a unit connecting living and nonliving components. That viewpoint made different organisms comparable through a common energy budget. See Lindeman, The Trophic-Dynamic Aspect of Ecology (1942).
Material recycling and energy flow describe different bookkeeping. Carbon, nitrogen and phosphorus can be reused through chemical reactions and transfers between organisms and their surroundings. Energy transferred as heat is conserved, but is no longer the same store of chemical energy available to a consumer; photosynthetic primary producers need continuing light input. A decomposer helps recycle material and also releases heat through metabolism. Thus loss from one feeding budget means transfer into other forms or routes, never destruction of energy. See Clark, Douglas and Choi, Biology 2e, 46.3: material cycles. Conservation of energy applies to the whole accounting.
Enthalpy Created 2026-09-24 Updated 2026-10-14
Enthalpy is the state function obtained by adding pressure times volume to internal energy:
Here denotes internal energy, also written in some references. Like internal energy, enthalpy is measured in joules and is an extensive variable. Its definition packages the internal energy change and expansion work into one useful quantity for fixed-pressure calculations. It does not define a body's stored heat. [ref]
For a fixed amount and composition of a simple compressible system, the relation between neighboring equilibrium states is
Here is absolute temperature and is entropy. Thus entropy and pressure are the natural variables of this thermodynamic potential, with partial derivatives and . Fixed composition matters: changing composition adds further terms. The formula follows in one line from the equilibrium first law of thermodynamics identity:
The cancellation of is the reason enthalpy replaces volume with pressure as a natural variable. This identity concerns equilibrium states; it does not identify with actual irreversible heat transfer. [ref]
For a closed system undergoing a quasistatic process at constant pressure, require fixed amount and composition, only pressure-volume work, no friction, and unchanged bulk kinetic energy and potential energy. Then the actual first law of thermodynamics balance gives
The symbol means transferred heat for this fixed-pressure process. If the piston example in heat additionally meets these conditions, its of incoming heat equals , while and . The example shows exactly what enthalpy adds to internal energy: the expansion work required at the imposed pressure.
Within a single thermodynamic phase, heat capacity at constant pressure gives
with the amount and composition fixed. Constant gives ; dividing by mass gives specific heat capacity at constant pressure. At equilibrium melting, enthalpy can instead change through latent heat while temperature stays fixed. The sensible heat example therefore adds two single-thermodynamic phase enthalpy changes and one latent heat contribution.
The usefulness of enthalpy lies in matching the imposed constraint: a fixed-pressure experiment naturally reports , while fixed-volume heating with no other work reports . Neither equality is universal. Additional work or changing pressure alters the relation between supplied heat and ; irreversible entropy production also prevents identifying actual with . The separate Joule-Thomson coefficient branch uses enthalpy to describe throttling under its own assumptions.
Entropy Created 2026-09-24 Updated 2026-10-14
Entropy is an extensive quantity and a state function of an equilibrium system, measured in . Differences between equilibrium states are calculated along a reversible thermodynamic process:
Here heat entering the system is positive and is its absolute thermodynamic temperature. The reversible path used for calculation need not be the path actually taken. Dividing the actual heat by a single temperature generally fails for an irreversible process.
For example, put two rigid bodies, each with constant heat capacity , at and in an otherwise isolated system. Assume each body has a uniform internal temperature, no phase transition occurs, and no work is extracted. Their final thermal equilibrium is at , because the internal energy lost by one equals that gained by the other. Using entropy from heat capacity,
so . One body's entropy decreases while the total increases. [ref]
Figure 1.
Thermal equilibration of two finite bodies conserves energy and increases total entropy
. Details.
In statistical mechanics, Boltzmann's entropy formula counts equally likely microstates compatible with a macrostate; Gibbs entropy handles a specified probability distribution over microstates. If the number of equally likely microstates doubles, entropy increases by . The logarithm makes multiplicative counts additive for independent systems. These are precise statements about states and probabilities, not a universal measure of visible messiness. Calling entropy merely "disorder" obscures the thermal calculation above and hides which microstates are being counted. [ref]
The usefulness of entropy is that measurable heat capacities determine its changes, and the Second law of thermodynamics turns those changes into constraints on processes. It also connects macroscopic measurements to microscopic descriptions without requiring us to track every particle.
For the insulated gas-only free expansion of an ideal gas, the equilibrium endpoints are and with . Because entropy is a state function, calculate their difference along a hypothetical reversible thermodynamic process: an isothermal expansion using a frictionless piston and a thermal reservoir at . This comparison process receives heat and delivers work, even though the actual free expansion does neither. Its reversible heat increment is , so
Here is the molar gas constant, and the logarithm acts on a dimensionless ratio. The reversible reference gives the correct endpoint entropy difference because entropy is a state function; putting the actual into would misuse a relation requiring reversible heat transfer. For the actual isolated gas, all this increase is entropy production. Thus an adiabatic process can increase entropy and need not be an isentropic process. [ref]
Figure 1.
The reversible reference calculates entropy without supplying a path for the actual free expansion
. Toy ideal gas example with , , and stipulated . The plotted curve belongs only to the hypothetical reversible isothermal expansion; the actual release has the same equilibrium endpoints but no equilibrium curve between them. The table refers to the gas, with work positive outward. No points are experimental data. Details.
In the figure's volume doubling, the ideal gas law gives and , while . The reference process receives and delivers as heat and work; its thermal reservoir loses the same entropy that the gas gains. The actual free expansion has and produces that entropy internally. Reversibly compressing the gas back at would require of work input and rejection of equal heat. Restoring the gas alone therefore changes the surroundings: the actual release is irreversible.
For a real gas the final temperature may differ, so the ideal-gas logarithm formula cannot simply be copied. Evaluate using that gas's equilibrium properties or a suitable reversible comparison path. If the walls and water exchange heat with it, the Second law of thermodynamics constrains the total entropy of the isolated apparatus; the gas alone is then not an isolated system.
The entropy density of a photon gas is its entropy per physical volume, . For homogeneous equilibrium vacuum radiation with two states of electromagnetic polarization and zero photon chemical potential,
The first equality is the entropy density at zero chemical potential, obtained from the thermodynamic Euler relation with internal energy . The second uses the photon gas equation of state, and . If an independently constrained photon number gives a nonzero chemical potential, the general entropy density is and need not hold. This distinction explains why the absence of a conserved number matters for entropy as well as for the spectral shape. [ref]
A short first law of thermodynamics check, for neighboring equilibrium states with , is
The thermodynamic Euler relation fixes the additive normalization. Equivalently, this radiation entropy tends to zero with temperature at fixed volume; no contribution from the containing walls is included. Interpreting as transferred heat and as boundary work requires a reversible thermodynamic process. For a reversible thermodynamic process that is also an adiabatic process, there is no entropy production or entropy exchange, so
An irreversible adiabatic process can produce entropy even without heat exchange, so the word adiabatic alone is insufficient to infer .
For an analytic example, expand an initially equilibrated photon gas reversibly from to , keeping only the same two photon states of electromagnetic polarization. Its temperature halves, its energy density becomes , its entropy density of a photon gas becomes , and its total entropy stays . The internal energy halves rather than remaining fixed: the missing half leaves as work against radiation pressure,
This is a stipulated reversible radiation model, not a report of a piston experiment. Maintaining a real cavity along this path requires controlling wall heat exchange and including the wall heat capacity in any actual apparatus balance.
Figure 1.
Analytic reversible photon gas expansion: entropy conservation and pressure work
. Original fixed-species model with from 1 to 8 and no entropy production. The left panel shows , and on a logarithmic vertical scale. The right panel plots ; the shaded integral is . Total entropy remains constant even though both entropy density and internal energy decrease. Details.
For a computed scale at stipulated , . Combining this with the photon number density gives
This is the total equilibrium radiation entropy divided by its mean photon number, not a separately assigned entropy carried by each labeled particle. During the ideal expansion, and is fixed, so the mean number also stays constant. This follows from the path; it was not imposed as the independent number constraint used to establish chemical potential.
The beautiful connection is that expansion lowers each typical photon energy and dilutes the radiation in just the proportions needed to retain its equilibrium spectral shape and total entropy. For the cosmic microwave background, homogeneous expansion of the universe has physical volume proportional to the cube of the scale factor; fixed-species cosmological entropy conservation therefore gives . This describes preservation of an already established Planck photon distribution and connects the FIRAS spectral observation in photon gas to an entropy prediction; FIRAS did not perform a direct entropy measurement. When other equilibrated species disappear and transfer energy into radiation, use the effective number of relativistic entropy degrees of freedom, : the conserved quantity for the combined sector is , under the corresponding equilibrium and no-entropy production assumptions. A changing species population, separate decoupled sectors or entropy production requires an appropriate entropy balance rather than the pure photon gas formula. [ref]
Entropy maximization under thermal contact Created 2026-09-29 Updated 2026-10-14
At fixed volumes and material inventories, two internally equilibrated bodies that exchange only heat within an isolated system have fixed total internal energy . Their total entropy is
Using , an interior stationary point obeys
Thus entropy stationarity requires matching thermodynamic temperatures. Positive values of heat capacity at constant volume make this a strict local maximum because
For bodies with positive heat capacities throughout the accessible range, this concavity gives at most one interior maximum. This is the stability check behind the equal-temperature condition; see entropy concavity and positive heat capacity. [ref]
For thermal equilibration of two finite bodies, entropy from heat capacity gives
Body 1 gains about of entropy, while body 2 loses about . Total energy is conserved even though total entropy increases. The entropy calculation uses reversible comparison paths between the endpoint states; actual exchange across a finite temperature difference is irreversible.
Figure 1.
At fixed total energy, matching temperatures maximize total entropy
. The curve is total entropy relative to the initial , state. Every point satisfies . Only is shown; the mathematical model's positive-temperature domain is . Details.
To construct the plot, vary while enforcing the energy constraint, rather than holding fixed. In numerical units of kelvin, , and the plotted function is
Here means , so its zero is a reference choice. The chain rule yields
The unique maximum is at . The physical trajectory starts at and moves toward that maximum; the rest of the curve compares other possible energy partitions, not later times in the trajectory.
The contact model also proves the direction of change directly:
For and positive temperatures, equality holds exactly at thermal equilibrium. The appealing link is that a dynamical heat transfer law moves the system uphill on the constrained entropy curve, while conservation of energy keeps it on that curve. This predicts both why the endpoint is stable and why the reverse separation into hot and cold bodies cannot happen spontaneously in the isolated system.
First law of thermodynamics Created 2026-09-24 Updated 2026-10-14
The first law applies conservation of energy to a thermodynamic system. For a closed system with unchanged bulk kinetic energy and potential energy, write
Here is internal energy, is heat entering the system and is work done by the system on its surroundings. Compression therefore gives negative . Some references define work positive when done on the system; their plus sign represents the same balance with a different convention. If bulk kinetic energy or potential energy changes, include it in the total energy balance. [ref]
Supplying of heat while a gas does of work increases its internal energy by . Compressing it with of input work in an adiabatic process instead gives , and .
The distinction between and records state versus path: internal energy is a state function, whereas heat and work depend on the process. For an ideal gas expanding reversibly at constant temperature, and , since internal energy of an ideal gas depends only on temperature. Choose and : then . An insulated free expansion into vacuum between the same equilibrium endpoints has . Both have , yet their transfers differ. Their common entropy increase is . [ref]
For a simple compressible equilibrium system of fixed composition, combining the laws gives
Here is pressure and is volume. This identity relates neighboring equilibrium states. Identifying with actual heat and with actual work requires a suitable reversible thermodynamic process; an irreversible piston calculation uses the external resisting pressure for boundary work. This distinction prevents applying a reversible ideal-gas adiabat to an irreversible adiabatic piston compression.