UC San Diego UC San Diego Previously Published Works

Similar documents
1. Introduction to Chemical Kinetics

It must be determined from experimental data, which is presented in table form.

Lecture 12. Complications and how to solve them

Determination of the Rate Constant for an Iodine Clock Reaction

CHM 5423 Atmospheric Chemistry Notes on kinetics (Chapter 4)

Appendix 4. Some Equations for Curve Fitting

Ch part 2.notebook. November 30, Ch 12 Kinetics Notes part 2

A. One-Substrate Reactions (1) Kinetic concepts

Chapter 14 Chemical Kinetics

Rate laws, Reaction Orders. Reaction Order Molecularity. Determining Reaction Order

Kinetics. Consider an irreversible unimolecular reaction k. -d[a]/dt = k[a] Can also describe in terms of appearance of B.

Obtaining Uncertainty Measures on Slope and Intercept

UNIT 4 CHEMICAL KINETICS

Advanced Physical Chemistry CHAPTER 18 ELEMENTARY CHEMICAL KINETICS

CHAPTER 10 CHEMICAL KINETICS

An introduction to plotting data

X + Ω --> Φ (1) 5X + 3Ω --> 2Φ (3) d[φ]/dt = -d(2/5)[x]/dt = -d(2/3)[ω]/dt (4)

Lecture 15 (10/20/17) Lecture 15 (10/20/17)

CHAPTER 13 (MOORE) CHEMICAL KINETICS: RATES AND MECHANISMS OF CHEMICAL REACTIONS

Thermodynamics and Kinetics Review

Advanced Chemistry Practice Problems

Δx Δt. Any average rate can be determined between measurements at 2 points in time.

Chapter 12. Chemical Kinetics

SIMPLE MODEL Direct Binding Analysis

There is not enough activation energy for the reaction to occur. (Bonds are pretty stable already!)

Table 2.1 presents examples and explains how the proper results should be written. Table 2.1: Writing Your Results When Adding or Subtracting

Chemical Kinetics -- Chapter 14

Chem 6 Sample exam 1 (150 points total) NAME:

Chapter 12 - Chemical Kinetics

Basic Analysis of Data

Chemical Kinetics: Determining Rate Laws for Chemical Reactions

Slide 1. Slide 2. Slide 3. Integrated Rate Laws. What is a rate? A rate as a derivative. Finally a use for calculus! It s a delta/delta!

Lecture 13: Data Analysis for the V versus [S] Experiment and Interpretation of the Michaelis-Menten Parameters

Measurements and Data Analysis

CHEMICAL KINETICS E + 2B 2C + D (1)

Chemical Kinetics Lecture/Lession Plan -2

Calculations In Chemistry

Chemical Kinetics deals with rate (speed of chemical reactions how fast? Rate equation represents rate, which depends on various reactants

Describing the Relationship between Two Variables

Chapter 14: Chemical Kinetics II. Chem 102 Dr. Eloranta

Unit #10. Chemical Kinetics

[ A] 2. [ A] 2 = 2k dt. [ A] o

Performance Task: Concentration vs. Time

Chemical Kinetics. Reaction Mechanisms

2/23/2018. Familiar Kinetics. ...and the not so familiar. Chemical kinetics is the study of how fast reactions take place.

Experimental Uncertainty (Error) and Data Analysis

Chapter 12. Chemical Kinetics

Part II => PROTEINS and ENZYMES. 2.7 Enzyme Kinetics 2.7a Chemical Kinetics 2.7b Enzyme Inhibition

3: Chemical Kinetics Name: HW 6: Review for Unit Test KEY Class: Date: A Products

Chemical Kinetics. Kinetics is the study of how fast chemical reactions occur. There are 4 important factors which affect rates of reactions:

Appendix F. + 1 Ma 1. 2 Ma Ma Ma ln + K = 0 (4-173)

Kinetics. Mary J. Bojan Chem Rate: change that occurs in a given interval of time.

Lab Investigation 4 - How Fast Does the Crystal Violet Decolorize?

MATH10212 Linear Algebra B Homework Week 5

Chemical Kinetics I, A Survey:

How fast reactants turn into products. Usually measured in Molarity per second units. Kinetics

Chapter 13 - Chemical Kinetics II. Integrated Rate Laws Reaction Rates and Temperature

Chapter 13 Rates of Reactions

Experimental Uncertainty (Error) and Data Analysis

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis

ln(k) = ( E a /R) (1/T) + ln(a) Copyright 2018 Dan Dill 1

Determining the Rate Law and Activation Energy for the Methyl Blue Reaction:

Chapter 14 Chemical Kinetics

The calculation of kinetic parameters would be an integral part of the report.

CHEM Chapter 14. Chemical Kinetics (Homework) Ky40

BAE 820 Physical Principles of Environmental Systems

Solutions to Problem Assignment 1 (Kinetics) Oxtoby Problems -- see Solutions Manual. Solutions to Lecture Problems I # 1-6

Chapter 12. Chemical Kinetics

Elementary Reactions

Graphical Analysis and Errors - MBL

Mathematical Model of Catalytic Chemical Reactor. Sintayehu Agegnehu Matintu* School of Mathematical and Statistical Sciences, Hawassa University,

Previous Class. Today. Michaelis Menten equation Steady state vs pre-steady state

REACTION KINETICS. Catalysts substances that increase the rates of chemical reactions without being used up. e.g. enzymes.

Lecture 12 Elementary Chemical Kinetics: Concepts

Enzyme Kinetics. Jonathan Gent and Douglas Saucedo May 24, 2002

Kinetics - Chapter 14. reactions are reactions that will happen - but we can t tell how fast. - the steps by which a reaction takes place.

Chemical Kinetics. Chapter 13. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Competing Models, the Crater Lab

Ch 13 Rates of Reaction (Chemical Kinetics)

CHEM Exam 1 February 11, 2016 Constants and Equations: R = 8.31 J/mol-K. Beer-Lambert Law: A log bc. Michaelis-Menten Equation: v0 M

Time Resoled Pulsed Laser Photolysis Study of Pyrene Fluorescence Quenching by I - Anion

How To: Deal with Heteroscedasticity Using STATGRAPHICS Centurion

Uncertainty and Graphical Analysis

BIO134: Chemical Kinetics

Chapter 13 Lecture Lecture Presentation. Chapter 13. Chemical Kinetics. Sherril Soman Grand Valley State University Pearson Education, Inc.

Theoretical Models for Chemical Kinetics

Chemical Kinetics. Goal. Objectives

Reaction Kinetics: Elementary Ideas

Exp 03 - Reaction Rate

It can be derived from the Michaelis Menten equation as follows: invert and multiply with V max : Rearrange: Isolate v:

Diffusion influence on Michaelis Menten kinetics

The first aspects forms the subject matter of chemical equilibrium. The second aspects forms the subject matter of chemical kinetics.

Enzymes II. Dr. Mamoun Ahram Summer, 2017

14-2 Whether a reaction should proceed (thermodynamics) and how fast (kinetics) it should proceed.

Chapter 13 Kinetics: Rates and Mechanisms of Chemical Reactions

webzyme A Web-Based Enzyme Simulation System for Education and Research

Ch 13 Chemical Kinetics. Modified by Dr. Cheng-Yu Lai

Nonlinear pharmacokinetics

Chemical Kinetics. What Influences Kinetics?

Downloaded from

Transcription:

UC San Diego UC San Diego Previously Published Works Title Linear or Nonlinear Least-Squares Analysis of Kinetic Data? Permalink https://escholarship.org/uc/item/2dz66348 Journal JOURNAL OF CHEMICAL EDUCATION, 94(6) ISSN 0021-9584 Author Perrin, CL Publication Date 2017-06-01 DOI 10.1021/acs.jchemed.6b00629 Peer reviewed escholarship.org Powered by the California Digital Library University of California

Linear or Nonlinear Least Squares Analysis of Kinetic Data? Charles L. Perrin Department of Chemistry, University of California San Diego La Jolla, CA 92093-0358 cperrin@ucsd.edu Abstract. The disadvantages of the usual linear least-squares analysis of first- and second-order kinetic data are described, and nonlinear least-squares fitting is recommended as an alternative. Keywords. Kinetics, Graduate Education/Research, Reactions A common task in chemical kinetics is to extract the rate constant from the time dependence of concentrations. We first consider a reaction where reactant A is converted to product B, as in eq 1, and where the rate of reaction (rate of product formation or rate of reactant disappearance) is proportional to the concentration of reactant A, as in eq 2. Such a reaction is said to follow firstorder kinetics, because the rate is proportional to only one concentration. k A!" B (1) v = d[b] = d[a] dt dt = k[a] (2) Alternatively, the rate may also be proportional to the concentration of another species C with proportionality constant k', as in eq 3. However, if C is a catalyst, so that its concentration remains constant, or if C is in large excess, so that its depletion is negligible, its concentration does not deviate from its initial concentration [C] 0, and eq 3 can be simplified to eq 2 by setting k'[c] 0 equal to k. Such a reaction is said to follow pseudo-first-order kinetics, and k is often called a rate coefficient, rather than a rate constant, because its value changes with [C] 0. In either case the solution to eq 2 is given by eq 4, where [A] 0 is the initial concentration of A.

2 v = d[b] dt = d[a] dt = k'[a][c] (3) [A] = [A] 0 e kt (4) First-order Kinetics by Linear Least Squares The customary method for analyzing concentration-time data that follow eq 4 is to take the logarithms of both sides, to obtain eq 5. Now a plot of ln[a] vs. t is linear, with slope k and with intercept ln[a] 0, both of which can be evaluated by linear least-squares analysis. Alternatively, even if [A] itself is not measured, but a quantity A that is proportional to [A], such as UV-vis absorbance, conductivity, titer, or NMR intensity, eq 5 then becomes eq 6, also amenable to linear least-squares analysis. The familiar equations for evaluating [A] 0 or A 0, k, and the error in k are given in Supporting Information. ln[a] = ln[a] 0 kt (5) lna = lna 0 kt (6) Linear least-squares analysis is a poor method for evaluating the rate constant, as we shall see. Nevertheless, because it is so easy to apply, it is often presented in textbooks on kinetics, 1,2,3 even recent ones, 4,5 and it is the classical method. The defect in applying it to eq 5 or 6 is that the values are not equally reliable. Usually [A] or A is measured with a constant error #[A] or #A, as with UV-vis absorbance, whereas the values of ln[a] or lna do not have a constant error. Figure 1 shows the fit to eq 5 of simulated data with [A] 0 = 100 and k = 0.0016 but with a random error in [A] whose average is 3.37. When the reaction is followed to three half-lives, as shown in this example, it becomes obvious that the error in ln[a] is not constant but increases as [A] decreases. This is because, according to the formula for propagation of errors, $ ln[a] = (dln[a]/d[a])$ A = $ A /[A]. Such data are said to be heteroskedastic, meaning that the error is not constant across the range. (Moreover, it may be noted that logarithms of values lower than the hypothetical ones

3 deviate more than those higher than the hypothetical, leading to a steeper calculated slope, as can be seen in Fig. 1.) ln[a] 4.4 4 3.6 3.2 2.8 2.4 2 0 200 400 600 800 1000 1200 t, sec Figure 1. Plot of best linear fit (solid) to eq 5 of simulated data (x), along with hypothetical values (dashed) and error bars that increase as [A] and ln[a] decrease. This heteroskedasticity shows that the linear least-squares analysis can be faulty. Nevertheless, this method continues to be used and published by scientists. Indeed, over the past ten or so years I have refereed about a dozen manuscripts for prominent journals where the authors obtained faulty rate constants by analyzing kinetics with linear least squares. It is hoped that this article will discourage that practice. One remedy that is often proposed for dealing with heteroskedasticity is to use a weighted linear least-squares fit. 6 Instead of pretending that all values are equally reliable, as is done implicitly with linear least-squares, the values are weighted inversely to the variance associated with each of them. In that way the less reliable values become less influential. The appropriate equations are given in the Supporting Information.

4 A further complication arises if the analytical method measures formation of product B, rather than reactant disappearance. The counterpart to eq 4 is then eq 7. Taking the logarithms of both sides does not produce an equation linear in t. Instead it can be solved for [A] 0 [B], whose logarithm is linear in t, as given in eq 8. To evaluate ln[a] 0 and k by linear least-squares analysis requires that [A] 0 be known in advance. Small errors in [A] 0 can cause large errors in k, because of the increasing error in the logarithm of the difference [A] 0 [B] as [A] decreases. [B] = [A] 0 [1 e kt ] (7) ln([a] 0 [B]) = ln[a] 0 kt (8) A similar situation arises if [A] does not react completely, so that residual reactant remains, or if the quantity A that is proportional to [A] does not decrease to zero but approaches a nonzero baseline value A % at infinite time. This is well known to produce curvature in the log plot of eq 5-6. Instead eq 4 must be revised to eq 9, and eq 5 or 6 becomes eq 10 or 11. A plot of ln([a] [A] % ) or ln(a A % ) vs. t is linear, with slope k and with intercept ln([a] 0 [A] % ) or ln(a 0 A % ). Now [A] or A 0 need not be known in advance but [A] % or A % must be known. Small errors in [A] % or A % can cause large errors in k, because of the increasing error in the logarithm of the difference [A] [A] % or A A % as [A] or A decreases and [B] increases. [A] [A] % = ([A] 0 [A] % )e kt (9) ln([a] [A] % ) = ln([a] 0 [A] % ) kt (10) ln(a A % ) = ln(a 0 A % ) kt (11) Finally, it should be mentioned that in contrast to the evaluation of rate constants the problem of heteroskedasticity does not arise in evaluating #H and #S from an Eyring plot of ln(k/t) vs. 1/T. This is because the relative error in a rate constant is usually the same for all, so that the error in any rate constant k is the same fraction of that rate constant. Then, although the error in

5 k is not constant, the error in lnk is constant across the range of temperatures. Consequently a linear least-squares evaluation of slope and intercept does correctly provide #H and #S. First-order Kinetics by Nonlinear Least Squares A more effective method for fitting all such data to first-order kinetics is nonlinear leastsquares analysis. This method has been mentioned in various books on kinetics, 7,8,9 but without illustrative examples. In this journal nonlinear least squares has been recommended for curve-fitting in general, 10 for fitting the kinetics of two-step reactions, 11,12 for fitting first-order kinetics, 13,14,15,16,17 for fitting enzyme kinetics to the Michaelis-Menten equation, 18,19 for using Excel's Solver, 20 and for estimating the precision of the resulting parameters, 21 but none of these articles documents the advantage over linear least squares. Two useful books present both linear and nonlinear curve fitting, along with many other examples of data analysis. 22,23 Therefore this article presents well-known but often-ignored information, and it makes the advantages of the nonlinear least-squares method graphic. For generality, lest [A] or A does not approach zero at infinite time, we seek to fit data to eq 9. We seek values of the three parameters k, [A] % or A %, and [A] 0 or A 0 (or # = [A] 0 [A] % or A 0 A % ) that minimize S, the sum of the squares of the deviations of calculated [A] or A from observed. In past years finding that minimum was a formidable problem. With modern computers, even small ones, it is possible to find that minimum numerically. Numerous programs are available. A set of initial values is needed, and guesses or values from a linear least-squares analysis are adequate. The program will then find the "best" values of k, [A] % or A %, and #, the ones that minimize S. Often it can also find the uncertainties in those values. As an example, Fig. 2 shows a plot of the same data as in Fig. 1, along with the best nonlinear leastsquares fit to eq 9. It is clear that the fitted line is closer to the hypothetical one than in Fig. 1 and that therefore the rate constant k obtained here is more reliable.

6 100 8 0 6 0 [A] 4 0 2 0 0 0 200 400 600 800 1000 1200 t, sec Figure 2. Plot of nonlinear least-squares fit (solid) to eq 9 of simulated data (x), along with hypothetical values (dashed) and constant error bars representing the average error in [A]. This procedure is also effective if the analytical method measures B, proportional to the extent of formation of product [B]. Instead of eq 7, data can be fit to three-parameter eq 12, where # = B % B 0. B = B % # e kt (12) Second-order Kinetics by Linear and Nonlinear Least Squares We next consider a reaction where reactants A and B are converted to product, as in eq 13, and where the rate of reaction is proportional to the product of the concentrations of the two reactants, as in eq 14. When [A] 0 & [B] 0 the solution to the differential equation can be written as eq 15. The customary method for analyzing second-order kinetics is linear least-squares fitting of the left-hand side of this equation, whose slope vs. t is conveniently ([A] 0 [B] 0 )k. Unfortunately the error in the logarithm is again not constant but increases as [A] and [B] decrease. As with eq 6,

7 the data are heteroskedastic. Moreover, the data are subject to the uncertainty in [A] 0 [B] 0, which is the small difference between two large concentrations. k A + B!" product (13) v = d[product] = d[a] dt dt = d[b] dt = k[a][b] (14) [A][B] ln 0 [A] 0 ([A] [A] 0 + [B] 0 ) = ([A] 0 [B] 0 )kt (15) Alternatively, eq 15 can be solved for [A], as in eq 16. Experimental data can then be fit by nonlinear least squares, to find the values of the three parameters k, [A] 0, and [B] 0 that minimize the sum of the squares of the deviations of calculated [A] from observed. [A] = [A] 0 ([A] 0 [B] 0 ) [A] 0 [B] 0 e ([A] 0 -[B] 0 )kt (16) Simpler equations result if [A] 0 = [B] 0. Then eq 16 becomes eq 17, whose plot vs. t is linear, with a slope equal to k. Unfortunately the data are again heteroskedastic because the error in the reciprocal is not constant but increases as [A] and [B] decrease. Moreover, the data remain subject to any error in the difference [A] 0 [B] 0, which is assumed to be zero but whose magnitude increases relative to the decreasing values of [A] or [B]. Consequently it is not generally advisable to assume that samples can be prepared with identical initial concentrations of A and B. 1 [A] = 1 [A] 0 + kt (17) The only situation where equal initial concentrations can be guaranteed is when A and B are identical, as in a dimerization or disproportionation (eq 18), so that the rate of reaction is given by eq 19. Eq. 16 then becomes eq. 20, and eq 17 becomes eq 21, which can be fit by linear least squares to obtain slope k and intercept 1/[A] 0. Figure 3 shows the fit to eq 17 of simulated data with [A] 0 = 100 and k = 0.000016 but with a random error in [A] whose average is the same 3.37

8 as in Figs. 1 and 2. Again the data are heteroskedastic, with errors that increase as [A] decreases. A better method is to use nonlinear least squares to fit eq 20 with the values of the two parameters k and [A] 0 that minimize the sum of the squares of the deviations of calculated [A] from observed. The result of this fit, for the same simulated data, is depicted in Fig. 4. 1/[A] 0.07 0.06 0.05 0.04 0.03 0.02 0.01 v = d[product(s)] dt k 2 A!" product(s) (18) = 1 d[a] 2 dt = k[a] 2 (19) [A] [A] = 0 1+2k[A] 0 t (20) 1 [A] = 1 [A] 0 + 2kt (21) 0 0 200 400 600 800 1000 1200 t, sec Figure 3. Plot of best linear least-squares fit (solid) to eq 21 of simulated data (x), along with hypothetical values (dashed) and error bars representing the average error in [A].

9 100 8 0 6 0 [A] 4 0 2 0 0 200 400 600 800 1000 1200 t, sec Figure 4. Plot of best nonlinear least-squares fit (solid) to eq 20 of simulated data (x), along with hypothetical values (dashed) and constant error bars representing the average error in [A]. In summary, the familiar linear least-squares fit to kinetic data for first- and second-order reactions is defective because the data are heteroskedastic, i.e., of unequal reliability. This is especially the case if the analytical method measures product formation, rather than disappearance of reactant, or if the analytical method reports residual reactant. The remedy is to use nonlinear least-squares fitting, which is now readily accomplished with modern computer programs. Supporting Information Equations S1-S3 for evaluating slope, intercept, and error in intercept by linear least squares analysis, and equations S4-S6 for evaluating slope, intercept, and error in intercept by weighted linear least squares analysis. Simulated data used for construction of Figs. 1-4, with results of linear, weighted, and nonlinear least-squares fits of those simulated data, showing the influence of experimental error on the rate constant as evaluated by the different methods. Acknowledgment. Preparation of this manuscript and its presentation at the Gordon

10 Research Conference on Physical Organic Chemistry were supported by NSF Grant CHE11-48992. References 1. Frost, A. A.; Pearson, R. G. Kinetics and Mechanism, 2ed John Wiley: New York, 1953; p. 48. 2. Laidler, K. J. Chemical Kinetics 3ed Harper & Row: New York 1987; pp. 11-12. 3. Pilling, M. J.; Seakins, P. W. Reaction Kinetics Oxford University Press: Oxford, 1995; p. 11. 4. Wright, M. R. Introduction to Chemical Kinetics Wiley: Chichester W. Sussex, 2004; p. 63. 5. House, J. E. Principles of Chemical Kinetics, 2ed Elsevier/Academic Press: Amsterdam, 2007; pp. 5-6. 6. Sands, D. E. Weighting Factors in Least Squares J. Chem. Educ. 1974, 51, 473-474. 7. Ritchie, C. D. Physical Organic Chemistry. The Fundamental Concepts, 2ed Marcel Dekker: New York NY, 1990; p. 5. 8. Connors, K. A. Chemical Kinetics: The Study of Reaction Rates in Solution, Wiley-VCH: New York NY, 1990; pp.49-51. 9. Maskill, H. In The Investigation of Organic Reactions and Their Mechanisms, H. Maskill, Ed., Blackwell: Oxford, 2007; p. 54. 10. Dye, J. L.; Nicely, V. A. A General Purpose Curvefitting Program for Class and Research Use J. Chem. Educ. 1971, 48, 443-448. 11. Bisby, R. H.; Thomas, E. W. Kinetic Analysis by the Method of Nonlinear Least Squares J. Chem. Educ. 1986, 63, 990-992. 12. Bluestone, S.; Yan, K. Y. A Method to Find the Rate Constants in Chemical Kinetics of a Complex Reaction J. Chem. Educ. 1995, 72, 884-886. 13. Copeland, T. G. The Use of Non-Linear Least Squares Analysis J. Chem. Educ. 1984, 61, 778-779. 14. McNaught, I. J. Nonlinear Fitting to First-Order Kinetic Equations J. Chem. Educ. 1999, 76, 1457. 15. Tellinghuisen, J. Nonlinear Least-Squares Using Microcomputer Data Analysis Programs:

11 KaleidaGraph in the Physical Chemistry Teaching Laboratory J. Chem. Educ. 2000, 77, 1233-1239. 16. Silverstein, T. P. Using a Graphing Calculator To Determine a First-Order Rate Constant J. Chem. Educ. 2004, 81, 485. 17. Silverstein, T. P. Nonlinear and Linear Regression Applied to Concentration versus Time Kinetic Data from Pinhas s Sanitizer Evaporation Project J. Chem. Educ. 2011, 88, 1589-1590. 18, Martin, R. B. Disadvantages of Double Reciprocal Plots J. Chem. Educ. 1997, 74, 1238-1240. 19. Barton, J. S. A Comprehensive Enzyme Kinetic Exercise for Biochemistry J. Chem. Educ. 2011, 88, 1336-1339. 20. Harris, D. C. Nonlinear Least-Squares Curve Fitting!with Microsoft Excel Solver J. Chem. Educ. 1998, 75, 119-121. 21. de Levie, R. Estimating Parameter Precision in Nonlinear Least Squares with Excel s Solver J. Chem. Educ. 1999, 76, 1594-1598. 22. Billo, E. J. Excel for Chemists: A Comprehensive Guide, with CD-ROM, 3ed John Wiley: Hoboken NJ, 2011; Chapters 14-15. 23. Bevington, P. R.; Robinson, D. K. Data Reduction and Error Analysis for the Physical Sciences, 3ed, McGraw-Hill: Dubuque IA, 2003; Chapters 6, 8.