Consider the one-particle density matrices of the initial and final states of interest, ${\mathbf{P}}_{1}$ and ${\mathbf{P}}_{2}$ respectively. Assuming that each state is represented in a finite basis of spin-orbitals, such as the molecular orbital basis, and each state is at the same geometry. Subtracting these matrices yields the difference density

$$\mathbf{\Delta}={\mathbf{P}}_{1}-{\mathbf{P}}_{2}$$ | (7.101) |

Now, the eigenvectors of the one-particle density matrix $\mathbf{P}$ describing a single state are termed the natural orbitals, and provide the best orbital description that is possible for the state, in that a CI expansion using the natural orbitals as the single-particle basis is the most compact. The basis of the attachment/detachment analysis is to consider what could be termed natural orbitals of the electronic transition and their occupation numbers (associated eigenvalues). These are defined as the eigenvectors $\mathbf{U}$ defined by

$${\mathbf{U}}^{\u2020}\mathbf{\Delta}\mathbf{U}=\delta $$ | (7.102) |

The sum of the occupation numbers ${\delta}_{p}$ of these orbitals is then

$$\text{tr}(\mathbf{\Delta})=\sum _{p=1}^{N}{\delta}_{p}=n$$ | (7.103) |

where $n$ is the net gain or loss of electrons in the transition. The net gain in an electronic transition which does not involve ionization or electron attachment will obviously be zero.

The detachment density

$$\text{\mathbf{D}}={\text{\mathbf{U}\mathbf{d}\mathbf{U}}}^{\u2020}$$ | (7.104) |

is defined as the sum of all natural orbitals of the difference density with negative occupation numbers, weighted by the absolute value of their occupations where $\mathbf{d}$ is a diagonal matrix with elements

$${d}_{p}=-\mathrm{min}({\delta}_{p},0)$$ | (7.105) |

The detachment density corresponds to the electron density associated with single particle levels vacated in an electronic transition or hole density.

The attachment density

$$\text{\mathbf{A}}={\text{\mathbf{U}\mathbf{a}\mathbf{U}}}^{\u2020}$$ | (7.106) |

is defined as the sum of all natural orbitals of the difference density with positive occupation numbers where $\mathbf{a}$ is a diagonal matrix with elements

$${a}_{p}=\mathrm{max}({\delta}_{p},0)$$ | (7.107) |

The attachment density corresponds to the electron density associated with the single particle levels occupied in the transition or particle density. The difference between the attachment and detachment densities yields the original difference density matrix

$$\mathbf{\Delta}=\mathbf{A}-\mathbf{D}$$ | (7.108) |