The triple product rule, known variously as the cyclic chain rule, cyclic relation, cyclical rule or Euler's chain rule, is a formula which relates partial derivatives of three interdependent variables. The rule finds application in thermodynamics, where frequently three variables can be related by a function of the form f(x, y, z) = 0, so each variable is given as an implicit function of the other two variables. For example, an equation of state for a fluid relates temperature, pressure, and volume in this manner. The triple product rule for such interrelated variables x, y, and z comes from using a reciprocity relation on the result of the implicit function theorem, and is given by
\left( | \partialx | \right)\left( |
\partialy |
\partialy | \right)\left( | |
\partialz |
\partialz | |
\partialx |
\right)=-1,
The advantage of the triple product rule is that by rearranging terms, one can derive a number of substitution identities which allow one to replace partial derivatives which are difficult to analytically evaluate, experimentally measure, or integrate with quotients of partial derivatives which are easier to work with. For example,
\left( | \partialx |
\partialy |
\right)=-
| |||||
|
Various other forms of the rule are present in the literature; these can be derived by permuting the variables .
An informal derivation follows. Suppose that f(x, y, z) = 0. Write z as a function of x and y. Thus the total differential dz is
dz=\left(
\partialz | |
\partialx |
\right)dx+\left(
\partialz | |
\partialy |
\right)dy
Suppose that we move along a curve with dz = 0, where the curve is parameterized by x. Thus y can be written in terms of x, so on this curve
dy=\left(
\partialy | |
\partialx |
\right)dx
Therefore, the equation for dz = 0 becomes
0=\left(
\partialz | |
\partialx |
\right)dx+\left(
\partialz | |
\partialy |
\right)\left(
\partialy | |
\partialx |
\right)dx
Since this must be true for all dx, rearranging terms gives
\left( | \partialz |
\partialx |
\right)=-\left(
\partialz | |
\partialy |
\right)\left(
\partialy | |
\partialx |
\right)
Dividing by the derivatives on the right hand side gives the triple product rule
\left( | \partialx | \right)\left( |
\partialy |
\partialy | |
\partialz |
\right)\left(
\partialz | |
\partialx |
\right)=-1
Note that this proof makes many implicit assumptions regarding the existence of partial derivatives, the existence of the exact differential dz, the ability to construct a curve in some neighborhood with dz = 0, and the nonzero value of partial derivatives and their reciprocals. A formal proof based on mathematical analysis would eliminate these potential ambiguities.
Suppose a function, where,, and are functions of each other. Write the total differentials of the variablesSubstitute into By using the chain rule one can show the coefficient of on the right hand side is equal to one, thus the coefficient of must be zeroSubtracting the second term and multiplying by its inverse gives the triple product rule
The ideal gas law relates the state variables of pressure (P), volume (V), and temperature (T) via
PV=nRT
which can be written as
f(P,V,T)=PV-nRT=0
so each state variable can be written as an implicit function of the other state variables:
\begin{align}P&=P(V,T)=
nRT | |
V |
\\[1em] V&=V(P,T)=
nRT | |
P |
\\[1em] T&=T(P,V)=
PV | |
nR |
\end{align}
From the above expressions, we have
\begin{align}-1&=\left(
\partialP | |
\partialV |
\right)\left(
\partialV | |
\partialT |
\right)\left(
\partialT | |
\partialP |
\right)\\[1em] &=\left(-
nRT | |
V2 |
\right)\left(
nR | |
P |
\right)\left(
V | |
nR |
\right)\\[1em] &=\left(-
nRT | |
PV |
\right)\\[1em] &=-
P | |
P |
=-1 \end{align}
A geometric realization of the triple product rule can be found in its close ties to the velocity of a traveling wave
\phi(x,t)=A\cos(kx-\omegat)
A\cos(kx-\omegat)=A\cos(k(x+\Deltax)-\omega(t+\Deltat)).
v=
\Deltax | |
\Deltat |
=
\omega | |
k |
.
To elucidate the connection with the triple product rule, consider the point p1 at time t and its corresponding point (with the same height) p̄1 at t+Δt. Define p2 as the point at time t whose x-coordinate matches that of p̄1, and define p̄2 to be the corresponding point of p2 as shown in the figure on the right. The distance Δx between p1 and p̄1 is the same as the distance between p2 and p̄2 (green lines), and dividing this distance by Δt yields the speed of the wave.
To compute Δx, consider the two partial derivatives computed at p2,
\left(
\partial\phi | |
\partialt |
\right)\Deltat=risefromp2to\bar{p}1intime\Deltat(goldline)
\left(
\partial\phi | |
\partialx |
\right)=slopeofthewave(redline)attimet.
\Deltax=-
| ||||||
|
,
v=
\Deltax | |
\Deltat |
=-
| ||||||
|
.
\Deltax | |
\Deltat |
=\left(
\partialx | |
\partialt |
\right)
v=
\Deltax | |
\Deltat |
=-
| ||||||
|
.