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.

\[\displaystyle \frac{d^2s}{dt^2}+\frac{k}{m}s=0 \qquad\tag{46}\]

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

\[\displaystyle m\frac{d^2s}{dt^2}=-m\omega ^2 u\cos(\omega t+\varphi)=-m\omega^2s; \qquad \text{or}\qquad \frac{d^2s}{dt^2}+\omega^2 s=0\]

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;

\[\begin{split}\displaystyle \qquad\qquad \begin{bmatrix}\displaystyle m_1\frac{d^2s_1}{dt^2}\\\displaystyle m_2\frac{d^2s_2}{dt^2\\ \vdots} \end{bmatrix} =\begin{bmatrix}k_{11}& k_{12}& \cdots\\ k_{21} & k_{22} & \cdots \\ \vdots &\vdots &\ddots \end{bmatrix} \begin{bmatrix}s_1\\s_2\\ \vdots \end{bmatrix}\qquad\qquad\qquad\qquad\text{(47)}\end{split}\]

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

\[\displaystyle -\frac{dV}{ds_1}=-\frac{mgs_1}{L}+k(s_2-s_1)\]

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

\[\displaystyle \frac{d^2s_n}{dt^2} + \omega^2s_n = 0\]

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;

\[\begin{split}\displaystyle \qquad\qquad\begin{bmatrix}\displaystyle \frac{d^2s_{n_1}}{dt^2}\\\displaystyle \frac{d^2s_{n_2}}{dt^2\\ \vdots} \end{bmatrix} =\begin{bmatrix}\omega_{1}^2& 0& \cdots\\ 0 & \omega_{2}^2 & \cdots \\ \vdots &\vdots &\ddots \end{bmatrix} \begin{bmatrix}s_{n_1}\\s_{n_2}\\ \vdots \end{bmatrix}\qquad\qquad\qquad\qquad\text{(48)}\end{split}\]

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

\[\begin{split}\displaystyle \begin{bmatrix}k_{11}& k_{12}& \cdots\\ k_{21} & k_{22} & \cdots \\ \vdots &\vdots &\ddots \end{bmatrix} \begin{bmatrix}s_1\\s_2\\ \vdots \end{bmatrix}=\pmb{\lambda}\begin{bmatrix}s_1\\s_2\\ \vdots \end{bmatrix}\end{split}\]

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.

(i) 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.

Drawing

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


Drawing

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,

\[\displaystyle force = -\frac{d}{ds}V=m\frac{d^2s}{dt^2} \qquad\tag{49}\]

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

\[\displaystyle h=L(1-\cos(\theta)\approx \frac{L}{2}\theta^2\]

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,

\[\displaystyle V=\frac{mg}{2L}s_1^2+\frac{mg}{2L}s_2^2+\frac{k}{2} (s_2-s_1)^2\]

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

\[\displaystyle m\frac{d^2s_1}{dt^2}=-\frac{\partial V}{\partial s_1}=-\frac{mgs_1}{L}+k(s_2-s_1) \qquad\tag{50}\]

and on pendulum two, similarly

\[\displaystyle m\frac{d^2s_2}{dt^2}=-\frac{\partial V}{\partial s_2}=-\frac{mgs_2}{L}+k(s_2-s_1) \qquad\tag{51}\]

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

\[\displaystyle m\frac{d^2s_1}{dt^1}+m\frac{d^2s_2}{dt^2}=-\frac{mgs_1}{L}+k(s_2-s_1) -\frac{mgs_2}{L}+k(s_2-s_1) =-\frac{mg(s_1+s_2)}{L}\]

In matrix form the two force equations 50 and 51 become

\[\begin{split}\displaystyle \qquad\qquad m\begin{bmatrix}\displaystyle \frac{d^2s_1}{dt^2} \\ \displaystyle \frac{d^2s_2}{dt^2} \end{bmatrix} = \begin{bmatrix} \displaystyle -\frac{mg}{L}-k & k \\ k &\displaystyle -\frac{mg}{L}-k \end{bmatrix} \begin{bmatrix}s_1 \\ s_2 \end{bmatrix} \qquad\qquad\qquad\qquad \text{(52)}\end{split}\]

The eigenvalues are obtained by expanding the secular determinant

\[\begin{split}\displaystyle \begin{vmatrix} \displaystyle -\frac{mg}{L}-k-\lambda & k \\ k &\displaystyle -\frac{mg}{L}-k -\lambda \end{vmatrix}=0 \end{split}\]

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

\[\begin{split}\displaystyle \lambda_1 = -\frac{mg}{L}; \qquad x_1 = \begin{bmatrix}1 \\ 1 \end{bmatrix} \end{split}\]
\[\begin{split}\lambda_2 = -\frac{mg}{L}-2k; \qquad x_1=\begin{bmatrix} -1 \\ 1 \end{bmatrix} \end{split}\]

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

\[\begin{split}\displaystyle \qquad\qquad m\begin{bmatrix}\displaystyle \frac{d^2s_1}{dt^2} \\ \displaystyle \frac{d^2s_2}{dt^2} \end{bmatrix} = \begin{bmatrix} m\omega_1^2 & 0 \\ 0 &m\omega^2_2 \end{bmatrix} \begin{bmatrix}s_1 \\ s_2 \end{bmatrix} \qquad\qquad\qquad\qquad\qquad\qquad \text{(53)}\end{split}\]

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

\[\displaystyle \omega_1^2=\frac{g}{L}; \qquad \omega_2^2=\frac{g}{L}+\frac{2k}{m}\]

which can also be written as

\[\displaystyle \omega_2^2=\omega_1^2 +\frac{2k}{m}\]

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;

\[\displaystyle \sqrt{\frac{g}{L}+\frac{2k}{m}}\approx \sqrt{\frac{g}{L}}\left(1+\frac{Lk}{mg} \right) \]

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

\[\begin{split}\displaystyle \pmb{Q} = \begin{bmatrix}Q_1\\Q_2 \end{bmatrix} = \begin{bmatrix}1 & 1\\-1 & 1 \end{bmatrix}\begin{bmatrix}s_1\\s_2 \end{bmatrix} =\begin{bmatrix}s_1+s_2\\-s_1+s_2 \end{bmatrix} \end{split}\]

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.

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

(b)\(\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

\[\displaystyle V=V_0+\sum_{i=1}^{3n} \left( \frac{\partial V}{\partial s_i}\right)_0s_i+\frac{1}{2}\sum_{i=1}^{3n} \sum_{j=1}^{3n} \left(\frac{\partial ^2 V}{\partial s_i\partial s_j} \right)_0s_is_j+\cdots \qquad\tag{54}\]

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,

\[\displaystyle V \approx\frac{1}{2}\sum_{i=1}^{3n} \sum_{j=1}^{3n} \left(\frac{\partial ^2 V}{\partial s_i\partial s_j} \right)_0s_is_j \qquad\tag{55}\]

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

\[\displaystyle T=\frac{1}{2}\sum_i^{3n}m_i\left(\frac{ds_i}{dt} \right)^2 \qquad\tag{56}\]

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

\[\displaystyle F\equiv \frac{\partial^2 V}{\partial s_i\partial s_j}=k_{ij}\]

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,

\[\displaystyle \pmb{M}^{-1} =diagonal(m_1,m_2,\cdots,m_n) \qquad\tag{57}\]

and therefore

\[\displaystyle \pmb{M} =diagonal(1/m_1,1/m_2,\cdots,1/m_n) \qquad\tag{58}\]

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

Writing out the Lagrange equation gives

\[\displaystyle \pmb{M}^{-1} \frac{ d^2\pmb{s} }{dt^2} +\pmb{Fs}=0; \qquad \text{or} \qquad \frac{d^2\pmb{s}}{dt^2}+\pmb{MFs}=0 \qquad\tag{59}\]

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

\[\displaystyle \frac{d^2\pmb{s}}{dt^2}+\omega^2\pmb{s} =0 \qquad\tag{60}\]

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

\[\displaystyle \pmb{MFs}=\omega^2\pmb{s}; \qquad \text{or} \qquad \left[\pmb{MF}- \omega^2\pmb{I}\right]\pmb{s}=\pmb{0} \qquad\tag{61}\]

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

\[\begin{split}\displaystyle \qquad\qquad\begin{align} &\pmb{G}=diagonal\left(1/\sqrt{m_1},1/\sqrt{m_2}\cdots 1/\sqrt{m_n} \right)\\ &\pmb{G}^{-1} =diagonal\left(\sqrt{m_1},\sqrt{m_2}\cdots \sqrt{m_n} \right)\end{align}\qquad\qquad \qquad\qquad\qquad\qquad\text{(62)}\end{split}\]

and define the displacement in terms of reduced mass

\[\displaystyle \pmb{q}=\pmb{G}^{-1}\pmb{s} \qquad\tag{63}\]

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

\[\displaystyle \pmb{GFGq}=\omega^2\pmb{q} \qquad\tag{64}\]

and the secular determinant

\[\displaystyle \left|\pmb{GFG}-\omega^2\pmb{I}\right|=0 \qquad\tag{65}\]

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

\[\begin{split}\displaystyle \pmb{F} =\begin{bmatrix} k_{11} & k_{12} & k_{13} & \cdots\\ k_{21} & k_{22} &\cdots & \cdots \\ \vdots & \vdots & & k_{nn} \end{bmatrix}\end{split}\]

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

\[\begin{split}\displaystyle \qquad\qquad\pmb K =\begin{bmatrix} \displaystyle\frac{k_{11}}{m_1} & \displaystyle\frac{k_{12}}{\sqrt{m_1m_2} } &\displaystyle\frac{ k_{13}}{\sqrt{m_1m_3}} & \cdots\\ \displaystyle\frac{k_{21}}{\sqrt{m_1m_2} }& \displaystyle\frac{k_{22}}{m_2} &\cdots & \cdots \\ \vdots & \vdots & & \displaystyle\frac{k_{nn}}{\sqrt{m_n} } \end{bmatrix}\qquad\qquad \qquad\qquad\qquad\qquad\text{(66)}\end{split}\]

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

\[\displaystyle \pmb{Q} = \pmb{x}^T\pmb{q} \qquad\tag{67}\]

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

\[\displaystyle \pmb{s} = \pmb{GxQ} \qquad\tag{68}\]

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,

\[\displaystyle V(s_1,s_2,s_3)=\frac{k_1}{2}(s_1-s_2)^2+\frac{k_2}{2}(s_2-s_3)^2 \qquad\tag{55a}\]

The forces are the negative derivatives with respect to the displacements

\[\begin{split}\displaystyle \begin{align}-\frac{dV}{ds_1}&=-k_1(s_1-s_2)\\ -\frac{dV}{ds_2}&=k_1(s_1-s_2)-k_2(s_2-s_3)\\ -\frac{dV}{ds_3}&=k_2(s_2-s_3)\end{align}\end{split}\]

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

\[\begin{split}\displaystyle \begin{bmatrix}f_1\\f_2\\f_3 \end{bmatrix} =\begin{bmatrix} -k_1 & k_2 & 0\\k_1 & -k_1-k_2 & k_2\\ 0 & k_2 & -k_2 \end{bmatrix}\begin{bmatrix}s_1\\s_2\\s_3 \end{bmatrix}\end{split}\]

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

\[\begin{split}\displaystyle \qquad\qquad\qquad\qquad\qquad\pmb{K}=\begin{bmatrix} \displaystyle\frac{-k_1}{m_1} & \displaystyle\frac{k_1}{\sqrt{m_1m_2}} & 0\\ \displaystyle\frac{k_1}{\sqrt{m_1m_2}} & \displaystyle\frac{-(k_1+k_2)}{m_2} & \displaystyle\frac{k_2}{\sqrt{m_2m_3}}\\ 0 & \displaystyle\frac{k_2}{\sqrt{m_2m_3}} & \displaystyle\frac{-k_2}{m_3} \end{bmatrix} \qquad\qquad\qquad\qquad\text{66a}\end{split}\]

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.

Drawing

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.

Drawing

Drawing

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,

\[\displaystyle V(s_1,s_2,s_3)=\frac{k}{2}(s_1-s_2)^2+\frac{k}{2}(s_2-s_3)^2 \]

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\).

\[\begin{split}\displaystyle \begin{align}-\frac{dV}{ds_1}&=-k(s_1-s_2)\\ -\frac{dV}{ds_2}&=k(s_1-s_2)-k(s_2-s_3)\\ -\frac{dV}{ds_3}&=k(s_2-s_3)\end{align}\end{split}\]

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

\[\begin{split}\displaystyle \begin{bmatrix}f_1\\f_2\\f_3 \end{bmatrix} =\begin{bmatrix} -k & k & 0\\k & -2k & k\\ 0 & k & -k \end{bmatrix}\begin{bmatrix}s_1\\s_2\\s_3 \end{bmatrix}\end{split}\]

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

\[\begin{split}\displaystyle \pmb{K}=\begin{bmatrix} \displaystyle\frac{-k}{m_o} & \displaystyle\frac{k}{\sqrt{m_om_c}} & 0\\ \displaystyle\frac{k}{\sqrt{m_om_c}} & \displaystyle\frac{-2k}{m_c} & \displaystyle\frac{k}{\sqrt{m_cm_o}}\\ 0 & \displaystyle\frac{k}{\sqrt{m_cm_0}} & \displaystyle\frac{-k}{m_o} \end{bmatrix} \end{split}\]

which is solved as a secular determinant with eigenvalues,

\[\displaystyle \lambda_1=\frac{-k}{m_o}; \qquad \lambda_2=\frac{-(2m_0+m_c)k}{m_om_c}; \qquad \lambda_3=0\]

(i) Frequencies#

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

\[\displaystyle \omega_1^2=\frac{k}{m_o}; \qquad \omega_2^2=\left(\frac{2m_0}{m_c}+1\right)\frac{k}{m_o}; \qquad \omega_3=0\]

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,

\[\begin{split}\displaystyle \pmb{x}= \frac{1}{\sqrt{2M}}\begin{bmatrix}-\sqrt{M} & \sqrt{m_c} & \sqrt{2m_o}\\ 0 & -2\sqrt{m_o} & \sqrt{2m_c}\\\sqrt{M} & \sqrt{m_c} & \sqrt{2m_o} \end{bmatrix}\end{split}\]

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.

(ii) 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}\);

\[\begin{split}\displaystyle \begin{bmatrix} Q_1\\Q_2\\Q_3\end{bmatrix} =\frac{1}{\sqrt{2M}}\begin{bmatrix}-\sqrt{M}& 0 & \sqrt{M}\\ \sqrt{m_c}&-2\sqrt{m_o} & \sqrt{m_c}\\ \sqrt{2m_o} & \sqrt{2m_c}& \sqrt{2m_o} \end{bmatrix} \begin{bmatrix} s_1\sqrt{m_o} \\ s_2\sqrt{m_c} \\s_3\sqrt{m_o} \end{bmatrix}\end{split}\]

and the individual modes are

\[\begin{split}\displaystyle \begin{align}Q_1&=\sqrt{\frac{m_o}{2}}(s_3-s_1) \\ Q_2&=\sqrt{\frac{m_om_c}{2M}}(s_1-2s_2+s_3)\\ Q_3&=\frac{m_os_1+m_cs_2+m_0s_3}{\sqrt{M}})\end{align}\end{split}\]

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

\[\begin{split}\displaystyle \begin{align}s_1&=-\frac{1}{\sqrt{2m_o}}Q_1+\sqrt{\frac{m_c}{2m_oM}}Q_2+\frac{1}{\sqrt{M}}Q_3 \\ s_2&=-\sqrt{\frac{2m_o}{m_cM}}Q_2+\frac{1}{\sqrt{M}}Q_3\\ s_3&=\frac{1}{\sqrt{2m_o}}Q_1+\sqrt{\frac{m_c}{2m_oM}}Q_2+\frac{1}{\sqrt{M}}Q_3\end{align} \end{split}\]

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.

(a) 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.

(b) 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.

\[\displaystyle 2m_0\sqrt{\frac{m_c}{2m_oM}}Q_2-m_c\sqrt{\frac{2m_0}{m_cM}}Q_2=0\]

(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

\[\displaystyle V= k_br_1r_2\frac{\delta\theta^2}{2} \]

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

\[\displaystyle \delta\theta = \frac{(s_1 - s_2)}{r_1} - \frac{(s_3 - s_2)}{r_2}\]

(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

\[\begin{split}\displaystyle K = \begin{bmatrix} \displaystyle -\frac{k_3}{m_1}\frac{r_2}{r_1} & \displaystyle\frac{k_3}{\sqrt{m_1m_2}}\left(1+\frac{r_2}{r_1}\right) & \displaystyle \frac{k_3}{\sqrt{m_1m_3}} \\ \displaystyle\frac{k_3}{\sqrt{m_1m_2}}\left(1+\frac{r_2}{r_1}\right) & \displaystyle-\frac{k_3}{m_2}\left(2+\frac{r_2}{r_1}+\frac{r_1}{r_2}\right) & \displaystyle \frac{k_3}{\sqrt{m_2m_3}}\left(1+\frac{r_1}{r_2}\right)\\ \displaystyle \frac{k_3}{\sqrt{m_1m_3}} & \displaystyle\frac{k_3}{\sqrt{m_2m_3}}\left(1+\frac{r_1}{r_2}\right) & \displaystyle-\frac{k_3}{m_3}\frac{r_1}{r_2} \end{bmatrix}\end{split}\]

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.

\[\begin{split}\displaystyle\begin{array}{l|lll|ll|lll} \hline & \nu_1 & \nu_2 & \nu_3 & r_1 & r_2 & k_1 & k_2 & k_b \\ \hline \text{HCN}&2089& 3312& 712 & 0.106 & 0.115 & 580 & 1790 & 20 \\ \text{ICN}&470& 2185& 321 & 0.212 & 0.115 & 300 & 1670 & 12 \\ \text{SCO}&8590& 2079& 527 & 0.154 & 0.116 & 800 & 1420 & 37 \\ \hline \end{array}\end{split}\]

(i) 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                          
\[\begin{split}\displaystyle \left[\begin{matrix}1.62998895701781 \cdot 10^{-13} s_{1}\\1.41161184466552 \cdot 10^{-13} s_{2}\\1.62998895701781 \cdot 10^{-13} s_{3}\end{matrix}\right]\end{split}\]
Q = eigvct.T @ q                      # calculate normal modes in terms of displacement s
Q
\[\begin{split}\displaystyle \left[\begin{matrix}6.01913312997508 \cdot 10^{-14} s_{1} - 1.20382662599502 \cdot 10^{-13} s_{2} + 6.01913312997508 \cdot 10^{-14} s_{3}\\1.15257624476648 \cdot 10^{-13} s_{1} + 1.01764633025289 \cdot 10^{-29} s_{2} - 1.15257624476648 \cdot 10^{-13} s_{3}\\9.82920324154691 \cdot 10^{-14} s_{1} + 7.37190243116018 \cdot 10^{-14} s_{2} + 9.82920324154692 \cdot 10^{-14} s_{3}\end{matrix}\right]\end{split}\]

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.