Skip to main content
Chemistry LibreTexts

1.2: Thermodynamic Variables

  • Page ID
    414035
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    The system is defined and studied using parameters that are called variables. These variables are quantities that we can measure, such as pressure and temperature. However, don’t be surprised if, on some occasions, you encounter some variable that is a little harder to measure directly, such as entropy. The variables depend only on the current state of the system, and therefore they define it. If I know the values of all the “relevant variables” of a system, I know the state of the system. The relationship between the variables is described by mathematical functions called state functions, while the “relevant variables” are called natural variables.

    What are the “relevant variables” of a system? The answer to this question depends on the system, and it is not always straightforward. The simplest case is the case of an ideal gas, for which the natural variables are those that enter the ideal gas law and the corresponding equation:

    \[ PV=nRT \label{1.2.1} \]

    Therefore, the natural variables for an ideal gas are the pressure P, the volume V, the number of moles n, and the temperature T, with R being the ideal gas constant. Recalling from the general chemistry courses, R is a universal dimensional constant which has the values of R = 8.31 kJ/mol in SI units.
    We will use the ideal gas equation and its variables as an example to discuss variables and functions in this chapter. We will analyze more complicated cases in the next chapters. Variables can be classified according to numerous criteria, each with its advantages and disadvantages. A typical classification is:

    • Physical variables (\(P\), \(V\), \(T\) in the ideal gas law): independent of the chemical composition of the system.
    • Chemical variables (\(n\) in the ideal gas law): dependent on the chemical composition of the system.

    Another useful classification is:

    • Intensive variables (\(P\), \(T\) in the ideal gas law): independent of the physical size (extension) of the system.
    • Extensive variables (\(V\), \(n\) in the ideal gas law): dependent on the physical size (extension) of the system.

    When we deal with thermodynamic systems, it is more convenient to work with intensive variables. Luckily, it is relatively easy to convert extensive variables into intensive ones by just taking the ratio between the two of them. For an ideal gas, by taking the ratio between V and n, we obtained the intensive variable called molar volume:

    \[ \overline{V}=\dfrac{V}{n}. \label{1.2.2} \]

    We can then recast Equation \ref{1.2.1} as:

    \[ P\overline{V}=RT, \label{1.2.3} \]

    which is the preferred equation that we will use for the remainder of this course. The ideal gas equation connects the 3 variables pressure, molar volume, and temperature, reducing the number of independent variables to just 2. In other words, once 2 of the 3 variables are known, the other one can be easily obtained using these simple relations:

    \[ P(T,\overline{V})=\dfrac{RT}{\overline{V}}, \label{1.2.4} \]

    \[ \overline{V}(T,P)=\dfrac{RT}{P}, \label{1.2.5} \]

    \[ T(P,\overline{V})=\dfrac{P\overline{V}}{R}. \label{1.2.6} \]

    These equations define three state functions, each one expressed in terms of two independent natural variables. For example, Equation \ref{1.2.4} defines the state function called “pressure”, expressed as a function of temperature and molar volume. Similarly, Equation \ref{1.2.5} defines the “molar volume” as a function of temperature and pressure, and Equation \ref{1.2.6} defines the “temperature” as a function of pressure and molar volume. When we know the natural variables that define a state function, we can express the function using its total differential, for example for the pressure \(P(T, \overline{V})\):

    \[ dP=\left( \dfrac{\partial P}{\partial T} \right)dT + \left( \dfrac{\partial P}{\partial \overline{V}} \right)d\overline{V} \label{1.2.7} \]

    Recalling Schwartz’s theorem, the mixed partial second derivatives that can be obtained from Equation \ref{1.2.7} are the same:

    \[ \dfrac{\partial^2 P}{\partial T \partial \overline{V}}=\dfrac{\partial}{\partial \overline{V}}\dfrac{\partial P}{\partial T}=\dfrac{\partial}{\partial T}\dfrac{\partial P}{\partial \overline{V}}=\dfrac{\partial^2 P}{\partial \overline{V} \partial T} \label{1.2.8} \]

    Which can be easily verified considering that:

    \[ \dfrac{\partial}{\partial \overline{V}} \dfrac{\partial P}{\partial T} = \dfrac{\partial}{\partial \overline{V}} \left(\dfrac{R}{\overline{V}}\right) = -\dfrac{R}{\overline{V}^2} \label{1.2.9} \]

    and

    \[ \dfrac{\partial}{\partial T} \dfrac{\partial P}{\partial \overline{V}} = \dfrac{\partial}{\partial T} \left(\dfrac{-RT}{\overline{V}^2}\right) = -\dfrac{R}{\overline{V}^2} \label{1.2.10} \]

    While for the ideal gas law, all the variables are “well-behaved” and always satisfy Schwartz’s theorem, we will encounter some variable for which Schwartz’s theorem does not hold. Mathematically, if the Schwartz’s theorem is violated (i.e., if the mixed second derivatives are not equal), then the corresponding function cannot be integrated, hence it is not a state function. The differential of a function that cannot be integrated cannot be defined exactly. Thus, these functions are called path functions; that is, they depend on the path rather than the state. The most typical examples of path functions that we will encounter in the next chapters are heat (\(Q\)) and work (\(W\)). For these functions, we cannot define exact differentials \(dQ\) and \(dW\), and we must introduce a new notation to define their “inexact differentials” \(đ Q\) and \(đ W\).

    We will return to exact and inexact differential when we discuss heat and work, but for this chapter, it is crucial to notice the difference between a state function and a path function. A typical example to understand the difference between state and path function is to consider the distance between two geographical locations. Let’s, for example, consider the distance between New York City and Los Angeles. If we fly straight from one city to the other, there are roughly 4,000 km between them. This “air distance” depends exclusively on the geographical location of the two cities. It stays constant regardless of the method of transportation that I have accessibility to travel between them. Since the cities’ positions depend uniquely on their latitudes and longitudes, the “air distance” is a state function, i.e., it is uniquely defined from a simple relationship between measurable variables. However, the “air distance” is not the distance that I will practically have to drive when I go from NYC to LA. Such “travel distance” depends on the method of transportation that I decide to take (airplane vs. car vs. train vs. boat vs. …). It will depend on a plentiful amount of other factors such as the choice of the road to be traveled (if going by car), the atmospheric conditions (if flying), and so on. A typical “travel distance” by car is, for example, about 4,500 km, which is about 12% more than the “air distance.” Indeed, we could even design a very inefficient road trip that avoids all highways and will result in a “travel distance” of 8,000 km or even more (200% of the “air distance”). The “travel distance” is a clear example of a path function because it depends on the specific path that I decide to travel to go from NYC to LA. See Figure \(\PageIndex{1}\).

    clipboard_ef163224452bc112aef1eb5041fef8014.png
    Figure \(\PageIndex{1}\): State Functions vs. Path Functions.

    This page titled 1.2: Thermodynamic Variables is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Roberto Peverati via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?