# Introduction to Elasticity/Tensors

## Tensors in Solid Mechanics

A sound understanding of tensors and tensor operation is essential if you want to read and understand modern papers on solid mechanics and finite element modeling of complex material behavior. This brief introduction gives you an overview of tensors and tensor notation. For more details you can read A Brief on Tensor Analysis by J. G. Simmonds, the appendix on vector and tensor notation from Dynamics of Polymeric Liquids - Volume 1 by R. B. Bird, R. C. Armstrong, and O. Hassager, and the monograph by R. M. Brannon. An introduction to tensors in continuum mechanics can be found in An Introduction to Continuum Mechanics by M. E. Gurtin. Most of the material in this page is based on these sources.

### Notation

The following notation is usually used in the literature:

{\displaystyle {\begin{aligned}s&=~{\text{scalar (lightface italic small)}}\\\mathbf {v} &=~{\text{vector (boldface roman small)}}\\{\boldsymbol {\sigma }}&=~{\text{second-order tensor (boldface Greek)}}\\{\boldsymbol {A}}&=~{\text{third-order tensor (boldface italic capital)}}\\{\boldsymbol {\mathsf {A}}}&=~{\text{fourth-order tensor (sans-serif capital)}}\end{aligned}}}

### Motivation

A force ${\displaystyle \mathbf {f} \,}$ has a magnitude and a direction, can be added to another force, be multiplied by a scalar and so on. These properties make the force ${\displaystyle \mathbf {f} \,}$ a vector.

Similarly, the displacement ${\displaystyle \mathbf {u} }$ is a vector because it can be added to other displacements and satisfies the other properties of a vector.

However, a force cannot be added to a displacement to yield a physically meaningful quantity. So the physical spaces that these two quantities lie on must be different.

Recall that a constant force ${\displaystyle \mathbf {f} }$ moving through a displacement ${\displaystyle \mathbf {u} \,}$ does ${\displaystyle \mathbf {f} \bullet \mathbf {u} }$ units of work. How do we compute this product when the spaces of ${\displaystyle \mathbf {f} \,}$ and ${\displaystyle \mathbf {u} \,}$ are different? If you try to compute the product on a graph, you will have to convert both quantities to a single basis and then compute the scalar product.

An alternative way of thinking about the operation ${\displaystyle \mathbf {f} \bullet \mathbf {u} }$ is to think of ${\displaystyle \mathbf {f} \,}$ as a linear operator that acts on ${\displaystyle \mathbf {u} }$ to produce a scalar quantity (work). In the notation of sets we can write

${\displaystyle \mathbf {f} \bullet \mathbf {u} ~~~\equiv ~~~\mathbf {f} :\mathbf {u} \rightarrow \mathbb {R} ^{}~.}$

A first order tensor is a linear operator that sends vectors to scalars.

Next, assume that the force ${\displaystyle \mathbf {f} \,}$ acts at a point ${\displaystyle \mathbf {x} \,}$. The moment of the force about the origin is given by ${\displaystyle \mathbf {x} \times \mathbf {f} \,}$ which is a vector. The vector product can be thought of as an linear operation too. In this case the effect of the operator is to convert a vector into another vector.

A second order tensor is a linear operator that sends vectors to vectors.

According to Simmonds, "the name tensor comes from elasticity theory where in a loaded elastic body the stress tensor acting on a unit vector normal to a plane through a point delivers the tension (i.e., the force per unit area) acting across the plane at that point."

Examples of second order tensors are the stress tensor, the deformation gradient tensor, the velocity gradient tensor, and so on.

Another type of tensor that we encounter frequently in mechanics is the fourth order tensor that takes strains to stresses. In elasticity, this is the stiffness tensor.

A fourth order tensor is a linear operator that sends second order tensors to second order tensors.

### Tensor algebra

A tensor ${\displaystyle {\boldsymbol {A}}\,}$ is a linear transformation from a vector space ${\displaystyle {\mathcal {V}}}$ to ${\displaystyle {\mathcal {V}}}$. Thus, we can write

${\displaystyle {\boldsymbol {A}}:\mathbf {u} \in {\mathcal {V}}\rightarrow \mathbf {v\in {\mathcal {V}}} ~.}$

More often, we use the following notation:

${\displaystyle \mathbf {v} ={\boldsymbol {A}}\mathbf {u} \equiv {\boldsymbol {A}}(\mathbf {u} )\equiv {\boldsymbol {A}}\bullet \mathbf {u} ~.}$

I have used the "dot" notation in this handout. None of the above notations is obviously superior to the others and each is used widely.

Let ${\displaystyle {\boldsymbol {A}}\,}$ and ${\displaystyle {\boldsymbol {B}}\,}$ be two tensors. Then the sum ${\displaystyle ({\boldsymbol {A}}+{\boldsymbol {B}})\,}$ is another tensor ${\displaystyle {\boldsymbol {C}}\,}$ defined by

${\displaystyle {\boldsymbol {C}}={\boldsymbol {A}}+{\boldsymbol {B}}\implies {\boldsymbol {C}}\bullet \mathbf {v} =({\boldsymbol {A}}+{\boldsymbol {B}})\bullet \mathbf {v} ={\boldsymbol {A}}\bullet \mathbf {v} +{\boldsymbol {B}}\bullet \mathbf {v} ~.}$

#### Multiplication of a tensor by a scalar

Let ${\displaystyle {\boldsymbol {A}}\,}$ be a tensor and let ${\displaystyle \lambda \,}$ be a scalar. Then the product ${\displaystyle {\boldsymbol {C}}=\lambda {\boldsymbol {A}}\,}$ is a tensor defined by

${\displaystyle {\boldsymbol {C}}=\lambda {\boldsymbol {A}}\implies {\boldsymbol {C}}\bullet \mathbf {v} =(\lambda {\boldsymbol {A}})\bullet \mathbf {v} =\lambda ({\boldsymbol {A}}\bullet \mathbf {v} )~.}$

#### Zero tensor

The zero tensor ${\displaystyle {\boldsymbol {\mathit {0}}}\,}$ is the tensor which maps every vector ${\displaystyle \mathbf {v} \,}$ into the zero vector.

${\displaystyle {\boldsymbol {\mathit {0}}}\bullet \mathbf {v} =\mathbf {0} ~.}$

#### Identity tensor

The identity tensor ${\displaystyle {\boldsymbol {\mathit {I}}}\,}$ takes every vector ${\displaystyle \mathbf {v} \,}$ into itself.

${\displaystyle {\boldsymbol {\mathit {I}}}\bullet \mathbf {v} =\mathbf {v} ~.}$

The identity tensor is also often written as ${\displaystyle {\boldsymbol {\mathit {1}}}\,}$.

#### Product of two tensors

Let ${\displaystyle {\boldsymbol {A}}\,}$ and ${\displaystyle {\boldsymbol {B}}\,}$ be two tensors. Then the product ${\displaystyle {\boldsymbol {C}}={\boldsymbol {A}}\bullet {\boldsymbol {B}}}$ is the tensor that is defined by

${\displaystyle {\boldsymbol {C}}={\boldsymbol {A}}\bullet {\boldsymbol {B}}\implies {\boldsymbol {C}}\bullet \mathbf {v} =({\boldsymbol {A}}\bullet {\boldsymbol {B}})\bullet {\mathbf {v} }={\boldsymbol {A}}\bullet ({\boldsymbol {B}}\bullet {\mathbf {v} })~.}$

In general ${\displaystyle {\boldsymbol {A}}\bullet {\boldsymbol {B}}\neq {\boldsymbol {B}}\bullet {\boldsymbol {A}}}$.

#### Transpose of a tensor

The transpose of a tensor ${\displaystyle {\boldsymbol {A}}\,}$ is the unique tensor ${\displaystyle {\boldsymbol {A}}^{T}\,}$ defined by

${\displaystyle ({\boldsymbol {A}}\bullet \mathbf {u} )\bullet \mathbf {v} =\mathbf {u} \bullet ({\boldsymbol {A}}^{T}\bullet \mathbf {v} )~.}$

The following identities follow from the above definition:

{\displaystyle {\begin{aligned}({\boldsymbol {A}}+{\boldsymbol {B}})^{T}&={\boldsymbol {A}}^{T}+{\boldsymbol {B}}^{T}~,\\({\boldsymbol {A}}\bullet {\boldsymbol {B}})^{T}&={\boldsymbol {B}}^{T}\bullet {\boldsymbol {A}}^{T}~,\\({\boldsymbol {A}}^{T})^{T}&={\boldsymbol {A}}~.\end{aligned}}}

#### Symmetric and skew tensors

A tensor ${\displaystyle {\boldsymbol {A}}\,}$ is symmetric if

${\displaystyle {\boldsymbol {A}}={\boldsymbol {A}}^{T}~.}$

A tensor ${\displaystyle {\boldsymbol {A}}\,}$ is skew if

${\displaystyle {\boldsymbol {A}}=-{\boldsymbol {A}}^{T}~.}$

Every tensor ${\displaystyle {\boldsymbol {A}}\,}$ can be expressed uniquely as the sum of a symmetric tensor ${\displaystyle {\boldsymbol {E}}\,}$ (the symmetric part of ${\displaystyle {\boldsymbol {A}}\,}$) and a skew tensor ${\displaystyle {\boldsymbol {W}}\,}$ (the skew part of ${\displaystyle {\boldsymbol {A}}\,}$).

${\displaystyle {\boldsymbol {A}}={\boldsymbol {E}}+{\boldsymbol {W}}~;~~{\boldsymbol {E}}={\cfrac {{\boldsymbol {A}}+{\boldsymbol {A}}^{T}}{2}}~;~~{\boldsymbol {W}}={\cfrac {{\boldsymbol {A}}-{\boldsymbol {A}}^{T}}{2}}~.}$

#### Tensor product of two vectors

The tensor (or dyadic) product ${\displaystyle \mathbf {a} \mathbf {b} \,}$ (also written ${\displaystyle \mathbf {a} \otimes \mathbf {b} \,}$) of two vectors ${\displaystyle \mathbf {a} \,}$ and ${\displaystyle \mathbf {b} \,}$ is a tensor that assigns to each vector ${\displaystyle \mathbf {v} \,}$ the vector ${\displaystyle (\mathbf {b} \bullet \mathbf {v} )\mathbf {a} }$.

${\displaystyle (\mathbf {a} \mathbf {b} )\bullet \mathbf {v} =(\mathbf {a} \otimes \mathbf {b} )\bullet \mathbf {v} =(\mathbf {b} \bullet \mathbf {v} )\mathbf {a} ~.}$

Notice that all the above operations on tensors are remarkably similar to matrix operations.

### Spectral theorem

The spectral theorem for tensors is widely used in mechanics. We will start off by definining eigenvalues and eigenvectors.

#### Eigenvalues and eigenvectors

Let ${\displaystyle {\boldsymbol {S}}}$ be a second order tensor. Let ${\displaystyle \lambda }$ be a scalar and ${\displaystyle \mathbf {n} }$ be a vector such that

${\displaystyle {\boldsymbol {S}}\cdot \mathbf {n} =\lambda ~\mathbf {n} }$

Then ${\displaystyle \lambda }$ is called an eigenvalue of ${\displaystyle {\boldsymbol {S}}}$ and ${\displaystyle \mathbf {n} }$ is an eigenvector .

A second order tensor has three eigenvalues and three eigenvectors, since the space is three-dimensional. Some of the eigenvalues might be repeated. The number of times an eigenvalue is repeated is called multiplicity.

In mechanics, many second order tensors are symmetric and positive definite. Note the following important properties of such tensors:

1. If ${\displaystyle {\boldsymbol {S}}}$ is positive definite, then ${\displaystyle \lambda >0}$.
2. If ${\displaystyle {\boldsymbol {S}}}$ is symmetric, the eigenvectors ${\displaystyle \mathbf {n} }$ are mutually orthogonal.

For more on eigenvalues and eigenvectors see Applied linear operators and spectral methods.

#### Spectral theorem

Let ${\displaystyle {\boldsymbol {S}}}$ be a symmetric second-order tensor. Then

1. the normalized eigenvectors ${\displaystyle \mathbf {n} _{1},\mathbf {n} _{2},\mathbf {n} _{3}}$ form an orthonormal basis.
2. if ${\displaystyle \lambda _{1},\lambda _{2},\lambda _{3}}$ are the corresponding eigenvalues then ${\displaystyle {\boldsymbol {S}}=\sum _{i=1}^{3}\lambda _{i}\mathbf {n} _{i}\otimes \mathbf {n} _{i}}$.

This relation is called the spectral decomposition of ${\displaystyle {\boldsymbol {S}}}$.

### Polar decomposition theorem

Let ${\displaystyle {\boldsymbol {F}}}$ be second order tensor with ${\displaystyle \det {\boldsymbol {F}}>0}$. Then

1. there exist positive definite, symmetric tensors ${\displaystyle {\boldsymbol {U}}}$,${\displaystyle {\boldsymbol {V}}}$ and a rotation (orthogonal) tensor ${\displaystyle {\boldsymbol {R}}}$ such that ${\displaystyle {\boldsymbol {F}}={\boldsymbol {R}}\cdot {\boldsymbol {U}}={\boldsymbol {V}}\cdot {\boldsymbol {R}}}$.
2. also each of these decompositions is unique.

### Principal invariants of a tensor

Let ${\displaystyle {\boldsymbol {S}}}$ be a second order tensor. Then the determinant of ${\displaystyle {\boldsymbol {S}}-\lambda ~{\boldsymbol {\mathit {I}}}}$ can be expressed as

${\displaystyle \det({\boldsymbol {S}}-\lambda ~{\boldsymbol {\mathit {I}}})=-\lambda ^{3}+I_{1}({\boldsymbol {S}})~\lambda ^{2}-I_{2}({\boldsymbol {S}})~\lambda +I_{3}({\boldsymbol {S}})}$

The quantities ${\displaystyle I_{1},I_{2},I_{3}\,}$ are called the principal invariants of ${\displaystyle {\boldsymbol {S}}}$. Expressions of the principal invariants are given below.

 Principal invariants of ${\displaystyle {\boldsymbol {S}}}$ {\displaystyle {\begin{aligned}I_{1}&={\text{tr}}~{\boldsymbol {S}}=\lambda _{1}+\lambda _{2}+\lambda _{3}\\I_{2}&={\cfrac {1}{2}}\left[({\text{tr}}~{\boldsymbol {S}})^{2}-{\text{tr}}({\boldsymbol {S^{2}}})\right]=\lambda _{1}~\lambda _{2}+\lambda _{2}~\lambda _{3}+\lambda _{3}~\lambda _{1}\\I_{3}&=\det {\boldsymbol {S}}=\lambda _{1}~\lambda _{2}~\lambda _{3}\end{aligned}}}

Note that ${\displaystyle \lambda }$ is an eigenvalue of ${\displaystyle {\boldsymbol {S}}}$ if and only if

${\displaystyle \det({\boldsymbol {S}}-\lambda ~{\boldsymbol {\mathit {1}}})=0}$

The resulting equations is called the characteristic equation and is usually written in expanded form as

${\displaystyle \lambda ^{3}-I_{1}({\boldsymbol {S}})~\lambda ^{2}+I_{2}({\boldsymbol {S}})~\lambda -I_{3}({\boldsymbol {S}})=0}$

### Cayley-Hamilton theorem

The Cayley-Hamilton theorem is a very useful result in continuum mechanics. It states that

 Cayley-Hamilton theorem If ${\displaystyle {\boldsymbol {S}}}$ is a second order tensor then it satisfies its own characteristic equation ${\displaystyle {\boldsymbol {S}}^{3}-I_{1}({\boldsymbol {S}})~{\boldsymbol {S}}^{2}+I_{2}({\boldsymbol {S}})~{\boldsymbol {S}}-I_{3}({\boldsymbol {S}})~{\boldsymbol {\mathit {1}}}={\boldsymbol {\mathit {0}}}}$

### Index notation

All the equations so far have made no mention of the coordinate system. When we use vectors and tensor in computations we have to express them in some coordinate system (basis) and use the components of the object in that basis for our computations.

Commonly used bases are the Cartesian coordinate frame, the cylindrical coordinate frame, and the spherical coordinate frame.

A Cartesian coordinate frame consists of an orthonormal basis ${\displaystyle (\mathbf {e} _{1},\mathbf {e} _{2},\mathbf {e} _{3})\,}$ together with a point ${\displaystyle \mathbf {o} \,}$ called the origin. Since these vectors are mutually perpendicular, we have the following relations:

{\displaystyle {\begin{aligned}{\text{(1)}}\qquad \mathbf {e} _{1}\bullet \mathbf {e} _{1}&=1~;~~\mathbf {e} _{1}\bullet \mathbf {e} _{2}=0~;~~\mathbf {e} _{1}\bullet \mathbf {e} _{3}=0~;\\\mathbf {e} _{2}\bullet \mathbf {e} _{1}&=0~;~~\mathbf {e} _{2}\bullet \mathbf {e} _{2}=1~;~~\mathbf {e} _{2}\bullet \mathbf {e} _{3}=0~;\\\mathbf {e} _{3}\bullet \mathbf {e} _{1}&=0~;~~\mathbf {e} _{3}\bullet \mathbf {e} _{2}=0~;~~\mathbf {e} _{3}\bullet \mathbf {e} _{3}=1~.\end{aligned}}}

#### Kronecker delta

To make the above relations more compact, we introduce the Kronecker delta symbol

${\displaystyle {\delta _{ij}={\begin{cases}1&~{\rm {{if}~i=j~.}}\\0&~{\rm {{if}~i\neq j~.}}\end{cases}}}}$

Then, instead of the nine equations in (1) we can write (in index notation)

${\displaystyle \mathbf {e} _{i}\bullet \mathbf {e} _{j}=\delta _{ij}~.}$

#### Einstein summation convention

Recall that the vector ${\displaystyle \mathbf {u} \,}$ can be written as

${\displaystyle {\text{(2)}}\qquad \mathbf {u} =u_{1}\mathbf {e} _{1}+u_{2}\mathbf {e} _{2}+u_{3}\mathbf {e} _{3}=\sum _{i=1}^{3}u_{i}\mathbf {e} _{i}~.}$

In index notation, equation (2) can be written as

${\displaystyle {\mathbf {u} =u_{i}\mathbf {e} _{i}~.}}$

This convention is called the Einstein summation convention. If indices are repeated, we understand that to mean that there is a sum over the indices.

#### Components of a vector

We can write the Cartesian components of a vector ${\displaystyle \mathbf {u} \,}$ in the basis ${\displaystyle (\mathbf {e} _{1},\mathbf {e} _{2},\mathbf {e} _{3})\,}$ as

${\displaystyle u_{i}=\mathbf {e} _{i}\bullet \mathbf {u} ~,~~~i=1,2,3~.}$

#### Components of a tensor

Similarly, the components of ${\displaystyle A_{ij}\,}$ of a tensor ${\displaystyle {\boldsymbol {A}}\,}$ are defined by

${\displaystyle {A_{ij}=\mathbf {e} _{i}\bullet ({\boldsymbol {A}}\bullet \mathbf {e} _{j})~.}}$

Using the definition of the tensor product, we can also write

${\displaystyle {\boldsymbol {A}}=\sum _{i,j=1}^{3}A_{ij}\mathbf {e} _{i}\mathbf {e} _{j}\equiv \sum _{i,j=1}^{3}A_{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}~.}$

Using the summation convention,

${\displaystyle {{\boldsymbol {A}}=A_{ij}\mathbf {e} _{i}\mathbf {e} _{j}\equiv A_{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}~.}}$

In this case, the bases of the tensor are ${\displaystyle \{\mathbf {e} _{i}\otimes \mathbf {e} _{j}\}}$ and the components are ${\displaystyle A_{ij}\,}$.

#### Operation of a tensor on a vector

From the definition of the components of tensor ${\displaystyle {\boldsymbol {A}}\,}$, we can also see that (using the summation convention)

${\displaystyle {\mathbf {v} ={\boldsymbol {A}}\bullet \mathbf {u} ~~~\equiv ~~~v_{i}=A_{ij}u_{j}~.}}$

Similarly, the dyadic product can be expressed as

${\displaystyle {(\mathbf {a} \mathbf {b} )_{ij}\equiv (\mathbf {a} \otimes \mathbf {b} )_{ij}=a_{i}b_{j}~.}}$

#### Matrix notation

We can also write a tensor ${\displaystyle {\boldsymbol {A}}}$ in matrix notation as

${\displaystyle {\boldsymbol {A}}=A_{ij}\mathbf {e} _{i}\mathbf {e} _{j}=A_{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}\implies \mathbf {A} ={\begin{bmatrix}A_{11}&A_{12}&A_{13}\\A_{21}&A_{22}&A_{23}\\A_{31}&A_{32}&A_{33}\end{bmatrix}}~.}$

Note that the Kronecker delta represents the components of the identity tensor in a Cartesian basis. Therefore, we can write

${\displaystyle {\boldsymbol {I}}=\delta _{ij}\mathbf {e} _{i}\mathbf {e} _{j}=\delta _{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}\implies \mathbf {I} ={\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}}~.}$

#### Tensor inner product

The inner product ${\displaystyle {\boldsymbol {A}}:{\boldsymbol {B}}\,}$ of two tensors ${\displaystyle {\boldsymbol {A}}\,}$ and ${\displaystyle {\boldsymbol {B}}\,}$ is an operation that generates a scalar. We define (summation implied)

${\displaystyle {{\boldsymbol {A}}:{\boldsymbol {B}}=A_{ij}B_{ij}~.}}$

The inner product can also be expressed using the trace :

${\displaystyle {{\boldsymbol {A}}:{\boldsymbol {B}}=Tr({\boldsymbol {A^{T}}}\bullet {\boldsymbol {B}})~.}}$

Proof using the definition of the trace below :

${\displaystyle {Tr({\boldsymbol {A^{T}}}\bullet {\boldsymbol {B}})={\boldsymbol {I}}:({\boldsymbol {A^{T}}}\bullet {\boldsymbol {B}})=\delta _{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}:(A_{lk}\mathbf {e} _{k}\otimes \mathbf {e} _{l}\bullet B_{mn}\mathbf {e} _{m}\otimes \mathbf {e} _{n})=\delta _{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}:(A_{mk}B_{mn}\mathbf {e} _{k}\otimes \mathbf {e} _{n})=}}$
${\displaystyle {A_{mk}B_{mn}\delta _{ij}\delta _{in}\delta _{jk}=A_{mk}B_{mi}\delta _{ij}\delta _{jk}=A_{mk}B_{mj}\delta _{jk}=A_{mj}B_{mj}=A:B}}$

#### Trace of a tensor

The trace of a tensor is the scalar given by

${\displaystyle {\text{Tr}}({\boldsymbol {A}})={\boldsymbol {I}}:{\boldsymbol {A}}=\delta _{ij}\mathbf {e} _{i}\otimes \mathbf {e} _{j}:A_{mn}\mathbf {e} _{m}\otimes \mathbf {e} _{n}=\delta _{ij}\delta _{im}\delta _{jn}A_{mn}=A_{ii}}$

(** Needs a proper definition **)

#### Magnitude of a tensor

The magnitude of a tensor ${\displaystyle {\boldsymbol {A}}\,}$ is defined by

${\displaystyle \Vert {\boldsymbol {A}}\Vert ={\sqrt {{\boldsymbol {A}}:{\boldsymbol {A}}}}\equiv {\sqrt {A_{ij}A_{ij}}}~.}$

#### Tensor product of a tensor with a vector

Another tensor operation that is often seen is the tensor product of a tensor with a vector. Let ${\displaystyle {\boldsymbol {A}}\,}$ be a tensor and let ${\displaystyle \mathbf {v} \,}$ be a vector. Then the tensor cross product gives a tensor ${\displaystyle {\boldsymbol {C}}\,}$ defined by

${\displaystyle {{\boldsymbol {C}}={\boldsymbol {A}}\times \mathbf {v} \implies C_{ij}=e_{klj}A_{ik}v_{l}~.}}$

#### Permutation symbol

The permutation symbol ${\displaystyle e_{ijk}\,}$ is defined as

${\displaystyle {e_{ijk}={\begin{cases}1&~{\text{if}}~ijk=123,231,~{\text{or}}~312\\-1&~{\text{if}}~ijk=321,132,~{\text{or}}~213\\0&~{\text{if any two indices are alike}}\end{cases}}}}$

### Identities in tensor algebra

Let ${\displaystyle {\boldsymbol {A}}}$, ${\displaystyle {\boldsymbol {B}}}$ and ${\displaystyle {\boldsymbol {C}}}$ be three second order tensors. Then

${\displaystyle {\boldsymbol {A}}:({\boldsymbol {B}}\cdot {\boldsymbol {C}})=({\boldsymbol {C}}\cdot {\boldsymbol {A}}^{T}):{\boldsymbol {B}}^{T}=({\boldsymbol {B}}^{T}\cdot {\boldsymbol {A}}):{\boldsymbol {C}}}$

Proof:

It is easiest to show these relations by using index notation with respect to an orthonormal basis. Then we can write

${\displaystyle {\boldsymbol {A}}:({\boldsymbol {B}}\cdot {\boldsymbol {C}})\equiv A_{ij}(B_{ik}~C_{kj})=C_{kj}~A_{ji}^{T}~B_{ki}^{T}\equiv ({\boldsymbol {C}}\cdot {\boldsymbol {A}}^{T}):{\boldsymbol {B}}^{T}}$

Similarly,

${\displaystyle {\boldsymbol {A}}:({\boldsymbol {B}}\cdot {\boldsymbol {C}})\equiv A_{ij}(B_{ik}~C_{kj})=B_{ki}^{T}~A_{ij}~C_{kj}\equiv ({\boldsymbol {B}}^{T}\cdot {\boldsymbol {A}}):{\boldsymbol {C}}}$

### Tensor calculus

Recall that the vector differential operator (with respect to a Cartesian basis) is defined as

${\displaystyle {\boldsymbol {\nabla }}{}={\cfrac {\partial }{\partial x_{1}}}\mathbf {e} _{1}+{\cfrac {\partial }{\partial x_{2}}}\mathbf {e} _{2}+{\cfrac {\partial }{\partial x_{3}}}\mathbf {e} _{3}\equiv {\cfrac {\partial }{\partial x_{i}}}\mathbf {e} _{i}~.}$

In this section we summarize some operations of ${\displaystyle {\boldsymbol {\nabla }}{}}$ on vectors and tensors.

#### The gradient of a vector field

The dyadic product ${\displaystyle {\boldsymbol {\nabla }}{\mathbf {v} }\,}$ (or ${\displaystyle {\boldsymbol {\nabla }}{}\otimes \mathbf {v} }$) is called the gradient of the vector field ${\displaystyle \mathbf {v} \,}$. Therefore, the quantity ${\displaystyle {\boldsymbol {\nabla }}{\mathbf {v} }}$ is a tensor given by

${\displaystyle {{\boldsymbol {\nabla }}{\mathbf {v} }=\sum _{i}\sum _{j}{\cfrac {\partial v_{j}}{\partial x_{i}}}\mathbf {e} _{i}\mathbf {e} _{j}\equiv v_{j,i}\mathbf {e} _{i}\mathbf {e} _{j}~.}}$

${\displaystyle {{\boldsymbol {\nabla }}{\mathbf {v} }\equiv {\boldsymbol {\nabla }}{}\otimes \mathbf {v} =\sum _{i}\sum _{j}{\cfrac {\partial v_{j}}{\partial x_{i}}}\mathbf {e} _{i}\otimes \mathbf {e} _{j}\equiv v_{j,i}\mathbf {e} _{i}\otimes \mathbf {e} _{j}~.}}$

'Warning: Some authors define the ${\displaystyle ij}$ component of ${\displaystyle {\boldsymbol {\nabla }}{\mathbf {v} }}$ as ${\displaystyle \partial v_{i}/\partial x_{j}=v_{i,j}}$.

#### The divergence of a tensor field

Let ${\displaystyle {\boldsymbol {A}}\,}$ be a tensor field. Then the divergence of the tensor field is a vector ${\displaystyle {\boldsymbol {\nabla }}\bullet {\boldsymbol {A}}}$ given by

${\displaystyle {{\boldsymbol {\nabla }}\bullet {\boldsymbol {A}}=\sum _{j}\left[\sum _{i}{\cfrac {\partial A_{ij}}{\partial x_{i}}}\right]\mathbf {e} _{j}\equiv {\cfrac {\partial A_{ij}}{\partial x_{i}}}\mathbf {e} _{j}=A_{ij,i}\mathbf {e} _{j}~.}}$

To fix the definition of divergence of a general tensor field (possibly of higher order than 2), we use the relation

${\displaystyle ({\boldsymbol {\nabla }}\bullet {\boldsymbol {A}})\bullet \mathbf {c} ={\boldsymbol {\nabla }}\bullet ({\boldsymbol {A}}\bullet \mathbf {c} )}$

where ${\displaystyle \mathbf {c} }$ is an arbitrary constant vector.

#### The Laplacian of a vector field

The Laplacian of a vector field is given by

${\displaystyle {\nabla ^{2}{\mathbf {v} }={\boldsymbol {\nabla }}\bullet {{\boldsymbol {\nabla }}{\mathbf {v} }}=\sum _{j}\left[\sum _{i}{\cfrac {\partial ^{2}v_{j}}{\partial x_{i}^{2}}}\right]\mathbf {e} _{j}\equiv v_{j,ii}\mathbf {e} _{j}~.}}$

### Tensor Identities

Some important identities involving tensors are:

1. ${\displaystyle {\boldsymbol {\nabla }}\bullet {{\boldsymbol {\nabla }}{\mathbf {v} }}={\boldsymbol {\nabla }}{({\boldsymbol {\nabla }}\bullet {\mathbf {v} })}-{\boldsymbol {\nabla }}\times {({\boldsymbol {\nabla }}\times {\mathbf {v} })}}$.
2. ${\displaystyle \mathbf {v} \bullet {\boldsymbol {\nabla }}{\mathbf {v} }={\frac {1}{2}}{\boldsymbol {\nabla }}{(\mathbf {v} \bullet \mathbf {v} )}-\mathbf {v} \times ({\boldsymbol {\nabla }}\times {\mathbf {v} )}}$ .
3. ${\displaystyle {\boldsymbol {\nabla }}\bullet {(\mathbf {v} \otimes \mathbf {w} )}=\mathbf {v} \bullet {\boldsymbol {\nabla }}{\mathbf {w} }+\mathbf {w} ({\boldsymbol {\nabla }}\bullet {\mathbf {v} })}$ .
4. ${\displaystyle {\boldsymbol {\nabla }}\bullet {(\varphi {\boldsymbol {A}})}={\boldsymbol {\nabla }}{\varphi }\bullet {\boldsymbol {A}}+\varphi {\boldsymbol {\nabla }}\bullet {\boldsymbol {A}}}$ .
5. ${\displaystyle {\boldsymbol {\nabla }}{(\mathbf {v} \bullet \mathbf {w} )}=({\boldsymbol {\nabla }}{\mathbf {v} })\bullet \mathbf {w} +({\boldsymbol {\nabla }}{\mathbf {w} })\bullet \mathbf {v} }$ .
6. ${\displaystyle {\boldsymbol {\nabla }}\bullet {({\boldsymbol {A}}\bullet \mathbf {w} )}=({\boldsymbol {\nabla }}\bullet {\boldsymbol {A}})\bullet \mathbf {w} +{\boldsymbol {A}}^{T}:({\boldsymbol {\nabla }}{\mathbf {w} })}$ .

### Integral theorems

The following integral theorems are useful in continuum mechanics and finite elements.

#### The Gauss divergence theorem

If ${\displaystyle \Omega }$ is a region in space enclosed by a surface ${\displaystyle \Gamma \,}$ and ${\displaystyle {\boldsymbol {A}}\,}$ is a tensor field, then

${\displaystyle {\int _{\Omega }{\boldsymbol {\nabla }}\bullet {\boldsymbol {A}}~dV=\int _{\Gamma }\mathbf {n} \bullet {\boldsymbol {A}}~dA}}$

where ${\displaystyle \mathbf {n} \,}$ is the unit outward normal to the surface.

#### The Stokes curl theorem

If ${\displaystyle \Gamma \,}$ is a surface bounded by a closed curve ${\displaystyle {\mathcal {C}}}$, then

${\displaystyle \int _{\Gamma }\mathbf {n} \bullet ({\boldsymbol {\nabla }}\times {{\boldsymbol {A}})}~dA=\oint _{\mathcal {C}}\mathbf {t} \bullet {\boldsymbol {A}}~ds}$

where ${\displaystyle {\boldsymbol {A}}\,}$ is a tensor field, ${\displaystyle \mathbf {n} \,}$ is the unit normal vector to ${\displaystyle \Gamma \,}$ in the direction of a right-handed screw motion along ${\displaystyle {\mathcal {C}}}$, and ${\displaystyle \mathbf {t} \,}$ is a unit tangential vector in the direction of integration along ${\displaystyle {\mathcal {C}}}$.

#### The Leibniz formula

Let ${\displaystyle \Omega }$ be a closed moving region of space enclosed by a surface ${\displaystyle \Gamma \,}$. Let the velocity of any surface element be ${\displaystyle \mathbf {v} \,}$. Then if ${\displaystyle {\boldsymbol {A}}(\mathbf {x} ,t)\,}$ is a tensor function of position and time,

${\displaystyle {\cfrac {\partial }{\partial t}}\int _{\Omega }{\boldsymbol {A}}~dV=\int _{\Omega }{\cfrac {\partial {\boldsymbol {A}}}{\partial t}}~dV+\int _{\Gamma }{\boldsymbol {A}}(\mathbf {v} \bullet \mathbf {n} )~dA}$

where ${\displaystyle \mathbf {n} \,}$ is the outward unit normal to the surface ${\displaystyle \Gamma \,}$.

### Directional derivatives

We often have to find the derivatives of vectors with respect to vectors and of tensors with respect to vectors and tensors. The directional directive provides a systematic way of finding these derivatives.

The definitions of directional derivatives for various situations are given below. It is assumed that the functions are sufficiently smooth that derivatives can be taken.

#### Derivatives of scalar valued functions of vectors

Let ${\displaystyle f(\mathbf {v} )}$ be a real valued function of the vector ${\displaystyle \mathbf {v} }$. Then the derivative of ${\displaystyle f(\mathbf {v} )}$ with respect to ${\displaystyle \mathbf {v} }$ (or at ${\displaystyle \mathbf {v} }$) in the direction ${\displaystyle \mathbf {u} }$ is the vector defined as

${\displaystyle {\frac {\partial f}{\partial \mathbf {v} }}\cdot \mathbf {u} =Df(\mathbf {v} )[\mathbf {u} ]=\left[{\frac {\partial }{\partial \alpha }}~f(\mathbf {v} +\alpha ~\mathbf {u} )\right]_{\alpha =0}}$

for all vectors ${\displaystyle \mathbf {u} }$.

Properties:

1) If ${\displaystyle f(\mathbf {v} )=f_{1}(\mathbf {v} )+f_{2}(\mathbf {v} )}$ then ${\displaystyle {\frac {\partial f}{\partial \mathbf {v} }}\cdot \mathbf {u} =\left({\frac {\partial f_{1}}{\partial \mathbf {v} }}+{\frac {\partial f_{2}}{\partial \mathbf {v} }}\right)\cdot \mathbf {u} }$

2) If ${\displaystyle f(\mathbf {v} )=f_{1}(\mathbf {v} )~f_{2}(\mathbf {v} )}$ then ${\displaystyle {\frac {\partial f}{\partial \mathbf {v} }}\cdot \mathbf {u} =\left({\frac {\partial f_{1}}{\partial \mathbf {v} }}\cdot \mathbf {u} \right)~f_{2}(\mathbf {v} )+f_{1}(\mathbf {v} )~\left({\frac {\partial f_{2}}{\partial \mathbf {v} }}\cdot \mathbf {u} \right)}$

3) If ${\displaystyle f(\mathbf {v} )=f_{1}(f_{2}(\mathbf {v} ))}$ then ${\displaystyle {\frac {\partial f}{\partial \mathbf {v} }}\cdot \mathbf {u} ={\frac {\partial f_{1}}{\partial f_{2}}}~{\frac {\partial f_{2}}{\partial \mathbf {v} }}\cdot \mathbf {u} }$

#### Derivatives of vector valued functions of vectors

Let ${\displaystyle \mathbf {f} (\mathbf {v} )}$ be a vector valued function of the vector ${\displaystyle \mathbf {v} }$. Then the derivative of ${\displaystyle \mathbf {f} (\mathbf {v} )}$ with respect to ${\displaystyle \mathbf {v} }$ (or at ${\displaystyle \mathbf {v} }$) in the direction ${\displaystyle \mathbf {u} }$ is the second order tensor defined as

${\displaystyle {\frac {\partial \mathbf {f} }{\partial \mathbf {v} }}\cdot \mathbf {u} =D\mathbf {f} (\mathbf {v} )[\mathbf {u} ]=\left[{\frac {\partial }{\partial \alpha }}~\mathbf {f} (\mathbf {v} +\alpha ~\mathbf {u} )\right]_{\alpha =0}}$

for all vectors ${\displaystyle \mathbf {u} }$.

Properties:

1) If ${\displaystyle \mathbf {f} (\mathbf {v} )=\mathbf {f} _{1}(\mathbf {v} )+\mathbf {f} _{2}(\mathbf {v} )}$ then ${\displaystyle {\frac {\partial \mathbf {f} }{\partial \mathbf {v} }}\cdot \mathbf {u} =\left({\frac {\partial \mathbf {f} _{1}}{\partial \mathbf {v} }}+{\frac {\partial \mathbf {f} _{2}}{\partial \mathbf {v} }}\right)\cdot \mathbf {u} }$

2) If ${\displaystyle \mathbf {f} (\mathbf {v} )=\mathbf {f} _{1}(\mathbf {v} )\times \mathbf {f} _{2}(\mathbf {v} )}$ then ${\displaystyle {\frac {\partial \mathbf {f} }{\partial \mathbf {v} }}\cdot \mathbf {u} =\left({\frac {\partial \mathbf {f} _{1}}{\partial \mathbf {v} }}\cdot \mathbf {u} \right)\times \mathbf {f} _{2}(\mathbf {v} )+\mathbf {f} _{1}(\mathbf {v} )\times \left({\frac {\partial \mathbf {f} _{2}}{\partial \mathbf {v} }}\cdot \mathbf {u} \right)}$

3) If ${\displaystyle \mathbf {f} (\mathbf {v} )=\mathbf {f} _{1}(\mathbf {f} _{2}(\mathbf {v} ))}$ then ${\displaystyle {\frac {\partial \mathbf {f} }{\partial \mathbf {v} }}\cdot \mathbf {u} ={\frac {\partial \mathbf {f} _{1}}{\partial \mathbf {f} _{2}}}\cdot \left({\frac {\partial \mathbf {f} _{2}}{\partial \mathbf {v} }}\cdot \mathbf {u} \right)}$

#### Derivatives of scalar valued functions of tensors

Let ${\displaystyle f({\boldsymbol {S}})}$ be a real valued function of the second order tensor ${\displaystyle {\boldsymbol {S}}}$. Then the derivative of ${\displaystyle f({\boldsymbol {S}})}$ with respect to ${\displaystyle {\boldsymbol {S}}}$ (or at ${\displaystyle {\boldsymbol {S}}}$) in the direction ${\displaystyle {\boldsymbol {T}}}$ is the second order tensor defined as

${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=Df({\boldsymbol {S}})[{\boldsymbol {T}}]=\left[{\frac {\partial }{\partial \alpha }}~f({\boldsymbol {S}}+\alpha ~{\boldsymbol {T}})\right]_{\alpha =0}}$

for all second order tensors ${\displaystyle {\boldsymbol {T}}}$.

Properties:

1) If ${\displaystyle f({\boldsymbol {S}})=f_{1}({\boldsymbol {S}})+f_{2}({\boldsymbol {S}})}$ then ${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=\left({\frac {\partial f_{1}}{\partial {\boldsymbol {S}}}}+{\frac {\partial f_{2}}{\partial {\boldsymbol {S}}}}\right):{\boldsymbol {T}}}$

2) If ${\displaystyle f({\boldsymbol {S}})=f_{1}({\boldsymbol {S}})~f_{2}({\boldsymbol {S}})}$ then ${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=\left({\frac {\partial f_{1}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)~f_{2}({\boldsymbol {S}})+f_{1}({\boldsymbol {S}})~\left({\frac {\partial f_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

3) If ${\displaystyle f({\boldsymbol {S}})=f_{1}(f_{2}({\boldsymbol {S}}))}$ then ${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}={\frac {\partial f_{1}}{\partial f_{2}}}~\left({\frac {\partial f_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

#### Derivatives of tensor valued functions of tensors

Let ${\displaystyle {\boldsymbol {F}}({\boldsymbol {S}})}$ be a second order tensor valued function of the second order tensor ${\displaystyle {\boldsymbol {S}}}$. Then the derivative of ${\displaystyle {\boldsymbol {F}}({\boldsymbol {S}})}$ with respect to ${\displaystyle {\boldsymbol {S}}}$ (or at ${\displaystyle {\boldsymbol {S}}}$) in the direction ${\displaystyle {\boldsymbol {T}}}$ is the fourth order tensor defined as

${\displaystyle {\frac {\partial {\boldsymbol {F}}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=D{\boldsymbol {F}}({\boldsymbol {S}})[{\boldsymbol {T}}]=\left[{\frac {\partial }{\partial \alpha }}~{\boldsymbol {F}}({\boldsymbol {S}}+\alpha ~{\boldsymbol {T}})\right]_{\alpha =0}}$

for all second order tensors ${\displaystyle {\boldsymbol {T}}}$.

Properties:

1) If ${\displaystyle {\boldsymbol {F}}({\boldsymbol {S}})={\boldsymbol {F}}_{1}({\boldsymbol {S}})+{\boldsymbol {F}}_{2}({\boldsymbol {S}})}$ then ${\displaystyle {\frac {\partial {\boldsymbol {F}}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=\left({\frac {\partial {\boldsymbol {F}}_{1}}{\partial {\boldsymbol {S}}}}+{\frac {\partial {\boldsymbol {F}}_{2}}{\partial {\boldsymbol {S}}}}\right):{\boldsymbol {T}}}$

2) If ${\displaystyle {\boldsymbol {F}}({\boldsymbol {S}})={\boldsymbol {F}}_{1}({\boldsymbol {S}})\cdot {\boldsymbol {F}}_{2}({\boldsymbol {S}})}$ then ${\displaystyle {\frac {\partial {\boldsymbol {F}}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}=\left({\frac {\partial {\boldsymbol {F}}_{1}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)\cdot {\boldsymbol {F}}_{2}({\boldsymbol {S}})+{\boldsymbol {F}}_{1}({\boldsymbol {S}})\cdot \left({\frac {\partial {\boldsymbol {F}}_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

3) If ${\displaystyle {\boldsymbol {F}}({\boldsymbol {S}})={\boldsymbol {F}}_{1}({\boldsymbol {F}}_{2}({\boldsymbol {S}}))}$ then ${\displaystyle {\frac {\partial {\boldsymbol {F}}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}={\frac {\partial {\boldsymbol {F}}_{1}}{\partial {\boldsymbol {F}}_{2}}}:\left({\frac {\partial {\boldsymbol {F}}_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

3) If ${\displaystyle f({\boldsymbol {S}})=f_{1}({\boldsymbol {F}}_{2}({\boldsymbol {S}}))}$ then ${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}={\frac {\partial f_{1}}{\partial {\boldsymbol {F}}_{2}}}:\left({\frac {\partial {\boldsymbol {F}}_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

### Derivative of the determinant of a tensor

 Derivative of the determinant of a tensor The derivative of the determinant of a second order tensor ${\displaystyle {\boldsymbol {A}}}$ is given by ${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}\det({\boldsymbol {A}})=\det({\boldsymbol {A}})~[{\boldsymbol {A}}^{-1}]^{T}~.}$ In an orthonormal basis the components of ${\displaystyle {\boldsymbol {A}}}$ can be written as a matrix ${\displaystyle \mathbf {A} }$. In that case, the right hand side corresponds the cofactors of the matrix.

Proof:

Let ${\displaystyle {\boldsymbol {A}}}$ be a second order tensor and let ${\displaystyle f({\boldsymbol {A}})=\det({\boldsymbol {A}})}$. Then, from the definition of the derivative of a scalar valued function of a tensor, we have

{\displaystyle {\begin{aligned}{\frac {\partial f}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}&=\left.{\cfrac {d}{d\alpha }}\det({\boldsymbol {A}}+\alpha ~{\boldsymbol {T}})\right|_{\alpha =0}\\&=\left.{\cfrac {d}{d\alpha }}\det \left[\alpha ~{\boldsymbol {A}}\left({\cfrac {1}{\alpha }}~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}}\right)\right]\right|_{\alpha =0}\\&=\left.{\cfrac {d}{d\alpha }}\left[\alpha ^{3}~\det({\boldsymbol {A}})~\det \left({\cfrac {1}{\alpha }}~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}}\right)\right]\right|_{\alpha =0}~.\end{aligned}}}

Recall that we can expand the determinant of a tensor in the form of a characteristic equation in terms of the invariants ${\displaystyle I_{1},I_{2},I_{3}}$ using (note the sign of ${\displaystyle \lambda }$)

${\displaystyle \det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})=\lambda ^{3}+I_{1}({\boldsymbol {A}})~\lambda ^{2}+I_{2}({\boldsymbol {A}})~\lambda +I_{3}({\boldsymbol {A}})~.}$

Using this expansion we can write

{\displaystyle {\begin{aligned}{\frac {\partial f}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}&=\left.{\cfrac {d}{d\alpha }}\left[\alpha ^{3}~\det({\boldsymbol {A}})~\left({\cfrac {1}{\alpha ^{3}}}+I_{1}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~{\cfrac {1}{\alpha ^{2}}}+I_{2}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~{\cfrac {1}{\alpha }}+I_{3}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})\right)\right]\right|_{\alpha =0}\\&=\left.\det({\boldsymbol {A}})~{\cfrac {d}{d\alpha }}\left[1+I_{1}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~\alpha +I_{2}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~\alpha ^{2}+I_{3}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~\alpha ^{3}\right]\right|_{\alpha =0}\\&=\left.\det({\boldsymbol {A}})~\left[I_{1}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})+2~I_{2}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~\alpha +3~I_{3}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~\alpha ^{2}\right]\right|_{\alpha =0}\\&=\det({\boldsymbol {A}})~I_{1}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})~.\end{aligned}}}

Recall that the invariant ${\displaystyle I_{1}}$ is given by

${\displaystyle I_{1}({\boldsymbol {A}})={\text{tr}}{\boldsymbol {A}}~.}$

Hence,

${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}=\det({\boldsymbol {A}})~{\text{tr}}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}})=\det({\boldsymbol {A}})~[{\boldsymbol {A}}^{-1}]^{T}:{\boldsymbol {T}}~.}$

Invoking the arbitrariness of ${\displaystyle {\boldsymbol {T}}}$ we then have

${\displaystyle {\frac {\partial f}{\partial {\boldsymbol {A}}}}=\det({\boldsymbol {A}})~[{\boldsymbol {A}}^{-1}]^{T}~.}$

### Derivatives of the invariants of a tensor

 Derivatives of the principal invariants of a tensor The principal invariants of a second order tensor are {\displaystyle {\begin{aligned}I_{1}({\boldsymbol {A}})&={\text{tr}}{\boldsymbol {A}}\\I_{2}({\boldsymbol {A}})&={\frac {1}{2}}\left[({\text{tr}}{\boldsymbol {A}})^{2}-{\text{tr}}{{\boldsymbol {A}}^{2}}\right]\\I_{3}({\boldsymbol {A}})&=\det({\boldsymbol {A}})\end{aligned}}} The derivatives of these three invariants with respect to ${\displaystyle {\boldsymbol {A}}}$ are {\displaystyle {\begin{aligned}{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}&={\boldsymbol {\mathit {1}}}\\{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}&=I_{1}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\\{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}&=\det({\boldsymbol {A}})~[{\boldsymbol {A}}^{-1}]^{T}=I_{2}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}~(I_{1}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T})=({\boldsymbol {A}}^{2}-I_{1}~{\boldsymbol {A}}+I_{2}~{\boldsymbol {\mathit {1}}})^{T}\end{aligned}}}

Proof:

From the derivative of the determinant we know that

${\displaystyle {\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}=\det({\boldsymbol {A}})~[{\boldsymbol {A}}^{-1}]^{T}~.}$

For the derivatives of the other two invariants, let us go back to the characteristic equation

${\displaystyle \det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})=\lambda ^{3}+I_{1}({\boldsymbol {A}})~\lambda ^{2}+I_{2}({\boldsymbol {A}})~\lambda +I_{3}({\boldsymbol {A}})~.}$

Using the same approach as for the determinant of a tensor, we can show that

${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}\det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})=\det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})~[(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})^{-1}]^{T}~.}$

Now the left hand side can be expanded as

{\displaystyle {\begin{aligned}{\frac {\partial }{\partial {\boldsymbol {A}}}}\det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})&={\frac {\partial }{\partial {\boldsymbol {A}}}}\left[\lambda ^{3}+I_{1}({\boldsymbol {A}})~\lambda ^{2}+I_{2}({\boldsymbol {A}})~\lambda +I_{3}({\boldsymbol {A}})\right]\\&={\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}~.\end{aligned}}}

Hence

${\displaystyle {\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}=\det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})~[(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})^{-1}]^{T}}$

or,

${\displaystyle (\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})^{T}\cdot \left[{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}\right]=\det(\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}})~{\boldsymbol {\mathit {1}}}~.}$

Expanding the right hand side and separating terms on the left hand side gives

${\displaystyle (\lambda ~{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}}^{T})\cdot \left[{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}\right]=\left[\lambda ^{3}+I_{1}~\lambda ^{2}+I_{2}~\lambda +I_{3}\right]{\boldsymbol {\mathit {1}}}}$

or,

{\displaystyle {\begin{aligned}\left[{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{3}\right.&\left.+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}~\lambda \right]{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}\\&=\left[\lambda ^{3}+I_{1}~\lambda ^{2}+I_{2}~\lambda +I_{3}\right]{\boldsymbol {\mathit {1}}}~.\end{aligned}}}

If we define ${\displaystyle I_{0}:=1}$ and ${\displaystyle I_{4}:=0}$, we can write the above as

{\displaystyle {\begin{aligned}\left[{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{3}\right.&\left.+{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}~\lambda +{\frac {\partial I_{4}}{\partial {\boldsymbol {A}}}}\right]{\boldsymbol {\mathit {1}}}+{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{0}}{\partial {\boldsymbol {A}}}}~\lambda ^{3}+{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~\lambda ^{2}+{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~\lambda +{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}\\&=\left[I_{0}~\lambda ^{3}+I_{1}~\lambda ^{2}+I_{2}~\lambda +I_{3}\right]{\boldsymbol {\mathit {1}}}~.\end{aligned}}}

Collecting terms containing various powers of ${\displaystyle \lambda }$, we get

{\displaystyle {\begin{aligned}\lambda ^{3}&\left(I_{0}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{0}}{\partial {\boldsymbol {A}}}}\right)+\lambda ^{2}\left(I_{1}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}\right)+\\&\qquad \qquad \lambda \left(I_{2}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}\right)+\left(I_{3}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{4}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}\right)=0~.\end{aligned}}}

Then, invoking the arbitrariness of ${\displaystyle \lambda }$, we have

{\displaystyle {\begin{aligned}I_{0}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{0}}{\partial {\boldsymbol {A}}}}&=0\\I_{1}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-I_{2}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}&=0\\I_{3}~{\boldsymbol {\mathit {1}}}-{\frac {\partial I_{4}}{\partial {\boldsymbol {A}}}}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\cdot {\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}&=0~.\end{aligned}}}

This implies that

{\displaystyle {\begin{aligned}{\frac {\partial I_{1}}{\partial {\boldsymbol {A}}}}&={\boldsymbol {\mathit {1}}}\\{\frac {\partial I_{2}}{\partial {\boldsymbol {A}}}}&=I_{1}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}\\{\frac {\partial I_{3}}{\partial {\boldsymbol {A}}}}&=I_{2}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T}~(I_{1}~{\boldsymbol {\mathit {1}}}-{\boldsymbol {A}}^{T})=({\boldsymbol {A}}^{2}-I_{1}~{\boldsymbol {A}}+I_{2}~{\boldsymbol {\mathit {1}}})^{T}\end{aligned}}}

### Derivative of the identity tensor

Let ${\displaystyle {\boldsymbol {\mathit {1}}}}$ be the second order identity tensor. Then the derivative of this tensor with respect to a second order tensor ${\displaystyle {\boldsymbol {A}}}$ is given by

${\displaystyle {\frac {\partial {\boldsymbol {\mathit {1}}}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}={\boldsymbol {\mathsf {0}}}:{\boldsymbol {T}}={\boldsymbol {\mathit {0}}}}$

This is because ${\displaystyle {\boldsymbol {\mathit {1}}}}$ is independent of ${\displaystyle {\boldsymbol {A}}}$.

### Derivative of a tensor with respect to itself

Let ${\displaystyle {\boldsymbol {A}}}$ be a second order tensor. Then

${\displaystyle {\frac {\partial {\boldsymbol {A}}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}=\left[{\frac {\partial }{\partial \alpha }}({\boldsymbol {A}}+\alpha ~{\boldsymbol {T}})\right]_{\alpha =0}={\boldsymbol {T}}={\boldsymbol {\mathsf {I}}}:{\boldsymbol {T}}}$

Therefore,

${\displaystyle {\frac {\partial {\boldsymbol {A}}}{\partial {\boldsymbol {A}}}}={\boldsymbol {\mathsf {I}}}}$

Here ${\displaystyle {\boldsymbol {\mathsf {I}}}}$ is the fourth order identity tensor. In index notation with respect to an orthonormal basis

${\displaystyle {\boldsymbol {\mathsf {I}}}=\delta _{ik}~\delta _{jl}~\mathbf {e} _{i}\otimes \mathbf {e} _{j}\otimes \mathbf {e} _{k}\otimes \mathbf {e} _{l}}$

This result implies that

${\displaystyle {\frac {\partial {\boldsymbol {A}}^{T}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}={\boldsymbol {\mathsf {I}}}^{T}:{\boldsymbol {T}}={\boldsymbol {T}}^{T}}$

where

${\displaystyle {\boldsymbol {\mathsf {I}}}^{T}=\delta _{jk}~\delta _{il}~\mathbf {e} _{i}\otimes \mathbf {e} _{j}\otimes \mathbf {e} _{k}\otimes \mathbf {e} _{l}}$

Therefore, if the tensor ${\displaystyle {\boldsymbol {A}}}$ is symmetric, then the derivative is also symmetric and we get

${\displaystyle {\frac {\partial {\boldsymbol {A}}}{\partial {\boldsymbol {A}}}}={\frac {\partial {\frac {1}{2}}({\boldsymbol {A}}+{\boldsymbol {A}}^{T})}{\partial {\boldsymbol {A}}}}={\frac {1}{2}}~({\boldsymbol {\mathsf {I}}}+{\boldsymbol {\mathsf {I}}}^{T})={\boldsymbol {\mathsf {I}}}^{(s)}}$

where the symmetric fourth order identity tensor is

${\displaystyle {\boldsymbol {\mathsf {I}}}^{(s)}={\frac {1}{2}}~(\delta _{ik}~\delta _{jl}+\delta _{il}~\delta _{jk})~\mathbf {e} _{i}\otimes \mathbf {e} _{j}\otimes \mathbf {e} _{k}\otimes \mathbf {e} _{l}}$

### Derivative of the inverse of a tensor

 Derivative of the inverse of a tensor Let ${\displaystyle {\boldsymbol {A}}}$ and ${\displaystyle {\boldsymbol {T}}}$ be two second order tensors, then ${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}\left({\boldsymbol {A}}^{-1}\right):{\boldsymbol {T}}=-{\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}}\cdot {\boldsymbol {A}}^{-1}}$ In index notation with respect to an orthonormal basis ${\displaystyle {\frac {\partial A_{ij}^{-1}}{\partial A_{kl}}}~T_{kl}=-A_{ik}^{-1}~T_{kl}~A_{lj}^{-1}\implies {\frac {\partial A_{ij}^{-1}}{\partial A_{kl}}}=-A_{ik}^{-1}~A_{lj}^{-1}}$ We also have ${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}\left({\boldsymbol {A}}^{-T}\right):{\boldsymbol {T}}=-{\boldsymbol {A}}^{-T}\cdot {\boldsymbol {T}}\cdot {\boldsymbol {A}}^{-T}}$ In index notation ${\displaystyle {\frac {\partial A_{ji}^{-1}}{\partial A_{kl}}}~T_{kl}=-A_{jk}^{-1}~T_{kl}~A_{li}^{-1}\implies {\frac {\partial A_{ji}^{-1}}{\partial A_{kl}}}=-A_{li}^{-1}~A_{jk}^{-1}}$ If the tensor ${\displaystyle {\boldsymbol {A}}}$ is symmetric then ${\displaystyle {\frac {\partial A_{ij}^{-1}}{\partial A_{kl}}}=-{\cfrac {1}{2}}\left(A_{ik}^{-1}~A_{jl}^{-1}+A_{il}^{-1}~A_{jk}^{-1}\right)}$

Proof:

Recall that

${\displaystyle {\frac {\partial {\boldsymbol {\mathit {1}}}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}={\boldsymbol {\mathit {0}}}}$

Since ${\displaystyle {\boldsymbol {A}}^{-1}\cdot {\boldsymbol {A}}={\boldsymbol {\mathit {1}}}}$, we can write

${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {A}}):{\boldsymbol {T}}={\boldsymbol {\mathit {0}}}}$

Using the product rule for second order tensors

${\displaystyle {\frac {\partial }{\partial {\boldsymbol {S}}}}[{\boldsymbol {F}}_{1}({\boldsymbol {S}})\cdot {\boldsymbol {F}}_{2}({\boldsymbol {S}})]:{\boldsymbol {T}}=\left({\frac {\partial {\boldsymbol {F}}_{1}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)\cdot {\boldsymbol {F}}_{2}+{\boldsymbol {F}}_{1}\cdot \left({\frac {\partial {\boldsymbol {F}}_{2}}{\partial {\boldsymbol {S}}}}:{\boldsymbol {T}}\right)}$

we get

${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}({\boldsymbol {A}}^{-1}\cdot {\boldsymbol {A}}):{\boldsymbol {T}}=\left({\frac {\partial {\boldsymbol {A}}^{-1}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}\right)\cdot {\boldsymbol {A}}+{\boldsymbol {A}}^{-1}\cdot \left({\frac {\partial {\boldsymbol {A}}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}\right)={\boldsymbol {\mathit {0}}}}$

or,

${\displaystyle \left({\frac {\partial {\boldsymbol {A}}^{-1}}{\partial {\boldsymbol {A}}}}:{\boldsymbol {T}}\right)\cdot {\boldsymbol {A}}=-{\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}}}$

Therefore,

${\displaystyle {\frac {\partial }{\partial {\boldsymbol {A}}}}\left({\boldsymbol {A}}^{-1}\right):{\boldsymbol {T}}=-{\boldsymbol {A}}^{-1}\cdot {\boldsymbol {T}}\cdot {\boldsymbol {A}}^{-1}}$

### Remarks

The boldface notation that I've used is called the Gibbs notation. The index notation that I have used is also called Cartesian tensor notation.