# 14 Molecular vibrations and pendulums

## Contents

# 14 Molecular vibrations and pendulums#

```
# import all python add-ons etc that will be needed later on
%matplotlib inline
import numpy as np
from numpy import linalg as LA
import matplotlib.pyplot as plt
from sympy import *
init_printing() # allows printing of SymPy results in typeset maths format
plt.rcParams.update({'font.size': 14}) # set font size for plots
```

## 14 Molecular vibrations#

Matrix eigenvalue - eigenvector problems can also be used to solve a number of related problems such as molecular vibrations, coupled pendulums, and damped oscillators. When the displacements from equilibrium are small the equations produced are linear, and this is always assumed in solving these equations with matrix methods. The numerical methods of Chapter 11 allow the fully non-linear equations to be solved. In this section, the concept of normal modes is described first, then the motion of linked pendulums, and finally the vibrational motion of molecules is described and some examples worked through.

## 14.1 Vibrational normal modes#

If the initial displacements made to the atoms of a molecule correspond to that expected of any one of the normal modes, Figure 23, then the oscillations of all atoms continue only in that normal mode. The first reason is because each atom is connected to all others via chemical bonds, and second because each normal mode is orthogonal to every other one. This means that, ideally, no energy flows from one normal mode to any other, and although this happens in practice, for example due to an harmonicity, it need not concern us here. If an arbitrary initial displacement is made that does not correspond to that expected of a normal mode, a complicated motion results. However, this can always be decomposed to a linear combination or sum of the normal modes, taken in various proportions as necessary to describe the motion. The overall motion, when many modes are simultaneously excited, causes beating; this is particularly clear in a coupled pendulum as the two pendulums come into and go out of phase with one another. This is seen when one of the pendulum bobs becomes stationary for an instance while its partner swings maximally; this then loses energy and becomes instantaneously stationary while the other has gained maximum displacement and which continues by swapping energy *ad infinitum*.

## 14.2 Calculation of normal modes#

In a mechanical or molecular vibration, we usually try to find the equation relating forces. In simple harmonic motion, such as stretching a chemical bond, the potential energy is by Hooke’s law, \(V = ks^2/2\), where \(k\) is the force constant and \(s\) the amount the bond extends away from its equilibrium length. The force \(f\) to stretch the bond, is obtained by differentiation of \(\displaystyle f=-\frac{dV}{ds}=-ks\) and is also given by Newton’s second law; force = mass \(\times\) acceleration, \(\displaystyle f=m\frac{d^2s}{dt^2}\) which provides the connection to time. Equating the two terms produces the equation of motion for small displacements from equilibrium, viz.

The next step is to find out what \(k/m\) represents. By knowing that the motion of the pendulum is periodic, we may assume that the displacement at any time is described by \(s = u\cos(\omega t + \varphi)\), where \(\omega\) is an angular frequency, \(\varphi\) is the phase, \(t\) is time, and \(u\) is the amplitude of the motion. The phase is arbitrary, and can be set to zero. Differentiating \(s\) twice by time and multiplying by \(m\) to obtain the force gives

By comparison with equation 46, the (angular) oscillation frequency is \(\omega =\sqrt{k/m}\), and is in radians s\(^{-1}\). A similar equation describes the oscillation of a pendulum, but now the angular frequency is \(\omega = \sqrt{g/L}\) if \(L\) is the length of the pendulum and \(g\) is the acceleration due to gravity.

When there is more than one oscillator - for instance, two coupled pendulums or the many vibrations of a polyatomic molecule - there is one force equation for each mass in the molecule. The potential \(V\) for atom 1 now has terms not only describing its own position, but also of all others connected to it, and could contain terms with each of \(s_1, s_2, \cdots\) etc., where \(s\) is the displacement of any atom. The equations are therefore coupled and when placed into a matrix form there are off-diagonal force-terms that are not zero;

The \(k\)’s in the square matrix are the forces or negative derivatives of the potential energy with respect to each displacement \(s_1, s_2, \cdots\). For example, in the coupled pendulum example that will shortly be worked through, we find that

then \(\displaystyle k_{11}=-\frac{mgs_1}{L}-k\) and \(k_{12}=k_{21}=k\).

The next step in the calculation is to write down the equation of motion of the normal modes. Each normal mode has, by definition, its own frequency \(\omega_1, \omega_2, \cdots\) and so forth. Occasionally modes are degenerate, but nevertheless, by analogy with a single oscillator, each normal mode has an equation of the form

where \(s_n\) is the coordinate describing the displacement of the normal mode and is not the same as \(s_1\) or \(s_2\) etc. used above. If the equations for the several normal modes are put into matrix form, this is diagonal, because each normal mode is unique and does not depend on any other;

The equations 47 and 48 describe the same motion but are on different sets of axes. The former, is in terms of displacements of atoms, and the latter, in displacements of groups of atoms in a *normal mode*. If equation 47 is diagonalized, this has the effect of ‘rotating’ or more generally transforming the atoms’ coordinates by mixing them up in such a way that they become the normal mode coordinates. The eigenvalues obtained can then be identified with the squared frequencies. Taking equation 47 and making an eigenvalue eigenvector equation gives

which can be solved, based on equation 31, by writing it as \(\pmb{ks} = \pmb{λs}\), where \(\pmb{k}\) is the matrix of force constants, and \(\pmb{s}\) the eigenvalues. Once the eigenvalues are obtained, they form a diagonal matrix and, term by term, are equal to the diagonal matrix of squared frequencies. If the eigenvectors are also obtained, their symmetry gives the pattern of displacements, by which is meant that, if all the values in an eigenvector are the same, the motion is all in one direction and, if different, then some masses are moving in one direction and other masses in other directions as determined by the sign.

**Summary:**#

The matrix of forces is constructed and made into an eigenvalue - eigenvector equation and this is diagonalized. The eigenvalues \(\lambda\) are then equated to the squared frequencies of the normal modes. The eigenvectors indicate the pattern of normal mode displacements.

**Two pendulums**#

Using the matrix method to solve problems of this type is best described with an example. The most difficult part is always obtaining the equation for the energy and therefore forces. In this example, the motion of two identical pendulums will be calculated. They have length \(L\) and mass \(m\) at the end of rigid, mass-less rods, and the masses are coupled together with a spring with force constant \(k\), Figure 59. The pendulums are initially at equilibrium separated by the un-extended length of the spring, and then energy is added by moving one or both of the individual pendulums by a very small amount so that Hooke’s law for the spring is obeyed, and the change in potential, due to height, is directly proportional to the change in the vertical angle. There are two normal modes, see Figure 60. Either the pendulums swing together in phase both moving in the same direction at constant separation, or they move together and apart stretching and compressing the spring. These are clearly the only possible motions of the two pendulums for small angular motion and we shall want to find out their frequency (eigenvalues) and the normal mode displacements using the eigenvectors.

Figure 59. Two coupled pendulums of length \(L\) and mass \(m\) connected by a spring with force constant k. Right: Calculation of height \(h\).

Figure 60.Normal modes of a coupled pendulum.

The first step is to work out the potential energy \(V\), which is the sum of the increase in height as each bob swings and the energy stored due to the change in length of the spring. The potential due to a pendulum’s height change is \(mgh\), where \(h\) is the vertical displacement when the pendulum swings, defined in the right-hand pane of Figure 59 and \(g\) is the acceleration due to gravity and \(m\) is mass. Next, the energy due to compressing or extending the spring is found then, using the total potential energy, the forces are calculated. The potential energy of extending a spring of force constant \(k\) by distance \(s\), is \(ks\). As the restoring force is always equal to the negative derivative of the potential and is also mass times acceleration, then,

It remains, therefore, to calculate the potential \(V\) in terms of the displacement, and to solve the resulting eigenvalue - eigenvector equations.

Using the right-hand part of Figure 59, by definition, \(\sin(\theta) = s/L\) and \(\cos(\theta) = (L - h)/L\). The differential equations have to be linear to use the eigenvalue - eigenvector method, thus the displacements and hence angle \(\theta\) is small. Rearranging to find \(h\), and assuming small angles means that the cosine can be expanding as \(\cos(\theta) = 1 - \theta^2/2 + \cdots\) giving

The potential energy of each of the two bobs due to their increase in height, is \(mgh = mgL\theta^2/2\), but the energy is needed in terms of the displacement \(s\) not the angle \(\theta\) and using trigonometry again, \(\sin(\theta) = s/L \approx \theta\), gives \(\displaystyle \frac{mgs^2}{2L}\) for the potential energy.

The potential energy due to the spring’s extension or compression is, by Hooke’s law, \(\displaystyle \frac{k}{2} \Delta s^2=\frac{k}{2}(s_2-s_1)^2\) making the total potential energy,

where the displacement of the pendulums is \(s_1\) and \(s_2\). This, in effect, means that we have chosen the basis set for the calculation to be the two horizontal displacements. The vector of displacements, which we shall need later on is \(\displaystyle \pmb{s}=\begin{bmatrix} s_1\\s_2\end{bmatrix}\).

The force on pendulum one is, by definition, mass \(\times\) acceleration

and on pendulum two, similarly

As a check, the force on the pendulums should be due to gravity alone, and not depend on the force constant, \(k\), viz,

In matrix form the two force equations 50 and 51 become

The eigenvalues are obtained by expanding the secular determinant

and solving the characteristic equation \(\displaystyle \left(-\frac{mg}{L}-k-\lambda \right)^2-k^2=0\) for \(\lambda\), giving eigenvalues and eigenvectors of

and the eigenvector modal matrix is \(\displaystyle \begin{bmatrix} 1 & -1\\ 1 & 1 \end{bmatrix}\).

The first eigenvalue corresponds to the first eigenvector, and must be the motion where both pendulums move in the same direction since both values in \(x_1\) have the same sign. The second eigenvector shows that the spring is stretched because the displacements are in opposite directions. We may surmise this also, because only the second eigenvalue involves \(k\), the spring’s force constant.

The matrix equation of forces for the normal modes is

and as the matrix is diagonal it can be equated to the (diagonalized) eigenvalue matrix. Therefore, using \(\lambda_1\) calculated above gives \(\displaystyle -\lambda_1 = m\omega_1^2= \frac{mg}{L}\) and similarly for \(\lambda_2\), gives the normal mode frequencies as

which can also be written as

These results tell us that one motion of the pendulums has a frequency \(\sqrt{g/L}\), which is that of single free pendulum of the same length and mass, and this motion must be that of both pendulums moving in phase with one another in the same direction and without changing the length of the spring because \(k\) is not in the formula. The other, out-of-phase frequency is higher, \(\sqrt{g/L + 2k/m}\), since \(k\) is positive, and is the motion when the two pendulums are opposed to one another, and therefore, the spring is continually compressed and extended.

It is interesting to consider what happens when the force constant is very small. In this case, both pendulums tend towards the same frequency because they are hardly coupled;

You may know that pendulum clocks fastened to the same wall will become synchronized to one another. This is because there is a coupling between them through the wall, and although very weak, it acts like the spring in this problem, and forces the pendulums to come into phase in a normal mode. In the limit \(k = 0\), then the two pendulums are independent of one another, because their coupling is zero and although both oscillation frequencies are the same they can never become synchronized unless they are started off that way.

When the spring constant is very large, or rather the ratio \(k/m\) is large, gravity becomes relatively unimportant and the out-of-phase vibrational normal mode frequency becomes much larger than the in-phase one and approaches \(\omega_2=\sqrt{2k/m}\). If gravity were ‘turned off’, \(g = 0\), the pendulums would only move if the relative separation of the bobs was changed from the equilibrium separation by compressing or extending the spring. Only one mode is now possible which is the out-of-phase mode 2 with frequency \(\omega_2=\sqrt{2k/m}\).

The two modes with frequencies \(\omega_1\) and \(\omega_2\) are the *normal modes* of the vibrations; we know this by noting that the eigenvectors are orthogonal as the matrix is Hermitian, but as a check the dot product is \(\displaystyle \begin{bmatrix} -1 & 1\end{bmatrix}\begin{bmatrix} 1 \\ 1\end{bmatrix}=0\).

Suppose that the normal modes displacements that form the column matrix \(\pmb{Q}\) are \(Q_1\) and \(Q_2\). Their value in terms of the pendulum’s displacements are calculated via \(\pmb{Q} = \pmb{x}^T\pmb{s}\) (see next section) where \(\pmb{x}^T\) is the transpose of the eigenvector matrix and \(\pmb{s}\) the vector of displacements, consequently

or \(Q_1=s_1+s_2\) and \( Q_2=S_2-s_1\).

To isolate one mode, set \(Q_1 = 0\), then the displacements of the bobs are equal and opposite \(s_1 = -s_2\). This corresponds to moving one bob of the pendulum to the left, and the other to the right by the same amount; therefore, the motion is at the same frequency and in phase. This is the out-of-phase normal mode with frequency \(\omega_2\). The displacements of the bobs follow \(s_1 = u \cos(\omega_2 t + \varphi)\) and \(s_2 = -u \cos(\omega_2 t + \varphi)\). The total displacement is zero at all times.

To isolate the other mode, set \(Q_2\) = 0 then \(s_2 = s_1\) and the displacements are always equal to one another during the oscillation, which corresponds to both bobs moving to the right by the same amount, and therefore, they move at the same frequency and with constant phase; this is the in-phase normal mode with frequency \(\omega_1\). The motion is \(s_1 =s_2 =u\cos(\omega_1 t+\varphi)\).

## 14.3 How to calculate vibrational normal modes in a molecule.#

The basic premises are the same as for the pendulum just calculated.

**(i)**\(\quad\) The vibrations undergo simple harmonic motion. In a molecule, this means that each bond is a harmonic oscillator.

**(ii)**\(\quad\) Assume that the energy of each potential energy term, which in this case is the ‘spring’ connecting the atoms adds separately to the total.

If a molecule has potential energy \(V\), then this energy can be expressed as a Maclaurin expansion about the minimum, or equilibrium, configuration, using displacements of each of the atoms in each of \(x\)-, \(y\)- and \(z\)- directions. Clearly, this is going to be a complicated function. If there are \(n\) atoms with \(3n\) coordinates, the displacement from equilibrium is \(s_i\) for atom coordinate \(i\). The potential energy is

The zero subscripts mean that the gradient is evaluated about the equilibrium position at each coordinate, where the extension \(s_i = 0\). The summation index covers all coordinates \(1 \to 3n\). The indexing is up to us to choose, but could be 1 for atom ones’s x-coordinate, 2 for \(y\), 3 for \(z\), then 4 for atom 2’s x-coordinate, 5 for \(y\) and so on. The second derivative has two summations and contains \((3n)^2\) terms. The reason for all these terms is easiest to see with just two dimensions. Imagine the potential is shaped like a bowl; the height is \(V\) and \(x\) and \(y\) are the two displacements, \(s\). The first derivative \(dV/dx\) gives the slope (force) in the x-direction at constant \(y\), and similarly \(dV/dy\) the force in the y-direction at constant \(x\). When \(i = j\) the second derivative \(d^2V/dx^2\) describes how the force varies along the x-axis at constant \(y\). The ‘cross terms’, when \(i \ne j\), measures these values between the axes.

The origin of the potential has a value \(V_0\), which is arbitrary, and because potential energy is a relative measure, \(V_0\) can be set to zero. The first derivative of the potential is the force, and as this is expanding about the equilibrium position, it is zero. The potential is therefore,

which is analogous to the quadratic potential based on Hooke’s law. The kinetic energy is by definition \(mv^2/2\) for each mass or

for all masses. We now have to assume a great deal and jump almost to the answer by using Lagrange’s formulation of Newton’s laws of motion. Furthermore, we are going straight to the matrix form by defining

which is a matrix of force constants \(k\). Next, a matrix \(\pmb{M}\) is defined whose inverse is the matrix of second derivatives of the kinetic energy with respect to velocities \(\dot s\), in which terms are of the form \(\displaystyle \frac{\partial^2T}{\partial \dot s_i \partial \dot s_j}\) and this turns out to be a diagonal matrix of the masses,

and therefore

is the diagonal matrix of *reciprocal* masses; see Section 4.10.

Writing out the Lagrange equation gives

The second of these equations looks rather like that for a single oscillator, equation 47, if we identify \(\pmb{MF}\) with \(k/m\), which, dimensionally, is correct.

To solve these simultaneous equations, it is necessary to show that it can be turned into an eigenvalue - eigenvector equation. Supposing that the motion is harmonic with frequency \(\omega\), a solution for the \(i^{th}\) atom is \(s_i = a_i\cos(\omega t + \varphi)\) and by differentiating this displacement twice with time, it is seen that this is a solution of equation 59 because the result is

Combining the equations 59 and 60 produces the eigenvalue - eigenvector equation

with eigenvalues \(\omega^2\) as roots of the secular determinant \(\left|\pmb{MF}- \omega^2\pmb{I}\right| = 0\).

The eigenvectors will be labelled \(\pmb{x}\). There is one difficulty with this which is that \(\pmb{M}\) and \(\pmb{F}\) do not always commute and, although it is not obvious, this is easily overcome by using the square root of matrix \(\pmb{M}\) instead of \(\pmb{M}\) itself.

In the form shown below, we *define* a matrix \(\pmb{G}\) as

and define the displacement in terms of *reduced* mass

therefore, each \(q\) matrix element takes the form \(q_i =s_i\sqrt{m_i}\). With these changes equation 76 becomes

and the secular determinant

The \(\pmb{F}\) matrix is that of the force constants;

The \(\pmb{GFG}\) matrix product has the form

so that each diagonal term is divided by the mass appropriate to that position in the matrix, and the off-diagonal terms at positions \(i,j\) are divided by the square root of the product of the corresponding masses in the basis set; i.e. by \(\sqrt{m_im_j}\). The \(k_{ij}\) are the force constants. This matrix of reduced mass is the \(\pmb{GFG}\) matrix.

A fuller analysis of the problem leads to the conclusion that the eigenvectors \(\pmb x\) are the displacements of each atom which can be used to produce the normal mode displacements \(Q\) via

where \(\pmb{q}=\pmb{G}^{-1}\pmb{s}\) so that each element is \(q_i= s_i\sqrt{m_i}\), and the coordinate displacements \(s\) are given by

**Summary**#

\(\pmb{G}\) is the diagonal matrix of \(\sqrt{m}\) and \(\pmb{F}\) is the matrix of force constants. The eigenvalues are the squared frequencies of the molecular normal modes \(Q\), and are calculated from the secular determinant \(\left| \pmb{GFG} - \omega^2\pmb{1} \right| = 0\). The normal mode and coordinate displacements are calculated using equations 67 and 68.

## 14.4 Vibrations of a linear triatomic.#

In calculating the normal modes it is normally assumed that the motion of the atoms is harmonic and we additionally assume that the only force constants are those between adjacent atoms. This is equivalent to assuming that the valence bond model describes the bonding. A molecular orbital model would consider forces constants between each atom and all the others.

In the case of a linear triatomic A-B-C the potential energy is the sum of terms for the stretching of each bond with force constants \(k_1,k_2\) for the two bonds, and masses \(m_1,m_2,m_3\), the potential energy is,

The forces are the negative derivatives with respect to the displacements

These three simultaneous equations have to be solved. With \(f\) as the force, placing these equations into matrix form gives

but, because the masses are different, we must change to mass weighted force constants, using the formula \(K_{ij} = k_{ij}/\sqrt{m_im_j}\), where \(i\) and \(j\) are the atom indices; for example \(K_{12} = k/\sqrt{m_1m_2}\). The GFG matrix product of mass weighted force constants becomes

With this matrix the eigenvalues and eigenvectors can be calculated, but generally algebraic results are usually very complex and in any case numerical values are what is wanted to compare with experiment. The simpler example of \(\mathrm{CO_2}\) is examined next and follows from the equations just described. A numerical calculation is then given.

## 14.5 Stretching vibrations of CO\(_2\).#

As this method is rather abstract it can be made less so by working through an example. The normal stretching modes of a linear triatomic molecule, such as CO\(_2\), is calculated by considering just the motion along the line of atoms, as shown in Figure 61 and eqn 55a. A bent molecule such as H\(_2\)O or SO\(_2\) can be calculated in a similar manner, but the algebra in calculating the potential is more complex. Herzberg (1964, vol II, Chapter 2) gives several examples including different possible models of the potentials that can be used.

Figure 61. Atom displacement vectors.

The normal modes of a simple molecule can easily be sketched, and the symmetrical and anti-symmetrical stretching vibrations are shown in Fig. 62. As the molecule is linear it has \(3N - 5\) or \(4\) modes in total, the other two are the degenerate bending motion in the plane of the page, see fig 62a below. One bending mode is where the carbon atom moves down and the two oxygen atoms move up and then vice versa. The other bending normal mode is the similar motion but perpendicular to the first and to the plane of the page.

Figure 62. Normal modes of a linear triatomic.

The calculation uses mass-weighted coordinates and force constants as described in eqn. 66a and as the molecule is symmetrical, there is only one force constant. The potential energy is based on eqn. 55a and is,

where because the molecule is symmetric there is only one force constant, \(k = k_1 = k_2\) and the masses are \(m_1 = m_3 = m_o,\; m_2 = m_c\).

With \(f\) as the force, placing these equations into matrix form gives

but, because the masses are different, we must change to mass weighted force constants, using the formula \(K_{ij} = k_{ij}/\sqrt{m_im_j}\), where \(i\) and \(j\) are the atom indices; for example, \(K_{12} = k/\sqrt{m_1m_2}\). The matrix of mass weighted force constants becomes

which is solved as a secular determinant with eigenvalues,

**Frequencies**#

The frequency of each vibration is \(\omega^2 = -\lambda\) so the square of the normal mode frequencies are

where the asymmetrical stretch \(\omega_2\) has the highest frequency and can be identified by looking at the pattern of the atom’s displacements in the eigenvector matrix \(\pmb x\). Zero frequency corresponds to translation of the whole molecule.

The normalized eigenvector matrix is, after some rearranging and with \(M=2m_o +m_c\) as the total mass gives, as columns, values proportional to displacements of each atom corresponding to each vibrational frequency,

The symmetrical stretch has displacements proportional to \(-\sqrt{M},0,+\sqrt{M}\). Notice that the eigenvectors do not depend on the force constants; this matrix is used to produce the geometry that is related to the symmetry of the vibrations, and cannot depend on the value of the force constants. The normal modes depend only on the geometry because the ‘springs’ connecting the atoms can only vibrate in certain patterns governed by the geometry or symmetry of the molecule; the frequency and size of extension depend on the force constants.

**Normal modes**#

The normal mode coordinates are calculated using \(\pmb{Q} = \pmb{x}^T\pmb{q}\) (equation 67) where \(\pmb{x}^T\) is the transpose of the eigenvector matrix and \(\pmb{q}\) the vector of mass weighted coordinates with \(\pmb{q}=\pmb{s}\sqrt{m}\);

and the individual modes are

To calculate the individual atom displacements \(s_1 \to s_3\) directly, these three equations have to be solved to get \(s\) in terms of the \(Q\)’s. The coordinate displacements are calculated with the matrix equation \(\pmb{s} = \pmb{GxQ}\) (equation 68), where \(\pmb{x}\) is the eigenvector matrix, \(\pmb{Q}\) is the column vector \(\displaystyle \begin{bmatrix} Q_1\\Q_2\\Q_3\end{bmatrix}\) and \(\pmb{G}\) is the diagonal matrix of \(1/\sqrt{m}\) equation 62.

The results is

Looking at these equations, we can choose to make any of the \(Q\)’s zero to isolate normal mode motion. The other observation is that these displacements are small, \(\sim 1/\sqrt{m}\) or \(\approx 10^{-13}\) which is a very small percentage of a bond length. This confirms an initial assumption that the displacements from equilibrium are small.

Three cases are now considered.

**(i)** Suppose we choose \(Q_1 = Q_2 = 0\), then all the atom displacements are the same, \(s_1 = s_2 = s_3 = Q_3/ \sqrt{M}\), and each atom is moving in the same direction. This cannot be a vibrational normal mode as the bonds are neither stretched nor compressed, but represents a translation, and clearly, this corresponds to the zero frequency eigenvalue \(\omega_3 = 0\). Note that if \(Q_3 = 0\) this must mean that the centre of mass does not change, no translation occurs, and so we expect to produce normal modes with this condition.

**(ii)** If \(Q_1 =Q_3 =0\) then \(\displaystyle s_1 =s_3=\sqrt{\frac{m_c}{2m_oM}}Q_2\) and \(\displaystyle s_2 =\sqrt{\frac{2m_o}{m_cM}}Q_2\). In this case this is the asymmetric stretch with the oxygen atoms moving in the same direction and opposed to that of the carbon, and this is \(\omega_2\). The relative motion is \(s_1 = s_3 = 0.115Q_2\) to \(s_2 = -0.308Q_2\) so the carbon atom moves further than the oxygen atoms do, which is not surprising, because the centre of mass has to be held constant and the C atom has to compensate for the motion of two O atoms. The ratio of the displacements is \(2m_o/m_c\). The total centre of gravity does not move because the total moment, found by summing the product of displacement times mass, is zero, viz.

**(iii)** Finally, if \(Q_2 = Q_3 = 0\) then the equations are solved when \(s_2 = 0\) and \(s_1 = -s_3\), which is the symmetric stretch \(\omega_1\) with displacements \(±Q_1/\sqrt{2m_o}\).

## 14.6 Bending motion#

In the case of bending vibrations in a molecule with masses \(m_{1,2,3}\) such as HCN the potential is written as

where the bond lengths are \(r_{1,2}\) and the bending force constant \(k_b=k_\theta/ r_1r_2\) which keeps its units in N/m. The force constant \(k_\theta\) is that for the bending motion and will be smaller than that for stretching as the electron density falls rapidly as the molecule’s equilibrium bond angle is changed. For small angle bends

(where vector \(s\) is perpendicular to the internuclear axis just as \(s\) was along the axis) and the mass weighted \(K\) matrix of force constants becomes

which means that the ratio of bond lengths must be known if they are different from 1.

The eigenvalues are immensely complex so it is necessary to calculate numerically except for the case of \(D_{\infty h}\) point group. In this case the force constants are zero, or \(2k_3(2/m_2 +1/m_1)\) where \(m_2\) is the central atom.

In the case of \(\mathrm{CO}_2\), \(m_1\) = 16, \(m_2\) = 12 and the bond length \(r = 0.116\) nm. This makes \(\omega^2 =2k_3(2/m_2 +1/m_1)\) or zero. In \(\mathrm{CO}_2\) the bending vibration has a frequency of \(667\;\mathrm{ cm^{-1}}\) and then \(k_3 = 57\) N/m.

Some values for other molecules are given in the table (Herzberg 1964, vol II, chapter 2). The frequencies are in wavenumbers, the bond lengths in nm and the force constants in N/m.

**Normal mode calculation**#

The full calculation for linear stretches using the \(\pmb{G}\) and \(\pmb{F}\) matrix method is given next. You can modify this method to solve many similar normal mode problems with different dimensions and geometries provided the potential energy equation can be worked out and the force constant matrix obtained. If you repeat this calculation the order of the eigenvalues may be different to those shown here, which means that the labels \(Q_{1,2,3}\) may be different to those shown here.

```
# Algorithm: Numerical calculation of Normal Modes: linear CO2
c = 2.9929e10 # speed of light cm/s
U = 1.66054e-27 # atomic mass unit kg
sc = 1/(2*np.pi*c*np.sqrt(U)) # to convert to cm^(-1) = 130.28
m_1 = 16.0 # in amu
m_2 = 12.0
m_3 = 16.0
k_1 = 1700.0 # force constant N/m
k_2 = 1700.0
G = np.array( [ [1/np.sqrt(m_1), 0, 0], [0, 1/np.sqrt(m_2), 0], [0, 0, 1/np.sqrt(m_3)] ] )
F = np.array( [ [-k_1, k_1, 0], [k_1, -k_1-k_2, k_2], [0, k_2, -k_2] ] )
K = G @ F @ G # make GFG matrix by multiplication
print(K)
```

```
[[-106.25 122.6869322 0. ]
[ 122.6869322 -283.33333333 122.6869322 ]
[ 0. 122.6869322 -106.25 ]]
```

```
eigvls, eigvct = LA.eig(K) # eigenvalues = lambda = eigvls
print('eigenvalues \n',eigvls)
print('eigenvectors \n',eigvct) # as columns and are normalised
```

```
eigenvalues
[-3.89583333e+02 -1.06250000e+02 -1.59140158e-14]
eigenvectors
[[ 3.69274473e-01 7.07106781e-01 6.03022689e-01]
[-8.52802865e-01 7.20910875e-17 5.22232968e-01]
[ 3.69274473e-01 -7.07106781e-01 6.03022689e-01]]
```

```
# frequencies w^2 = -lambda
print('frequencies in wavenumbers')
for i in [0,1,2]:
print( '{:d} {:8.3f} '.format(i,np.sqrt( - eigvls[i])*sc ) ) # sc converts to cm^{-1}
```

```
frequencies in wavenumbers
0 2575.748
1 1345.141
2 0.000
```

```
s1, s2, s3 = symbols(' s1, s2, s3')
s = Matrix( [ [s1,s2,s3] ] ) # mass weighted coordinates
q = (LA.inv(G) @ s.T )*np.sqrt(U) # invert G & convert back to SI units
q
```

```
Q = eigvct.T @ q # calculate normal modes in terms of displacement s
Q
```

Notice the small value of the displacements which are a tiny fraction of bond lengths and also in the second mode, the value in \(s_2\) is effectively zero. This is the symmetric stretch. Finally notice that the frequencies calculated only match one of those measured, 1337 (expt.) vs. 1345 which is a good match but 2349 (expt.) vs 2575 is a poor match. The reason appears to be that a rather simple potential is used and a more sophisticated one is needed.