Index notation for tensors and vectors

Index notation is used extensively in the literature on stresses, strains and constitutive equations, because it drastically reduces the number of terms in an equation and simplifies the expressions. We will use a right-handed Cartesian coordinate system to describe index notation (cf. Fig. 1). It is also more convenient to name the axes x1x_{1}, x2x_{2} and x3x_{3} instead of the more familiar xx, yy and zz, because they can then be referred to by an index.

Right-handed Cartesian coordinate system
Figure 1: Illustration of a right-handed Cartesian coordinate system and an arbitrary vector u⃗\vec{u}.

Free index

In the above coordinate system, consider a vector u⃗\vec{u} from the origin to point PP. This vector may be written as:

u⃗=(u1,u2,u3)=u1e⃗1+u2e⃗2+u3e⃗3(1)\vec{u}=\left(u_{1},u_{2},u_{3}\right)=u_{1}\vec{e}_{1}+u_{2}\vec{e}_{2}+u_{3}\vec{e}_{3} \tag{1}

where e⃗1\vec{e}_{1}, e⃗2\vec{e}_{2} and e⃗3\vec{e}_{3} are the unit vectors of axes x1x_{1}, x2x_{2} and x3x_{3}, respectively. The components u1u_{1}, u2u_{2} and u3u_{3} can be written compactly by using an index:

ui,i=1,2,3(2)u_{i}, \quad i=1,2,3 \tag{2}

The index ii is called a free index: it takes the values 11, 22 and 33 in turn, so that uiu_{i} stands for all three components of the vector. The letter of a free index is arbitrary; uiu_{i}, uju_{j} and umu_{m} all denote the same vector.

A free index must appear exactly once in every term of an expression or equation. For example, ai=bi+cia_{i}=b_{i}+c_{i} is a valid equation (it represents three equations, one for each value of ii), whereas ai=bja_{i}=b_{j} is not.

Summation convention (dummy index)

The summation convention (also known as Einstein’s convention) reduces the size and complexity of the equations even further. It states that whenever an index appears twice in a term, that index is summed from 11 to 33. For example, consider the dot product of two vectors u⃗\vec{u} and v⃗\vec{v}:

u⃗⋅v⃗=u1v1+u2v2+u3v3=∑i=13uivi(3)\vec{u}\cdot\vec{v}=u_{1}v_{1}+u_{2}v_{2}+u_{3}v_{3}=\sum_{i=1}^{3}u_{i}v_{i} \tag{3}

With the summation convention, the summation symbol ∑\sum is omitted and the above expression is simply written as:

u⃗⋅v⃗=uivi(4)\vec{u}\cdot\vec{v}=u_{i}v_{i} \tag{4}

An index that appears twice in a term, like ii above, is called a dummy index. Its letter is also arbitrary, so the following expressions are equal:

uivi=ujvj=ukvk(5)u_{i}v_{i}=u_{j}v_{j}=u_{k}v_{k} \tag{5}

The rules for free and dummy indices are:

  • A dummy index appears exactly twice in a term, and the term is summed over it.
  • Different terms may use different letters for their dummy indices, e.g. uivi+ajbju_{i}v_{i}+a_{j}b_{j}.
  • Free indices must be the same in every term. In Aijuj+vi=wiA_{ij}u_{j}+v_{i}=w_{i}, for example, jj is a dummy index and ii is a free index that appears once in every term.
  • An index that appears three or more times in a term (e.g. uiviwiu_{i}v_{i}w_{i}) is not defined and is considered an error.

Differentiation notation

In index notation, a comma denotes the partial derivative with respect to the coordinate whose index follows it. For example, if Ψ\Psi is a scalar quantity, then:

Ψ,i=∂Ψ∂xi=(∂Ψ∂x1,∂Ψ∂x2,∂Ψ∂x3)(6)\Psi_{,i}=\frac{\partial \Psi}{\partial x_{i}}=\left(\frac{\partial \Psi}{\partial x_{1}},\frac{\partial \Psi}{\partial x_{2}},\frac{\partial \Psi}{\partial x_{3}}\right) \tag{6}

which is the gradient of Ψ\Psi. In the same way, the derivatives of a vector field uiu_{i} are written as:

ui,j=∂ui∂xj(7)u_{i,j}=\frac{\partial u_{i}}{\partial x_{j}} \tag{7}

where ii and jj are both free indices, so ui,ju_{i,j} has nine components. If uiu_{i} is the displacement vector, ui,ju_{i,j} is the displacement gradient. The comma notation combines naturally with the summation convention; for example, the divergence of a vector is:

ui,i=∂u1∂x1+∂u2∂x2+∂u3∂x3=∇⋅u⃗(8)u_{i,i}=\frac{\partial u_{1}}{\partial x_{1}}+\frac{\partial u_{2}}{\partial x_{2}}+\frac{\partial u_{3}}{\partial x_{3}}=\nabla\cdot\vec{u} \tag{8}

Kronecker delta (δij\delta_{ij})

The Kronecker delta δij\delta_{ij} is defined as:

δij={1,i=j0,i≠j(9)\delta_{ij}=\begin{cases}1, & i=j\\0, & i\neq j\end{cases} \tag{9}

or, in matrix form:

δij=[100010001](10)\delta_{ij}=\left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&1\end{array}\right] \tag{10}

The Kronecker delta is a useful operator that appears in many expressions. For example:

δijuj=ui(11)\delta_{ij}u_{j}=u_{i} \tag{11}

replaces the index jj with ii. For i=1i=1, for instance, δ1juj=δ11u1+δ12u2+δ13u3=u1\delta_{1j}u_{j}=\delta_{11}u_{1}+\delta_{12}u_{2}+\delta_{13}u_{3}=u_{1}. Note that, because of the summation convention:

δii=δ11+δ22+δ33=3(12)\delta_{ii}=\delta_{11}+\delta_{22}+\delta_{33}=3 \tag{12}

and not 11, which is a common mistake. Finally, since the unit vectors of a Cartesian coordinate system are mutually perpendicular, their dot products are given by the Kronecker delta:

e⃗i⋅e⃗j=δij(13)\vec{e}_{i}\cdot\vec{e}_{j}=\delta_{ij} \tag{13}

Permutation symbol (εijk\varepsilon_{ijk})

The permutation symbol (also known as the Levi-Civita symbol) εijk\varepsilon_{ijk} is defined as:

εijk={−1,   (i,j,k)=(1,2,3), (2,3,1) or (3,1,2)−1,   (i,j,k)=(3,2,1), (2,1,3) or (1,3,2)−0,   if any two indices are equal(14)\varepsilon_{ijk}=\begin{cases}\hphantom{-}1,\;\,(i,j,k) = (1,2,3),\ (2,3,1)\ \text{or}\ (3,1,2)\\-1,\;\,(i,j,k) = (3,2,1),\ (2,1,3)\ \text{or}\ (1,3,2)\\\hphantom{-}0,\;\,\text{if any two indices are equal}\end{cases} \tag{14}

It is mainly used to write the cross product of two vectors w⃗=u⃗×v⃗\vec{w}=\vec{u}\times\vec{v} in index notation:

wi=εijkujvk(15)w_{i}=\varepsilon_{ijk}u_{j}v_{k} \tag{15}

For i=1i=1, for example, the only non-zero terms are those with (j,k)=(2,3)(j,k)=(2,3) and (3,2)(3,2):

w1=ε123u2v3+ε132u3v2=u2v3−u3v2(16)w_{1}=\varepsilon_{123}u_{2}v_{3}+\varepsilon_{132}u_{3}v_{2}=u_{2}v_{3}-u_{3}v_{2} \tag{16}

The permutation symbol and the Kronecker delta are related by the following identity, which is very useful for simplifying expressions with cross products:

εijkεimn=δjmδkn−δjnδkm(17)\varepsilon_{ijk}\varepsilon_{imn}=\delta_{jm}\delta_{kn}-\delta_{jn}\delta_{km} \tag{17}

Examples

System of linear equations

Consider the following system of linear equations:

a11x1+a12x2+a13x3=b1a21x1+a22x2+a23x3=b2a31x1+a32x2+a33x3=b3(18)\begin{array}{c}a_{11}x_{1}+a_{12}x_{2}+a_{13}x_{3}=b_{1}\\a_{21}x_{1}+a_{22}x_{2}+a_{23}x_{3}=b_{2}\\a_{31}x_{1}+a_{32}x_{2}+a_{33}x_{3}=b_{3}\end{array} \tag{18}

Using the summation convention, the system first becomes:

a1jxj=b1a2jxj=b2a3jxj=b3(19)\begin{array}{c}a_{1j}x_{j}=b_{1}\\a_{2j}x_{j}=b_{2}\\a_{3j}x_{j}=b_{3}\end{array} \tag{19}

and finally, replacing the row number with the free index ii:

aijxj=bi(20)a_{ij}x_{j}=b_{i} \tag{20}

Stress equilibrium equations

When a body is in equilibrium, the components of the stress tensor σij\sigma_{ij} at every point of the body must satisfy the equilibrium equations:

∂σ11∂x1+∂σ21∂x2+∂σ31∂x3+f1=0∂σ12∂x1+∂σ22∂x2+∂σ32∂x3+f2=0∂σ13∂x1+∂σ23∂x2+∂σ33∂x3+f3=0(21)\begin{array}{c}\dfrac{\partial \sigma_{11}}{\partial x_{1}}+\dfrac{\partial \sigma_{21}}{\partial x_{2}}+\dfrac{\partial \sigma_{31}}{\partial x_{3}}+f_{1}=0\\ \dfrac{\partial \sigma_{12}}{\partial x_{1}}+\dfrac{\partial \sigma_{22}}{\partial x_{2}}+\dfrac{\partial \sigma_{32}}{\partial x_{3}}+f_{2}=0\\ \dfrac{\partial \sigma_{13}}{\partial x_{1}}+\dfrac{\partial \sigma_{23}}{\partial x_{2}}+\dfrac{\partial \sigma_{33}}{\partial x_{3}}+f_{3}=0\end{array} \tag{21}

where f1f_{1}, f2f_{2} and f3f_{3} are the three components of the body forces (e.g. gravity) that act on the body. Using the comma notation and the summation convention, the above equations first become:

σj1,j+f1=0σj2,j+f2=0σj3,j+f3=0(22)\begin{array}{c}\sigma_{j1,j}+f_{1}=0\\ \sigma_{j2,j}+f_{2}=0\\ \sigma_{j3,j}+f_{3}=0\end{array} \tag{22}

and finally:

σji,j+fi=0(23)\sigma_{ji,j}+f_{i}=0 \tag{23}

Since the stress tensor is symmetric (σij=σji\sigma_{ij}=\sigma_{ji}), Eq. (23) is also commonly written as σij,j+fi=0\sigma_{ij,j}+f_{i}=0.

Tags: algebramechanicstensors