Tensors

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)

Definition (tensor) open_in_new

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*} $$

Tensor operations open_in_new
  • 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$.

Proposition (quotient rule for tensors) open_in_new

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

Symmetric and anti-symmetric tensor open_in_new

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)

Decomposition of a square matrix open_in_new

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.

Invariant tensors open_in_new

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)

Lemma (only isotropic tensor in R3 of rank under 3) open_in_new

The only non-zero isotropic tensors in $\R^3$ of rank 1,2,3 are $\alpha \delta_{ij}$ and $\beta \epsilon_{ijk}$.

Proof

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*} $$

Invariant integrals open_in_new

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.

Examples of invariant integrals

Tensor field open_in_new

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)

Physical examples of tensors open_in_new

Conductivity and resisitivity open_in_new

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.

Inertia tensor open_in_new

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.

Elasticity tensor open_in_new

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.