4
$\begingroup$

A few years have passed since the last time I studied thermodynamics, and I'd like to give me a chance of asking some questions, maybe trivial, I don't know, but I want to clear matters up.

Since my knowledge of thermodynamics has faded away, my questions are not even clear to me and I'd appreciate any reference for further consultation on the subjects.

First question: The entropy is classically defined through its differential as $dS = \delta Q_{rev}/T$, where $\delta Q_{rev}$ is the heat transferred reversibly. For simplicity let me drop the subscript $rev$. This definition of entropy makes sense because $T^{-1}$ is an integrating factor for $\delta Q$, hence the entropy depends only on the current state of the system, up to a constant chosen as reference.

My confusion begins when a consider an ideal gas undergoing a process with transfer of matter. I'll restrict myself to processes with variable volume and amount of matter. The change of heat is $$\delta Q=\Big(\frac{\delta Q}{\partial N}\Big)_{p,V}dN+\Big(\frac{\delta Q}{\partial V}\Big)_{p,N}dV$$

For the first term in the RHS, I can calculate the change of temperature using $pV=kNT$, hence $dT=-pV/(kN^2)dN$. Denoting by $C_p$ the heat capacity at constant pressure we have $\delta Q = -C_{p}pV/(kN^2)dN$. For the second term in the RHS, similar calculations yield $\delta Q = C_{p}p/(kN)dV$. Replacing the specific heat by its value in case of an ideal gas, i.e. $C_{p}=\gamma kN$, where $\gamma$ is a constante depending on the gas (monoatomic, diatomic, and so on), we have at the end $$\delta Q=-\gamma\frac{pV}{N}dN+\gamma pdV.$$ Hence the entropy should be $$dS=-\gamma kdN+\gamma\frac{Nk}{V}dV,$$ where I replaced $T^{-1}$ using the ideal gas equation.

My trouble here is that this last expresion for "$dS$" isn't an exact differential, in other words, the entropy doesn't depend only on the current state of the system, but also on the path for reaching it.

That "$dS$" isn't an exact differential follows from $$\frac{\partial Nk\gamma/V}{\partial N}\neq -\frac{\partial \gamma k}{\partial V}.$$

It's strange that in this case $1/(NT)$ is an integrating factor of $\delta Q$, and it's for me even more surprising that the quantity obtained by integrating $\delta Q/(NT)$ equals the entropy of an ideal gas, up to a constant of reference.

Second question: I was told that reversible processes are more efficient than irreversible ones, and that this fact is expressed in the inequality $\delta Q_{rev}\ge \delta Q_{ir}$ or $\delta W_{rev}\le \delta W_{ir}$, where $W$ stands for work. Again I'll write $\delta Q$ instead of $\delta Q_{rev}$.

My question is how do I compare a reversible process with an irreversible one? Let me explain what I mean. Textbooks say that the work of expansion of a gas against zero pressure is zero, hence $\delta W\le \delta W_{ir}$ implies by integration that the work done by a reversible process should be negative. But between to states there are infinitely many processes, what are the processes that do negative work. Say the initial state is $(p_i,V_i)$ and the final $(p_f,V_f)$, where $V_f>V_i$, then the process depicted below does positive work.

Basically, you must expand the gas at very low temperature and compress it at high temperature. Even more, given any number $A$, there is a path exchanging $A$ Joules of work.

In general, given an irreversible process, how can I say what are the more efficient reversible processes?


Since people works all over the time with systems exchanging matter and calculating the efficiency of machines, I think my question should have a simple answer, so I apologize for the incredibly and unnecessary length of my question.

I'd appreciate any help.

Edit (2016-12-18): Following the suggestion of pppqqq I have placed the second question in a new post, so every comment or answer to the second question should be posted there. Thanks.

$\endgroup$
3
  • $\begingroup$ Hi, I suggest you to separate the two questions, since they are quite unrelated and both require some discussion, I think. $\endgroup$
    – pppqqq
    Commented Dec 18, 2016 at 14:41
  • $\begingroup$ $\delta Q/\partial N$? Where did you learn that notation? $Q$ is path dependent, so you cannot differentiate it. You must take state functions and then differentiate them. Suggestions for reading: Thermodynamics by Fermi. $\endgroup$
    – Deep
    Commented Dec 19, 2016 at 4:13
  • $\begingroup$ Zero, you're right, I wrote that way to simplify, that's all. You can think of $\delta Q$ as a 1-form, so $\delta Q/\partial Something$ are the components of the form. Thank you. $\endgroup$
    – user90189
    Commented Dec 19, 2016 at 4:17

2 Answers 2

1
$\begingroup$

Regarding your first question, it seems like you are making some mess in (1) using consistently a set of independent variables and (2) writing the complete expression of $\delta Q _{\text {rev}}$.

It works like this: general arguments imply that $\frac{\delta Q}{T}$ is a differential. We can use this fact to obtain some relations between thermodynamic functions (Maxwell's relations), which, given some data on the system, like e.g. the explicit function $U(N,V,T)$, allow us to constrain the form of the other functions such as $p,\mu,\dots$. Let's see how it works for the ideal gas.

The first and second principles of thermodynamics, for an open ideal gas, give: $$T~\text d S = \text d U +p~\text d V-\mu ~\text dN.$$ Tautologically, $\mu$ is the chemical potential, defined by $$\mu =\left(\frac{\partial U}{\partial N}\right)_{V,S}.$$ In the following, I'll choose as independent variables, $T$, $V$ and $N$. This is accomplished using the state equation $$p=\frac{NkT}{V}$$ and the experimental fact that $U$ is extensive and doesn't depend on the volume:$$U=Nc_VT.$$ The chemical potential is almost completely determined by the requirement that $\text dS$ be an exact differential. Let us compute: $$0=\text d \text d S= (\cdots) \text d V \wedge \text d T +\\+\left[\frac{c_V}{T}+\frac{1}{T}\left(\frac{\partial \mu }{\partial T}\right)_{V,N}-\frac{\mu}{T^2}\right]\text d N \wedge \text d T+\\+\left[\frac{k}{V}+\frac{1}{T}\left(\frac{\partial \mu }{\partial V}\right)_{T,N}\right]\text d N \wedge \text d V.$$ The two parenthesis must separately be zero. The second parenthesis gives: $$\mu =-kT \ln V -c_VT\ln T+ f(T),$$ while the first yields $$ f'(T)=\frac{1}{T}f(T).$$ which has the solution $$f(T)=A T\equiv \ln (\alpha)T,$$ where $\alpha$ can (and does) depend on $N$. So $$\mu (N,V,T)=kT\ln \left(\frac{\alpha(N)}{VT^{\frac{c_V}{k}}}\right).$$

Now, since $\mu$ is the ratio of two extensive quantities, it may depend only on the density $v=\frac{V}{N}$. Therefore: $$\mu (N,V,T)=kT\ln \left(\frac{K}{ vT^{\frac{c_V}{k}}}\right).$$ It is now impossible to further specify $\mu$ without completely specifying the entropy, which is determined in pure thermodynamics up to an extensive constant. The quantum statistical treatment yields, for a monoatomic gas, $c_V=\frac{3}{2}k$ and: $$\mu =kT\ln \left(\frac{\lambda ^3}{v}\right)$$ where $\lambda = \frac{h}{\sqrt {2mkT}}.$ In agreement with our previous expression.

At the end of the day, this long calculation shows that (1) the fact that $\frac{ \delta Q}{T} $ is a differential is not inconsistent with the form of the first law for an open ideal gas and (2) this very fact allows an almost complete determination of the chemical potential $\mu$.

$\endgroup$
3
  • $\begingroup$ pppqqq, I do appreciate your answer and I upvoted it, but I don't mark it as an answer because I'm not convinced, say, because of my own limitations. As the years have passed, I have come to consider my calculations as some kind of swindle. I got them while calculating the heat exchanged in an actual thought experiment, and after some time I simplified them. I want to find the flaw in these "consistent" calculations. $\endgroup$
    – user90189
    Commented Dec 19, 2016 at 2:07
  • $\begingroup$ pppqqq, what general considerations allow to conclude that $\delta Q/T$ is exact, could you cite a good refernce? Concerning the chemical potential, I tried to repair my calculations using them, but I wasn't able to use them to explain the simple fact that $\delta Q/T$ doesn't seem to be an exact differential. Thank you for your effort. $\endgroup$
    – user90189
    Commented Dec 19, 2016 at 2:08
  • $\begingroup$ Hi @user90189, when I'm confused about something I usually look in Fermi, "Thermodynamics", or Zemansky, "Heat and thermodynamics". The first is very concise and straight to the point, while the second is complete and very pedagogical, I think. The "general consideration" is the second law of thermodynamics, the existence of $S$ is its major consequence (see Fermi for a crystal-clear discussion). Also, if I may, it is perfectly OK to be confused about something that you studied long ago, as long as you recognize your confusion, and asking questions is the better way to remedy :-) $\endgroup$
    – pppqqq
    Commented Dec 19, 2016 at 10:39
1
$\begingroup$

First, $dS= \frac{\delta Q_{rev}}{T}$ if only heat transfer is involved. This would not hold if mass exchange were also present. Mass brings with it entropy, internal energy etc., but not heat. Heat is only that transfer of energy which is caused by temperature differences. So $\frac{\delta Q}{\partial N}$ makes no physical sense.

You must begin with the fundamental equation characterizing a system: \begin{align} S=f(U,V,N) \end{align} and then differentiate it \begin{align} dS & =\frac{\partial f}{\partial U}dU+\frac{\partial f}{\partial V}dV+\frac{\partial f}{\partial N}dN \\ & = \frac{1}{T}dU+\frac{p}{T}dV-\frac{\mu}{T}dN \end{align} and proceed to derive whatever result you want.

Reference: Thermodynamics by H. Callen.

$\endgroup$
3
  • $\begingroup$ Thank you for your effort and the references. I think now that I should never post the question, it's seems I don't know enough thermodynamics for awarding the answer. Anyway, I shouldn't write $\delta Q/\partial N$, but only say that the exchange of heat after transfering matter is something. You can transfer matter in some ideal way and calculate the exchange of heat at the end of the process, if you keep the remaining variables constant at the two end points of the path; the answer is what I wrote. Surely, I ignored some transfer of entropy by other means. Thank you again. $\endgroup$
    – user90189
    Commented Dec 19, 2016 at 4:46
  • $\begingroup$ Hi Zero, it looks a bit like a matter of definition, but I disagree with you when you say that $T\text d S \neq \delta Q_{\text rev}$. The incoming energy due to flux of matter is precisely what is taken care of by the $\mu \text d N$ term in the first law of thermodynamics. Indeed: $$\text d U = -p\text d V + T\text d S +\mu \text d N.$$ The first term is mechanical work, the third is the transfer of matter, so the second can't be anything but heat. I tried to look in Zemansky, "Heat and Thermodynamics", chap. 11 and he seems to agree with me. $\endgroup$
    – pppqqq
    Commented Dec 19, 2016 at 10:26
  • $\begingroup$ @pppqqq Consider free expansion of a gas inside an isolated system. No heat transfer occurs, yet entropy of system increases. I go with Callen's postulates, in which entropy is viewed as that property of the system whose maximization allows us to predict the final equilibrium state reached by the system when an internal constraint is relaxed. Its connection to heat transfer is secondary. $\endgroup$
    – Deep
    Commented Dec 20, 2016 at 5:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.