ArticleslgStudy

mathematics

Maxwell relations

Maxwell relations is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Maxwell relations rather than just read about it. In short: The Maxwell relations in thermodynamics can be derived from the symmetry of second derivatives and the definitions of the thermodynamic potentials, or from Jacobian determinants. The most common Maxwell relations involve the potential functions U (the total internal energy), H (enthalpy), A (Helmholtz free energy), and G (Gibbs free energy), and the functions of state P (pressure), T (absolute temperature), V (volum…

Maxwell relations — main illustration
Maxwell relations — illustration

Key takeaways

  • Maxwell relations belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Maxwell relations to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Maxwell relations from memory before moving on to harder problems.

Reference excerpt

The Maxwell relations in thermodynamics can be derived from the symmetry of second derivatives and the definitions of the thermodynamic potentials, or from Jacobian determinants. The most common Maxwell relations involve the potential functions U (the total internal energy), H (enthalpy), A (Helmholtz free energy), and G (Gibbs free energy), and the functions of state P (pressure), T (absolute temperature), V (volume), and S (entropy). They are named for the physicist James Clerk Maxwell, who first presented them in his text Theory of Heat (1872). Maxwell's relations are useful in problem-solving quantities that are difficult to measure to those that are easier to work with. Numerous mnemonic devices exist for remembering them, notably, the thermodynamic square.

Equations The structure of Maxwell relations is a statement of equality among the second derivatives for continuous functions. It follows directly from the fact that the order of differentiation of an analytic function of two variables is irrelevant (Schwarz theorem). In the case of Maxwell relations the function considered is a thermodynamic potential and xi and xj are two different natural variables for that potential,

where the partial derivatives are taken with all other natural variables held constant. For every thermodynamic potential there are 12n(n−1) possible Maxwell relations where n is the number of natural variables for that potential.

The four most common Maxwell relations

The four most common Maxwell relations are the equalities of the second derivatives of each of the four thermodynamic potentials, with respect to their thermal natural variable (temperature T, or entropy S) and their mechanical natural variable (pressure P, or volume V):

where the potentials as functions of their natural thermal and mechanical variables are the internal energy U(S,V), enthalpy H(S,P), Helmholtz free energy F(T,V), and Gibbs free energy G(T,P). The thermodynamic square can be used as a mnemonic to recall and derive these relations. The usefulness of these relations lies in their quantifying entropy changes, which are not directly measurable, in terms of measurable quantities like temperature, volume, and pressure. Each equation can be re-expressed using the reciprocal relation(∂y∂x)z=1/(∂x∂y)z.

Derivations

First derivation For a given set of four real variables (x,y,z,w), restricted to move on a 2-dimensional C2 surface in ℝ4. Knowing two of them enables the remaining two to be determined. In particular, one may take any two variables as the independent variables, and let the other two be the dependent variables, then take all these partial derivatives. This derivation exploits the reciprocal relation (∂w∂y)z=(∂w∂x)z(∂x∂y)z, and the cyclical relation (∂x∂y)z(∂y∂z)x(∂z∂x)y=−1. There are four real variables (T,S,P,V), restricted on the 2-dimensional surface of possible thermodynamic states. This allows us to use the previous two propositions. It suffices to prove the first of the four relations, as the other three can be obtained by transforming the first relation using the previous two propositions. Pick V,S as the independent variables, and U as the dependent variable. Start with the thermodynamic identity dU=−PdV+TdS. Now, ∂V,SU=∂S,VU since the surface is C2, that is,[∂∂V(∂U∂S)V]S=[∂∂S(∂U∂V)S]V,which yields the result.

Derivation in terms of Jacobians This derivation is as follows. Since dU=TdS−PdV, for any cycle,0=∮dU=∮TdS−∮PdV.Taking the cycle infinitesimal yields ∂(P,V)∂(T,S)=1. That is, the map preserves area. Maxwell's relations therefore state in a cyclic process, that the work done by the system (given by the area of the closed cycle in the PV-plane) must be equal to the heat absorbed (the area of the closed cycle in the TS-plane). By the chain rule for Jacobians, for any coordinate transformation (x,y),∂(P,V)∂(x,y)=∂(T,S)∂(x,y).Now setting (x,y) to various values gives us the four Maxwell relations. For example, setting (x,y)=(P,S) gives (∂T∂P)S=(∂V∂S)P.

Extended derivations Maxwell relations are based on simple partial differentiation rules, in particular the total differential of a function and the symmetry of evaluating second order partial derivatives.

General Maxwell relationships The above are not the only Maxwell relationships. When other work terms involving other natural variables besides the volume work are considered or when the number of particles is included as a natural variable, other Maxwell relations become apparent. For example, if we have a single-component gas, then the number of particles N is also a natural variable of the above four thermodynamic potentials. The Maxwell relationship for the enthalpy with respect to pressure and particle number would then be: (∂μ∂P)S,N=(∂V∂N)S,P=∂2H∂P∂N where μ is the chemical potential. In addition, there are other thermodynamic potentials besides the four that are commonly used, and each of these potentials will yield a set of Maxwell relations. For example, the grand potential Ω(μ,V,T) yields: (∂N∂V)μ,T=(∂P∂μ)V,T=−∂2Ω∂μ∂V(∂N∂T)μ,V=(∂S∂μ)V,T=−∂2Ω∂μ∂T(∂P∂T)μ,V=(∂S∂V)μ,T=−∂2Ω∂V∂T

See also Table of thermodynamic equations Thermodynamic equations

References

Illustrations

Maxwell relations illustration
Maxwell relations: Flow chart showing the paths between the Maxwell relations. P is pressure, T temperature, V volume, S entropy, α coefficient of thermal expansion, κ compressibility, CV heat capacity at constant volume, CP heat capacity at constant pressure.
Flow chart showing the paths between the Maxwell relations. P is pressure, T temperature, V volume, S entropy, α coefficient of thermal expansion, κ compressibility, CV heat capacity at constant volume, CP heat capacity at constant pressure.

Worked examples

Example 1 — a first encounter with Maxwell relations

Start with the simplest possible case. Write down what Maxwell relations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Maxwell relations before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Maxwell relations ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Maxwell relations

In research
Maxwell relations appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Maxwell relations in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Maxwell relations is common in secondary-school and first-year university syllabi. It links to neighbouring topics James Clerk Maxwell, Thermodynamic equations, so understanding it makes those chapters shorter.
In everyday life
Look for Maxwell relations outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Maxwell relations” →

How to study Maxwell relations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Maxwell relations means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Maxwell relations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Maxwell relations in simple terms?

The Maxwell relations in thermodynamics can be derived from the symmetry of second derivatives and the definitions of the thermodynamic potentials, or from Jacobian determinants. The most common Maxwell relations involve the potential functions U (the total internal energy), H (enthalpy), A (Helmho…

Why does Maxwell relations matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Maxwell relations?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Maxwell relations.

Tags

  • James Clerk Maxwell
  • Thermodynamic equations

Keep exploring