Derivative Relations

In Chapters 15, we analyzed processes using either the ideal gas law to describe the fluid or a thermodynamic chart or table. We have not yet addressed what to do in the event that a thermodynamic chart/table is not available for a compound of interest and the ideal gas law is not valid for our fluid. To meet this need, it would be ideal if we could express U or H in terms of other state variables such as P,T. In fact, we did this for the ideal gas in Eqns. 2.35 through 2.38. Unfortunately, such an expression is more difficult to derive for a real fluid. The required manipulations have been performed for us when we look at a thermodynamic chart or table. These charts and tables are created by utilizing the P-V-T properties of the fluid, together with their derivatives to calculate the values for H, U, S which you see compiled in the charts and tables. We explore the details of how this is done in Chapters 89 after discussing the equations of state used to represent the P-V-T properties of fluids in Chapter 7. The remainder of this chapter exploits primarily mathematical tools necessary for the manipulations of derivatives to express them in terms of measurable properties. By measurable properties, we mean

Image Generalized expression of U and H as functions of variables like T and P are desired. Further, the relations should use P-V-T properties and heat capacities.

1. P-V-T and partial derivatives involving only P-V-T.

2. CP and CV which are known functions of temperature at low pressure (in fact, CP and CV are special names for derivatives of entropy).

3. S is acceptable if it is not a derivative constraint or within a derivative term. S can be calculated once the state is specified.

Recall that the Gibbs phase rule specifies for a pure single-phase fluid that any state variable is a function of any two other state variables. For convenience, we could write internal energy in terms of {P,T}, {V,T} or any other combination. In fact, we have already seen that the internal energy is a natural function of {S,V}:

dU = T dS – P dV

In real processes, this form is not the easiest to apply since {V,T} and {P,T} are more often manipulated than {S,V}. Therefore, what we seek is something of the form:

Image

The problem we face now is determining the functions f(P, V, T, CP, CV) and g(P, V, T, CP,CV). The only way to understand how to find the functions is to review multivariable calculus, then apply the results to the problem at hand. If you find that you need additional background to understand the steps applied here, try to understand whether you seek greater understanding of the mathematics or the thermodynamics. The mathematics generally involve variations of the chain rule or related derivatives. The thermodynamics pertain more to choices of preferred variables into which the final results should be transformed. Keep in mind that the development here is very mathematical, but the ultimate goal is to express U, H, A, and G in terms of measurable properties.

First, let us recognize that we have a set of state variables {T, S, P, V, U, H, A, G} that we desire to interrelate. Further, we know from the phase rule that specification of any two of these variables will specify all others for a pure, simple system (i.e., we have two degrees of freedom). The relations developed in this section are applicable to pure simple systems; the relations are entirely mathematical, and proofs do not lie strictly within the confines of “thermodynamics.” The first four of the state properties in our set {T, S, P, V} are the most useful subset experimentally, so this is the subset we frequently choose to use as the controlled variables. Therefore, if we know the changes of any two of these variables, we will be able to determine changes in any of the others, including U, H, A, and G. Let’s say we want to know how U changes with any two properties which we will denote symbolically as x and y. We express this mathematically as:

Image

Image The principles that we apply use multivariable calculus.

where x and y are any two other variables from our set of properties. We also could write

Image

where x and y are any properties except T. The structure of the mathematics provides a method to determine how all of these properties are coupled. We could extend the analysis to all combinations of variables in our original set. As we will see in the remainder of the chapter, there are some combinations which are more useful than others. In the upcoming chapter on equations of state, some very specific combinations will be required. A peculiarity of thermodynamics that might not have been emphasized in calculus class is the significance of the quantity being held constant, e.g., the y in (∂U/x)y. In mathematics, it may seem obvious that y is being held constant if there are only two variables and ∂x specifies the one that is changing. In thermodynamics, however, we have many more than two variables, although only two are varying at a time. For example, (∂U/T)V is something quite different from (∂U/T)P, so the subscript should not be omitted or casually ignored.

Basic Identities

Frequently as we manipulate derivatives we obtain derivatives of the following forms which should be recognized.

Image

Image

Image Basic identities.

Image

Triple Product Rule

Suppose F = F(x,y), then

Image

Consider what happens when dF = 0 (i.e., at constant F). Then,

Image

Image Triple product rule.

Two Other Useful Relations

First, for any partial derivative involving three variables, say x, y, and F, we can interpose a fourth variable z using the chain rule:

Image

Image Chain rule interposing a variable.

Another useful relation is found by a procedure known as the expansion rule. The details of this expansion are usually not covered in introductory calculus texts:

Image

Image The expansion rule.

Recall that we started with a function F = F(x,y). If you look closely at the expansion rule, it provides a method to evaluate a partial derivative (∂F/∂w)z in terms of (∂x/∂w)z and (∂y/∂w)z. Thus, we have transformed the calculation of a partial derivative of F to partial derivatives of x and y. This relation is particularly useful in manipulation of the fundamental relations S, U, H, A, and G when one of these properties is substituted for F, and the natural variables are substituted for x and y. We will demonstrate this in Examples 6.1 and 6.2. Look again at Eqn. 6.17. It looks like we have taken the differential expression of Eqn. 6.14 and divided through the differential terms by dw and constrained to constant z, but this procedure violates the rules of differential operators. What we have actually done is not nearly this simple.2 However, looking at the equation this way provides a fast way to remember a complicated-looking expression.

Exact Differentials

In this section, we apply calculus to the fundamental properties. Our objective is to derive relations known as Maxwell’s relations. We begin by reminding you that we can express any state property in terms of any other two state properties. For a function which is only dependent on two variables, we can obtain the following differential relation, called in mathematics an exact differential.

Image

Developing the ability to express any state variable in terms of any other two variables from the set {P, T, V, S} as we have just done is very important. But the equation looks a little formidable. However, the fundamental property relationship says:

Image

Comparison of the above equations shows that:

Image

This means that the derivatives in Eqn. 6.18 are really properties that are familiar to us. Likewise, we can learn something about formidable-looking derivatives from enthalpy:

Image

But the result of the fundamental property relationship is:

dH = TdS + VdP

Comparison shows that:

T = (∂H/S)P and V = (∂H/P)S

Now, we see that a definite pattern is emerging, and we could extend the analysis to Helmholtz and Gibbs energy. We can, in fact, derive relations between certain second derivatives of these relations. Since the properties U, H, A, and G are state properties of only two other state variables, the differentials we have given in terms of two other state variables are known mathematically as exact differentials; we may apply properties of exact differentials to these properties. We show the features here; for details consult an introductory calculus textbook. Consider a general function of two variables: F = F(x,y), and

Image

For an exact differential, differentiating with respect to x we can define some function M:

Image

Similarly differentiating with respect to y:

Image

Image Exact differentials.

Taking the second derivative and recalling from multivariable calculus that the order of differentiation should not matter,

Image

Image

Image Euler’s reciprocity relation.

This simple observation is sometimes called Euler’s reciprocity relation.3 To apply the reciprocity relation, recall the total differential of enthalpy considering H = H(S,P):

Image

Considering second derivatives:

Image

Image

A similar derivation applied to each of the other thermodynamic functions yields the equations known as Maxwell’s relations.

Maxwell’s Relations

Image

Image

Image Maxwell’s relations.

Image

Image


Example 6.1. Pressure dependence of H

Derive the relation for Image and evaluate the derivative for: a) water at 20°C where Image and Image, ρ = 0.998 g/cm3; b) an ideal gas.

Solution

First, consider the general relation dH = TdS + VdP. Applying the expansion rule,

Image

by a Maxwell relation, the entropy derivative may be replaced

Image

which is valid for any fluid.

a. Plugging in values for liquid water,

Image

Therefore, within 6% at room temperature, Image for liquid water as used in Eqn. 2.42 on page 59 and Example 2.6 on page 60.

b. For an ideal gas, we need to evaluate (∂V/∂T)P. Applying the relation to V = RT/P, (∂V/∂T)P = R/P. Inserting into Eqn. 6.33, enthalpy is independent of pressure for an ideal gas.

Image

A non-ideal gas will have a different partial derivative, and the enthalpy will depend on pressure as we will show in Chapter 8.



Example 6.2. Entropy change with respect to T at constant P

Evaluate (∂S/∂T)P in terms of CP, CV, T, P, V, and their derivatives.

Solution

CP is the temperature derivative of H at constant P. Let us start with the fundamental relation for enthalpy and then apply the expansion rule. Recall, dH = TdS + VdP.

Applying the expansion rule, Eqn. 6.17, we find,

Image

Applying the basic identity of Eqn. 6.12 to the second term on the right-hand side, since P appears in the derivative and as a constraint the term is zero,

Image

But the definition of the left-hand side is given by Eqn. 2.36CP ≡ (∂H/∂T)P.

Therefore, (∂S/∂T)P = CP/T, which we have seen before as Eqn. 4.31, and we have found that the constant-pressure heat capacity is related to the constant-pressure derivative of entropy with respect to temperature. An analogous analysis of U at constant V results in a relation between the constant-volume heat capacity and the derivative of entropy with respect to temperature at constant V. That is, Eqn. 4.30,

(∂S/∂T)V = CV/T



Example 6.3. Entropy as a function of T and P

Derive a general relation for entropy changes of any fluid with respect to temperature and pressure in terms of CP, CV, P, V, T, and their derivatives.

Solution

First, since we choose T, P to be the controlled variables, applying Eqn. 6.14

Image

but (S/T)P = CP/T as derived above, and Maxwell’s relations show that

Image

This useful expression is ready for application, given an equation of state which describes V(T,P).


Note that expressions similar to Eqn. 6.37 can be derived for other thermodynamic variables in an analogous fashion. These represent powerful short-hand relations that can be used to solve many different process-related problems. In addition to Eqn. 6.37, some other useful expressions are listed below. These are so frequently useful that they are also tabulated on the front flap of the text for convenient reference.

Image

Image

Image

Image

Image A summary of useful relations.

The Importance of Derivative Manipulations

One may wonder, “What is so important about the variables CP, CV, P, V, T, and their derivatives?” The answer is that these properties are experimentally measureable. Engineers have developed equations of state written in terms of these fundamental properties. Briefly, an equation of state provides the link between P, V, and T. So, we can solve for all the derivatives by knowing an equation for P = P(V,T) and add up all the changes. Properties like H, U, and S are not considered measurable because we don’t have gauges that measure them. Look back at the descriptions in Section 6.2CP and CV are considered measurable though they are typically measured using the energy balance with temperature changes. A goal of derivative manipulations is to convert derivatives involving unmeasurable properties into derivatives involving measurable properties.

Image An equation of state links the P, V, T properties of a fluid.

As for CP and CV, we should actually be very careful about specifying when we are referring to the CP of a real fluid or the Image of an ideal gas, but the distinction is frequently not made clear in literature. You may need to recognize from the context of the source whether CP is for the ideal gas or something else. In most cases, the intent is to apply Image at low density to account for temperature effects and then to apply a correction factor of dV or dP to account for non-ideal gas density or pressure effects. In this way, in Chapter 8 we compute ΔU, ΔH, ΔS, ΔA, or ΔG from any initial (or reference) condition to any final condition and we can imagine compiling the results in the format of the steam tables for any particular compound.

Test Yourself

Sketch two subcritical isotherms and two supercritical isotherms. Using the isotherms, describe how the following derivatives could be obtained numerically: (∂P/T)V, (∂V/T)P, (∂P/V)T. Compare the relative sizes of the derivatives for liquids and gases.

Important Measurable Derivatives

Two measurable derivatives are commonly used to discuss fluid properties, the isothermal compressibility and the isobaric coefficient of thermal expansion. The isothermal compressibility is

Image

Image Isothermal compressibility.

The isobaric coefficient of thermal expansion is

Image

Image Isobaric coefficient of thermal expansion.

A similar commonly used property is the Joule-Thomson coefficient defined by

Image

It is easy to see how this property relates to the physical situation of temperature changes as pressure drops through an isenthalpic throttle valve, though it is not considered measurable because of the constraint on H. The manipulation in terms of measurable properties is considered in Problem 6.8.

The next two examples illustrate the manner in which derivative manipulations are applied with a particularly simple equation of state to obtain an expression for ΔS. In this chapter, we establish this conceptual approach and the significant role of an assumed equation of state. The next chapter focuses on the physical basis of developing a reasonable equation of state. Since the derivative manipulations are entirely rigorous, we come to understand that all the approximations in all thermodynamic modeling are buried in the assumptions of an equation of state. Whenever an engineering thermodynamic model exhibits inaccuracy, the assumptions of the equation of state must be reconsidered and refined in the context of the particular application.


Example 6.4. Entropy change for an ideal gas

A gas is being compressed from ambient conditions to a high pressure. Devise a model equation for computing ΔS(T,P). Assume the ideal gas equation of state.

Solution

We begin with the temperature effect at (constant) low pressure. By Eqn. 6.37,

Image

Having accounted for the temperature effect at constant pressure, the next step is to account for the pressure effect at constant temperature. The derivative (∂V/T)P is required.

Image

Putting it all together,

Image

Assuming Image is independent of T and integrating,

Image

Once again, we arrive at Eqn. 4.29, but this time, it is easy to recognize the necessary changes for applications to non-ideal gases. That is, we must simply replace the PVT relation by a more realistic equation of state when we evaluate derivatives.


Example 6.5. Entropy change for a simple nonideal gas

A gas is compressed from ambient conditions to a high pressure. Devise a model equation for computing ΔS(T,P) with the equation of state: V = RT/P + (a + bT), where a and b are constants.

Solution

Substituting the new equation of state and following the previous example,

(∂V/T)P = R/P + b

We can still apply Image because we could be careful to calculate temperature effects at low P before calculating the pressure effect. Inserting into Eqn. 6.37,

Image

Assuming Image is independent of T and integrating,

Image

Equations of state can be much more complicated than this one, motivating us to carefully contemplate the most efficient manner to organize our derivative relations to transform complex equations of state into useful engineering models. The departure function formalism as described in Chapter 8 provides this kind of efficiency. A key manipulation in that chapter will be the volume dependence of properties at constant temperature.


Example 6.6. Accounting for T and V impacts on energy

Derive an expression for Image in terms of measurable properties. (a) Evaluate for the ideal gas. (b) Evaluate for the van der Waals equation of state, P = RT/(V – b) – a/V.

Solution

Beginning with the fundamental relation for dU,

dU = TdS – PdV

Applying the expansion rule

Image

Using a Maxwell relation and a basic identity

Image

a. For an ideal gas, P = RT/V

Image

Thus, internal energy of an ideal gas does not depend on volume (or pressure) at a given T.

b. For the van der Waals equation,

Image

Another important application of derivative manipulations is in deriving meaningful connections between U, H, A, G, and S. We illustrate this kind of application with two examples. The first is a fairly simple development of the relation between energy and Helmholtz energy; the relation arises frequently in applications in Unit III of the text. The second example pertains to the Einstein solid model that was used to demonstrate the connection between the microscopic and macroscopic definitions of entropy. This second example involves more tedious calculus, but reveals broad insights related to chemistry and spectroscopy as well as entropy and heat capacity.


Example 6.7. The relation between Helmholtz energy and internal energy

Express the following in terms of U, H, S, G, and their derivatives: (∂(A/RT)/∂T)V.

Solution

Applying the product rule,

Image

Applying Eqn. 6.6 and the definition of A,

Image

Rearranging, and introducing a common definition β ≡ 1/kT,

Image

The significance of Eqn. 6.47 is that one can easily transform from Helmholtz energy to internal energy and vice versa by integrating or differentiating. This is especially easy when the temperature dependence is expressed as a polynomial.


We are now in a position to return to the discussion of the relation between entropy and temperature that was begun in Chapter 4. Many experimental observations circa 1900 were challenging the conventional theories of atomic motions. It seemed that particles the size of atoms, and smaller, might be moving in discrete steps of energy, instead of continuous energies, and this altered the behavior that was being observed. For example, the covalent bond of nitrogen appears to vibrate classically at high temperature, but to become rigid at low temperature. The nature of this transition and its impact on heat capacity require explanation. The Einstein solid model was a major milestone in resolving many of these peculiar observations.

Albert Einstein wrote 45 articles between 1901 and 1907. Of these, 11 were about thermodynamics, 24 were reviews about thermodynamics, 7 were about relativity, 1 was about electromagnetism, and 2 were about the photoelectric effect. Of course, his revolutionary works were about relativity and the photoelectric effect because they opened new vistas of physical insight. But his work on heat capacity might arguably have had the broader immediate impact. Einstein showed that a very simple quantized theory predicted the experimental observations that classical theory could not explain. The following example applies derivative manipulations to obtain heat capacity from the entropy and demonstrate that the heat capacity approaches zero at zero Kelvin.


Example 6.8. A quantum explanation of low T heat capacity

The result of the Einstein solid model, from Example 4.2 on page 141, can be rearranged to:

Image

where y = S/Mk and x = <qM> = U/q – 1/2. Use these results to derive the temperature dependence of S/Mk, U/q – 1/2, and CV as instructed.

a. Derive a formula for CV/Mk. Tabulate values of y, x, and CV/Mk versus βεq at βεq = {0.1, 0.2, 0.5, 1, 2, 5, 10}. Recall that β = 1/kT.

b. The following data have been tabulated for silver by McQuarrie.a Iterate on εq/k to find the best fit and plot CV/Mk versus kT/εq, comparing theory to experiment. Also indicate the result of classical mechanics with a dashed line.

Image

Solution

a. Noting that (∂S/T)V = CV/T, a logical step is to take (∂y/T)V = CV/MkT.

Image

Note that the CV terms cancel, seeming to defeat the purpose, but substitute anyway and recognize internal energy is embedded.

Image

We may not have obtained CV as expected, but we obtained U(T), so it is straightforward to evaluate CV from its definition: CV = (∂U/T)V.

Multiplying both sides by T for convenience,

Image

Multiplying and dividing by k on the left-hand side,

Image

Varying βεq and tabulating energy and entropy, noting that the lowest temperatures are on the right, values of U and x = <qM> are calculated by Eqn. 6.49S/Mk by 6.48, and CV/Mk by 6.50. We can see that the heat capacity goes to zero as 0 K is approached.

Image

b. As discussed in Example 4.2 on page 141, each atom has three possible directions of motion, so M = 3N. Therefore, the quantum mechanical formula is CV/(Mk) = CV/(3Nk) = CV/(3R).

The classical value of the solid heat capacity can be deduced by considering the degrees of freedom.b Kinetic and potential energy each contribute a degree of freedom for a bond. Recalling from Section 2.10 that each degree of freedom contributes R/2 to CVCVcs = 2(Nk/2)(M/N) = Mk = 3nR, or CVcs = 3R where CVcs is the heat capacity of the classical solid. Note that the table in part (a) approaches the classical result at high temperature, CVcs/3R = 1.

CV/Mk is fitted in Excel by naming a cell as εq/k and applying Eqn. 6.50. The function SUMXMY2 was used to compute Σ(calc – expt)2. Minimization with the Solver gives εq/k = 159 K. Values of CV/3R and CV/Mk at εq/k = 159 K are tabulated below.

Image

a. McQuarrie, D.A., 1976. Statistical Mechanics. New York, NY: Harper & Row, p. 205.

b. The degrees of freedom for kinetic and potential energy discussed here are different from the degrees of freedom for the Gibbs phase rule. See also, Section 2.10.

Einstein’s expression approaches zero too quickly relative to the experimental data, but it explains the large qualitative difference between the classical theory and experiment. Several refinements have appeared over the years and these fit the data more closely, but the key point is that quantized energy leads to freezing out the vibrational degrees of freedom at temperatures substantially above 0 K. This phenomenology also applies to the vibrations of polyatomic molecules, as explored in the homework for a diatomic molecule. The weaker bond energy of bromine relative to nitrogen is also evident in its higher value of CP/R as listed on the back flap. From a broader perspective, Einstein’s profound insight was that quantized energy meant that thermal entropy could be conceived in a manner analogous to configurational entropy except by putting particles in energy levels rather than putting particles in boxes spatially. In this way, we can appreciate that the macroscopic and microscopic definitions of entropy are analogous applications of distributions.

Hints on Manipulating Partial Derivatives

1. Learn to recognize Image and Image as being related to CP and CV, respectively.

Image Useful hints on manipulating derivatives.

2. If a derivative involves entropy, enthalpy, or Helmholtz or Gibbs energy being held constant, e.g., Image, bring it inside the parenthesis using the triple product relation (Eqn. 6.15). Then apply the expansion rule (Eqn. 6.17) to eliminate immeasurable quantities. The expansion rule is very useful when F of that equation is a fundamental property.

3. When a derivative involves {T, S, P, V} only, look to apply a Maxwell relation.

4. When nothing else seems to work, apply the Jacobian method.4 The Jacobian method will always result in derivatives with the desired independent variables.


Example 6.9. Volumetric dependence of CV for ideal gas

Determine how CV depends on volume (or pressure) by deriving an expression for (∂CV/∂V)T. Evaluate the expression for an ideal gas.

Solution

Following hint #1 and applying Eqn. 4.30:

Image

By the chain rule:

Image

Changing the order of differentiation:

Image

For an ideal gas, P = RT/V, we have Image in Example 6.6:

Image

Thus, heat capacity of an ideal gas does not depend on volume (or pressure) at a fixed temperature. (We will reevaluate this derivative in Chapter 7 for a real fluid.)



Example 6.10. Application of the triple product relation

Evaluate (∂S/V)A in terms of CP, CV, T, P, and V. Your answer may include absolute values of S if it is not a derivative constraint or within a derivative term.

Solution

This problem illustrates a typical situation where the triple product rule is helpful because the Helmholtz energy is held constant (hint #2). It is easiest to express changes in the Helmholtz energies as changes in other variables. Applying the triple product rule:

(∂S/V)A = –(∂A/V)S/(∂A/S)V

Applying the expansion rule twice, dA = –PdV – SdT ⇒ (∂A/V)S = – P – S(∂T/V)S and (∂A/S)V = 0 – S(∂T/S)V. Recalling Eqn. 4.30 and converting to measurable derivatives:

Image

Substituting:

Image


Example 6.11. Master equation for an ideal gas

Derive a master equation for calculating changes in U for an ideal gas in terms of {V, T}.

Solution

Image

Applying results of the previous examples:

Image

Notice that this expression is more complicated than the fundamental property relation in terms of {S, V}. As we noted earlier, this is why {S, V} are the natural variables for dU, rather than {T,V} or any other combination. For an ideal gas, we can use the results of Example 6.6 to find:

Image



Example 6.12. Relating CP to CV

Derive a general formula to relate CP and CV.

Solution

Start with an expression that already contains one of the desired derivatives (e.g., CV) and introduce the variables necessary to create the second derivative (e.g., CP). Beginning with Eqn. 6.38,

Image

and using the expansion rule with T at constant P,

Image, where the left-hand side is Image.

Image

Exercise:

Verify that the last term simplifies to R for an ideal gas.


Owing to all the interrelations between all the derivatives, there is usually more than one way to derive a useful result. This can be frustrating to the novice. Nevertheless, patience in attacking the problems, and attacking a problem from different angles, can help you to visualize the structure of the calculus in your mind. Each problem is like a puzzle that can be assembled in multiple ways. Patience in developing these tools is rewarded with a mastery of the relations that permit quick insight into the easiest way to solve problems.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *