# 10.5: The Solutions

- Page ID
- 10930

The set of six simultaneous equations derived by Stewart (see previous section) include:

- the 3 independent variables (pCO
_{2}, SID and [A_{Tot}]) - the 6 dependent variables ( [HA], [A
^{-}], [HCO_{3}^{-}], [CO_{2}^{-3}], [OH^{-}], [H^{+}] )

These equations can be solved mathematically to express the value of any one of the dependent variables in terms of the 3 independent variables (and the various equilibrium constants). The values of the equilibrium constants have been experimentally determined under a range of conditions and can be obtained from various reference sources.

To focus only on the solution of the six equations for [H^{+}], one derives a formula of the following form:

**\[ ax^{4} + bx^{3} + cx^{2} +dx + e =0 \]**

Mathematicians call this type of equation a * 4th order polynomial* or a quartic equation. The unknown value is x and a,b,c,d and e are constants. (The actual value of these "constants" can change - eg with change in temperature - but are a fixed value under a given set of conditions. If, for example, the temperature changes, then different values of the constants have to be used.) The actual equation for [H

^{+}] that Stewart derived is listed below.

A daunting equation and there is a general formula for solving such quartic equations, but this is very complex. Solution is however fast and easy on an appropriately programmed computer, and can be done online, if you know the values for the constants. Some of the constants are temperature dependent, so not actually "constant". A similar type of equation can be produced for any of the 6 dependent variables. The point here is not to become involved in complicated mathematics but to show that it is possible to solve the equation and determine the hydrogen ion concentration (ie [H^{+}] ) in the solution using only the values of the three independent variables and various equilibrium constants. What is not stated explicitly are the error bounds related to the calculation. These become important (i.e. they are wide) as there are so many variables and constants involved, and such indirect calculation of pH can never be as accurate as actual pH measurement.