1 Introduction to Thermodynamics
1.1 Calculus for Physical Chemistry: Slicing and Gluing
Calculus is a powerful mathematical tool that helps us understand and analyze change. At its core, calculus involves two main procedures: differentiation and integration. These concepts are fundamental to the study of thermodynamics, as they enable us to examine how physical systems change. Undergraduate students often find calculus intimidating due to its rigorous presentation in mathematical courses. However, a strong mathematical foundation, while beneficial, is not always mandatory to study thermodynamics effectively.
If you are a student who lacks confidence in mathematics, I encourage you not to be deterred by the presence of calculus in this physical chemistry textbook. If you break this initial wall of fear for calculus, you might find this textbook quite rewarding. After all, we will finally explain where all those unmemorable formulas that you’ve been presented in introductory general chemistry courses are coming from. To facilitate your task, we will present in this chapter a simplified view of calculus. The starting point will be a basic question: how do we measure things in science? To answer this question, we will use calculus to measure the length of an object. At a first glance, this approach might seem pedantic. Why do we need to use calculus, with all of its mathematical complications, when we can just grab a ruler and stack it against our object to measure its length? However, we need to remind ourselves that our ultimate goal is physical chemistry, and calculus is the language of this field. By focusing on the straightforward task of measuring a simple length, we aim to make calculus more accessible and less daunting.1 From this simple starting point, we will expand our horizon to introduce the central topic of this textbook: Thermodynamics. Our main focus will be in the relationship between chemistry and thermodynamics, but since this is an advanced undergraduate textbook, we will need to do that from a rigorous perspective. If we want to see it in simple terms, we either deal with the approach of not explaining where things are coming from that is abundantly used in freshman chemistry courses, or we make the effort of learning a bit of calculus so we can use it to understand the world.
1.1.1 Differentiation: Infinite Slicing
Differentiation can be thought of as “slicing an object into infinitely thin pieces” to understand how it changes at a specific point. Imagine you have a long stick and you want to measure how its length changes along a specific direction. To do this, you would cut the stick into infinitely thin slices. Each slice is so thin that its change in length is practically infinitesimal. By examining each of these tiny slices and how they change, you can understand the rate at which the stick’s length changes at any given point. This process of infinite slicing is called differentiation, and it is the most powerful tool to understand things that change, that is, most of the things we are interested in science.
How so? Let’s look at a simple example. If we start from a stick of length \(L\), we can infinitely slice it into infinitesimally small pieces of length \(dL\). These incredibly tiny pieces are called differentials of the original quantity, in this particular case, the length of our stick. The beauty of these differentials, \(dL\), is that they don’t really depend on how long our object initially was, nor on which unit we plan on using to measure this length. The differentials will always have the same size, that is, they will always be infinitesimally small. Imagine, for example, that you start with an object whose length is \(1\, \text{m}\). After you slice it an infinite amount of times, each differential will have exactly the same length of \(0.000[...]0001\, \text{m}\), where we have replaced an infinite amount of zeros with the notation \([...]\). Now imagine that you start with a second object whose length is \(1000\, \text{m} = 1\,\text{km}\). After you slice this second object an infinite amount of times, you will end up with differentials that have exactly the same length as the ones we obtained before, that is \(0.000[...]0001\, \text{m} = 0.000[...]0001\, \text{km}\). At this point, specifying the unit of a differential (\(\text{m}\) or \(\text{km}\) in the case of length) becomes useless. For this reason, we say that differentials are unitless.
Now, through some mathematical magic, these strange numbers with an infinite amount of zeros, are essentially the same as \(0\), but they can be used much more effectively than something that purely doesn’t exist.2 The key word here is essentially, because the differentials will have zero length, but they will still contain some fundamental information related to the original objects. In the first place, they will still have the dimension of lengths, despite the fact that they’ve lost their units (since starting from a meter, or a kilometer, or any other unit of length you could think of, produce the same things). In technical terms, differentials are unitless, but they are not dimensionless. Additionally, the differentials will also contain information on the rate of change (the “slope”) of the length in the original objects. The question that remains is: How are we going to access this apparently hidden information? In other words, how are we going to reconstruct the length of the original object from the differentials? The answer is surprisingly simple: By comparing different differentials to each other. More specifically, despite their zero-ness, we are allowed to calculate the ratio between differentials, such as \(\frac{dL}{dx}\). In this specific case, we are calculating the ratio between the differential of the length of our stick, and the position, \(x\), along an axis that is oriented the same way as our stick.3 This special ratio is called the derivative, and it is fundamental to compare one differential to another. In simple terms, the derivative tells us how one quantity (the one at the top) changes, when we purposely change another (the one at the bottom). Going back to our simple example, the derivative \(\frac{dL}{dx}\) tells us how the length of our stick changes when we change the position on the axis. For this case, the derivative is a simple number \(\frac{dL}{dx}=1\), but more complicated cases are possible. So, how can we use this information to measure the length of our stick? A second calculus procedure, integration, comes to our rescue.
1.1.2 Integration: Gluing Together Differentials
Integration is the procedure that glues infinitely tiny slices back together to reconstruct the initial object. In simple terms, if you start with the infinitely thin slices of length that you cut earlier, you can add them all up to find the total length of the stick. Integration takes all these infinitesimally small pieces and combines them into a whole, helping you determine the accumulated total from the infinitesimal changes. Obviously this procedure is very complicated, and it involves gluing (summing over) an infinite amount of infinitesimally small things. If you can’t wrap your head around this, that’s OK, this concept puzzled humanity for thousands of years. The ancient Greeks were very concerned by this, but they failed to find a solution.4 It took two 17th century geniuses, Isaac Newton and Gottfried Wilhelm Leibniz, to figure out how to do so.
The solution came by first defining the mathematical operation that “undoes” the slicing:
\[\begin{equation} L = \int dL. \tag{1.1} \end{equation}\]
This operation is called an integral, and is represented by the symbol \(\int\). The integral is the inverse of \(d\), as it reconstructs the original object by gluing together an infinite amount of infinitesimally small differentials. This operation is, in practice, just a sanity check for the differentiation procedure introduced in the previous section. What eq. (1.1) is telling us, is nothing other than: if you start from an object, \(L\), and apply a certain operation to it (\(d\)), then there has to be another operation (\(\int\)) that undoes what the first operation did. This inverse procedure becomes really useful when we want to measure things in the real world. How so? Because we can compare differentials of an unknown quantity to differentials of known ones, and then use the latter to reconstruct the former. In our simple example, we can use the derivative, \(\frac{dL}{dx}=1\), to compare the length of the object (unknown) to the position along our axis (known, because we can manipulate it). This is the mathematical counterpart of taking an object with unknown length, and compare it to the length of a standard stick (a meter, a kilometer, a mile, …) The formula that describes this operation is:
\[\begin{equation} L=\int dL = \int_{i}^{f} 1 dx = x_f-x_i =\Delta x, \tag{1.2} \end{equation}\]
where the length (\(L\)) of the original object is reconstructed by fixing the initial piece at position \(x_i\) on the \(x\) axis, the final piece at position \(x_f\), and then by gluing together the differentials \(dx\) in between these points, using the integral procedure. Switching from \(dL\) to \(dx\) has the noticeable advantage of going from something that we initially don’t know anything about (the length of the stick) to something that we can manipulate as much as we want, because we specifically built it for this task (the position along the axis, \(x\)). This concept, of course, is not limited to length. If we differentiate an area, or a volume, or a pressure, or a temperature using eq. (1.1), we obtain the corresponding differentials. By comparing these differentials to specifically built ones that we are able to manipulate to our will, we can reconstruct the original quantity via integration, using eq. (1.2). Every differential will not depend on a specific unit of measure (for example, the differential of a temperature \(dT\) does not depend on whether we initially measure the temperature in degrees Celsius, or degrees Fahrenheit, or Kelvin), but it will retain the dimension of the original quantity (\(dT\) still retains the dimension of a temperature, a.k.a. it is a temperature, despite the fact that it has a value of essentially zero and it does not have any unit). In addition, every differential will retain hidden information about the initial object, which we can reconstruct by comparing to something we know, and then by applying integration to the latter. Notice that it is the operation in eq. (1.2) that puts the units back into the picture, by comparing an unknown differential to a known one. This is effectively the “measuring” procedure, written in mathematical terms.
When we wrote eq. (1.2), we glanced over the fact that \(\int_{i}^{f} 1 dx = x_f-x_i\). Where did that come from? And most importantly, how are we going to manage more complicated cases? At this point, you’ll have to go fetch a mathematics textbook, as you need to know how to perform some of those integrals. For all intents and purposes, we can use those formulas as recipes that mathematicians have written in the past. Granted, we are well aware of the fact that if we want to understand where the formulas are coming from, it is possible to do so with a little effort.5 Mathematicians have clear rules on how to compute many of these objects, and one of such rules tells us that \(\int_{i}^{f} dx = x_f-x_i\). Other common integration rules that we’ll need in this course are, for example: \(\int_{i}^{f} x^{n}\,dx=\left.\frac{x^{n+1}}{n+1}\right| _i^f =\frac{1}{n+1}\left(x_f^{n+1}-x_i^{n+1}\right)\) for \(n\neq 1\), and \(\int_{i}^{f} x^{-1} dx=\ln \left|x_f\right|-\ln \left|x_i\right|=\ln \left|\frac{x_f}{x_i}\right|,\)
This is indeed a good point to go fetch that old math textbook and refresh some of the simplest integration rules, as well as some of the simplest derivation ones. Not that we will use all of them, but we might indeed use a few ones.
1.1.3 Calculus for Thermodynamics
Now comes the interesting question: How are we going to practically perform these two important operations of differentiation and integration in thermodynamics? Well, imagine we need to study the behavior of a machine that prints out a number on a display. The first thing we need to do if we want to study this machine is to find something that makes the number change. Let’s represent this something with a knob. We can then turn the knob voluntarily one way or another, and register haw the number changes on the display. This is how you apply calculus in thermodynamics (and in most science, for that matters). Our machine might be the length of an object \(L\), while our knob might be the position along an axis \(x\). We can voluntarily change the position on the axis, and observe how the length changes on the display. Does that sound familiar? Can we use eq. (1.2) to do so? I believe so…
Now, obviously the example of length and position is the simplest we could imagine, and doesn’t really pertains to physical chemistry. A more relevant example is that of a gas, whose pressure changes when we change the pressure at constant volume. In this case, the pressure, \(P\), is the machine, and the temperature, \(T\), is the knob. To understand the machine, we will need to know the derivative \(\frac{dP}{dT}\). In many cases the derivative between our machine and our knob(s) might not be as simple as 1. In some of such cases, the derivative might be a different number, while in other it might be as complicated as a function itself. Some of the machine we will encounter might have more than just one knob, each with their own specific derivative, and each as complicated as it might be. In all cases, however, our analysis follow the same procedure: First, we identify all the knobs that affect the machine. Second, we use calculus to voluntarily change the position of the knobs and to register how the machine behaves. In mathematical terms, this procedure is to define and study the total differential:
\[\begin{equation} \begin{aligned} d\mathcal{M} &= \left( \frac{\partial \mathcal{M}}{\partial a} \right) da + \left( \frac{\partial \mathcal{M}}{\partial b} \right) db + \left( \frac{\partial \mathcal{M}}{\partial c} \right) dc + \cdots ,\\ \end{aligned} \tag{1.3} \end{equation}\]
where \(\mathcal{M}\) is our machine, \(d\mathcal{M}\) is its total differential, \(\left\{a,b,c,\cdots\right\}\) are the variables that affect the machine’s behavior (i.e. the knobs), and \(\frac{\partial \mathcal{M}}{\partial a}\) represents a partial derivative of the machine \(\mathcal{M}\) with respect to the variable \(a\) obtained by keeping all other variables constant. Notice that the number of variables is left unidentified, as it is our goal to indentify all of the variables that a machine depends on, and there are as many as necessary.
The final piece of the puzzle we need to applying calculus to thermodynamics is to know whether or not we can apply these two procedures to any quantity that enters the picture. The answer to this question, unfortunately, is a resounding no. Differentiation and integration can be applied to many variables that are “well-behaved.” Such variables are called state variables in thermodynamics. Unfortunately though, there are also a few variables that are not well-behaved at all. These are called path variables in thermodynamics. It turns out that some of the quantities that thermodynamics is mostly concerned about, such as heat and work, belong to this “ill-behaved” category. Before we delve deeper into state and path variables, however, we need to define what variables are in thermodynamics. And before we can do that, we need to take a whole step back and define what thermodynamic is concerned about, that is the thermodynamic system.
1.2 Thermodynamic Systems
A thermodynamic system—or just simply a system—is a portion of space with defined boundaries that separate it from its surroundings (see also the title picture of this book). The surroundings may include other thermodynamic systems or physical systems that are not thermodynamic systems. A boundary may be a real physical barrier or a purely notional one. Typical examples of systems are reported in Figure 1.1 below.6
In the first case, a liquid is contained in a typical Erlenmeyer flask. The boundaries of the system are the glass walls of the beaker. The second system is represented by the gas contained in a balloon. The boundary is a physical barrier also in this case, being the plastic of the balloon. The third case is that of a thunder cloud. The boundary is not a well-defined physical barrier, but rather some condition of pressure and chemical composition at the interface between the cloud and the atmosphere. Finally, the fourth case is the case of an open flame. In this case, the boundary is again non-physical, and possibly even harder to define than for a cloud. For example, we can choose to define the flame based on some temperature threshold, color criterion, or even some chemical one. Despite the lack of physical boundaries, the cloud and the flame—as portions of space containing matter—can be defined as a thermodynamic system.
A system can exchange exclusively mass, exclusively energy, or both mass and energy with its surroundings. Depending on the boundaries’ ability to transfer these quantities, a system is defined as open, closed, or isolated. An open system exchanges both mass and energy. A closed system exchanges only energy, but not mass. Finally, an isolated system does not exchange mass nor energy.
When a system exchanges mass or energy with its surroundings, some of its parameters (variables) change. For example, if a system loses mass to the surroundings, the number of molecules (or moles) in the system will decrease. Similarly, if a system absorbs some energy, one or more of its variables (such as its temperature) increase. Mass and energy can flow into the system or out of the system. Let’s consider mass exchange only. If some molecules of a substance leave the system, and then the same amount of molecules flow back into the system, the system will not be modified. We can count, for example, 100 molecules leaving a system and assign them the value of –100 in an outgoing process, and then observe the same 100 molecules going back into the system and assign them a value of +100. Regardless of the number of molecules present in the system in the first place, the overall balance will be –100 (from the outgoing process) +100 (from the ingoing process) = 0, which brings the system to its initial situation (mass has not changed). However, from a mathematical standpoint, we could have equally assigned the label +100 to the outgoing process and –100 to the ingoing one, and the overall total would have stayed the same: +100–100 = 0. Which of the two labels is best? For this case, it seems natural to define a mass going out of the system as negative (the system is losing it), and a mass going into the system as positive (the system is gaining it), but is it as straightforward for energy?
Type of System | Mass | Energy (either heat or work) |
---|---|---|
Open | Y | Y |
Closed | N | Y |
Isolated | N | N |
Here is another example. Let’s consider a system that is composed of your body. When you exercise, you lose mass in the form of water (sweat) and CO2 (from respiration). This mass loss can be easily measured by stepping on a scale before and after exercise. The number you observe on the scale will go down. Hence you have lost weight. After exercise, you will reintegrate the lost mass by drinking and eating. If you have reinstated the same amount you have lost, your weight will be the same as before the exercise (no weight loss). Nevertheless, which label do you attach to the amounts that you have lost and gained? Let’s say that you are running a 5 km race without drinking nor eating, and you measure your weight dropping 2 kg after the race. After the race, you drink 1.5 kg of water and eat a 500 g energy bar. Overall you did not lose any weight, and it would seem reasonable to label the 2 kg that you’ve lost as negative (–2) and the 1.5 kg of water that you drank and the 500 g bar that you ate as positive (+1.5 +0.5 = +2). But is it the only way? After all, you didn’t gain nor lose any weight, so why not calling the 2 kg due to exercise +2 and the 2 that you’ve ingested as –2? It might seem silly, but mathematically it would not make any difference, the total would still be zero. Now, let’s consider energy instead of mass. To run the 5km race, you have spent 500 kcal, which then you reintegrate precisely by eating the energy bar. Which sign would you put in front of the kilocalories that you “burned” during the race? In principle, you’ve lost them, so if you want to be consistent, you should use a negative sign. But if you think about it, you’ve put quite an effort to “lose” those kilocalories, so it might not feel bad to assign them a positive sign instead. After all, it’s perfectly OK to say, “I’ve done a 500 kcal run today”, while it might sound quite awkward to say, “I’ve done a –500 kcal run today.” Our previous exercise with mass demonstrates that it doesn’t really matter which sign you put in front of the quantities. As long as you are consistent throughout the process, the signs will cancel out. If you’ve done a +500 kcal run, you’ve eaten a bar for –500 kcal, resulting in a total zero loss/gain. Alternatively, if you’ve done a –500 kcal run, you would have eaten a +500 kcal bar, for a total of again zero loss/gain.
These simple examples demonstrate that the sign that we assign to quantities that flow through a boundary is arbitrary (i.e., we can define it any way we want, as long as we are always consistent with ourselves). There is no best way to assign those signs. If you ask two different people, you might obtain two different answers. But we are scientists, and we must make sure to be rigorous. For this reason, chemists have established a convention for the signs that we will follow throughout this course. If we are consistent in following the convention, we are guaranteed to never make any mistake with the signs.
Definition 1.1 The chemistry convention of the sign is system-centric:7
- If something (energy or mass) goes into the system it has a positive sign (the system is gaining)
- If something (energy or mass) goes out of the system it has a negative sign (the system is losing)
If you want a trick to remember the convention, use the weight loss/gain during the exercise example above. You are the system, if you lose weight, the kilograms will be negative (–2 kg), while if you gain weight, they will be positive (+2 kg). Similarly, if you eat an energy bar, you are the system, and you will have increased your energy by +500 kcal (positive). In contrast, if you burned energy during exercise, you are the system, and you will have lost energy, hence –500 kcal (negative). If the system is a balloon filled with gas, and the balloon is losing mass, you are the balloon, and you are losing weight; hence the mass will be negative. If the balloon is absorbing heat (likely increasing its temperature and increasing its volume), you are the system, and you are gaining heat; hence heat will be positive.
1.3 Thermodynamic Variables
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 variables that are a little harder to measure directly, such as entropy. If we know the values of all the “relevant variables” of a system, we know the state of the system. The relationships between all possible variables and the state of the system are called “state functions”. Imagine state functions as the “machines” that we described in the previous section. The relevant variables are called natural variables, and you should imagine them as the “knobs” of the machines that we want to study. When we need to study a specific aspect of the system, then we need to know the total differential of the state function that is relevant for that aspect.
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:
\[\begin{equation} PV=nRT \tag{1.4} \end{equation}\]
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 \,\text{J} \text{mol}^{-1} \text{K}^{-1})\) 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.
Alternatively, 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:
\[\begin{equation} \overline{V}=\frac{V}{n}. \tag{1.5} \end{equation}\]
We can then recast eq. (1.4) as:
\[\begin{equation} P\overline{V}=RT, \tag{1.6} \end{equation}\]
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:
\[\begin{equation} P(T,\overline{V})=\frac{RT}{\overline{V}}, \tag{1.7} \end{equation}\]
\[\begin{equation} \overline{V}(T,P)=\frac{RT}{P}, \tag{1.8} \end{equation}\]
\[\begin{equation} T(P,\overline{V})=\frac{P\overline{V}}{R}. \tag{1.9} \end{equation}\]
These equations define three state functions, each one expressed in terms of two independent natural variables. For example, eq. (1.7) defines the state function called “pressure”, expressed as a function of temperature and molar volume. Similarly, eq. (1.8) defines the “molar volume” as a function of temperature and pressure, and eq. (1.9) defines the “temperature” as a function of pressure and molar volume. As we mentioned above, 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})\), using the definition of total differential in eq. (1.3), we get:
\[\begin{equation} dP=\left( \frac{\partial P}{\partial T} \right)dT + \left( \frac{\partial P}{\partial \overline{V}} \right)d\overline{V} \tag{1.10} \end{equation}\]
Recalling Schwartz’s theorem, the mixed partial second derivatives that can be obtained from eq. (1.10) are the same:
\[\begin{equation} \frac{\partial^2 P}{\partial T \partial \overline{V}}=\frac{\partial}{\partial \overline{V}}\frac{\partial P}{\partial T}=\frac{\partial}{\partial T}\frac{\partial P}{\partial \overline{V}}=\frac{\partial^2 P}{\partial \overline{V} \partial T} \tag{1.11} \end{equation}\]
Which can be easily verified considering that:
\[\begin{equation} \frac{\partial}{\partial \overline{V}} \frac{\partial P}{\partial T} = \frac{\partial}{\partial \overline{V}} \left(\frac{R}{\overline{V}}\right) = -\frac{R}{\overline{V}^2} \tag{1.12} \end{equation}\]
and
\[\begin{equation} \frac{\partial}{\partial T} \frac{\partial P}{\partial \overline{V}} = \frac{\partial}{\partial T} \left(\frac{-RT}{\overline{V}^2}\right) = -\frac{R}{\overline{V}^2} \tag{1.13} \end{equation}\]
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.
1.3.1 State and Path Variables
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. These ill-behaved variables are called path variables (or path functions) because they depend on the path, rather than the state of the system. In contrast to these ill-behaved variables, well-behaved variables that can be used to define the state of the system are called state variables (or state functions).
Since path functions violate Schwartz’s theorem, their differential cannot be defined exactly, therefore eq. (1.2) does not exist. 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 can attempt to infinitely slice the initial variable by using the same calculus procedure introduced in section 1.1.1 and defined in eq. (1.1). The resulting infinitely small pieces, however, are different than regular “exact” differentials, and are called inexact differentials. To differentiate between exact and inexact differentials, we use the letter \(d\) for the former, and the letter \(đ\) for the latter. It is important to remember that inexact differentials are defined using eq. (1.1), but the procedure in (1.2) does not exist for them. Summarizing for a case that we will use often in thermodynamics, we can define the following quantity for heat (\(Q\)):
\[\begin{equation} Q = \int đQ. \tag{1.14} \end{equation}\]
However, we cannot use the familiar formula given by eq. (1.2) to calculate it:
\[\begin{equation} \int_{i}^{f} đQ \neq Q_f - Q_i, \tag{1.15} \end{equation}\]
as the left hand side of this equation is not defined.8 Work also behaves similarly.
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 1.2.
1.4 Chapter Review
1.4.1 Study Questions
1. What is the primary purpose of calculus in thermodynamics?
- To measure the length of objects.
- To understand and analyze change in physical systems.
- To create complex mathematical formulas.
- To predict the weather.
- To calculate the mass of atoms.
2. What does the term “differential” represent?
- The final state of a system.
- The initial state of a system.
- An infinitesimally small change in a quantity.
- The total energy of a system.
- The mass of a system.
3. Which of the following is NOT a characteristic of a good thermodynamic system?
- It has defined boundaries.
- It can exchange energy with its surroundings.
- It can be open, closed, or isolated.
- It must always have a physical barrier.
- It can be a portion of space containing matter.
4. According to the chemistry convention of signs, how is energy entering a system represented?
- With a negative sign.
- With a positive sign.
- With no sign.
- With a multiplication symbol.
- With a division symbol.
5. Which of the following is an example of an intensive variable in the ideal gas law?
- Volume (\(V\)).
- Number of moles (\(n\)).
- Pressure (\(P\)).
- Total energy (\(E\)).
- Mass (\(m\)).
6. Which of the following is a valid expression for the ideal gas law?
- \(P=nRTV\).
- \(\frac{P}{T}=\frac{nR}{V}\).
- \(P+V=nRT\).
- \(PVT=nR\).
- \(PT=nRV\).
7. What is a key difference between state variables and path variables?
- State variables are always intensive, while path variables are always extensive.
- State variables can be integrated, while path variables cannot be integrated exactly.
- State variables depend on the system’s history, while path variables do not.
- State variables are always measured in SI units, while path variables are not.
- State variables are only used for gases, while path variables are used for liquids.
8. Which of the following is an example of a path variable?
- Temperature (\(T\)).
- Pressure (\(P\)).
- Heat (\(Q\)).
- Volume (\(V\)).
- Molar volume (\(\overline{V}\)).
9. In the context of thermodynamics, what does the symbol \(đ\) represent when used instead of \(d\) in a differential?
- An exact differential.
- An inexact differential.
- A partial derivative.
- A state function.
- An intensive variable.
10. What is the correct expression for the total differential of pressure, \(P\), as a function of temperature, \(T\), and molar volume, \(\overline{V}\)?
- \(dP = \left(\frac{\partial P}{\partial T}\right)dT + \left(\frac{\partial P}{\partial \overline{V}}\right)d\overline{V}\)
- \(dP = \left(\frac{\partial T}{\partial P}\right)dT + \left(\frac{\partial \overline{V}}{\partial P}\right)d\overline{V}\)
- \(dP = \frac{\partial P}{\partial T} + \frac{\partial P}{\partial \overline{V}}\)
- \(dP = \frac{dT}{d\overline{V}}\)
- \(dP = PdT + Pd\overline{V}\)
Answers: Click to reveal
I apologize in advance to the mathematicians that will read this book and cringe at the several unexplained approximations I have made. I am fully aware of the dangers of not introducing these concepts rigorously, but some compromises have to be made…↩︎
Yes, we are purposely skipping a lot of stuff here, see the note above.↩︎
The axis doesn’t have to have the same orientation of the stick, but it is easier if we do so, in the first place.↩︎
Look up Zeno’s paradoxes for an interesting account of the situation at Greece’s times.↩︎
Yes, this is to a degree analogue to the plug and chug approach of general chemistry that we are trying to avoid here. However, we’ll let this one pass, otherwise we risk of presenting a mathematics textbook, rather than a physical chemistry one.↩︎
The photos depicted in this figure are taken from Wikipedia: the Erlenmeyer flasks photo was taken by user Maytouch L., and distributed under CC-BY-SA license; the cloud photo was taken by user Mathew T Rader, and distributed under CC-BY-SA license; the flame picture was taken by user Oscar, and distributed under CC-BY-SA license; the balloon photo is in the public domain.↩︎
Notice that physicists use a different sign convention when it comes to thermodynamics. To eliminate confusion, I will not describe the physics convention here, but if you are reading thermodynamics on a physics textbook, or if you are browsing the web and stumble on thermodynamics formula (e.g., on Wikipedia), please be advised that some quantity, such as work, might have a different sign than the one that is used in this textbook. Obviously, the science will not change, but you need to be always consistent, so if you decide that you want to use the physics convention, make sure to always use the physics convention. In this course, on the other hand, we will always use the chemistry one, as introduced above.↩︎
Technically, the integral itself does exist, but it takes different values when calculated along different paths, so it is not unique.↩︎