This is an old revision of this page, as edited by Cis-diamminedichloroplatinum (II) (talk | contribs) at 07:47, 17 August 2023 (Merged content from Tensor calculus to here.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 07:47, 17 August 2023 by Cis-diamminedichloroplatinum (II) (talk | contribs) (Merged content from Tensor calculus to here.)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) Tensor index notation for tensor-based calculations "Tensor index notation" redirects here. For a summary of tensors in general, see Glossary of tensor theory.In mathematics, Ricci calculus constitutes the rules of index notation and manipulation for tensors and tensor fields on a differentiable manifold, with or without a metric tensor or connection. It is also the modern name for what used to be called the absolute differential calculus (the foundation of tensor calculus), developed by Gregorio Ricci-Curbastro in 1887–1896, and subsequently popularized in a paper written with his pupil Tullio Levi-Civita in 1900. Jan Arnoldus Schouten developed the modern notation and formalism for this mathematical framework, and made contributions to the theory, during its applications to general relativity and differential geometry in the early twentieth century.
A component of a tensor is a real number that is used as a coefficient of a basis element for the tensor space. The tensor is the sum of its components multiplied by their corresponding basis elements. Tensors and tensor fields can be expressed in terms of their components, and operations on tensors and tensor fields can be expressed in terms of operations on their components. The description of tensor fields and operations on them in terms of their components is the focus of the Ricci calculus. This notation allows an efficient expression of such tensor fields and operations. While much of the notation may be applied with any tensors, operations relating to a differential structure are only applicable to tensor fields. Where needed, the notation extends to components of non-tensors, particularly multidimensional arrays.
A tensor may be expressed as a linear sum of the tensor product of vector and covector basis elements. The resulting tensor components are labelled by indices of the basis. Each index has one possible value per dimension of the underlying vector space. The number of indices equals the degree (or order) of the tensor.
For compactness and convenience, the Ricci calculus incorporates Einstein notation, which implies summation over indices repeated within a term and universal quantification over free indices. Expressions in the notation of the Ricci calculus may generally be interpreted as a set of simultaneous equations relating the components as functions over a manifold, usually more specifically as functions of the coordinates on the manifold. This allows intuitive manipulation of expressions with familiarity of only a limited set of rules.
Notation for indices
See also: Index notationBasis-related distinctions
Space and time coordinates
Where a distinction is to be made between the space-like basis elements and a time-like element in the four-dimensional spacetime of classical physics, this is conventionally done through indices as follows:
- The lowercase Latin alphabet a, b, c, ... is used to indicate restriction to 3-dimensional Euclidean space, which take values 1, 2, 3 for the spatial components; and the time-like element, indicated by 0, is shown separately.
- The lowercase Greek alphabet α, β, γ, ... is used for 4-dimensional spacetime, which typically take values 0 for time components and 1, 2, 3 for the spatial components.
Some sources use 4 instead of 0 as the index value corresponding to time; in this article, 0 is used. Otherwise, in general mathematical contexts, any symbols can be used for the indices, generally running over all dimensions of the vector space.
Coordinate and index notation
The author(s) will usually make it clear whether a subscript is intended as an index or as a label.
For example, in 3-D Euclidean space and using Cartesian coordinates; the coordinate vector A = (A1, A2, A3) = (Ax, Ay, Az) shows a direct correspondence between the subscripts 1, 2, 3 and the labels x, y, z. In the expression Ai, i is interpreted as an index ranging over the values 1, 2, 3, while the x, y, z subscripts are only labels, not variables. In the context of spacetime, the index value 0 conventionally corresponds to the label t.
Reference to basis
Indices themselves may be labelled using diacritic-like symbols, such as a hat (ˆ), bar (¯), tilde (˜), or prime (′) as in:
to denote a possibly different basis for that index. An example is in Lorentz transformations from one frame of reference to another, where one frame could be unprimed and the other primed, as in:
This is not to be confused with van der Waerden notation for spinors, which uses hats and overdots on indices to reflect the chirality of a spinor.
Upper and lower indices
Ricci calculus, and index notation more generally, distinguishes between lower indices (subscripts) and upper indices (superscripts); the latter are not exponents, even though they may look as such to the reader only familiar with other parts of mathematics.
In the special case that the metric tensor is everywhere equal to the identity matrix, it is possible to drop the distinction between upper and lower indices, and then all indices could be written in the lower position. Coordinate formulae in linear algebra such as for the product of matrices may be examples of this. But in general, the distinction between upper and lower indices should be maintained.
Covariant tensor components
A lower index (subscript) indicates covariance of the components with respect to that index:
Contravariant tensor components
An upper index (superscript) indicates contravariance of the components with respect to that index:
Mixed-variance tensor components
A tensor may have both upper and lower indices:
Ordering of indices is significant, even when of differing variance. However, when it is understood that no indices will be raised or lowered while retaining the base symbol, covariant indices are sometimes placed below contravariant indices for notational convenience (e.g. with the generalized Kronecker delta).
Tensor type and degree
The number of each upper and lower indices of a tensor gives its type: a tensor with p upper and q lower indices is said to be of type (p, q), or to be a type-(p, q) tensor.
The number of indices of a tensor, regardless of variance, is called the degree of the tensor (alternatively, its valence, order or rank, although rank is ambiguous). Thus, a tensor of type (p, q) has degree p + q.
Summation convention
The same symbol occurring twice (one upper and one lower) within a term indicates a pair of indices that are summed over:
The operation implied by such a summation is called tensor contraction:
This summation may occur more than once within a term with a distinct symbol per pair of indices, for example:
Other combinations of repeated indices within a term are considered to be ill-formed, such as
(both occurrences of are lower; would be fine) ( occurs twice as a lower index; or would be fine).
The reason for excluding such formulae is that although these quantities could be computed as arrays of numbers, they would not in general transform as tensors under a change of basis.
Multi-index notation
If a tensor has a list of all upper or lower indices, one shorthand is to use a capital letter for the list:
where I = i1 i2 ⋅⋅⋅ in and J = j1 j2 ⋅⋅⋅ jm.
Sequential summation
A pair of vertical bars | ⋅ | around a set of all-upper indices or all-lower indices (but not both), associated with contraction with another set of indices when the expression is completely antisymmetric in each of the two sets of indices:
means a restricted sum over index values, where each index is constrained to being strictly less than the next. More than one group can be summed in this way, for example:
When using multi-index notation, an underarrow is placed underneath the block of indices:
where
Raising and lowering indices
By contracting an index with a non-singular metric tensor, the type of a tensor can be changed, converting a lower index to an upper index or vice versa:
The base symbol in many cases is retained (e.g. using A where B appears here), and when there is no ambiguity, repositioning an index may be taken to imply this operation.
Correlations between index positions and invariance
This table summarizes how the manipulation of covariant and contravariant indices fit in with invariance under a passive transformation between bases, with the components of each basis set in terms of the other reflected in the first column. The barred indices refer to the final coordinate system after the transformation.
The Kronecker delta is used, see also below.
Basis transformation Component transformation Invariance Covector, covariant vector, 1-form Vector, contravariant vector
General outlines for index notation and operations
Tensors are equal if and only if every corresponding component is equal; e.g., tensor A equals tensor B if and only if
for all α, β, γ. Consequently, there are facets of the notation that are useful in checking that an equation makes sense (an analogous procedure to dimensional analysis).
Free and dummy indices
Indices not involved in contractions are called free indices. Indices used in contractions are termed dummy indices, or summation indices.
A tensor equation represents many ordinary (real-valued) equations
The components of tensors (like A, Bβ etc.) are just real numbers. Since the indices take various integer values to select specific components of the tensors, a single tensor equation represents many ordinary equations. If a tensor equality has n free indices, and if the dimensionality of the underlying vector space is m, the equality represents m equations: each index takes on every value of a specific set of values.
For instance, if
is in four dimensions (that is, each index runs from 0 to 3 or from 1 to 4), then because there are three free indices (α, β, δ), there are 4 = 64 equations. Three of these are:
This illustrates the compactness and efficiency of using index notation: many equations which all share a similar structure can be collected into one simple tensor equation.
Indices are replaceable labels
Replacing any index symbol throughout by another leaves the tensor equation unchanged (provided there is no conflict with other symbols already used). This can be useful when manipulating indices, such as using index notation to verify vector calculus identities or identities of the Kronecker delta and Levi-Civita symbol (see also below). An example of a correct change is:
whereas an erroneous change is:
In the first replacement, λ replaced α and μ replaced γ everywhere, so the expression still has the same meaning. In the second, λ did not fully replace α, and μ did not fully replace γ (incidentally, the contraction on the γ index became a tensor product), which is entirely inconsistent for reasons shown next.
Indices are the same in every term
The free indices in a tensor expression always appear in the same (upper or lower) position throughout every term, and in a tensor equation the free indices are the same on each side. Dummy indices (which implies a summation over that index) need not be the same, for example:
as for an erroneous expression:
In other words, non-repeated indices must be of the same type in every term of the equation. In the above identity, α, β, δ line up throughout and γ occurs twice in one term due to a contraction (once as an upper index and once as a lower index), and thus it is a valid expression. In the invalid expression, while β lines up, α and δ do not, and γ appears twice in one term (contraction) and once in another term, which is inconsistent.
Brackets and punctuation used once where implied
When applying a rule to a number of indices (differentiation, symmetrization etc., shown next), the bracket or punctuation symbols denoting the rules are only shown on one group of the indices to which they apply.
If the brackets enclose covariant indices – the rule applies only to all covariant indices enclosed in the brackets, not to any contravariant indices which happen to be placed intermediately between the brackets.
Similarly if brackets enclose contravariant indices – the rule applies only to all enclosed contravariant indices, not to intermediately placed covariant indices.
Symmetric and antisymmetric parts
Symmetric part of tensor
Parentheses, ( ), around multiple indices denotes the symmetrized part of the tensor. When symmetrizing p indices using σ to range over permutations of the numbers 1 to p, one takes a sum over the permutations of those indices ασ(i) for i = 1, 2, 3, …, p, and then divides by the number of permutations:
For example, two symmetrizing indices mean there are two indices to permute and sum over:
while for three symmetrizing indices, there are three indices to sum over and permute:
The symmetrization is distributive over addition;
Indices are not part of the symmetrization when they are:
- not on the same level, for example;
- within the parentheses and between vertical bars (i.e. |⋅⋅⋅|), modifying the previous example;
Here the α and γ indices are symmetrized, β is not.
Antisymmetric or alternating part of tensor
Square brackets, , around multiple indices denotes the antisymmetrized part of the tensor. For p antisymmetrizing indices – the sum over the permutations of those indices ασ(i) multiplied by the signature of the permutation sgn(σ) is taken, then divided by the number of permutations:
where δ
α1⋅⋅⋅αp is the generalized Kronecker delta of degree 2p, with scaling as defined below.
For example, two antisymmetrizing indices imply:
while three antisymmetrizing indices imply:
as for a more specific example, if F represents the electromagnetic tensor, then the equation
represents Gauss's law for magnetism and Faraday's law of induction.
As before, the antisymmetrization is distributive over addition;
As with symmetrization, indices are not antisymmetrized when they are:
- not on the same level, for example;
- within the square brackets and between vertical bars (i.e. |⋅⋅⋅|), modifying the previous example;
Here the α and γ indices are antisymmetrized, β is not.
Sum of symmetric and antisymmetric parts
Any tensor can be written as the sum of its symmetric and antisymmetric parts on two indices:
as can be seen by adding the above expressions for A(αβ)γ⋅⋅⋅ and Aγ⋅⋅⋅. This does not hold for other than two indices.
Differentiation
See also: Four-gradient, d'Alembertian, and Intrinsic derivativeFor compactness, derivatives may be indicated by adding indices after a comma or semicolon.
Partial derivative
While most of the expressions of the Ricci calculus are valid for arbitrary bases, the expressions involving partial derivatives of tensor components with respect to coordinates apply only with a coordinate basis: a basis that is defined through differentiation with respect to the coordinates. Coordinates are typically denoted by x, but do not in general form the components of a vector. In flat spacetime with linear coordinatization, a tuple of differences in coordinates, Δx, can be treated as a contravariant vector. With the same constraints on the space and on the choice of coordinate system, the partial derivatives with respect to the coordinates yield a result that is effectively covariant. Aside from use in this special case, the partial derivatives of components of tensors do not in general transform covariantly, but are useful in building expressions that are covariant, albeit still with a coordinate basis if the partial derivatives are explicitly used, as with the covariant, exterior and Lie derivatives below.
To indicate partial differentiation of the components of a tensor field with respect to a coordinate variable x, a comma is placed before an appended lower index of the coordinate variable.
This may be repeated (without adding further commas):
These components do not transform covariantly, unless the expression being differentiated is a scalar. This derivative is characterized by the product rule and the derivatives of the coordinates
where δ is the Kronecker delta.
Covariant derivative
The covariant derivative is only defined if a connection is defined. For any tensor field, a semicolon ( ; ) placed before an appended lower (covariant) index indicates covariant differentiation. Less common alternatives to the semicolon include a forward slash ( / ) or in three-dimensional curved space a single vertical bar ( | ).
The covariant derivative of a scalar function, a contravariant vector and a covariant vector are:
where Γγβ are the connection coefficients.
For an arbitrary tensor:
An alternative notation for the covariant derivative of any tensor is the subscripted nabla symbol ∇β. For the case of a vector field A:
The covariant formulation of the directional derivative of any tensor field along a vector v may be expressed as its contraction with the covariant derivative, e.g.:
The components of this derivative of a tensor field transform covariantly, and hence form another tensor field, despite subexpressions (the partial derivative and the connection coefficients) separately not transforming covariantly.
This derivative is characterized by the product rule:
Connection types
A Koszul connection on the tangent bundle of a differentiable manifold is called an affine connection.
A connection is a metric connection when the covariant derivative of the metric tensor vanishes:
An affine connection that is also a metric connection is called a Riemannian connection. A Riemannian connection that is torsion-free (i.e., for which the torsion tensor vanishes: Tβγ = 0) is a Levi-Civita connection.
The Γβγ for a Levi-Civita connection in a coordinate basis are called Christoffel symbols of the second kind.
Exterior derivative
The exterior derivative of a totally antisymmetric type (0, s) tensor field with components Aα1⋅⋅⋅αs (also called a differential form) is a derivative that is covariant under basis transformations. It does not depend on either a metric tensor or a connection: it requires only the structure of a differentiable manifold. In a coordinate basis, it may be expressed as the antisymmetrization of the partial derivatives of the tensor components:
This derivative is not defined on any tensor field with contravariant indices or that is not totally antisymmetric. It is characterized by a graded product rule.
Lie derivative
The Lie derivative is another derivative that is covariant under basis transformations. Like the exterior derivative, it does not depend on either a metric tensor or a connection. The Lie derivative of a type (r, s) tensor field T along (the flow of) a contravariant vector field X may be expressed using a coordinate basis as
This derivative is characterized by the product rule and the fact that the Lie derivative of a contravariant vector field along itself is zero:
Notable tensors
Kronecker delta
The Kronecker delta is like the identity matrix when multiplied and contracted:
The components δ
β are the same in any basis and form an invariant tensor of type (1, 1), i.e. the identity of the tangent bundle over the identity mapping of the base manifold, and so its trace is an invariant.
Its trace is the dimensionality of the space; for example, in four-dimensional spacetime,
The Kronecker delta is one of the family of generalized Kronecker deltas. The generalized Kronecker delta of degree 2p may be defined in terms of the Kronecker delta by (a common definition includes an additional multiplier of p! on the right):
and acts as an antisymmetrizer on p indices:
Torsion tensor
An affine connection has a torsion tensor Tβγ:
where γβγ are given by the components of the Lie bracket of the local basis, which vanish when it is a coordinate basis.
For a Levi-Civita connection this tensor is defined to be zero, which for a coordinate basis gives the equations
Riemann curvature tensor
If this tensor is defined as
then it is the commutator of the covariant derivative with itself:
since the connection is torsionless, which means that the torsion tensor vanishes.
This can be generalized to get the commutator for two covariant derivatives of an arbitrary tensor as follows:
which are often referred to as the Ricci identities.
Metric tensor
The metric tensor gαβ is used for lowering indices and gives the length of any space-like curve
where γ is any smooth strictly monotone parameterization of the path. It also gives the duration of any time-like curve
where γ is any smooth strictly monotone parameterization of the trajectory. See also Line element.
The inverse matrix g of the metric tensor is another important tensor, used for raising indices:
Part of a series of articles about | ||||||
Calculus | ||||||
---|---|---|---|---|---|---|
Differential
|
||||||
Integral
|
||||||
Series
|
||||||
Vector
|
||||||
Multivariable
|
||||||
Advanced |
||||||
Specialized | ||||||
Miscellanea | ||||||
It has been suggested that this article be merged into Ricci calculus. (Discuss) Proposed since June 2023. |
In mathematics, tensor calculus, tensor analysis, or Ricci calculus is an extension of vector calculus to tensor fields (tensors that may vary over a manifold, e.g. in spacetime).
Developed by Gregorio Ricci-Curbastro and his student Tullio Levi-Civita, it was used by Albert Einstein to develop his general theory of relativity. Unlike the infinitesimal calculus, tensor calculus allows presentation of physics equations in a form that is independent of the choice of coordinates on the manifold.
Tensor calculus
Tensor calculus has many applications in physics, engineering and computer science including elasticity, continuum mechanics, electromagnetism (see mathematical descriptions of the electromagnetic field), general relativity (see mathematics of general relativity), quantum field theory, and machine learning.
Working with a main proponent of the exterior calculus Elie Cartan, the influential geometer Shiing-Shen Chern summarizes the role of tensor calculus:
In our subject of differential geometry, where you talk about manifolds, one difficulty is that the geometry is described by coordinates, but the coordinates do not have meaning. They are allowed to undergo transformation. And in order to handle this kind of situation, an important tool is the so-called tensor analysis, or Ricci calculus, which was new to mathematicians. In mathematics you have a function, you write down the function, you calculate, or you add, or you multiply, or you can differentiate. You have something very concrete. In geometry the geometric situation is described by numbers, but you can change your numbers arbitrarily. So to handle this, you need the Ricci calculus.
Syntax
Tensor notation makes use of upper and lower indexes on objects that are used to label a variable object as covariant (lower index), contravariant (upper index), or mixed covariant and contravariant (having both upper and lower indexes). In fact in conventional math syntax we make use of covariant indexes when dealing with Cartesian coordinate systems frequently without realizing this is a limited use of tensor syntax as covariant indexed components.
Tensor notation allows upper index on an object that may be confused with normal power operations from conventional math syntax.
Key concepts
Vector decomposition
Tensors notation allows a vector () to be decomposed into an Einstein summation representing the tensor contraction of a basis vector ( or ) with a component vector ( or ).
Every vector has two different representations, one referred to as contravariant component () with a covariant basis (), and the other as a covariant component () with a contravariant basis (). Tensor objects with all upper indexes are referred to as contravariant, and tensor objects with all lower indexes are referred to as covariant. The need to distinguish between contravariant and covariant arises from the fact that when we dot an arbitrary vector with its basis vector related to a particular coordinate system, there are two ways of interpreting this dot product, either we view it as the projection of the basis vector onto the arbitrary vector, or we view it as the projection of the arbitrary vector onto the basis vector, both views of the dot product are entirely equivalent, but have different component elements and different basis vectors: For example, in physics you start with a vector field, you decompose it with respect to the covariant basis, and that's how you get the contravariant coordinates. For orthonormal cartesian coordinates, the covariant and contravariant basis are identical, since the basis set in this case is just the identity matrix, however, for non-affine coordinate system such as polar or spherical there is a need to distinguish between decomposition by use of contravariant or covariant basis set for generating the components of the coordinate system.
Covariant vector decomposition
variable | description | Type |
---|---|---|
vector | invariant | |
contravariant components (ordered set of scalars) | variant | |
covariant bases (ordered set of vectors) | variant |
Contravariant vector decomposition
variable | description | type |
---|---|---|
vector | invariant | |
covariant components (ordered set of scalars) | variant | |
contravariant bases (ordered set of covectors) | variant |
Metric tensor
The metric tensor represents a matrix with scalar elements ( or ) and is a tensor object which is used to raise or lower the index on another tensor object by an operation called contraction, thus allowing a covariant tensor to be converted to a contravariant tensor, and vice versa.
Example of lowering index using metric tensor:
Example of raising index using metric tensor:
The metric tensor is defined as:
This means that if we take every permutation of a basis vector set and dotted them against each other, and then arrange them into a square matrix, we would have a metric tensor. The caveat here is which of the two vectors in the permutation is used for projection against the other vector, that is the distinguishing property of the covariant metric tensor in comparison with the contravariant metric tensor.
Two flavors of metric tensors exist: (1) the contravariant metric tensor (), and (2) the covariant metric tensor (). These two flavors of metric tensor are related by the identity:
For an orthonormal Cartesian coordinate system, the metric tensor is just the kronecker delta or , which is just a tensor equivalent of the identity matrix, and .
Jacobian
In addition a tensor can be readily converted from an unbarred() to a barred coordinate() system having different sets of basis vectors:by use of Jacobian matrix relationships between the barred and unbarred coordinate system (). The Jacobian between the barred and unbarred system is instrumental in defining the covariant and contravariant basis vectors, in that in order for these vectors to exist they need to satisfy the following relationship relative to the barred and unbarred system:
Contravariant vectors are required to obey the laws:
Covariant vectors are required to obey the laws:
There are two flavors of Jacobian matrix:
1. The J matrix representing the change from unbarred to barred coordinates. To find J, we take the "barred gradient", i.e. partial derive with respect to :
2. The matrix, representing the change from barred to unbarred coordinates. To find , we take the "unbarred gradient", i.e. partial derive with respect to :
Gradient vector
Tensor calculus provides a generalization to the gradient vector formula from standard calculus that works in all coordinate systems:
Where:
In contrast, for standard calculus, the gradient vector formula is dependent on the coordinate system in use (example: Cartesian gradient vector formula vs. the polar gradient vector formula vs. the spherical gradient vector formula, etc.). In standard calculus, each coordinate system has its own specific formula, unlike tensor calculus that has only one gradient formula that is equivalent for all coordinate systems. This is made possible by an understanding of the metric tensor that tensor calculus makes use of.
Tensor calculus
Extension of vector calculus to tensorsPart of a series of articles about | ||||||
Calculus | ||||||
---|---|---|---|---|---|---|
Differential
|
||||||
Integral
|
||||||
Series
|
||||||
Vector
|
||||||
Multivariable
|
||||||
Advanced |
||||||
Specialized | ||||||
Miscellanea | ||||||
It has been suggested that this article be merged into Ricci calculus. (Discuss) Proposed since June 2023. |
In mathematics, tensor calculus, tensor analysis, or Ricci calculus is an extension of vector calculus to tensor fields (tensors that may vary over a manifold, e.g. in spacetime).
Developed by Gregorio Ricci-Curbastro and his student Tullio Levi-Civita, it was used by Albert Einstein to develop his general theory of relativity. Unlike the infinitesimal calculus, tensor calculus allows presentation of physics equations in a form that is independent of the choice of coordinates on the manifold.
Tensor calculus has many applications in physics, engineering and computer science including elasticity, continuum mechanics, electromagnetism (see mathematical descriptions of the electromagnetic field), general relativity (see mathematics of general relativity), quantum field theory, and machine learning.
Working with a main proponent of the exterior calculus Elie Cartan, the influential geometer Shiing-Shen Chern summarizes the role of tensor calculus:
In our subject of differential geometry, where you talk about manifolds, one difficulty is that the geometry is described by coordinates, but the coordinates do not have meaning. They are allowed to undergo transformation. And in order to handle this kind of situation, an important tool is the so-called tensor analysis, or Ricci calculus, which was new to mathematicians. In mathematics you have a function, you write down the function, you calculate, or you add, or you multiply, or you can differentiate. You have something very concrete. In geometry the geometric situation is described by numbers, but you can change your numbers arbitrarily. So to handle this, you need the Ricci calculus.
Syntax
Tensor notation makes use of upper and lower indexes on objects that are used to label a variable object as covariant (lower index), contravariant (upper index), or mixed covariant and contravariant (having both upper and lower indexes). In fact in conventional math syntax we make use of covariant indexes when dealing with Cartesian coordinate systems frequently without realizing this is a limited use of tensor syntax as covariant indexed components.
Tensor notation allows upper index on an object that may be confused with normal power operations from conventional math syntax.
Key concepts
Vector decomposition
Tensors notation allows a vector () to be decomposed into an Einstein summation representing the tensor contraction of a basis vector ( or ) with a component vector ( or ).
Every vector has two different representations, one referred to as contravariant component () with a covariant basis (), and the other as a covariant component () with a contravariant basis (). Tensor objects with all upper indexes are referred to as contravariant, and tensor objects with all lower indexes are referred to as covariant. The need to distinguish between contravariant and covariant arises from the fact that when we dot an arbitrary vector with its basis vector related to a particular coordinate system, there are two ways of interpreting this dot product, either we view it as the projection of the basis vector onto the arbitrary vector, or we view it as the projection of the arbitrary vector onto the basis vector, both views of the dot product are entirely equivalent, but have different component elements and different basis vectors:
For example, in physics you start with a vector field, you decompose it with respect to the covariant basis, and that's how you get the contravariant coordinates. For orthonormal cartesian coordinates, the covariant and contravariant basis are identical, since the basis set in this case is just the identity matrix, however, for non-affine coordinate system such as polar or spherical there is a need to distinguish between decomposition by use of contravariant or covariant basis set for generating the components of the coordinate system.
Covariant vector decomposition
variable | description | Type |
---|---|---|
vector | invariant | |
contravariant components (ordered set of scalars) | variant | |
covariant bases (ordered set of vectors) | variant |
Contravariant vector decomposition
variable | description | type |
---|---|---|
vector | invariant | |
covariant components (ordered set of scalars) | variant | |
contravariant bases (ordered set of covectors) | variant |
Metric tensor
The metric tensor represents a matrix with scalar elements ( or ) and is a tensor object which is used to raise or lower the index on another tensor object by an operation called contraction, thus allowing a covariant tensor to be converted to a contravariant tensor, and vice versa.
Example of lowering index using metric tensor:
Example of raising index using metric tensor:
The metric tensor is defined as:
This means that if we take every permutation of a basis vector set and dotted them against each other, and then arrange them into a square matrix, we would have a metric tensor. The caveat here is which of the two vectors in the permutation is used for projection against the other vector, that is the distinguishing property of the covariant metric tensor in comparison with the contravariant metric tensor.
Two flavors of metric tensors exist: (1) the contravariant metric tensor (), and (2) the covariant metric tensor (). These two flavors of metric tensor are related by the identity:
For an orthonormal Cartesian coordinate system, the metric tensor is just the kronecker delta or , which is just a tensor equivalent of the identity matrix, and .
Jacobian
In addition a tensor can be readily converted from an unbarred() to a barred coordinate() system having different sets of basis vectors:
by use of Jacobian matrix relationships between the barred and unbarred coordinate system (). The Jacobian between the barred and unbarred system is instrumental in defining the covariant and contravariant basis vectors, in that in order for these vectors to exist they need to satisfy the following relationship relative to the barred and unbarred system:
Contravariant vectors are required to obey the laws:
Covariant vectors are required to obey the laws:
There are two flavors of Jacobian matrix:
1. The J matrix representing the change from unbarred to barred coordinates. To find J, we take the "barred gradient", i.e. partial derive with respect to :
2. The matrix, representing the change from barred to unbarred coordinates. To find , we take the "unbarred gradient", i.e. partial derive with respect to :
Gradient vector
Tensor calculus provides a generalization to the gradient vector formula from standard calculus that works in all coordinate systems:
Where:
In contrast, for standard calculus, the gradient vector formula is dependent on the coordinate system in use (example: Cartesian gradient vector formula vs. the polar gradient vector formula vs. the spherical gradient vector formula, etc.). In standard calculus, each coordinate system has its own specific formula, unlike tensor calculus that has only one gradient formula that is equivalent for all coordinate systems. This is made possible by an understanding of the metric tensor that tensor calculus makes use of.
Differentiable computing | |
---|---|
General | |
Hardware | |
Software libraries | |
Tensors | |||||
---|---|---|---|---|---|
Glossary of tensor theory | |||||
Scope |
| ||||
Notation | |||||
Tensor definitions | |||||
Operations | |||||
Related abstractions | |||||
Notable tensors |
| ||||
Mathematicians |
Calculus | |||||
---|---|---|---|---|---|
Precalculus | |||||
Limits | |||||
Differential calculus |
| ||||
Integral calculus | |||||
Vector calculus |
| ||||
Multivariable calculus | |||||
Sequences and series |
| ||||
Special functions and numbers | |||||
History of calculus | |||||
Lists |
| ||||
Miscellaneous topics |
|
Major topics in mathematical analysis | |
---|---|
Mathematics portal |
See also
- Vector analysis
- Matrix calculus
- Ricci calculus
- Curvilinear coordinates
- Multilinear subspace learning
- Multilinear algebra
- Differential geometry
References
- "Interview with Shiing Shen Chern" (PDF). Notices of the AMS. 45 (7): 860–5. August 1998.
- J.A. Wheeler; C. Misner; K.S. Thorne (1973). Gravitation. W.H. Freeman & Co. pp. 85–86, §3.5. ISBN 0-7167-0344-0.
- R. Penrose (2007). The Road to Reality. Vintage books. ISBN 978-0-679-77631-4.
- Ricci, Gregorio; Levi-Civita, Tullio (March 1900). "Méthodes de calcul différentiel absolu et leurs applications" [Methods of the absolute differential calculus and their applications]. Mathematische Annalen (in French). 54 (1–2). Springer: 125–201. doi:10.1007/BF01454201. S2CID 120009332. Retrieved 19 October 2019.
- Schouten, Jan A. (1924). R. Courant (ed.). Der Ricci-Kalkül – Eine Einführung in die neueren Methoden und Probleme der mehrdimensionalen Differentialgeometrie (Ricci Calculus – An introduction in the latest methods and problems in multi-dimensional differential geometry). Grundlehren der mathematischen Wissenschaften (in German). Vol. 10. Berlin: Springer Verlag.
- C. Møller (1952), The Theory of Relativity, p. 234 is an example of a variation: 'Greek indices run from 1 to 3, Latin indices from 1 to 4'
- T. Frankel (2012), The Geometry of Physics (3rd ed.), Cambridge University Press, p. 67, ISBN 978-1107-602601
- J.A. Wheeler; C. Misner; K.S. Thorne (1973). Gravitation. W.H. Freeman & Co. p. 91. ISBN 0-7167-0344-0.
- T. Frankel (2012), The Geometry of Physics (3rd ed.), Cambridge University Press, p. 67, ISBN 978-1107-602601
- J.A. Wheeler; C. Misner; K.S. Thorne (1973). Gravitation. W.H. Freeman & Co. pp. 61, 202–203, 232. ISBN 0-7167-0344-0.
- G. Woan (2010). The Cambridge Handbook of Physics Formulas. Cambridge University Press. ISBN 978-0-521-57507-2.
- Covariant derivative – Mathworld, Wolfram
- T. Frankel (2012), The Geometry of Physics (3rd ed.), Cambridge University Press, p. 298, ISBN 978-1107-602601
- J.A. Wheeler; C. Misner; K.S. Thorne (1973). Gravitation. W.H. Freeman & Co. pp. 510, §21.5. ISBN 0-7167-0344-0.
- T. Frankel (2012), The Geometry of Physics (3rd ed.), Cambridge University Press, p. 299, ISBN 978-1107-602601
- D. McMahon (2006). Relativity. Demystified. McGraw Hill. p. 67. ISBN 0-07-145545-0.
- R. Penrose (2007). The Road to Reality. Vintage books. ISBN 978-0-679-77631-4.
- Bishop, R.L.; Goldberg, S.I. (1968), Tensor Analysis on Manifolds, p. 130
- Bishop, R.L.; Goldberg, S.I. (1968), Tensor Analysis on Manifolds, p. 85
- Synge J.L.; Schild A. (1949). Tensor Calculus. first Dover Publications 1978 edition. pp. 83, p. 107.
- P. A. M. Dirac. General Theory of Relativity. pp. 20–21.
- Lovelock, David; Hanno Rund (1989). Tensors, Differential Forms, and Variational Principles. p. 84.
- Ricci, Gregorio; Levi-Civita, Tullio (March 1900). "Méthodes de calcul différentiel absolu et leurs applications" [Methods of the absolute differential calculus and their applications]. Mathematische Annalen (in French). 54 (1–2). Springer: 125–201. doi:10.1007/BF01454201. S2CID 120009332.
- "Interview with Shiing Shen Chern" (PDF). Notices of the AMS. 45 (7): 860–5. August 1998.
- Ricci, Gregorio; Levi-Civita, Tullio (March 1900). "Méthodes de calcul différentiel absolu et leurs applications" [Methods of the absolute differential calculus and their applications]. Mathematische Annalen (in French). 54 (1–2). Springer: 125–201. doi:10.1007/BF01454201. S2CID 120009332.
- "Interview with Shiing Shen Chern" (PDF). Notices of the AMS. 45 (7): 860–5. August 1998.
Further reading
- Dimitrienko, Yuriy (2002). Tensor Analysis and Nonlinear Tensor Functions. Springer. ISBN 1-4020-1015-X.
- Sokolnikoff, Ivan S (1951). Tensor Analysis: Theory and Applications to Geometry and Mechanics of Continua. Wiley. ISBN 0471810525.
- Borisenko, A.I.; Tarapov, I.E. (1979). Vector and Tensor Analysis with Applications (2nd ed.). Dover. ISBN 0486638332.
- Itskov, Mikhail (2015). Tensor Algebra and Tensor Analysis for Engineers: With Applications to Continuum Mechanics (2nd ed.). Springer. ISBN 9783319163420.
- Tyldesley, J. R. (1973). An introduction to Tensor Analysis: For Engineers and Applied Scientists. Longman. ISBN 0-582-44355-5.
- Kay, D. C. (1988). Tensor Calculus. Schaum’s Outlines. McGraw Hill. ISBN 0-07-033484-6.
- Grinfeld, P. (2014). Introduction to Tensor Analysis and the Calculus of Moving Surfaces. Springer. ISBN 978-1-4614-7866-9.
- Dimitrienko, Yuriy (2002). Tensor Analysis and Nonlinear Tensor Functions. Springer. ISBN 1-4020-1015-X.
- Sokolnikoff, Ivan S (1951). Tensor Analysis: Theory and Applications to Geometry and Mechanics of Continua. Wiley. ISBN 0471810525.
- Borisenko, A.I.; Tarapov, I.E. (1979). Vector and Tensor Analysis with Applications (2nd ed.). Dover. ISBN 0486638332.
- Itskov, Mikhail (2015). Tensor Algebra and Tensor Analysis for Engineers: With Applications to Continuum Mechanics (2nd ed.). Springer. ISBN 9783319163420.
- Tyldesley, J. R. (1973). An introduction to Tensor Analysis: For Engineers and Applied Scientists. Longman. ISBN 0-582-44355-5.
- Kay, D. C. (1988). Tensor Calculus. Schaum’s Outlines. McGraw Hill. ISBN 0-07-033484-6.
- Grinfeld, P. (2014). Introduction to Tensor Analysis and the Calculus of Moving Surfaces. Springer. ISBN 978-1-4614-7866-9.
External links
- Dullemond, Kees; Peeters, Kasper (1991–2010). "Introduction to Tensor Calculus" (PDF). Retrieved 17 May 2018.
Differentiable computing | |
---|---|
General | |
Hardware | |
Software libraries | |
Tensors | |||||
---|---|---|---|---|---|
Glossary of tensor theory | |||||
Scope |
| ||||
Notation | |||||
Tensor definitions | |||||
Operations | |||||
Related abstractions | |||||
Notable tensors |
| ||||
Mathematicians |
Calculus | |||||
---|---|---|---|---|---|
Precalculus | |||||
Limits | |||||
Differential calculus |
| ||||
Integral calculus | |||||
Vector calculus |
| ||||
Multivariable calculus | |||||
Sequences and series |
| ||||
Special functions and numbers | |||||
History of calculus | |||||
Lists |
| ||||
Miscellaneous topics |
|
Major topics in mathematical analysis | |
---|---|
Mathematics portal |
- Dullemond, Kees; Peeters, Kasper (1991–2010). "Introduction to Tensor Calculus" (PDF). Retrieved 17 May 2018.
See also
- Abstract index notation
- Connection
- Exterior algebra
- Differential form
- Hodge star operator
- Holonomic basis
- Metric tensor
- Penrose graphical notation
- Regge calculus
- Ricci decomposition
- Tensor (intrinsic definition)
- Tensor calculus
- Tensor field
Notes
- While the raising and lowering of indices is dependent on a metric tensor, the covariant derivative is only dependent on the connection while the exterior derivative and the Lie derivative are dependent on neither.
References
Sources
- Bishop, R.L.; Goldberg, S.I. (1968), Tensor Analysis on Manifolds (First Dover 1980 ed.), The Macmillan Company, ISBN 0-486-64039-6
- Danielson, Donald A. (2003). Vectors and Tensors in Engineering and Physics (2/e ed.). Westview (Perseus). ISBN 978-0-8133-4080-7.
- Dimitrienko, Yuriy (2002). Tensor Analysis and Nonlinear Tensor Functions. Kluwer Academic Publishers (Springer). ISBN 1-4020-1015-X.
- Lovelock, David; Hanno Rund (1989) . Tensors, Differential Forms, and Variational Principles. Dover. ISBN 978-0-486-65840-7.
- C. Møller (1952), The Theory of Relativity (3rd ed.), Oxford University Press
- Synge J.L.; Schild A. (1949). Tensor Calculus. first Dover Publications 1978 edition. ISBN 978-0-486-63612-2.
- J.R. Tyldesley (1975), An introduction to Tensor Analysis: For Engineers and Applied Scientists, Longman, ISBN 0-582-44355-5
- D.C. Kay (1988), Tensor Calculus, Schaum’s Outlines, McGraw Hill (USA), ISBN 0-07-033484-6
- T. Frankel (2012), The Geometry of Physics (3rd ed.), Cambridge University Press, ISBN 978-1107-602601
Tensors | |||||
---|---|---|---|---|---|
Glossary of tensor theory | |||||
Scope |
| ||||
Notation | |||||
Tensor definitions | |||||
Operations | |||||
Related abstractions | |||||
Notable tensors |
| ||||
Mathematicians |