ORDINARY DIFFERENTIAL EQUATIONS POWERTOOL
Lesson 23 -- Application: Chemical Reactions
Prof. Douglas B. Meade
Industrial Mathematics Institute
Department of Mathematics
University of South Carolina
Columbia, SC 29208
URL: http://www.math.sc.edu/~meade/
E-mail: meade@math.sc.edu
Copyright 2001 by Douglas B. Meade
All rights reserved
-------------------------------------------------------------------
Outline of Lesson 23
23.A First-Order Reactions
23.B Second-Order Reactions
23.C Example: 2NO + O 2NO
Initialization
Warning, the name changecoords has been redefined
An example of a first-order (chemical) reaction is the conversion of -butyl chloride into -butyl alcohol, a reaction expressed chemically with the notation
(CH ) CCl + NaOH (CH ) COH + NaCl
A chemical reaction is first-order if the molecules of a substance decompose into smaller molecules at a rate proportional to the amount of substance remaining at any time. Thus, if denotes the amount of substance at time , then the amount of substance A can be modeled with the first-order linear (and separable) ODE
where the reaction rate is positive and has units of 1/time.
The solution to this ODE, with initial condition
can be written down on sight, but it is simpler to use Maple to enter the result in a Maple worksheet
While first-order chemical reactions are easy to model and analyze, they are not very common.
An example of a second-order chemical reaction is
CH Cl + NaOH CH OH + NaCl
in which one molecule of methyl alcohol and one molecule of sodium hydroxide combine to form one molecule of methyl hydroxide and one molecule of sodium chloride. This reaction proceeds at a rate proportional to the product of the remaining concentrations of methyl chloride and sodium hydroxide.
The general form for a second-order reaction is
A + B C
To model a second-order reaction, let and denote the initial amounts of chemicals and and denote the amount of chemical at time by . The amount of chemical remaining at time is ; likewise, is the remaining amount of chemical . Hence, the amount of C is modeled by by the ODE
where is a reaction constant. This first-order ODE is nonlinear (but separable). With initial condition
the amount of chemical is found to be
provided . If , the solution becomes
Note that it is not possible to obtain this solution simply by substituting into the general solution, as the following failure attests,
Error, numeric exception: division by zero
but is obtained in the limit as approaches , as the following limit shows.
23.C Example: 2NO + O -> 2NO
Two molecules of nitrous oxide combine with one molecule of oxygen to form two molecules of nitrogen dioxide, according to the chemical equation
2NO + O 2NO
At room temperature this reaction can be modeled with the IVP
where is the concentration of nitrogen dioxide at time , is the initial concentration of nitrogen oxide, is the initial concentration of oxygen, and is the initial concentration of nitrogen dioxide.
This is not a second-order reaction! This is, in fact, a third-order reaction. The general chemical equation
where , and , are positive integers, gives rise to the ODE
where and are the initial amounts of and , respectively. The reaction is of order because molecules of substance must simultaneously meet up with molecules of substance to form molecules of substance .
The solution to the given IVP
with a separable ODE is
This "explicit" solution is of almost no use.
Note, however, that the qualitative behavior of solutions can be determined directly from the ODE. There are two equilibria. The equilibrium at is stable and, because of the quadratic term, is semi-stable.
Assuming numeric values for the parameters are available, a numerical solution is easy to obtain. For example, at a temperature of 25C, the rate constant is 7130 liter /(mole second). Assume that the initial concentration of NO is = 0.003 mole/liter, the initial concentration of O is = 0.0021 mole/liter and the initial concentration of NO is mole/liter. These parameter values are then
Figure 23.1, a plot of the numerical solution to this IVP for the first hour (3600 seconds) of the reaction, is obtained with
Note that the concentration is increasing to the equilibrium solution = 0.003.
Slightly more information can be obtained from Figure 23.2 where the semi-stable solution curve (in green) is superimposed on the direction field for this equation. In addition, the stable equilibrium solution = 0.004 is drawn in blue.
It also helps to plot the right-hand side of the (autonomous) ODE as a function of the dependent variable, as done in Figure 23.3.
From Figure 23.3, it is seen that the rate of change of the concentration of NO is positive when the concentration of NO is in the interval [0, 0.003) or (0.003, 0.004) and the concentration of NO decreases only when the concentration exceeds 0.004. The equilibrium solutions correspond to the intercepts on the horizontal axis.
For the stable equilibrium at = 0.004, the derivative is positive when the concentration of NO is less than 0.004, so the concentration will increase towards 0.004. The derivative is correspondingly negative when the concentration of NO is greater than 0.004, so the concentration will decrease towards 0.004.
For the semi-stable equilibrium at = 0.003, the derivative is positive when the concentration of NO is less than 0.003, so the concentration will increase towards 0.003, but the derivative is also positive when the concentration of NO is greater than 0.003, so the concentration will increase away from 0.003.
[Back to ODE Powertool Table of Contents]