Propagation of Uncertainty
In Chapter 4 we considered the basic mathematical details of a propagation of uncertainty, limiting our treatment to the propagation of measurement error. This treatment is incomplete because it omits other sources of uncertainty that influence the overall uncertainty in our results. Consider, for example, Practice Exercise 4.2, in which we determined the uncertainty in a standard solution of Cu^{2}^{+} prepared by dissolving a known mass of Cu wire with HNO_{3}, diluting to volume in a 500-mL volumetric flask, and then diluting a 1-mL portion of this stock solution to volume in a 250-mL volumetric flask. To calculate the overall uncertainty we included the uncertainty in the sample's mass and the uncertainty of the volumetric glassware. We did not consider other sources of uncertainty, including the purity of the Cu wire, the effect of temperature on the volumetric glassware, and the repeatability of our measurements. In this appendix we take a more detailed look at the propagation of uncertainty, using the standardization of NaOH as an example.
Standardizing a Solution of NaOH^{1}
Because solid NaOH is an impure material, we cannot directly prepare a stock solution by weighing a sample of NaOH and diluting to volume. Instead, we determine the solution's concentration through a process called a standardization.^{2} A fairly typical procedure is to use the NaOH solution to titrate a carefully weighed sample of previously dried potassium hydrogen phthalate, C_{8}H_{5}O_{4}K, which we will write here, in shorthand notation, as KHP. For example, after preparing a nominally 0.1 M solution of NaOH, we place an accurately weighed 0.4-g sample of dried KHP in the reaction vessel of an automated titrator and dissolve it in approximately 50 mL of water (the exact amount of water is not important). The automated titrator adds the NaOH to the KHP solution and records the pH as a function of the volume of NaOH. The resulting titration curve provides us with the volume of NaOH needed to reach the titration's endpoint.^{3}
The end point of the titration is the volume of NaOH corresponding to a stoichiometric reaction between NaOH and KHP.
\[\ce{NaOH + C8H5O4K → C8H4O4- + K+ + Na+ + H2O}(l)\]
Knowing the mass of KHP and the volume of NaOH needed to reach the endpoint, we use the following equation to calculate the molarity of the NaOH solution.
\[\mathrm{C_{NaOH}}= \dfrac{1000 × m_\ce{KHP} × P_\ce{KHP}}{M_\ce{KHP} × V_\ce{NaOH}}\]
where C_{NaOH} is the concentration of NaOH (in mol KHP/L), m_{KHP} is the mass of KHP taken (in g), P_{KHP} is the purity of the KHP (where P_{KHP} = 1 means that the KHP is pure and has no impurities), M_{KHP} is the molar mass of KHP (in g KHP/mol KHP), and V_{NaOH} is the volume of NaOH (in mL). The factor of 1000 simply converts the volume in mL to L.
Identifying and Analyzing Sources of Uncertainty
Although it seems straightforward, identifying sources of uncertainty requires care as it easy to overlook important sources of uncertainty. One approach is to use a cause-and-effect diagram, also known as an Ishikawa diagram—named for its inventor, Kaoru Ishikawa—or a fish bone diagram. To construct a cause-and-effect diagram, we first draw an arrow pointing to the desired result; this is the diagram's trunk. We then add five main branch lines to the trunk, one for each of the four parameters that determine the concentration of NaOH and one for the method's repeatability. Next we add additional branches to the main branch for each of these five factors, continuing until we account for all potential sources of uncertainty. Figure A2.1 shows the complete cause-and-effect diagram for this analysis.
Figure A2.1 Cause-and-effect diagram for the standardization of NaOH by titration against KHP. The trunk, shown in black, represents the the concentration of NaOH. The remaining arrows represent the sources of uncertainty that affect C_{NaOH}. Light blue arrows, for example, represent the primary sources of uncertainty affecting C_{NaOH}, and green arrows represent secondary sources of uncertainty that affect the primary sources of uncertainty. See the text for additional details.
Before we continue, let's take a closer look at Figure A2.1 to be sure we understand each branch of the diagram. To determine the mass of KHP we make two measurements: taring the balance and weighing the gross sample. Each measurement of mass is subject to a calibration uncertainty. When we calibrate a balance, we are essentially creating a calibration curve of the balance's signal as a function of mass. Any calibration curve is subject to a systematic uncertainty in the y-intercept (bias) and an uncertainty in the slope (linearity). We can ignore the calibration bias because it contributes equally to both m_{KHP}_{(gross)} and m_{KHP}_{(tare)}, and because we determine the mass of KHP by difference.
\[m_\textrm{KHP} = m_\textrm{KHP(gross)} - m_\textrm{KHP(tare)}\]
The volume of NaOH at the end point has three sources of uncertainty. First, an automated titrator uses a piston to deliver the NaOH to the reaction vessel, which means the volume of NaOH is subject to an uncertainty in the piston's calibration. Second, because a solution's volume varies with temperature, there is an additional source of uncertainty due to any fluctuation in the ambient temperature during the analysis. Finally, there is a bias in the titration's end point if the NaOH reacts with any species other than the KHP.
Repeatability, R, is a measure of how consistently we can repeat the analysis. Each instrument we use—the balance and the automatic titrator—contributes to this uncertainty. In addition, our ability to consistently detect the end point also contributes to repeatability. Finally, there are no additional factors that affect the uncertainty of the KHP's purity or molar mass.
Estimating the Standard Deviation for Measurements
To complete a propagation of uncertainty we must express each measurement’s uncertainty in the same way, usually as a standard deviation. Measuring the standard deviation for each measurement requires time and may not be practical. Fortunately, most manufacture provides a tolerance range for glassware and instruments. A 100-mL volumetric glassware, for example, has a tolerance of ±0.1 mL at a temperature of 20^{o}C. We can convert a tolerance range to a standard deviation using one of the following three approaches.
Assume a Uniform Distribution. Figure A2.2a shows a uniform distribution between the limits of ±x, in which each result between the limits is equally likely. A uniform distribution is the choice when the manufacturer provides a tolerance range without specifying a level of confidence and when there is no reason to believe that results near the center of the range are more likely than results at the ends of the range. For a uniform distribution the estimated standard deviation, s, is
\[s = \dfrac{x}{\sqrt{3}}\]
This is the most conservative estimate of uncertainty as it gives the largest estimate for the standard deviation.
Assume a Triangular Distribution. Figure A2.2b shows a triangular distribution between the limits of ±x, in which the most likely result is at the center of the distribution, decreasing linearly toward each limit. A triangular distribution is the choice when the manufacturer provides a tolerance range without specifying a level of confidence and when there is a good reason to believe that results near the center of the range are more likely than results at the ends of the range. For a uniform distribution the estimated standard deviation, s, is
\[s = \dfrac{x}{\sqrt 6}\]
This is a less conservative estimate of uncertainty as, for any value of x, the standard deviation is smaller than that for a uniform distribution.
Assume a Normal Distribution. Figure A2.3c shows a normal distribution that extends, as it must, beyond the limits of ±x, and which is centered at the mid-point between –x and x. A normal distribution is the choice when we know the confidence interval for the range. For a normal distribution the estimated standard deviation, s, is
\[s = \dfrac{x}{z}\]
where z is 1.96 for a 95% confidence interval and 3.00 for a 99.7% confidence interval.
Figure A2.2 Three possible distributions for estimating the standard deviation from a range: (a) a uniform distribution; (b) a triangular distribution; and (c) a normal distribution.
Completing the Propagation of Uncertainty
Now we are ready to return to our example and determine the uncertainty for the standardization of NaOH. First we establish the uncertainty for each of the five primary sources—the mass of KHP, the volume of NaOH at the end point, the purity of the KHP, the molar mass for KHP, and the titration’s repeatability. Having established these, we can combine them to arrive at the final uncertainty.
Uncertainty in the Mass of KHP. After drying the KHP, we store it in a sealed container to prevent it from readsorbing moisture. To find the mass of KHP we first weigh the container, obtaining a value of 60.5450 g, and then weigh the container after removing a portion of KHP, obtaining a value of 60.1562 g. The mass of KHP, therefore, is 0.3888 g, or 388.8 mg.
To find the uncertainty in this mass we examine the balance’s calibration certificate, which indicates that its tolerance for linearity is ±0.15 mg. We will assume a uniform distribution because there is no reason to believe that any result within this range is more likely than any other result. Our estimate of the uncertainty for any single measurement of mass, u(m), is
\[u(m) = \mathrm{\dfrac{0.15\: mg}{\sqrt 3} = 0.09\: mg}\]
Because we determine the mass of KHP by subtracting the container’s final mass from its initial mass, the uncertainty of the mass of KHP u(m_{KHP}), is given by the following propagation of uncertainty.
\[u(m_\ce{KHP}) = \mathrm{\sqrt{(0.09\: mg)^2 + (0.09\: mg)^2} = 0.13\: mg}\]
Uncertainty in the Volume of NaOH. After placing the sample of KHP in the automatic titrator’s reaction vessel and dissolving with water, we complete the titration and find that it takes 18.64 mL of NaOH to reach the end point. To find the uncertainty in this volume we need to consider, as shown in Figure A2.1, three sources of uncertainty: the automatic titrator’s calibration, the ambient temperature, and any bias in determining the end point.
To find the uncertainty resulting from the titrator’s calibration we examine the instrument’s certificate, which indicates a range of ±0.03 mL for a 20-mL piston. Because we expect that an effective manufacturing process is more likely to produce a piston that operates near the center of this range than at the extremes, we will assume a triangular distribution. Our estimate of the uncertainty due to the calibration, u(V_{cal}) is
\[u(V_\ce{cal}) = \mathrm{\dfrac{0.03\: mL}{\sqrt 6} = 0.012\: mL}\]
To determine the uncertainty due to the lack of temperature control, we draw on our prior work in the lab, which has established a temperature variation of ±3^{o}C with a confidence level of 95%. To find the uncertainty, we convert the temperature range to a range of volumes using water’s coefficient of expansion
\[\mathrm{(2.1×10^{−4}{^\circ C}^{−1}) × (±3^\circ C) × 18.64\: mL = ±0.012\: mL}\]
and then estimate the uncertainty due to temperature, u(V_{temp}) as
\[u(V_\ce{temp}) = \mathrm{\dfrac{0.012\: mL}{1.96} = 0.006\: mL}\]
Titrations using NaOH are subject to a bias due to the adsorption of CO_{2}, which can react with OH^{–}, as shown here.
\[\ce{CO2}(aq) + \ce{2OH-}(aq) → \ce{CO3^2-}(aq) + \ce{H2O}(l)\]
If CO_{2} is present, the volume of NaOH at the end point includes both the NaOH reacting with the KHP and the NaOH reacting with CO_{2}. Rather than trying to estimate this bias, it is easier to bathe the reaction vessel in a stream of argon, which excludes CO_{2} from the titrator’s reaction vessel.
Adding together the uncertainties for the piston’s calibration and the lab’s temperature fluctuation gives the uncertainty in the volume of NaOH, u(V_{NaOH}) as
\[u(V_\ce{NaOH}) = \mathrm{\sqrt{(0.012\: mL)^2 + (0.006\: mL)^2} = 0.013\: mL}\]
Uncertainty in the Purity of KHP. According to the manufacturer, the purity of KHP is 100% ± 0.05%, or 1.0 ± 0.0005. Assuming a rectangular distribution, we report the uncertainty, u(P_{KHP}) as
\[u(P_\ce{KHP}) = \dfrac{0.0005}{\sqrt 3} = 0.00029\]
Uncertainty in the Molar Mass of KHP. The molar mass of C_{8}H_{5}O_{4}K is 204.2212 g/mol, based on the following atomic weights: 12.0107 for carbon, 1.00794 for hydrogen, 15.9994 for oxygen, and 39.0983 for potassium. Each of these atomic weights has an quoted uncertainty that we can convert to a standard uncertainty assuming a rectangular distribution, as shown here (the details of the calculations are left to you).
element | quoted uncertainty | standard uncertainty |
carbon | ±0.0008 | ±0.00046 |
hydrogen | ±0.00007 | ±0.000040 |
oxygen | ±0.0003 | ±0.00017 |
potassium | ±0.0001 | ±0.000058 |
Adding together the uncertainties gives the uncertainty in the molar mass, u(M_{KHP}), as
\[u(M_\ce{KHP}) = \mathrm{\sqrt{8 × (0.00046)^2 + 5 × (0.000040)^2 + 4 × (0.00017)^2 + (0.000058)} = 0.0038\: g/mol}\]
Uncertainty in the Titration’s Repeatability. To estimate the uncertainty due to repeatability we complete five titrations, obtaining results for the concentration of NaOH of 0.1021 M, 0.1022 M, 0.1022 M, 0.1021 M, and 0.1021 M. The relative standard deviation, s_{r}, for these titrations is
\[s_\ce{r} = \dfrac{5.477×10^{-5}}{0.1021} = 0.0005\]
If we treat the ideal repeatability as 1.0, then the uncertainty due to repeatability, u(R), is equal to the relative standard deviation, or, in this case, 0.0005.
Combining the Uncertainties. Table A2.1 summarizes the five primary sources of uncertainty. As described earlier, we calculate the concentration of NaOH we use the following equation, which is slightly modified to include a term for the titration’s repeatability, which, as described above, has a value of 1.0.
source | value, x | uncertainty, u(x) | |
---|---|---|---|
m_{KHP} | mass of KHP | 0.3888 g | 0.00013 g |
V_{NaOH} | volume of NaOH at end point | 18.64 mL | 0.013 mL |
P_{KHP} | purity of KHP | 1.0 | 0.00029 |
M_{KHP} | molar mass of KHP | 204.2212 g/mol | 0.0038 g/mol |
R | repeatability | 1.0 | 0.0005 |
\[\mathrm{C_{NaOH}} = \dfrac{1000 × m_\ce{KHP}× P_\ce{KHP}}{M_\ce{KHP}× V_\ce{NaOH}} × R\]
Using the values from Table A2.1, we find that the concentration of NaOH is
\[C_\ce{NaOH} = \dfrac{1000 × 0.3888 × 1.0}{204.2212 × 18.64} × 1.0 = \mathrm{0.1021\: M}\]
Because the calculation of C_{NaOH} includes only multiplication and division, the uncertainty in the concentration, u(C_{NaOH}) is given by the following propagation of uncertainty.
\[\dfrac{u(C_\ce{NaOH})}{C_\ce{NaOH}}= \dfrac{u(C_\ce{NaOH})}{0.1021\: \ce M} = \sqrt{\dfrac{(0.00013)^2}{(0.3888)^2} + \dfrac{(0.00029)^2}{(1.0)^2} + \dfrac{(0.0038)^2}{(204.2212)^2} + \dfrac{(0.013)^2}{(18.64)^2} + \dfrac{(0.0005)^2}{(1.0)^2}}\]
Solving for u(C_{NaOH}) gives its value as ±0.00010 M, which is the final uncertainty for the analysis.
Evaluating the Sources of Uncertainty
Figure A2.3 shows the relative uncertainty in the concentration of NaOH and the relative uncertainties for each of the five contributions to the total uncertainty. Of the contributions, the most important is the volume of NaOH, and it is here to which we should focus our attention if we wish to improve the overall uncertainty for the standardization.
Figure A2.3 Bar graph showing the relative uncertainty in C_{NaOH}, and the relative uncertainty in each of the main factors affecting the overall uncertainty.
References
- This example is adapted from Ellison, S. L. R.; Rosslein, M.; Williams, A. EURACHEM/CITAC Guide: Quantifying Uncertainty in Analytical Measurement, 2nd Edition, 2000 (available at http://www.measurementuncertainty.org/).
- See Chapter 5 for further details about standardizations.
- For further details about titrations, see Chapter 9.