.. _lecture8: Lecture 8: Thermodynamic potentials +++++++++++++++++++++++++++++++++++ .. note:: *I hate thermodynamic potentials* -- Anonymous student, Rensselaer Polytechnic Institute, Fall 2020. *No, you don't* -- Anonymous professor, Rensselaer Polytechnic Institute, Fall 2020. .. warning:: This lecture corresponds to Chapter 16 of the textbook. Summary ------- .. attention:: In this Chapter, we introduce new functions of state. Why do we want to do this? The issue is that the existing function of state related to energy we've encountered so far, the internal energy :math:`U`, has the entropy and volume as **natural** variable, *i.e.*, we can write :math:`U(S,V)` and, while it is convenient to use the internal energy for an isentropic or isochoric processes, imposing other constraints (*e.g.*, isothermal, isobaric) is much more difficult. For this reason, we introduce new function of states (see table below) that are built to allow for flexibility in what natural variables one wishes to constrain. Because we have natural variables, their differentials are exact and one can use the arsenal of properties of exact differentials we summarized in :ref:`exactdiff`. This leads to the famous Maxwell's relationships, which provide links between the various partial derivatives with respect to natural variables. Further, to justify the applicability of those various thermodynamic potentials, we introduce the :index:`availability function`, which allows us to impose various constraints. We realize, as a key result, that the availability is the maximum amount of work one can get from a process. Furthermore, because of Clausius inequality (which, as we have seen, is formally equivalent to the second law of thermodynamics, see :ref:`lecture5`), we see that a physical process will always evolve so as to **minimize** its availability. This is done, in particular, by **maximizing** the entropy! (I told you thermodynamics was fun!). Finally, we provide a number of derivations of known derivatives (see the list of definitions below) and show how we can solve problems in thermodynamics by combining Maxwell's relationships, definitions of properties, and basics multi-variable calculus (see box below on "How do we solve this?"). .. Admonition:: Function of states and natural variables .. math:: \arraycolsep=1.4pt\def\arraystretch{2.2} \begin{array}{lllll} \hline \textrm{Internal energy } & U & \mathrm{~d} U=T \mathrm{~d} S-p \mathrm{~d} V & T=\left(\frac{\partial U}{\partial S}\right)_{V} & p=-\left(\frac{\partial U}{\partial V}\right)_{S} \\ \textrm{Enthalpy } & H=U+p V & \mathrm{~d} H=T \mathrm{~d} S+V \mathrm{~d} p & T=\left(\frac{\partial H}{\partial S}\right)_{p} & V=\left(\frac{\partial H}{\partial p}\right)_{S} \\ \textrm{Helmholtz function } & F=U-T S & \mathrm{~d} F=-S \mathrm{~d} T-p \mathrm{~d} V & S=-\left(\frac{\partial F}{\partial T}\right)_{V} & p=-\left(\frac{\partial F}{\partial V}\right)_{T} \\ \textrm{Gibbs function } & G=H-T S ~~~& \mathrm{~d} G=-S \mathrm{~d} T+V \mathrm{~d} p ~~~& S=-\left(\frac{\partial G}{\partial T}\right)_{p}~~~ & V=\left(\frac{\partial G}{\partial p}\right)_{T}\\ \hline \end{array} .. admonition:: :index:`Maxwell's relations` .. math:: \arraycolsep=1.4pt\def\arraystretch{2.2} \begin{array}{ll} \left(\frac{\partial T}{\partial V}\right)_{S}=-\left(\frac{\partial p}{\partial S}\right)_{V} ~~~~~~& \left(\frac{\partial S}{\partial p}\right)_{T}=-\left(\frac{\partial V}{\partial T}\right)_{p} \\ \left(\frac{\partial T}{\partial p}\right)_{S}=\left(\frac{\partial V}{\partial S}\right)_{p} ~~~~~~& \left(\frac{\partial S}{\partial V}\right)_{T}=\left(\frac{\partial p}{\partial T}\right)_{V} \end{array} .. note:: **How do we solve this?: a guide** We now have many formal tools to compute a number of effects related to thermodynamical processes operating under different constraints. We also have a lot of definitions of terms (such as susceptibilities, see below). How do we actually solve problems? (1) Write the thermodynamic potential in terms of particular variables. (2) Use Maxwell’s relations to transform partial derivatives into what you need. (3) Invert Maxwell’s relation using the reciprocal theorem. (4) Combine partial differentials using the reciprocity theorem. .. math:: \begin{aligned} &\left(\frac{\partial x}{\partial z}\right)_{y}=\frac{1}{\left(\frac{\partial z}{\partial x}\right)_{y}} \\ &\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 \\ &\left(\frac{\partial x}{\partial y}\right)_{z}=-\left(\frac{\partial x}{\partial z}\right)_{y}\left(\frac{\partial z}{\partial y}\right)_{x} \end{aligned} (5) Identify heat capacity: .. math:: \frac{C_{V}}{T}=\left(\frac{\partial S}{\partial T}\right)_{V} and .. math:: \frac{C_{p}}{T}=\left(\frac{\partial S}{\partial T}\right)_{p} (6) Identify a general susceptibility (see definition below). Key Definitions --------------- .. note:: :index:`Thermodynamic potentials`: Thermodynamic potentials are functions of state introduced to account for various constraints such as isothermal, adiabatic, isochoric, and isobaric processes. :index:`Natural variables`: In thermodynamic, natural variables are variables describing a function of state. For instance, when we write: .. math:: dH=T \mathrm{~d} S+V \mathrm{~d} p, we see that pressure and entropy are the natural variables of enthalpy (written formally as :math:`H=H(S,p)`. :index:`Helmholtz free energy`: This is the maximum amount of reversible work a system can do at constant temperature. :index:`Gibbs-Helmholtz equations`: .. math:: U=-T^{2}\left(\frac{\partial}{\partial T}\right)_{V} \frac{F}{T} and .. math:: H=-T^{2}\left(\frac{\partial}{\partial T}\right)_{p} \frac{G}{T} :index:`Maxwell's relations`: Set of four equations that connect the partial derivatives (with respect to natural variables), due to the fact the functions of state are exact differentials. They stem from the fact that if :math:`f` is an exact differential then .. math:: \mathrm{d} f=\left(\frac{\partial f}{\partial x}\right)_{y} \mathrm{~d} x+\left(\frac{\partial f}{\partial y}\right)_{x} \mathrm{~d} y and .. math:: \left(\frac{\partial^{2} f}{\partial x \partial y}\right)=\left(\frac{\partial^{2} f}{\partial y \partial x}\right) :index:`General susceptibility`: A generalized susceptibility quantifies how much a particular variable changes when a generalized force is applied. :index:`Isobaric expansivity`: The isobaric expansivity :math:`\beta_{p}` quantifies how much the volume of a system changes with temperature at constant pressure: .. math:: \beta_{p}=\frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_{p} :index:`Adiabatic expansivity`: The adiabatic expansivity :math:`\beta_{S}` quantifies how much the volume of a system changes with temperature in an isentropic process: .. math:: \beta_{S}=\frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_{S} :index:`Isothermal compressibility`: The isothermal compressibility quantifies how much the volume changes with pressure, at constant temperature: .. math:: \kappa_{T}=-\frac{1}{V}\left(\frac{\partial V}{\partial p}\right)_{T} :index:`Adiabatic compressibility` The adiabatic compressibility quantifies how much the volume changes with pressure in an isentropic process: .. math:: \kappa_{S}=-\frac{1}{V}\left(\frac{\partial V}{\partial p}\right)_{S} A full list of terms, including the ones provided here, can be found in the :ref:`genindex`. Learning Material ----------------- Copy of Slides ~~~~~~~~~~~~~~ The slides for Lecture 8 are available in pdf format here: :download:`pdf <_pdfs/slides/lecture8.pdf>` Screencast ~~~~~~~~~~ .. raw:: html .. raw:: latex This lecture is available as a YouTube recording at : \href{https://www.youtube.com/embed/L_xemFkhRDE}{chapter 16}. Test your knowledge ------------------- 1. Imagine you want to work at constant pressure :math:`p`, among the following choices, what thermodynamic potential should you use? A. Enthalpy :math:`H` B. Internal energy :math:`U` C. Gibbs energy 2. Among the following functions, which ones is a function of state? A. :math:`H+W` B. :math:`Q+S` C. :math:`G+U` 3. To reach equilibrium under some constraints, we need to *optimize* some function of states. Among the ones below, which one should you *maximize*? A. :math:`H` B. :math:`U` C. :math:`S` 4. In thermodynamics, Maxwell's relations have been established using what principle? A. Thermodynamics and electromagnetic theory are unified B. Functions of states are exact differentials, which imposes some specific mathematical conditions on the second derivatives with respect to the appropriate natural variables. C. Maxwell relations only hold true for an ideal gas; in other words they are usually pretty crude approximations. D. Maxwell relations are only valid for quasi-static processes, in other words, for purely reversible processes. 5. You need to know partial differential equations and the definitions of compressibility and expansivity to solve classical thermodynamics problems. Frankly, this is mostly a math problem. What matters more is understanding the concepts and then do the math. A. True, at least that is what Prof. Meunier said. B. False, at least that's what I seem to remember after not having listened to the screencast carefully. C. I think there is a trap and I will select this answer to make sure to not receive any credit for this question. .. hint:: Find the answer keys on this page: :ref:`answerkeys`. Don't cheat! Try solving the problems on your own first! Homework Assignment ------------------- Solve the following problems from the textbook: