Thermodynamics 2: Gibbs Free Energy and Spontaneity

10th Aug 2020

In this article, we continue looking at the meaning of entropy change, how it relates to enthalpy change and overall, how these quantities provide a reliable method of predicting whether a reaction or process is favourable or not.

Throughout this part of the short series on chemical thermodynamics, I will emphasise a little more on the changes taking place with respect to the system, the surroundings and the universe. Make sure that you are comfortable with the differences between these terms. For chemical reactions, the system is made up of the reactants and products which are of interest. The surroundings is made up of everything-else: the solvent (if present), the thermometer, you, your neighbours, the Earth and the surrounding solar systems and galaxies. The universe is the combination of the system and the surroundings.

Showing even a reasonably complete derivation of the following equations is well beyond the scope of this series. What I will try to show, however, are some of the features and relationships of some of the mathematical equations used in the derivation which you can then advance further at university. My approach, and I believe that of all other authors at this level, will require stating most of the equations without justification. Throughout this article, I will use the terms 'increase' and 'decrease' to refer to something becoming more positive and something becoming more negative, respectively.

Predicting the outcome with ΔStotal = ΔSsys + ΔSsurr

As given by the subheading, our goal is to come up with a method that enables us to predict whether a reaction or process is favourable or not. Later, we will also consider intermediate cases where we attempt to compare which process is more favourable or more likely to occur. The subscript 'sys' refers to the system and 'surr' refers to the surroundings.

You will probably have come to realise that processes where the total entropy increases are ones which are favourable. Such processes are likely to occur. We will formalise the idea below. The change in total entropy ΔStotal is sometimes written as ΔSuniverse in some texts. The challenge is to devise a method which enables us to calculate this value.

The universe is made up of the system and surroundings, so you can see why the total entropy change is also made up of ΔSsys and ΔSsurr. You already know how to calculate ΔSsys. In fact, this is the same ΔS in the equation from my previous article, reproduced here in Figure 14.1. The reactants B and products A are part of the system of interest. The value ΔSsys measures the change of entropy for the forward reaction. The entropy change for the backward reaction is the negative of the forward.

Hess' law approach to calculating entropy change Figure 14.1 Calculating entropy change of the system

You can appreciate that it would be impossible to calculate the entropy change of the surroundings in a similar way because this would require you to have knowledge of the entire universe. What we need to do first is express ΔStotal in terms of variables which relate to the system only i.e. variables which we have a chance of measuring! To begin, we look at how enthalpy change of the system is related to entropy change of the surroundings.

Enthalpy change of the system and entropy change of the surroundings

When the enthalpy change is negative, energy is transferred as heat from the system to the surroundings. From the point of view of heat only (that is, assuming all other properties do not affect what we are monitoring), the entropy of the system decreases and the entropy of the surroundings increases (Figure 14.2). Conversely, for endothermic reactions, the entropy of the system increases and the entropy of the surroundings decreases.

Enthalpy change leading to entropy change Figure 14.2 Enthalpy change leading to entropy change

Assuming, of course, that all other properties do not lead to differences is quite optimistic! However, such approximations will end up being adequate for our needs.

When two bodies, say two metal blocks, have the same temperature, then the potential for energy to transfer from one body to the other is statistically zero. Such an expectation would see one block to get colder and the other to get hotter without influencing it. The favourable process is one in which energy is transferred when there is a temperature difference. One metal block is more likely to absorb heat if its neighbouring block is at a higher temperature. (Figure 14.3).

The capacity or potential for energy transfer Figure 14.3 Visualising the capacity or potential for energy to transfer as heat. The left-hand figure shows a greater transfer of energy.

The more energy transferred between the two blocks (or more generally between the system and surroundings) the greater the magnitude of the entropy change.

The enthalpy changes you have been asked to calculate have all been related specifically to the enthalpy change of the system, which I symbolise here as ΔHsys. The following equation states the relationship between enthalpy change of the system, the absolute temperature of the surroundings and the entropy change of the surroundings.

Entropy change of the surroundings Figure 14.4 How entropy change of the surroundings is related to enthalpy change of the system ΔHsys, at constant pressure

The more exothermic a reaction, that is, the more energy that can be transferred (Figure 14.3) the more the entropy of the surroundings increases (leading to a more positive ΔSsurr). Put a different way, the more endothermic the reaction, the less the entropy of the surroundings increases i.e. ΔSsurr becomes more negative. Again, take care not to conclude that exothermic reactions are always more favourable than endothermic reactions. We have not finished our derivation yet.

From this point forward, we assume that the temperature of the system is equal to the temperature of the surroundings, that is, the system and surroundings are in thermal equilibrium. The assumption is explained if you read from a more advanced, rigorous treatment of the subject. We will drop the 'surr' subscript for Tsurr and note that Tsys = Tsurr.

If we substitute ΔSsurr into our equation, then we can present the next part of the derivation (Figure 14.5).

Entropy change of the surroundings Figure 14.5 How ΔStotal relates to ΔSsys and ΔHsys

You will notice here that all of the variables which relate to ΔStotal are all in terms of the system. You are now ready to state whether a reaction or process is favourable or not. I should also mention here that the equation applies when the reaction takes place at constant pressure and temperature, and is another part of the derivation which is explained at a more advanced level.

Spontaneity and Gibbs Free Energy

With the equation from Figure 14.5 now stated, we can readily explore the spontaneity of a reaction (finding out if a reaction is spontaneous). We have already covered the ideas regarding favourable and unfavourable processes but the term spontaneous processes is more mathematically refined as a definition. A spontaneous process or reaction is one in which the total entropy of the universe increases or more succinctly, ΔStotal > 0, at the given temperature T and constant pressure. As we shall soon see, spontaneous reactions are ones which tend to favour the formation of products. A reaction or process is non-spontaneous when ΔStotal < 0 at the given conditions of temperature and constant pressure. Non-spontaneous processes tend not to favour the formation of products.

If you study this topic as part of your course then you might be asked to compare entropy changes and decide which reaction is more or less spontaneous, particularly if two or more reactions have the same sign for ΔStotal.

The next part of the derivation is of particular interest and use to chemists. We tend to compare the spontaneity of a process in terms of energy, for which the units are J mol-1 or kJ mol-1, instead of comparing ΔStotal. We rearrange the equation and build a new definition. Multiplying the equation from Figure 14.5 by -T and defining ΔG = -TΔStotal, leading to a more convenient form shown in Figure 14.6.

Gibbs Free Energy change Figure 14.6 A convenient method for deducing the spontaneity of a reaction. This is worth memorising.

The term ΔG (more formally, ΔGsys) is referred to as the change in Gibbs Free Energy (quite often referred to more concisely as Gibbs Free Energy), named after the 19th century American mathematical physicist, Josiah Willard Gibbs. Many pre-university textbooks omit the 'sys' subscripts in ΔHsys and ΔSsys though they are almost certainly referring to the equation given in Figure 14.6.

The equation given in Figure 14.6, like Figure 14.5, applies when the pressure and temperature are constant. Since we have defined ΔG = -TΔStotal, it follows that a spontaneous process is one in which ΔG > 0, at the temperature T and under constant pressure. Non-spontaneous processes and reactions are ones in which ΔG < 0. We will outline why it is called 'Free' energy shortly.

There are a number of features which you should be comfortable with when interpreting the results of the equation from Figure 14.6.

Spontaneity and chemical composition

We need to clarify what happens to the chemical composition when we say something is likely to occur or is spontaneous. Shortly, we will see that all processes and reactions occur to some extent. Overall, reactions which are more spontaneous are ones which produce more products. Less spontaneous processes result in a mixture made up of more reactants than products. Let us go through these ideas a more detail.

Let us start with an important assumption made thus far. Whenever we calculate ΔSsys, we are comparing the entropy change of the system assuming that all reactants are converted into products. It is the same when we calculate ΔHsys. We are comparing the enthalpies of pure products to pure reactants. What happens if we only convert some of the reactants? What other factors affect absolute entropy and absolute enthalpy?

With enthalpy, you learned that there is an energy barrier to each reaction direction and, at least temporarily, absolute enthalpy increases at first whether you start from reactants or from products. With entropy, there are multiple factors which determine entropy: how much random motion is present, how many configurations are present and how are energy and matter dispersed. The number of configurations and the entropy solely dependent on the number of configurations always increases whenever we start a reaction from pure reactants or pure products (Figure 14.7) for any reaction. The other two factors are what we are really interested in because either can either add to the increase in entropy or oppose the increase. These two factors ultimately determine what happens to the absolute entropy as the reaction proceeds. With more experience of the subject, you will learn that the absolute entropy of the system always increases at first, from either direction. (It follows then that all reactions, as written, are apparently reversible.) Take care to note, however, that this does not mean ΔSsys is always positive.

For any reaction starting from either reactant or from product, if we assume that the entropy change of the surroundings is constant (which is also equivalent to saying that the enthalpy change and temperature are constant, Figure 14.4) then a process or reaction which moves away from pure reactants or pure products always leads to an increase in the system's entropy and therefore the total entropy. We can view all these results graphically, plotting the total entropy against chemical composition (Figure 14.7).

Total entropy against chemical composition Figure 14.7 Showing how total entropy changes with composition

With more data points, the two curves which lead away from reactants and products eventually join, resulting in one curve with a maximum. The chemical composition at the maximum total entropy largely depends on the sign of ΔStotal. If ΔStotal > 0 then the reaction mixture at the maximum total entropy is composed mostly of products (this can be demonstrated through experimentation). If ΔStotal < 0 then the chemical composition at the maximum is characteristic of more reactants. The results are shown in Figure 14.8. In both cases, the entropy increases, which means that all reactions, forward or backward, are likely to proceed to some extent. For Figure 14.8, going uphill is favourable!

Total entropy against chemical composition Figure 14.8 Positive and negative ΔStotal (ΔS shown is ΔStotal)

Take note of what ΔStotal actually means in chemistry. It represents the total entropy change assuming that all reactants are converted to products. It does not measure the difference between the maximum entropy and a starting point (reactants or products). In practice, reactants are not converted completely to products (and vice versa) based on entropy change. When the system reaches the maximum total entropy, any further chemical change (in the forward or backward directions) would require a decrease in total entropy. This further change would be unfavourable. We will come back to this point soon.

Moving on to Gibbs Free energy, which is essentially the negative of ΔStotal, you can see that the results are inverted (Figure 14.9). As one moves away from pure reactants or pure products, the free energy of the system always decreases initially and reaches a minimum. Spontaneous processes with a negative ΔG lead to a minimum where the mixture is made up mostly of products, whereas non-spontaneous processes with a positive ΔG lead to mixtures made up mostly of reactants. As explained for total entropy change, forward and backward reactions are both likely to occur to some extent but unlikely to go to completion. For Figure 14.9, going downhill is favourable.

Free energy against chemical composition Figure 14.9 Positive and negative ΔG. The equilibrium positions for the negative ΔG and the corresponding ΔStotal are the same.

The maximum from Figure 14.8 and the minimum from Figure 14.9 represent the equilibrium composition. At either stationary point, one would need to provide an 'external influence' to decrease total entropy or increase free energy. Without external influence, the composition of the mixture remains constant, which we know is indicative of a system that has reached dynamic equilibrium. To an experimentalist or observer, it would eventually appear that any additional forward reactions are countered by 'backward reactions' (and vice versa) preventing the reaction from going all the way forward or backward.

As I hope you can see, the calculations with regards to spontaneity are not really about whether a reaction will proceed or not but more to do with what the composition will be once the total entropy is maximised or the Gibbs Free energy is minimised. How far does the reaction go, as it were. Spontaneous reactions produce more product than non-spontaneous reactions. By changing the conditions, chemists can design procedures which effectively shift the position of the stationary point. For some reactions, the stationary point is very close to one of the starting points. As such, these reactions are viewed as 'irreversible reactions', although a detailed analysis would indicate otherwise.

Free energy

Let us look at why we use the phrase 'free energy'. What is free? Recall from the previous article that a system can exchange energy with the surroundings, some of which may be (though not always) used to do work through expansion or contraction. The remainder of the energy is exchanged or transferred as heat, leading to an increase in the entropy of the system (for an endothermic process) or the surroundings (for an exothermic process). The important point here is that the enthalpy change, as described, is not related to expansion or contraction.

If we rearrange the equation from Figure 14.6, we can state:

ΔH = ΔG + TΔS

This helps show that enthalpy change is split into two parts. The TΔS part is related to changes random motion of the system or surroundings. The ΔG part is related to work. Remember, work due to expansion or contraction was already accounted for and is not related to enthalpy change so we refer to ΔG more appropriately as non-expansion work. The energy represented by ΔG is said to be 'free' to do other forms of work, other than expansion or contraction.

Perhaps the most common example and use of the energy provided by ΔG is the work done to drive electrons around a circuit. When you study electrochemistry, any spontaneous reaction produces heat, most of which is dissipated to the surroundings and a smaller portion is used to drive electrons around the circuit in a uniform manner.

Making predictions

We end this article with a few more cautionary remarks. The predictive tools explained above are indeed quite powerful though you will also encounter examples or observations which seem to diverge from the predictions. One significant area of chemistry which we have overlooked is chemical kinetics. There are lots of examples of reactions which, while supposedly spontaneous on paper, are actually very slow and might appear non-spontaneous (the mixture is made mostly of reactants).

At this level, the thermodynamic variables ΔS and ΔH are assumed to be independent of pressure and temperature, assumptions which are not supported by more rigorous studies. Bear this in mind if you find that the predictions fail when temperature or pressure change significantly as a process takes place. As you will see from a range of calculations, ΔG is strongly dependent on temperature. Whenever quoting ΔG values, always state the temperature.

In conclusion, these articles are intended to give you more of the background needed to pursue more advanced study of chemical thermodynamics. There will undoubtedly (indeed, hopefully) be more questions that you want to ask. We have seen how the energy of a reaction can be distributed as work and heat. After giving more meaning to enthalpy change and entropy change, we have developed predictive tools that enable scientists to foresee the nature and composition of the resultant mixture. We have also seen how the total entropy changes and free energy changes tie in with dynamic equilibrium.