Mathematics for Chemistry/Some Mathematical Examples applied to Chemistry

Variable names

edit

The ubiquitous   is not always the variable as you will all know by now. One problem dealing with real applications is sorting out which symbols are the variables and which are constants. (If you look very carefully at professionally set equations in text books you should find that there are rules that constants are set in Roman type, i.e. straight letters and variables in italics. Do not rely on this as it is often ignored.)

Here are some examples where the variable is conventionally something other than  .

  1. The Euler angles which are used in rotation are conventionally   and   not the more usual angle names   and  . The rotation matrix for the final twist in the commonest Euler definition therefore looks like  
  2. The energy transitions in the hydrogen atom which give the Balmer series are given by the formula     is just a single variable for the energy the tilde being a convention used by spectroscopists to say it is wavenumbers, (cm-1). The H subscript on   has no mathematical meaning. It is the Rydberg constant and is therefore in Roman type.   is known very accurately as 109,677.581 cm-1. It has actually been known for a substantial fraction of the class to make an error putting this fraction over a common denominator in examination conditions.
  3. In the theory of light   is used for frequency and   not surprisingly for time. Light is an oscillating electric and magnetic field therefore the cosine function is a very good way of describing it. You can also see here the use of complex numbers. Using the real axis of the Argand diagram for the electric field and the imaginary axis for the magnetic field is a very natural description mathematically and maps ideally onto the physical reality. Here we are integrating with respect to   and  , the operating frequency if it is a laser experiment is a constant, therefore it appears on the denominator in the integration.   In this case we can see a physical interpretation for the integration constant. It will be a phase factor. If we were dealing with sunlight we might well be integrating a different function over   in order to calculate all of the phenomenon which has different strengths at the different light frequencies. Our integration limits would either be from zero to infinity or perhaps over the range of energies which correspond to visible light.
  4. This example is a laser experiment called Second Harmonic Generation. There is an electric field  , frequency   and a property constant  .   is a fundamental constant. We have an intense monochromatic laser field fluctuating at the frequency  , (i.e. a strong light beam from a big laser).   Therefore the   term contributes   to the polarization. We know from trigonometric identities that   can be represented as a cosine of the double angle   Therefore the polarization is   In this forest of subscripts and Greek letters the important point is that there are two terms contributing to the output coming from   which multiplies the rest of the stuff. In summary we have   is equal to   where everything except the trig(t) and trig(2t) are to some extent unimportant for the phenomenon of doubling the frequency.   and   differ only in a phase shift so they represent the same physical phenomenon, i.e. light, which has phase. (One of the important properties of laser light is that it is coherent, i.e. it all has the same phase. This is fundamentally embedded in our mathematics.)

van der Waals Energy

edit

The van der Waals energy between two inert gas atoms can be written simply as a function of  

 

Notice that the   term is positive corresponding to repulsion. The   term is the attractive term and is negative corresponding to a reduction in energy. A and B are constants fitted to experimental numbers.

This function is very easy to both differentiate and integrate. Work these out. In a gas simulation you would use the derivative to calculate the forces on the atoms and would integrate Newton's equations to find out where the atoms will be next.

Another potential which is used is:

 

This has 1 more fittable constant. Integrate and differentiate this.

The   is called a Lennard-Jones potential and is often expressed using the 2 parameters of an energy   and a distance  .

 

  is an energy. Set the derivative of this to zero and find out where the van der Waals minimum is. Differentiate again and show that the derivative is positive, therefore the well is a minimum, not a turning point.

A diatomic potential energy surface

edit
 
Interaction energy of argon dimer. The long-range part is due to London dispersion forces

In a diatomic molecule the energy is expanded as the bond stretches in a polynomial. We set  . At   the function is a minimum so there is no   term.

 

Whatever function is chosen to provide the energy setting the 1st derivative to zero will be required to calculate  . The 2nd and 3rd derivatives will then need to be evaluated to give the shape of the potential and hence the infra-red spectrum.   is usually modelled by a very complicated function whose differentiation is not entered into lightly.

A one-dimensional metal

edit

A one-dimensional metal is modelled by an infinite chain of atoms 150 picometres apart. If the metal is lithium each nucleus has charge 3 and its electrons are modelled by the function

 

which repeats every 150 pm. What constant must this function be multiplied by to ensure there are 3 electrons on each atom? (Hint... integrate   between either   and   or -75pm and +75pm according to your equation. This integral is a dimensionless number equal to the number of electrons, so we will have to multiply by a normalisation constant.)

Here we have modelled the density of electrons. Later in the second year you will see electronic structure more accurately described by functions for each independent electron called orbitals. These are subject to rigorous mathematical requirements which means they are quite fun to calculate.

Kepler's Laws

edit

Another physics problem but a good example of a log-log plot is the radius and time period relations of the planets.

This data is dimensionless because we have divided by the time / distance of the earth. We can take logs of both.

Mercury Venus Earth Mars JupiterSaturn
r 0.3871 0.7233 1 1.524 5.203 9.539
T 0.2408 0.6152 1 1.881 11.86 29.46
Mercury Venus Earth Mars JupiterSaturn
log10r -0.4122 0 0.9795
log10T -0.6184 0 1.4692

Try a least squares fit on your spreadsheet program. Using the Earth and Saturn data: (which is extremely bad laboratory practice, to usejust two points from a data set!)

 

so  

so   and  

This is Kepler's 3rd law. If you use either a least squares fit gradient or the mercury to saturn data you get the same powers. We have got away with not using a full data set because the numbers given are unusually accurate and to some extent tautological, (remember the planets go round in ellipses not circles!).

Newton's law of cooling

edit

  is the excess temperature of a cooling body over room temperature (20oC say). The rate of cooling is proportional to the excess temperature.

 

 

 

This is a differential equation which we integrate with respect to   to get

 

The water is heated to  C and room temperature is  C. At the beginning   and  , so

 

therefore

 

 

but  

so  

After 5 minutes the water has cooled to  C.

so   so  

 

 

by the definition of logarithms. This gives the plot of an exponential decay between 80 and 20oC.

So after 10 minutes  C. After 20 minutes  C. After 30 minutes  C.

Bacterial Growth

edit

2 grams of an organism grows by 1/10 gram per day per gram.

 

This is a differential equation which is solved by integration thus

 

 

 

therefore

 

When   we have 2 grams so

 

For the sample to double in mass

 

 

 

 

Half life calculations are similar but the exponent is negative.

Partial fractions for the 2nd order rate equation

edit

In chemistry work you will probably be doing the 2nd order rate equation which requires partial fractions in order to do the integrals.

If you remember we have something like

 

Put the right-hand side over a common denominator

 

This gives  

By setting x to 3 we get 1 = -B (B=-1). Setting x = 0 and B = -1


             1 = 3A -2     (A=+1)

   Check    1 = 3 -x -2 +x  true...

Therefore

 

noting the sign changes on integrating 1/(2-x) not 1/x.