This section deals with the calculation of second derivatives of the electronic energy with respect to nuclear coordinates. While the numerical calculation of the Hessian based on an analytical gradient follows the same procedure as for the numerical gradient, the analytical calculation is in general much more involved than for first derivatives. After some special aspects of the numerical calculation of second derivatives, the calculation of the analytic Hessian at the Hartree–Fock (HF) or self-consistent field (SCF)
level of theory is described as an example, followed by the required terms for methods
based on density functional theory (DFT). Furthermore, the calculation of other second derivatives of the energy is described briefly, taking the example of electric field perturbations.
If the analytical gradient is not available (and both first and second derivatives are needed), it is more efficient to resort to an equation for the second derivative that depends on the energy E only, rather than employing one of the equations here with the energy itself replaced by its numerical gradient. Assuming the energy depends on (at least) two distinct nuclear coordinates x and y, the second derivative of E
can be calculated as
where x0 and y0 are some small changes in the respective variable.
For the case that the derivative is taken with respect to the same nuclear coordinate, the formula simplifies to
The calculation of analytical second derivatives of the energy is much more involved
than for first derivatives, even for variational methods. We restrict ourselves to SCF methods here, i.e., Hartree–Fock (HF) and density functional theory (DFT). The difficulty comes from the fact that the derivative of the MO coefficients C with respect to the perturbation x cannot be avoided anymore, leading to the so-called
coupled-perturbed SCF equations, as shown in the following.
Now, the calculation of the perturbed density, which boils down to the calculation of the perturbed MO coefficients Cμpx, can no longer be avoided Pople et al. (1979). This leads to the so-called coupled-perturbed Hartree–Fock (CPHF) equations, as will be described in the following.
Next, an ansatz for the perturbed MO coefficients Cμpx=dxdCμp needs to be made. Since the unperturbed MOs span the same space as the AOs, but form an orthonormal set, the perturbed MO coefficients are expanded in the basis of the unperturbed ones Pople et al. (1979)
where the matrix Ux contains the unknown expansion coefficients.
By taking the derivative of the orthonormality condition CTSC=1,
or in subscript notation Neese (2009)
The virtual-virtual block Uabx is not required, and hence only the occupied-virtual block Uaix needs to be determined.
The total derivative of the Fock matrix Fμνx=dxdFμν(C) is given by
where it can be seen that the derivative of the Fock matrix also depends on the unknowns Ux.
The coupled-perturbed Hartree--Fock (CPHF) equations are obtained by multiplying the derivative of the HF equations from the left by Cμa and summing over all μNeese (2009).
The CPHF equations, whose solution yields the Uaix, can be written as Deglmann et al. (2002)
It should be noted that in contrast to the first derivative of the MP2 or CIS energy, where only a single orbital-response equation had to be solved, a response equation needs to be solved for every perturbation x, i.e., the 3N Cartesian nuclear coordinates of a molecule containing N atoms, to obtain the second derivative of the HF energy.
As an alternative to this equation, the second derivatives of the HF energy can then be written in terms of the RHS Raix, the CPHF coefficients Uaix, and partial derivatives of the Fock and overlap matrices as Deglmann et al. (2002)
Analogous to the case of the ground-state gradient, only some additional exchange-correlation (xc) contributions need to be considered for the analytic DFT Hessian Deglmann et al. (2002) compared to HF. First of all, the Fock matrix needs to be replaced by the Kohn--Sham matrix F, such that the partial derivative of the latter for a hybrid functional is given by
where the derivative of the xc potential vpqxc is given here, and the matrices G[Mrsx] also need to include a contraction with the xc kernelfμνκλxc in the same way as the Coulomb integral.
Finally, the second partial derivative of the xc energy contributionExc with respect to two nuclear coordinates x and y is needed, which is given as
Analogous to the case of first-order properties, some other time-independent molecular properties can be calculated as second derivatives of the energy E. As an example, consider the static dipole polarizability α, which corresponds to the derivative of the dipole moment μ
with respect to an external electric field F
which can be obtained numerically by calculating the (analytical) dipole moment in presence of an external field in positive and negative direction. Since the dipole moment is already the first derivative of the energy E with respect to the field, the polarizability is actually a second derivative,
and as such can be referred to as a second-order property. The analytic calculation at the HF or DFT level procedes analogously to the nuclear Hessian, meaning that the CPHF equations need to be solved for the unknowns UiaF. However, since the basis functions do not depend on the electric field,
the RHS is in this case simply given by a component {x,y,z} of the dipole integrals, RiaF=μia. As a matter of fact, this equation is then equivalent to the linear response equation with ω=0. Having solved for the unknown CPHF coefficients, the perturbed density is obtained from
for each component of the perturbed density and dipole integrals. Another example of a second-order property is the derivative of the dipole moment with respect to nuclear coordinates, which is needed for IR intensities. This can be seen as a mixed second energy derivative (once with respect to nuclear coordinates, once with respect to an electric field), and is discussed in more detail here.
Pople, J. A., Krishnan, R., Schlegel, H. B., & Binkley, J. S. (1979). Derivative studies in Hartree–Fock and Møller–Plesset theories. Int. J. Quantum Chem., 16, 225–241. 10.1002/qua.560160825
Neese, F. (2009). Prediction of molecular properties and molecular spectroscopy with density functional theory: From fundamental theory to exchange-coupling. Coord. Chem. Rev., 253, 526–563. 10.1016/j.ccr.2008.05.014
Deglmann, P., Furche, F., & Ahlrichs, R. (2002). An efficient implementation of second analytical derivatives for density functional methods. Chem. Phys. Lett., 362, 511–518. 10.1016/S0009-2614(02)01084-9