Lecture No. 11. More Handy Computational Tools
Lets stop for a moment, look at what weve covered so far, and get a peek at where the course is going from here.
Course Overview
Up until now we have mostly looked at general principles of environmental geochemistry. We have covered:
Where do we go from here?
We are going to cover a few more computational tools: log ratio and log c-pH diagrams, their uses, and their limitations. Then we will shift gears and begin covering
We will also pick up a few more tools as we go along but the P-chem-intensive and analytical chemistry-intensive part of the course will soon be behind us.
A Word about the Midterm Exam
There is, as promised, a simple Eh-pH diagram on the exam. There is at least one pH-controlled equilibrium. Now lets revisit the aluminum diagram that was constructed in class. We had total aluminum activity at 1 M. We took the solubility product of Al(OH)3, plugged in 1 M Al, and calculated the activity of OH that would make the ion activity product equal to the solubility product. At that OH activity, the first crystals of Al(OH)3 would form.
But then what? As Al(OH)3 formed, the Al3+ activity would fall, and Al(OH)3 would stop precipitating. If 99+% of the aluminum is still in solution, what is the dominant species? I would say that the boundary ought to be at the pH where exactly half the aluminum is still in solution. In the case of our 1 M aluminum system, {Al3+} would be 0.5 M. Aluminum activity in solution is at 0.5 M when exactly half the Al is precipitated. It generally makes a small difference in pH, but I think it is important. That is why I have stipulated this approach on the exam.
Sediment Overview
Sediments and their influences were covered on several different days in large, difficult-to-digest chunks. Here is an overview of what it all means.
Activity Ratio Diagrams
Here is another very useful tool. There is one of these in the Elder paper, page 11. Once we go through this exercise you will understand it better.
In this type of diagram we plot all activities in terms of the logarithms of their ratios to one specific activity, vs. pe at fixed pH, or vs. pH at fixed pe. For example, we might plot {H2S}, {HS}, and {SO42} in terms of their ratios to the activity of elemental sulfur. We refer to these plots as log [{i}/{S}]-pe plots. These are most useful when there are simple relationships for these ratios that involve only {S} and one other species activity without extraneous variables.
We will construct a diagram for sulfur at pH 10. For sulfate, we can use the equilibrium constant expression from Equation 4:





The log of the sulfate ratio has a slope of 6/pe and an intercept of 43.8 when pe=0.
Now for the {HS} ratio:



This line has a slope of 2/pe and an intercept of 12.2.
If we plot these two lines, we find that S is forbidden to exist any time either {SO42} or {HS} is larger, i.e., any time either log [{i}/{S}] is greater than zero. (See overhead.) Sulfur is forbidden by sulfate at all pe values above 7.3. It is forbidden by HS at all pe values smaller than 6.1.
We can do the same thing for pH 4. Now HS is not an important species, but H2S is.
4.8 = log {H2S} log {S} + 2 pH + 2 pe


This log ratio has a slope of 2/pe and an intercept of 3.2.
Meanwhile the equation for the sulfate ratio is changed because the pH is lower:

When we plot the ratios at pH 4, we find we now have a region in which S is not forbidden the pe range from 1.6 to +0.7. The question of whether S is permitted depends on whether {S} is > 1. If we specify that {ST} is 103 M, then we know that S can exist only if log [{i}/{S} is less than 3 in the pe range from 0.1 to +0.2.
The same log ratio can be plotted against pH for equilibria that depend on pH but not pe. Consider the log [{i}/{Cu2+}] diagram from Elders paper. This is a plot for soluble and solid copper species in the presence of carbonate. Since {Cu2+} is fixed at 102 M, any solid phase for which the log of the ratio exceeds 2 is permitted. On the other hand, any solute phase for which the log ratio exceeds zero will be the predominant one unless there are more than one, in which case the one with the highest log ratio predominates.
(Note that Elder does not plot anything with a log ratio below zero.)
Examining the plot shows how these relationships interact. Note that from ~ pH 3.5 to ~ pH 7, malachite is the predominant solid phase. From ~ pH 4.5 to pH 7, malachite can exist (log ratio > 2). Above pH 7, tenorite predominates. Azurite is never predominant in the presence of an aqueous solution of Cu2+. (In fact, azurite is unstable in the presence of water; it hydrates to form malachite. Many 19th-Century painters who painted in the West used azurite as their blue pigment. After a few decades in humid Eastern art galleries, the paintings acquired beautiful green skies.)
In solution, we see that the dissolved copper carbonate complex takes over from Cu2+ around pH 6. At higher pH, various other soluble copper complexes exist. We can read all this at a glance once we know the meaning of log [{i}/{Cu2+}].
pH-log c Diagrams
We have looked at diagrams in Eh-pH (or pe-pH) space with log c fixed, and we have looked at diagrams in pe-log c space at fixed pH, as well as concentration ratios vs. pe and pH.
Now we will address the remaining combination in pH-log c space at constant pe. These diagrams are generally handy when acid-base equilibria are the dominant ones and Eh (or pe) either is not important or can be fixed.
We will construct a pH-log c diagram for a fairly simple system and one for a more complex system. However, we will first review a little acid-base chemistry.
Consider a monoprotic acid (one with just one ionizable proton). Its dissociation equilibrium is
HA ó H+ + A
Its dissociation constant is given by the equilibrium expression:
![]()
There is a shorthand expression called ionization fraction. In brief, a 0 is the fraction of the acid that is unionized, and a 1 is the fraction ionized. If CT is the total solution concentration of the acid, then
[HA] = a 0 CT and [A] = a 1 CT
Since
![]()
and {HA} = {H+} {A}/Ka,
and CT = [HA] + [A],
and we assume that activity, {i}, is approximately equal to concentration, [i],
![]()


By similar reasoning,

There are tables listing a 0 and a 1 at various pH values for a number of acids. This is really no big deal for a monoprotic acid, but for acids with several ionizable hydrogens (such as citric, phosphoric, or arsenic acids) the higher ionization fractions, a 2, a 3, get to be more laborious to calculate.
Now we will put together a pH-log c diagram for ammonia. We only need to deal with two equilibria and a third that is derived from the other two. The two equilibria are
NH4+ ó NH3 + H+
and
H2O ó H+ + OH
The derived equilibrium is
NH3 + H2O ó NH4+ + OH
![]()
The equilibrium expressions are listed below:
![]()
![]()
![]()
Now lets put together a log c-pH diagram for ammonia. We need one other initial assumption: total ammonia concentration. We will set CT = 1« 103.
From the water equilibrium, we know that
Kw = [H+] [OH]
so
log Kw = 14 = log [H+] + log [OH] = log [OH] pH
Therefore the equations for log [H+] and log [OH] are
log [H+] = pH
and
log [OH] = pH 14
From our initial conditions,
CT = [NH3] + [NH4+]
For the ammonia species,
log Ka = 9.3 = log [NH3] + log [H+] log [NH4+]
9.3 = log [NH3] pH log [NH4+]
Therefore
log [NH4+] = log [NH3] pH + 9.3
and
log [NH3] = log [NH4+] + pH 9.3
So log [NH4+] has a slope of 1 vs. pH, and log [NH3] has a slope of +1 vs. pH.
When [NH3] = [NH4+], pH = 9.3.
We can plot the system point at pH 9.3 and log c = 3 log 2 = 3.301. The log [H+] and log [OH] intersect at pH 7 and log c = 7. Above the system point, CT is limiting for NH3 and NH4+; we draw smooth lines connecting their lines with the log CT line at 3. We now have a completed log c-pH diagram for ammonia at 103 M.
Next: We will plot a pH-log c diagram for carbonic acid, then move on to the Milltown Reservoir case study.
To previous lecture: Lecture No 10. Some Handy Computational Tools
To next lecture: Lecture No 12. Carbonic acid. Milltown Case Study.
Back to list of lecture notes