Introduction

Understanding the structure of molecules is one of the main tasks of a chemist. Naturally, this understanding improves our ability to predict and ultimately control chemical reaction outcomes, as well as to understand chemical properties. This, in turn, enhances our understanding of much more complex phenomena observed in synthetic organic chemistry, structural biology, etc. In addition to the well-known concept of chemical bonding, which has been around for more than a century, more complex models have been developed. In this context, recently nπ interactions have attracted the attention of the scientific community, because of both their role in stabilizing biomolecular and material structures, and their influence on biological processes [1, 2, and references therein]. These nπ interactions, whose origins can be traced back to the work of Bürgi-Dunitz [3], are commonly present in nucleophilic additions to carbonyl groups, and are considered weak because the energies typically associated with these intermolecular (intramolecular) interactions are ∼1 kcal mol− 1 (< 3kcal mol− 1). Weak as might they be, these interactions may alter the reactivity of compounds [4] and are crucial for the conformational stability of proteins [5, 6].

However, nπ interactions are important not only in biological systems, wherein the weak intermolecular interactions drive the outcomes and properties, but also in isolated molecules. For instance, they have been found to be present in siloxanes, germoxanes, and stannoxanes [7], wherein they determine the geometry of the E-O-E moiety (E=Si, Ge, Sn). Furtheremore, nπ interactions are also ubiquitous in the stability of single molecules and even in diastereoselective synthetic designs [8]. In Ref. [8], our research group has shown that an \(n_{\mathrm {O}}\to \pi ^{*}_{\mathrm {C=O}}\) interaction provides enough thermodynamic stability to lock the conformation of a reaction intermediate compound, which ultimately renders a stereocontrolled construction of the naturally occurring cephalosporolide E.

On the other hand, hydrogen bonding is another widely studied non-covalent weak interaction, which is present in a plethora of chemical and biological systems (see 9, 10, and references therein for a general overview of hydrogen bonding). To our purposes, we highlight the hydrogen bond contribution to determining structural properties of molecules [11], and to driving organic reaction outcomes [12, 13]. In this context, our research group has found that intramolecular hydrogen bonding, occurring within intermediates of organic reactions, should be included in synthetic plan designs.

The phenomenon that inspired this work was found while we were computing thermochemical properties of the nitrophthalic acid isomers [11]. In Ref. [11], the theoretical and experimental enthalpies of formation in gas-phase were determined. Theoretically, the enthalpies were calculated using a Boltzmann weighted average, for which a conformational search of each isomer was considered. Our theoretical estimations were in great agreement with the experimental determinations (they differ by less than 1 kcal mol− 1), and the difference was found to be within experimental uncertainties. Certainly, during this search we encountered a very rich conformational diversity for each isomer, and in particular we found that one of the conformers of the 3-nirophthalic acid (3NFAc, Fig. 1) presented an intramolecular hydrogen bond. Naturally, we expected this conformer to be the lowest-energy structure of the set; however, and quite surprisingly, we realized that the conformer with hydrogen bonding was not the structure with the least electron energy at 0 K. In fact, the (G4) energy difference between the global lowest-energy conformer and the lowest-energy conformer that had an intramolecular hydrogen bond was nearly 3 kcal mol− 1. This energy difference suggested us that there should exist some competition between hydrogen bonds and other interactions, such as nπ, electron repulsion, and electron delocalization, which determine the conformer stable structures of the 3NFAc. The most intriguing aspect is “to what extent?” In this work, we perform a theoretical study of different interactions and chemical phenomena present in the 3NFAc. We will show that the structure of the most stable confomer cannot be explained through a few dominant interactions, but through a cooperative compromise between the increasing of weak stabilizing contributions and the decrease of un-stabilizing effects, all of this occurring in a non-local fashion.

Fig. 1
figure 1

The 3-nitrophthalic acid (3NFAc)

We must remark here that the competition between, and mutual influence of, nπ interactions and hydrogen bonds has been discussed in previous works [14, 15], although the systems were comprised of molecular complexes, as opposed to single molecules. Also, some discussion have been published regarding the aversion of a system to form double nπ interactions [16], i.e. according to Choudhary et al., once an nπ interaction has been formed, a second should be disfavored. In this context, the 3NFAc constitutes a very interesting case, wherein some effects behave oppositely to what has been observed in molecular complexes.

A pragmatic summary of NBO, QTAIM, and NCI

Given the properties of the interactions present in the 3NFAc, we will use different methodologies to analyze weak interactions, namely, the Natural Bond Orbital (NBO) theory [17,18,19], the Quantum Theory of Atoms in Molecules (QTAIM) [20], and the Non-Covalent Interaction (NCI) index [21]. This will allow us to enhance our perspective of the different competing interactions, from different viewpoints.

In what follows, we will state, quite briefly and exclusively in relation to our purposes, the main practical aspects of the NBO, QTAIM, and NCI methodologies, and their relation to weak non-covalent interactions and hydrogen bonds. The interested reader is referred to [22,23,24] for further details.

The most popular method, to the best of our knowledge, for studying nπ interactions is the NBO analysis. In NBO theory, the wavefunction is expanded by molecular orbitals that maximize the resemblance to the Lewis electron pairs (filled orbitals) and the Rydberg orbitals (unnocupied orbitals). In this manner, we can describe, in familiar terms, the interactions of a molecule [22]. For instance, the electron delocalization between a lone electron pair (of a donor atom) and an unoccupied antibonding orbital (or an acceptor), i.e., an nπ interaction, or the hydrogen bond, which occurs between a lone electron pair (of the donor atom), and the σ antibonding orbital of the hydrogen atom (this interaction is denoted as nσ). Furthermore, within the NBO framework, it is possible to estimate the delocalization energy associated with the overlap between the orbitals of the donor and the acceptor atoms. Such delocalization energy is obtained from a second order perturbation approach given by

$$ {\Delta} E_{ij}^{(2)}=q_{i}\frac{F^{2}(i,j)}{\varepsilon_{i}-\varepsilon_{j}}. $$
(1)

In Eq. 1, qi is the occupancy number of the orbital i, F(i,j) are the Fock matrix elements, and εiF(i,i). Qualitatively, the overlap between NBO orbitals indicates the existence of the interaction, and quantitatively, the strength of an interaction increases as the delocalization energy, \({\Delta } E_{ij}^{(2)}\), increases. With the NBO methodology, one can also estimate the steric contributions to the energy of a molecule. In practical terms, this is done by comparing, against a reference system, the sum of steric exchange energy contributions, \(E^{(sx)}=\sum {\Delta } E_{ij}^{(sx)}\). Here, \({\Delta } E_{ij}^{(sx)}\) stands for the energy associated with steric repulsion between the i and j natural localized molecular orbitals. These \({\Delta } E_{ij}^{(sx)}\) contributions are estimated by computing the kinetic energy pressures between i and j orbitals [22]. Notice that the net repulsion/attraction effect between two atoms in a molecule is the sum of several \({\Delta } E_{ij}^{(sx)}\)’s and several \({\Delta } E_{ij}^{(2)}\)’s.

The QTAIM constitutes another popular and robust method to analyze the properties of a molecule. QTAIM is heavily based on the topological properties of the electron density, ρ [20, 23, 25]. In practical terms, one characterizes, through several fields functionals of ρ, the critical points (CPs) of the electron density (i.e., those points where ∇ρ = 0). Since ρ is a function defined on the physical 3D space, there are four types of CPs, which can be uniquely characterized by the signs of the Hessian eigenvalues at the CPs. To our purposes, the most salient CPs are those which are (a) maxima in three directions and (b) maxima in two directions and minima in one direction. In the literature, these CPs are referred to as (a) attractor CPs (ACPs) and (b) bond CPs (BCPs) or line CPs (in this work we will use the first name, i.e., BCPs). In addition, there exists special gradient paths that connect ACPs and BPCs, which are commonly called bond gradient paths (BGPs). Appart from some pathological cases, the existence of a BGP indicates the presence of an interaction between two atoms, although the discussion about whether or not BGPs can be considered chemical bonds is still open. Nevertheless, QTAIM is a very useful theoretical framework to confirm the formation of hydrogen bonds, which are known to be characterized by both the existence of a BGP between a donor and hydrogen atoms, and by the values of ρ and ∇2ρ at the BCP. Certainly, Koch and Popelier conducted an extensive characterization of systems having hydrogen bonds, from which they observed that a hydrogen bond is present if ρBPC ∈ [0.002,0.040] and ∇2 ∈ [0.024,0.139], approximately [26]. In addition, the values of ρBPC can provide an estimate of the bond strengths, which in practical terms can be stated as the greater ρBPC the greater the bond strength, in particular if one compares two similar interactions [27, 28]. The properties of the electron density along the BGP can also be used to qualitatively describe the electron delocalization between two neighboring atoms. To this end, one can analyze the Hessian eigenvalues along the BGP, and specifically the ratio between the two negative eigenvalues of the Hessian,

$$ \varepsilon(\boldsymbol r)\equiv \frac{\lambda_{1}(\boldsymbol r)}{\lambda_{2}(\boldsymbol r)}-1. $$
(2)

Here, λ1 and λ2 are the first and second eigenvalues (in ascending order), and ε is called ellipticity. The greater ε is, the greater the electron delocalization, and roughly speaking the ellipticity measures the π character of a bond. In addition, the complete profile of the ellipticity upon the bond path also provides insight on the bond properties [29, 30].

Sometimes, however, the interactions (in particular hydrogen bonds) in a molecule are so weak that there is no BGP between the interacting atoms [31, 32]. In such cases, very weak interactions (including non-covalent interactions) can be better characterized using the Non-Covalent Interaction (NCI) index. This index is also based on the mathematical properties of the electron density, and relies on the so-called reduced density gradient, s, which is defined as

$$ s\equiv\frac{1}{2\left( 3\pi^{2} \right)^{1/3}}\frac{|\nabla\rho|}{\rho^{4/3}}, $$
(3)

and a field defined as

$$ {\Lambda} \equiv\text{sign}(\lambda_{2})\rho. $$
(4)

In Eq. 4, λ2 is the second Hessian eigenvalue (in ascending order). This index offers, qualitatively, a visual representation of weak interactions that may be as weak as van der Waals’ (obvioulsy hydrogen bonds are also included in this set), which is obtained by mapping the field Λ onto isosurfaces of s. This map provides also a method to identify whether the interaction is repulsive or attractive [24, 33]; thus, steric repulsions between two atoms within a molecule can also be qualitatively identified. The latter can be done by looking at the sign of Λ: in pragmatic terms, if Λ < 0 then the interaction is considered attractive, and repulsive otherwise.

Computational details

Our convention for numbering the atoms of the 3NFAc is shown in Fig. 2a. Initial geometries were generated by constructing a basic geometry following the scheme shown in Fig. 2b. The dihedral angles 𝜃1𝜃5 were set so as to render the conformer labeled as A1 in Fig. S1 of the Supporting Information. The rest of the initial geometries shown in Fig. S1 of the Supporting Information were generated by rotating the dihedral angles 𝜃1𝜃5, which were set to be ∼0 or ∼180, accordingly. Subsequently, these initial geometries were optimized, as described below. The electron densities (extracted from wavefunction files) were requested after optimizations and saved for later analyses.

Fig. 2
figure 2

a Atom numbering convention and b definition of dihedral angles of the 3-nitrophthalic acid, as used in this work

Unless specified otherwise, calculations were carried out using the second-order perturbation theory (MP2) and the cc-pVTZ basis set. Geometry optimizations were conducted using GAMESS program (version 2013-R1) [34]. Minimum energy geometries were confirmed via frequency analyses, and all minima showed real frequency eigenvalues. To study electronic interactions and bonding, natural bond orbital (NBO) theory analyses were performed, using the program NBO6 [35], coupled with GAMESS (version 2013-R1). The NBO analyses were always computed on optimized geometries, using the MP2 non-relaxed density, and 0.05 a.u. isosurfaces for every plot wherein we depict NBO orbitals. Chemcraft 1.617 was used to visualize them [36]. Steric effects were requested through the STERIC keyword of NBO program. The analysis of the electron density, based on the Quantum Theory of Atoms in Molecules (QTAIM) and the index of Non-Covalent Interactions (NCI), was obtained from the Denstoolkit suite [37], which relies on PovRay [38] (QTAIM) and VMD [39] (NCI) for visualization purposes.

Results and discussion

Geometries and total energies

In Fig. 3, we show the 3D view of the optimized structures of the 3NFAc’s conformers, as well as the definition of the labels we will use hereon. The labels {A1, …, H2} are not representative of the electron energy order, and conformers that have intramolecular hydrogen bonds are marked with a star. Also, in Fig. 3, we show some relative energies, given in kcal mol− 1, that are required to pass from left to right column or from upper to lower row. E.g., passing from A2 to A1 requires − 0.04 kcal mol− 1 (i.e., A1 has a lower energy), or passing from C2 to D2 requires 1.14 kcal mol− 1 (i.e., C2 has a lower energy).

Fig. 3
figure 3

Optimized structures of the 3-nitrophthalic acid’s confomers and some relative energies between them. The relative energies (given in kcal mol− 1) above of or right to the arrows should be interpreted as the energy cost of passing from the left to right conformer, of from the upper to lower conformer. Conformers with hydrogen bonds are marked with a star

In Table 1, we list the total electron energies (which include zero point corrections), ΔEI, I ∈ {A1, …, H2}, relative to the lowest-energy conformer A1. The order of the items reflects the same order provided in Fig. 3 for easing the relation between energies and structures. For future reference, E1 is the conformer that has a hydrogen bond and that is closest in energy to A1.

Table 1 Total electron energy differences, ΔEI, relative to the most stable conformer A1, i.e. ΔEIEIEA1 (kcal ⋅mol− 1)

In Table 2, we list the dihedral angles, relevant to this work, that define the 3NFAc’s conformers, i.e., 𝜃1𝜃5, see also Fig. 2b. The complete set of geometries is given in the Supporting Information, Tables S2S17.

Table 2 Dihedral angles associated with the relevant interactions present in the 3-nitrophthalic acids’ conformers (see also Fig. 2)

The conformer A1 (whose initial geometry was inspired by our previous findings [11]) has the lowest electron energy of the complete set; however, we found that the optimized structure at the B3LYP/6-31G(2df,p) theory level, which was used in [11], is different from the structure obtained at the MP2/cc-pVTZ theory level. The RMDS between these structures is 0.26 Å, and the discrepancy stems from how the methods account for dispersion effects, which originates different deviations from planarity of the −NO2 group, relative to the benzenic ring. The dihedral angle 𝜃1 obtained from MP2/cc-pVTZ is − 147.1 (i.e., the −NO2 is deviated 32.9 from the benzene plane), and from B3LYP/6-31G(2df,p) is − 172.6 (i.e., the −NO2 is deviated 7.4 from the benzene plane). These results are consistent with what has been found for the nitroxoline [40]. In the latter work, Tikhonov et al. argued that this tilt is caused by the competition between a π-π interaction and the repulsion of the −NO2 group and an adjacent hydrogen (see Fig. 4).

Fig. 4
figure 4

The nitroxoline and the repulsive interaction (gray rectangle) that precludes the −NO2 coplanarity with the ring

In the 3NFAc case, and looking at Table 2, we observe that the −NO2 group deviates from planarity between 24.8 (E2) and 51.1 (H2). In contrast to the nitroxoline case, we will show that the tilt observed in the 3NFAc is due not to the competition of −NO2/H repulsion and π-π interaction, but rather a balance between the π-π interaction, the repulsion stemming from adjacent oxygens (belonging to the −NO2 and –COOH groups), and an attractive nπ interaction between O19 and C7. This balance of forces renders a greater planarity deviation compared with the nitroxoline’s and other molecules’ deviations, wherein the nπ interaction is not present.

In Table 3, we list several geometric parameters (distances and angles) that are relevant for the following sections. However, we can already see that, considering only geometric arguments, the conformers C2, E1, E2, F1, F2, and H2 have intramolecular hydrogen bonds (of type O–H⋯O). Here, we follow the recommendations provided by Jeffrey [10] and Steiner [41], who suggest that if the distance between the donor and the hydrogen atoms is (1.5–2.2) Å and the angles X–H⋯A > 130, then the bond can be considered a moderate hydrogen bond (here A and X are the acceptor and the donor atoms, respectively). Certainly, the respective bond distances in the above conformers are between 1.73 Å and 1.90 Å, and the angles X–H⋯A are between 146.5 and 161.9 (see Table 3); therefore, these hydrogen bonds are moderate. According to Steiner’s classification [41], the hydrogen bond energies of the conformers should be between 4 and 15 kcal mol− 1. At first sight, if we only consider isolated interactions, then conformers with hydrogen bonding should have had the lowest total electron energy (it is not very usual that weak non-covalent interactions contribute with more than a very few kcal mol− 1). However, the most stable conformer A1 does not have hydrogen bonding, and its energy is 2.27 kcal mol− 1 lower than E1. Hence, different interactions must occur, and furthermore, the interactions must overcome the stabilizing effect of an intramolecular hydrogen bond. Thus, in the following sections, we analyze diverse non-covalent interactions that occur between the atoms O19, O12, O13, O8, H10, H14, H15, H17, and C7, for the different confomers of the 3NFAc. Also, for completeness purposes, we repeated the calculations presented here, but using the x-ray geometry [42] and partial optimizations of it. In Table S1 of the Supplementary Information, we list the geometric properties (and additional properties) of these structures, which we will discuss later.

Table 3 Geometric parameters of the relevant non-covalent interactions present in the conformers of 3-nitrophthalic acid

NBO analysis

The NBO analysis confirmed the presence of nπ interactions, as well as hydrogen bond interactions (of the type nσ). From Table 3, we see that the distances O19⋯C7 or O12⋯C7 are between 2.63 Å and 2.81 Å, whereas the angles O19–C7=O8 and O12–C7=O8 are between 80.4 and 108.8. According to Bürgi-Dunitz [3], the previous distances and angles suggest that the C7 atom is prone to nucleophilic attacks. The question here is which is the group acting as a nucleophile through an nπ interaction, the −NO2 or the –COOH? The answer is both; in some conformers, they both act as nucleophiles concurrently. This is, in part, opposed to the findings reported by Choudhary et al. [16], wherein the authors conclude that once an intermolecular nπ interaction is formed, then a second interaction of the same type should be disfavored. The presence of double intramolecular nπ interactions is one of the most intriguing features of the 3NFAc. We will further elaborate on this throughout our discussion.

The fact that both nitro and carboxyl groups act as nucleophiles (sometimes concurrently) can already be seen from the piramidalization suffered by the central C1–COOH moiety, which is another geometric feature that indicates the presence of an nπ interaction. Considering that in some conformers there are two concurrent nπ interactions, we measured the piramidalization through a parameter p, whose magnitude is the perpendicular distance of C7 from the plane formed by C1-O8-O9 (the greater the distance, the greater the piramidalization). Also, if p, shown in Table 3, is positive (negative), then the carbon C7 lifts from the plane towards the –COOH (−NO2) group. From Table 3, we can see that in A1 piramidalization is very low (p = + 0.003 Å, towards the –COOH group); hence, the –COOH group is barely a stronger nucleophile than the −NO2 group in this conformer. On the other hand, the piramidalization of E1 is greater, relative to A1 (p = − 0.016 Å), and C7 lifts towards the −NO2 group because the –COOH group is engaged in forming a hydrogen bond.

In Fig. 5, we depict the overlap of the NBO orbitals associated with the \(n_{\text {O19}} \to \pi ^{*}_{\text {C7=O8}}\) and \(n_{\text {O12}} \to \pi ^{*}_{\text {C7=O8}}\) interactions. Both are concurrently present in A1, and they appear as well in the rest of the confomers in different combinations, i.e., the double nπ interaction is by no means unique to A1. Figure 5 offers the first qualitative confirmation that both nπ interactions exist simultaneously.

Fig. 5
figure 5

Relevant NBO interactions in confomers A1 (upper row) and *E1 (lower row)

The nπ and nσ interactions strength

Table 4 lists the second-order perturbation energies, \({\Delta } E_{ij}^{(2)}\) (hereon denoted simply as E(2), see Computational Details), for some non-covalent interactions existing in each one of the 3NFAc’s stable conformers. G2, G1, H1, A2, A1, C1, D2, B2, B1, and D1 have two nπ interactions, and each individual interaction includes the carbonyl group (C7=O8). In such conformers, the respective E(2) of the \(n_{\text {O19}} \to \pi ^{*}_{\text {C7=O8}}\) interaction (denoted in Tables and Figures as NBO1) is 1.61–2.71 kcal mol− 1. In confomers G2, G1, H1, A2, A1, and C1, the E(2) of the \(n_{\text {O12}} \to \pi ^{*}_{\text {C7=O8}}\) interaction (denoted in Tables and Figures as NBO2) is between 0.72 and 2.77 kcal mol− 1. On the other hand, in each one of conformers D2, B2, B1, and D1, there exists an \(n_{\text {O13}} \to \pi ^{*}_{\text {C7=O8}}\) (denoted in Tables and Figures as NBO4), whose E(2) is 1.53–2.36 kcal mol− 1. According to the above discussion, the −NO2 group in confomers G2, G1, H1, A2, D2, B2 and B1 is a stronger nucleophile, relative to confomers A1, C1 and D1. The –COOH group has the opposite trend.

Table 4 Second-order perturbation energies, E(2) (kcal mol− 1), of the relevant NBO interactions present in the conformers of 3-nitrophthalic acids. Conformers that have hydrogen bonds are marked with stars

As to the H2, C2, F2, E2, E1, and F1 conformers, each of these shows two interactions that can be associated with weak non-covalent interactions of the kinds NBO1 and nσ (the \(n_{\text {O8}}\to \sigma ^{*}_{\text {O13-H14}}\) is denoted as NBO5 and \(n_{\text {O9}} \to \sigma ^{*}_{\text {O13-H14}}\) as NBO6). The E(2)’s of the NBO1 interactions are between 0.28 and 4.22 kcal mol− 1, and the E(2)’s of NBO5 and NBO6, which are associated with O–H⋯O contacts, are between 6.53 and 10.20 kcal mol− 1 (see Table 4). This confirms that these hydrogen bonds are moderate. Figure 5 c and d show the NBO orbital overlaps of the NBO1 and NBO5 interactions present in E1, whereas the interactions present in the rest of the conformers are depicted in Fig. S2 of the Supporting Information.

In the 3NFAc’s conformer A1, the E(2) energies of the two nπ interactions are 2.30 kcal mol− 1 (NBO1) and 2.47 kcal mol− 1 (NBO2), respectively, rendering a total contribution of 4.77 kcal mol− 1 (see Table 4). (The difference \(E^{(2)}(n_{\text {O19}}\to \pi ^{*}_{\text {C7}}) -E^{(2)}(n_{\text {O12}}\to \pi ^{*}_{\text {C7}})=0.17~\text {kcal}\cdot \text {mol}^{-1}\); therefore, both interactions have similar strength. This is consistent with the conclusions drawn from the piramidalization parameter p, see Table 3, i.e., the NBO1 interaction is barely weaker than the NBO2 interaction. On the other hand, in E1 the interactions NBO1 (with E(2) = 2.29 kcal mol− 1) and NBO5 (with E(2) = 9.74 kcal mol− 1) render a total contribution of 12.03 kcal mol− 1. This, in principle, is inconsistent with the observed global stabilization energy, i.e., if we compared only the sum NBO1 + NBO2 (A1) vs NBO1 + NBO5 (E1), we would had concluded that E1 should have had the lowest total electron energy, which is opposed to the observed total electron energies. As we discuss below, to better understand the structural features of the lowest-energy conformer A1, we have to consider how the presence or absence of the NBO1, NBO2, and NBO5 interactions affects not only the closest neighboring bonds, but also the rest of the bonds of the 3NFAc, which in turn affects the contributions to the total electron energy. Certainly, the 3NFAc does not completely follow the rules of the group addition model.

Steric effects

In Table 5, we list the energy differences associated with the steric effects, \({\Delta } E^{(sx)}_{I}\equiv E^{(sx)}_{I}-E^{(sx)}_{\boldsymbol {A1}}\), I ∈ {A1, …, H2}, relative to A1. Here, \(E^{(sx)}_{I}\) is the sum of pairwise steric contributions to the energy between natural localized molecular orbitals of conformer I (see A pragmatic summary of NBO, QTAIM, and NCI and Ref. [22] for further details).

Table 5 Energy differences (in kcal ⋅mol− 1) associated with steric effects, \({\Delta } E^{(sx)}_{I}\), relative to the conformer A1. Here \({\Delta } E^{(sx)}_{I}\equiv E^{(sx)}_{I}-E^{(sx)}_{\boldsymbol {A1}}\), see also Computational Details

The values of Table 5 should be interpreted as follows. If \({\Delta } E^{(sx)}_{I}>0\), then the steric effects are greater in the confomer I. Here, we should warn the reader that the \({\Delta } E^{(sx)}_{I}\) offers an estimation of the total electronic repulsion, and tells us whether it increases or not when passing from one confomer to another. This repulsion, we must recall, should not be considered equivalent to repulsion between atoms, but between all the electrons “contained” by localized orbitals of the molecule.

As we can see, the total contribution, stemming from steric effects, is 15.48 kcal mol− 1 greater in E1, compared with A1. This contribution overcomes the stabilization stemming from the interactions NBO1 and NBO5 present in E1, relative to A1, i.e., in E1 the steric effects counteract the stabilization supplied by the hydrogen bond and the weak nπ interaction, in such a manner that the decreased steric effects in A1 plus the stabilization provided by the double nπ interaction renders the confomer A1 to have a lower total electron energy. However, the interplay between weak interactions and steric effects is not the end of this story. In what follows, we analyze additional effects present in the 3NFAc conformations.

NCI

In Fig. 6, we depict NCI plots of the conformers A1 and E1. The plates between the O19 and C7 atoms in both confomers confirms the existence of a weak non-covalent interaction. The negative sign of the Λ field in the outer region, i.e., away from the benzenic ring, indicates that such interaction is attractive. Furthermore, the NCI plate between O12 and C7, in A1, confirms as well the presence of a second attractive nπ interaction, and the plate between O8 and H14, in E1, supports the existence of a hydrogen bond. The NCI plots for the complete set of confomers are shown in Fig. S3 of the Supporting Information.

Fig. 6
figure 6

Non-Covalent Iteraction index (NCI) of the confomers aA1 and bE1 (color online)

In contrast to the observations made for the nitroxoline [40], wherein the planarity deviation of the −NO2 group (relative to the benzenic plane) is caused by the competition of the π-π delocalization and the repulsion between the −NO2 and an adjacent hydrogen; in the 3NFAc, the deviation is caused by the competition between the attractive \(n_{\text {O19}} \to \pi ^{*}_{\text {C7=O8}}\) interaction and the electronic repulsion of O19 with O8 and O9. Both effects involve the groups −NO2 and –COOH. On the other hand, in the 3NFAc, the interactions with adjacent hydrogens appear to be attractive (see the values of Λ at the plates between O20 and H17, as well as between O13 and H15, in Fig. 6). However, this is not conclusive because such interactions are very weak, and also because there is ring tension created by the O20-N18-C6-C5-H17 and O13-C11-C2-C3-H5 moieties, which is suggested by the positiveness of Λ close to the center of such rings.

QTAIM

In Fig. 7, we show the topology of the electron density for confomers A1 and E1. The QTAIM analysis confirms the formation of a hydrogen bond, in conformer E1, between O8 and H14 atoms, which was expected. However, we bring the reader’s attention to the critical points, and gradient paths, formed between C7 and O19, of both conformers, and those formed between C7-O12, in A1. Since these gradient paths are associated with weak non-covalent interactions, it is not very common for QTAIM to detect them. This would suggest that the apparently weak nπ interactions are not so weak, in relation to their neighboring chemical environment. For completeness purposes, we show electron density topology of all conformers in Fig. S4 of the Supporting Information.

Fig. 7
figure 7

Topology of the electron density for the confomers aA1 and bE1. Medium-sized blue (yellow) spheres depict bond (ring) critical points, and curves composed of small-sized dark blue spheres are bond gradient paths

So far, we have mainly considered the nπ and nσ interactions in our discussion. However, as we have pointed out above, these interactions alone cannot explain why the confomer A1 has a lower energy than E1. In “Steric effects,” we discussed the destabilizing contributions to the energy stemming from steric effects. This analysis included the contribution of all steric effects present in a conformer, i.e., we have subtly suggested that, in the 3NFAc, one cannot identify dominant interactions, but the stabilization is the result of several small different interactions. In this context, QTAIM can shed further light into this.

Ascertain the strength of bonds constitutes an open problem to this day, and there is no unique or straightforward manner to do so. In the present work, we will use the electron density, ρ, evaluated at the bond critical points, hereafter denoted as ρBCP, an indicator of the bonds’ strength. This idea has been applied before for estimating hydrogen bond stabilization energies [27, 28], and here we will conjecture that this relation is also valid for intramolecular interactions.

In “Steric effects,” we discussed how passing from A1 to E1 modifies the portions of the energy that can be associated with steric effects. Here, we will use the electron density, evaluated at the BCPs (associated in turn with standard chemical bonds), in order to qualitatively estimate the changes in the bond strengths of the 3NFAc, and we will suppose that there exists a relation \(E_{i}\propto \rho _{BCP_{i}}\); here, Ei would be the i th bond stabilization energy. In Fig. S5 of the Supporting Information, we show the difference \(\rho _{BCP_{i}}(\mathbf {A1})-\rho _{BCP_{i}}(^{\boldsymbol {*}}\mathbf {E1})\) for all regular bonds of the 3NFAc. We observe that essentially all bonds are affected when passing from A1 to E1, either increasing or decreasing \(\rho _{BCP_{i}}\), in such a manner that no general trend can be inferred, i.e., some \(\rho _{BCP_{i}}\)’s increase and some decrease. This is consistent with the discussion presented in “Steric effects,” in the sense that observing a single interaction does not account for the overall stabilization of A1. That is, we have to look at the changes suffered by all bonds (even those considered to be far away), interactions, and effects (such as steric or electron delocalization —below).

Ellipticity profiles

Not only every bond and every steric collision are affected when passing from A1 to E1, but also other more subtle phenomena, such as the electron delocalization and the polar character of some bonds. Again, measuring these effects on a system is an open problem, but we can still extract some useful information using another field derived from the topological properties of the electron density. To this end, in Fig. 8, we show the ellipticity profiles along the bond paths that connect the atoms C2-C11 (Fig. 8a) and C1-C7 (Fig. 8b).

Fig. 8
figure 8

Ellipticity profiles between a C2 and C11 (see shadowed bond of its inset), and b C1 and C7 (see shadowed bond of its inset). Solid lines are for the conformer A1 and dashed lines for E1. Vertical lines indicate the position of the bond critical point along the respective bond gradient path

Following closely the results and discussion reported by Cheeseman et al. [29] and Tafipolsky et al. [30], from Fig. 8, we remark the following. The ellipticity profile of the C2-C11 bond shows typical features of a π bond (see Fig. 8a and compare to Fig. 2a of [29]). The maximum of the ellipticity, along the bond path, is close to the critical point (see vertical lines in Fig. 8), which implies that ρ accumulates around the BCP in planes that are perpendicular to the bond path and close to the BCP. Furthermore, since the ellipticity values are, in general, higher in A1, we can say that the π character of the of the bond C2-C11 increases, or equivalently that the electron delocalization slightly improves along this bond.

On the other hand, the ellipticity profiles for the bonds C1-C7 of A1 and E1, respectively, show important differences (see Fig. 8b). The ellipticity profile, for E1, of the bond C1-C7 has roughly the same shape as the bond C2-C11, which implies that the latter bond also has a strong π character. However, the profile, for A1, of the bond C1-C7 is less symmetric, and the ellipticity (evaluated at the BCP) is smaller, relative to the conformer E1, which suggests that the bond C1-C7 in A1 has a weakened π character.

In both A1 and E1, a local maximum of ε is found close to C7, which indicates that there is a plane around C7 and perpendicular to the bond path; therefore, the π character of the C1-C7 increases nearby the C7 atom. This is consistent with the fact that C7 participates in nπ interactions, i.e., the electron density around C7 increases due to the double nπ interaction.

For complete purposes, we show the ellipticity profile of the bond C6-N18 in Fig. S6 of the Supporting Information. The profiles are quite similar for A1 and E1, both in shape and height.

Gas vs crystal phases

Quite recently, it has been discussed how much one may extrapolate the observations and results made in gas-phase, as to the nπ interactions, into the designing of molecules in the crystal phase [43]. In this phase, intramolecular interactions may be slightly weakened (relative to the gas phase), in order to allow for both the minimization of intermolecular steric repulsions and the maximization of stabilizing intermolecular interactions, although the total energy of the molecules is almost unaffected. Again, the 3NFAc does not follow exactly the same trend, which is at this point not really surprising because, once more, the crowded electron density around the −NO2 and both –COOH groups is tightly coupled, which precludes this molecule to show an intuitive behaviour. For completeness purposes, we performed the NBO, QTAIM, and NCI analyses upon the x-ray structure of the 3NFAc, which we show in Figs. S7 and S8 of the Supplementary Information (computational details for this section are presented in Section 5 of the Supplementary Information).

From Figs. S7 and S8 and Table S1 of the Supplementary Information, we observe that the double nπ interaction is also present in crystal phase, and that the total energy is barely modified: the difference EAxEA1 = 1.18 kcal mol− 1. (Here, Ax is the structure obtained from a partial optimization of the x-ray geometry with 𝜃1𝜃5 frozen, and this does not include ZPE corrections; see Supporting Information for further details.) The latter is consistent with the findings of Breton et al. [43]. However, the nπ interactions are enhanced, as opposed to be weakened: the E(2) of NBO1 increases by 1.99 kcal mol− 1 and the E(2) of NBO2 increases by 0.89 kcal mol− 1, which stems from a greater overlap between the n and π orbitals, as adopted in the crystal phase (see and compare Fig. 5a, b and S7 of the Supporting Information). Furthermore, in the crystal configuration, the chemical environment is modified so that the overall intramolecular steric repulsions increase (\(S^{(sx)}_{\textbf {Ax}}-S^{(sx)}_{\textbf {A1}}=6.04\)). This is not surprising because, in the crystal phase, the 3NFAc’s molecules interact through four hydrogen bonds: two C–H⋯O bonds (H17 and −NO2), and two O–H⋯O bond (H14 and –COOH) [42]. This quadruple intermolecular interaction causes the central –COOH group to be almost perpendicular to the benzenic ring, and the other two groups to be almost co-planar (see Table S1 of the Supplementary information, dihedrals 𝜃1, 𝜃2 and 𝜃4). This geometric configuration allows the greater overlap of the NBO orbitals, which in turn strengthens the NBO1 and NBO2 interactions, and also renders the total steric repulsions to increase, relative to the gas-phase structure A1, because the quadruple intermolecular interaction compensates this pair of unstabilizing effects in the crystal phase.

Overall remarks

In addition to the fact that none of the 3NFAc’s bonds or interactions determine its structural properties, this molecule constitutes a very interesting case, wherein two apparently weak non-covalent interactions (each of which of ∼2.4 kcal mol− 1) subdue a moderate intramolecular hydrogen bond (of ∼10 kcal mol− 1). This outcome is only possible because the intramolecular forces and effects are highly coupled to the dihedral angles (𝜃1𝜃5) variation. This coupling may be somewhat expected, as the 3NFAc encompasses three highly de-localizable functional groups (namely, one −NO2 and two –COOH), attached to a benzenic ring, and in consecutive positions. This renders a system with a crowded electron density, which couples the three groups in such a manner that rotating one single dihedral affects not only the immediately surrounding bonds and attractive/repulsive effects, but also modifies the behaviour of farther pieces of the molecule, and even can affect the electron delocalization that involves the benzenic ring. These long-range coupling reflects in a lowest-energy confomer, in which it is preferred the formation of weak nπ interactions over a moderate hydrogen bond, in such a manner that the overall steric repulsion is decreased, at the cost of modifying the electron density of the molecule, and consequently the properties of all individual bonds.

Conclusions

We have presented a theoretical analysis, based on natural bond orbital decomposition, the quantum theory of atoms in molecules, and non-covalent interaction index methodologies, carried out upon all conformers of 3-nitrophthalic acid (3NFAc) that have different total electron energy. The lowest-energy conformer of the 3NFAc is the result of a fragile balance between two intramolecular “weak” interactions of the type nπ, the overall steric effects, and the delocalization of the −NO2 and both –COOH groups with the benzenic ring. The most salient feature of this molecule is that neither of the previous forces can be considered dominant, in such a manner that two nπ interactions may exist, and be strong enough to overcome the stabilizing effect of an intramolecular hydrogen bond (which is present in more than one of the 3NFAc’s conformers)… perhaps with a little help from their friends (delocalization and electronic repulsion). The analysis shown here should serve for not to forget that the stability of a molecule is the product of the combined effects of different interactions and forces, and that sometimes, one cannot identify a unique dominant interaction.