Vibrations: Theory and Validity¶
Background for Vibrational Analysis: the mass-weighted eigenproblem, the unit
chain, the hessian_sign heuristic, force constants and IR intensities,
external modes, animation scaling, and the limits of the harmonic picture.
Throughout this page \(N\) is the number of atoms, \(i\) indexes atoms, \(a,b\in\{x,y,z\}\) index Cartesian directions, and \(\alpha,\beta\in\{1,\dots,3N\}\) index Cartesian coordinates in the file order \(x_1,y_1,z_1,x_2,\dots\). \(m_\alpha\) is the mass in amu of the atom owning coordinate \(\alpha\), and \(j\) indexes normal modes.
Mass-weighted Hessian¶
The Hessian read from hessian_file is symmetrized, multiplied by the sign
factor \(s\in\{+1,-1\}\) and mass-weighted,
Symmetrization is unconditional: a Hessian that is only approximately symmetric is averaged with its transpose rather than rejected.
Normal-mode eigenproblem¶
PQAnalysis first assembles a trial matrix \(D\) of external modes. Its translational columns are
and its rotational columns are mass-weighted rigid-body rotations, built from the atomic positions relative to the center of mass and projected onto the eigenvectors of the inertia tensor of those centered coordinates. A rotational column whose norm falls below \(10^{-6}\) times the larger of one and the biggest column norm is discarded, which is what leaves a linear molecule with two rotations instead of three.
A complete QR factorization of \(D\) supplies an orthonormal basis \(Q\in\mathbb{R}^{3N\times 3N}\) whose leading columns span these external modes. The symmetrized transformed matrix is then diagonalized:
Because \(Q\) is orthogonal, this is a similarity transformation and
\(\{\lambda_j\}\) is exactly the spectrum of \(H^{\mathrm{mw}}\). The
external-mode basis orients the eigenvectors and defines the internal block
used by the sign heuristic below; it does not project translations and
rotations out of the reported spectrum. Those appear as the near-zero
eigenvalues of the full \(3N\)-dimensional problem and are removed only by
the modes selection when mode files are written.
The eigenvectors are transformed back to Cartesian displacements and normalized,
so the columns \(e_{\alpha j}\) written to normal_modes_file are
dimensionless unit vectors. Modes are reported in order of increasing
\(\lambda_j\), so imaginary modes come first and the stiffest internal mode
comes last.
Eigenvalues, wavenumbers and the unit chain¶
Each eigenvalue is converted to an angular frequency and then to a wavenumber,
with \(\omega_j\) in rad·s⁻¹ and \(\tilde{\nu}_j\) in cm⁻¹. The
constant \(C_u\) is fixed by the unit key and carries the entire unit
chain from the Hessian file to s⁻²:
|
Expected Hessian unit |
Factor \(C_u\) taking \(\lambda_j\) to s⁻² |
|---|---|---|
|
kcal·mol⁻¹·Å⁻² |
\(4184\times10^{23}\) |
|
eV·Å⁻² |
\(96485.307499\times10^{23}\) |
|
hartree·bohr⁻² |
\(2\,625\,500.2\times(1.88972598857892\times10^{10})^{2}\times10^{3}\) |
Each constant is the product of three conversions. For kcal, the factor
\(4184\) converts kcal to J, the factor \(10^{20}\) converts Å⁻² to
m⁻², and the remaining \(10^{3}\) comes from combining the molar energy
with the reciprocal atomic mass unit: because
\(1\ \mathrm{amu} = 10^{-3}\ \mathrm{kg\,mol^{-1}}/N_\mathrm{A}\), the
Avogadro constant cancels and leaves \(10^{3}\ \mathrm{kg^{-1}}\). That
cancellation is why no value of \(N_\mathrm{A}\) appears anywhere in the
conversion. ev follows the same chain with
\(96485.307499\ \mathrm{J\,mol^{-1}}\) per eV. hartree replaces the
Å⁻² step with
\((1/a_0)^{2} = (1.88972598857892\times10^{10}\ \mathrm{m^{-1}})^{2}\), so
this option expects the Hessian in bohr⁻², while kcal and ev expect
Å⁻². Choosing the energy unit therefore also chooses the length unit.
Imaginary modes and the hessian_sign heuristic¶
The square root is taken with a sign-preserving convention, \(\operatorname{sgn}(x)\sqrt{\lvert x\rvert}\), so a negative eigenvalue produces a negative \(\omega_j\) and a negative wavenumber rather than an imaginary number. A reported \(\tilde{\nu}_j < 0\) therefore means an imaginary mode of magnitude \(\lvert\tilde{\nu}_j\rvert\) cm⁻¹, that is, negative curvature of the potential-energy surface along that mode.
The sign convention of the input file matters because Hessians are written
either as second derivatives of the energy or as derivatives of the forces,
which differ by a factor of \(-1\). hessian_sign accepts
positive (\(s=+1\)), negative (\(s=-1\)), auto, and the
numbers 1 and -1.
auto resolves the convention from the curvature statistics of the internal
subspace. Let \(U\) be the block of \(Q\) spanning the complement of
the external modes, and let \(\lambda^{\mathrm{int}}\) be the eigenvalues
of \(U^{\mathsf{T}}H^{\mathrm{mw}}U\) evaluated with \(s=+1\). With the
tolerance
the counts \(n_+ = \#\{\lambda^{\mathrm{int}}_j > \tau\}\) and \(n_- = \#\{\lambda^{\mathrm{int}}_j < -\tau\}\) decide the sign: \(s=-1\) when \(n_- > n_+\), and \(s=+1\) when \(n_+ > n_-\). A tie is broken by the larger of \(\sum\lvert\lambda^{\mathrm{int}}\rvert\) over the positive and the negative set. If the structure has no internal subspace at all (a single atom, whose three coordinates are exhausted by the translations), the heuristic returns \(s=+1\).
The heuristic exists because a bound structure must have positive curvature
along most of its internal coordinates, so the sign that makes the majority of
internal eigenvalues positive is the physical one. This is also the only place
where the internal subspace is genuinely projected out. Being a majority vote,
it is reliable for minima and for transition states (one imaginary mode among
many real ones) and unreliable for structures far from any stationary point.
Set hessian_sign explicitly whenever the convention of the producing code
is known.
Force constants, reduced masses and IR intensities¶
The reduced mass of a mode is the inverse squared length of its unnormalized Cartesian displacement,
reported in amu. A purely translational mode reports the total mass divided by the number of atoms, 6.01 amu for a water molecule; a localized hydrogen stretch approaches 1 amu.
The force constant combines the frequency with the reduced mass,
in mdyn·Å⁻¹. The single constant applies both \(1\ \mathrm{amu} = 1.66054\times10^{-27}\ \mathrm{kg}\) and \(1\ \mathrm{mdyn\,\AA^{-1}} = 100\ \mathrm{N\,m^{-1}}\). It uses the rounded value \(6.022\), so force constants carry a systematic offset of about \(2\times10^{-5}\) relative to the CODATA constant. That is far below any physical uncertainty in a Hessian, but it is visible when comparing digit by digit against another program.
With a moldescriptor_file every atom carries a fixed partial charge
\(q_i\) in units of the elementary charge, and the infrared intensity is
in km·mol⁻¹. The inner sum \(\sum_i q_i e_{(i,a)j}\) is the derivative of the point-charge dipole moment along mode \(j\) [Person1974]; dividing by \(0.2081943\ \mathrm{e\,\AA\,D^{-1}}\) expresses it in D·Å⁻¹, and \(42.2561\) converts \((\mathrm{D\,\AA^{-1}})^{2}\,\mathrm{amu^{-1}}\) to km·mol⁻¹. The norm \(\lVert e_j\rVert\) equals one by construction and acts only as a guard.
External modes¶
A non-linear structure has three translational and three rotational modes; a linear one has three and two. At an exact stationary point these external modes carry no curvature and appear at the bottom of the spectrum with \(\tilde{\nu}\approx 0\). In practice they are small but non-zero, and they may be slightly negative, because the Hessian was computed at a finite convergence threshold and in finite precision.
Because the default modes_threshold is only \(10^{-8}\) cm⁻¹,
modes = positive does not by itself remove residual external modes. For the
bundled H₂O fixture it keeps the three translational modes at 0.02, 0.22 and 0.30 cm⁻¹ alongside the
three internal modes at 1493, 3669 and 3784 cm⁻¹, and drops the three
rotational modes, which come out imaginary between \(-50\) and
\(-37\) cm⁻¹.
Animation scaling¶
modes_prefix writes one sinusoidal animation per selected mode, with frame
\(k\) of modes_frames (default 30) at
By default the displacement \(\mathbf{d}_i\) is the mode scaled so that the
largest atomic displacement equals modes_amplitude (default 0.25 Å). If
modes_temperature \(T\) is given, the mode is instead scaled by the
classical thermal factor
with \(k_\mathrm{B} = 8.617333262145\times10^{-5}\ \mathrm{eV\,K^{-1}}\) and \(E_j\) the mode energy obtained from the wavenumber. Modes whose energy lies at or below the threshold fall back to the fixed amplitude, which keeps near-zero modes from being drawn with a diverging excursion. Both scalings are display conventions, not physical vibrational amplitudes.
Validity¶
A trustworthy result has \(3N\) modes in total. Six of them (five for a linear structure) are external and small compared with the softest internal mode; the remaining \(3N-6\) are internal and positive at a minimum, or positive except for exactly one imaginary mode at a transition state. Residual external modes of a few tens of cm⁻¹, sometimes negative, indicate an incompletely optimized geometry or a numerically noisy Hessian.
The method needs care in these situations:
- Away from a stationary point
The harmonic expansion assumes vanishing gradients. PQAnalysis projects out neither the gradient nor the external modes, so residual forces leak into the translational and rotational modes and mix into the low-wavenumber internal modes.
- Periodic systems
The external-mode construction uses a center of mass and an inertia tensor, which presumes an isolated structure. A Hessian from a periodic calculation can still be diagonalized, but the rotational trial vectors and the near-zero modes lose their meaning.
- Unit and ordering mismatches
The Hessian coordinate order must match the structure atom order exactly, and the energy unit must match
unit, including the bohr length convention implied byhartree. A mismatch yields a plausible-looking spectrum on the wrong scale without raising an error.- Comparison with experiment
These are harmonic wavenumbers. They systematically exceed observed fundamentals, and PQAnalysis applies no empirical scaling factor. Finite-temperature and anharmonic band shapes come from the time-correlation route in VACF and Spectra [Thomas2013].
- IR intensities
Fixed atomic point charges carry no charge flux and no electronic polarization, so \(I_j\) reproduces relative band strengths of strongly polar motions at best. Do not report them as quantitative absorption coefficients.
- Degenerate modes
Within a degenerate set the individual eigenvectors are arbitrary up to a rotation inside that subspace. Wavenumbers, force constants and the summed intensity are well defined; individual mode vectors are not.
References¶
[Wilson1955] is the standard treatment of the mass-weighted Hessian eigenvalue problem, normal coordinates and the separation of translation and rotation.
[Person1974] defines infrared intensities through dipole moment derivatives and polar tensors, the quantity the partial-charge model approximates.
[Thomas2013] compares this static normal-mode route with spectra obtained from molecular-dynamics time correlation functions, which PQAnalysis provides through VACF and Spectra.