First consider what a buffer is and what a buffer can be made from. A buffer is a solution resisting change in pH formed from a weak acid and its salt (a conjugate acid base pair), or from any weak acid and a weak base. Now we know how buffers work we can see that in setting up an equation (for example for ethanoic acid), it would act as a buffer as follows:CH3COOH<> CH3COO- + H+ Adding more ethanoic acid would push the equilibrium to the right, dissociating into its constituent salt and hydrogen ion, making the solution less acidic, and adding more alkali (or salt), would react with the H+ ions to push the equilibrium to the left making the solution more acidic, therefore resisting change to pH. Because we know ethanoic acid dissociates, if it was in a buffer solution we could use Ka (the dissociation constant) to work out how much it has dissociated, therefore how many hydrogen ions are present in the solution to measure the pH. Take the example:A buffer solution was prepared which had a concentration of 0.20 mol dm–3 in ethanoic acid and 0.10 mol dm–3 in sodium ethanoate. If the Ka for ethanoic acid is 1.74 x 10–5 mol dm–3, calculate the theoretical hydrogen ion concentration and pH of the buffer solution.Ka = [H+(aq)] x [CH3COO-(aq)]/[CH3COOH(aq)]1.74 x 10–5 = [H+(aq)] x 0.10 / 0.20[H+(aq)] = 1.74 x 10–5 x 0.20/0.10 = 3.48 x 10–5 mol dm–3pH = –log(3.48 x 10–5) = 4.46