Appendix AA Mathematical Toolbox
Because this book is written under the policy of “not omitting algebraic manipulations,” tools from calculus and linear algebra appear repeatedly in the main text. They are all things that you should have studied at least once in your first or second year of undergraduate study, but few readers have mastered them well enough to know how to “use” them in the context of quantum chemistry. In this appendix we collect the mathematics needed in the main text, using the same symbols as the main text, giving only the necessary results, and including proofs.
There are two ways to read it. A reader who goes through the book from Chapter 1 in order can simply consult the relevant section whenever the main text says “see Appendix A.” A reader who feels uneasy about mathematics will find that the outlook for everything that follows becomes far clearer if they read A.1–A.6 straight through once before proceeding to Chapter 2.
- A.1 Complex numbers, complex conjugates, and Euler's formula (the bare minimum for writing wave functions)
- A.2 Polar coordinates, the Laplacian, the volume element, and the Jacobian
- A.3 Elliptical coordinates (prolate spheroidal coordinates), the coordinate system for two-center problems
- A.4 A collection of Gaussian integral formulas (all those used in this book, with proofs)
- A.5 Lagrange's method of undetermined multipliers
- A.6 The matrix eigenvalue problem and the secular equation
- A.7 Taylor and Maclaurin expansions and the approximations used in this book
- A.8 Summary of the rules of bra–ket notation
- A.9 Integration by parts and the integral formulas used in this book
- A.10 Table of physical constants and unit conversions
A.1 Complex Numbers and Complex Conjugates
A.1.1 Euler's formula
The imaginary unit $i$ is defined by $i^2=-1$. For a real number $\theta$, the following holds.
$$ \begin{equation} e^{i\theta} = \cos\theta + i\sin\theta \label{eq:A-euler} \end{equation} $$This is called Euler's formula. Lining up the Maclaurin expansions of $e^x$, $\cos x$, and $\sin x$ (Section A.7), one can immediately check that the real parts and the imaginary parts agree.
The first wave function to appear in this book is the plane wave of Chapter 2,
$$ \psi(x,t) = A\,e^{2\pi i\left(x/\lambda - \nu t\right)} = A\cos 2\pi\!\left(\frac{x}{\lambda}-\nu t\right) + iA\sin 2\pi\!\left(\frac{x}{\lambda}-\nu t\right) $$Since the amplitude $A$ and the phase $2\pi(x/\lambda-\nu t)$ can be combined into a single exponential function, differentiation becomes extremely simple. Indeed,
$$ \frac{\partial}{\partial x}e^{2\pi i x/\lambda} = \frac{2\pi i}{\lambda}e^{2\pi i x/\lambda}, \qquad \frac{\partial^2}{\partial x^2}e^{2\pi i x/\lambda} = \left(\frac{2\pi i}{\lambda}\right)^{2}e^{2\pi i x/\lambda} = -\frac{4\pi^2}{\lambda^2}e^{2\pi i x/\lambda} $$If we kept the trigonometric form, $\sin$ and $\cos$ would be interchanged, and we would not obtain the form of the eigenvalue equation $\hat p\psi = p\psi$ (Chapter 2, Section 2.7). Half of the reason for using complex numbers lies in this property that “differentiation does not change the form.”
A.1.2 Complex conjugates and the squared absolute value
Definition: Complex conjugate
For a complex number $z=a+bi$ ($a,b$ real), $z^{*}=a-bi$ is called the complex conjugate of $z$. For the exponential function, $\left(e^{i\theta}\right)^{*}=e^{-i\theta}$. The squared absolute value is given by
$$ \abs{z}^2 = z^{*}z = (a-bi)(a+bi) = a^2+b^2 $$and is always real and nonnegative.
Interpreting the squared absolute value $\rho=\psi^{*}\psi=\abs{\psi}^2$ of the wave function $\psi$ as the probability density is Born's interpretation (Chapter 2, Section 2.3). Since the probability density is a measurable quantity, it must be real, and the form $\psi^{*}\psi$ guarantees that it is “always real.” For example, if $\psi = Ae^{2\pi i(x/\lambda-\nu t)}$, then
$$ \rho = \psi^{*}\psi = A^{*}e^{-2\pi i(x/\lambda-\nu t)}\cdot A e^{2\pi i(x/\lambda-\nu t)} = \abs{A}^2 $$so the probability density is a constant value that depends on neither time nor position. A plane wave is a wave that “exists uniformly everywhere.”
Caution: $\psi^2$ and $\abs{\psi}^2$ are different
When the wave function is real, $\psi^2=\abs{\psi}^2$, but the two do not coincide when it is complex. In this book, what appears in probability densities, expectation values, and integrals is always $\psi^{*}\psi$. If you drop the $^{*}$ in a hand calculation, stray signs or imaginary numbers will remain, so please be careful.
A.2 Polar Coordinates
A.2.1 Definitions and the volume element
If we place the nucleus at the origin, the Coulomb potential $V=-\dfrac{1}{4\pi\eps}\dfrac{Z e_0^2}{r}$ felt by the electron becomes a function of the distance $r$ from the origin alone (spherical symmetry). For such problems, spherical polar coordinates $(r,\theta,\varphi)$ are overwhelmingly easier to handle than Cartesian coordinates $(x,y,z)$.
$$ \begin{equation} x = r\sin\theta\cos\varphi,\qquad y = r\sin\theta\sin\varphi,\qquad z = r\cos\theta \label{eq:A-polar-def} \end{equation} $$Here $r\ge 0$, $0\le\theta\le\pi$ (the polar angle, the angle from the $z$ axis), and $0\le\varphi\lt 2\pi$ (the azimuthal angle, the angle in the $xy$ plane).
How a volume element changes under a change of coordinates is determined by the Jacobian. For a transformation $(x,y,z)\to(u_1,u_2,u_3)$,
$$ \dd x\,\dd y\,\dd z = \abs{\det J}\,\dd u_1\,\dd u_2\,\dd u_3, \qquad J = \frac{\partial(x,y,z)}{\partial(u_1,u_2,u_3)} = \begin{pmatrix} \partial x/\partial u_1 & \partial x/\partial u_2 & \partial x/\partial u_3\\ \partial y/\partial u_1 & \partial y/\partial u_2 & \partial y/\partial u_3\\ \partial z/\partial u_1 & \partial z/\partial u_2 & \partial z/\partial u_3 \end{pmatrix} $$Substituting Eq. \eqref{eq:A-polar-def} and computing the determinant gives $\det J = r^2\sin\theta$ (end-of-chapter Exercise A.1). Therefore
This book uses this formula countless times. In particular, when the integrand is a function $f(r)$ of $r$ alone, the angular part can be integrated independently, and we obtain
$$ \begin{equation} \int f(r)\,\dd V = \int_0^{2\pi}\!\dd\varphi\int_0^{\pi}\!\sin\theta\,\dd\theta\int_0^{\infty}\! f(r)\,r^2\,\dd r = 4\pi\int_0^{\infty} f(r)\,r^2\,\dd r \label{eq:A-radial-only} \end{equation} $$Since $\int_0^{2\pi}\dd\varphi=2\pi$ and $\int_0^{\pi}\sin\theta\,\dd\theta=[-\cos\theta]_0^{\pi}=2$, we have $2\pi\times2=4\pi$ (the same as the coefficient in the surface area of a sphere).
A.2.2 The Laplacian in polar coordinates
The Laplacian $\nabla^2=\dfrac{\partial^2}{\partial x^2}+\dfrac{\partial^2}{\partial y^2}+\dfrac{\partial^2}{\partial z^2}$, which appears in the kinetic-energy term of the Schrödinger equation, takes the following form in polar coordinates.
The derivation consists of nothing more than patiently applying the chain rule, but it is long, so here we accept the result (see a calculus textbook). What matters is the structure. Every term of the angular part has a factor $1/r^2$ and is made up of differential operators that do not contain $r$. This operator is proportional to the square of the angular momentum, $\hat{L}^2$, and its eigenfunctions are the spherical harmonics $Y_{lm}(\theta,\varphi)$. That is precisely why the separation of variables $\psi=R(r)Y_{lm}(\theta,\varphi)$ works (Chapter 2, Section 2.4).
Math Note: The Laplacian of a spherically symmetric function
When the wave function is a function $\phi(r)$ of $r$ alone, all the angular derivatives vanish, so
$$ \nabla^2\phi(r) = \frac{1}{r^2}\frac{\dd}{\dd r}\left(r^2\frac{\dd\phi}{\dd r}\right) = \frac{\dd^2\phi}{\dd r^2} + \frac{2}{r}\frac{\dd\phi}{\dd r} $$The second equality merely carries out the product rule:
$$ \frac{1}{r^2}\frac{\dd}{\dd r}\left(r^2\frac{\dd\phi}{\dd r}\right) = \frac{1}{r^2}\left(2r\frac{\dd\phi}{\dd r} + r^2\frac{\dd^2\phi}{\dd r^2}\right) = \frac{2}{r}\frac{\dd\phi}{\dd r} + \frac{\dd^2\phi}{\dd r^2}. $$Since the 1s orbital and the Gaussian trial functions are all spherically symmetric, the hand calculations in Chapter 6 use this form.
Example A.1: The Laplacian of a Gaussian function
Find $\nabla^2\phi$ for $\phi(r)=N e^{-a r^2}$ ($a$ is a positive constant).
Solution. First, the first derivative is $\dfrac{\dd\phi}{\dd r}=-2ar\,N e^{-ar^2}$. The second derivative is
$$ \frac{\dd^2\phi}{\dd r^2} = \left(-2a + 4a^2r^2\right)Ne^{-ar^2}. $$Therefore
$$ \nabla^2\phi = \frac{\dd^2\phi}{\dd r^2} + \frac{2}{r}\frac{\dd\phi}{\dd r} = \left(-2a+4a^2r^2\right)Ne^{-ar^2} + \frac{2}{r}\left(-2ar\right)Ne^{-ar^2} = \left(-6a + 4a^2r^2\right)Ne^{-ar^2}. $$This result is used as it stands in Chapter 6, Section 6.2. The fact that $\nabla^2\phi\to-6a\phi\ne0$ as $r\to0$ (a Gaussian function is not “pointed” at the origin) foreshadows the cusp condition that we discuss later.
A.3 Elliptical Coordinates
In problems with two nuclei (the overlap integrals of $\mathrm{H}_2^{+}$ and $\mathrm{H}_2$), the origin cannot be placed at a single point, so polar coordinates cannot be used. The coordinates used in this case are the prolate spheroidal coordinates (called elliptical coordinates in this book). We use them in Chapter 5, Section 5.2.
Place two nuclei $\mathrm{A}$ and $\mathrm{B}$ on the $z$ axis, separated by a distance $R_{AB}$, and let $r_A$ and $r_B$ be the distances from a given point to each nucleus. We then define
$$ \begin{equation} \cosh\mu = \frac{r_A+r_B}{R_{AB}},\qquad \cos\nu = \frac{r_A-r_B}{R_{AB}},\qquad 0\le\mu\lt\infty,\;\; 0\le\nu\le\pi,\;\; 0\le\varphi\lt2\pi \label{eq:A-elliptic-def} \end{equation} $$The relation to Cartesian coordinates is
$$ x=\frac{R_{AB}}{2}\sinh\mu\sin\nu\cos\varphi,\quad y=\frac{R_{AB}}{2}\sinh\mu\sin\nu\sin\varphi,\quad z=\frac{R_{AB}}{2}\cosh\mu\cos\nu $$and the Jacobian is
$$ \begin{equation} \dd V = \left(\frac{R_{AB}}{2}\right)^{3}\sinh\mu\,\sin\nu\,\left(\sinh^2\mu+\sin^2\nu\right)\dd\mu\,\dd\nu\,\dd\varphi \label{eq:A-elliptic-jacobian} \end{equation} $$.
The convenience of this coordinate system lies in the fact that the product of two hydrogen 1s orbitals, $e^{-r_A/a_0}e^{-r_B/a_0}=e^{-(r_A+r_B)/a_0}=e^{-R_{AB}\cosh\mu/a_0}$, is a function of $\mu$ alone. Since only $\mu$ appears in the exponent of the exponential function, the integrals over $\nu$ and $\varphi$ can be done first. We actually use this in Chapter 5.
A.4 Gaussian Integrals
To work with Gaussian-type basis functions (Chapters 5 and 6), the formulas for Gaussian integrals are indispensable. We collect here all of those used in this book.
A.4.1 Derivation of the basic form
Derivation: $\displaystyle\int_{-\infty}^{\infty}e^{-ax^2}\dd x=\sqrt{\pi/a}$
The antiderivative of this integrand cannot be written in terms of elementary functions, so the integral cannot be computed by a direct approach. We therefore use a well-known trick: multiply two copies of the same integral to make it two-dimensional, and then switch to polar coordinates. Suppose $a\gt0$.
$$ \begin{align} \left(\int_{-\infty}^{\infty}e^{-ax^2}\dd x\right)^{2} &= \int_{-\infty}^{\infty}e^{-ax^2}\dd x\int_{-\infty}^{\infty}e^{-ay^2}\dd y = \int_{-\infty}^{\infty}\!\!\int_{-\infty}^{\infty}e^{-a(x^2+y^2)}\dd x\,\dd y . \end{align} $$Now we switch to two-dimensional polar coordinates $x=\rho\cos\theta$, $y=\rho\sin\theta$. The two-dimensional Jacobian is $\rho$, so $\dd x\,\dd y=\rho\,\dd\rho\,\dd\theta$, and $x^2+y^2=\rho^2$.
$$ \begin{align} &= \int_{0}^{2\pi}\!\!\dd\theta\int_{0}^{\infty}e^{-a\rho^2}\rho\,\dd\rho = 2\pi\left[-\frac{1}{2a}e^{-a\rho^2}\right]_{0}^{\infty} = 2\pi\cdot\frac{1}{2a} = \frac{\pi}{a}. \end{align} $$Taking the positive square root of both sides, we obtain
$$ \begin{equation} \int_{-\infty}^{\infty}e^{-ax^2}\dd x = \sqrt{\frac{\pi}{a}} . \label{eq:A-gauss-basic} \end{equation} $$The key point is that, as soon as the integral is made two-dimensional, the factor $\rho\,\dd\rho$ appears and the antiderivative of $e^{-a\rho^2}$ can be written down.
A.4.2 Collection of formulas
Differentiating Eq. \eqref{eq:A-gauss-basic} with respect to $a$ gives $\int x^2 e^{-ax^2}\dd x$, and differentiating once more gives $\int x^4 e^{-ax^2}\dd x$. Repeating this yields the following table ($a\gt0$, with the integration interval from $0$ to $\infty$).
| Integrand | $\displaystyle\int_0^{\infty}\cdots\dd x$ | Use in this book |
|---|---|---|
| $e^{-ax^2}$ | $\dfrac{1}{2}\sqrt{\dfrac{\pi}{a}}$ | One-dimensional normalization |
| $x\,e^{-ax^2}$ | $\dfrac{1}{2a}$ | Chapter 6, Coulomb term |
| $x^2 e^{-ax^2}$ | $\dfrac{1}{4}\sqrt{\dfrac{\pi}{a^3}}$ | Chapter 6, normalization integral |
| $x^3 e^{-ax^2}$ | $\dfrac{1}{2a^2}$ | — |
| $x^4 e^{-ax^2}$ | $\dfrac{3}{8}\sqrt{\dfrac{\pi}{a^5}}$ | Chapter 6, kinetic energy term |
| $x^{2n}e^{-ax^2}$ | $\dfrac{(2n-1)!!}{2^{n+1}}\sqrt{\dfrac{\pi}{a^{2n+1}}}$ | General form |
| $x^{2n+1}e^{-ax^2}$ | $\dfrac{n!}{2a^{n+1}}$ | General form |
| $x^{n}e^{-ax}$ | $\dfrac{n!}{a^{n+1}}$ | Chapter 5, Slater-type orbitals |
Example A.2: Normalization constant of a three-dimensional Gaussian function
Determine $N$ so that $\phi(r)=N e^{-\alpha r^2}$ satisfies $\int\abs{\phi}^2\dd V=1$.
Solution. Because the function is spherically symmetric, Eq. \eqref{eq:A-radial-only} can be used.
$$ \int\abs{\phi}^2\dd V = 4\pi N^2\int_0^{\infty}r^2 e^{-2\alpha r^2}\dd r . $$Using the third row of Table A.1 with $a=2\alpha$, we have $\displaystyle\int_0^{\infty}r^2e^{-2\alpha r^2}\dd r=\frac{1}{4}\sqrt{\frac{\pi}{8\alpha^3}}$. Therefore
$$ 4\pi N^2\cdot\frac{1}{4}\sqrt{\frac{\pi}{8\alpha^3}} = \pi N^2\cdot\frac{\sqrt{\pi}}{2\sqrt{2}\,\alpha^{3/2}} = N^2\left(\frac{\pi}{2\alpha}\right)^{3/2} = 1 . $$Hence
$$ \begin{equation} N = \left(\frac{2\alpha}{\pi}\right)^{3/4}, \qquad \phi(r) = \left(\frac{2\alpha}{\pi}\right)^{3/4} e^{-\alpha r^2}. \label{eq:A-gto-norm} \end{equation} $$This is the normalized Gaussian-type orbital (1s type) used in Chapters 5 and 6.
A.4.3 The product theorem for Gaussian functions
The main reason Gaussian-type orbitals are overwhelmingly used in quantum-chemical calculations is the following theorem.
Theorem: The Gaussian product theorem
The product of a Gaussian function with center $\bm{R}_A$ and exponent $\alpha$ and a Gaussian function with center $\bm{R}_B$ and exponent $\beta$ is a single Gaussian function:
$$ \begin{equation} e^{-\alpha\abs{\rr-\bm{R}_A}^2}\,e^{-\beta\abs{\rr-\bm{R}_B}^2} = K_{AB}\;e^{-(\alpha+\beta)\abs{\rr-\bm{R}_P}^2}, \label{eq:A-gauss-product} \end{equation} $$ $$ K_{AB} = \exp\!\left[-\frac{\alpha\beta}{\alpha+\beta}\abs{\bm{R}_A-\bm{R}_B}^2\right], \qquad \bm{R}_P = \frac{\alpha\bm{R}_A+\beta\bm{R}_B}{\alpha+\beta}. $$Proof. We complete the square in the exponent. It suffices to show this in one dimension.
$$ \begin{align} -\alpha(x-A)^2-\beta(x-B)^2 &= -(\alpha+\beta)x^2 + 2(\alpha A+\beta B)x - (\alpha A^2+\beta B^2)\\ &= -(\alpha+\beta)\left[x^2 - \frac{2(\alpha A+\beta B)}{\alpha+\beta}x\right] - (\alpha A^2+\beta B^2)\\ &= -(\alpha+\beta)\left[x - \frac{\alpha A+\beta B}{\alpha+\beta}\right]^2 + \frac{(\alpha A+\beta B)^2}{\alpha+\beta} - (\alpha A^2+\beta B^2). \end{align} $$Combining the last two terms gives
$$ \frac{(\alpha A+\beta B)^2 - (\alpha+\beta)(\alpha A^2+\beta B^2)}{\alpha+\beta} = \frac{-\alpha\beta A^2 + 2\alpha\beta AB - \alpha\beta B^2}{\alpha+\beta} = -\frac{\alpha\beta}{\alpha+\beta}(A-B)^2 . $$Hence Eq. \eqref{eq:A-gauss-product} holds. ∎
Thanks to this theorem, two-center, three-center, and four-center integrals all reduce to one-center integrals. The same cannot be done with the Slater-type orbital $e^{-\zeta r}$, and even if one brings in elliptical coordinates, integrals with three or more centers cannot be solved analytically. This is why Gaussian bases became the standard.
A.5 Lagrange's Method of Undetermined Multipliers
Both the variational principle (Chapter 3) and the secular equation (Chapter 11) are, in essence, “minimization problems with constraints.” The standard method for solving them is Lagrange's method of undetermined multipliers.
Theorem: Lagrange's method of undetermined multipliers
Suppose we want to find the extremum of a function $f(c_1,\dots,c_n)$ under the constraint $g(c_1,\dots,c_n)=0$. To do so, form a new function (the Lagrangian function)
$$ \begin{equation} F(c_1,\dots,c_n,\lambda) = f(c_1,\dots,c_n) - \lambda\, g(c_1,\dots,c_n) \label{eq:A-lagrange} \end{equation} $$and set the partial derivatives with respect to all the variables, including $\lambda$, equal to zero:
$$ \frac{\partial F}{\partial c_1}=\cdots=\frac{\partial F}{\partial c_n}=\frac{\partial F}{\partial\lambda}=0 $$It suffices to solve these equations. We call $\lambda$ the undetermined multiplier. The condition $\partial F/\partial\lambda=0$ reproduces the constraint $g=0$ itself.
Why? Why the method of undetermined multipliers works
The constraint $g=0$ restricts the range over which the variables can move to a “surface.” At a point on that surface where $f$ takes an extremum, a level surface of $f$ is tangent to the surface $g=0$. Being tangent means that the normal vectors of the two, that is, the gradients $\nabla f$ and $\nabla g$, are parallel. If they are parallel, then, using some constant of proportionality $\lambda$, we can write
$$ \nabla f = \lambda\,\nabla g \quad\Longleftrightarrow\quad \nabla(f-\lambda g)=0 $$This is exactly $\partial F/\partial c_i=0$. The essence of the method of undetermined multipliers is to “turn a constrained problem into an unconstrained one at the cost of adding one variable.”
Example A.3: Warm-up with the method of undetermined multipliers
Find the maximum value of $f(x,y)=x+y$ subject to $x^2+y^2=1$.
Solution. Let $g=x^2+y^2-1$ and form $F=x+y-\lambda(x^2+y^2-1)$.
$$ \frac{\partial F}{\partial x}=1-2\lambda x=0,\quad \frac{\partial F}{\partial y}=1-2\lambda y=0,\quad \frac{\partial F}{\partial\lambda}=-(x^2+y^2-1)=0 . $$From the first two equations, $x=y=1/(2\lambda)$. Substituting this into the third gives $2/(4\lambda^2)=1$, so $\lambda=\pm1/\sqrt2$. For $\lambda=1/\sqrt2$, we have $x=y=1/\sqrt2$ and $f=\sqrt2$ (the maximum); for $\lambda=-1/\sqrt2$, we have $f=-\sqrt2$ (the minimum).
When we use the method in this book, $f$ is the energy expectation value $\braket{\Psi|\Ham|\Psi}$, $g$ is the normalization condition $\braket{\Psi|\Psi}-1$, and the undetermined multiplier $\lambda$ itself becomes the energy eigenvalue (Chapter 11, Section 11.4).
A.6 The Matrix Eigenvalue Problem and the Secular Equation
A.6.1 Eigenvalues and eigenvectors
For an $n\times n$ matrix $\mathbb{A}$, suppose a vector $\bm{v}\ne\bm{0}$ and a number $\lambda$ satisfy
$$ \mathbb{A}\bm{v} = \lambda\bm{v} $$Then $\lambda$ is called an eigenvalue and $\bm{v}$ an eigenvector. This can be written as $(\mathbb{A}-\lambda\mathbb{I})\bm{v}=\bm{0}$. For this equation to have a nontrivial solution $\bm{v}\ne\bm{0}$, the matrix $(\mathbb{A}-\lambda\mathbb{I})$ must not have an inverse matrix. Since the condition for the inverse not to exist is that the determinant be zero,
$$ \begin{equation} \det(\mathbb{A}-\lambda\mathbb{I}) = 0 \label{eq:A-secular} \end{equation} $$is the equation that determines the eigenvalues. This is called the characteristic equation or the secular equation.
Why? Why “determinant = 0” is the condition for a nontrivial solution
If $\det(\mathbb{A}-\lambda\mathbb{I})\ne0$, the inverse matrix $(\mathbb{A}-\lambda\mathbb{I})^{-1}$ exists, so multiplying both sides from the left gives $\bm{v}=(\mathbb{A}-\lambda\mathbb{I})^{-1}\bm{0}=\bm{0}$, and only the trivial solution emerges. All the coefficients of the wave function being zero means that “no wave function exists,” which is physically meaningless. Therefore the determinant must be zero. The secular equation of Chapter 11 is set up with exactly this argument.
A.6.2 Example: spin matrices
Here we solve a concrete example that will be used in Chapters 2 and 7.
Example A.4: Eigenvalues and eigenvectors of $\mathbb{S}_z$
Find the eigenvalues of $\mathbb{S}_z=\begin{pmatrix}1/2 & 0\\ 0 & -1/2\end{pmatrix}$ and the eigenvectors of norm 1.
Solution. The secular equation is
$$ \det\begin{pmatrix}1/2-\lambda & 0\\ 0 & -1/2-\lambda\end{pmatrix} =\left(\tfrac12-\lambda\right)\left(-\tfrac12-\lambda\right)=0 \;\Longrightarrow\; \lambda=\pm\tfrac12 . $$For $\lambda=+1/2$, the equation $\begin{pmatrix}0&0\\0&-1\end{pmatrix}\begin{pmatrix}a\\b\end{pmatrix}=\begin{pmatrix}0\\0\end{pmatrix}$ gives $b=0$, with $a$ arbitrary. Requiring the norm to be 1, we obtain
$$ \bm{\alpha}=\begin{pmatrix}1\\0\end{pmatrix}\quad(\text{up spin}). $$For $\lambda=-1/2$, similarly $a=0$, and
$$ \bm{\beta}=\begin{pmatrix}0\\1\end{pmatrix}\quad(\text{down spin}). $$Multiplying $\mathbb{S}_z$ by $\hbar$, which has the dimension of angular momentum, gives the spin angular momentum operator $\hat s_z$ for the $z$ direction, whose eigenvalues are $\pm\hbar/2$ (Chapter 7, Section 7.4). Collectively, $\mathbb{S}_x$, $\mathbb{S}_y$, $\mathbb{S}_z$ are called the Pauli matrices (times $1/2$).
A.6.3 The generalized eigenvalue problem
In Chapter 11, because the basis functions are not orthogonal, the form
$$ \begin{equation} \mathbb{H}\bm{c} = \epsilon\,\mathbb{S}\bm{c} \label{eq:A-geneig} \end{equation} $$appears. Here $\mathbb{S}$ is the overlap matrix, with $S_{ij}=\braket{\phi_i|\phi_j}$; its diagonal entries are 1 and its off-diagonal entries are the overlap integrals. The secular equation in this case is
$$ \det\left(\mathbb{H}-\epsilon\,\mathbb{S}\right)=0 $$If $\mathbb{S}=\mathbb{I}$ (that is, the basis is orthogonal), this reduces to the ordinary eigenvalue problem. Eq. \eqref{eq:A-geneig} is called the generalized eigenvalue problem, and it is precisely this form that actual quantum-chemical calculation software solves.
A.7 Taylor Expansions and Frequently Used Approximations
The expansion of a function $f(x)$ about $x=0$ (the Maclaurin expansion) is given by
$$ \begin{equation} f(x) = f(0) + f'(0)\,x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \cdots \label{eq:A-maclaurin} \end{equation} $$The expansions used in this book are summarized in the table below.
| Function | Expansion | Use in this book |
|---|---|---|
| $(1+x)^{a}$ | $1+ax+\dfrac{a(a-1)}{2}x^2+\cdots$ | Chapter 13, van der Waals |
| $(1+x)^{-1}$ | $1-x+x^2-x^3+\cdots$ | Chapter 13, expansion of the Coulomb term |
| $(1+x)^{1/2}$ | $1+\dfrac{1}{2}x-\dfrac{1}{8}x^2+\cdots$ | Chapter 13, expansion of the frequency |
| $e^{x}$ | $1+x+\dfrac{x^2}{2!}+\dfrac{x^3}{3!}+\cdots$ | Throughout |
| $\ln(1+x)$ | $x-\dfrac{x^2}{2}+\dfrac{x^3}{3}-\dfrac{x^4}{4}+\cdots$ | Chapter 13, Madelung constant |
| $\sin x$ | $x-\dfrac{x^3}{3!}+\cdots$ | Throughout |
| $\cos x$ | $1-\dfrac{x^2}{2!}+\cdots$ | Throughout |
Math Note: Can we substitute $x=1$ into $\ln(1+x)$?
When we find the Madelung constant of a one-dimensional ionic crystal in Chapter 13, we substitute $x=1$ into the expansion of $\ln(1+x)$ and use
$$ 1-\frac12+\frac13-\frac14+\cdots = \ln 2 $$Although the convergence condition is $\abs{x}\lt1$, we may substitute the boundary value $x=1$ because this series (the alternating harmonic series) converges at $x=1$ as well (this is guaranteed by Abel's continuity theorem). However, the convergence is very slow: even with 10 terms, an error of about 5% remains. This “slowness of convergence” is the reason the three-dimensional Madelung constant cannot be obtained by naive summation, and it is also the background to why a special technique, the Ewald method, is needed.
The harmonic approximation of the potential energy is also, in essence, a Taylor expansion. Around the equilibrium point $x=0$,
$$ U(x) = U(0) + \underbrace{U'(0)}_{=0}\,x + \frac{1}{2}U''(0)\,x^2 + \cdots \approx U(0) + \frac{1}{2}kx^2,\qquad k\equiv U''(0) $$holds. At the equilibrium point the first-order term is zero (the force is zero), so the second-order term is the leading term. Here $k$ is the force constant, and $\omega=\sqrt{k/m}$ gives the vibrational frequency. If $U''(0)\lt0$, then $k\lt0$ and $\omega$ becomes imaginary; that point is not an equilibrium point but an unstable point (Chapter 1, Section 1.7, imaginary frequency).
A.8 Bra–Ket Notation
Writing a multidimensional integral sign every time is cumbersome, so we use Dirac's bra–ket notation. It is introduced in Chapter 3, Section 3.4.
Definition: Bra–ket notation
For functions $f$ and $g$, we write
$$ \braket{f|g} \equiv \int f^{*}(\bm{x})\,g(\bm{x})\,\dd\bm{x}, \qquad \braket{f|\hat{A}|g} \equiv \int f^{*}(\bm{x})\,\hat{A}\,g(\bm{x})\,\dd\bm{x} $$We call $\bra{f}$ the bra and $\ket{g}$ the ket (a pun that splits the word “bracket” into “bra” and “ket”). The integral runs over all variables (not only the spatial coordinates but also the spin coordinates).
We collect the rules used in this book.
| Expression | Meaning |
|---|---|
| $\braket{f|g}=\braket{g|f}^{*}$ | Swapping the order gives the complex conjugate |
| $\braket{\psi|\psi}=1$ | Normalization condition |
| $\braket{\psi_n|\psi_m}=\delta_{nm}$ | Orthonormality ($\delta_{nm}$ is the Kronecker delta) |
| $\Ham\ket{\psi_n}=E_n\ket{\psi_n}$ | Schrödinger equation |
| $\displaystyle\sum_n\ket{\psi_n}\bra{\psi_n}=\mathbb{I}$ | Completeness relation (equal to the identity operator) |
| $\ket{\Psi}=\sum_n\ket{\psi_n}\braket{\psi_n|\Psi}$ | Expansion in a complete set (just the relation above applied to $\ket{\Psi}$) |
| $\braket{f|\hat{A}|g}=\braket{\hat{A}^{\dagger}f|g}$ | For a Hermitian operator, $\hat{A}^{\dagger}=\hat{A}$ |
Caution: The meaning of “multiplication” differs between vectors and functions
If $\bra{a}$ and $\ket{b}$ are finite-dimensional vectors, then $\braket{a|b}$ is the ordinary inner product (the sum of the products of the components). On the other hand, if $\bra{a}$ and $\ket{b}$ are functions, then $\braket{a|b}$ is an integral. In essence, however, the two are the same; it suffices to think of the sum as having turned into an integral.
Also, $\ket{b}\bra{a}$ (the ket first, the bra after) is not a scalar but a matrix (operator). The completeness relation $\sum_n\ket{\psi_n}\bra{\psi_n}=\mathbb{I}$ has exactly this form. Be careful not to mix up the order, since doing so changes the meaning.
A.9 Integration by Parts and Other Integral Formulas
Integration by parts
$$ \begin{equation} \int_a^b u\,\frac{\dd v}{\dd x}\,\dd x = \Bigl[uv\Bigr]_a^b - \int_a^b \frac{\dd u}{\dd x}\,v\,\dd x \label{eq:A-byparts} \end{equation} $$is the basic tool for integrating the product of an exponential function and a power. An exponential function does not disappear under differentiation or integration, so the standard way to use the formula is to differentiate the power part and lower its degree step by step.
Example A.5: $\displaystyle\int_0^{\infty}r^2 e^{-cr}\,\dd r$
Solution. Let $u=r^2$ and $\dd v/\dd r=e^{-cr}$. Then $v=-e^{-cr}/c$, and
$$ \int_0^{\infty}r^2e^{-cr}\dd r = \left[-\frac{r^2}{c}e^{-cr}\right]_0^{\infty} + \frac{2}{c}\int_0^{\infty}re^{-cr}\dd r = 0 + \frac{2}{c}\int_0^{\infty}re^{-cr}\dd r . $$Integrating by parts once more gives
$$ \int_0^{\infty}re^{-cr}\dd r = \left[-\frac{r}{c}e^{-cr}\right]_0^{\infty}+\frac{1}{c}\int_0^{\infty}e^{-cr}\dd r = \frac{1}{c^2}. $$Therefore $\displaystyle\int_0^{\infty}r^2e^{-cr}\dd r=\frac{2}{c^3}$. In general, $\displaystyle\int_0^{\infty}r^n e^{-cr}\dd r=\frac{n!}{c^{n+1}}$ (the last row of Table A.1).
This formula is used repeatedly in the normalization of the hydrogen 1s orbital $\phi_{1s}\propto e^{-r/a_0}$ and in the calculation of $\braket{r}$ and $\braket{1/r}$. For example, the normalization is the case $c=2/a_0$, $n=2$.
We also list one more result from electrostatics, which is used in Chapter 4.
Math Note: The angular average of $1/\abs{\rr_1-\rr_2}$
Averaging over the full solid angle with respect to the direction of $\rr_1$ gives
$$ \frac{1}{4\pi}\int \frac{\dd\Omega_1}{\abs{\rr_1-\rr_2}} = \frac{1}{r_{\gt}}, \qquad r_{\gt}\equiv\max(r_1,r_2) $$This is a restatement of Gauss's law: “the electrostatic potential created by a uniformly charged spherical shell is, outside the shell, equal to that of the total charge concentrated at the center, and is constant inside the shell.” It is the key when we calculate the expectation value of the electron–electron repulsion in Chapter 4, Section 4.7.
A.10 Table of Physical Constants and Unit Conversions
| Quantity | Symbol | Value |
|---|---|---|
| Speed of light (in vacuum) | $c$ | $2.99792458\times10^{8}\ \mathrm{m/s}$ (defined value) |
| Planck constant | $h$ | $6.62607015\times10^{-34}\ \mathrm{J\,s}$ (defined value) |
| Reduced Planck constant | $\hbar=h/2\pi$ | $1.054572\times10^{-34}\ \mathrm{J\,s}$ |
| Elementary charge | $e_0$ | $1.602177\times10^{-19}\ \mathrm{C}$ (defined value) |
| Electron mass | $m$ | $9.109384\times10^{-31}\ \mathrm{kg}$ |
| Proton mass | $m_p$ | $1.672622\times10^{-27}\ \mathrm{kg}$ ($m_p/m=1836.15$) |
| Vacuum permittivity | $\varepsilon_0$ | $8.854188\times10^{-12}\ \mathrm{F/m}$ |
| Bohr radius | $a_0=\dfrac{\varepsilon_0h^2}{\pi me_0^2}$ | $0.5291772\times10^{-10}\ \mathrm{m}=0.5291772\ \text{Å}$ |
| Hydrogen 1s level | $\epsilon_{1s}=-\dfrac{me_0^4}{8\varepsilon_0^2h^2}$ | $-13.6057\ \mathrm{eV}$ |
| Hartree energy | $E_h=\dfrac{e_0^2}{4\pi\varepsilon_0a_0}$ | $27.2114\ \mathrm{eV}=2\abs{\epsilon_{1s}}$ |
| Boltzmann constant | $k_B$ | $1.380649\times10^{-23}\ \mathrm{J/K}=8.61733\times10^{-5}\ \mathrm{eV/K}$ |
| Avogadro constant | $N_A$ | $6.02214076\times10^{23}\ \mathrm{mol^{-1}}$ (defined value) |
Math Note: Two constants that help with mental arithmetic
For hand calculations, remembering the following two constants makes things overwhelmingly faster.
$$ \frac{e_0^2}{4\pi\varepsilon_0} = 14.3996\ \mathrm{eV}\cdot\text{Å} \qquad\Longrightarrow\qquad \text{The Coulomb energy of two elementary charges }1\ \text{Å}\text{ apart is }14.4\ \mathrm{eV} $$ $$ k_BT\big|_{T=300\ \mathrm{K}} = 25.85\ \mathrm{meV}\approx 0.026\ \mathrm{eV} \qquad\Longrightarrow\qquad \text{The thermal energy at room temperature is }1/40\ \mathrm{eV}\text{ or so} $$For example, the Madelung energy of NaCl in Chapter 13 follows immediately from $A_M=1.7476$ and $R_0=2.82$ Å: $-1.7476\times14.4/2.82=-8.92$ eV per ion pair. Also, the fact that chemical bond energies are a few eV whereas the thermal energy at room temperature is only 0.026 eV (a difference of more than a factor of 100) is the reason molecules do not break apart at ordinary temperatures.
| eV | kJ/mol | kcal/mol | cm$^{-1}$ | K | |
|---|---|---|---|---|---|
| 1 eV | 1 | 96.485 | 23.061 | 8065.54 | 11604.5 |
| 1 kJ/mol | 0.010364 | 1 | 0.23901 | 83.593 | 120.27 |
| 1 kcal/mol | 0.043364 | 4.1840 | 1 | 349.75 | 503.22 |
| 1 cm$^{-1}$ | $1.2398\times10^{-4}$ | 0.011963 | 0.0028591 | 1 | 1.4388 |
| 1 hartree | 27.2114 | 2625.50 | 627.51 | 219475 | — |
For lengths, $1\ \text{Å}=10^{-10}\ \mathrm{m}=0.1\ \mathrm{nm}$, $1\ a_0=0.529\ \text{Å}$, and $1\ \text{Å}=1.8897\ a_0$. For frequencies, the wavenumber $\tilde\nu\ [\mathrm{cm^{-1}}]$ and the angular frequency $\omega\ [\mathrm{rad/s}]$ are related by $\omega=2\pi c\tilde\nu$.
A.11 Exercises
Exercise A.1: The Jacobian of polar coordinates
Construct the Jacobian matrix from Eq. \eqref{eq:A-polar-def} and show that $\det J=r^2\sin\theta$.
Hint: The calculation is shorter if you expand the determinant along the third row (the $z$ row). Since $\partial z/\partial\varphi=0$, that row has only two nonzero entries. Use $\sin^2\varphi+\cos^2\varphi=1$ and $\sin^2\theta+\cos^2\theta=1$ repeatedly along the way.
Exercise A.2: Normalization and mean radius of the hydrogen 1s orbital
For $\phi_{1s}(r)=Ne^{-r/a_0}$, find the following.
(1) The normalization constant $N$.
(2) $\braket{r}=\displaystyle\int\phi_{1s}^{*}\,r\,\phi_{1s}\,\dd V$.
(3) $\braket{1/r}$.
Hint: In each case, use Eq. \eqref{eq:A-radial-only} to bring the integral to the form $4\pi\int_0^{\infty}(\cdots)r^2\dd r$, and use the formula $\int_0^{\infty}r^ne^{-cr}\dd r=n!/c^{n+1}$ (with $c=2/a_0$). The answers are (1) $N=1/\sqrt{\pi a_0^3}$, (2) $\braket{r}=1.5a_0$, and (3) $\braket{1/r}=1/a_0$. Note that (2) and (3) are not reciprocals of each other: $\braket{1/r}\ne1/\braket{r}$.
Exercise A.3: An application of the Gaussian product theorem
Show that the overlap integral between the normalized Gaussian-type orbital $\phi_A(\rr)=(2\alpha/\pi)^{3/4}e^{-\alpha\abs{\rr-\bm{R}_A}^2}$ and $\phi_B$ (exponent $\beta$, center $\bm{R}_B$) is as follows.
$$ S_{AB} = \left(\frac{4\alpha\beta}{(\alpha+\beta)^2}\right)^{3/4}\exp\left[-\frac{\alpha\beta}{\alpha+\beta}\abs{\bm{R}_A-\bm{R}_B}^2\right] $$Also verify that $S_{AB}=1$ when $\alpha=\beta$ and $\bm{R}_A=\bm{R}_B$.
Hint: Combine the product into a single Gaussian function using Eq. \eqref{eq:A-gauss-product}, and use $\int e^{-(\alpha+\beta)\abs{\rr-\bm{R}_P}^2}\dd V=\left(\pi/(\alpha+\beta)\right)^{3/2}$ (the value of the integral does not change when the center is shifted). This is the same calculation as in Chapter 5, Section 5.8.
Exercise A.4: The method of undetermined multipliers and energy eigenvalues
Expand $\Psi=c_1\phi_1+c_2\phi_2$ in two orthonormal basis functions $\phi_1,\phi_2$ ($\braket{\phi_i|\phi_j}=\delta_{ij}$). Let $H_{ij}=\braket{\phi_i|\Ham|\phi_j}$, and minimize $E=\braket{\Psi|\Ham|\Psi}$ under the normalization condition $c_1^2+c_2^2=1$. Show that the resulting condition is the eigenvalue equation $\mathbb{H}\bm{c}=\lambda\bm{c}$, and that the undetermined multiplier $\lambda$ is the energy itself.
Hint: Form $F=\sum_{ij}c_ic_jH_{ij}-\lambda(\sum_ic_i^2-1)$ and write down $\partial F/\partial c_1=\partial F/\partial c_2=0$. Use $H_{12}=H_{21}$ (Hermiticity; symmetry in the real case). The secular equation of Chapter 11 is this same calculation extended, as it is, to a nonorthogonal basis.
Exercise A.5: Unit conversion
(1) The experimental value of the bending vibration of $\mathrm{H_2O}$ is $1595\ \mathrm{cm^{-1}}$. Express it in eV and kJ/mol.
(2) The thermal energy $k_BT$ at room temperature (300 K) is how many times the vibrational energy in (1)? From this result, discuss whether the bending vibration of $\mathrm{H_2O}$ is thermally excited at room temperature.
(3) To what wavelength of light, in nm, does the band gap of NaCl, 8.5 eV, correspond? Compare it with visible light (380–780 nm) and explain why NaCl is colorless and transparent.
Hint: (1) Use Table A.5. (3) From $E=hc/\lambda$, $\lambda\ [\mathrm{nm}]=1239.8/E\ [\mathrm{eV}]$. It is also convenient to remember this number, $1239.8$.
References
- McGraw-Hill University Exercises, Bibun Sekibun (Jō, Ge) [Differential and Integral Calculus, Vols. 1–2], Ohmsha (in Japanese). It is rich in exercises on polar coordinates, Jacobians, and integration by parts.
- Junkichi Satsuma, Butsuri no Sūgaku [Mathematics for Physics], Iwanami Shoten (in Japanese). Covers the contents of this appendix in a physics context.
- A. Szabo, N. S. Ostlund, Atarashii Ryōshi Kagaku — Denshi Kōzō no Riron Nyūmon (Jō) [Modern Quantum Chemistry: Introduction to Advanced Electronic Structure Theory, Vol. 1], University of Tokyo Press (in Japanese). Appendix A gives the details of Gaussian integrals and the Gaussian product theorem.
- Yoshiya Harada, Ryōshi Kagaku (Jōkan) [Quantum Chemistry, Vol. 1], Shōkabō (in Japanese). Works through the solution of the Schrödinger equation in polar coordinates (the Frobenius method) completely.
- P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press (1958). The original source of bra–ket notation.
- E. Clementi, D. L. Raimondi, "Atomic Screening Constants from SCF Functions", J. Chem. Phys. 38, 2686 (1963). Systematic values of the effective nuclear charge. It is useful to compare them with $Z'=Z-5/16$ in Chapter 3.
- CODATA Internationally recommended values of the fundamental physical constants (2018), https://physics.nist.gov/cuu/Constants/ The source of Table A.4.