IA Vector Calculus
For a continuous function $$ f: \R \to \R^n, $$ the image of $f$ is called a parametrised curve with $t$ the parameter.
The choice of parametrisation is not unique, and plotting the curve loses information about the parameter $t$.
A function $\v x(t)$ is differentiable at $t$ if $$\v x(t+\delta t) - \v x(t) = \dv x(t) \delta t + O(\delta t^2). $$ Then the derivative is $$ \dfd{\v x}t \equiv \dv x = \lim_{\delta t\to0}\frac{\delta\v x}{\delta t}$$ where $\delta\v x(t) = \v x(t+\delta t) - \v x(t)$.
If $f: \R \to \R^n$ is differentiable everywhere, the curve is said to be smooth.
-
In any bases independent of $t$, we just differentiate vectors component-wise: $$ \v x(t) = x^i(t) \v e_i \implies \dv x(t) = \dot x^i(t) \v e_i. $$
For real function $f(t)$ and vector functions $\v g(t), \v h(t)$, these can be seen by applying the product rules to the components:
-
$\dd t(f\v g) = \dot f\v g + f\dv g$;
-
$\dd t (\v g\cdot\v h) = \dv g\cdot\v h + \v g\cdot\dv h$;
-
$\dd t (\v g\times\v h) = \dv g\times \v h + \v g\times\dv h$.
The derivative $\dv x(t)$ is called a tangent vector to the curve at $t$.
The direction of $\dv x(t)$ is independent of the choice of parametrisation up to a sign, but the magnitude is not.
A parametrisation is called regular if $\dv x(t) \neq \v 0$ for any $t$.
Let $\v x(t)$ be a curve. For some starting point $t_0$, the arc length $s(t)$ is the (signed) distance from $t_0$ to $t$, $$ s(t) = \int_{t_0}^t |\dv x(t')|\,dt'. $$
The arc length between two points on a curve is independent of the choice of parametrisation. (Proof)
If $\v x$ is regular, then $s'(t) = |\dot{\v x}(t)| > 0$, so $s$ is invertible by the inverse function theorem. Using $s$ to parametrise the curve i.e. $\v x(s)$, the tangent vector has unit norm: $$ \bigg|\dvd xs\bigg| = \frac{|d\v x/dt|}{ds/dt} = 1. $$
Let $\v x(s)$ be a parametrisation by the arc length. The curvature is $$ \kappa(s) = \bigg|\dvd[2]xs\bigg| = \bigg|\dvd ts\bigg| $$ where $\v t = d\v x/ds$ is the unit tangent vector.
If the curve is locally a circle of radius $R$, the curvature at that point is $1/R$.
Let $\v x(s)$ be a curve, and suppose $κ(s)$${}\neq 0$ at some $s$. The principal normal at a point $\v x(s)$ is $$ \v n = \frac1\kappa\dvd[2]xs = \frac1\kappa\dvd ts. $$ $1/\kappa$ ensures this is a unit vector.
If curvature $\kappa\neq 0$, then $\v n\cdot\v t=0$.
The plane spanned by $\v t$ and $\v n$ is called the osculating plane.
-
In $\R^3$, since $\v t\cdot\dvd ts=0$, we can compute the curvature as $$ \kappa = \bigg|\v t\times\dvd ts\bigg| $$
For curves in $\R^3$, define the binormal as $$ \v b = \v t\times\v n. $$
When $\kappa(s)\neq 0$, the vectors $\v t, \v n, \v b$ form an orthonormal basis for each $s$.
For a curve in $\R^3$, the torsion $\tau(s)$ is defined as $$ \dvd bs = -\tau\v n. $$
The torsion measure how much the curve twists out of the plane.
The tangent vectors and binormal vectors satisfy two first order differential equations (so in total six ODEs accounting the components): $$\begin{cases} \dvd ts = \kappa\v n = \kappa\v b\times\v t \\ \dvd bs = -\tau\v n = \tau\v t\times\v b \end{cases}$$ So for fixed $\kappa(s)$ and $\tau(s)$, there is a unique solution given some initial $\v b(0)$ and $\v t(0)$.
Hence the curvature and torsion function specifies a curve up to rotation and translation.
-
The choice of direction along $C$ is called an orientation.
-
The curve $-C$ is the curve $C$ with the opposite orientation.
-
For curves $C_1, C_2$, we can piece together the curves to get $C=C_1 + C_2$.
For a scalar field $\phi: \R^n\to\R$, the line integral of $\phi(\v x)$ along a curve $C: \v x(t)$ from $\v x(t_a) = \v a$ to $\v x(t_b) = \v b$ where $t_a < t_b$ is $$ \int_C\phi\,ds = \int_{t_a}^{t_b} \phi\big(\v x(t)\big)\,|\dv x|\,dt. $$
In particular for parametrisation using arc length, $$\int_C\phi\, ds = \int_{s_a}^{s_b} \phi\big(\v x(s)\big)\,ds. $$
For a vector field $\v F: \R^n \to \R^n$, the line integral of $\v F(\v x)$ along the curve $C:\v x(t)$ from $\v x(t_a) = \v a$ to $\v x(t_b) = \v b$ is $$ \int_C \v F\cdot d\v x = \int_{t_a}^{t_b} \v F\big(\v x(t)\big)\cdot \dv x(t)\, dt. $$
When $C$ is a closed path, i.e. $\v a = \v b$, the integral is called the circulation of $\v F$ around $C$, denoted $$ \oint_C \v F\cdot d\v x. $$
-
The line integral of a vector field is the integral of $\v F$ tangent to the curve.
-
Both line integrals are invariant under reparametrisation.
-
The line integral of a scalar field does not depend on orientation since we impose $t_a<t_b$: $$\int_{-C} \phi\,ds = \int_C \phi\,ds,$$ but the line integral of a vector field does: $$\int_{-C} \v F\cdot d\v x = -\int_C \v F\cdot d\v x.$$
-
For a piecewise smooth curve $C_1 + C_2$, $$\int_{C_1+C_2}\v F\cdot d\v x = \int_{C_1}\v F\cdot d\v x + \int_{C_2}\v F\cdot d\v x.$$
For a scalar field $\phi: \R^n \to \R$, the partial derivatives are defined to be $$ \pdfd\phi{x^1}(\v x) = \lim_{\epsilon\to0}\frac1\epsilon\big(\phi(x^1 + \epsilon, x^2, x^3, \ldots, x^n) - \phi(x^1, x^2, \ldots, x^n)\big)$$ and similarly for $\partial\phi/\partial x^i$.
For a scalar field $\phi: \R^n \to \R$, let $\set{\v e_i}$ be an orthonormal basis of $\R^n$. The gradient of $\phi$ is a vector field defined as $$ \v\nabla\phi = \pdfd\phi{x^i} \v e_i. $$
A vector field $\v F$ is called conservative if it can be written as $$ \v F = \v\nabla \phi $$ for some scalar field $\phi$ called the potential.
The following are equivalent: for a vector field $\v F: \R^n \to \R^n$,
-
$\oint_C \v F\cdot d\v x = 0$ for all closed curve $C$;
-
$\int_C \v F\cdot d\v x$ only depends the endpoints of $C$.
-
$\v F$ is conservative;
For a vector field $\v F$, a necessary condition is $$ \pdfd{F_i}{x^j} = \frac{\partial^2\phi}{\partial x^i \partial x^j} = \pdfd{F_j}{x^i}.$$ This turns out to be a sufficient condition for well-behaved functions.
Given a function $\phi(\v x)$, its exact differential is $$ d\phi = \pdfd \phi{x^i} dx^i = \nabla\phi \cdot d\v x.$$
For a vector field $\v F$, $\v F\cdot d\v x$ is an exact differential form if it can be written as $\v F\cdot d\v x=d\phi$. This means $\v F=\nabla\phi$.
If a vector field has singular points, even if it is conservative, $\oint_C \v F\cdot d\v x$ may not be zero for a curve $C$ around the singular point.
For a region $D\subset \R^2$, define the area integral of a scalar field $\phi:\R^2\to\R$ over $D$ as $$\int_D \phi(\v x)\, dA \equiv \iint_D \phi(\v x)\, dA = \lim_{n\to0} \sum_n \phi(\v x_n)\, \delta A $$ by dividing $D$ into small area elements and adding up the values of $\phi$.
Fubini's theorem states that any way of splitting $\int dA$ always gives the same answer for well-behaved $\phi$ and $D$.
For functions $(u(x,y), v(x,y))$, the Jacobian is $$ J(u,v) \equiv \pdfd{(x,y)}{(u,v)} = \begin{vmatrix}\partial x/\partial u & \partial x/\partial v \\ \partial y/\partial u & \partial y/\partial v \end{vmatrix}. $$
Assume $(x,y)\mapsto (u,v)$ is a smooth and invertible map. The area integral can be written as $$ \int_D dx\,dy\,\phi(x,y) = \int_{D'} du\,dv\,|J(u,v)|\,\phi(u,v) $$ where $D'$ is the image of $D$ and $J(u,v)$ is the Jacobian.
Same thing for a volume integral.
Informally, there are two ways to define a surface in $\R^3$:
-
as a level set of a function $F(x,y,z) = 0;$
-
or as a parametrised surface $\v x: \R^2 \to \R^3.$
The normal vector $\v n$ of a surface points perpendicular away from the surface.
-
For the surface $F(\v x) = 0$, $\v n\parallel \nabla F$ (Derivation). Define $$ \v n = \pm \frac1{|\nabla F|} \nabla F. $$
-
For a parametrised surface $\v x(u, v)$, $$ \v n \parallel \pdvd xu \times \pdvd xv. $$
If the normal vector $\v n\neq \v 0$ at all points on the surface, then the surface is regular.
A surface is bounded if it does not stretch to infinity. Otherwise it is unbounded.
The boundary of a surface $S$ is a closed curve denoted $\partial S$.
A bounded surface with no boundary is closed.
If there is a consistent choice of the normal vector which varies smoothly over a surface, then the surface is orientable.
For a surface $S$ parametrised by $\v x(u, v)$ and a scalar field $\phi: \R^3\to\R$, the surface integral of $\phi$ over $S$ is $$ \int_S \phi(\v x)\, dS = \int_D \bigg|\pdvd x u \times \pdvd x v\bigg|\ \phi(\v x(u,v))\, du\, dv $$ where $D$ is the region in the $(u,v)$ plane.
For a surface $S$ parametrised by $\v x(u, v)$ and a vector field $\v F: \R^3\to\R^3$, the surface integral of $\v F$ over $S$ is $$ \int_S \v F(\v x)\cdot d\v S = \int_D \Big(\pdvd xu\times\pdvd xv\Big)\cdot \v F\big(\v x(u,v)\big) \,du\,dv$$ where $d\v S = \v n\, dS$ is the area element. The integral is also called the flux of $\v F$ through the surface $S$.
-
The integral for a scalar field does not depend on orientation, but it does for a vector field.
-
The integral is reparametrisation invariant (up to a sign for vector field). (Proof)
See lecture notes for a (non-examinable) discussion on the Gauss-Bonnet Theorem.
Define the gradient operator $$ \nabla = \v e_i \pdd{x^i}. $$
Alternatively to here, we can define the gradient of a scalar field $\phi: \R^n \to \R$ by $$ \phi(\v x+\v h) = \phi(\v x) + \v h\cdot\nabla\phi + O(|\v h|^2). $$
Let $\v x(t): \R \to \R^n$ be a curve in $\R^n$ and $\phi: \R^n \to \R$ be a scalar field. Then $$ \dvd{\phi\big(\v x(t)\big)}t = \nabla\phi\cdot\dvd xt.$$ Proof
For a vector field $\v F: \R^n\to\R^n$, the divergence of $\v F$ is a scalar field $$ \nabla\cdot\v F = \pdfd{F_i}{x^i}. $$
For a vector field $\v F: \R^3\to\R^3$, the curl of $\v F$ is $$ \nabla \times \v F = \epsilon_{ijk} \pdfd{F_j}{x_i} \v e_k.$$
A vector field $\v F: \R^3\to\R^3$ is
-
irrotational if $\nabla\times\v F=\v 0$;
-
divergence-free/solenoidal if $\nabla\cdot\v F=0$.
The Laplacian is a second-order differential operator: $$ \nabla^2 = \nabla\cdot\nabla = \frac{\partial^2}{\partial x^i\partial x^i}. $$
Properties:
-
Rotational symmetry: let $\v r = r\vhat r$. $$ \begin{align*} \nabla r^p &= pr^{p-1} \vhat r, \\ \nabla\cdot\v r &= n &\text{in }\R^n, \\ \nabla\times\v r &= \v 0. \end{align*} $$ (Derivation)
For constant $\alpha$, scalar fields $\phi(\v x), \psi(\v x)$ and vectors fields $\v F(\v x), \v G(\v x)$,
-
$\nabla$ is linear operator: $$ \begin{align*} \nabla(\alpha\phi + \psi) &= \alpha \nabla \phi + \nabla\psi \\ \nabla\cdot(\alpha\phi + \psi) &= \alpha \nabla\cdot \phi + \nabla\cdot\psi \\ \nabla\times(\alpha\phi + \psi) &= \alpha \nabla\times \phi + \nabla\times\psi \\ \end{align*} $$
-
Leibniz properties: $$\begin{align*} \nabla(\phi\psi) &= \psi\nabla\phi+\phi\nabla\psi \\ \nabla\cdot(\phi\v F) &= (\nabla\phi)\cdot\v F + \phi(\nabla\cdot \v F) \\ \nabla\times(\phi\v F) &= (\nabla\phi)\times\v F + \phi(\nabla\times\v F) \end{align*}$$ and more: $$\begin{align*} \nabla\cdot(\v F\times\v G) &= (\nabla\times\v F)\cdot\v G-\v F\cdot(\nabla\times\v G) \\ \nabla(\v F\cdot\v G) &= \v F\times(\nabla\times\v G) + \v G\times(\nabla\times F) + (\v F\cdot\nabla)\v G + (\v G\cdot\nabla)\v F \\ \nabla\times(\v F\times\v G) &= (\nabla\cdot\v G)\v F - (\nabla\cdot \v F)\v G + (\v G\cdot\nabla)\v F - (\v F\cdot\nabla)\v G \end{align*}$$ (Derivation)
-
Double $\nabla$: (see this and this for derivation) $$ \begin{align*} \nabla\times(\nabla\phi) &= \v 0 \\ \nabla\cdot(\nabla\times\v F) &= 0 \end{align*} $$
-
Laplacian of vector field: $$ \nabla^2\v F = \nabla(\nabla\cdot\v F)-\nabla\times(\nabla\times\v F)[$$ (Derivation)
For vector field $\v F: \R^3 \to \R^3$ defined everywhere, it is conservative iff it is irrotational: $$ \nabla\times\v F=\v 0 \iff \v F=\nabla\phi. $$
For $\v F: \R^3\to\R^3$ defined everywhere, $$ \nabla\cdot\v F = 0 \iff \v F=\nabla\times\v A \quad\text{for some }\v A. $$
For coordinates $\v x(u,v,w)$, it is said to be orthogonal curvilinear if $\partial\v x/\partial u$, $\partial\v x/\partial v$, $\partial\v x/\partial w$ are mutually orthogonal.
We can introduce normalised tangent vectors $$ \pdvd xu = h_u \v e_u, \quad \pdvd xv = h_v \v e_v, \quad \pdvd xw = h_w \v e_w $$ where $h_u, h_v, h_w>0$, $\v e_u, \v e_v, \v e_w$ orthonormal and by reordering the coordinates $\v e_u\times\v e_v = \v e_w$.
Then we have length element $$ d\v x = h_u \v e_u\,du + h_v \v e_v\,dv + h_w\v e_w\,dw. $$
In orthogonal curvilinear coordinates $\v x(u,v,w)$, $$ \nabla = \frac1{h_u}\v e_u \pdd u + \frac1{h_v}\v e_v\pdd v + \frac1{h_w}\v e_w \pdd w $$ and for scalar field $f: \R^3\to\R$ and vector field $\v F:\R^3\to\R^3$, $$\begin{align*} \nabla f &= \frac1{h_u} \pdfd fu \v e_u + \frac1{h_v}\pdfd fv\v e_v + \frac1{h_w}\pdfd fw \v e_w, \\ \nabla\cdot\v F &= \frac{1}{h_u h_v h_w} \bigg(\pdd u(h_v h_w F_u) + \pdd v(h_u h_w F_v) + \pdd w (h_uh_v F_w)\bigg), \\ \nabla\times\v F &= \frac1{h_uh_v h_w}\begin{vmatrix}h_u\v e_u & h_v\v e_v & h_w\v e_w \\ \pdd u & \pdd v & \pdd w \\ h_uF_u & h_v F_v & h_w F_w \end{vmatrix}. \end{align*}$$
Cylindrical polar coordinates are given by $$\begin{align*} x &= \rho \cos \phi & & & \rho&\in[0,\infty) \\ y &= \rho \sin \phi & &\text{with} & \phi&\in[0, 2\pi) \\ z &= z &&& z&\in(-\infty, \infty). \end{align*}$$ The inverse map is $$ \begin{align*} \rho &= \sqrt{x^2+y^2}, \\ \tan\phi &= \frac yx. \end{align*} $$
The orthonormal vectors are $$ \begin{align*} \v e_\rho \equiv \vhat\rho &= (\cos\phi,\sin\phi,0), & h_\rho &= 1, \\ \v e_\phi \equiv \vhat\phi &= (-\sin\phi, \cos\phi,0), & h_\phi &= \rho, \\ \v e_z \equiv\vhat z &= (0,0,1), &h_z &= 1. \end{align*} $$
So the Jacobian is $$ \pdfd{(x,y,z)}{(\rho,\phi,z)} = h_\rho h_\phi h_z = \rho. $$ The derivative stuff are $$\begin{align*} \nabla &= \vhat\rho \pdd \rho + \frac1\rho\vhat\phi\pdd\phi + \vhat z\pdd z, \\ \nabla f &= \vhat\rho \pdfd f \rho + \frac1\rho\vhat\phi\pdfd f\phi + \vhat z\pdfd fz, \\ \nabla\cdot\v F &= \frac1\rho\pdfd{(\rho F_\rho)}\rho + \frac1\rho\pdfd{F_\phi}\phi + \pdfd{F_z}z, \\ \nabla^2 f &= \frac1\rho\pdd\rho\bigg(\rho\pdfd f\rho\bigg) + \frac1{\rho^2}\pdfd[2]f\phi + \pdfd[2]fz. \end{align*}$$
Spherical polar coordinates are defined as $$\begin{align*} x &= r\sin\theta\cos\phi & & & r &\in [0,\infty) \\ y &= r\sin\theta\sin\phi & &\text{with} & \theta &\in [0,\pi] \\ z &= r\cos\theta & & & \phi &\in [0,2\pi). \end{align*}$$ The inverse map is $$\begin{align*} r &= \sqrt{x^2+y^2+z^2}, \\ \tan\theta &= \frac{\sqrt{x^2+y^2}}z, \\ \tan\phi &= \frac yx. \end{align*}$$
The tangent vectors are $$\begin{align*} \v e_r \equiv \vhat r &= (\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta), & h_r &= 1, \\ \v e_\theta \equiv \vhat\theta &= (\cos\theta\cos\phi, \cos\theta\sin\phi, -\sin\theta), &h_\theta &= r, \\ \v e_\phi \equiv \vhat \phi &= (-\sin\phi, \cos\phi, 0), & h_\phi &= r\sin\theta. \end{align*}$$
Jacobian $$ \frac{\partial(x,y,z)}{\partial(r,\theta,\phi)} = r^2 \sin\theta. $$
The derivative stuff are $$\begin{align*} \nabla &= \vhat r \pdd r +\frac1r\vhat\theta \pdd\theta + \frac1{r\sin\theta}\vhat \phi\pdd \phi, \\ \nabla f &= \vhat r \pdfd fr +\frac1r\vhat\theta \pdfd f\theta + \frac1{r\sin\theta}\vhat \phi\pdfd f\phi, \\ \nabla\cdot\v F &= \frac1{r^2} \pdfd{(r^2 F_r)}r + \frac1{r\sin\theta} \pdfd{(\sin\theta F_\theta)}\theta + \frac1{r\sin\theta}\pdfd{F_\phi}{\phi} \\ \nabla^2 f &= \frac1{r^2} \pdd r\bigg(r^2\pdfd fr\bigg) + \frac1{r^2\sin\theta}\pdd\theta\bigg(\sin\theta\pdfd f\theta\bigg) + \frac1{r^2\sin^2\theta} \pdfd[2]f\phi. \end{align*}$$
Also known as Gauss' theorem.
Given a smooth vector field $\v F: \R^3 \to \R^3$, $$ \int_V \nabla\cdot\v F\, dV = \int_{\partial V} \v F\cdot d\v S $$ where $d\v S$ points outwards.
For a scalar field $\phi: \R^3\to\R$, $$ \int_V \nabla \phi\, dV = \int_{\partial V} \phi\,d\v S. $$
Suppose a physical quantity is conserved locally, which means that if the total quantity inside some region $V$ decreases at some rate, then the flux out of the region should be at that rate.
More specifically, if $\rho(\v x,t)$ is the density and $\v J(\v x,t)$ is the current density, $$ \pdd t \int_V \rho\,dV = -\int_{\partial V}\v J\cdot d\v S. $$ Using the divergence theorem, we obtain the continuity equation $$ \pdfd\rho t + \nabla\cdot\v J = 0. $$
Let $P(x,y), Q(x,y)$ be smooth functions on $\R^2$. Then $$ \int_A \Big(\pdfd Qx - \pdfd Py\Big) \, dA = \oint_C P\,dx + Q\,dy $$ where $C=\partial A$ going anti-clockwise.
Let $S$ be a smooth surface in $\R^3$ with boundary $C=\partial S$. For a smooth vector field $\v F(\v x)$, $$ \int_S (\nabla\times\v F)\cdot d\v S = \oint_C \v F\cdot d\v x. $$ The orientation is that $d\v x\times d\v S$ should point outward of $S$ (the orientation should be along how you curl your right hand figures around the normal vector).
(Green's theorem is obtained by taking $\v F=(P,Q,0)$ and $S$ be on the $z=0$ plane.)
We have Newton's force and Coulomb's force $$ \v F(\v x) = m\v g(\v x) + q\v E(\v x). $$ where the gravitational field and electric field can be defined in three equivalent ways: $$ \text{inverse square law} \iff \text{Gauss' law in integrated form} \iff \text{Gauss' law in differential form} $$ $$ \begin{align*} \v g(r) &= -\frac{GM}{r^2}\vhat r &&\iff& \int_S \v g\cdot d\v S &= -4\pi GM &&\iff& \nabla\cdot\v g &= -4\pi G\rho(\v x), \\ \v E(r) &= -\frac{Q}{4\pi \epsilon_0 r^2}\vhat r &&\iff& \int_S \v E\cdot d\v S &= \frac{Q}{\epsilon_0} &&\iff& \nabla\cdot\v E &= \frac{\rho(\v x)}{\epsilon_0}. \\ \end{align*}$$ Proof
$$\begin{align*} \text{Poisson equation}& & \nabla^2\phi &= f(\v x). \\ \text{Laplace equation}& & \nabla^2\phi &= 0. \end{align*}$$ In static conditions, gravitational field $\v g$ and electric field $\v E$ are conservative, so the potentials of the fields satisfy the Poisson equation.
Solutions to the Laplace equation $\nabla^2\psi=0$ are called harmonic functions.
-
$\nabla^2$ is linear, so sum of solutions is also a solution. Solutions to Laplace equation are complementary solutions to Poisson.
-
If $\psi(r)$ is a solution, so is any derviative of $\psi$, e.g. $\v d\cdot\nabla\psi$.
-
With spherical symmetry $\psi(\v x) = \psi(r)$, the solution is $$ \begin{align*} \psi(r) = \frac{A}{r} + B. \end{align*} $$
-
With cylindrical polar $\psi(\v x) = \psi(\rho)$, the solution is $$ \begin{align*} \psi(\rho) = A \log \rho + B. \end{align*} $$
(Derivation) Example of solving isotropic Poisson equation with boundary conditions
Common boundary conditions: in some region $V\subset\R^3$,
-
Dirichlet condition: fix $\psi(\v x)$ on $\partial V$;
-
Newmann condition: fix $\v n\cdot\nabla \psi(\v x)$ on $\partial V$, where $\v n$ is the outward pointing normal of $\partial V$.
$$ \begin{align*} \int_{V} \phi\nabla^2\psi \, dV = \int_{\partial V} \phi\nabla\psi \cdot d\v S - \int_{V} \nabla\phi\cdot\nabla\psi \, dV \end{align*} $$ (Derivation) And swapping the roles of $\phi,\psi$ and subtracting gives $$ \begin{align*} \int_{V} (\phi\nabla^2\psi-\psi\nabla^2\phi) \, dV = \int_{\partial V} (\phi\nabla\psi - \psi\nabla\phi) \cdot d\v S. \end{align*} $$
If there is a solution to the Poisson equation on a region $V$ with either Dirichlet or Newmann boundary conditions specified on each $\partial V$, then it is unique up to a constant.
In particular if Dirichlet condition is specified anywhere, then the solution is unique.
In general we can extend this to unbounded region with specified asymptotic boundary conditions.
For Poisson equation $\nabla^2\psi = -\rho(\v x)$ with Newmann condition $\v n\cdot\nabla\psi = g(\v x)$ on $\partial V$, $$ \begin{align*} -\int_{V} \rho(\v x) \, dV = \int_{\partial V} g(\v x) \, dS. \end{align*} $$
If $\psi$ is harmonic in a region $V$ that includes a ball with boundary $S_R: |\v x-\v a|=R$, then the value of $\psi(\v a)$ is the average of $\psi$ on the sphere: $$ \begin{align*} \psi(\v a) = \frac{1}{4\pi R^2} \int_{S_R} \psi(\v x) \, dS. \end{align*} $$
A harmonic function can have neither a maximum or minimum in the interior of $V$.
$\nabla^2\psi = -\rho(\v x)$ has integral solution $$ \begin{align*} \psi(\v x) = \frac{1}{4\pi}\int_{V'} \frac{\rho(\v x')}{|\v x-\v x'|} \, dV'. \end{align*} $$
Revision on change of basis: for two sets of orthonormal bases $\set{\v e_i}$ and $\set{\v e'_i}$ such that $$ \begin{align*} \v e'_i = R_{ij} \v e_j, \end{align*} $$ $R$ is orthonomal i.e. $RR^T = I$. (Derivation)
Equivalent views:
-
A tensor $T$ of rank $p$ (or a $p$-tensor) in $\R^n$ is an array of numbers $T_{i_1 i_2 \ldots i_p}$ where $i_k = 1,2,\ldots,n$, such that under a change of orthonormal basis from $\set{\v e_i}$ to $\set{\v e_i'}$ where $\v e_i' = R_{ij} \v e_j$, the components of the tensors transform as $$ \begin{align*} T_{i_1 i_2 \ldots i_p}' = R_{i_1 j_1} R_{i_2 j_2} \ldots R_{i_p j_p} T_{j_1 j_2 \ldots j_p}. \end{align*} $$
-
A $p$-tensor in $R^n$ is a multi-linear map $$ \begin{align*} T: \ub{\R^n \times \ldots \times\R^n}_{p} \to \R \end{align*} $$ such that in a given basis $\set{\v e_i}$, $$ \begin{align*} T(\v a, \v b, \ldots, \v c) = T_{i_1 i_2 \ldots i_p} a_{i_1} b_{i_2} \ldots c_{i_p}. \end{align*} $$ (Derivation of following transformation rules)
-
A $p$-tensor in $R^n$ is a multi-linear map $$ \begin{align*} T: \ub{\R^n \times \ldots \times\R^n}_{p-1} \to \R^n \end{align*} $$ such that in a given basis $\set{\v e_i}$, $$ \begin{align*} T(\v a, \v b, \ldots, \v c)_i = T_{i j_1 j_2 \ldots j_p} a_{j_1} b_{j_2} \ldots c_{j_p}. \end{align*} $$
-
If $S, T$ are tensors of the same rank, then so is $S+T$ and $\lambda T$ with $\lambda\in\R$.
-
If $S$ is a $p$-tensor and $T$ is a $q$-tensor, then the tensor product $S\otimes T$ is a $(p+q)$-tensor $$ \begin{align*} (S\otimes T)_{i_1 \ldots i_p j_1 \ldots j_q} = S_{i_1 \ldots i_p} T_{j_1 \ldots j_q}. \end{align*} $$
-
If $T$ is a $p$-tensor, we can construct a $(p-2)$-tensor by contraction $$ \begin{align*} S_{k_1 \ldots k_{p-2}} = \delta_{ij} T_{ijk_1\ldots k_{p-2}}. \end{align*} $$ For rank 2 tensor, the contraction is the trace $A_{ii}$. The dot product is the contraction of the tensor product $\delta_{ij} a_i b_j$.
Let $v_{i_1 \ldots i_p} = T_{i_1 \ldots i_p j_1 \ldots j_q} u_{j_1 \ldots j_q}$.
Then $T$ is a ($p+q$)-tensor iff for every $q$-tensor $u$, $v$ is a $p$-tensor. Proof
A tensor $T$ is
-
symmetric when $T_{ijp\ldots q} = T_{jip\ldots q}$ or for any other indices;
-
anti-symmetric when $T_{ijp\ldots q} = -T_{jip\ldots q}$ or for any other indices.
(Anti-)symmetry is a basis independent property. (Proof)
Any $n\times n$ matrix $B$ can be written as a sum of symmetric and anti-symmetric parts, $$\begin{align*} B_{ij} &= \frac12 (B_{ij} + B_{ji}) + \frac12 (B_{ij} - B_{ji}) \\ B &= \underbrace{\frac12 (B + B^T)}_{\text{symmetric } S} + \underbrace{\frac12 (B - B^T)}_{\text{anti-symmetric } A} \end{align*}$$
A symmetric matrix $S$ can be decomposed an isotropic part and a traceless part, $$\begin{align*} S_{ij} &= \frac1n \mrm{trace}(S)\, \delta_{ij} + \big(S_{ij} - \frac1n \mrm{trace}(S)\, \delta_{ij} \big) \\ S &= \underbrace{\frac1n \mrm{trace}(S)\, I}_\text{isotropic} + \underbrace{\big(S - \frac1n\mrm{trace}(S)\, I\big)}_{\text{traceless, since } \mrm{trace}(\frac1n I) = 1} \end{align*}$$
In $\R^3$, the anti-symmetric part $A$ can be written in terms of a single vector $\vec w$ as $$ A_{ijk} = \epsilon_{ijk}\omega_k = \begin{pmatrix} 0 & \omega_3 & -\omega_2 \\ -\omega_3 & 0 & \omega_1 \\ \omega_2 & -\omega_1 & 0 \end{pmatrix} $$ which is a general anti-symmetric matrix.
A tensor $T$ is invariant or isotropic when $T'_{i_1 \ldots i_p} = T_{i_1 \ldots i_p}$ for all $R$.
-
Any rank 0 tensor is isotropic.
-
There is no isotropic rank 1 tensors.
-
$\delta_{ij}$ is an isotropic rank 2 tensor. (Proof)
-
$\epsilon_{ijk}$, the totally anti-symmetric rank 3 tensor, is isotropic under $\mathrm{SO}(3)$. (Proof)
The only non-zero isotropic tensors in $\R^3$ of rank 1,2,3 are $\alpha \delta_{ij}$ and $\beta \epsilon_{ijk}$.
In fact, all isotropic tensors in $\R^n$ are built from the totally anti-symmetric $n$-tensor $\epsilon_{ijk}$ and the symmetric 2-tensor $\delta_{ij}$, e.g. a general isotropic rank 4 tensor in $\R^3$ is $$ \begin{align*} T_{ijkl} = \alpha\delta_{ij}\delta_{kl} + \beta\delta_{ik}\delta_{jl} + \gamma\delta_{il}\delta_{jk}. \end{align*} $$
Noticing invariant tensors can simplify integrals. For example for a rotationally invariant volume $V$, $$ \begin{align*} T_{ij\ldots k} = \int_{V} f(r)x_i x_j \ldots x_k \, dV, \quad r = |\v x| \end{align*} $$ is invariant since $$ \begin{align*} T_{ij\ldots k}' &= R_{ip} R_{jq} \ldots R_{kr} T_{pq\ldots r} \\ &= \int_{V} f(r) \, (R_{ip}x_p)(R_{jq}x_q)\ldots(R_{kr}x_r)\, dV \\ &= \int_{V} f(r) \,x_i' x_j' \ldots x_k'\, dV \end{align*} $$ and $r$ and $dV$ are invariant as $V$ is rotationally invariant. Hence $T_{ij\ldots k}$ is proportional to an invariant tensor.
A tensor field over $\R^n$ assigns a tensor $T_{ij\ldots k}(\v x)$ to each point $\v x\in\R^3$.
For a $p$-tensor field $T$, we can differentiate it to get a $(p+q)$-tensor field $$ \begin{align*} X_{i_1 \ldots i_q j_1 \ldots j_p}(\v x) = \pdd{x_{i_1}} \ldots \pdd{x_{i_q}} T_{j_1 \ldots j_p}(\v x). \end{align*} $$ (Derivation)
-
This implies $\nabla\phi$ is a vector field.
-
For a vector field $\v F(\v x)$, the tensor field $$ \begin{align*} T_{ij}(\v x) = \pdfd{F_i(\v x)}{x^j} \end{align*} $$ can be decomposed into $$ \begin{align*} T_{ij} = \ub{-\frac{1}{2}\epsilon_{ijk}\left(\nabla\times\v F\right)_k}_\text{anti-symmetric} + \ub{\frac{1}{3}(\nabla\cdot\v F)\delta_{ij}}_{\text{isotropic}} + \ub{\frac{1}{2}\left(\pdfd{F_i}{x^j} + \pdfd{F_j}{x^i}\right) - \frac{1}{3}\left(\nabla\cdot\v F\right)\delta_{ij}}_{\text{symmetric traceless}}. \end{align*} $$ (Derivation)
In a material, applying an electric field $\v E$ gives rise to a current $\v J$: $$ \begin{align*} J_i = \sigma_{ij} E_j \iff E_i = \rho_{ij}J_j \end{align*} $$ where $\sigma_{ij}$ is the conductivity tensor and $\rho_{ij} = (\sigma\inv)_{ij}$ is the resistivity tensor.
Isotropic material has invariant $\sigma_{ij}$:
-
in 3D, $\sigma_{ij} = \sigma\delta_{ij}$ where $\sigma$ is the conductivity;
-
in 2D, $\sigma_{ij} = \sigma_{xx} \delta_{ij} + \sigma_{xy} \epsilon_{ij}$ where $\sigma_{xy}$ is the Hall conductivity.
A rigid body has angular momentum $$ \begin{align*} \v L = I\v \omega \end{align*} $$ where $I$ is the inertia tensor $$ \begin{align*} I_{ij} &= \sum_a m_a \left(|\v x_a|^2 \delta_{ij} - (\v x_a)_i (\v x_a)_j\right) &&\text{for discrete object}, \\ I_{ij} &= \int_{V} \rho(x) \left(|\v x|^2\delta_{ij} - x_i x_j\right)\, dV &&\text{for continuous object}. \end{align*} $$ (Derivation)
$I$ is symmetric, so it is diagonable: $I' = RIR^T = \op{diag}(I_1, I_2, I_3)$ where $R\in\mathrm{SO}(3)$. Every object has a preferred set of axis i.e. the eigenvectors.
The strain tensor $e_{ij}$ is a symmetric tensor that describes the deformation of the point $x^i$ in the direction $\vhat x^j$.
The stress tensor $\sigma_{ij}$ is a symmetric tensor that describes the force $F_i$ on the plane perpendicular to $\vhat x_j$
They are related by $$ \begin{align*} \sigma_{ij} = C_{ijkl} e_{kl} \end{align*} $$ where $C_{ijkl}$ is the elasticity tensor.