2

At constant pressure, which is the usual condition for chemical reactions, heat absorbed/released by the system is the same thing as enthalpy change. According to the Gibbs equation,

$$\mathrm dG = \mathrm dH - T\,\mathrm dS = \mathrm dH - đq$$But, $\mathrm dH=\mathrm đq$ at constant a pressure. So is the Gibbs energy change $\mathrm{d}G$ simply zero for any reaction?

orthocresol
  • 71,033
  • 11
  • 239
  • 410
Newton
  • 1,195
  • 1
  • 13
  • 29

2 Answers2

3

The accepted answer is incorrect. It has nothing to do with reversibility. The underlining issue is that your $dG$ is incomplete: $$dG = dH - TdS - SdT$$

You are missing $-SdT$, so at constant pressure you don't end up with zero.

As "ado sar" has commented in the accepted answer:

$$dH = TdS + Vdp + \sum_i \mu_i \cdot dn_i$$

Hence, you end up with: $$dG = Vdp - SdT + \sum_i \mu_i \cdot dn_i$$

The chemical potentials $\mu_i$ describe the change of Gibbs energy when particle $i$ get removed/added, e.g. by chemical reactions.

The nice thing about Gibbs energy is that at constant pressure and temperature, you only have to worry about the chemical potentials, i.e. the chemical reaction: $$dG = \sum_i \mu_i \cdot dn_i$$

Kexanone
  • 275
  • 2
  • 10
  • The answer to the original post does not require invoking systems of variable composition. The OP had not understood how dS is related to dq. As orthocresol explains they can be related when a process is carried out reversibly. – Buck Thorn Feb 07 '21 at 09:51
  • 2
    The OP was explicitly talking about chemical reactions and did not realize that they are described by the chemical potentials and he also forgot the $-SdT$ term. I agree, the nice thing about orthocresol's answer is that he explains why OP can't just set $TdS$ equal to $\delta q$ in general, but he fails to realize that $dH=TdS$ even for an irreversible isobaric heat transfer. – Kexanone Feb 07 '21 at 10:07
  • 1
    Good point: $dH=dU+pdV =TdS$ when: constant p; only pV work; constant composition – Buck Thorn Feb 07 '21 at 18:02
  • 1
    By the way it is important to note that "dH=TdS" for a microscopic (infinitely small) isobaric heat transfer. As soon as the transfer is finite, there are no guarantees about reversibility since isobaric might refer to the end points being at the same pressure, but the path itself may not be isobaric. – Buck Thorn Feb 08 '21 at 00:49
  • Hmmmm, indeed, there are several layers to the question: I really don't remember writing this answer, but it seems that I only looked at the most superficial one, i.e. equating $\mathrm{d}q = T,\mathrm{d}S$ in general. – orthocresol Feb 08 '21 at 00:49
  • 1
    OK, I added a note to recommend yours at the top of my answer. I don't mean to "steal" the points you raise, but my answer is accepted which means that (for better or for worse) people will see it first. – orthocresol Feb 08 '21 at 01:24
  • 1
    I don't care about points. I want people that see this question to have a more complete picture, which referring to my part in your answer exactly does. Thx for the edit. – Kexanone Feb 08 '21 at 02:19
3

You wrote:

$$\mathrm{d}G = \mathrm{d}H - T\,\mathrm{d}S = \mathrm{d}H - đq$$

There are several issues with this. I don't wish to co-opt other answers and comments, but allow me to mention these here, since my answer stands as the accepted (which I have no power to change):

  • You haven't assumed constant temperature, which means that there is an additional term $-S\,\mathrm{d}T$ which you did not take into account;
  • You haven't assumed constant composition, which likewise leads to another term $\sum_i \mu_i\,\mathrm{d}n_i$.

In fact, these considerations (particularly the second) are more important than my original point, which is retained below. See Kexanone's answer for discussion of these points. In the following discussion, one should assume constant temperature and composition.


In the second equality, where you equate $đq$ with $T\,\mathrm{d}S$, this assumes that the process is reversible. Without going into too much detail (it can be found easily elsewhere), entropy is defined by the following equation:

$$\mathrm{d}S = \frac{đq_\mathrm{rev}}{T}$$

where the subscript $\mathrm{rev}$ indicates a reversible process. It can be shown that for an irreversible process,

$$\frac{đq_\mathrm{irrev}}{T} < \frac{đq_\mathrm{rev}}{T} = \mathrm{d}S$$

This result is the second law of thermodynamics. Therefore, for an irreversible process, $T\mathrm{d}S > đq$.

You are right in saying that at constant pressure, $\mathrm{d}H = đq$. Putting it all together, we have:

$$\mathrm{d}G = \mathrm{d}H - T\mathrm{d}S = đq - T\mathrm{d}S < 0 \qquad \text{(irrev. process; closed system; }p, T\text{ const.)}$$

Therefore, the direct answer to the question is: $\mathrm{d}G$ is, in general, not equal to $0$ because $T\mathrm{d}S \neq đq$.

In fact, you may notice that the condition $\mathrm{d}G < 0$ is the condition for spontaneity under constant $p$ and $T$. This is no coincidence. The concepts of spontaneity (in the context of $G$) and irreversibility (in the context of $S$) are extremely similar, in that they both refer to a tendency for a process to proceed.


For a reversible process, $T\mathrm{d}S = đq$. Following the logic that you used in your question, this means that $\mathrm{d}G = 0$, which is correct. If $\mathrm{d}G = 0$, the forward process cannot be spontaneous (that would require $\mathrm{d}G < 0$) and the reverse process cannot be spontaneous (that would require $\mathrm{d}G > 0$).

This can only mean one thing: the system is in equilibrium. Indeed, the condition for equilibrium at constant $p$ and $T$ is $\mathrm{d}G = 0$. And at this point, it should not come as a surprise that a reversible process is, by definition, one that is at equilibrium throughout.

orthocresol
  • 71,033
  • 11
  • 239
  • 410
  • 1
    @orthocresol What if we want to include the number of particles? I mean $$dH=TdS + Vdp + \sum_i \mu_i dn_i $$ so now $dq\neq dH$. – ado sar Mar 05 '20 at 16:04
  • 1
    For isobaric heat transfer: $$dS = \frac{dH}{T} \geq \frac{\delta q}{T}$$

    $dS = \frac{dH}{T}$ is correct even for an irreversible processes.

    – Kexanone Feb 07 '21 at 09:33