Thermodynamic identities with sunray diagrams

Joon-Hwi Kim, Juno Nam

TL;DR

This paper introduces "sunray diagrams," a novel graphical tool that replaces the tedious algebraic manipulation of thermodynamic partial derivatives with intuitive "arrow sliding" on a plane. By grounding these diagrams in symplectic geometry, the authors provide a rigorous yet accessible way to visualize why complex identities—like the famous "mysterious minus sign" in the triple product rule—exist.

What Problem Does This Paper Address?

Undergraduate thermodynamics is notorious for its "alphabet soup" of partial derivative identities. Students often struggle to derive, memorize, or physically interpret expressions involving pressure ($P$), volume ($V$), temperature ($T$), and entropy ($S$).

The core challenge is that in thermodynamics, variables are interdependent; a partial derivative isn't just a slope, but a relationship that depends on what is being held constant. Standard calculus notation often obscures the underlying geometry, leading students to treat these identities as formal rules to be memorized rather than physical structures to be understood. While previous graphical methods (like Maxwell’s area-based approach or Jacobian techniques) exist, they are often too mathematically heavy or visually cluttered for quick, intuitive use.

Methods

The authors propose the Sunray Diagram, a vector-based graphical language:

  1. Differentials as Vectors: Differentials like $dx, dy, dz$ are represented as arrows on a 2D plane.
  2. Arrow Sliding: A partial derivative $\left(\frac{\partial x}{\partial y}\right)_z$ is interpreted as the scaling factor gained when "sliding" (projecting) vector $dx$ onto the direction of $dy$ along a "sunray" parallel to $dz$.
  3. The Wedge Product: To handle Maxwell relations, the authors incorporate the "oriented area" structure using the wedge product ($\wedge$). This allows the diagram to represent the relationship between different pairs of conjugate variables (like $P,V$ and $T,S$).
  4. Symplectic Geometry: The paper "levels up" the math by showing that these diagrams aren't just mnemonics. They are a "vector implementation" of the symplectic structure of thermodynamics, where the arrows represent symplectic gradients—flows that increase a conjugate variable by exactly one unit.

Datasets

Not discussed in the paper. As a theoretical and pedagogical work, the paper relies on mathematical proofs and derivations of established thermodynamic laws rather than empirical datasets.

Key Insights and Ideas

  • The "Mysterious Minus Sign" Demystified: One of the most confusing identities in thermo is the triple product rule, which equals $-1$. In a sunray diagram, this is visualized as an arrow taking a "lap" around a triangle of variables. After the third "slide," the arrow’s direction is flipped, providing a clear visual reason for the negative sign.
  • Vector vs. Area: While James Clerk Maxwell used parallelograms (areas) to derive his famous relations, the authors argue that "vectors are nicer than forms." Arrows are easier to add, decompose, and track mentally than shifting areas.
  • Symplectic Invariance: The paper highlights that the first law of thermodynamics ($dQ = dU + PdV$) implies that the area element in the $P-V$ plane must equal the area element in the $T-S$ plane ($dP \wedge dV = dT \wedge dS$). This invariance is what allows the sunray diagram to work across different coordinate systems.
  • Unit Increments: An arrow $dx$ in the diagram has a concrete physical meaning: it is a displacement in state space that increases the value of $x$'s conjugate variable by exactly one unit.

Key Results

The authors successfully demonstrate that sunray diagrams can derive all standard undergraduate thermodynamic identities, including:

  • The reciprocity and triple product rules.
  • The relationship between heat capacities ($C_P - C_V$).
  • All four Maxwell relations.
  • The ratio of isothermal to isentropic compressibility.

Qualitatively, the method is shown to be "considerably less bulky" than Maxwell’s original parallelogram sliding and more intuitive than the purely algebraic Jacobian technique. It provides a "blueprint" for proofs, where a student simply needs to find a visual pathway between two arrows to find the corresponding identity.

Limitations and Future Work

  • Dimensionality: The current paper focuses primarily on 2D systems (systems with two degrees of freedom). While the authors briefly mention "sunplanes" for 3D systems, the visual simplicity may decrease as more variables are added.
  • Scope of Potentials: The current work focuses on basic variables ($P, V, T, S$). The authors suggest that future work could explore how these diagrams handle Legendre transformations and other thermodynamic potentials (like Gibbs or Helmholtz free energy).
  • Broader Applications: Beyond thermodynamics, the authors see potential for sunray diagrams in any field governed by symplectic structures, such as Hamiltonian mechanics.

Summary updated

Abstract

One of the hurdles in teaching undergraduate thermodynamics is a plethora of complicated partial derivative identities. Students suffer from difficulties in deriving, justifying, or interpreting the identities, misconceptions about partial derivatives, and a lack of in-depth understanding of the meanings of identities. We propose a novel diagrammatic method for the calculus of differentials and partial derivatives called the "sunray diagram" that resolves the difficulties above. The sunray diagram technique relates a partial derivative with "arrow sliding," which enables an aesthetic and intuitive manipulation of partial derivative expressions in the form of successive arrow slidings. Furthermore, the sunray diagram is more than an ad hoc or abstract machinery but is based on the symplectic structure of thermodynamics; the sunray diagram admits a direct physical interpretation on the P-V (or T-S) plane. We elaborate on such physical semantics of the sunray diagram by taking Maxwell's approach to the geometry of thermodynamic structures--reinterpreted in terms of differential geometry--as a reference point. We anticipate that our discussion introduces the geometry of thermodynamics to learners and enriches the graphical pedagogy in physics education.
BibTeX
@article{kim2020thermodynamic,
  author = {Joon-Hwi Kim and Juno Nam},
  title = {{Thermodynamic identities with sunray diagrams}},
  journal = {European Journal of Physics},
  year = {2020},
  url = {https://openreview.net/forum?id=KWuyCMcL3t},
}
Figure