
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a tensor is an
algebraic object that describes a
multilinear relationship between sets of
algebraic objects associated with a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
. Tensors may map between different objects such as
vectors,
scalars
Scalar may refer to:
*Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers
*Scalar (physics), a physical quantity that can be described by a single element of a number field such a ...
, and even other tensors. There are many types of tensors, including
scalars
Scalar may refer to:
*Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers
*Scalar (physics), a physical quantity that can be described by a single element of a number field such a ...
and
vectors (which are the simplest tensors),
dual vectors,
multilinear map
Multilinear may refer to:
* Multilinear form, a type of mathematical function from a vector space to the underlying field
* Multilinear map, a type of mathematical function between vector spaces
* Multilinear algebra, a field of mathematics ...
s between vector spaces, and even some operations such as the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
. Tensors are defined
independent
Independent or Independents may refer to:
Arts, entertainment, and media Artist groups
* Independents (artist group), a group of modernist painters based in Pennsylvania, United States
* Independentes (English: Independents), a Portuguese artist ...
of any
basis, although they are often referred to by their components in a basis related to a particular coordinate system; those components form an array, which can be thought of as a high-dimensional
matrix
Matrix (: matrices or matrixes) or MATRIX may refer to:
Science and mathematics
* Matrix (mathematics), a rectangular array of numbers, symbols or expressions
* Matrix (logic), part of a formula in prenex normal form
* Matrix (biology), the m ...
.
Tensors have become important in
physics
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
because they provide a concise mathematical framework for formulating and solving physics problems in areas such as
mechanics
Mechanics () is the area of physics concerned with the relationships between force, matter, and motion among Physical object, physical objects. Forces applied to objects may result in Displacement (vector), displacements, which are changes of ...
(
stress,
elasticity,
quantum mechanics
Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
,
fluid mechanics
Fluid mechanics is the branch of physics concerned with the mechanics of fluids (liquids, gases, and plasma (physics), plasmas) and the forces on them.
Originally applied to water (hydromechanics), it found applications in a wide range of discipl ...
,
moment of inertia
The moment of inertia, otherwise known as the mass moment of inertia, angular/rotational mass, second moment of mass, or most accurately, rotational inertia, of a rigid body is defined relatively to a rotational axis. It is the ratio between ...
, ...),
electrodynamics
In physics, electromagnetism is an interaction that occurs between particles with electric charge via electromagnetic fields. The electromagnetic force is one of the four fundamental forces of nature. It is the dominant force in the interacti ...
(
electromagnetic tensor
In electromagnetism, the electromagnetic tensor or electromagnetic field tensor (sometimes called the field strength tensor, Faraday tensor or Maxwell bivector) is a mathematical object that describes the electromagnetic field in spacetime. Th ...
,
Maxwell tensor,
permittivity
In electromagnetism, the absolute permittivity, often simply called permittivity and denoted by the Greek letter (epsilon), is a measure of the electric polarizability of a dielectric material. A material with high permittivity polarizes more ...
,
magnetic susceptibility
In electromagnetism, the magnetic susceptibility (; denoted , chi) is a measure of how much a material will become magnetized in an applied magnetic field. It is the ratio of magnetization (magnetic moment per unit volume) to the applied magnet ...
, ...), and
general relativity
General relativity, also known as the general theory of relativity, and as Einstein's theory of gravity, is the differential geometry, geometric theory of gravitation published by Albert Einstein in 1915 and is the current description of grav ...
(
stress–energy tensor
The stress–energy tensor, sometimes called the stress–energy–momentum tensor or the energy–momentum tensor, is a tensor physical quantity that describes the density and flux of energy and momentum in spacetime, generalizing the stress ...
,
curvature tensor, ...). In applications, it is common to study situations in which a different tensor can occur at each point of an object; for example the stress within an object may vary from one location to another. This leads to the concept of a
tensor field
In mathematics and physics, a tensor field is a function assigning a tensor to each point of a region of a mathematical space (typically a Euclidean space or manifold) or of the physical space. Tensor fields are used in differential geometry, ...
. In some areas, tensor fields are so ubiquitous that they are often simply called "tensors".
Tullio Levi-Civita
Tullio Levi-Civita, (; ; 29 March 1873 – 29 December 1941) was an Italian mathematician, most famous for his work on absolute differential calculus ( tensor calculus) and its applications to the theory of relativity, but who also made signifi ...
and
Gregorio Ricci-Curbastro
Gregorio Ricci-Curbastro (; 12January 1925) was an Italian mathematician. He is most famous as the discoverer of tensor calculus.
With his former student Tullio Levi-Civita, he wrote his most famous single publication, a pioneering work on the ...
popularised tensors in 1900 – continuing the earlier work of
Bernhard Riemann
Georg Friedrich Bernhard Riemann (; ; 17September 182620July 1866) was a German mathematician who made profound contributions to analysis, number theory, and differential geometry. In the field of real analysis, he is mostly known for the f ...
,
Elwin Bruno Christoffel, and others – as part of the ''
absolute differential calculus''. The concept enabled an alternative formulation of the intrinsic
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
of a
manifold
In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an n-dimensional manifold, or ''n-manifold'' for short, is a topological space with the property that each point has a N ...
in the form of the
Riemann curvature tensor
Georg Friedrich Bernhard Riemann (; ; 17September 182620July 1866) was a German mathematician who made profound contributions to mathematical analysis, analysis, number theory, and differential geometry. In the field of real analysis, he is mos ...
.
[
]
Definition
Although seemingly different, the various approaches to defining tensors describe the same geometric concept using different language and at different levels of abstraction.
As multidimensional arrays
A tensor may be represented as a (potentially multidimensional) array. Just as a
vector
Vector most often refers to:
* Euclidean vector, a quantity with a magnitude and a direction
* Disease vector, an agent that carries and transmits an infectious pathogen into another living organism
Vector may also refer to:
Mathematics a ...
in an -
dimensional space is represented by a
one-dimensional array with components with respect to a given
basis, any tensor with respect to a basis is represented by a multidimensional array. For example, a
linear operator
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
is represented in a basis as a two-dimensional square array. The numbers in the multidimensional array are known as the ''components'' of the tensor. They are denoted by indices giving their position in the array, as
subscripts and superscripts, following the symbolic name of the tensor. For example, the components of an order- tensor could be denoted  , where and are indices running from to , or also by . Whether an index is displayed as a superscript or subscript depends on the transformation properties of the tensor, described below. Thus while and can both be expressed as ''n''-by-''n'' matrices, and are numerically related via
index juggling, the difference in their transformation laws indicates it would be improper to add them together.
The total number of indices () required to identify each component uniquely is equal to the ''dimension'' or the number of ''ways'' of an array, which is why a tensor is sometimes referred to as an -dimensional array or an -way array. The total number of indices is also called the ''order'', ''degree'' or ''rank'' of a tensor,
although the term "rank" generally has
another meaning in the context of matrices and tensors.
Just as the components of a vector change when we change the
basis of the vector space, the components of a tensor also change under such a transformation. Each type of tensor comes equipped with a ''transformation law'' that details how the components of the tensor respond to a
change of basis
In mathematics, an ordered basis of a vector space of finite dimension allows representing uniquely any element of the vector space by a coordinate vector, which is a sequence of scalars called coordinates. If two different bases are conside ...
. The components of a vector can respond in two distinct ways to a
change of basis
In mathematics, an ordered basis of a vector space of finite dimension allows representing uniquely any element of the vector space by a coordinate vector, which is a sequence of scalars called coordinates. If two different bases are conside ...
(see ''
Covariance and contravariance of vectors
In physics, especially in multilinear algebra and tensor analysis, covariance and contravariance describe how the quantitative description of certain geometric or physical entities changes with a change of basis. Briefly, a contravariant vecto ...
''), where the new
basis vectors are expressed in terms of the old basis vectors
as,
:
Here ''R''
'' j''''i'' are the entries of the change of basis matrix, and in the rightmost expression the
summation
In mathematics, summation is the addition of a sequence of numbers, called ''addends'' or ''summands''; the result is their ''sum'' or ''total''. Beside numbers, other types of values can be summed as well: functions, vectors, matrices, pol ...
sign was suppressed: this is the
Einstein summation convention, which will be used throughout this article.
[The Einstein summation convention, in brief, requires the sum to be taken over all values of the index whenever the same symbol appears as a subscript and superscript in the same term. For example, under this convention ] The components ''v''
''i'' of a column vector v transform with the
inverse of the matrix ''R'',
:
where the hat denotes the components in the new basis. This is called a ''contravariant'' transformation law, because the vector components transform by the ''inverse'' of the change of basis. In contrast, the components, ''w''
''i'', of a covector (or row vector), w, transform with the matrix ''R'' itself,
:
This is called a ''covariant'' transformation law, because the covector components transform by the ''same matrix'' as the change of basis matrix. The components of a more general tensor are transformed by some combination of covariant and contravariant transformations, with one transformation law for each index. If the transformation matrix of an index is the inverse matrix of the basis transformation, then the index is called ''contravariant'' and is conventionally denoted with an upper index (superscript). If the transformation matrix of an index is the basis transformation itself, then the index is called ''covariant'' and is denoted with a lower index (subscript).
As a simple example, the matrix of a linear operator with respect to a basis is a rectangular array
that transforms under a change of basis matrix
by
. For the individual matrix entries, this transformation law has the form
so the tensor corresponding to the matrix of a linear operator has one covariant and one contravariant index: it is of type (1,1).
Combinations of covariant and contravariant components with the same index allow us to express geometric invariants. For example, the fact that a vector is the same object in different coordinate systems can be captured by the following equations, using the formulas defined above:
:
,
where
is the
Kronecker delta
In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise:
\delta_ = \begin
0 &\text i \neq j, \\
1 &\ ...
, which functions similarly to the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
, and has the effect of renaming indices (''j'' into ''k'' in this example). This shows several features of the component notation: the ability to re-arrange terms at will (
commutativity
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a p ...
), the need to use different indices when working with multiple objects in the same expression, the ability to rename indices, and the manner in which contravariant and covariant tensors combine so that all instances of the transformation matrix and its inverse cancel, so that expressions like
can immediately be seen to be geometrically identical in all coordinate systems.
Similarly, a linear operator, viewed as a geometric object, does not actually depend on a basis: it is just a linear map that accepts a vector as an argument and produces another vector. The transformation law for how the matrix of components of a linear operator changes with the basis is consistent with the transformation law for a contravariant vector, so that the action of a linear operator on a contravariant vector is represented in coordinates as the matrix product of their respective coordinate representations. That is, the components
are given by
. These components transform contravariantly, since
:
The transformation law for an order tensor with ''p'' contravariant indices and ''q'' covariant indices is thus given as,
:
Here the primed indices denote components in the new coordinates, and the unprimed indices denote the components in the old coordinates. Such a tensor is said to be of order or ''type'' . The terms "order", "type", "rank", "valence", and "degree" are all sometimes used for the same concept. Here, the term "order" or "total order" will be used for the total dimension of the array (or its generalization in other definitions), in the preceding example, and the term "type" for the pair giving the number of contravariant and covariant indices. A tensor of type is also called a -tensor for short.
This discussion motivates the following formal definition:
The definition of a tensor as a multidimensional array satisfying a transformation law traces back to the work of Ricci.
An equivalent definition of a tensor uses the
representations of the
general linear group
In mathematics, the general linear group of degree n is the set of n\times n invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again inve ...
. There is an
action of the general linear group on the set of all
ordered bases of an ''n''-dimensional vector space. If
is an ordered basis, and
is an invertible
matrix, then the action is given by
:
Let ''F'' be the set of all ordered bases. Then ''F'' is a
principal homogeneous space for GL(''n''). Let ''W'' be a vector space and let
be a representation of GL(''n'') on ''W'' (that is, a
group homomorphism
In mathematics, given two groups, (''G'',∗) and (''H'', ·), a group homomorphism from (''G'',∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that
: h(u*v) = h(u) \cdot h(v)
whe ...
). Then a tensor of type
is an
equivariant map
In mathematics, equivariance is a form of symmetry for function (mathematics), functions from one space with symmetry to another (such as symmetric spaces). A function is said to be an equivariant map when its domain and codomain are Group action ( ...
. Equivariance here means that
:
When
is a
tensor representation In mathematics, the tensor representations of the general linear group are those that are obtained by taking finitely many tensor products of the fundamental representation and its dual. The irreducible factors of such a representation are also ca ...
of the general linear group, this gives the usual definition of tensors as multidimensional arrays. This definition is often used to describe tensors on manifolds, and readily generalizes to other groups.
As multilinear maps
A downside to the definition of a tensor using the multidimensional array approach is that it is not apparent from the definition that the defined object is indeed basis independent, as is expected from an intrinsically geometric object. Although it is possible to show that transformation laws indeed ensure independence from the basis, sometimes a more intrinsic definition is preferred. One approach that is common in
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
is to define tensors relative to a fixed (finite-dimensional) vector space ''V'', which is usually taken to be a particular vector space of some geometrical significance like the
tangent space
In mathematics, the tangent space of a manifold is a generalization of to curves in two-dimensional space and to surfaces in three-dimensional space in higher dimensions. In the context of physics the tangent space to a manifold at a point can be ...
to a manifold. In this approach, a type tensor ''T'' is defined as a
multilinear map
Multilinear may refer to:
* Multilinear form, a type of mathematical function from a vector space to the underlying field
* Multilinear map, a type of mathematical function between vector spaces
* Multilinear algebra, a field of mathematics ...
,
:
where ''V''
∗ is the corresponding
dual space
In mathematics, any vector space ''V'' has a corresponding dual vector space (or just dual space for short) consisting of all linear forms on ''V,'' together with the vector space structure of pointwise addition and scalar multiplication by cons ...
of covectors, which is linear in each of its arguments. The above assumes ''V'' is a vector space over the
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, . More generally, ''V'' can be taken over any
field ''F'' (e.g. the
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s), with ''F'' replacing as the codomain of the multilinear maps.
By applying a multilinear map ''T'' of type to a basis for ''V'' and a canonical cobasis for ''V''
∗,
:
a -dimensional array of components can be obtained. A different choice of basis will yield different components. But, because ''T'' is linear in all of its arguments, the components satisfy the tensor transformation law used in the multilinear array definition. The multidimensional array of components of ''T'' thus form a tensor according to that definition. Moreover, such an array can be realized as the components of some multilinear map ''T''. This motivates viewing multilinear maps as the intrinsic objects underlying tensors.
In viewing a tensor as a multilinear map, it is conventional to identify the
double dual ''V''
∗∗ of the vector space ''V'', i.e., the space of linear functionals on the dual vector space ''V''
∗, with the vector space ''V''. There is always a
natural linear map from ''V'' to its double dual, given by evaluating a linear form in ''V''
∗ against a vector in ''V''. This linear mapping is an isomorphism in finite dimensions, and it is often then expedient to identify ''V'' with its double dual.
Using tensor products
For some mathematical applications, a more abstract approach is sometimes useful. This can be achieved by defining tensors in terms of elements of
tensor product
In mathematics, the tensor product V \otimes W of two vector spaces V and W (over the same field) is a vector space to which is associated a bilinear map V\times W \rightarrow V\otimes W that maps a pair (v,w),\ v\in V, w\in W to an element of ...
s of vector spaces, which in turn are defined through a
universal property
In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently fro ...
as explained
here and
here.
A type tensor is defined in this context as an element of the tensor product of vector spaces,
:
A basis of and basis of naturally induce a basis of the tensor product . The components of a tensor are the coefficients of the tensor with respect to the basis obtained from a basis for and its dual basis , i.e.
:
Using the properties of the tensor product, it can be shown that these components satisfy the transformation law for a type tensor. Moreover, the universal property of the tensor product gives a
one-to-one correspondence
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equivale ...
between tensors defined in this way and tensors defined as multilinear maps.
This 1 to 1 correspondence can be achieved in the following way, because in the finite-dimensional case there exists a canonical isomorphism between a vector space and its double dual:
:
The last line is using the universal property of the tensor product, that there is a 1 to 1 correspondence between maps from
and
.
Tensor products can be defined in great generality – for example,
involving arbitrary modules over a ring. In principle, one could define a "tensor" simply to be an element of any tensor product. However, the mathematics literature usually reserves the term ''tensor'' for an element of a tensor product of any number of copies of a single vector space and its dual, as above.
Tensors in infinite dimensions
This discussion of tensors so far assumes finite dimensionality of the spaces involved, where the spaces of tensors obtained by each of these constructions are
naturally isomorphic
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a natur ...
.
[The double duality isomorphism, for instance, is used to identify ''V'' with the double dual space ''V''∗∗, which consists of multilinear forms of degree one on ''V''∗. It is typical in linear algebra to identify spaces that are naturally isomorphic, treating them as the same space.] Constructions of spaces of tensors based on the tensor product and multilinear mappings can be generalized, essentially without modification, to
vector bundle
In mathematics, a vector bundle is a topological construction that makes precise the idea of a family of vector spaces parameterized by another space X (for example X could be a topological space, a manifold, or an algebraic variety): to eve ...
s or
coherent sheaves. For infinite-dimensional vector spaces, inequivalent topologies lead to inequivalent notions of tensor, and these various isomorphisms may or may not hold depending on what exactly is meant by a tensor (see
topological tensor product). In some applications, it is the
tensor product of Hilbert spaces that is intended, whose properties are the most similar to the finite-dimensional case. A more modern view is that it is the tensors' structure as a
symmetric monoidal category that encodes their most important properties, rather than the specific models of those categories.
Tensor fields
In many applications, especially in differential geometry and physics, it is natural to consider a tensor with components that are functions of the point in a space. This was the setting of Ricci's original work. In modern mathematical terminology such an object is called a
tensor field
In mathematics and physics, a tensor field is a function assigning a tensor to each point of a region of a mathematical space (typically a Euclidean space or manifold) or of the physical space. Tensor fields are used in differential geometry, ...
, often referred to simply as a tensor.
In this context, a
coordinate basis is often chosen for the
tangent vector space. The transformation law may then be expressed in terms of
partial derivative
In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s of the coordinate functions,
:
defining a coordinate transformation,
:
History
The concepts of later tensor analysis arose from the work of
Carl Friedrich Gauss
Johann Carl Friedrich Gauss (; ; ; 30 April 177723 February 1855) was a German mathematician, astronomer, geodesist, and physicist, who contributed to many fields in mathematics and science. He was director of the Göttingen Observatory and ...
in
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
, and the formulation was much influenced by the theory of
algebraic forms and invariants developed during the middle of the nineteenth century. The word "tensor" itself was introduced in 1846 by
William Rowan Hamilton
Sir William Rowan Hamilton (4 August 1805 – 2 September 1865) was an Irish astronomer, mathematician, and physicist who made numerous major contributions to abstract algebra, classical mechanics, and optics. His theoretical works and mathema ...
to describe something different from what is now meant by a tensor.
[Namely, the norm operation in a vector space.] Gibbs introduced
dyadics and
polyadic algebra, which are also tensors in the modern sense.
The contemporary usage was introduced by
Woldemar Voigt
Woldemar Voigt (; 2 September 1850 – 13 December 1919) was a German mathematician and physicist.
Biography
Voigt was born in Leipzig, and died in Göttingen. He was a student of Franz Ernst Neumann.
Voigt taught at the Georg August Universi ...
in 1898.
Tensor calculus was developed around 1890 by
Gregorio Ricci-Curbastro
Gregorio Ricci-Curbastro (; 12January 1925) was an Italian mathematician. He is most famous as the discoverer of tensor calculus.
With his former student Tullio Levi-Civita, he wrote his most famous single publication, a pioneering work on the ...
under the title ''absolute differential calculus'', and originally presented in 1892. It was made accessible to many mathematicians by the publication of Ricci-Curbastro and
Tullio Levi-Civita
Tullio Levi-Civita, (; ; 29 March 1873 – 29 December 1941) was an Italian mathematician, most famous for his work on absolute differential calculus ( tensor calculus) and its applications to the theory of relativity, but who also made signifi ...
's 1900 classic text ''Méthodes de calcul différentiel absolu et leurs applications'' (Methods of absolute differential calculus and their applications). In Ricci's notation, he refers to "systems" with covariant and contravariant components, which are known as tensor fields in the modern sense.
In the 20th century, the subject came to be known as ''tensor analysis'', and achieved broader acceptance with the introduction of
Albert Einstein
Albert Einstein (14 March 187918 April 1955) was a German-born theoretical physicist who is best known for developing the theory of relativity. Einstein also made important contributions to quantum mechanics. His mass–energy equivalence f ...
's theory of
general relativity
General relativity, also known as the general theory of relativity, and as Einstein's theory of gravity, is the differential geometry, geometric theory of gravitation published by Albert Einstein in 1915 and is the current description of grav ...
, around 1915. General relativity is formulated completely in the language of tensors. Einstein had learned about them, with great difficulty, from the geometer
Marcel Grossmann. Levi-Civita then initiated a correspondence with Einstein to correct mistakes Einstein had made in his use of tensor analysis. The correspondence lasted 1915–17, and was characterized by mutual respect:
Tensors and
tensor field
In mathematics and physics, a tensor field is a function assigning a tensor to each point of a region of a mathematical space (typically a Euclidean space or manifold) or of the physical space. Tensor fields are used in differential geometry, ...
s were also found to be useful in other fields such as
continuum mechanics
Continuum mechanics is a branch of mechanics that deals with the deformation of and transmission of forces through materials modeled as a ''continuous medium'' (also called a ''continuum'') rather than as discrete particles.
Continuum mec ...
. Some well-known examples of tensors in
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
are
quadratic form
In mathematics, a quadratic form is a polynomial with terms all of degree two (" form" is another name for a homogeneous polynomial). For example,
4x^2 + 2xy - 3y^2
is a quadratic form in the variables and . The coefficients usually belong t ...
s such as
metric tensor
In the mathematical field of differential geometry, a metric tensor (or simply metric) is an additional structure on a manifold (such as a surface) that allows defining distances and angles, just as the inner product on a Euclidean space allows ...
s, and the
Riemann curvature tensor
Georg Friedrich Bernhard Riemann (; ; 17September 182620July 1866) was a German mathematician who made profound contributions to mathematical analysis, analysis, number theory, and differential geometry. In the field of real analysis, he is mos ...
. The
exterior algebra
In mathematics, the exterior algebra or Grassmann algebra of a vector space V is an associative algebra that contains V, which has a product, called exterior product or wedge product and denoted with \wedge, such that v\wedge v=0 for every vector ...
of
Hermann Grassmann
Hermann Günther Grassmann (, ; 15 April 1809 – 26 September 1877) was a German polymath known in his day as a linguist and now also as a mathematician. He was also a physicist, general scholar, and publisher. His mathematical work was littl ...
, from the middle of the nineteenth century, is itself a tensor theory, and highly geometric, but it was some time before it was seen, with the theory of
differential form
In mathematics, differential forms provide a unified approach to define integrands over curves, surfaces, solids, and higher-dimensional manifolds. The modern notion of differential forms was pioneered by Élie Cartan. It has many applications ...
s, as naturally unified with tensor calculus. The work of
Élie Cartan
Élie Joseph Cartan (; 9 April 1869 – 6 May 1951) was an influential French mathematician who did fundamental work in the theory of Lie groups, differential systems (coordinate-free geometric formulation of PDEs), and differential geometry. He ...
made differential forms one of the basic kinds of tensors used in mathematics, and
Hassler Whitney
Hassler Whitney (March 23, 1907 – May 10, 1989) was an American mathematician. He was one of the founders of singularity theory, and did foundational work in manifolds, embeddings, immersion (mathematics), immersions, characteristic classes and, ...
popularized the
tensor product
In mathematics, the tensor product V \otimes W of two vector spaces V and W (over the same field) is a vector space to which is associated a bilinear map V\times W \rightarrow V\otimes W that maps a pair (v,w),\ v\in V, w\in W to an element of ...
.
From about the 1920s onwards, it was realised that tensors play a basic role in
algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...
(for example in the
Künneth theorem).
Correspondingly there are types of tensors at work in many branches of
abstract algebra
In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures, which are set (mathematics), sets with specific operation (mathematics), operations acting on their elements. Algebraic structur ...
, particularly in
homological algebra
Homological algebra is the branch of mathematics that studies homology (mathematics), homology in a general algebraic setting. It is a relatively young discipline, whose origins can be traced to investigations in combinatorial topology (a precurs ...
and
representation theory
Representation theory is a branch of mathematics that studies abstract algebra, abstract algebraic structures by ''representing'' their element (set theory), elements as linear transformations of vector spaces, and studies Module (mathematics), ...
. Multilinear algebra can be developed in greater generality than for scalars coming from a
field. For example, scalars can come from a
ring. But the theory is then less geometric and computations more technical and less algorithmic.
Tensors are generalized within
category theory
Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
by means of the concept of
monoidal category
In mathematics, a monoidal category (or tensor category) is a category (mathematics), category \mathbf C equipped with a bifunctor
:\otimes : \mathbf \times \mathbf \to \mathbf
that is associative up to a natural isomorphism, and an Object (cate ...
, from the 1960s.
Examples
An elementary example of a mapping describable as a tensor is the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
, which maps two vectors to a scalar. A more complex example is the
Cauchy stress tensor
In continuum mechanics, the Cauchy stress tensor (symbol \boldsymbol\sigma, named after Augustin-Louis Cauchy), also called true stress tensor or simply stress tensor, completely defines the state of stress at a point inside a material in the d ...
T, which takes a directional unit vector v as input and maps it to the stress vector T
(v), which is the force (per unit area) exerted by material on the negative side of the plane orthogonal to v against the material on the positive side of the plane, thus expressing a relationship between these two vectors, shown in the figure (right). The cross product, where two vectors are mapped to a third one, is strictly speaking not a tensor because it changes its sign under those transformations that change the orientation of the coordinate system. The Levi-Civita symbol, totally anti-symmetric symbol
nevertheless allows a convenient handling of the cross product in equally oriented three dimensional coordinate systems.
This table shows important examples of tensors on vector spaces and tensor fields on manifolds. The tensors are classified according to their type , where ''n'' is the number of contravariant indices, ''m'' is the number of covariant indices, and gives the total order of the tensor. For example, a bilinear form is the same thing as a -tensor; an inner product is an example of a -tensor, but not all -tensors are inner products. In the -entry of the table, ''M'' denotes the dimensionality of the underlying vector space or manifold because for each dimension of the space, a separate index is needed to select that dimension to get a maximally covariant antisymmetric tensor.
Raising an index on an -tensor produces an -tensor; this corresponds to moving diagonally down and to the left on the table. Symmetrically, lowering an index corresponds to moving diagonally up and to the right on the table. #Contraction, Contraction of an upper with a lower index of an -tensor produces an -tensor; this corresponds to moving diagonally up and to the left on the table.
Properties
Assuming a basis of a vector space, basis of a real vector space, e.g., a coordinate frame in the ambient space, a tensor can be represented as an organized Array data structure#Multidimensional arrays, multidimensional array of numerical values with respect to this specific basis. Changing the basis transforms the values in the array in a characteristic way that allows to ''define'' tensors as objects adhering to this transformational behavior. For example, there are invariants of tensors that must be preserved under any change of the basis, thereby making only certain multidimensional arrays of numbers a Tensor#Holors, tensor. Compare this to the array representing
not being a tensor, for the sign change under transformations changing the orientation.
Because the components of vectors and their duals transform differently under the change of their dual bases, there is a covariant transformation, covariant and/or contravariant transformation law that relates the arrays, which represent the tensor with respect to one basis and that with respect to the other one. The numbers of, respectively, (covariance and contravariance of vectors, contravariant indices) and dual (covariance and contravariance of vectors, covariant indices) in the input and output of a tensor determine the ''type'' (or ''valence'') of the tensor, a pair of natural numbers , which determine the precise form of the transformation law. The ' of a tensor is the sum of these two numbers.
The order (also ''degree'' or ') of a tensor is thus the sum of the orders of its arguments plus the order of the resulting tensor. This is also the dimensionality of the array of numbers needed to represent the tensor with respect to a specific basis, or equivalently, the number of indices needed to label each component in that array. For example, in a fixed basis, a standard linear map that maps a vector to a vector, is represented by a matrix (a 2-dimensional array), and therefore is a 2nd-order tensor. A simple vector can be represented as a 1-dimensional array, and is therefore a 1st-order tensor. Scalars are simple numbers and are thus 0th-order tensors. This way the tensor representing the scalar product, taking two vectors and resulting in a scalar has order , the same as the stress tensor, taking one vector and returning another . The mapping two vectors to one vector, would have order
The collection of tensors on a vector space and its dual forms a tensor algebra, which allows products of arbitrary tensors. Simple applications of tensors of order , which can be represented as a square matrix, can be solved by clever arrangement of transposed vectors and by applying the rules of matrix multiplication, but the tensor product should not be confused with this.
Notation
There are several notational systems that are used to describe tensors and perform calculations involving them.
Ricci calculus
Ricci calculus is the modern formalism and notation for tensor indices: indicating inner product, inner and outer products, covariance and contravariance of vectors, covariance and contravariance,
summation
In mathematics, summation is the addition of a sequence of numbers, called ''addends'' or ''summands''; the result is their ''sum'' or ''total''. Beside numbers, other types of values can be summed as well: functions, vectors, matrices, pol ...
s of tensor components, symmetric tensor, symmetry and antisymmetric tensor, antisymmetry, and partial derivative, partial and covariant derivatives.
Einstein summation convention
The
Einstein summation convention dispenses with writing summation signs, leaving the summation implicit. Any repeated index symbol is summed over: if the index is used twice in a given term of a tensor expression, it means that the term is to be summed for all . Several distinct pairs of indices may be summed this way.
Penrose graphical notation
Penrose graphical notation is a diagrammatic notation which replaces the symbols for tensors with shapes, and their indices by lines and curves. It is independent of basis elements, and requires no symbols for the indices.
Abstract index notation
The abstract index notation is a way to write tensors such that the indices are no longer thought of as numerical, but rather are Indeterminate (variable), indeterminates. This notation captures the expressiveness of indices and the basis-independence of index-free notation.
Component-free notation
A component-free treatment of tensors uses notation that emphasises that tensors do not rely on any basis, and is defined in terms of the Tensor product, tensor product of vector spaces.
Operations
There are several operations on tensors that again produce a tensor. The linear nature of tensors implies that two tensors of the same type may be added together, and that tensors may be multiplied by a scalar with results analogous to the Scalar multiplication, scaling of a vector. On components, these operations are simply performed component-wise. These operations do not change the type of the tensor; but there are also operations that produce a tensor of different type.
Tensor product
The
tensor product
In mathematics, the tensor product V \otimes W of two vector spaces V and W (over the same field) is a vector space to which is associated a bilinear map V\times W \rightarrow V\otimes W that maps a pair (v,w),\ v\in V, w\in W to an element of ...
takes two tensors, ''S'' and ''T'', and produces a new tensor, , whose order is the sum of the orders of the original tensors. When described as multilinear maps, the tensor product simply multiplies the two tensors, i.e.,
which again produces a map that is linear in all its arguments. On components, the effect is to multiply the components of the two input tensors pairwise, i.e.,
If is of type and is of type , then the tensor product has type .
Contraction
Tensor contraction is an operation that reduces a type tensor to a type tensor, of which the Trace (linear algebra), trace is a special case. It thereby reduces the total order of a tensor by two. The operation is achieved by summing components for which one specified contravariant index is the same as one specified covariant index to produce a new component. Components for which those two indices are different are discarded. For example, a -tensor
can be contracted to a scalar through
, where the summation is again implied. When the -tensor is interpreted as a linear map, this operation is known as the trace (linear algebra), trace.
The contraction is often used in conjunction with the tensor product to contract an index from each tensor.
The contraction can also be understood using the definition of a tensor as an element of a tensor product of copies of the space ''V'' with the space ''V''
∗ by first decomposing the tensor into a linear combination of simple tensors, and then applying a factor from ''V''
∗ to a factor from ''V''. For example, a tensor
can be written as a linear combination
:
The contraction of ''T'' on the first and last slots is then the vector
:
In a vector space with an inner product (also known as a Metric tensor, metric) ''g'', the term Tensor contraction#Metric contraction, contraction is used for removing two contravariant or two covariant indices by forming a trace with the metric tensor or its inverse. For example, a -tensor
can be contracted to a scalar through
(yet again assuming the summation convention).
Raising or lowering an index
When a vector space is equipped with a nondegenerate bilinear form (or ''
metric tensor
In the mathematical field of differential geometry, a metric tensor (or simply metric) is an additional structure on a manifold (such as a surface) that allows defining distances and angles, just as the inner product on a Euclidean space allows ...
'' as it is often called in this context), operations can be defined that convert a contravariant (upper) index into a covariant (lower) index and vice versa. A metric tensor is a (symmetric) (-tensor; it is thus possible to contract an upper index of a tensor with one of the lower indices of the metric tensor in the product. This produces a new tensor with the same index structure as the previous tensor, but with lower index generally shown in the same position of the contracted upper index. This operation is quite graphically known as ''lowering an index''.
Conversely, the inverse operation can be defined, and is called ''raising an index''. This is equivalent to a similar contraction on the product with a -tensor. This ''inverse metric tensor'' has components that are the matrix inverse of those of the metric tensor.
Applications
Continuum mechanics
Important examples are provided by
continuum mechanics
Continuum mechanics is a branch of mechanics that deals with the deformation of and transmission of forces through materials modeled as a ''continuous medium'' (also called a ''continuum'') rather than as discrete particles.
Continuum mec ...
. The stresses inside a solid body or fluid are described by a tensor field. The Stress (mechanics), stress tensor and strain tensor are both second-order tensor fields, and are related in a general linear elastic material by a fourth-order elasticity tensor field. In detail, the tensor quantifying stress in a 3-dimensional solid object has components that can be conveniently represented as a 3 × 3 array. The three faces of a cube-shaped infinitesimal volume segment of the solid are each subject to some given force. The force's vector components are also three in number. Thus, 3 × 3, or 9 components are required to describe the stress at this cube-shaped infinitesimal segment. Within the bounds of this solid is a whole mass of varying stress quantities, each requiring 9 quantities to describe. Thus, a second-order tensor is needed.
If a particular Volume form, surface element inside the material is singled out, the material on one side of the surface will apply a force on the other side. In general, this force will not be orthogonal to the surface, but it will depend on the orientation of the surface in a linear manner. This is described by a tensor of type of a tensor, type , in linear elasticity, or more precisely by a tensor field of type , since the stresses may vary from point to point.
Other examples from physics
Common applications include:
* Electromagnetic tensor (or Faraday tensor) in electromagnetism
* Finite deformation tensors for describing deformations and strain tensor for Strain (materials science), strain in
continuum mechanics
Continuum mechanics is a branch of mechanics that deals with the deformation of and transmission of forces through materials modeled as a ''continuous medium'' (also called a ''continuum'') rather than as discrete particles.
Continuum mec ...
* Permittivity and electric susceptibility are tensors in anisotropic media
* Four-tensors in
general relativity
General relativity, also known as the general theory of relativity, and as Einstein's theory of gravity, is the differential geometry, geometric theory of gravitation published by Albert Einstein in 1915 and is the current description of grav ...
(e.g.
stress–energy tensor
The stress–energy tensor, sometimes called the stress–energy–momentum tensor or the energy–momentum tensor, is a tensor physical quantity that describes the density and flux of energy and momentum in spacetime, generalizing the stress ...
), used to represent momentum fluxes
* Spherical tensor operators are the eigenfunctions of the quantum angular momentum operator in spherical coordinates
* Diffusion tensors, the basis of diffusion tensor imaging, represent rates of diffusion in biological environments
* Quantum mechanics and quantum computing utilize tensor products for combination of quantum states
Computer vision and optics
The concept of a tensor of order two is often conflated with that of a matrix. Tensors of higher order do however capture ideas important in science and engineering, as has been shown successively in numerous areas as they develop. This happens, for instance, in the field of computer vision, with the trifocal tensor generalizing the fundamental matrix (computer vision), fundamental matrix.
The field of nonlinear optics studies the changes to material Polarization density#Relation between P and E in various materials, polarization density under extreme electric fields. The polarization waves generated are related to the generating electric fields through the nonlinear susceptibility tensor. If the polarization P is not linearly proportional to the electric field E, the medium is termed ''nonlinear''. To a good approximation (for sufficiently weak fields, assuming no permanent dipole moments are present), P is given by a Taylor series in E whose coefficients are the nonlinear susceptibilities:
:
Here
is the linear susceptibility,
gives the Pockels effect and second harmonic generation, and
gives the Kerr effect. This expansion shows the way higher-order tensors arise naturally in the subject matter.
Machine learning
The properties of Tensor (machine learning), tensors, especially tensor decomposition, have enabled their use in machine learning to embed higher dimensional data in artificial neural networks. This notion of tensor differs significantly from that in other areas of mathematics and physics, in the sense that a tensor is usually regarded as a numerical quantity in a fixed basis, and the dimension of the spaces along the different axes of the tensor need not be the same.
Generalizations
Tensor products of vector spaces
The vector spaces of a
tensor product
In mathematics, the tensor product V \otimes W of two vector spaces V and W (over the same field) is a vector space to which is associated a bilinear map V\times W \rightarrow V\otimes W that maps a pair (v,w),\ v\in V, w\in W to an element of ...
need not be the same, and sometimes the elements of such a more general tensor product are called "tensors". For example, an element of the tensor product space is a second-order "tensor" in this more general sense,
and an order- tensor may likewise be defined as an element of a tensor product of different vector spaces.
A type tensor, in the sense defined previously, is also a tensor of order in this more general sense. The concept of tensor product tensor product of modules, can be extended to arbitrary module over a ring, modules over a ring.
Tensors in infinite dimensions
The notion of a tensor can be generalized in a variety of ways to Dimension (vector space), infinite dimensions. One, for instance, is via the tensor product of Hilbert spaces, tensor product of Hilbert spaces. Another way of generalizing the idea of tensor, common in Nonlinear system, nonlinear analysis, is via the #As multilinear maps, multilinear maps definition where instead of using finite-dimensional vector spaces and their algebraic duals, one uses infinite-dimensional Banach spaces and their continuous dual. Tensors thus live naturally on Banach manifolds and Fréchet manifolds.
Tensor densities
Suppose that a homogeneous medium fills , so that the density of the medium is described by a single scalar (physics), scalar value in . The mass, in kg, of a region is obtained by multiplying by the volume of the region , or equivalently integrating the constant over the region:
:
where the Cartesian coordinates , , are measured in . If the units of length are changed into , then the numerical values of the coordinate functions must be rescaled by a factor of 100:
:
The numerical value of the density must then also transform by to compensate, so that the numerical value of the mass in kg is still given by integral of
. Thus
(in units of ).
More generally, if the Cartesian coordinates , , undergo a linear transformation, then the numerical value of the density must change by a factor of the reciprocal of the absolute value of the determinant of the coordinate transformation, so that the integral remains invariant, by the change of variables formula for integration. Such a quantity that scales by the reciprocal of the absolute value of the determinant of the coordinate transition map is called a scalar density. To model a non-constant density, is a function of the variables , , (a scalar field), and under a curvilinear coordinates, curvilinear change of coordinates, it transforms by the reciprocal of the Jacobian matrix and determinant, Jacobian of the coordinate change. For more on the intrinsic meaning, see ''Density on a manifold''.
A tensor density transforms like a tensor under a coordinate change, except that it in addition picks up a factor of the absolute value of the determinant of the coordinate transition:
:
Here is called the weight. In general, any tensor multiplied by a power of this function or its absolute value is called a tensor density, or a weighted tensor. An example of a tensor density is the current density of electromagnetism.
Under an affine transformation of the coordinates, a tensor transforms by the linear part of the transformation itself (or its inverse) on each index. These come from the rational representations of the general linear group. But this is not quite the most general linear transformation law that such an object may have: tensor densities are non-rational, but are still semisimple representations. A further class of transformations come from the logarithmic representation of the general linear group, a reducible but not semisimple representation, consisting of an with the transformation law
:
Geometric objects
The transformation law for a tensor behaves as a functor on the category of admissible coordinate systems, under general linear transformations (or, other transformations within some class, such as local diffeomorphisms). This makes a tensor a special case of a geometrical object, in the technical sense that it is a function of the coordinate system transforming functorially under coordinate changes. Examples of objects obeying more general kinds of transformation laws are jet (mathematics), jets and, more generally still, natural bundles.
Spinors
When changing from one orthonormal basis (called a ''frame'') to another by a rotation, the components of a tensor transform by that same rotation. This transformation does not depend on the path taken through the space of frames. However, the space of frames is not simply connected (see orientation entanglement and plate trick): there are continuous paths in the space of frames with the same beginning and ending configurations that are not deformable one into the other. It is possible to attach an additional discrete invariant to each frame that incorporates this path dependence, and which turns out (locally) to have values of ±1. A spinor is an object that transforms like a tensor under rotations in the frame, apart from a possible sign that is determined by the value of this discrete invariant.
Spinors are elements of the spin representation of the rotation group, while tensors are elements of its
tensor representation In mathematics, the tensor representations of the general linear group are those that are obtained by taking finitely many tensor products of the fundamental representation and its dual. The irreducible factors of such a representation are also ca ...
s. Other classical groups have tensor representations, and so also tensors that are compatible with the group, but all non-compact classical groups have infinite-dimensional unitary representations as well.
See also
*
* Array data type, for tensor storage and manipulation
* Bitensor
Foundational
* Cartesian tensor
* Fibre bundle
* Glossary of tensor theory
* Multilinear subspace learning#Multilinear projection, Multilinear projection
* One-form
* Tensor product of modules
Applications
* Application of tensor theory in engineering
* Continuum mechanics
* Covariant derivative
* Curvature
* Diffusion MRI#Mathematical foundation—tensors, Diffusion tensor MRI
* Einstein field equations
* Fluid mechanics
* Gravity
* Multilinear subspace learning
* Riemannian geometry
* Structure tensor
* Tensor Contraction Engine
* Tensor decomposition
* Tensor derivative
* Tensor software
Explanatory notes
References
Specific
General
*
*
*
*
*
*
*
* Chapter six gives a "from scratch" introduction to covariant tensors.
*
*
*
*
*
External links
*
*
*
*
*
A discussion of the various approaches to teaching tensors, and recommendations of textbooks*
*
{{Authority control
Concepts in physics
Continuum mechanics
Tensors