To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

# Tensor calculus

## From Wikipedia, the free encyclopedia

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,[1] 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:[2]

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.

### YouTube Encyclopedic

• 1/5
Views:
229 152
100 097
46 951
114 290
241 248
• Tensor Calculus 1: The Rules of the Game
• Tensor Calculus For Physics Majors #1| Preliminary Vector Stuff part 1
• Tensor Calculus 1: Multi-variable Calculus Review (Updated with correction)
• Tensor Calculus 4a: The Tensor Notation
• Introduction to Tensors

## 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 ${\displaystyle (x_{1},x_{2},x_{3})}$ 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. For example, in normal math syntax, ${\displaystyle e=mc^{2}=mcc}$, however in tensor syntax a parenthesis should be used around an object before raising it to a power to disambiguate the use of a tensor index versus a normal power operation. In tensor syntax we would write, ${\displaystyle e=m(c^{1})^{2}=m(c^{1})(c^{1})}$ and ${\displaystyle e=m(c^{2})^{2}=m(c^{2})(c^{2})}$. The number in the inner parenthesis distinguishes the contravariant component where the outer parenthesis number distinguishes the power to raise the quantities to. Of course this is just an arbitrary equation, we could have specified that c is not a tensor and known that this particular variable does not need a parenthesis around it to take the quality c to a power of 2, however, if c were a vector, then it could be represented as a tensor and this tensor would need to be distinguished from normal math indexes that indicate raising a quantity to a power.

## Key concepts

### Vector decomposition

Tensors notation allows a vector (${\displaystyle {\vec {V}}}$) to be decomposed into an Einstein summation representing the tensor contraction of a basis vector (${\displaystyle {\vec {Z}}_{i}}$ or ${\displaystyle {\vec {Z}}^{i}}$) with a component vector (${\displaystyle V_{i}}$ or ${\displaystyle V^{i}}$).

${\displaystyle {\vec {V}}=V^{i}{\vec {Z}}_{i}=V_{i}{\vec {Z}}^{i}}$

Every vector has two different representations, one referred to as contravariant component (${\displaystyle V^{i}}$) with a covariant basis (${\displaystyle {\vec {Z}}_{i}}$), and the other as a covariant component (${\displaystyle V_{i}}$) with a contravariant basis (${\displaystyle {\vec {Z}}^{i}}$). 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:

${\displaystyle {\vec {V}}\cdot {\vec {Z}}_{i}=V_{i}={\vec {V}}^{T}{\vec {Z}}_{i}={\vec {Z}}_{i}^{T}{\vec {V}}={\mathrm {proj} _{{\vec {Z}}^{i}}({\vec {V}})}\cdot {\vec {Z}}_{i}={\mathrm {proj} _{\vec {V}}({\vec {Z}}^{i})}\cdot {\vec {V}}}$

${\displaystyle {\vec {V}}\cdot {\vec {Z}}^{i}=V^{i}={\vec {V}}^{T}{\vec {Z}}^{i}={{\vec {Z}}^{i}}^{T}{\vec {V}}={\mathrm {proj} _{{\vec {Z}}_{i}}({\vec {V}})}\cdot {\vec {Z}}^{i}={\mathrm {proj} _{\vec {V}}({\vec {Z}}_{i})}\cdot {\vec {V}}}$

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

${\displaystyle {\vec {V}}=V^{i}{\vec {Z}}_{i}}$

variable description Type
${\displaystyle {\vec {V}}}$ vector invariant
${\displaystyle V^{i}}$ contravariant components (ordered set of scalars) variant
${\displaystyle {\vec {Z}}_{i}}$ covariant bases (ordered set of vectors) variant

#### Contravariant vector decomposition

${\displaystyle {\vec {V}}=V_{i}{\vec {Z}}^{i}}$

variable description type
${\displaystyle {\vec {V}}}$ vector invariant
${\displaystyle V_{i}}$ covariant components (ordered set of scalars) variant
${\displaystyle {\vec {Z}}^{i}}$ contravariant bases (ordered set of covectors) variant

### Metric tensor

The metric tensor represents a matrix with scalar elements (${\displaystyle Z_{ij}}$ or ${\displaystyle Z^{ij}}$) 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:

${\displaystyle T_{i}=Z_{ij}T^{j}}$

Example of raising index using metric tensor:

${\displaystyle T^{i}=Z^{ij}T_{j}}$

The metric tensor is defined as:

${\displaystyle Z_{ij}={\vec {Z}}_{i}\cdot {\vec {Z}}_{j}}$

${\displaystyle Z^{ij}={\vec {Z}}^{i}\cdot {\vec {Z}}^{j}}$

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 (${\displaystyle Z^{ij}}$), and (2) the covariant metric tensor (${\displaystyle Z_{ij}}$). These two flavors of metric tensor are related by the identity:

${\displaystyle Z_{ik}Z^{jk}=\delta _{i}^{j}}$

For an orthonormal Cartesian coordinate system, the metric tensor is just the kronecker delta ${\displaystyle \delta _{ij}}$ or ${\displaystyle \delta ^{ij}}$, which is just a tensor equivalent of the identity matrix, and ${\displaystyle \delta _{ij}=\delta ^{ij}=\delta _{j}^{i}}$.

### Jacobian

In addition a tensor can be readily converted from an unbarred(${\displaystyle x}$) to a barred coordinate(${\displaystyle {\bar {x}}}$) system having different sets of basis vectors:

${\displaystyle f(x^{1},x^{2},\dots ,x^{n})=f{\bigg (}x^{1}({\bar {x}}),x^{2}({\bar {x}}),\dots ,x^{n}({\bar {x}}){\bigg )}={\bar {f}}({\bar {x}}^{1},{\bar {x}}^{2},\dots ,{\bar {x}}^{n})={\bar {f}}{\bigg (}{\bar {x}}^{1}(x),{\bar {x}}^{2}(x),\dots ,{\bar {x}}^{n}(x){\bigg )}}$

by use of Jacobian matrix relationships between the barred and unbarred coordinate system (${\displaystyle {\bar {J}}=J^{-1}}$). 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:

${\displaystyle v^{i}={\bar {v}}^{r}{\frac {\partial x^{i}({\bar {x}})}{\partial {\bar {x}}^{r}}}}$

${\displaystyle {\bar {v}}^{i}=v^{r}{\frac {\partial {\bar {x}}^{i}(x)}{\partial x^{r}}}}$

Covariant vectors are required to obey the laws:

${\displaystyle v_{i}={\bar {v}}_{r}{\frac {\partial {\bar {x}}^{i}(x)}{\partial x^{r}}}}$

${\displaystyle {\bar {v}}_{i}=v_{r}{\frac {\partial x^{r}({\bar {x}})}{\partial {\bar {x}}^{i}}}}$

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 ${\displaystyle {\bar {x}}^{i}}$:

${\displaystyle J={\bar {\nabla }}f(x({\bar {x}}))}$

2. The ${\displaystyle {\bar {J}}}$ matrix, representing the change from barred to unbarred coordinates. To find ${\displaystyle {\bar {J}}}$, we take the "unbarred gradient", i.e. partial derive with respect to ${\displaystyle x^{i}}$:

${\displaystyle {\bar {J}}=\nabla {\bar {f}}({\bar {x}}(x))}$

### Gradient vector

Tensor calculus provides a generalization to the gradient vector formula from standard calculus that works in all coordinate systems:

${\displaystyle \nabla F=\nabla _{i}F{\vec {Z}}^{i}}$

Where:

${\displaystyle \nabla _{i}F={\frac {\partial F}{\partial Z^{i}}}}$

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.

## References

1. ^ 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). Springer. 54 (1–2): 125–201. doi:10.1007/BF01454201. S2CID 120009332.
2. ^ "Interview with Shiing Shen Chern" (PDF). Notices of the AMS. 45 (7): 860–5. August 1998.

## Further reading

Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.