Tensor products and contractions
Which products keep directions, and which reduce them to a scalar?
Use a fixed Cartesian basis and the shared index convention: repeated spatial indices are summed. The small arrays below are dimensionless unless units are shown. Their sizes describe the input and output shapes; units follow the individual physical quantities.
Dot product: a scalar
The dot product takes two 3-vectors to one scalar. It measures their alignment, weighted by length:
For and , . The result has no direction. Orthogonal vectors have zero dot product.
In virtual work, a force dotted with a test displacement has units N·mm. A force and displacement give zero work; only displacement along the force contributes. Distributed loads use the same product inside a volume or surface integral.
Outer product: a tensor
The outer (tensor) product keeps both component directions. Two 3-vectors produce a 3 × 3 tensor:
The entry is , whereas the entry is . The product is generally not symmetric. Units multiply, just as for a dot product, but the output retains two indices.
In displacement interpolation, : the nodal displacement (a 3-vector, mm) and shape-function gradient (a 3-vector, 1/mm) form a dimensionless tensor. This agrees with the row-component gradient convention.
Transpose: swap indices
A transpose exchanges rows and columns: . An input becomes ; units stay the same. For a rectangular example:
Thus . A symmetric tensor equals its transpose. Averaging and gives small strain. In stiffness assembly, has compatible shapes: if maps element DOFs to six engineering strain components, then is , is 6 × 6 and is .
Trace: add the diagonal
The trace maps a square tensor to a scalar by adding its diagonal. It preserves units:
Here ; the off-diagonal entries do not enter. For infinitesimal strain, is first-order relative volume change. In the isotropic law , the identity is a 3 × 3 tensor with ones on the diagonal. The trace term therefore adds equal normal stress in all three directions. See Lamé parameters.
Double contraction and shear
The double contraction takes two tensors of the same shape to a scalar, multiplying and summing every matching component. For 3 × 3 tensors:
This is not ordinary matrix multiplication. For symmetric stress and strain, both and entries contribute the same product:
Take pure shear , all other strains zero, and , all other stresses zero. Then . The six-component engineering strain vector has , so its pairing with the undoubled shear stress gives the same .
The shared order is : double the strain shear entries, not the stresses. In proportional linear elasticity from zero stress, stored energy density is , equivalently 0.16 N·mm/mm³. A virtual-work integrand instead uses without that half. Using tensor shear in a six-component engineering pairing would miss half the shear contribution.
Sources and further reading
- MIT OpenCourseWare: Multivariable Calculus, vector products and their geometric meaning.
- MIT OpenCourseWare: Structural Mechanics, tensor components, strain and elastic energy.
- Bathe, Finite Element Procedures (1996), displacement-based elasticity and engineering-strain matrices.