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 x1, x2 and x3 instead of the more familiar x, y and z, because they can then be referred to by an index.
Figure 1: Illustration of a right-handed Cartesian coordinate system and an arbitrary vector u.
Free index
In the above coordinate system, consider a vector u from the origin to point P. This vector may be written as:
u=(u1,u2,u3)=u1e1+u2e2+u3e3(1)
where e1, e2 and e3 are the unit vectors of axes x1, x2 and x3, respectively. The components u1, u2 and u3 can be written compactly by using an index:
ui,i=1,2,3(2)
The index i is called a free index: it takes the values 1, 2 and 3 in turn, so that ui stands for all three components of the vector. The letter of a free index is arbitrary; ui, uj and um all denote the same vector.
A free index must appear exactly once in every term of an expression or equation. For example, ai=bi+ci is a valid equation (it represents three equations, one for each value of i), whereas ai=bj 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 1 to 3. For example, consider the dot product of two vectors u and v:
u⋅v=u1v1+u2v2+u3v3=i=1∑3uivi(3)
With the summation convention, the summation symbol ∑ is omitted and the above expression is simply written as:
u⋅v=uivi(4)
An index that appears twice in a term, like i above, is called a dummy index. Its letter is also arbitrary, so the following expressions are equal:
uivi=ujvj=ukvk(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+ajbj.
Free indices must be the same in every term. In Aijuj+vi=wi, for example, j is a dummy index and i is a free index that appears once in every term.
An index that appears three or more times in a term (e.g. uiviwi) 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 Ψ is a scalar quantity, then:
Ψ,i=∂xi∂Ψ=(∂x1∂Ψ,∂x2∂Ψ,∂x3∂Ψ)(6)
which is the gradient of Ψ. In the same way, the derivatives of a vector field ui are written as:
ui,j=∂xj∂ui(7)
where i and j are both free indices, so ui,j has nine components. If ui is the displacement vector, ui,j is the displacement gradient. The comma notation combines naturally with the summation convention; for example, the divergence of a vector is:
ui,i=∂x1∂u1+∂x2∂u2+∂x3∂u3=∇⋅u(8)
Kronecker delta (δij)
The Kronecker delta δij is defined as:
δij={1,0,i=ji=j(9)
or, in matrix form:
δij=100010001(10)
The Kronecker delta is a useful operator that appears in many expressions. For example:
δijuj=ui(11)
replaces the index j with i. For i=1, for instance, δ1juj=δ11u1+δ12u2+δ13u3=u1. Note that, because of the summation convention:
δii=δ11+δ22+δ33=3(12)
and not 1, 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:
ei⋅ej=δij(13)
Permutation symbol (εijk)
The permutation symbol (also known as the Levi-Civita symbol) ε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)
It is mainly used to write the cross product of two vectors w=u×v in index notation:
wi=εijkujvk(15)
For i=1, for example, the only non-zero terms are those with (j,k)=(2,3) and (3,2):
w1=ε123u2v3+ε132u3v2=u2v3−u3v2(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)
Examples
System of linear equations
Consider the following system of linear equations:
where f1, f2 and f3 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)
and finally:
σji,j+fi=0(23)
Since the stress tensor is symmetric (σij=σji), Eq. (23) is also commonly written as σij,j+fi=0.