# Global Descriptive Tools `chemtools.tool.globaltool`

¶

Global descriptive tools assign a single value to the entire molecule. In other words, the property value \(P_{\text{global}}\) describes the intrinsic reactivity of the molecule as a whole.

The simplest global reactivity descriptors are the first **ionization potential**
, \(IP\), and **electron affinity**, \(EA\), of the system, measuring the system’s
propensity to donate or accept one electron. For a system with \(N_0\) electrons,
these are defined as,

\[\begin{split}IP = E\left(N_0 - 1\right) - E\left(N_0\right) \\ EA = E\left(N_0\right) - E\left(N_0 + 1\right)\end{split}\]

The global reactivity indicators from conceptual DFT can be classified as either fundamental or derived. Before one can evaluate any of these indicators, one must select an energy model, \(E_{\text{model}} = E\left(N; \{\alpha_1, \alpha_2, ..., \alpha_n\}\right)\), representing the dependence of the energy on the number of electrons \(N\). The \({\{\alpha_1, \alpha_2, ..., \alpha_n\}}\) set denotes the parameters of the energy model which are determined by interpolating the energy expression to the known values of the energy for \(n\) different numbers of electrons, \({\{E(N_i)\}}_{i=1}^n\). Commonly, the system with \(N_0\) electrons denotes the reference state, and the energy values for systems with \(N_0 - 1\), \(N_0\) and \(N_0 + 1\) electrons, i.e. \({\{E(N_0 - 1), E(N_0), E(N_0 + 1)\}}\), are used to find the parameters in the energy model. However, other values of energy can be used to parametrized the model as well. Needless to say, the number of energy values required to solve for the parameters depends on the complexity of the energy model, i.e. the number of parameters in the model.

For global reactivity tools, ChemTools support the built-in and user-defined energy models listed below. Using the code of these models as templates, users can develop new energy models in ChemTools.

**Fundamental Global Reactivity Descriptors**

In the canonical ensemble, the fundamental global reactivity descriptors are the derivatives of the energy model with respect to the number of electrons \(N\) at fixed external potential \(v(\mathbf{r})\):

\[\left( \frac{\partial^n E(N; \{\alpha_1, \alpha_2, ..., \alpha_n\})}{\partial N^n} \right)_{v(\mathbf{r})} \qquad n=1,2,\dots\]

More specifically, the fundamental global reactivity indicators of the \(N_0-\) electron reference state
are the first-, second- and higher-order derivatives of energy
evaluated at \(N=N_{0}\), which are called **chemical potential** denoted by \(\mu\),
**chemical hardness** denoted by \(\eta\), and \(n^{\text{th}}\) **-order hyper-hardness**
denoted by \(\eta ^{(n)} \text{for } n \geq 2\), respectively:

\[\begin{split}\mu &= \left. \left( \frac{\partial E}{\partial N} \right)_{v(\mathbf{r})} \right|_{N = N_0} & \\ \eta &= \left. \left( \frac{\partial^2 E}{\partial N^2} \right)_{v(\mathbf{r})} \right|_{N = N_0} & \\ \eta^{(2)} &= \left. \left( \frac{\partial^{3} E} {\partial N^{3}} \right)_{v(\mathbf{r})} \right|_{N = N_0} \\ \eta^{(n)} &= \left. \left( \frac{\partial^{n+1} E} {\partial N^{n+1}} \right)_{v(\mathbf{r})} \right|_{N = N_0} & \qquad \text{for } n \geq 2\end{split}\]

By analogy to thermodynamics, the electronic chemical potential, \(\mu\), is identified as the first derivative
of the energy with respect to the number of electrons. [3]R.G. Parr, R.A. Donnelly, M. Levy, and W.E. Palke. Electronegativity: the density functional viewpoint. *J. Chem. Phys.*, 68(8):3801–3807, 1978. The electronic chemical potential is always
negative and it represents the intrinsic Lewis acidity/basicity of a system.
Systems with very negative chemical potentials are strong Lewis acids; systems with nearly zero (but still negative)
chemical potential are strong Lewis bases. Electrons flow from places with higher chemical potential to places with
lower chemical potential until the chemical potential is everywhere equal.
This motivates the definition of electronegativity [14]R.P. Iczkowski and J.L. Margrave. Electronegativity. *J. Am. Chem. Soc.*, 83(17):3547–3551, 1961. as the negative of the chemical potential, \(\chi_e=-\mu\).

The second derivative of the energy with respect to electron number is the chemical hardness, \(\eta\). [4]R.G. Parr and R.G. Pearson. Absolute hardness: companion parameter to absolute electronegativity. *J. Am. Chem. Soc.*, 105(26):7512–7516, 1983.
The chemical hardness is always positive. Hard molecules have properties (e.g., the chemical potential and electron density)
that are relatively insensitive to perturbations. In addition, according to the principle of maximum hardness,
it is frequently (but far from universally) the case that hard systems are more stable than soft systems.
According to the hard/soft acid/base (HSAB) principle: if all other effects are (nearly) equal, hard acids will prefer
to react with hard bases and soft acids will prefer to react with soft bases. [15]Ralph G. Pearson. Hard and soft acids and bases. *J. Am. Chem. Soc.*, 85(22):3533–3539, 1963.[16]Ralph G. Pearson. Hard and soft acids and bases, hsab, part 1: fundamental principles. *J. Chem. Educ.*, 45(9):581–587, 1968.[17]Ralph G. Pearson. Hard and soft acids and bases, hsab, part ii: underlying theories. *J. Chem. Educ.*, 45(10):643–648, 1968.

Higher-order derivatives of the energy with respect to electron number are called hyper-hardnesses, and are not often used. The third derivative, \(\eta^{(2)}\), which is often simply called the hyper-hardness, appears in some contexts, but is typically small.

ChemTools will evaluate energy derivatives to arbitrary order if those derivatives exist in the energy model you have selected.

Reactivity indicators in the canonical ensemble are appropriate when the number of electrons in the system is clearly defined. For reactions in, or on the surface of, liquid or solid solutions, the number of electrons in the reacting molecule is determined by the electronic chemical potential of its environment. In these cases, and also when comparing the reactivity of molecules of disparate size, it is better to use reactivity descriptors from the grand canonical ensemble.

In the grand canonical ensemble, [18]R. F. Nalewajski and R. G. Parr. Legendre transforms and maxwell relations in density functional theory. *J. Chem. Phys.*, 77(1):399–407, 1982. the fundamental global reactivity descriptors are the derivatives of the grand
potential model \(\Omega = E \left(\left\langle N \right\rangle\right) - \mu \left\langle N \right\rangle\)
with respect to the chemical potential \(\mu\) at fixed external potential \(v(\mathbf{r})\).

\[- \left( \frac{\partial^{n+1}\Omega}{\partial\mu^{n+1}} \right)_{v(\mathbf{r})} = - \left( \frac{\partial^n}{\partial\mu^n} \frac{\partial\Omega}{\partial\mu} \right)_{v(\mathbf{r})} = \left( \frac{\partial^n N}{\partial \mu^n} \right)_{v(\mathbf{r})} \qquad n=0,1,\dots\]

More specifically, the fundamental global indicators of the \(N_0-\) electron reference state
are the first-, second- and higher-order derivatives of \(\Omega\) with respect to \(\mu\)
evaluated at the chemical potential of the \(N_0-\) electron system, \(\mu_0=\mu\left(N_0\right)\).
These include the number of electrons denoted by \(N_0\), **chemical softness** denoted by \(S\), and \(n^{\text{th}}\)
**-order hyper-softness** denoted by \(S^{(n)} \text{for } n \geq 2\), respectively:

\[\begin{split}- \left. \left( \frac{\partial\Omega}{\partial\mu} \right)_{v(\mathbf{r})} \right|_{N = N_0} &= N_0 \\ S = - \left. \left( \frac{\partial^2\Omega}{\partial\mu^2} \right)_{v(\mathbf{r})} \right|_{N = N_0} &= \frac{1}{\eta} \\ S^{(2)} = - \left. \left( \frac{\partial^3\Omega}{\partial\mu^3} \right)_{v(\mathbf{r})} \right|_{N = N_0} &= -\eta^{(2)} \cdot S^3 \\ S^{(3)} = - \left. \left( \frac{\partial^4\Omega}{\partial\mu^4} \right)_{v(\mathbf{r})} \right|_{N = N_0} &= -\eta^{(3)} \cdot S^4 + 3 \left(\eta^{(2)}\right)^2 \cdot S^5 \\ S^{(n)} = - \left. \left( \frac{\partial^{n+1}\Omega}{\partial\mu^{n+1}} \right)_{v(\mathbf{r})} \right|_{N = N_0} &= \frac{-\sum_{k=1}^{n-1} S^k \cdot B_{n,k} \left(\eta^{(1)}, \eta^{(2)}, ..., \eta^{(n-k+1)} \right)}{B_{n,n}\left( \eta^{(1)}\right)}\end{split}\]

The first derivative just gives back the number of electrons in the reference state. The second derivative of the grand potential with respect to the chemical potential gives the global chemical softness, which is just the reciprocal of the chemical hardness we obtained in the canonical ensemble. The third- and higher-order derivatives of the grand potential with respect to the chemical potential define the global hyper-softnesses. The first global hyper-softness, \(S^{(2)}\), appears in a few applications, but none of these higher-order reactivity indicators have been explored much in literature.

ChemTools will evaluate global hyper-softnesses to all orders if those derivatives exist in the energy model you have selected. Also, in ChemTools, the expressions for reactivity indicators in the grand canonical ensemble are evaluated from the reactivity indicators in the canonical ensemble. (This is done so that the user does not have to select a model for grand potential, \(\Omega\), analogous to the energy model, \(E\left(N\right)\), that users must specify in the canonical ensemble.) This leads to rather complicated expressions for the global hyper-softnesses, which are derived from the inverse function theorem for second- and higher-order derivatives. Please refer to Deriving Global Hyper-Softness for details.

**Derived Global Reactivity Descriptors**

In contrast to the fundamental reactivity descriptors presented above, derived reactivity indicators are not response functions. Instead, they are motivated by handwaving arguments or inspired by empirical correlations. Many of the most important derived reactivity indicators are based on the maximum number of electrons that can be accepted by the system, \(N_{\text{max}}\). That is,

\[N_{\text{max}} = \underbrace {\min }_N E(N)\]

It is also convenient to define \(\Delta N_{\text{max}}\) as the difference between the number of electrons in the reference system, \(N_0\), and the maximum number of bound electrons,

\[\Delta N_{\text{max}} = N_{\text{max}} - N_0\]

**Electrophilicity Index** \(\omega_{\text{electrophilicity}}\) measures the ability
of an agent to accept electrons from the environment. [19]R.G. Parr, L. Von Szentpaly, and S. Liu. Absolute hardness: companion parameter to absolute electronegativity. *J. Am. Chem. Soc.*, 121(9):1922–1924, 1999. However, in contrast to electron affinity,
\(EA\), which measures the energy lowering from adding one electron to the system, the electrophilicity index
measures the energy lowering due to maximal electron flow (which may be either less or more than one) from the environment,

\[\omega_{\text{electrophilicity}} = E(N_0) - E(N_0 + \Delta N_{\text{max}}) = E(N_0) - E(N_{\text{max}})\]

This definition is sensible for systems that can bind additional electrons, i.e. \(\Delta N_{\text{max}} > 0\), and have a positive electrophilicity as a result. By convention, we decided that for systems with \(\Delta N_{\text{max}} < 0\), the electrophilicity should be defined as negative. This gives an extended definition for the electrophilicity

\[{\Delta E}_{\text {electrophile}} = \text{sgn}\left(N_{\text{max}} - N_0\right) \times \left(E(N_0) - E(N_{\text{max}})\right)\]

Here \(\text{sgn}(x)\) is the sign of the argument \(x\). I.e.,

\[\begin{split}\text{sgn}(x) = \begin{cases} 1 \qquad & x > 0 \\ 0 \qquad & x = 0 \\ -1 \qquad & x < 0 \end{cases}\end{split}\]

With this extended definition, larger values of \(\omega_{\text{electrophilicity}}\) are associated with stronger electrophiles, that is,

\[\begin{split}\omega_{\text{electrophilicity}} = \begin{cases} \gg 0 \qquad & \text{strong electrophile} \\ \approx 0 \qquad & \text{(very) weak electrophile} \\ < 0 \qquad & \text{nucleophile/not electrophile} \end{cases}\end{split}\]

**Nucleophilicity Index** \(\omega_{\text{nucleophilicity}}\) measures the capacity of a reagent to donate
electrons to its environment. Unlike the electrophilicity, there is not a strong consensus about how one should
define the nucleophilicity. [20]L.R. Domingo, M. Rios-Gutierrez, and P. Perez. Applications of the conceptual density functional theory indices to organic chemistry reactivity. *Molecules*, 21(6):748, 2016. None of the existing definitions is very convincing, perhaps because electrostatic
interactions are often important for nucleophiles, which tend to be locally harder (because nucleophilic sites
tend to be positively charged) than electrophiles. A reasonable definition for nucleophilicity, perhaps first
suggested by Contreras *et al.*, is the effective ionization potential. [21]R. Contreras, J. Andres, V. S. Safont, P. Campodonico, and J. G. Santos. A theoretical study on the relationship between nucleophilicity and ionization potentials in solution phase. *J. Phys. Chem. A*, 107(29):5588–5593, 2003. The effective ionization potential is
closely related to the adiabatic ionization potential: the idea is to include the effects of the environment
(e.g. solvation, surrounding molcules) and geometric relaxation. Given the simplifications inherent in this
description, it is usually reasonable to simply use the vertical ionization potential,

\[\omega_{\text{nucleophilicity}} \sim I_{\text{eff}} \sim I\]

Sometimes the electrofugality (which is closely related) is also identified as the nucleophilicity, [22]P.W. Ayers, J.S.M. Anderson, J.I. Rodriguez, and Z. Jawed. Indices for predicting the quality of leaving groups. *Phys. Chem. Chem. Phys.*, 7(9):1918–1925, 2005.

\[\omega_{\text{nucleophilicity}} \sim \frac{\left(3I - A\right)^2}{8\left(I - A\right)}\]

**Nucleofugality Index** \(\nu_{\text{nucleofugality}}\) measures the ability of the system to be a nucleofuge,
i.e., to be a leaving group which takes an electron with it.
Nucleofugality is defined as the energetic penalty that a nucleofuge with \(\Delta N_{\text{max}} < 1\) must pay
when it receives an entire electron, \(\Delta N = 1\), from the molecule it leaves behind,

Nucleofuges with \(\Delta N_{\text{max}} > 1\) are exceptional leaving groups that readily accept a full electron from their environment under almost any circumstance. We therefore define them so that they have negative values of nucleofugality index, motivating the extended definition

\[{\Delta E}_{\text {nucleofuge}} = \text{sgn}\left(N_0 + 1 - N_{\text{max}}\right) \times \left(E(N_0 + 1) - E(N_{\text{max}})\right)\]

In general, small (ideally negative) values of \(\nu_{\text{nucleofugality}}\) are associated with better leaving groups. Ergo,

\[\begin{split}\nu_{\text{nucleofugality}} = \begin{cases} \gg 0 \qquad & \text{poor nucleofuge} \\ \approx 0 \qquad & \text{good nucleofuge} \\ < 0 \qquad & \text{exceptional nucleofuge} \end{cases}\end{split}\]

**Electrofugality Index** \(\nu_{\text{electrofugality}}\) measures the ability
of the system for being a electrofuge, i.e., to be a leaving group which leaves an electron behind with the molecular remnant.
Electrofugality is defined as the energetic penalty that an electrofuge with, \(\Delta N_{\text{max}} > -1\) must
pay when it donates an entire electron, \(\Delta N = -1\), to the molecule it leaves behind,

\[\nu_{\text{electrofugality}} = E(N_0 - 1) - E(N_0 + \Delta N_{\text{max}}) = E(N_0 - 1) - E(N_{\text{max}})\]

Electrofuges with \(\Delta N_{\text{max}} < -1\) are exceptional leaving groups that eagerly donate a full electron to their environment. We therefore define them so that they have negative values of electrofugality index, motivating the extended definition

\[{\Delta E}_{\text {electrofuge}} = \text{sgn}\left(N_{\text{max}} - N_0 + 1\right) \times \left(E(N_0 - 1) - E(N_{\text{max}})\right)\]

In general, small (ideally negative) values of electrofugality index are associated with better leaving groups. Ergo,

\[\begin{split}\nu_{\text{electrofugality}} = \begin{cases} \gg 0 \qquad & \text{poor electrofuge} \\ \approx 0 \qquad & \text{good electrofuge} \\ < 0 \qquad & \text{exceptional electrofuge} \end{cases}\end{split}\]

**Energy Models**

Calculating fundamental and derived global reactivity descriptors requires that one choose a model for the dependence of the electronic energy on the number of electrons at fixed external potential, \(v\left(\mathbf{r}\right)\). Details about how ChemTools evaluates global reactivity descriptors using its built-in and user-defined energy models can be found below.

- Linear Energy Model
`chemtools.tool.globaltool.LinearGlobalTool`

- Quadratic Energy Model
`chemtools.tool.globaltool.QuadraticGlobalTool`

- Rational Energy Model
`chemtools.tool.globaltool.RationalGlobalTool`

- Exponential Energy Model
`chemtools.tool.globaltool.ExponentialGlobalTool`

- General Energy Model
`chemtools.tool.globaltool.GeneralGlobalTool`