Cartesian tensor
In geometry and linear algebra, a Cartesian tensor uses an orthonormal basis to represent a tensor in a Euclidean space in the form of components. Converting a tensor's components from one such basis to another is done through an orthogonal transformation.
The most familiar coordinate systems are the two-dimensional and three-dimensional Cartesian coordinate systems. Cartesian tensors may be used with any Euclidean space, or more technically, any finite-dimensional vector space over the field of real numbers that has an inner product.
Use of Cartesian tensors occurs in physics and engineering, such as with the Cauchy stress tensor and the moment of inertia tensor in rigid body dynamics. Sometimes general curvilinear coordinates are convenient, as in high-deformation continuum mechanics, or even necessary, as in general relativity. While orthonormal bases may be found for some such coordinate systems (e.g. tangent to spherical coordinates), Cartesian tensors may provide considerable simplification for applications in which rotations of rectilinear coordinate axes suffice. The transformation is a passive transformation, since the coordinates are changed and not the physical system.
Cartesian basis and related terminology
Vectors in three dimensions
In 3D Euclidean space, , the standard basis is Template:Math, Template:Math, Template:Math. Each basis vector points along the x-, y-, and z-axes, and the vectors are all unit vectors (or normalized), so the basis is orthonormal.
Throughout, when referring to Cartesian coordinates in three dimensions, a right-handed system is assumed and this is much more common than a left-handed system in practice, see orientation (vector space) for details.
For Cartesian tensors of order 1, a Cartesian vector Template:Math can be written algebraically as a linear combination of the basis vectors Template:Math, Template:Math, Template:Math:
where the coordinates of the vector with respect to the Cartesian basis are denoted Template:Math, Template:Math, Template:Math. It is common and helpful to display the basis vectors as column vectors
when we have a coordinate vector in a column vector representation:
A row vector representation is also legitimate, although in the context of general curvilinear coordinate systems the row and column vector representations are used separately for specific reasons โ see Einstein notation and covariance and contravariance of vectors for why.
The term "component" of a vector is ambiguous: it could refer to:
- a specific coordinate of the vector such as Template:Math (a scalar), and similarly for Template:Math and Template:Math, or
- the coordinate scalar-multiplying the corresponding basis vector, in which case the "Template:Math-component" of Template:Math is Template:Math (a vector), and similarly for Template:Math and Template:Math.
A more general notation is tensor index notation, which has the flexibility of numerical values rather than fixed coordinate labels. Template:AnchorThe Cartesian labels are replaced by tensor indices in the basis vectors Template:Math, Template:Math, Template:Math and coordinates Template:Math, Template:Math, Template:Math. In general, the notation Template:Math, Template:Math, Template:Math refers to any basis, and Template:Math, Template:Math, Template:Math refers to the corresponding coordinate system; although here they are restricted to the Cartesian system. Then:
It is standard to use the Einstein notationโthe summation sign for summation over an index that is present exactly twice within a term may be suppressed for notational conciseness:
An advantage of the index notation over coordinate-specific notations is the independence of the dimension of the underlying vector space, i.e. the same expression on the right hand side takes the same form in higher dimensions (see below). Previously, the Cartesian labels x, y, z were just labels and not indices. (It is informal to say "i = x, y, z").
Second-order tensors in three dimensions
A dyadic tensor T is an order-2 tensor formed by the tensor product Template:Math of two Cartesian vectors Template:Math and Template:Math, written Template:Math. Analogous to vectors, it can be written as a linear combination of the tensor basis Template:Math, Template:Math, ..., Template:Math (the right-hand side of each identity is only an abbreviation, nothing more):
Representing each basis tensor as a matrix:
then Template:Math can be represented more systematically as a matrix:
See matrix multiplication for the notational correspondence between matrices and the dot and tensor products.
More generally, whether or not Template:Math is a tensor product of two vectors, it is always a linear combination of the basis tensors with coordinates Template:Math, Template:Math, ..., Template:Math:
while in terms of tensor indices:
and in matrix form:
Second-order tensors occur naturally in physics and engineering when physical quantities have directional dependence in the system, often in a "stimulus-response" way. This can be mathematically seen through one aspect of tensors โ they are multilinear functions. A second-order tensor T which takes in a vector u of some magnitude and direction will return a vector v; of a different magnitude and in a different direction to u, in general. The notation used for functions in mathematical analysis leads us to write Template:Math,[1] while the same idea can be expressed in matrix and index notations[2] (including the summation convention), respectively:
By "linear", if Template:Math for two scalars Template:Math and Template:Math and vectors Template:Math and Template:Math, then in function and index notations:
and similarly for the matrix notation. The function, matrix, and index notations all mean the same thing. The matrix forms provide a clear display of the components, while the index form allows easier tensor-algebraic manipulation of the formulae in a compact manner. Both provide the physical interpretation of directions; vectors have one direction, while second-order tensors connect two directions together. One can associate a tensor index or coordinate label with a basis vector direction.
The use of second-order tensors are the minimum to describe changes in magnitudes and directions of vectors, as the dot product of two vectors is always a scalar, while the cross product of two vectors is always a pseudovector perpendicular to the plane defined by the vectors, so these products of vectors alone cannot obtain a new vector of any magnitude in any direction. (See also below for more on the dot and cross products). The tensor product of two vectors is a second-order tensor, although this has no obvious directional interpretation by itself.
The previous idea can be continued: if Template:Math takes in two vectors Template:Math and Template:Math, it will return a scalar Template:Math. In function notation we write Template:Math, while in matrix and index notations (including the summation convention) respectively:
The tensor T is linear in both input vectors. When vectors and tensors are written without reference to components, and indices are not used, sometimes a dot โ is placed where summations over indices (known as tensor contractions) are taken. For the above cases:[1][2]
motivated by the dot product notation:
More generally, a tensor of order Template:Math which takes in Template:Math vectors (where Template:Math is between Template:Math and Template:Math inclusive) will return a tensor of order Template:Math, see Template:Slink for further generalizations and details. The concepts above also apply to pseudovectors in the same way as for vectors. The vectors and tensors themselves can vary within throughout space, in which case we have vector fields and tensor fields, and can also depend on time.
Following are some examples:
| An applied or given... | ...to a material or object of... | ...results in... | ...in the material or object, given by: |
|---|---|---|---|
| unit vector Template:Math | Cauchy stress tensor Template:Math | a traction force Template:Math | |
| angular velocity Template:Math | moment of inertia Template:Math | an angular momentum Template:Math | |
| a rotational kinetic energy Template:Math | |||
| electric field Template:Math | electrical conductivity Template:Math | a current density flow Template:Math | |
| polarizability Template:Math (related to the permittivity Template:Math and electric susceptibility Template:Math) | an induced polarization field Template:Math | ||
| [[magnetic field|magnetic Template:Math field]] | magnetic permeability Template:Math | a [[magnetic field|magnetic Template:Math field]] |
For the electrical conduction example, the index and matrix notations would be:
while for the rotational kinetic energy Template:Math:
See also constitutive equation for more specialized examples.
Vectors and tensors in Template:Mvar dimensions
In Template:Mvar-dimensional Euclidean space over the real numbers, , the standard basis is denoted Template:Math, Template:Math, Template:Math, ... Template:Math. Each basis vector Template:Math points along the positive Template:Math axis, with the basis being orthonormal. Component Template:Mvar of Template:Math is given by the Kronecker delta:
A vector in takes the form:
Similarly for the order-2 tensor above, for each vector a and b in :
or more generally:
Transformations of Cartesian vectors (any number of dimensions)

Meaning of "invariance" under coordinate transformations
The position vector Template:Math in is a simple and common example of a vector, and can be represented in any coordinate system. Consider the case of rectangular coordinate systems with orthonormal bases only. It is possible to have a coordinate system with rectangular geometry if the basis vectors are all mutually perpendicular and not normalized, in which case the basis is orthogonal but not orthonormal. However, orthonormal bases are easier to manipulate and are often used in practice. The following results are true for orthonormal bases, not orthogonal ones.
In one rectangular coordinate system, Template:Math as a contravector has coordinates Template:Math and basis vectors Template:Math, while as a covector it has coordinates Template:Math and basis covectors Template:Math, and we have:
In another rectangular coordinate system, Template:Math as a contravector has coordinates Template:Math and basis Template:Math, while as a covector it has coordinates Template:Math and basis Template:Math, and we have:
Each new coordinate is a function of all the old ones, and vice versa for the inverse function:
and similarly each new basis vector is a function of all the old ones, and vice versa for the inverse function:
for all Template:Mvar, Template:Mvar.
A vector is invariant under any change of basis, so if coordinates transform according to a transformation matrix Template:Math, the bases transform according to the matrix inverse Template:Math, and conversely if the coordinates transform according to inverse Template:Math, the bases transform according to the matrix Template:Math. The difference between each of these transformations is shown conventionally through the indices as superscripts for contravariance and subscripts for covariance, and the coordinates and bases are linearly transformed according to the following rules:
| Vector elements | Contravariant transformation law | Covariant transformation law |
|---|---|---|
| Coordinates | ||
| Basis | ||
| Any vector |
where Template:Math represents the entries of the transformation matrix (row number is Template:Mvar and column number is Template:Mvar) and Template:Math denotes the entries of the inverse matrix of the matrix Template:Math.
If Template:Math is an orthogonal transformation (orthogonal matrix), the objects transforming by it are defined as Cartesian tensors. This geometrically has the interpretation that a rectangular coordinate system is mapped to another rectangular coordinate system, in which the norm of the vector Template:Math is preserved (and distances are preserved).
The determinant of Template:Math is Template:Math, which corresponds to two types of orthogonal transformation: (Template:Math) for rotations and (Template:Math) for improper rotations (including reflections).
There are considerable algebraic simplifications, the matrix transpose is the inverse from the definition of an orthogonal transformation:
From the previous table, orthogonal transformations of covectors and contravectors are identical. There is no need to differ between raising and lowering indices, and in this context and applications to physics and engineering the indices are usually all subscripted to remove confusion for exponents. All indices will be lowered in the remainder of this article. One can determine the actual raised and lowered indices by considering which quantities are covectors or contravectors, and the relevant transformation rules.
Exactly the same transformation rules apply to any vector Template:Math, not only the position vector. If its components Template:Math do not transform according to the rules, Template:Math is not a vector.
Despite the similarity between the expressions above, for the change of coordinates such as Template:Math, and the action of a tensor on a vector like Template:Math, Template:Math is not a tensor, but Template:Math is. In the change of coordinates, Template:Math is a matrix, used to relate two rectangular coordinate systems with orthonormal bases together. For the tensor relating a vector to a vector, the vectors and tensors throughout the equation all belong to the same coordinate system and basis.
Derivatives and Jacobian matrix elements
The entries of Template:Math are partial derivatives of the new or old coordinates with respect to the old or new coordinates, respectively.
Differentiating Template:Math with respect to Template:Math:
so
is an element of the Jacobian matrix. There is a (partially mnemonical) correspondence between index positions attached to L and in the partial derivative: i at the top and j at the bottom, in each case, although for Cartesian tensors the indices can be lowered.
Conversely, differentiating Template:Math with respect to Template:Math:
so
is an element of the inverse Jacobian matrix, with a similar index correspondence.
Many sources state transformations in terms of the partial derivatives:
and the explicit matrix equations in 3d are:
similarly for
Projections along coordinate axes

As with all linear transformations, Template:Math depends on the basis chosen. For two orthonormal bases
- projecting Template:Math to the Template:Math axes:
- projecting Template:Math to the Template:Math axes:
Hence the components reduce to direction cosines between the Template:Math and Template:Math axes:
where Template:Math and Template:Math are the angles between the Template:Math and Template:Math axes. In general, Template:Math is not equal to Template:Math, because for example Template:Math and Template:Math are two different angles.
The transformation of coordinates can be written:
and the explicit matrix equations in 3d are:
similarly for
The geometric interpretation is the Template:Math components equal to the sum of projecting the Template:Math components onto the Template:Math axes.
The numbers Template:Math arranged into a matrix would form a symmetric matrix (a matrix equal to its own transpose) due to the symmetry in the dot products, in fact it is the metric tensor Template:Math. By contrast Template:Math or Template:Math do not form symmetric matrices in general, as displayed above. Therefore, while the Template:Math matrices are still orthogonal, they are not symmetric.
Apart from a rotation about any one axis, in which the Template:Math and Template:Math for some Template:Mvar coincide, the angles are not the same as Euler angles, and so the Template:Math matrices are not the same as the rotation matrices.
Transformation of the dot and cross products (three dimensions only)
The dot product and cross product occur very frequently, in applications of vector analysis to physics and engineering, examples include:
- power transferred Template:Mvar by an object exerting a force Template:Math with velocity Template:Math along a straight-line path:
- tangential velocity Template:Math at a point Template:Math of a rotating rigid body with angular velocity Template:Mvar:
- potential energy Template:Mvar of a magnetic dipole of magnetic moment Template:Math in a uniform external magnetic field Template:Math:
- angular momentum Template:Math for a particle with position vector Template:Math and momentum Template:Math:
- torque Template:Mvar acting on an electric dipole of electric dipole moment Template:Math in a uniform external electric field Template:Math:
- induced surface current density Template:Math in a magnetic material of magnetization Template:Math on a surface with unit normal Template:Math:
How these products transform under orthogonal transformations is illustrated below.
Dot product, Kronecker delta, and metric tensor
The dot product โ of each possible pairing of the basis vectors follows from the basis being orthonormal. For perpendicular pairs we have
while for parallel pairs we have
Replacing Cartesian labels by index notation as shown above, these results can be summarized by
where Template:Math are the components of the Kronecker delta. The Cartesian basis can be used to represent Template:Math in this way.
In addition, each metric tensor component Template:Math with respect to any basis is the dot product of a pairing of basis vectors:
For the Cartesian basis the components arranged into a matrix are:
so are the simplest possible for the metric tensor, namely the [[identity matrix|Template:Math]]:
This is not true for general bases: orthogonal coordinates have diagonal metrics containing various scale factors (i.e. not necessarily 1), while general curvilinear coordinates could also have nonzero entries for off-diagonal components.
The dot product of two vectors Template:Math and Template:Math transforms according to
which is intuitive, since the dot product of two vectors is a single scalar independent of any coordinates. This also applies more generally to any coordinate systems, not just rectangular ones; the dot product in one coordinate system is the same in any other.
Cross product, Levi-Civita symbol, and pseudovectors
For the cross product (Template:Math) of two vectors, the results are (almost) the other way round. Again, assuming a right-handed 3d Cartesian coordinate system, cyclic permutations in perpendicular directions yield the next vector in the cyclic collection of vectors:
while parallel vectors clearly vanish:
and replacing Cartesian labels by index notation as above, these can be summarized by:
where Template:Mvar, Template:Mvar, Template:Mvar are indices which take values Template:Math. It follows that:
These permutation relations and their corresponding values are important, and there is an object coinciding with this property: the Levi-Civita symbol, denoted by Template:Math. The Levi-Civita symbol entries can be represented by the Cartesian basis:
which geometrically corresponds to the volume of a cube spanned by the orthonormal basis vectors, with sign indicating orientation (and not a "positive or negative volume"). Here, the orientation is fixed by Template:Math, for a right-handed system. A left-handed system would fix Template:Math or equivalently Template:Math.
The scalar triple product can now be written:
with the geometric interpretation of volume (of the parallelepiped spanned by Template:Math, Template:Math, Template:Math) and algebraically is a determinant:[3]Template:Rp
This in turn can be used to rewrite the cross product of two vectors as follows:
Contrary to its appearance, the Levi-Civita symbol is not a tensor, but a pseudotensor, the components transform according to:
Therefore, the transformation of the cross product of Template:Math and Template:Math is:
and so Template:Math transforms as a pseudovector, because of the determinant factor.
The tensor index notation applies to any object which has entities that form multidimensional arrays โ not everything with indices is a tensor by default. Instead, tensors are defined by how their coordinates and basis elements change under a transformation from one coordinate system to another.
Note the cross product of two vectors is a pseudovector, while the cross product of a pseudovector with a vector is another vector.
Applications of the Template:Math tensor and Template:Math pseudotensor
Other identities can be formed from the Template:Math tensor and Template:Math pseudotensor, a notable and very useful identity is one that converts two Levi-Civita symbols adjacently contracted over two indices into an antisymmetrized combination of Kronecker deltas:
The index forms of the dot and cross products, together with this identity, greatly facilitate the manipulation and derivation of other identities in vector calculus and algebra, which in turn are used extensively in physics and engineering. For instance, it is clear the dot and cross products are distributive over vector addition:
without resort to any geometric constructions โ the derivation in each case is a quick line of algebra. Although the procedure is less obvious, the vector triple product can also be derived. Rewriting in index notation:
and because cyclic permutations of indices in the Template:Math symbol does not change its value, cyclically permuting indices in Template:Math to obtain Template:Math allows us to use the above Template:Math-Template:Math identity to convert the Template:Math symbols into Template:Math tensors:
thusly:
Note this is antisymmetric in Template:Math and Template:Math, as expected from the left hand side. Similarly, via index notation or even just cyclically relabelling Template:Math, Template:Math, and Template:Math in the previous result and taking the negative:
and the difference in results show that the cross product is not associative. More complex identities, like quadruple products;
and so on, can be derived in a similar manner.
Transformations of Cartesian tensors (any number of dimensions)
Tensors are defined as quantities which transform in a certain way under linear transformations of coordinates.
Second order
Let Template:Math and Template:Math be two vectors, so that they transform according to Template:Math, Template:Math.
Taking the tensor product gives:
then applying the transformation to the components
and to the bases
gives the transformation law of an order-2 tensor. The tensor Template:Math is invariant under this transformation:
More generally, for any order-2 tensor
the components transform according to;
and the basis transforms by:
If Template:Math does not transform according to this rule โ whatever quantity Template:Math may be โ it is not an order-2 tensor.
Any order
More generally, for any order Template:Mvar tensor
the components transform according to;
and the basis transforms by:
For a pseudotensor Template:Math of order Template:Mvar, the components transform according to;
Pseudovectors as antisymmetric second order tensors
The antisymmetric nature of the cross product can be recast into a tensorial form as follows.[2] Let Template:Math be a vector, Template:Math be a pseudovector, Template:Math be another vector, and Template:Math be a second order tensor such that:
As the cross product is linear in Template:Math and Template:Math, the components of Template:Math can be found by inspection, and they are:
so the pseudovector Template:Math can be written as an antisymmetric tensor. This transforms as a tensor, not a pseudotensor. For the mechanical example above for the tangential velocity of a rigid body, given by Template:Math, this can be rewritten as Template:Math where Template:Math is the tensor corresponding to the pseudovector Template:Math:
For an example in electromagnetism, while the electric field Template:Math is a vector field, the magnetic field Template:Math is a pseudovector field. These fields are defined from the Lorentz force for a particle of electric charge Template:Math traveling at velocity Template:Math:
and considering the second term containing the cross product of a pseudovector Template:Math and velocity vector Template:Math, it can be written in matrix form, with Template:Math, Template:Math, and Template:Math as column vectors and Template:Math as an antisymmetric matrix:
If a pseudovector is explicitly given by a cross product of two vectors (as opposed to entering the cross product with another vector), then such pseudovectors can also be written as antisymmetric tensors of second order, with each entry a component of the cross product. The angular momentum of a classical pointlike particle orbiting about an axis, defined by Template:Math, is another example of a pseudovector, with corresponding antisymmetric tensor:
Although Cartesian tensors do not occur in the theory of relativity; the tensor form of orbital angular momentum Template:Math enters the spacelike part of the relativistic angular momentum tensor, and the above tensor form of the magnetic field Template:Math enters the spacelike part of the electromagnetic tensor.
Vector and tensor calculus
The following formulae are only so simple in Cartesian coordinates โ in general curvilinear coordinates there are factors of the metric and its determinant โ see tensors in curvilinear coordinates for more general analysis.
Vector calculus
Following are the differential operators of vector calculus. Throughout, let Template:Math be a scalar field, and
be vector fields, in which all scalar and vector fields are functions of the position vector Template:Math and time Template:Mvar.
The gradient operator in Cartesian coordinates is given by:
and in index notation, this is usually abbreviated in various ways:
This operator acts on a scalar field ฮฆ to obtain the vector field directed in the maximum rate of increase of ฮฆ:
The index notation for the dot and cross products carries over to the differential operators of vector calculus.[3]Template:Rp
The directional derivative of a scalar field Template:Math is the rate of change of Template:Math along some direction vector Template:Math (not necessarily a unit vector), formed out of the components of Template:Math and the gradient:
The divergence of a vector field Template:Math is:
Note the interchange of the components of the gradient and vector field yields a different differential operator
which could act on scalar or vector fields. In fact, if A is replaced by the velocity field Template:Math of a fluid, this is a term in the material derivative (with many other names) of continuum mechanics, with another term being the partial time derivative:
which usually acts on the velocity field leading to the non-linearity in the Navier-Stokes equations.
As for the curl of a vector field Template:Math, this can be defined as a pseudovector field by means of the Template:Math symbol:
which is only valid in three dimensions, or an antisymmetric tensor field of second order via antisymmetrization of indices, indicated by delimiting the antisymmetrized indices by square brackets (see Ricci calculus):
which is valid in any number of dimensions. In each case, the order of the gradient and vector field components should not be interchanged as this would result in a different differential operator:
which could act on scalar or vector fields.
Finally, the Laplacian operator is defined in two ways, the divergence of the gradient of a scalar field Template:Math:
or the square of the gradient operator, which acts on a scalar field Template:Math or a vector field Template:Math:
In physics and engineering, the gradient, divergence, curl, and Laplacian operator arise inevitably in fluid mechanics, Newtonian gravitation, electromagnetism, heat conduction, and even quantum mechanics.
Vector calculus identities can be derived in a similar way to those of vector dot and cross products and combinations. For example, in three dimensions, the curl of a cross product of two vector fields Template:Math and Template:Math:
where the product rule was used, and throughout the differential operator was not interchanged with Template:Math or Template:Math. Thus:
Tensor calculus
One can continue the operations on tensors of higher order. Let Template:Math denote a second order tensor field, again dependent on the position vector Template:Math and time Template:Mvar.
For instance, the gradient of a vector field in two equivalent notations ("dyadic" and "tensor", respectively) is:
which is a tensor field of second order.
The divergence of a tensor is:
which is a vector field. This arises in continuum mechanics in Cauchy's laws of motion โ the divergence of the Cauchy stress tensor Template:Math is a vector field, related to body forces acting on the fluid.
Difference from the standard tensor calculus
Cartesian tensors are as in tensor algebra, but Euclidean structure of and restriction of the basis brings some simplifications compared to the general theory.
The general tensor algebra consists of general mixed tensors of type Template:Math:
with basis elements:
the components transform according to:
as for the bases:
For Cartesian tensors, only the order Template:Math of the tensor matters in a Euclidean space with an orthonormal basis, and all Template:Math indices can be lowered. A Cartesian basis does not exist unless the vector space has a positive-definite metric, and thus cannot be used in relativistic contexts.
History
Dyadic tensors were historically the first approach to formulating second-order tensors, similarly triadic tensors for third-order tensors, and so on. Cartesian tensors use tensor index notation, in which the variance may be glossed over and is often ignored, since the components remain unchanged by raising and lowering indices.
See also
References
General references
Further reading and applications
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
External links
- Cartesian Tensors
- V. N. Kaliakin, Brief Review of Tensors, University of Delaware
- R. E. Hunt, Cartesian Tensors, University of Cambridge
- โ 1.0 1.1 Template:Cite book, used throughout
- โ 2.0 2.1 2.2 Template:Cite book, see Appendix C.
- โ 3.0 3.1 Template:Cite book