There several ways to introduce buffers. Here’s one of them. Let’s consider pure water. In pure water, the only occurring process is water’s autoprotolysis:
and the stoichiometry implies , which, given pKw=14, means pH=7. Now, let’s take 1 L of water and add to it 250 mL of 0.1 M HCl. After dilution, the new concentration of HCl becomes . HCl is a strong acid, so meaning that pH is equal to 1.1. Adding just 250 mL of acid drops the pH from 7 to 1.1. You can repeat the calculation even with 0.05 mL of acid:
So adding just one drop of acid (e.g. from a buret) will drop the pH from 7 to 1.
Now, let’s imagine that instead of having 1 L of water, we had 1 L of a solution that contained 0.1 M of some acid and 0.1 M of its deprotonated form and the pKa of that acid is 7. You can show that the pH of that solution will be also 7. Here’s where comes the surprise. If we add 0.05 mL of 0.1 M HCl, the pH will stay equal to approximately 7. Even if we add 250 mL of that HCl, the pH will only drop to 6.778. Huh? Somewhat surprising isn’t it?
Besides surprising, this solution is surely of practical interest to us. Imagine you want to set up some pH sensitive reaction (or you want to dissolve a protein, for which the tertiary structure is stable only at a certain small range of pH), you’d surely want your medium to be resistant to some accidental drops of acid that may get into your solution.
Solutions the pH for which doesn’t change significantly upon addition of reasonable amount of acid or base are called buffer solutions.
Why Buffers Work
The idea is quite simple. If we have both protonated and deprotonated forms of some acid (say , then if we try to add an acid to the solution, that acid will fully (assuming we don’t add too much HCl) react with in a Bronsted-Lowry proton transfer:
and, as a result, there’ll be no significant injection of free ions (which was the reason why pH dropped so dramatically with pure water), and the only thing that will change is the concentrations of and . It just turns out, that such change in relative amounts of and doesn’t change the pH significantly.
Let’s see how we can calculate the pH of the new mixture.
Henderson-Hasselbach Equation
In our solution, we have the following ions . If the system is at equilibrium, regardless of how the system is prepared, the ratio of these concentrations must be equal to Ka:
Consider the initial state of the buffer. We claimed that we somehow managed to prepare the solution in which . Plugging these values into (3), we obtain that . is fixed, so that means that the equilibrium concentration of is equal to Ka. We can take logs of both sides and write it as pH = pKa. This is why the pH of the initial solution was 7 (the pKa was taken as given and equal to 7).
This calculation despite being way simpler than what we usually have to do to find pH is not conceptually any different. The reason why we usually have to deal with solving quadratics is because we begin at some non-equilibrium state in which and , so we have no idea what will be the final/equilibrium concentration of and , and so we have to assume that moles of will participate in the proton transfer. In this case, we’re told that somehow we obtained the solution in which two of the three equilibrium concentrations are known: . So, in order to satisfy the from (3), the concentration of can take only one unique value.
Let’s do some manipulations to (3). We might want to know the pH at other concentrations of and .
The equation (4) is known as Henderson–Hasselbalch Equation. Essentially it says that if you know pKa and you know either exact values of and or at least their ratio, you can unambiguously determine the pH.
When could we use Henderson-Hasselbach Equation?
The equation (4) is useful if you want to know what will be the pH of the solution if you prepare it in a way such that and take certain desired values. For example, you might prepare the solution by adding equal number of moles of and , which will result in equal concentrations of .
The equation (4) can be useful if you want to approximate what happens when you add some amount of acid or base to your buffer.
Let’s consider the following setup. Let’s say you prepared a solution with volume and concentrations and . The solution with these concentrations has Let’s say you then add liters of an acid with concentration . The first thing you could do is calculate what will be the concentration of and after fully reacts with .
As I’ve said in the notes on finding pH of monoprotic acids, concentrations are not additive. You cannot add or subtract them. We can only work with numbers of moles. Initially, we had mols of and mols of . We added mols of HCl, and we assume that is smaller than . Okay. After reaction completes, we have:
and
The new volume of the solution is . Let’s calculate the new concentrations of and :
and
Are these concentrations equilibrium concentrations? We don’t know and we have no reasons to suspect one way or another. What we should do, ideally, is to say, okay, given these new quantities of and , let’s imagine mols of will participate in proton transfer. Then you set the accounting/ICE table:
Initial num. moles | |||
Reacted | |||
Final num. moles |
Despite looking way more frightening than we’ve used to seeing in an ICE table, this also leads to a quadratic equation:
You can solve this equation for , and then calculate , which will be your , and so that’s how you can find the pH.
If, for some reason, you could say that is effectively , you could say that (7) and (8) are equilibrium concentrations of and , and so then you’d be able to use equation (4) to predict pH. This is what the absolute majority of buffer problems expects you to do.
You might wonder, how justified are we in assuming ? Put differently, how big of an error will we make if we treat ? Well, one could say: solve (9) and see for yourself. Luckily for you, I did solve (9) and made a dynamic figure, that shows you the pH calculated exactly by solving (9) (or a similar equation that you get if you add base) and by using Henderson-Hasselbach equation. As you can see, for a system with pKa=7 the HH gives effectively the identical answer for all volumes of acids and bases added. If you decrease pKa to 4.76, the HH works fine up until you add ~500 mL of HCl (which is half the original buffer volume).