Common Operations

The most common operations between scalars, vectors, and 2nd-order tensors (from now on, simply referred to as tensors) are presented below in matrix notation. All components are defined with respect to some basis vectors {e1,e2,e3} in the 3D Euclidean space.

Vectors

Multiplication by a Scalar
The product of a vector a with a scalar α defines a vector:
Figure 1. EQUATION_DISPLAY
αa=α(a1a2a3)=(αa1αa2αa3)
(5190)
Sum of two Vectors
The sum of two vectors a and b defines a vector:
Figure 2. EQUATION_DISPLAY
a+b=(a1a2a3)+(b1b2b3)=(a1+b1a2+b2a3+b3)
(5191)
Scalar Product of two Vectors
The scalar product between two vectors a and b is the matrix product between the row vector representation of a and the column vector representation of b, which defines a scalar:
Figure 3. EQUATION_DISPLAY
ab=(a1a2a3)(b1b2b3)=a1b1+a2b2+a3b3
(5192)
As vectors are usually defined in column representation, the scalar product is often written as ab=aTb=bTa, where T indicates the matrix transpose. The transpose of a column vector is a row vector, and the transpose of a row vector is a column vector.
The magnitude of a vector a can be written as:
Figure 4. EQUATION_DISPLAY
|a|=aa
(5193)
Vector Product of two Vectors
The vector product between two vectors a and b defines a vector:
Figure 5. EQUATION_DISPLAY
a×b=(a2b3a3b2a3b1a1b3a1b2a2b1)
(5194)
which is obtained from the formal determinant:
Figure 6. EQUATION_DISPLAY
det(e1e2e3a1a2a3b1b2b3)
(5195)
Dyadic Product of two Vectors
The dyadic product, or tensor product, between two vectors a and b defines a tensor:
Figure 7. EQUATION_DISPLAY
abab=(a1a2a3)(b1b2b3)=(a1b1a1b2a1b3a2b1a2b2a2b3a3b1a3b2a3b3)
(5196)
The notation ab assumes that a is represented by a column vector and b is represented by a row vector. The tensor product is often written as abT, which assumes that both a and b are represented by column vectors.
Gradient of a Scalar
The gradient of a scalar φ defines a vector:
Figure 8. EQUATION_DISPLAY
φ=(φxφyφz)
(5197)
Gradient of a Vector
The gradient of a vector a defines a tensor:
Figure 9. EQUATION_DISPLAY
a=(a1xa1ya1za2xa2ya2za3xa3ya3z)
(5198)
Divergence of a Vector
The divergence of a vector a defines a scalar:
Figure 10. EQUATION_DISPLAY
∇⋅a=a1x+a2y+a3z
(5199)
Curl of a Vector
The curl of a vector a defines a vector:
Figure 11. EQUATION_DISPLAY
∇×a=(a3ya2za1za3xa2xa1y)
(5200)
which is obtained from the formal determinant:
Figure 12. EQUATION_DISPLAY
det(e1e2e3xyza1a2a3)
(5201)

Tensors

Multiplication by a Scalar
The product of a tensor A with a scalar α defines a tensor:
Figure 13. EQUATION_DISPLAY
αA=α(A11A12A13A21A22A23A31A32A33)=(αA11αA12αA13αA21αA22αA23αA31αA32αA33)
(5202)
Sum of two Tensors
The sum of two tensors A and B defines a tensor:
Figure 14. EQUATION_DISPLAY
A+B=(A11A12A13A21A22A23A31A32A33)+(B11B12B13B21B22B23B31B32B33)==(A11+B11A12+B12A13+B13A21+B21A22+B22A23+B23A31+B31A32+B32A33+B33)
(5203)
Product of a Tensor with a Vector
The product of a tensor A with a vector b defines a vector:
Figure 15. EQUATION_DISPLAY
AbAb=(A11A12A13A21A22A23A31A32A33)(b1b2b3)=(A11b1+A12b2+A13b3A21b1+A22b2+A23b3A31b1+A32b2+A33b3)
(5204)
Therefore, tensors define linear transformations between vectors.
Product of two Tensors
The product of two tensors A and B defines a tensor:
Figure 16. EQUATION_DISPLAY
A B A B = ( A 11 A 12 A 13 A 21 A 22 A 23 A 31 A 32 A 33 ) ( B 11 B 12 B 13 B 21 B 22 B 23 B 31 B 32 B 33 ) = = ( A 11 B 11 + A 12 B 21 + A 13 B 31 A 11 B 12 + A 12 B 22 + A 13 B 32 A 11 B 13 + A 12 B 23 + A 13 B 33 A 21 B 11 + A 22 B 21 + A 23 B 31 A 21 B 12 + A 22 B 22 + A 23 B 32 A 21 B 13 + A 22 B 23 + A 23 B 33 A 31 B 11 + A 32 B 21 + A 33 B 31 A 31 B 12 + A 32 B 22 + A 33 B 32 A 31 B 13 + A 32 B 23 + A 33 B 33 )
(5205)
Therefore, tensors also define linear transformations between tensors.
Inner Product of two Tensors
The inner product, or double dot product, of two tensors A and B defines a scalar:
Figure 17. EQUATION_DISPLAY
A:B=A11B11+A12B12+A13B13+...
(5206)
or, in index notation:
Figure 18. EQUATION_DISPLAY
A:B=AijBij
(5207)
The inner product is a tensor invariant, as its value remain unchanged under a change of basis.
Divergence of a Tensor
The divergence of a tensor A defines the vector:
Figure 19. EQUATION_DISPLAY
∇⋅A=(A11x+A21y+A31zA12x+A22y+A32zA13x+A23y+A33z)T
(5208)
Eigenvalues and Eigenvectors of a Tensor
Given a tensor A, the scalars λi and vectors vi that satisfy the relation:
Figure 20. EQUATION_DISPLAY
(AλiI)vi=0
(5209)
are called the eigenvalues and eigenvectors of A, respectively. The three eigenvalues are determined by solving the characteristic equation:
Figure 21. EQUATION_DISPLAY
det(AλiI)=0
(5210)
Inverse of a Tensor
Eqn. (5204) and Eqn. (5205) define tensors as linear transformations between vectors, or tensors. Given a tensor A, the inverse transformation A1 is defined as:
Figure 22. EQUATION_DISPLAY
A1A=I
(5211)
where I is the identity tensor:
Figure 23. EQUATION_DISPLAY
I=(100010001)
(5212)
The inverse tensor, A1, exists if and only if det(A)0, where:
Figure 24. EQUATION_DISPLAY
det(A)=det(A11A12A13A21A22A23A31A32A33)==A11(A22A33A23A32)+A12(A23A31A21A33)+A13(A21A32A31A22)
(5213)
Symmetry
A tensor A is called a symmetric tensor when A=AT, that is:
Figure 25. EQUATION_DISPLAY
(A11A12A13A21A22A23A31A32A33)=(A11A21A31A12A22A32A13A23A33)
(5214)
Tensor Invariants
Given a tensor A, it is possible to define three independent invariants, that is, scalar quantities that remain unchanged under a change of coordinate system:
Figure 26. EQUATION_DISPLAY
I0=tr(A)=A11+A22+A33=Aii
(5215)
Figure 27. EQUATION_DISPLAY
I1=[tr(A)2tr(A2)]/2
(5216)
Figure 28. EQUATION_DISPLAY
I2=det(A)
(5217)
The invariant I0 is called the Trace of the tensor A.
Tensor Norms
Given a tensor A, of dimension m×n, it is possible to define its norm in various ways:
Infinity Norm
Maximum absolute row sum of A:
Figure 29. EQUATION_DISPLAY
A=max1jmi=1n|Aij|
(5218)
1-Norm
Maximum absolute column sum of A:
Figure 30. EQUATION_DISPLAY
A1=max1jni=1m|Aij|
(5219)
2-Norm
Figure 31. EQUATION_DISPLAY
A2=maxoi3|λi|
(5220)
Frobenius Norm
Figure 32. EQUATION_DISPLAY
AF=tr(A2)
(5221)