{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Solutions Q39 - 46"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"# import all python add-ons etc that will be needed later on\n",
"%matplotlib inline\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from sympy import *\n",
"init_printing() # allows printing of SymPy results in typeset maths format\n",
"plt.rcParams.update({'font.size': 16}) # set font size for plots"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Q39 answer\n",
"(a) Taking the dot product\n",
"\n",
"$$\\displaystyle \\vec\\psi_1\\cdot\\vec \\psi_2 = (a_1\\vec\\varphi_1 + a_2\\vec\\varphi_2)\\cdot(b_2\\vec\\varphi_1-b_2\\vec\\varphi_2) = a_1b_1\\vec\\varphi_1\\cdot\\vec\\varphi_1 -a_1b_2\\vec\\varphi_1\\cdot\\vec\\varphi_2+ a_2b_1\\vec\\varphi_2\\cdot\\vec\\varphi_1 - a_2b_2\\vec\\varphi_2\\cdot\\vec\\varphi_2 $$\n",
"\n",
"If we now use the orthonormality of the base vectors $\\vec\\varphi_1, \\vec\\varphi_2$ , then basis set vector components with dissimilar indices are zero, and those with the same index unity, leaving $\\vec\\psi_1\\cdot\\vec \\psi_2 = a_1b_1 - a_2b_2$. This is the same result as obtained using equation 36. Equivalent results are found using the summation formula:\n",
"\n",
"$$\\displaystyle \\sum_{p=1}^2\\sum_{q=1}^2=a_pb_q\\delta_{p,q} =a_1(b_1\\delta_{11}-b_2\\delta_{12})+a_2(b_1\\delta_{21}-b_2\\delta_{22})= a_1b_1-a_2b_2$$\n",
"\n",
"and in matrix form $\\displaystyle \\begin{bmatrix}a_1&a_2\\end{bmatrix}\\begin{bmatrix}b_1\\\\-b_2\\end{bmatrix}=a_1b_1-a_2b_2$\n",
"\n",
"(b) A vector $\\vec v$ is normalized when it becomes $\\displaystyle \\vec v \\to \\frac{\\vec v}{\\sqrt{\\vec v\\cdot\\vec v}}$. Normalisation produces \n",
"\n",
"$$\\displaystyle \\vec \\psi_1=\\frac{a_1\\vec\\varphi_1+a_2\\vec\\varphi_2}{\\sqrt{a_1^2+a_2^2}},\\quad \\vec \\psi_2=\\frac{b_1\\vec\\varphi_1-b_2\\vec\\varphi_2}{\\sqrt{b_1^2+b_2^2}}$$\n",
"\n",
"## Q40 answer\n",
"The wavefunctions are $\\vec \\psi_1 = 2\\vec\\varphi_1 + 2\\vec\\varphi_2$, and $\\vec\\psi_2 = 4\\vec\\varphi_1 - 4\\vec\\varphi_2$ \n",
"\n",
"and when normalized are $\\vec\\psi \\to \\vec\\psi/\\sqrt{\\vec\\psi\\cdot\\vec\\psi}$.\n",
"\n",
"The dot product is $\\displaystyle \\vec\\psi_1\\cdot\\vec\\psi_1= 4(\\vec\\varphi_1 + \\vec\\varphi_2)\\cdot(\\vec\\varphi_1 + \\vec\\varphi_2) =8$\n",
"\n",
"and the then $\\displaystyle \\vec\\psi_1= \\frac{2}{\\sqrt{8}}(\\vec\\varphi_1 + \\vec\\varphi_2)$ and similarly $\\displaystyle \\vec\\psi_2= \\frac{2}{\\sqrt{8}}(\\vec\\varphi_1 - \\vec\\varphi_2)$. The dot product $\\vec\\psi_1\\cdot\\vec\\psi_2=0$ because $\\vec\\varphi_1\\cdot\\vec\\varphi_2=0$. We conclude that the wavefunctions are orthogonal and could therefore describe two eigenstates of the same quantum system. The wavefunctions could be describing H$^+_2$ and if so have the form of bonding and anti-bonding orbitals.\n",
"\n",
"## Q41 answer\n",
"Yes, because the dot product is zero; $(1 + 1 - 1 - 1)/4 = 0$.\n",
"\n",
"## Q42 answer\n",
"(a) The dot product is zero if the two orbitals are orthogonal. Choosing $\\vec v_1$ and $\\vec v_2$, their dot product is $(-1 + 1 + 0 -1 + 1 + 0)=0$, and with $\\vec v_3$ and $\\vec v_6$ produce $(-1+0-+1+0+1)=0$ and so on, except for $\\vec v_3$ and $\\vec v_2$. Their dot product is $\\vec v_2\\cdot\\vec v_3 = (+1 +0 +0 +1 +0 +0) = 2$ so these vectors are not orthogonal to one another. Orbitals 5 and 6 are orthogonal with orbitals 1 to 4, but not with one another because their dot product produces $-2$ and not zero.\n",
"\n",
"(b) One linear combination is $\\vec v_2+\\vec v_3=\\begin{bmatrix}-2&1&1&-2&1&1\\end{bmatrix}$, \n",
"\n",
"the other $\\vec v_2-\\vec v_3=\\begin{bmatrix}0&1&-1&0&1&-1\\end{bmatrix}$ \n",
"\n",
"and the dot product with $\\vec v_1$ is\n",
"\n",
"$$\\displaystyle \\vec v_1\\cdot (\\vec v_2 +\\vec v_3) = \\begin{bmatrix} 1 & 1 & 1 & 1 & 1 & 1 \\end{bmatrix} \\begin{bmatrix} -2 \\\\ 1 \\\\ 1 \\\\ -2 \\\\ 1 \\\\ 1 \\end{bmatrix} = 0$$\n",
"\n",
"and with the other linear combination is also zero,\n",
"\n",
"$$\\displaystyle (\\vec v_2-\\vec v_3)\\cdot (\\vec v_2 +\\vec v_3) = \\begin{bmatrix} 0 & 1 & -1 & 0 & 1 & -1 \\end{bmatrix} \\begin{bmatrix} -2 \\\\ 1 \\\\ 1 \\\\ -2 \\\\ 1 \\\\ 1 \\end{bmatrix} = 0$$\n",
"\n",
"therefore these new orbitals are orthogonal with one another and with the other orbitals.\n",
"\n",
"Normalizing a vector v can be achieved with $\\vec v/\\sqrt{\\vec v\\cdot\\vec v}$. This produces the following results $(\\vec v_2+\\vec v_3)\\cdot(\\vec v_2+\\vec v_3)=12$ hence the normalisation constant is $1/\\sqrt{12}$ and $(\\vec v_2-\\vec v_3)\\cdot(\\vec v_2-\\vec v_3)=4$ with normalisation constant $1/2$. \n",
"\n",
"The similar calculation on orbitals 5 and 6 produces the normalized vectors \n",
"\n",
"$$\\displaystyle \\vec v_5+\\vec v_5=\\begin{bmatrix}0&-1&-1&0&1&1\\end{bmatrix}/2,\\quad \\vec v_5-\\vec v_5=\\begin{bmatrix}-2&-1&1&2&1&-1\\end{bmatrix}/\\sqrt{12}$$\n",
"\n",
"(c) The orbitals are shown in Figures 89 and 90 in chapter 7, Matrices. Their shapes can also be obtained from a consideration of molecular group theory.\n",
"\n",
"## Q43 answer\n",
"(a) The angles are $\\alpha = 0,\\; \\beta= 0$; in calculating $\\vec R\\cdot\\vec \\mu_2$ use the angle $\\beta$ to the right of dipole. The angle $\\gamma$ between the dipoles is $180^\\text{o}$ as they are parallel and in line, then \n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2=-|\\vec\\mu_1||\\vec\\mu_2|$$\n",
"\n",
"With $R\\cdot\\mu_1=R|\\mu_1|\\cos(0)= R|\\vec \\mu_1|$, and $R\\cdot\\mu_2= R|\\vec \\mu_2|$\n",
"\n",
"the energy is\n",
"\n",
"$$\\displaystyle E=\\frac{1}{4\\pi\\epsilon_0}\\left( -\\frac{|\\vec\\mu_1||\\vec \\mu_2|}{R^3}-3\\frac{|\\vec\\mu_1||\\vec \\mu_2|R^2}{R^5}\\right)=-\\frac{|\\vec\\mu_1||\\vec \\mu_2|}{\\pi\\epsilon_0R^3}$$\n",
"\n",
"and because it is negative, this means that the interaction is attractive. In terms of the charge $\\delta$ on each molecule,$\\displaystyle E=\\frac{4\\delta^2a^2}{\\pi\\epsilon_0R^3}$ which shows that that the bigger the dipole is, the larger the interaction is as intuition would dictate.\n",
"\n",
"The maximum repulsion occurs in the opposite situation, when $\\alpha = 0,\\; \\beta = 180^\\text{o}$, now $\\vec R\\cdot\\mu_2=R|\\mu_2|\\cos(\\pi)= -R|\\vec \\mu_2|$ and the angle between the dipoles is zero, $\\vec\\mu_1\\cdot\\vec\\mu_2=|\\vec\\mu_1||\\vec\\mu_2|$. The energy is \n",
"\n",
"$$\\displaystyle E=+\\frac{|\\vec\\mu_1||\\vec \\mu_2|}{\\pi\\epsilon_o R^3}$$\n",
"\n",
"which is not unsurprisingly the same magnitude but of opposite energy to the attraction.\n",
"\n",
"(b) The minimum interaction occurs when the two terms n the equation are of equal and opposite sign, or both are zero. Intuitively, the latter occurs when the two dipoles are at $90^\\text{o}$ to one another as shown below, figure 71, and therefore, the positive and negative interactions cancel. However, the interaction is only zero if the one dipole points towards the centre of the other as in the left-hand diagram.\n",
"\n",
"![Drawing](vectors-fig71.png)\n",
"\n",
"Figure 71. Dipole orientations.\n",
"________\n",
"\n",
"When the angle between the dipoles is $90^\\text{o}$, then $\\vec\\mu_1\\cdot\\vec\\mu_2 = 0$. However, $\\vec R\\cdot\\mu_2 = 0$ only when the left-hand dipole is in line with the centre of the other and then the total interaction energy is zero. There is zero interaction if either $\\alpha = 0°,\\; \\beta = 90^\\text{o}$ or $\\alpha = 90^\\text{o},\\; \\beta = 0$.\n",
"\n",
"Additionally, zero interaction can occur when the two terms in the equation cancel. If we assume that the dipoles are in the plane of the page, then by making a triangle of the two vectors, as shown in figure 26, the angle between the dipoles is $\\gamma = 180 - \\alpha - (180 - \\beta)$. The condition for zero interaction is\n",
"\n",
"$$\\displaystyle |\\vec\\mu_1||\\vec\\mu_2|\\cos(\\beta-\\alpha)=3|\\vec\\mu_1|\\cos(\\alpha)|\\vec\\mu_2|\\cos(\\beta)$$\n",
"\n",
"and by dividing both sides by common terms and expanding the cosine as \n",
"\n",
"$$\\displaystyle \\cos(\\beta - \\alpha) = \\cos(\\alpha)\\cos(\\beta) + \\sin(\\alpha)\\sin(\\beta),\\quad \\text{ then }\\quad \\tan(\\alpha)\\tan(\\beta) = 2$$\n",
"\n",
"Figure 72 shows the solution by plotting $\\tan(\\alpha)$ and $2/\\tan(\\beta)$ vs the angle which produces $\\alpha=\\beta= \\pm 54.73^\\text{o}$, therefore both dipoles are parallel and at the same angle to the vector separating them, as shown below.\n",
"\n",
"![Drawing](vectors-fig72.png)\n",
"\n",
"Figure 72. Dipole angles.\n",
"________\n",
"\n",
"(c) In figure 27 the vectors are parallel and the angle between them is zero, so that \n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2 = | \\vec\\mu_1 || \\vec\\mu_2 |$$\n",
"\n",
"The other dot products are \n",
"\n",
"$$\\displaystyle \\vec\\mu_2\\cdot \\vec R = |\\vec\\mu_2 ||\\vec R|\\cos(\\theta),\\quad \\vec\\mu_1\\cdot\\vec R = |\\vec\\mu_1 ||\\vec R|\\cos(\\theta)$$\n",
"\n",
"and from this, the answer follows after some simplification. Additionally, when $\\cos(\\theta) = \\sqrt{1/3}$, then the expression is zero and $\\theta = 54.7^\\text{o}$, as in the previous question.\n",
"\n",
"(d) In figure 28 (i) the angle $\\displaystyle \\gamma =180-30-100$ hence \n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\vec\\mu_2 = 15\\cos(50\\pi/180),\\quad \\vec\\mu_1\\cdot\\vec R = 20\\cos(30\\pi/180),\\quad \\vec R\\cdot\\vec\\mu_2 = 12\\cos(80\\pi/180)$$\n",
"\n",
"therefore $E = 0.045\\;\\mathrm{ D^2 nm^{-3}} \\equiv 0.045 \\cdot 10^{-23}$ J (notice that $\\mathrm{D^2}\\cdot10^{-27}/4\\pi\\epsilon_0 = 10^{-22}$). Thermal energy at 300 K is $4.142 \\cdot 10^{-21} \\equiv 414.2 \\cdot 10^{-23}$ J, which is larger by $\\approx 10^4$ times than the dipole - dipole interaction. Therefore, at this temperature the dipolar molecules cannot take up any preferred orientations with respect to one another because solvent molecules continuously jostle them and this has the effect of randomising their orientations."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Q44 answer\n",
"Let $\\vec R$ be a vector along the line between the centres of the two dipoles. The dot products with $\\vec R$ are \n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec R = \\mu_1R\\cos(\\theta_1),\\quad\\vec\\mu_2\\cdot\\vec R = \\mu_2R\\cos(\\theta_2)$$\n",
"\n",
"where $\\mu_1,\\; \\mu_2$ are the lengths of the dipoles and $R$ the length of $\\vec R$. The redrawn diagram is shown in figure 73.\n",
"\n",
"![Drawing](vectors-fig73.png)\n",
"\n",
"Figure 73. Two dipoles in polar coordinates.\n",
"______\n",
"The distance from the origin to $B$, is the projection of $\\vec\\mu_2$ onto the $x-y$ plane which is $\\vec\\mu_1\\cos(90 - \\theta_1)$ or $x = \\mu_1\\sin(\\theta_1)$, and the projection onto the $x$-axis (length A) is $\\mu_1\\sin(\\theta_1)\\cos(\\phi_1)$. The projection onto the $y$-axis (length $B$) is $y = \\mu_1\\sin(\\theta_1)\\sin(\\phi_1)$ and onto the $z$-axis is $z = \\mu_1\\cos(\\theta_1)$. Thus, a vector can now be written in $x, y, z$ coordinates. The same arguments apply to the other vector. All that now remains to write and simplify the dot product in a suitable basis. The $i, j, k$ basis can be used but a matrix vector basis is clearer;\n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2 =\\mu_1\\mu_2\\begin{bmatrix} \\sin(\\theta_1)\\cos(\\phi_1) & \\sin(\\theta_1)\\sin(\\phi_1) & \\cos(\\theta_1) \\end{bmatrix} \\begin{bmatrix}\\sin(\\theta_2)\\cos(\\phi_2)\\\\\\sin(\\theta_2)\\sin(\\phi_2)\\\\ \\cos(\\theta_2) \\end{bmatrix} $$\n",
"\n",
"this expands to \n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2 =\\mu_1\\mu_2\\big(\\sin(\\theta_1)\\cos(\\phi_1)\\sin(\\theta_2)\\cos(\\phi_2)+ \\sin(\\theta_1)\\sin(\\phi_1)\\sin(\\theta_2)\\sin(\\phi_2)+\\cos(\\theta_1)\\cos(\\theta_2 \\big)$$\n",
"\n",
"The terms can be combines using the identity $\\cos(a-b)=\\cos(a)\\cos(b)+\\sin(a)\\sin(b)$ to give\n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2 =\\mu_1\\mu_2\\big(\\sin(\\theta_1)\\sin(\\theta_2)\\cos(\\phi_1-\\phi_2)+\\cos(\\theta_1)\\cos(\\theta_2)\\big)$$\n",
"\n",
"Combining with the other terms gives\n",
"\n",
"$$\\displaystyle R^2\\vec\\mu_1\\cdot\\mu_2-3(\\vec\\mu_1\\cdot\\vec R ) ( \\vec\\mu_2\\cdot\\vec R) = R^2\\mu_1\\mu_2 \\big(\\sin(\\theta_1)\\sin( \\theta_2 )\\cos(\\phi_1-\\phi_2) + \\cos(\\theta_1)\\cos(\\theta_2) - 3\\cos(\\theta_1)\\cos(\\theta_2) \\big) $$\n",
"\n",
"which, when simplified, produces the equation in the question.\n",
"\n",
"## Q45 answer\n",
"(a) The interaction between the dipoles is estimated by considering the distance between their positive and negative partial charges. The separation between the C and O atoms is constant, therefore so is their interaction, each atom's dipole here being slightly $\\delta+$. The determining attraction is therefore between the negative ends of each dipole with the positive and negative parts of the other dipole.\n",
"\n",
"In the molecule shown on the left of figure 74, the negative charges of the two dipoles are far apart between the two axial positions, so interact only slightly. The interaction between the axial $\\vec\\mu_x$ and equatorial $\\vec\\mu_O$ is larger, as the ends of the dipole are closer, and is more repulsive than the $a-a$ interaction.\n",
"\n",
"The molecule on the right with the $e$ substituent, has a strong repulsive interaction between the $e-e$ direction dipoles and the same repulsion for the $e-a$ interaction as in the other molecule, therefore, the $e$ substituent molecule is less stable. In a solvent all the interactions are reduced by $1/\\epsilon$ which is largest in a polar solvent. If the dipole interaction is already small, making it smaller has little effect. Therefore, the solvent effect is most important in reducing the $e$ substituent's dipole repulsion, making it more likely that equal amounts of the axial and equatorial substituents are produced in polar solvents, as shown by experiment.\n",
"\n",
"(b) Determining the geometry of the molecule is the most difficult part, whereas calculating the dot products is relatively easy so the calculation is far easier using vectors. Using the idealized symmetry of the structure considerably simplifies the calculation; bonds $A$ and $A'$ are parallel to one another, and so are the $B$ and $B'$, and $C$ and $C'$ bonds; the projection of bond $B$ bisects the $C'-A'$ bonds.\n",
"\n",
"Recall, that a tetrahedral atom can be placed at the centre of a cube the surrounding atoms reaching opposite corners, see question 14. This enables us to determine the molecule's coordinates as shown in the diagram, and from these, bond vectors can be made with which to calculate the dipole energy.\n",
"\n",
"![Drawing](vectors-fig74.png)\n",
"\n",
"Figure 74. Geometries for the anomeric effect calculation.\n",
"_______\n",
"\n",
"Considering the axial substituent, bond $C$ first, its dipole is $\\vec\\mu_x = \\beta\\vec\\mu_{nx}$ where $\\vec\\mu_{nx}$ is a unit vector in the direction of the dipole, in our coordinates this is also the direction of bond $C$. The dipole vector is $\\vec \\mu_x = \\beta\\begin{bmatrix}-1&1 &-1\\end{bmatrix}/\\sqrt{3}$, where $1/\\sqrt{3}$ is the normalization. The axial vector of the oxygen lone pairs is along direction $C'$, and is the vector $\\vec\\mu_O = \\alpha\\begin{bmatrix}1 &-1 & 1\\end{bmatrix}/\\sqrt{3}$ which obtained from the coordinates of $(\\vec v_3 - \\vec v_4) - v_3$ or $-\\vec v_4$. The vector between the dipoles is taken to be along the bond $d$, and is therefore $\\vec R = d\\begin{bmatrix}1 &-1 &-1\\end{bmatrix}/\\sqrt{3}$.\n",
"\n",
"The dot products are \n",
"\n",
"$$\\displaystyle \\begin{align}\\vec\\mu_O\\cdot\\vec\\mu_x &=\\frac{\\alpha\\beta}{3}\\begin{bmatrix}1&-1&1\\end{bmatrix}\\begin{bmatrix}-1\\\\1\\\\-1 \\end{bmatrix}=-\\alpha\\beta \\\\\n",
"\\vec\\mu_O\\cdot\\vec R &=\\frac{\\alpha d}{3}\\begin{bmatrix}1&-1&1\\end{bmatrix}\\begin{bmatrix}1\\\\-1\\\\-1 \\end{bmatrix}=\\frac{\\alpha d}{3} \\\\\n",
"\\vec\\mu_x\\cdot\\vec R &=\\frac{\\beta d}{3}\\begin{bmatrix}-1&1&-1\\end{bmatrix}\\begin{bmatrix}1\\\\-1\\\\-1 \\end{bmatrix} =-\\frac{\\beta d}{3} \\end{align}$$\n",
"\n",
"The dipolar energy is therefore\n",
"\n",
"$$\\displaystyle E=\\frac{1}{4\\pi\\epsilon_0\\epsilon}\\left(\\frac{\\vec\\mu_O\\cdot\\vec\\mu_x}{R^3}-3\\frac{(\\vec\\mu_O\\cdot\\vec R)(\\vec\\mu_x\\cdot\\vec R)}{R^5} \\right)=-\\frac{1}{4\\pi\\epsilon_0\\epsilon}\\frac{2\\alpha\\beta}{3d^3}$$\n",
"\n",
"Python/Sympy can now be used to complete the calculation. The vectors are defined first, then the energies calculated but for clarity without the constants, which can be added later. The vectors are worked out using the figure.\n",
"\n",
"![Drawing](vectors-fig75.png)\n",
"\n",
"Figure 75. Notation used in the calculation; bond labels and the coordinates of the atoms.\n",
"_____"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle \\left[\\begin{matrix}- \\frac{2 \\alpha \\beta}{3 d^{3}}\\end{matrix}\\right]$"
],
"text/plain": [
"⎡-2⋅α⋅β ⎤\n",
"⎢───────⎥\n",
"⎢ 3 ⎥\n",
"⎣ 3⋅d ⎦"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"alpha,beta,R,d=symbols('alpha,beta,R,d')\n",
"\n",
"muXa = beta*Matrix( [-1, 1, -1] )/sqrt(3) # x dipole axial\n",
"muXe = beta*Matrix( [-1,-1, 1] )/sqrt(3) # x dipole equatorial\n",
"muOa = alpha*Matrix([1, -1, 1] )/sqrt(3) # O dipole axial\n",
"muOe = alpha*Matrix([-1,-1, -1] )/sqrt(3) # O dipole equatorial\n",
"R = d*Matrix([1,-1,-1])/sqrt(3) # vector between dipoles\n",
"energy_axial_axial= (muOa.T * muXa)/d**3 - 3*(muOa.T *R)*(muXa.T*R)/d**5\n",
"energy_axial_axial"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle \\left[\\begin{matrix}\\frac{2 \\alpha \\beta}{3 d^{3}}\\end{matrix}\\right]$"
],
"text/plain": [
"⎡2⋅α⋅β⎤\n",
"⎢─────⎥\n",
"⎢ 3⎥\n",
"⎣ 3⋅d ⎦"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"energy_axial_equat = (muOe.T * muXa)/d**3 - 3*(muOe.T *R)*(muXa.T*R)/d**5\n",
"energy_axial_equat"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle \\left[\\begin{matrix}\\frac{2 \\alpha \\beta}{3 d^{3}}\\end{matrix}\\right]$"
],
"text/plain": [
"⎡2⋅α⋅β⎤\n",
"⎢─────⎥\n",
"⎢ 3⎥\n",
"⎣ 3⋅d ⎦"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"energy_equat_equat = (muOe.T * muXe)/d**3 - 3*(muOe.T *R)*(muXe.T*R)/d**5\n",
"energy_equat_equat"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle \\left[\\begin{matrix}\\frac{2 \\alpha \\beta}{3 d^{3}}\\end{matrix}\\right]$"
],
"text/plain": [
"⎡2⋅α⋅β⎤\n",
"⎢─────⎥\n",
"⎢ 3⎥\n",
"⎣ 3⋅d ⎦"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"energy_equat_axial = (muOe.T * muXa)/d**3 - 3*(muOe.T *R)*(muXa.T*R)/d**5\n",
"energy_equat_axial"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The sum of the axial substituent's dipole -dipole energy is zero, that of the equatorial substituent is\n",
"\n",
"$$\\displaystyle E=\\frac{1}{4\\pi\\epsilon_0\\epsilon}\\frac{4\\alpha\\beta}{3d^3}$$\n",
"\n",
"which is a considerable repulsive energy. As $\\epsilon$, the dielectric constant changes from $\\approx 2$ in a non-polar solvent to $\\approx 80$ in water, this energy decreases significantly in water and similar polar solvents, and hence almost equal axial and equatorial substituents are expected and observed.\n",
"\n",
"As a check, suppose as a ball-park figure, that the dipoles are $1$ D each ($1\\;\\mathrm{D} = 3.33\\cdot10^{-30}$ C m) and the bond length $d = 0.15$ nm. This makes the dipole - dipole energy approximately $4\\cdot 10^{-20}/\\epsilon$ J which, in a non-polar solvent when $\\epsilon \\approx 2$ , is about five times larger than thermal energy at room temperature, $0.41\\cdot 10^{-20}$ J, but is much smaller than thermal energy when $\\epsilon \\approx 80$.\n",
"\n",
"Exercise: Repeat the calculation, but correctly define $R$ as the vector between the centres of each pair of dipoles. $R$ will no longer have length $d$ and this will have to be calculated in each case.\n",
"\n",
"## Q46 answer\n",
"(a) The Mg-Mg distance is calculated using positional vectors,say $p$ and $q$, from the origin, $\\vec OO=\\begin{bmatrix} 0& 0& 0\\end{bmatrix}$ to each of the Mg atoms. The distance is then $|\\vec p -\\vec q|$.\n",
"\n",
"Taking values from the data\n",
"\n",
"$$\\displaystyle \\vec p=\\begin{bmatrix}114.289 & 22.722 & 26.723\\end{bmatrix},\\quad \\vec q=\\begin{bmatrix}106.145 & 30.029 & 31.708\\end{bmatrix}$$\n",
"\n",
"then the distance$|\\vec p -\\vec q|= \\Delta^2_x +\\Delta^2_y +\\Delta^2_z$ where $\\Delta$ is the difference in $x-, y-$, or $z$-coordinate and we find that $d_{Mg-Mg} = 12.02$ angstrom or $1.202$ nm. When normalised this Mg-Mg vector is $\\begin{bmatrix}0.677 &-0.608 &-0.415\\end{bmatrix}$.\n",
"\n",
"(b) To calculate a unit dipole vector along the Mg-NA bond, we first have to calculate the vector and normalize it, which means dividing by its length, in this case the bond length.\n",
"\n",
"The dipole vector $\\vec\\mu_1$ for the donor (atoms 498 and 518) is \n",
"\n",
"$$\\displaystyle \\begin{bmatrix}(114.289 -115.789) & (22.722 - 24.007)& (26.723 - 27.556)\\end{bmatrix} = \\begin{bmatrix}-1.500& -1.283& -0.833\\end{bmatrix}$$\n",
"\n",
"and as the length, Mg-NA is $2.14$ angstrom the normalized vector is \n",
"\n",
"$$\\displaystyle \\vec\\mu_1=\\begin{bmatrix}-0.699& -0.599& -0.388\\end{bmatrix}$$\n",
"\n",
"With vector $\\vec\\mu_2$ a similar calculation also produces a length of $2.14$ angstrom. The normalized vector is\n",
"\n",
"$$\\displaystyle \\vec\\mu_2=\\begin{bmatrix}0.823 &0.344 &-0.451\\end{bmatrix}$$\n",
"\n",
"and as a check, the sum of the squares of the vector components should add to one when normalized; i.e. its dot product is one.\n",
"\n",
"The dot product\n",
"\n",
"$$\\displaystyle \\vec\\mu_1\\cdot\\vec\\mu_2=\\begin{bmatrix}-0.699& -0.599& -0.388\\end{bmatrix}\\begin{bmatrix}0.823 \\\\0.344 \\\\-0.451\\end{bmatrix}=-0.607$$\n",
"\n",
"and calculating the other dot products in a similar way produces; \n",
"\n",
"$$\\displaystyle \\chi = \\vec\\mu_1\\cdot\\vec\\mu_2 - 3(\\vec\\mu_1\\cdot\\vec r)(\\vec\\mu_2\\cdot\\vec r) = -0.689$$\n",
"\n",
"and therefore $\\chi^2 = 0.476$. The calculation in Python can be done as follows:"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"chi squared = 0.476\n"
]
}
],
"source": [
"#Algorithm. Calculate orientation between dipoles in Chlorphyll molecules.\n",
"# dipole (N518-Mg498) and dipole (N543-Mg525)\n",
"\n",
"p = np.array([ 114.289,22.722, 26.723 ]) # Mg 498\n",
"q = np.array([ 106.145,30.029, 31.708 ]) # Mg 525\n",
"\n",
"ND518 = np.array( [115.789,24.007, 27.556] ) # N atom 518\n",
"ND543 = np.array( [104.38 ,29.292, 32.675] ) # N atom 543 \n",
"R = p - q # R is now a vector of length 3 \n",
"mu1 = p - ND518\n",
"mu2 = q - ND543\n",
"\n",
"d_N_Mg1 = np.sqrt(np.dot(mu1,mu1)) # distances\n",
"d_N_Mg2 = np.sqrt(np.dot(mu2,mu2))\n",
"d_Mg_Mg = np.sqrt(np.dot(R,R) ) \n",
"\n",
"nmu1 = mu1/d_N_Mg1 # normalise vectors \n",
"nmu2 = mu2/d_N_Mg2\n",
"nR = R/d_Mg_Mg\n",
"\n",
"mu1_mu2 = np.dot(nmu1,nmu2)\n",
"mu1_R = np.dot(nmu1,nR)\n",
"mu2_R = np.dot(nmu2,nR)\n",
"chi = mu1_mu2 - 3*mu1_R*mu2_R\n",
"print('{:s}{:6.3f}'.format('chi squared = ', chi**2) )"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}