1 Introduction

Carbanions stabilized by mesomeric electron acceptor groups are a class of compounds with a certain practical interest. In fact, they have been employed widely in organic synthesis [1]. Even, some important biochemical intermediates display this chemical moiety [2]. From a theoretical point of view, they are convenient systems for testing the reliability of electron delocalization models. According to the resonance model (RM), the negative charge of the C atom is expected to be delocalized on the mesomeric electron acceptor, e.g. O in a carbonyl group or N in a cyano substituent. In this context, we acknowledge the very good services provided by RM in chemistry [3, 4]. Even, different possibilities to supply resonance structures with more reliable and quantitative weighting coefficients obtained making use of modern tools of electron density topological analysis can be explored [5]. Nevertheless, since the publication of the seminal paper by Wiberg and Laidig on the electronic origin of the esther and amide resonance [6], it is not possible to deny that a large amount of inconsistencies between RM predictions and computed evolutions of electron densities have been reported [726]. Most of these discrepancies were obtained by studying protonation processes or in nucleophilic addition reactions. In contrast, deprotonations seem to have been much less explored.

This paper aims to get insight into the stabilization of carbanions by cyano groups that is on the basis of the significant acidity displayed by the hydrogens of methylenes (and other groups) that are α to CN units. In order to achieve this objective, we have performed an electron density analysis of neutral and deprotonated anionic species of a series of substituted N≡CHRR cyanocompounds (R’ = H in most of them) (Table 1). This analysis was carried out with the quantum theory atoms in molecules (QTAIM) [21, 27] on gas phase optimized structures. We are aware that H-abstraction usually takes place in aqueous media; nevertheless, being our main interest electron density evolutions, we have opted for studying this process in isolated molecules to avoid any possible effect of solvation models on the reliability of electron densities.

Table 1 Deprotonation energies, ΔdpE (in kJ mol−1) and accuracy estimators for QTAIM integrations for the RR’CH–C≡N molecules here studieda

As starting point, we remind that N≡CRR’ anions are considered to be stabilized by delocalization of the negative charge on the N atom. This is represented by N≡CRR’ resonance Lewis structures. In polysubstituted nitriles, delocalizations can be extended to other atoms of R and R’ groups where similar resonance structures could be written. Scheme 1 shows an example of them for compound 5, which contains an additional π-acceptor substituent: NO2. The opposite effect should be expected when the additional substituent is a π-donor like -NH2 or –OH.

Scheme 1
scheme 1

Resonance Lewis structures for the anion of compound 5

1.1 Computational details

QTAIM allows the partitioning of a molecule into disjoint subsystems without resorting to hypothesis alien to quantum mechanics [21, 27]. With a few exceptions [29], each of these subsystems consists of a nucleus, which acts as an attractor for the trajectories of the gradient of the electron density vector field, ∇ρ(r), and its associated atomic basin, throughout these trajectories spread. An atom, Ω, is defined as the union of the attractor and its associated basin, and is surrounded by zero flux surfaces for ∇ρ(r). The integration of the proper density functions within these limits provides diverse atomic properties such as the electron population, N(Ω), or the total atomic electron energy, E(Ω).

QTAIM also recovers main elements of molecular structure in terms of the critical points, rc, of the electron density, ρ(r). Prominent among them are the bond critical points (BCPs), which are located roughly in between every pair of bonded atoms. The electron density at a certain BCP is regarded as an indicator for bond strength within a homologous series.

All the neutral (124) and deprotonated (1a-24a) species here considered (Table 1) were fully optimized at the B3LYP/6–31 +  + G(2d,2p) levels using the Gaussian-09 program [22]. Excluding the long chain linear cyanoalkanes (14 and 15), initial geometries were optimized for all expected conformers. The completely antiperiplanar conformation was the only initial geometry optimized for 14 and 15. H+-extraction on these structures gives rise to a C–C–C–CN gauche arrangement in 14a and 15a. Electron densities obtained were analyzed with the QTAIM by means of the program AIMPAC [23]. The accuracy of the integrated properties was tested using the differences between molecular properties and those obtained by summation of the properties of the fragments [NN(Ω) or EE(Ω)] (Table 1). These differences are always smaller (in absolute value) than 2·10–3 au and 1.2 kJ/mol, respectively, which are found to be accurate enough comparing with other works carried out at similar theoretical levels. In the same vein, the integrated values of the Laplacian of the electron density in all the atomic fragments, L(Ω), are always smaller (in absolute value) than 10–3 au.

Deprotonation energies, ΔdpE, (Table 1) were calculated taking into account the thermal and zero point vibrational corrections (unscaled) obtained for deprotonated and neutral species. All the optimized structures were real minima as they do not display any imaginary frequency. When more than one local minimum is present in the neutral or anionic form of a certain compound, ΔdpE is computed as the different between the lowest energy conformer found for each species.

2 Results and discussion

Atomic and bond properties of neutral nitriles, as well as the ∇2ρ(r) topology, have been described thoroughly in a previous HF study by Aray et al. [24]. As our results for neutral molecules are in perfect agreement with theirs, we focus our discussion on the effects of deprotonation.

2.1 Deprotonation energies

Table 1 lists the ΔdpE energies obtained for α-deprotonation of the 24 cyanocompounds here studied. For the sake of simplicity, in what follows compound 1 (cyanomethane) will be our reference, and deprotonation energies will be commented as relative values to that computed for 1 (ΔΔdpE). First we notice that, in spite of large structural changes, deprotonation energies do not span in a wide range. It is also noticeable that positive values are scarce. This is especially true when we take into account that the most positive value corresponds to LiCH2CN (compound 8), whose neutral optimized structure is significantly different from those of the remaining species, with the Li atom attached to the CN group and not to the α methylene, denoting its ionic character. Thus, one [CH2CN]anion is already formed in neutral 8. As a consequence, abstracting a proton from it demands the largest amount of energy and this compound can be excluded from the series because of this singular bonding structure.

The other positive ΔΔdpE values do not exceed 10 kJ mol−1 (7, 12 and 13). 12 and 13 correspond to other short alkyl chains (cyanoethane and cyano-iso-propane). The small difference between them (Table 1) leads us to think that chain ramifications are not significant to this problem. The effect of chain size is even smaller for larger alkyl groups (14 and 15), becoming negligible.

7 should be compared with the other resonance electron donor containing compound (+ R) here considered: 6. Both values are really close (slightly positive one and slightly negative the other). Thus, we conclude that the inclusion of + R substituents does not really modify ΔdpE.

In contrast, significantly negative ΔΔdpE values are displayed by those compounds (25) that include additional (CN being also one of them) resonance electron withdrawers (-R). According to the RM, these compounds allow a larger delocalization of the formal negative charge formed at the Cα (Scheme 1). A similar mechanism can be considered for π-conjugated substituents, such as vinyl (17) of phenyl (parent, 18, or substituted, 1924) groups. In fact, all these compounds (25, 1724) reduce the deprotonation energy by more than 90 kJ mol−1 with regard to the reference (1).

We have also checked that α-deprotonations are preferred over other possible processes for H+-abstractions. To this end, we computed all possible H-abstractions along the alkyl chain of 14 and 15 (Fig. 1). Other deprotonations cost at least 100 kJ mol−1 more than the alpha one. Moreover, the only significant difference between both compounds is due to the displacement (by one position) of the terminal and previous to terminal methyl or methylene group.

Fig. 1
figure 1

Relative values (in kJ mol−1) of deprotonation energies (ΔΔdpE) vs. H+-abstraction position in compounds 14 and 15

2.2 Anion geometries

Anions where the RM predicts π electron delocalization to substituent groups are found to be planar or nearly planar. This is shown by the ω dihedral angle formed between R–C–C R´− C–C units (Table 1). The unique significant exception to this trend is found in 24 (2-aminobenzylnitrile), where the steric hindrance between the non-planar NH2.group and the hydrogen atom attached to the α-methylene prevent from a planar arrangement in the anion. In contrast, when substituents do not allow π electron delocalization the surroundings of the C atom are not planar (109º < ω < 168º) (Fig. 2). The presence of highly electronegative substituents (F or OH) coincides with the largest deviations from planarity (compounds 6a, 10a and 11a).

Fig. 2
figure 2

Optimized structures for anions 5a (planar) and 11a (ω = 109.4º)

2.3 Deprotonation effects on atomic electron populations and bond properties in cyanomethane and other alkyl nitriles

As in the previous section, we first describe the electron density change due to α-deprotonation in acetonitrile, compound 1, taken again as our basic model. The variations experienced in the process by its atomic electron populations, ΔN(Ω), are included in the first scheme of Fig. 3. All the atoms increase their electron population after expelling the proton, which means sharing 0.948 au. Whereas a little more than one half of the electron density is kept within the CH2 unit, the electron density taken by the cyano group is important, and there is an important transference of electron density to its N atom. That is, the expectations deduced from the resonance model are basically observed in the QTAIM results.

Fig. 3
figure 3

Variations of atomic electron populations in 1 and 12 upon α-deprotonation and those of 12 upon the preferred β-deprotonation, ΔdpN(Ω), (in au multiplied by 103). ΔdpN(Ω) values for β-CH3 or β-CH2 groups and corresponding C (in parenthesis) are shown for 12

In the same vein, the evolutions of BCPs properties are in line with the predictions of the RM model. Thus, we notice (Fig. 4) the C–C bond is reinforced while the CN linkage gets weaker. At the same time, the first bond shrinks by 0.08 Å, while the later lengths by 0.03 Å. More meaningful, both bond ellipticities that are perfectly negligible in the neutral compound become 0.296 and 0.042 in the anion. Finally, the values of the total energy density function become more negative for C–C in the anion and less negative for the CN linkage, pointing to a reinforcement of covalent character in the former and to its depletion toward a significant polarization in the latter.

Fig. 4
figure 4

Variations of most significant BCP properties in 1 and 12 upon α-deprotonation: Relative electron density values (in au and boldface) are multiplied by 103, absolute values of ellipticities (in italics) and relative values of the total electronic energy density (multiplied by 103). Variation of bondlengths (in Å multiplied by 103) are shown in brackets

At least in a first glance, the electron density evolution experienced in the α-deprotonation of propanenitrile, compound 12, seems to follow the same trends exposed for acetonitrile. In spite of the larger size of the R alkyl group, the electron population gained by the CN group is only 0.004 au lower than in 1. We observe (Fig. 3) that the increase in electron population in the rest of the molecule is 0.021 au larger in 12 than in 1, but most of this difference is due to the fact that the atomic electron population of H in a methylene group (0.964 au in 12) is larger than that of a H in a methyl group (0.948 au in 1). In contrast, more than 70% of the electron density taken from the extracted H in the β-deprotonation of propanenitrile remains in the ipso CH group (Fig. 3).

After studying compounds with larger alkyl groups, a nearly transferable general scheme (Fig. 5) can be established for the electron density reorganization associated to α-deprotonation. Thus, we can say that the electron density taken from the extracted hydrogen splits into three parts: (i) that concentrated in the ipso group (0.370 au); (ii) a nearly equivalent part transferred to the cyano group (0.351 au); and (iii) that taken by the alkyl group (0.252 au). We notice that although this third part is not represented by any usual resonance form (RCH–CN), it is far from being negligible. Moreover, within the cyano group, the increase in electron population in both atoms is comparable. The variations experienced by the most significant BCP properties in these compounds can be represented by those around the RHCα–CN unit of compound 15 (Table 2). The values point to reinforcement of the Cα–C(N) bond and weakening of the CN bond, and both trends are represented by the RCH = C = N resonance form. There is also a noticeable reinforcement of the Cα–Cβ bond, not predicted by the RM.

Fig. 5
figure 5

Electron density reorganization accompanying α-deprotonation in alkyl nitriles 14 and 15. All values are variation of atom/group electron populations in au multiplied by 103

Table 2 Variations of most significant BCP properties upon α-deprotonation in 15

Finally, when the proton is extracted from a ternary carbon, as in 2-methylproapnenitrile (13), we notice the changes in the CN unit are certainly small with regard to the nearly transferable scheme (Fig. 5). In contrast, the electron population gained by the α C decreases to 0.215 au, as two alkyl groups are available to receive electron density (0.221 au each).

2.4 Deprotonation effects on atomic electron populations and bond properties in substituted acetonitriles (XCH2CN; X = CN, NO2, CH3OCO, SiH3, OH, NH2, F)

The introduction of electron donors or acceptors as additional functional groups in acetonitrile modifies significantly the reorganization of the electron density after α-deprotonation. Including additional acceptors, e.g. more CN groups, reduces the electron density gained at the ipso group. We observe ΣΔN(Ω) goes from 0.579 au to 0.298 au and 0.118 au in CH2/CH/C unit as we progressively increase the number of CN groups in the series formed by compounds 1, 2 and 3. At the same time, the electron density gained by each CN also reduces (0.364, 0.300 and 0.247 au, respectively), while the proportion of electron density transferred to the nitrogen of each cyano group increases (59%, 68%, 78%). A similar trend is observed when two different resonance electron acceptors groups combine in the molecule (4 and 5). The electron density gained by the CH group in the anions of 2, 4 and 5 (0.298 au, 0.235 au and 0.014 au), or that collected by the CN group (0.300 au, 0.255 au and 0.235 au, respectively) can be taken as an estimator for the relative strength of CN, CH3OCO and NO2 groups. The larger the diminution, the stronger the electron acceptor ability.

The presence of electron donors, like OH or NH2 groups, hampers spreading the electron density along the molecule. Figure 6 compares the effects, drastically different in CH area, introduced by α-deprotonation in cyanocompounds containing the strongest electron acceptor (NO2, compound 5) and the strongest electron donor (OH, compound 6).

Fig. 6
figure 6

ΔN(Ω) values (in au multiplied by 103) upon α-deprotonation for compounds 5 (upside left), 6 (upside right), 10 (below left) and 11 (below right)

Fluorine atoms are considered sometimes as subtle substituents, able to act both as electron donors (through resonance) or acceptors (because of their high electronegativity). We have computed ΔN(Ω) values for compounds 10 and 11. The results indicate that, in what regards electron reorganization related to α-deprotonation, fluorine behavior closely resembles that of strong donors. Moreover, the anions of 10 and 11 are not planar, as it is found for those containing OH or NH2 groups.

The variation experienced by the most significant BCP properties for the compounds in this series is summarized in Table 3. Cα–R bonds display an opposite behavior when we compare compounds enclosing electron donors (6), where the Cα–R bond is slightly weaker in the anion, and electron acceptors (5), where it gets stronger. According to these properties, fluorine (see compound 10) also behaves as an electron donor. We also notice that N–O bonds length (Table 3) upon α-deprotonation, as predicted by the RM.

Table 3 Variations of most significant BCP properties upon α-deprotonation in compounds 5, 6, 9, and 10

Finally, silicon is attached to the α methylene group in compound 9. This allows to test if this substituent works as an electron acceptor as it is usually stated invoking the “empty d orbitals” in Si. Surprisingly, the electron population of the silicon atom does not change in the process (Fig. 7), and the electron density reorganization observed is more alike that of strong electron donors. Nevertheless, the HC–CN arrangement in the anion is perfectly planar, like those presented by strong electron acceptors. Moreover, looking at BCP properties, we observe the C-Si bond reinforces in the anion with regard to neutral compound 9 (Table 3). Certainly, this trend is not so neat as in nitrosocompound 5, but it is significantly larger than in cyanoalkanes (Table 2). It is also found that Si–H bonds weaken to a different extension depending on their arrangement (gauche or anti) with regard to the CN group. This trend is more noticeable in bond distances than in BCP properties.

Fig. 7
figure 7

ΔN(Ω) values (in au multiplied by 103) upon α-deprotonation for compound 9

2.5 Deprotonation effects on atomic electron populations and bond properties in nitriles containing π-conjugated units

The effects introduced by attaching vinyl (16), allyl (17) or (un)substituted phenyl groups (1824) to the CH2CN unit were also studied. As a general rule, these groups receive more electron density in the anion than alkyl groups (Table 4). Some trends can be established for the variation of atomic and group population upon α-deprotonation (Table 4) in this set of compounds: (i) The electron population gained by the CαH unit reduces significantly with regard to alkyl compounds, always more than 0.1 au. This reduction mainly affects to Cα; (ii) the electron density transferred to the CN group reduces more with phenyl groups than with allyl and vinyl ones, and the amount of this reduction depends on the substitution of the phenyl group.

Table 4 Variation of atomic and group electron population upon α-deprotonation of compounds 15–22

Vinyl and allyl groups are the only cases where ΔN(Cβ) is positive. For all the phenyl groups here studied, this atom reduces its electron population when a proton is extracted from its attached Cα. The reorganization of the electron density in the aromatic ring depends on the nature and position of the substituent. We notice some discrepancies with the predictions of the resonance model. Thus, the electron density gained by meta-CHs is larger in 18 than that taken by orto-CHs.

The analysis of BCP properties (data not shown) reveals, as expected from the RM, the reinforcement of Cα–Cβ bond, showing larger ρ(rc) values and shorter lengths.

3 Conclusions

QTAIM analysis of the electron densities of 24 substituted cyanocompounds and the corresponding anions obtained upon deprotonation allowed us to establish the following conclusions: α-deprotonation is at least favored by 100 kJ mol−1 with regard to other deprotonation processes. While resonance electron attractors reduce significantly the energy involved in the process, the effect of resonance electron donors is nearly negligible. Deprotonation involves a significant variation of atomic electron populations. Whereas hydrogen atoms are involved in this rearrangement, the role they play is not so important as that in protonation. In contrast, those atoms where the resonance model predicts significant delocalizations of the negative charge gain an important part of the electron density left by the hydrogen. Nevertheless, the evolution of electron density in this process is not completely explained by the resonance model. A detailed analysis of electron delocalization could be carried out in future research by using QTAIM delocalization indices and/or electron localization-delocalization matrices (LDMs).