Mathematical Methods for Physics and Engineering
1. Differentiation of vectors [Page 334]:
(1) Definition:
For a vector function $\mathbf a(u)$ of a scalar $u$:
$$\frac{d\mathbf a}{du}=\lim_{\Delta u\to0}\frac{\mathbf a(u+\Delta u)-\mathbf a(u)}{\Delta u}$$
$d\mathbf a/du$ is also a vector, in general not parallel to $\mathbf a$. In Cartesian coordinates (fixed $\mathbf i,\mathbf j,\mathbf k$) we just differentiate the components:
$$\frac{d\mathbf a}{du}=\frac{da_x}{du}\mathbf i+\frac{da_y}{du}\mathbf j+\frac{da_z}{du}\mathbf k$$
Velocity $\mathbf v=d\mathbf r/dt$ is tangent to the path and $|\mathbf v|$ is the speed; acceleration $\mathbf a=d\mathbf v/dt=d^2\mathbf r/dt^2$.
Example:
$\mathbf r(t)=2t^2\mathbf i+(3t-2)\mathbf j+(3t^2-1)\mathbf k$. Find the speed at $t=1$ and the component of the acceleration along $\mathbf s=\mathbf i+2\mathbf j+\mathbf k$.
Answer:
$\mathbf v=4t\mathbf i+3\mathbf j+6t\mathbf k$, $\mathbf a=4\mathbf i+6\mathbf k$ (constant).
$$|\mathbf v(1)|=\sqrt{4^2+3^2+6^2}=\sqrt{61},\qquad\mathbf a\cdot\hat{\mathbf s}=\frac{(4\mathbf i+6\mathbf k)\cdot(\mathbf i+2\mathbf j+\mathbf k)}{\sqrt{1^2+2^2+1^2}}=\frac{5\sqrt6}{3}$$
(2) Basis vectors that change: plane polar coordinates:
Non-Cartesian basis vectors must also be differentiated. In plane polars $\rho,\phi$:
$$\hat{\mathbf e}_\rho=\cos\phi\,\mathbf i+\sin\phi\,\mathbf j,\qquad\hat{\mathbf e}_\phi=-\sin\phi\,\mathbf i+\cos\phi\,\mathbf j$$
$$\frac{d\hat{\mathbf e}_\rho}{dt}=\dot\phi\,\hat{\mathbf e}_\phi,\qquad\frac{d\hat{\mathbf e}_\phi}{dt}=-\dot\phi\,\hat{\mathbf e}_\rho$$
For $\mathbf r=\rho\hat{\mathbf e}_\rho$:
$$\mathbf v=\dot\rho\hat{\mathbf e}_\rho+\rho\dot\phi\hat{\mathbf e}_\phi$$
$$\begin{aligned}\mathbf a&=\ddot\rho\hat{\mathbf e}_\rho+\dot\rho\dot{\hat{\mathbf e}}_\rho+\rho\dot\phi\dot{\hat{\mathbf e}}_\phi+\rho\ddot\phi\hat{\mathbf e}_\phi+\dot\rho\dot\phi\hat{\mathbf e}_\phi\\&=(\ddot\rho-\rho\dot\phi^2)\hat{\mathbf e}_\rho+(\rho\ddot\phi+2\dot\rho\dot\phi)\hat{\mathbf e}_\phi\end{aligned}$$
(3) Composite vector expressions:
$$\frac{d}{du}(\phi\mathbf a)=\phi\frac{d\mathbf a}{du}+\frac{d\phi}{du}\mathbf a,\qquad\frac{d}{du}(\mathbf a\cdot\mathbf b)=\mathbf a\cdot\frac{d\mathbf b}{du}+\frac{d\mathbf a}{du}\cdot\mathbf b,\qquad\frac{d}{du}(\mathbf a\times\mathbf b)=\mathbf a\times\frac{d\mathbf b}{du}+\frac{d\mathbf a}{du}\times\mathbf b$$
In the last one the order of the factors matters. Chain rule: if $s=s(u)$ then $\frac{d\mathbf a}{du}=\frac{ds}{du}\frac{d\mathbf a}{ds}$.
From $\frac{d}{du}(\mathbf a\cdot\mathbf a)=2\mathbf a\cdot\frac{d\mathbf a}{du}$: if $|\mathbf a|$ is constant then $\mathbf a\cdot\frac{d\mathbf a}{du}=0$, i.e. $\mathbf a\perp d\mathbf a/du$.
Example:
Show that the rate of change of angular momentum $\mathbf L=\mathbf r\times m\mathbf v$ equals the torque $\mathbf T=\mathbf r\times\mathbf F$.
Answer:
$$\frac{d\mathbf L}{dt}=\frac{d\mathbf r}{dt}\times m\mathbf v+\mathbf r\times\frac{d}{dt}(m\mathbf v)=\mathbf v\times m\mathbf v+\mathbf r\times\mathbf F=\mathbf 0+\mathbf T$$
using Newton’s second law $\mathbf F=d(m\mathbf v)/dt$.
(4) Differential of a vector:
$$d\mathbf a=\frac{d\mathbf a}{du}du$$
e.g. $d\mathbf r=\mathbf v\,dt$.
2. Integration of vectors [Page 339]:
The integral has the same nature (vector or scalar) as the integrand, and so does the constant of integration. If $\mathbf a(u)=d\mathbf A/du$:
$$\int\mathbf a(u)\,du=\mathbf A(u)+\mathbf b,\qquad\int_{u_1}^{u_2}\mathbf a(u)\,du=\mathbf A(u_2)-\mathbf A(u_1)$$
with $\mathbf b$ a constant vector.
Example:
A small mass $m$ orbits a large mass $M$ at the origin: $m\frac{d^2\mathbf r}{dt^2}=-\frac{GMm}{r^2}\hat{\mathbf r}$. Show that $\mathbf r\times d\mathbf r/dt$ is a constant of the motion.
Answer:
Crossing with $\mathbf r$: $\mathbf r\times\frac{d^2\mathbf r}{dt^2}=-\frac{GM}{r^2}\mathbf r\times\hat{\mathbf r}=\mathbf 0$. Then
$$\frac{d}{dt}\left(\mathbf r\times\frac{d\mathbf r}{dt}\right)=\mathbf r\times\frac{d^2\mathbf r}{dt^2}+\frac{d\mathbf r}{dt}\times\frac{d\mathbf r}{dt}=\mathbf 0\quad\Rightarrow\quad\mathbf r\times\frac{d\mathbf r}{dt}=\mathbf c$$
The area swept out in $dt$ is $dA=\frac12|\mathbf r\times d\mathbf r|$, so $\frac{dA}{dt}=\frac{|\mathbf c|}2$: equal areas in equal times (Kepler’s second law). This holds for any force along the line joining the two particles.
3. Space curves [Page 340]:
(1) Representations and arc length:
A curve is $\mathbf r(u)=x(u)\mathbf i+y(u)\mathbf j+z(u)\mathbf k$ (parametric); or $y=f(x)$, $z=g(x)$ (set $u=x$); or the intersection of two surfaces $F(x,y,z)=0$, $G(x,y,z)=0$.
$$(ds)^2=d\mathbf r\cdot d\mathbf r=(dx)^2+(dy)^2+(dz)^2\quad\Rightarrow\quad\left(\frac{ds}{du}\right)^2=\frac{d\mathbf r}{du}\cdot\frac{d\mathbf r}{du}$$
$$s=\int_{u_1}^{u_2}\sqrt{\frac{d\mathbf r}{du}\cdot\frac{d\mathbf r}{du}}\,du$$
For a plane curve $y=y(x)$: $\mathbf r(u)=u\mathbf i+y(u)\mathbf j$ gives $s=\int_a^b\sqrt{1+(dy/dx)^2}\,dx$ (as in chapter 2).
(2) Tangent, curvature, normal, binormal, torsion:
$d\mathbf r/du$ is tangent to the curve in the direction of increasing $u$; $\hat{\mathbf t}=d\mathbf r/ds$ is the unit tangent.
Curvature and radius of curvature:
$$\kappa=\left|\frac{d\hat{\mathbf t}}{ds}\right|=\left|\frac{d^2\mathbf r}{ds^2}\right|,\qquad\rho=\frac1\kappa$$
Since $|\hat{\mathbf t}|=1$, $d\hat{\mathbf t}/ds\perp\hat{\mathbf t}$; its direction is the principal normal $\hat{\mathbf n}$: $\frac{d\hat{\mathbf t}}{ds}=\kappa\hat{\mathbf n}$. The binormal $\hat{\mathbf b}=\hat{\mathbf t}\times\hat{\mathbf n}$; $(\hat{\mathbf t},\hat{\mathbf n},\hat{\mathbf b})$ is a right-handed orthonormal triad that moves along the curve.
$d\hat{\mathbf b}/ds\perp\hat{\mathbf b}$ (constant length), and also $\perp\hat{\mathbf t}$:
$$0=\frac{d}{ds}(\hat{\mathbf b}\cdot\hat{\mathbf t})=\frac{d\hat{\mathbf b}}{ds}\cdot\hat{\mathbf t}+\hat{\mathbf b}\cdot\kappa\hat{\mathbf n}=\frac{d\hat{\mathbf b}}{ds}\cdot\hat{\mathbf t}$$
so $d\hat{\mathbf b}/ds\propto\hat{\mathbf n}$. Writing the constant as $-\tau$ defines the torsion:
$$\frac{d\hat{\mathbf b}}{ds}=-\tau\hat{\mathbf n},\qquad\tau=-\hat{\mathbf n}\cdot\frac{d\hat{\mathbf b}}{ds},$$
and $\sigma=1/\tau$ is the radius of torsion.
From $\hat{\mathbf n}=\hat{\mathbf b}\times\hat{\mathbf t}$:
$$\frac{d\hat{\mathbf n}}{ds}=\frac{d\hat{\mathbf b}}{ds}\times\hat{\mathbf t}+\hat{\mathbf b}\times\frac{d\hat{\mathbf t}}{ds}=-\tau\hat{\mathbf n}\times\hat{\mathbf t}+\hat{\mathbf b}\times\kappa\hat{\mathbf n}=\tau\hat{\mathbf b}-\kappa\hat{\mathbf t}$$
(3) Frenet–Serret formulae:
$$\frac{d\hat{\mathbf t}}{ds}=\kappa\hat{\mathbf n},\qquad\frac{d\hat{\mathbf n}}{ds}=\tau\hat{\mathbf b}-\kappa\hat{\mathbf t},\qquad\frac{d\hat{\mathbf b}}{ds}=-\tau\hat{\mathbf n}$$
(4) Acceleration along a trajectory:
With speed $v=ds/dt$: $\mathbf v=\frac{d\mathbf r}{ds}\frac{ds}{dt}=v\hat{\mathbf t}$ and $\frac{d\hat{\mathbf t}}{dt}=\frac{ds}{dt}\frac{d\hat{\mathbf t}}{ds}=v\kappa\hat{\mathbf n}=\frac v\rho\hat{\mathbf n}$, so
$$\mathbf a=\frac{dv}{dt}\hat{\mathbf t}+\frac{v^2}\rho\hat{\mathbf n}$$
a tangential part $dv/dt$ plus the centripetal acceleration $v^2/\rho$ along the principal normal.
If the curve is given by a parameter $u$ that is not $t$:
$$\mathbf v=\frac{d\mathbf r}{du}\frac{du}{dt},\qquad\mathbf a=\frac{d^2\mathbf r}{du^2}\left(\frac{du}{dt}\right)^2+\frac{d\mathbf r}{du}\frac{d^2u}{dt^2}$$
4. Vector functions of several arguments [Page 344]:
The rules of 1.(3) hold with partial derivatives, e.g. $\frac{\partial\mathbf a}{\partial u}=\frac{\partial a_x}{\partial u}\mathbf i+\frac{\partial a_y}{\partial u}\mathbf j+\frac{\partial a_z}{\partial u}\mathbf k$. Chain rule, for $\mathbf a=\mathbf a(u_1,\ldots,u_n)$ with $u_j=u_j(v_1,\ldots,v_n)$:
$$\frac{\partial\mathbf a}{\partial v_i}=\sum_{j=1}^n\frac{\partial\mathbf a}{\partial u_j}\frac{\partial u_j}{\partial v_i}$$
If $\mathbf a$ also depends explicitly on $v$: $\frac{d\mathbf a}{dv}=\frac{\partial\mathbf a}{\partial v}+\sum_{j=1}^n\frac{\partial\mathbf a}{\partial u_j}\frac{\partial u_j}{\partial v}$.
Differential:
$$d\mathbf a=\sum_{j=1}^n\frac{\partial\mathbf a}{\partial u_j}du_j$$
e.g. $d\mathbf E=\frac{\partial\mathbf E}{\partial x}dx+\frac{\partial\mathbf E}{\partial y}dy+\frac{\partial\mathbf E}{\partial z}dz$.
5. Surfaces [Page 345]:
(1) Parametric surface:
$\mathbf r(u,v)=x(u,v)\mathbf i+y(u,v)\mathbf j+z(u,v)\mathbf k$ (two parameters, a curve needs one). $z=f(x,y)$ becomes $\mathbf r(u,v)=u\mathbf i+v\mathbf j+f(u,v)\mathbf k$.
A curve on the surface is $u=u(\lambda)$, $v=v(\lambda)$, with tangent
$$\frac{d\mathbf r}{d\lambda}=\frac{\partial\mathbf r}{\partial u}\frac{du}{d\lambda}+\frac{\partial\mathbf r}{\partial v}\frac{dv}{d\lambda}$$
The coordinate curves $u=$ const and $v=$ const have tangents along $\partial\mathbf r/\partial v$ and $\partial\mathbf r/\partial u$ respectively. On a smooth surface these two vectors are linearly independent and span the tangent plane.
(2) Normal and area:
$$\mathbf n=\frac{\partial\mathbf r}{\partial u}\times\frac{\partial\mathbf r}{\partial v},\qquad dS=\left|\frac{\partial\mathbf r}{\partial u}\times\frac{\partial\mathbf r}{\partial v}\right|du\,dv=|\mathbf n|\,du\,dv,\qquad A=\iint_R|\mathbf n|\,du\,dv$$
where $R$ is the region of the $uv$-plane that describes the surface.
Example:
Area element and total area of a sphere of radius $a$.
Answer:
$\mathbf r(\theta,\phi)=a\sin\theta\cos\phi\,\mathbf i+a\sin\theta\sin\phi\,\mathbf j+a\cos\theta\,\mathbf k$.
$$\frac{\partial\mathbf r}{\partial\theta}=a\cos\theta\cos\phi\,\mathbf i+a\cos\theta\sin\phi\,\mathbf j-a\sin\theta\,\mathbf k,\qquad\frac{\partial\mathbf r}{\partial\phi}=-a\sin\theta\sin\phi\,\mathbf i+a\sin\theta\cos\phi\,\mathbf j$$
$$\mathbf n=\begin{vmatrix}\mathbf i&\mathbf j&\mathbf k\\a\cos\theta\cos\phi&a\cos\theta\sin\phi&-a\sin\theta\\-a\sin\theta\sin\phi&a\sin\theta\cos\phi&0\end{vmatrix}=a^2\sin\theta(\sin\theta\cos\phi\,\mathbf i+\sin\theta\sin\phi\,\mathbf j+\cos\theta\,\mathbf k)$$
$$dS=a^2\sin\theta\,d\theta\,d\phi,\qquad A=\int_0^\pi d\theta\int_0^{2\pi}d\phi\,a^2\sin\theta=4\pi a^2$$
6. Scalar and vector fields [Page 347]:
A scalar field $\phi(x,y,z)$ (e.g. pressure in a fluid, electrostatic potential) or a vector field $\mathbf a(x,y,z)$ (e.g. fluid velocity, electric field) is defined at every point of a region $R$, and is assumed continuous and differentiable. Line, surface and volume integrals of fields are left to chapter 11; this chapter deals with the differential operators.
7. Vector operators [Page 347]:
(1) Del:
$$\nabla\equiv\mathbf i\frac{\partial}{\partial x}+\mathbf j\frac{\partial}{\partial y}+\mathbf k\frac{\partial}{\partial z}$$
(2) Gradient of a scalar field [Page 348]:
$$\mathrm{grad}\,\phi=\nabla\phi=\mathbf i\frac{\partial\phi}{\partial x}+\mathbf j\frac{\partial\phi}{\partial y}+\mathbf k\frac{\partial\phi}{\partial z}$$
$\nabla\phi$ is a vector field; do not confuse it with the operator $\phi\nabla=(\phi\,\partial/\partial x,\phi\,\partial/\partial y,\phi\,\partial/\partial z)$. E.g. $\nabla(xy^2z^3)=y^2z^3\mathbf i+2xyz^3\mathbf j+3xy^2z^2\mathbf k$.
a. Change along a displacement:
$$\nabla\phi\cdot d\mathbf r=\frac{\partial\phi}{\partial x}dx+\frac{\partial\phi}{\partial y}dy+\frac{\partial\phi}{\partial z}dz=d\phi,\qquad\frac{d\phi}{du}=\nabla\phi\cdot\frac{d\mathbf r}{du},\qquad\frac{d\phi}{ds}=\nabla\phi\cdot\hat{\mathbf t}$$
b. Directional derivative in the direction $\hat{\mathbf a}$:
$$\frac{d\phi}{ds}=\nabla\phi\cdot\hat{\mathbf a}=|\nabla\phi|\cos\theta$$
so $\nabla\phi$ points in the direction of fastest increase of $\phi$, with rate $|\nabla\phi|$; the fastest decrease is $-|\nabla\phi|$ along $-\nabla\phi$.
c. The operator $\hat{\mathbf a}\cdot\nabla=a_x\frac{\partial}{\partial x}+a_y\frac{\partial}{\partial y}+a_z\frac{\partial}{\partial z}$ gives the rate of change along $\hat{\mathbf a}$ of whatever it acts on (scalar or vector); e.g. $d\mathbf E=(d\mathbf r\cdot\nabla)\mathbf E$.
d. $\nabla\phi$ is normal to the level surface $\phi(x,y,z)=c$ (along any tangent $\hat{\mathbf t}$, $d\phi/ds=\nabla\phi\cdot\hat{\mathbf t}=0$). With $\hat{\mathbf n}$ the unit normal towards increasing $\phi$:
$$\nabla\phi\equiv\frac{\partial\phi}{\partial n}\hat{\mathbf n},$$
where $\partial\phi/\partial n\equiv|\nabla\phi|$ is the normal derivative.
Tangent plane and normal line at $\mathbf r_0$, with $\mathbf n_0=\nabla\phi(\mathbf r_0)$: $(\mathbf r-\mathbf r_0)\cdot\mathbf n_0=0$ and $(\mathbf r-\mathbf r_0)\times\mathbf n_0=\mathbf 0$.
e. Chain rule: $\nabla[\phi(\psi)]=\frac{d\phi}{d\psi}\nabla\psi$.
Example:
For $\phi=x^2y+yz$ at $(1,2,-1)$, find the rate of change in the direction $\mathbf a=\mathbf i+2\mathbf j+3\mathbf k$, and the greatest rate of change and its direction.
Answer:
$\nabla\phi=2xy\mathbf i+(x^2+z)\mathbf j+y\mathbf k=4\mathbf i+2\mathbf k$ at $(1,2,-1)$, and $\hat{\mathbf a}=\frac1{\sqrt{14}}(\mathbf i+2\mathbf j+3\mathbf k)$:
$$\frac{d\phi}{ds}=\nabla\phi\cdot\hat{\mathbf a}=\frac{4+6}{\sqrt{14}}=\frac{10}{\sqrt{14}}$$
The greatest rate is $|\nabla\phi|=\sqrt{20}$, in the direction of $4\mathbf i+2\mathbf k$.
Example:
Tangent plane and normal line of the sphere $\phi=x^2+y^2+z^2=a^2$ at $(0,0,a)$.
Answer:
$\nabla\phi=2x\mathbf i+2y\mathbf j+2z\mathbf k=2a\mathbf k$ there. Tangent plane: $(\mathbf r-\mathbf r_0)\cdot2a\mathbf k=0\Rightarrow z=a$. Normal line: $(\mathbf r-\mathbf r_0)\times2a\mathbf k=2ay\mathbf i-2ax\mathbf j=\mathbf 0\Rightarrow x=y=0$, the $z$-axis.
(3) Divergence of a vector field [Page 352]:
$$\mathrm{div}\,\mathbf a=\nabla\cdot\mathbf a=\frac{\partial a_x}{\partial x}+\frac{\partial a_y}{\partial y}+\frac{\partial a_z}{\partial z}$$
a scalar field. If $\nabla\cdot\mathbf a=0$ the field is solenoidal. For a fluid velocity $\mathbf v$, $\nabla\cdot\mathbf v$ is the net rate of outflow per unit volume at a point. E.g. $\nabla\cdot(x^2y^2\mathbf i+y^2z^2\mathbf j+x^2z^2\mathbf k)=2(xy^2+yz^2+x^2z)$.
Laplacian: if $\mathbf a=\nabla\phi$,
$$\nabla\cdot\nabla\phi=\nabla^2\phi,\qquad\nabla^2\equiv\frac{\partial^2}{\partial x^2}+\frac{\partial^2}{\partial y^2}+\frac{\partial^2}{\partial z^2}$$
E.g. $\nabla^2(xy^2z^3)=2xz^3+6xy^2z$.
(4) Curl of a vector field [Page 353]:
$$\nabla\times\mathbf a=\left(\frac{\partial a_z}{\partial y}-\frac{\partial a_y}{\partial z}\right)\mathbf i+\left(\frac{\partial a_x}{\partial z}-\frac{\partial a_z}{\partial x}\right)\mathbf j+\left(\frac{\partial a_y}{\partial x}-\frac{\partial a_x}{\partial y}\right)\mathbf k=\begin{vmatrix}\mathbf i&\mathbf j&\mathbf k\\\frac{\partial}{\partial x}&\frac{\partial}{\partial y}&\frac{\partial}{\partial z}\\a_x&a_y&a_z\end{vmatrix}$$
(the derivatives in the second row act on the third row). If $\nabla\times\mathbf a=\mathbf 0$ the field is irrotational. E.g.
$$\nabla\times(x^2y^2z^2\mathbf i+y^2z^2\mathbf j+x^2z^2\mathbf k)=-2\left[y^2z\,\mathbf i+(xz^2-x^2y^2z)\mathbf j+x^2yz^2\mathbf k\right]$$
Physical meaning: for a fluid, $\nabla\times\mathbf v$ measures the local angular velocity (a small paddle wheel would turn where $\nabla\times\mathbf v\neq\mathbf 0$). For a rigid body rotating with $\boldsymbol\omega=\omega\mathbf k$, $\mathbf v=\boldsymbol\omega\times\mathbf r=-\omega y\mathbf i+\omega x\mathbf j$ and
$$\nabla\times\mathbf v=\begin{vmatrix}\mathbf i&\mathbf j&\mathbf k\\\frac{\partial}{\partial x}&\frac{\partial}{\partial y}&\frac{\partial}{\partial z}\\-\omega y&\omega x&0\end{vmatrix}=2\omega\mathbf k=2\boldsymbol\omega$$
8. Vector operator formulae [Page 354]:
These hold in every coordinate system (grad, div and curl have coordinate-free geometric definitions, chapter 11).
(1) Sums and products (Table 10.1):
$$\nabla(\phi+\psi)=\nabla\phi+\nabla\psi,\qquad\nabla\cdot(\mathbf a+\mathbf b)=\nabla\cdot\mathbf a+\nabla\cdot\mathbf b,\qquad\nabla\times(\mathbf a+\mathbf b)=\nabla\times\mathbf a+\nabla\times\mathbf b$$
$$\nabla(\phi\psi)=\phi\nabla\psi+\psi\nabla\phi$$
$$\nabla(\mathbf a\cdot\mathbf b)=\mathbf a\times(\nabla\times\mathbf b)+\mathbf b\times(\nabla\times\mathbf a)+(\mathbf a\cdot\nabla)\mathbf b+(\mathbf b\cdot\nabla)\mathbf a$$
$$\nabla\cdot(\phi\mathbf a)=\phi\nabla\cdot\mathbf a+\mathbf a\cdot\nabla\phi$$
$$\nabla\cdot(\mathbf a\times\mathbf b)=\mathbf b\cdot(\nabla\times\mathbf a)-\mathbf a\cdot(\nabla\times\mathbf b)$$
$$\nabla\times(\phi\mathbf a)=\nabla\phi\times\mathbf a+\phi\nabla\times\mathbf a$$
$$\nabla\times(\mathbf a\times\mathbf b)=\mathbf a(\nabla\cdot\mathbf b)-\mathbf b(\nabla\cdot\mathbf a)+(\mathbf b\cdot\nabla)\mathbf a-(\mathbf a\cdot\nabla)\mathbf b$$
All can be proved by direct calculation, e.g. the $x$-component of $\nabla\times(\phi\mathbf a)$:
$$\frac{\partial}{\partial y}(\phi a_z)-\frac{\partial}{\partial z}(\phi a_y)=\phi\left(\frac{\partial a_z}{\partial y}-\frac{\partial a_y}{\partial z}\right)+\left(\frac{\partial\phi}{\partial y}a_z-\frac{\partial\phi}{\partial z}a_y\right)=\phi(\nabla\times\mathbf a)_x+(\nabla\phi\times\mathbf a)_x$$
(2) Useful special cases with $\mathbf r$ [Page 355]:
With $r=|\mathbf r|$ (easiest to prove in spherical polars):
$$\nabla\phi(r)=\frac{d\phi}{dr}\hat{\mathbf r},\qquad\nabla\cdot[\phi(r)\mathbf r]=3\phi(r)+r\frac{d\phi(r)}{dr},\qquad\nabla^2\phi(r)=\frac{d^2\phi}{dr^2}+\frac2r\frac{d\phi}{dr},\qquad\nabla\times[\phi(r)\mathbf r]=\mathbf 0$$
$$\nabla r=\hat{\mathbf r},\qquad\nabla\cdot\mathbf r=3,\qquad\nabla\times\mathbf r=\mathbf 0,\qquad\nabla\left(\frac1r\right)=-\frac{\hat{\mathbf r}}{r^2}$$
$$\nabla\cdot\left(\frac{\hat{\mathbf r}}{r^2}\right)=-\nabla^2\left(\frac1r\right)=4\pi\delta(\mathbf r)$$
where $\delta$ is the Dirac delta function (chapter 13).
(3) Combinations of grad, div and curl:
grad(grad $\phi$), div(div $\mathbf a$), curl(div $\mathbf a$) and grad(curl $\mathbf a$) make no sense (the outer operator acts on the wrong kind of field). Of the five valid ones, two vanish identically:
$$\nabla\times\nabla\phi=\mathbf 0,\qquad\nabla\cdot(\nabla\times\mathbf a)=0$$
So $\mathbf a=\nabla\phi$ is irrotational, and if $\mathbf a$ is irrotational so is $\mathbf a+\nabla\phi+\mathbf c$ ($\mathbf c$ constant). Likewise $\mathbf b=\nabla\times\mathbf a$ is solenoidal, and so is $\mathbf b+\mathbf c$.
The other three:
$$\nabla\cdot\nabla\phi=\nabla^2\phi=\frac{\partial^2\phi}{\partial x^2}+\frac{\partial^2\phi}{\partial y^2}+\frac{\partial^2\phi}{\partial z^2}$$
$$\nabla(\nabla\cdot\mathbf a)=\left(\frac{\partial^2a_x}{\partial x^2}+\frac{\partial^2a_y}{\partial x\partial y}+\frac{\partial^2a_z}{\partial x\partial z}\right)\mathbf i+\left(\frac{\partial^2a_x}{\partial y\partial x}+\frac{\partial^2a_y}{\partial y^2}+\frac{\partial^2a_z}{\partial y\partial z}\right)\mathbf j+\left(\frac{\partial^2a_x}{\partial z\partial x}+\frac{\partial^2a_y}{\partial z\partial y}+\frac{\partial^2a_z}{\partial z^2}\right)\mathbf k$$
$$\nabla\times(\nabla\times\mathbf a)=\nabla(\nabla\cdot\mathbf a)-\nabla^2\mathbf a$$
Be careful with $\nabla^2\mathbf a$: in Cartesian coordinates the unit vectors are constant, so $(\nabla^2\mathbf a)_i=\nabla^2a_i$ and $[\nabla\times(\nabla\times\mathbf a)]_i=[\nabla(\nabla\cdot\mathbf a)]_i-\nabla^2a_i$. In cylindrical or spherical polars the unit vectors vary, their derivatives contribute to $\nabla^2\mathbf a$, and this component-wise step is not allowed (the vector identity itself is still true).
Example:
Show that $\nabla\cdot(\nabla\phi\times\nabla\psi)=0$.
Answer:
With $\mathbf a=\nabla\phi$, $\mathbf b=\nabla\psi$ in $\nabla\cdot(\mathbf a\times\mathbf b)=\mathbf b\cdot(\nabla\times\mathbf a)-\mathbf a\cdot(\nabla\times\mathbf b)$:
$$\nabla\cdot(\nabla\phi\times\nabla\psi)=\nabla\psi\cdot(\nabla\times\nabla\phi)-\nabla\phi\cdot(\nabla\times\nabla\psi)=0$$
9. Cylindrical polar coordinates [Page 357]:
(1) Basis vectors:
$x=\rho\cos\phi$, $y=\rho\sin\phi$, $z=z$, with $\rho\geq0$, $0\leq\phi\lt2\pi$, $-\infty\lt z\lt\infty$; $\mathbf r=\rho\cos\phi\,\mathbf i+\rho\sin\phi\,\mathbf j+z\mathbf k$.
$$\mathbf e_\rho=\frac{\partial\mathbf r}{\partial\rho}=\cos\phi\,\mathbf i+\sin\phi\,\mathbf j,\qquad\mathbf e_\phi=\frac{\partial\mathbf r}{\partial\phi}=-\rho\sin\phi\,\mathbf i+\rho\cos\phi\,\mathbf j,\qquad\mathbf e_z=\frac{\partial\mathbf r}{\partial z}=\mathbf k$$
These are not all of unit length. The unit vectors
$$\hat{\mathbf e}_\rho=\cos\phi\,\mathbf i+\sin\phi\,\mathbf j,\qquad\hat{\mathbf e}_\phi=\frac1\rho\mathbf e_\phi=-\sin\phi\,\mathbf i+\cos\phi\,\mathbf j,\qquad\hat{\mathbf e}_z=\mathbf k$$
form an orthonormal triad at each point, but $\hat{\mathbf e}_\rho$, $\hat{\mathbf e}_\phi$ change direction as the point moves. Inverting: $\mathbf i=\cos\phi\,\hat{\mathbf e}_\rho-\sin\phi\,\hat{\mathbf e}_\phi$, $\mathbf j=\sin\phi\,\hat{\mathbf e}_\rho+\cos\phi\,\hat{\mathbf e}_\phi$, $\mathbf k=\hat{\mathbf e}_z$.
(2) Line and volume elements:
$$d\mathbf r=d\rho\,\mathbf e_\rho+d\phi\,\mathbf e_\phi+dz\,\mathbf e_z=d\rho\,\hat{\mathbf e}_\rho+\rho\,d\phi\,\hat{\mathbf e}_\phi+dz\,\hat{\mathbf e}_z$$
A change $d\phi$ moves the point a distance $\rho\,d\phi$, not $d\phi$: the scale factors are $1,\rho,1$.
$$(ds)^2=(d\rho)^2+\rho^2(d\phi)^2+(dz)^2,\qquad dV=|d\rho\,\hat{\mathbf e}_\rho\cdot(\rho\,d\phi\,\hat{\mathbf e}_\phi\times dz\,\hat{\mathbf e}_z)|=\rho\,d\rho\,d\phi\,dz$$
In plane polars (drop $z$): $(ds)^2=(d\rho)^2+\rho^2(d\phi)^2$, $dA=\rho\,d\rho\,d\phi$.
(3) Vector operators (Table 10.2):
With $\mathbf a=a_\rho\hat{\mathbf e}_\rho+a_\phi\hat{\mathbf e}_\phi+a_z\hat{\mathbf e}_z$ and a scalar field $\Phi$ (capital, to avoid confusion with the angle $\phi$):
$$\nabla\Phi=\frac{\partial\Phi}{\partial\rho}\hat{\mathbf e}_\rho+\frac1\rho\frac{\partial\Phi}{\partial\phi}\hat{\mathbf e}_\phi+\frac{\partial\Phi}{\partial z}\hat{\mathbf e}_z$$
$$\nabla\cdot\mathbf a=\frac1\rho\frac{\partial}{\partial\rho}(\rho a_\rho)+\frac1\rho\frac{\partial a_\phi}{\partial\phi}+\frac{\partial a_z}{\partial z}$$
$$\nabla\times\mathbf a=\frac1\rho\begin{vmatrix}\hat{\mathbf e}_\rho&\rho\hat{\mathbf e}_\phi&\hat{\mathbf e}_z\\\frac{\partial}{\partial\rho}&\frac{\partial}{\partial\phi}&\frac{\partial}{\partial z}\\a_\rho&\rho a_\phi&a_z\end{vmatrix}$$
$$\nabla^2\Phi=\frac1\rho\frac{\partial}{\partial\rho}\left(\rho\frac{\partial\Phi}{\partial\rho}\right)+\frac1{\rho^2}\frac{\partial^2\Phi}{\partial\phi^2}+\frac{\partial^2\Phi}{\partial z^2}$$
Example:
Express $\mathbf a=yz\mathbf i-y\mathbf j+xz^2\mathbf k$ in cylindrical polars and find $\nabla\cdot\mathbf a$; check in Cartesian coordinates.
Answer:
$$\begin{aligned}\mathbf a&=z\rho\sin\phi(\cos\phi\,\hat{\mathbf e}_\rho-\sin\phi\,\hat{\mathbf e}_\phi)-\rho\sin\phi(\sin\phi\,\hat{\mathbf e}_\rho+\cos\phi\,\hat{\mathbf e}_\phi)+z^2\rho\cos\phi\,\hat{\mathbf e}_z\\&=(z\rho\sin\phi\cos\phi-\rho\sin^2\phi)\hat{\mathbf e}_\rho-(z\rho\sin^2\phi+\rho\sin\phi\cos\phi)\hat{\mathbf e}_\phi+z^2\rho\cos\phi\,\hat{\mathbf e}_z\end{aligned}$$
$$\nabla\cdot\mathbf a=2z\sin\phi\cos\phi-2\sin^2\phi-2z\sin\phi\cos\phi-\cos^2\phi+\sin^2\phi+2z\rho\cos\phi=2z\rho\cos\phi-1$$
In Cartesian coordinates: $\nabla\cdot\mathbf a=0+(-1)+2xz=2zx-1$, the same with $x=\rho\cos\phi$.
10. Spherical polar coordinates [Page 361]:
(1) Basis vectors:
$x=r\sin\theta\cos\phi$, $y=r\sin\theta\sin\phi$, $z=r\cos\theta$, with $r\geq0$, $0\leq\theta\leq\pi$, $0\leq\phi\lt2\pi$.
$$\begin{aligned}\hat{\mathbf e}_r&=\sin\theta\cos\phi\,\mathbf i+\sin\theta\sin\phi\,\mathbf j+\cos\theta\,\mathbf k\\\hat{\mathbf e}_\theta&=\cos\theta\cos\phi\,\mathbf i+\cos\theta\sin\phi\,\mathbf j-\sin\theta\,\mathbf k\\\hat{\mathbf e}_\phi&=-\sin\phi\,\mathbf i+\cos\phi\,\mathbf j\end{aligned}$$
(2) Line and volume elements:
$$d\mathbf r=dr\,\hat{\mathbf e}_r+r\,d\theta\,\hat{\mathbf e}_\theta+r\sin\theta\,d\phi\,\hat{\mathbf e}_\phi$$
Scale factors $1,r,r\sin\theta$.
$$(ds)^2=(dr)^2+r^2(d\theta)^2+r^2\sin^2\theta(d\phi)^2,\qquad dV=r^2\sin\theta\,dr\,d\theta\,d\phi$$
(3) Vector operators (Table 10.3):
$$\nabla\Phi=\frac{\partial\Phi}{\partial r}\hat{\mathbf e}_r+\frac1r\frac{\partial\Phi}{\partial\theta}\hat{\mathbf e}_\theta+\frac1{r\sin\theta}\frac{\partial\Phi}{\partial\phi}\hat{\mathbf e}_\phi$$
$$\nabla\cdot\mathbf a=\frac1{r^2}\frac{\partial}{\partial r}(r^2a_r)+\frac1{r\sin\theta}\frac{\partial}{\partial\theta}(\sin\theta\,a_\theta)+\frac1{r\sin\theta}\frac{\partial a_\phi}{\partial\phi}$$
$$\nabla\times\mathbf a=\frac1{r^2\sin\theta}\begin{vmatrix}\hat{\mathbf e}_r&r\hat{\mathbf e}_\theta&r\sin\theta\,\hat{\mathbf e}_\phi\\\frac{\partial}{\partial r}&\frac{\partial}{\partial\theta}&\frac{\partial}{\partial\phi}\\a_r&ra_\theta&r\sin\theta\,a_\phi\end{vmatrix}$$
$$\nabla^2\Phi=\frac1{r^2}\frac{\partial}{\partial r}\left(r^2\frac{\partial\Phi}{\partial r}\right)+\frac1{r^2\sin\theta}\frac{\partial}{\partial\theta}\left(\sin\theta\frac{\partial\Phi}{\partial\theta}\right)+\frac1{r^2\sin^2\theta}\frac{\partial^2\Phi}{\partial\phi^2}$$
A useful shortcut for the first term:
$$\frac1{r^2}\frac{\partial}{\partial r}\left(r^2\frac{\partial\Phi}{\partial r}\right)=\frac1r\frac{\partial^2}{\partial r^2}(r\Phi)$$
11. General curvilinear coordinates [Page 364]:
(1) Definitions:
$x=x(u_1,u_2,u_3)$, $y=y(u_1,u_2,u_3)$, $z=z(u_1,u_2,u_3)$ and inversely $u_i=u_i(x,y,z)$, one-to-one except perhaps at isolated points or lines. The surfaces $u_i=c_i$ are the coordinate surfaces; pairs of them meet in the coordinate curves. If the three coordinate surfaces through every point meet at right angles the system is orthogonal (e.g. spherical polars: sphere $r=R$, cone $\theta=\Theta$, plane $\phi=\Phi$).
(2) Scale factors:
$\mathbf e_i=\partial\mathbf r/\partial u_i$ is tangent to the $u_i$-curve. With $h_i=|\partial\mathbf r/\partial u_i|$ (the scale factors):
$$\hat{\mathbf e}_i=\frac1{h_i}\frac{\partial\mathbf r}{\partial u_i}$$
Cylindrical: $h_\rho=1$, $h_\phi=\rho$, $h_z=1$. Spherical: $h_r=1$, $h_\theta=r$, $h_\phi=r\sin\theta$.
$$d\mathbf r=\sum_i\frac{\partial\mathbf r}{\partial u_i}du_i=\sum_i du_i\,\mathbf e_i=\sum_ih_i\,du_i\,\hat{\mathbf e}_i$$
For orthogonal coordinates:
$$(ds)^2=h_1^2(du_1)^2+h_2^2(du_2)^2+h_3^2(du_3)^2,\qquad dV=|h_1\hat{\mathbf e}_1\cdot(h_2\hat{\mathbf e}_2\times h_3\hat{\mathbf e}_3)|\,du_1du_2du_3=h_1h_2h_3\,du_1du_2du_3$$
(3) Two sets of basis vectors:
Besides the tangents $\{\hat{\mathbf e}_i\}$ there are the normals to the coordinate surfaces, $\hat{\boldsymbol\epsilon}_i=\nabla u_i/|\nabla u_i|$. A vector can be written in either set, $\mathbf a=\sum_ia_i\hat{\mathbf e}_i=\sum_iA_i\hat{\boldsymbol\epsilon}_i$; the two sets coincide when the system is orthogonal.
With the non-unit vectors $\mathbf e_i=\partial\mathbf r/\partial u_i$ and $\boldsymbol\epsilon_i=\nabla u_i$:
$$\mathbf a=\sum_i\alpha_i\frac{\partial\mathbf r}{\partial u_i}=\sum_i\beta_i\nabla u_i$$
$\alpha_i$ are the contravariant and $\beta_i$ the covariant components (tensors, chapter 26).
Example:
Show that $\{\mathbf e_i\}$ and $\{\boldsymbol\epsilon_i\}$ are reciprocal systems of vectors.
Answer:
$$\mathbf e_i\cdot\boldsymbol\epsilon_j=\frac{\partial\mathbf r}{\partial u_i}\cdot\nabla u_j=\frac{\partial x}{\partial u_i}\frac{\partial u_j}{\partial x}+\frac{\partial y}{\partial u_i}\frac{\partial u_j}{\partial y}+\frac{\partial z}{\partial u_i}\frac{\partial u_j}{\partial z}=\frac{\partial u_j}{\partial u_i}=\delta_{ij}$$
by the chain rule.
(4) Gradient:
$d\Phi=\sum_i\frac{\partial\Phi}{\partial u_i}du_i$ and $d\mathbf r=\sum_ih_idu_i\hat{\mathbf e}_i$, so $d\Phi=\nabla\Phi\cdot d\mathbf r$ with
$$\nabla\Phi=\frac1{h_1}\frac{\partial\Phi}{\partial u_1}\hat{\mathbf e}_1+\frac1{h_2}\frac{\partial\Phi}{\partial u_2}\hat{\mathbf e}_2+\frac1{h_3}\frac{\partial\Phi}{\partial u_3}\hat{\mathbf e}_3,\qquad\nabla=\sum_i\frac{\hat{\mathbf e}_i}{h_i}\frac{\partial}{\partial u_i}$$
Putting $\Phi=u_i$: $\nabla u_i=\hat{\mathbf e}_i/h_i$, so $|\nabla u_i|=1/h_i$ and $\hat{\boldsymbol\epsilon}_i=h_i\nabla u_i=\hat{\mathbf e}_i$: for orthogonal coordinates the two sets are identical.
(5) Divergence:
$$\nabla\cdot\mathbf a=\frac1{h_1h_2h_3}\left[\frac{\partial}{\partial u_1}(h_2h_3a_1)+\frac{\partial}{\partial u_2}(h_3h_1a_2)+\frac{\partial}{\partial u_3}(h_1h_2a_3)\right]$$
Proof: $\hat{\mathbf e}_1=\hat{\mathbf e}_2\times\hat{\mathbf e}_3=h_2\nabla u_2\times h_3\nabla u_3$, so
$$\nabla\cdot(a_1\hat{\mathbf e}_1)=\nabla(a_1h_2h_3)\cdot(\nabla u_2\times\nabla u_3)+a_1h_2h_3\nabla\cdot(\nabla u_2\times\nabla u_3)$$
The last term is zero (8.(3) example), and $\nabla u_2\times\nabla u_3=\frac{\hat{\mathbf e}_2}{h_2}\times\frac{\hat{\mathbf e}_3}{h_3}=\frac{\hat{\mathbf e}_1}{h_2h_3}$, so with the gradient formula
$$\nabla\cdot(a_1\hat{\mathbf e}_1)=\nabla(a_1h_2h_3)\cdot\frac{\hat{\mathbf e}_1}{h_2h_3}=\frac1{h_1h_2h_3}\frac{\partial}{\partial u_1}(a_1h_2h_3)$$
and similarly for the other two components.
(6) Laplacian:
Putting $\mathbf a=\nabla\Phi$ in the divergence:
$$\nabla^2\Phi=\frac1{h_1h_2h_3}\left[\frac{\partial}{\partial u_1}\left(\frac{h_2h_3}{h_1}\frac{\partial\Phi}{\partial u_1}\right)+\frac{\partial}{\partial u_2}\left(\frac{h_3h_1}{h_2}\frac{\partial\Phi}{\partial u_2}\right)+\frac{\partial}{\partial u_3}\left(\frac{h_1h_2}{h_3}\frac{\partial\Phi}{\partial u_3}\right)\right]$$
(7) Curl:
$$\nabla\times\mathbf a=\frac1{h_1h_2h_3}\begin{vmatrix}h_1\hat{\mathbf e}_1&h_2\hat{\mathbf e}_2&h_3\hat{\mathbf e}_3\\\frac{\partial}{\partial u_1}&\frac{\partial}{\partial u_2}&\frac{\partial}{\partial u_3}\\h_1a_1&h_2a_2&h_3a_3\end{vmatrix}$$
Proof: $\hat{\mathbf e}_1=h_1\nabla u_1$ and $\nabla\times\nabla u_1=\mathbf 0$, so
$$\nabla\times(a_1\hat{\mathbf e}_1)=\nabla(a_1h_1)\times\nabla u_1=\nabla(a_1h_1)\times\frac{\hat{\mathbf e}_1}{h_1}=\frac{\hat{\mathbf e}_2}{h_3h_1}\frac{\partial}{\partial u_3}(a_1h_1)-\frac{\hat{\mathbf e}_3}{h_1h_2}\frac{\partial}{\partial u_2}(a_1h_1)$$
Adding the analogous terms from $a_2\hat{\mathbf e}_2$ and $a_3\hat{\mathbf e}_3$ gives exactly the expansion of the determinant.
These four formulae (Table 10.4) give Tables 10.2 and 10.3 on inserting the scale factors. For non-orthogonal coordinates the tensor forms of chapter 26 are needed.

