Thermodynamic identities with sunray diagrams

Joon-Hwi Kim, Juno Nam

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 anticipate that our discussion introduces the geometry of thermodynamics to learners and enriches the graphical pedagogy in physics education.

Introduction: Beyond the "Alphabet Soup"

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.

The Sunray Diagram Method

The authors propose the Sunray Diagram, a vector-based graphical language that simplifies these relationships. In this framework:

  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 diagram incorporates the "oriented area" structure using the wedge product ($\wedge$). This allows it to represent the relationship between different pairs of conjugate variables (like $P,V$ and $T,S$).
  4. Symplectic Geometry: These diagrams 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.
The basic mechanism of arrow sliding in a sunray diagram.

Key Insights: Demystifying the Triple Product Rule

One of the most confusing identities in thermodynamics is the triple product rule, which equals $-1$: $$\left(\frac{\partial x}{\partial y}\right)_z \left(\frac{\partial y}{\partial z}\right)_x \left(\frac{\partial z}{\partial x}\right)_y = -1$$

In a sunray diagram, this is visualized as an arrow taking a "lap" around a triangle of variables. As shown in Figure 3, after the third "slide," the arrow’s direction is flipped relative to its starting orientation, providing a clear visual reason for the negative sign.

Visual derivation of the triple product rule.

Other key insights include:

  • 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 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.

Results and Future Work

The authors successfully demonstrate that sunray diagrams can derive all standard undergraduate thermodynamic identities, including reciprocity rules, the relationship between heat capacities ($C_P - C_V$), and all four Maxwell relations. Qualitatively, the method is "considerably less bulky" than Maxwell’s original parallelogram sliding and more intuitive than the purely algebraic Jacobian technique.

While the current work focuses on 2D systems with variables like $P, V, T, S$, future work could explore "sunplanes" for higher-dimensional systems and how these diagrams handle Legendre transformations for other potentials like Gibbs or Helmholtz free energy. Beyond thermodynamics, sunray diagrams offer potential for 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