Jump to content

Tensor: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
I see. There is a proposed rewrite in a subpage. Undid revision 311575834 by Sławomir Biały (talk)
NO MORE TENSOR ARTICLES, PLEASE!
Line 2: Line 2:
{{cleanup-rewrite|date=August 2009}}
{{cleanup-rewrite|date=August 2009}}


:''For component-based "classical" treatment of tensors, see [[Classical treatment of tensors]]. See [[Component-free treatment of tensors]] for a modern abstract treatment, and [[Intermediate treatment of tensors]] for an approach which bridges the two.'' A fourth, less mathematical explanation of tensors is provided in the [[Diffusion MRI#Tensors - What Are They and How Does the Math Work? |Diffusion MRI]] article.
:''For component-based "classical" treatment of tensors, see [[Classical treatment of tensors]]. See [[Component-free treatment of tensors]] for a modern abstract treatment, and [[Intermediate treatment of tensors]] for an approach which bridges the two.''


A '''tensor''' is an object which includes and extends the notion of [[Scalar (mathematics)|scalar]], [[Vector (geometry)|vector]], and [[Matrix (mathematics)|matrix]]. The term is slightly ambiguous, and this often leads to misunderstandings; roughly speaking, there are different default meanings in [[mathematics]] and [[physics]]. In the mathematical fields of [[multilinear algebra]] and [[differential geometry]], a tensor is first of all an element of a [[tensor product]] of [[vector space]]s. In [[physics]], the same term often means what a mathematician would call a [[tensor field]]: an association of a different mathematical tensor with each point of a geometric space, varying continuously with position. This difference of emphasis conceals the agreement there is on the geometric nature of tensors, and in application of tensors there may be different types of notation used, for what are actually the same underlying calculations.
A '''tensor''' is an object which includes and extends the notion of [[Scalar (mathematics)|scalar]], [[Vector (geometry)|vector]], and [[Matrix (mathematics)|matrix]]. The term is slightly ambiguous, and this often leads to misunderstandings; roughly speaking, there are different default meanings in [[mathematics]] and [[physics]]. In the mathematical fields of [[multilinear algebra]] and [[differential geometry]], a tensor is first of all an element of a [[tensor product]] of [[vector space]]s. In [[physics]], the same term often means what a mathematician would call a [[tensor field]]: an association of a different mathematical tensor with each point of a geometric space, varying continuously with position. This difference of emphasis conceals the agreement there is on the geometric nature of tensors, and in application of tensors there may be different types of notation used, for what are actually the same underlying calculations.

Revision as of 02:29, 3 September 2009

For component-based "classical" treatment of tensors, see Classical treatment of tensors. See Component-free treatment of tensors for a modern abstract treatment, and Intermediate treatment of tensors for an approach which bridges the two.

A tensor is an object which includes and extends the notion of scalar, vector, and matrix. The term is slightly ambiguous, and this often leads to misunderstandings; roughly speaking, there are different default meanings in mathematics and physics. In the mathematical fields of multilinear algebra and differential geometry, a tensor is first of all an element of a tensor product of vector spaces. In physics, the same term often means what a mathematician would call a tensor field: an association of a different mathematical tensor with each point of a geometric space, varying continuously with position. This difference of emphasis conceals the agreement there is on the geometric nature of tensors, and in application of tensors there may be different types of notation used, for what are actually the same underlying calculations.

In mathematics, a tensor is a generalized 'quantity' or 'geometrical entity'. If necessary it can be expressed as a multi-dimensional array relative to a choice of basis of the particular space on which it is defined; just as a linear transformation can be represented as a matrix of numbers with respect to given vector bases, so a tensor of any type can be written as an organized collection of numbers. The intuition underlying the tensor concept, on the other hand, is inherently geometrical: as an object in and of itself, a tensor is independent of any chosen frame of reference, just as a geometric vector, generally pictured as an arrow, is independent of the basis used to represent it.

Many mathematical structures informally called 'tensors' are actually tensor fields—what is given is a tensor-valued function defined on a geometric or topological space. This use of the term is analogous to vector fields such as electromagnetic fields, with a vector given at each point of a region. The whole advantage of tensors is that everything defined in tensor terms can be tracked in a definite way under any change of coordinates. Differential equations posed in terms of tensor quantities are basic to modern mathematical physics, so that tensor fields are usually defined on differentiable manifolds.

Early history

The word tensor was introduced in 1846 by William Rowan Hamilton[1] to describe the norm operation in a certain type of algebraic system (eventually known as a Clifford algebra). The word was used in its current meaning by Woldemar Voigt in 1898.[2]

Tensor calculus was developed around 1890 by Gregorio Ricci-Curbastro under the title absolute differential calculus, and originally presented by Ricci in 1892 (in volume XVI of the Bulletin des Sciences Mathématiques). It was made accessible to many mathematicians by the publication of Ricci and Tullio Levi-Civita's 1900 classic text Méthodes de calcul différentiel absolu et leurs applications (Methods of absolute differential calculus and their applications) (Ricci & Levi-Civita 1900) (in French; translations followed). In the 20th century, the subject came to be known as tensor analysis, and achieved broader acceptance with the introduction of Einstein's theory of general relativity, 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.[3] 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, with Einstein at one point writing:

I admire the elegance of your method of computation; it must be nice to ride through these fields upon the horse of true mathematics while the like of us have to make our way laboriously on foot.

— Einstein, to Levi-Civita on tensor analysis

Tensors were also found to be useful in other fields such as continuum mechanics. Some well-known examples of tensors in differential geometry are quadratic forms, such as metric tensors, and the curvature tensor. The exterior algebra of Hermann Grassmann is itself a tensor theory, and highly geometric, but it was some time before it was seen, with the theory of differential forms, as naturally unified with tensor calculus. The work of Élie Cartan made differential forms one of the basic kinds of tensor fields used in mathematics.

Modern mathematical usage

In physics, numbers may be obtained as physical quantities that depend on a basis, and the collection is determined to be a tensor if the quantities transform appropriately under change of basis. While tensors can be represented by multi-dimensional arrays of components, the point of having a tensor theory is to explain further implications of saying that a quantity is a tensor, beyond specifying that it requires a number of indexed components. In particular, tensors behave in specific ways under coordinate transformations. The abstract theory of tensors is a branch of linear algebra, now called multilinear algebra.

In the modern formal treatment, tensor theory is approached as a topic in multilinear algebra, and the nature of tensors is to be bilinear, trilinear,... multilinear in a word. For example, the Euclidean outer product—a real-valued function of two vectors that is linear in each—is a matrix, while the outer product of three or more vectors is a tensor. Similarly, on a smooth curved surface such as a torus, the metric tensor (field) essentially defines a different inner product of tangent vectors at each point of the surface. Engineering applications do not usually require the full, general theory, which talks about tensors which are n-linear (can be written down as arrays with n components), but theoretical physics now does.

From about the 1920s onwards, it was realised that tensors play a basic role in algebraic topology (for example in the Künneth theorem). Correspondingly there are types of tensors at work in many branches of abstract algebra, particularly in homological algebra and representation theory. Multilinear algebra can be developed in greater generality than for scalars coming from a field, but the theory is then certainly less geometric, and computations more technical and less algorithmic.

This leaves two ways of approaching the definition of tensors:

  • The usual physics way of defining tensors, in terms of objects whose components transform according to certain rules, introducing the ideas of covariant or contravariant transformations.
  • The usual mathematics way, which involves defining certain vector spaces and not fixing any coordinate systems until bases are introduced when needed. Contravariant vectors, for instance, can also be described as one-forms, or as the elements of the dual space to the covariant vectors.

There is less conflict here than is sometimes made out. Physicists and engineers recognise that vectors and tensors have a physical significance as entities, which must go beyond any arbitrary coordinate system in which their components are enumerated. Similarly, mathematicians do find there are some tensor relations which are more conveniently derived in a coordinate notation.

Formulation

There are many kinds of tensors, and some technical language is required to formulate precise descriptions of the particular type. Where index notation is used to give tensors by components, you need to know both what the indexation means, and the range over which indices run.

Formally speaking, a tensor has a particular type according to the construction with tensor products that give rise to it. For computational purposes, it may be expressed as the sequence of values represented by a function with a tuple-valued domain and a scalar valued range. Domain values are tuples of counting numbers, and these numbers are called indices. For example, a third-order tensor might have dimensions 2, 5, and 7. Here, the indices range from «1, 1, 1» through «2, 5, 7»; thus the tensor would have one value at «1, 1, 1», another at «1, 1, 2», and so on for a total of 70 values. As a special case, (finite-dimensional) vectors may be expressed as a sequence of values represented by a function with a scalar valued domain and a scalar valued range; the number of distinct indices is the dimension of the vector. Using this approach, the third-order tensor of dimension (2,5,7) can be represented as a 3-dimensional array of size 2 × 5 × 7. In this usage, the number of "dimensions" comprising the array is equivalent to the "order" of the tensor, and the dimensions of the tensor are equivalent to the "size" of each array dimension.

Tensor rank

In mathematics, the term rank of a tensor may mean either of two things, and it is not always clear from the context which.

In the first definition, the rank of a tensor T is the number of indices required to write down the components of T. Under this definition a tensor of rank 0 is a scalar, a tensor of rank 1 is a vector, and a tensor of rank 2 is a matrix. This is the sum of the number of covariant and contravariant indices. Expressed by means of the tensor product of multilinear algebra, this is the number of factors of the tensor product needed to express T.

In the second definition, the rank of a tensor is defined in a way that extends the definition of the rank of a matrix given in linear algebra. A tensor of rank 1 (also called a simple tensor) is a tensor that can be written as a tensor product of the form

where a, b,...,d are in V or V*. That is, if the tensor is completely factorizable. In indices, a tensor of rank 1 is a tensor of the form

Every tensor can be expressed as a linear combination of rank 1 tensors. In general, the rank of T is the minimum number of rank 1 tensors with which it is possible to express T as a linear combination.

For example, a tensor with 2 indices is a matrix, and so has rank 2 in the first definition. On the other hand, the rank of the tensor in the second definition is just the rank of the matrix. This latter meaning is possibly the intended one, whenever the array of components is two-dimensional.

To avoid this ambiguity, it is now preferred to use the terminology of tensor order to denote the number of indices, and tensor rank to designate the number of simple tensors necessary to decompose a tensor. Hence the definition of rank is now used in a way that is consistent with Linear Algebra.

The rank of an order 1 tensor is always 1 (or 0, in the case of the zero tensor). The rank of an order 2 tensor is easy to determine, e.g. using Gaussian elimination. The rank of an order 3 or higher tensor is however often very hard to determine, and low rank decompositions of tensors are sometimes of great practical interest.[4]

Tensor valence

In physical applications, array indices are distinguished by being contravariant (superscripts) or covariant (subscripts), depending upon the type of transformation properties. The valence of a particular tensor is the number and type of array indices; tensors with the same tensor order but different valence are not, in general, identical. However, any given covariant index can be transformed into a contravariant one, and vice versa, by applying the metric tensor. This operation is generally known as raising or lowering indices.

Einstein notation

Einstein notation is a convention for writing tensors that dispenses with writing summation signs. It relies on the idea that any repeated index is summed over: if the index i is used twice in a given term of a tensor expression, it means that the values are to be summed over i. Several distinct pairs of indices may be summed this way.

Applications

Tensors are important in physics and engineering. In the field of diffusion tensor imaging, for instance, a tensor quantity that expresses the differential permeability of organs to water in varying directions is used to produce scans of the brain; in this technique tensors are in effect made visible.

In Physics

Perhaps the most important examples are provided by continuum mechanics. The stresses inside a solid body or fluid are described by a tensor. The stress tensor and strain tensor are both 2nd order tensors, and are related in a general linear elastic material by a fourth-order elasticity tensor. In detail, the 2nd order tensor quantifying stress in a 3-dimensional solid object has components which can be conveniently represented as a 3x3 array. The three Cartesian 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 (being in three-space). Thus, 3x3, or 9 components are required to describe the stress at this cube-shaped infinitesimal segment (which may now be treated as a point). Within the bounds of this solid is a whole mass of varying stress quantities, each requiring 9 quantities to describe. Thus, a 2nd order tensor is needed.

If a particular 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 (2,0), in linear elasticity, or more precisely by a tensor field of type (2,0) since the stresses may change from point to point.

Other examples from Physics

The field of nonlinear optics studies the changes to material 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 in the subject.

Tensor densities

It is also possible for a tensor field to have a "density". A tensor with density r transforms as an ordinary tensor under coordinate transformations, except that it is also multiplied by the determinant of the Jacobian to the rth power. Invariantly, in the language of multilinear algebra, one can think of tensor densities as multilinear maps taking their values in the (1-dimensional) space of n-forms (where n is the dimension of the space), as opposed to taking their values in just R. Higher "weights" then just correspond to taking additional tensor products with this space in the range. In the language of vector bundles, the determinant bundle of the tangent bundle is a line bundle that can be used to 'twist' other bundles r times.

See also

Exposition

Notation

Foundational

Applications

Tensor software

  • FTensor is a high performance tensor library written in C++.
  • GRTensorII is a computer algebra package for performing calculations in the general area of differential geometry. GRTensor II is not a stand alone package, the program runs with all versions of Maple V Release 3 through Maple 9.5. A limited version (GRTensorM) has been ported to Mathematica.
  • MathTensor is a tensor analysis system written for the Mathematica system. It provides more than 250 functions and objects for elementary and advanced users.
  • Tensors in Physics is a tensor package written for the Mathematica system. It provides many functions relevant for General Relativity calculations in general Riemann-Cartan geometries.
  • Maxima is a free open source computer algebra system which can be used for tensor algebra calculations - it is particularly useful for calculations with abstract tensors (i.e. when one wishes to do calculations without defining all components of the tensor explicitly). It comes with three tensor packages: itensor for abstract (indicial) tensor manipulation, ctensor for component-defined tensors, and atensor for algebraic tensor manipulation.
  • Ricci is a system for Mathematica 2.x and later for doing basic tensor analysis, available for free.
  • Tela is a software package similar to Matlab and Octave, but designed specifically for tensors.
  • Tensor Toolbox Multilinear algebra MATLAB software.
  • TTC Tools of Tensor Calculus is a Mathematica package for doing tensor and exterior calculus on differentiable manifolds.
  • EDC and RGTC "Exterior Differential Calculus" and "Riemannian Geometry & Tensor Calculus" are free Mathematica packages for tensor calculus especially designed but not only for general relativity.
  • Tensorial "Tensorial 4.0" is a general purpose tensor calculus package for Mathematica. Already a mature package, Tensorial was successfully applied in a broad range of fields including general relativity, continuum mechanics. A PDF image can be found at this web address .
  • Cadabra "Cadabra" is a computer algebra system (CAS) designed specifically for the solution of problems encountered in field theory. It has extensive functionality for tensor polynomial simplification including multi-term symmetries, fermions and anti-commuting variables, Clifford algebras and Fierz transformations, implicit coordinate dependence, multiple index types and many more. The input format is a subset of TeX. Both a command-line and a graphical interface are available.
  • TL is a multi-threaded tensor library implemented in C++ used in Dynare++. The library allows for folded/unfolded, dense/sparse tensor representations, general ranks (symmetries). The library implements Faa Di Bruno formula and is adaptive to available memory. Dynare++ is a standalone package solving higher order Taylor approximations to equilibria of non-linear stochastic models with rational expectations.
  • Spartns is a Sparse Tensor framework for Common Lisp.
  • xAct: Efficient Tensor Computer Algebra for Mathematica. xAct is a collection of packages for fast manipulation of tensor expressions, based on efficient algorithms of Computational Group Theory. xAct performs both abstract and component computations together, and contains special packages for high-order metric perturbation theory, invariants of the Riemann tensor, spinors, and more. Modelled on the current geometric approach to General Relativity, xAct has been already used to solve several hard problems, like that of the relations among the differential scalars of the Riemann tensor.

Notes

  1. ^ William Rowan Hamilton, On some Extensions of Quaternions
  2. ^ Woldemar Voigt, Die fundamentalen physikalischen Eigenschaften der Krystalle in elementarer Darstellung (Leipzig, 1898)
  3. ^ Abraham Pais, Subtle is the Lord: The Science and the Life of Albert Einstein
  4. ^ de Groote, H. F. (1987). Lectures on the Complexity of Bilinear Problems. Lecture Notes in Computer Science. Vol. 245. Springer. ISBN 3-540-17205-X.

References

External links