{{Short description|Isomorphism between the tangent and cotangent bundles of a manifold}} {{refimprove|date=April 2015}}

In mathematics—more specifically, in differential geometry—the '''musical isomorphism''' (or '''canonical isomorphism''') is an isomorphism between the tangent bundle <math>\mathrm{T}M</math> and the cotangent bundle <math>\mathrm{T}^* M</math> of a Riemannian or pseudo-Riemannian manifold induced by its metric tensor. There are similar isomorphisms on symplectic manifolds. These isomorphisms are global versions of the canonical isomorphism between an inner product space and its dual. The term ''musical'' refers to the use of the musical notation symbols <math>\flat</math> (flat) and <math>\sharp</math> (sharp).{{sfn|Lee|2003|loc=Chapter 11}}{{sfn|Lee|1997|loc=Chapter 3}}

In the notation of Ricci calculus and mathematical physics, the idea is expressed as the '''raising and lowering of indices'''. Raising and lowering indices are a form of index manipulation in tensor expressions.

In certain specialized applications, such as on Poisson manifolds, the relationship may fail to be an isomorphism at singular points, and so, for these cases, is technically only a homomorphism.

== Motivation ==

In linear algebra, a finite-dimensional vector space is isomorphic to its dual space (the space of linear functionals mapping the vector space to its base field), but not canonically. Given a fixed basis for this vector space, there is a natural way to go back and forth between vectors and linear forms: vectors are represented in the basis by column vectors, linear forms are represented in the basis by row vectors, and the identification is done by transposition.

On the other hand, a finite-dimensional vector space <math>V</math> endowed with a non-degenerate bilinear form <math>\langle\cdot,\cdot\rangle</math> is canonically isomorphic to its dual. The canonical isomorphism <math>V \to V^*</math> is given by : <math>v \mapsto \langle v, \cdot \rangle</math>. An example is where <math>V = \mathbb R^n</math> and <math>\langle\cdot,\cdot\rangle</math> is the dot product.

In a basis <math>e_i</math>, the canonical isomorphism above can be described as follows. Let <math>g_{ij} = \langle e_i,e_j \rangle</math> be the components of the non-degenerate bilinear form and let <math>g^{ij}</math> be the components of the inverse matrix to <math>g_{ij}</math>. Let <math>e^i</math> be the dual basis of <math>e_i</math>. A vector <math>v</math> is written in the basis as <math>v = v^i e_i</math> using Einstein summation notation, i.e., <math>v</math> has components <math>v^i</math> in the basis. The canonical isomorphism applied to <math>v</math> gives an element of the dual, which is called a covector. The covector has components <math>v_i</math> in the dual basis given by contracting with <math>g</math>: :<math>v_i = g_{ij}v^j.</math> This is what is meant by lowering the index. Conversely, contracting a covector <math>\alpha = \alpha_i e^i</math> with the inverse of <math>g</math> gives a vector with components :<math>\alpha^i = g^{ij}\alpha_j.</math> in the basis <math>e_i</math>. This process is called raising the index.

Raising and then lowering the same index (or conversely) are inverse operations, which is reflected in <math>g_{ij}</math> and <math>g^{ij}</math> being inverses: :<math>g^{ij}g_{jk}=g_{kj}g^{ji}={\delta^i}_k={\delta_k}^i</math> where <math>\delta^i_j</math> is the Kronecker delta or identity matrix.

The musical isomorphisms are the global version of the canonical isomorphism <math>v \mapsto \langle v, \cdot \rangle</math> and its inverse for the tangent bundle and cotangent bundle of a (pseudo-)Riemannian manifold <math>(M,g)</math>. They are canonical isomorphisms of vector bundles that are defined on every tangent space <math>T_pM</math> for <math>p\in M</math> by <math display=block>v\in T_pM \mapsto g_p(v,\cdot) \in (T_pM)^\ast</math> and its inverse

Because every smooth manifold can be (non-canonically) endowed with a Riemannian metric, the musical isomorphisms show that a vector bundle on a smooth manifold is (non-canonically) isomorphic to its dual.

Abstractly, the musical isomorphisms can be understood as a currying of the bilinear form.

== Discussion ==

Let <math>(M,g)</math> be a (pseudo-)Riemannian manifold. At each point <math>p</math>, the map <math>g_p</math> is a non-degenerate bilinear form on the tangent space <math>T_pM</math>. If <math>v</math> is a vector in <math>T_pM</math>, its ''flat'' is the covector : <math>v^\flat = g_p(v,\cdot)</math> in <math>T_p^*M</math>. Since this is a smooth map that preserves the point <math>p</math>, it defines a morphism of smooth vector bundles <math>\flat:\mathrm{T}M \to \mathrm{T}^*M</math>. By non-degeneracy of the metric, <math>\flat</math> has an inverse <math>\sharp</math> at each point, characterized by : <math>g_p(\alpha^\sharp, v) = \alpha(v)</math> for <math>\alpha</math> in <math>T_p^*M</math> and <math>v</math> in <math>T_pM</math>. The vector <math>\alpha^\sharp</math> is called the ''sharp'' of <math>\alpha</math>. The sharp map is a smooth bundle map <math>\sharp:\mathrm{T}^*M \to \mathrm{T}M</math>.

Flat and sharp are mutually inverse isomorphisms of smooth vector bundles, hence, for each <math>p</math> in <math>M</math>, there are mutually inverse vector space isomorphisms between <math>T_pM</math> and <math>T_p^*M</math>.

The flat and sharp maps can be applied to vector fields and covector fields by applying them to each point. Hence, if <math>X</math> is a vector field and <math>\omega</math> is a covector field, : <math>X^\flat = g(X,\cdot)</math> and : <math>g(\omega^\sharp, X) = \omega(X)</math>.

=== In a moving frame ===

Suppose {{math|{'''e'''{{sub|''i''}}}{{null}}}} is a moving tangent frame (see also smooth frame) for the tangent bundle {{math|T''M''}} with, as dual frame (see also dual basis), the moving coframe (a ''moving tangent frame'' for the ''cotangent bundle'' <math>\mathrm{T}^*M</math>; see also coframe) {{math|{'''e'''{{sup|''i''}}}{{null}}}}. Then the pseudo-Riemannian metric, which is a 2-covariant tensor field, can be written locally in this coframe as {{math|''g'' {{=}} ''g''{{sub|''ij'' }}'''e'''{{sup|''i''}} ⊗ '''e'''{{i sup|''j''}}}} using Einstein summation notation.

Given a vector field {{math|''X'' {{=}} ''X''{{i sup|''i'' }}'''e'''{{sub|''i''}}}} and denoting {{math|1=''g''{{sub|''ij''}} ''X''{{i sup|''i''}} = ''X''{{sub|''j''}}}}, its flat is : <math>X^\flat = g_{ij} X^i \mathbf{e}^j = X_j \mathbf{e}^j</math>. This is referred to as lowering an index, because the components of {{mvar|X}} are written with an upper index {{math|''X''{{i sup|''i''}}}}, whereas the components of <math>X^\flat</math> are written with a lower index {{math|''X''{{sub|''j''}}}}.

In the same way, given a covector field {{math|1=''ω'' = ''ω''{{sub|''i''}} '''e'''{{sup|''i''}}}} and denoting {{math|1=''g''{{sup|''ij''}} ''ω''{{sub|''i''}} = ''ω''{{sup|''j''}}}}, its sharp is : <math>\omega^\sharp = g^{ij} \omega_i \mathbf{e}_j = \omega^j \mathbf{e}_j</math>, where {{math|''g''{{i sup|''ij''}}}} are the components of the inverse metric tensor (given by the entries of the inverse matrix to {{math|''g''{{sub|''ij''}}}}). Taking the sharp of a covector field is referred to as ''raising an index''.

===Extension to tensor products=== The musical isomorphisms may also be extended, for each {{math|''r'', ''s'', ''k''}}, to an isomorphism between the bundle :<math>\bigotimes_{i=1}^s {\rm T} M \otimes \bigotimes_{j=1}^{r} {\rm T}^* M</math> of <math>(r,s)</math> tensors and the bundle of <math>(r-k,s+k)</math> tensors. Here {{mvar|k}} can be positive or negative, so long as {{math|''r'' - ''k'' ≥ 0}} and {{math|''s'' + ''k'' ≥ 0}}.

Lowering an index of an <math>(r,s)</math> tensor gives a <math>(r-1,s+1)</math> tensor, while raising an index gives a <math>(r+1,s-1)</math>. Which index is to be raised or lowered must be indicated.

For instance, consider the {{nowrap|(0, 2)}} tensor {{math|''X'' {{=}} ''X''{{sub|''ij'' }}'''e'''{{sup|''i''}} ⊗ '''e'''{{i sup|''j''}}}}. Raising the second index, we get the {{nowrap|(1, 1)}} tensor :<math>X^\sharp = g^{jk} X_{ij} \, {\rm e}^i \otimes {\rm e}_k .</math> In other words, the components <math>X_i^k</math> of <math>X^\sharp</math> are given by :<math>X_i^k = g^{jk} X_{ij}.</math>

Similar formulas are available for tensors of other orders. For example, for a <math>(0,n)</math> tensor {{mvar|X}}, all indices are raised by:<ref name="Schaum’s Outlines" /> :<math>X^{j_1j_2\cdots j_n} = g^{j_1i_1}g^{j_2i_2}\cdots g^{j_ni_n}X_{i_1i_2\cdots i_n}.</math> For a <math>(n,0)</math> tensor {{mvar|X}}, all indices are lowered by: :<math>X_{j_1j_2\cdots j_n} = g_{j_1i_1}g_{j_2i_2}\cdots g_{j_ni_n}X^{i_1i_2\cdots i_n}.</math> For a mixed tensor of order <math>(n,m)</math>, all lower indices are raised and all upper indices are lowered by :<math>{X_{p_1p_2\cdots p_n}}^{q_1q_2\cdots q_m} = g_{p_1i_1}g_{p_2i_2}\cdots g_{p_ni_n}g^{q_1j_1}g^{q_2j_2}\cdots g^{q_mj_m}{X^{i_1i_2\cdots i_n}}_{j_1j_2\cdots j_m}.</math>

Well-formulated expressions are constrained by the rules of Einstein summation notation: any index may appear at most twice and furthermore a raised index must contract with a lowered index. With these rules we can immediately see that an expression such as <math>g_{ij}v^iu^j</math> is well formulated while <math>g_{ij}v_iu_j</math> is not.

===Extension to ''k''-vectors and ''k''-forms=== In the context of exterior algebra, an extension of the musical operators may be defined on {{math|⋀''V''}} and its dual {{math|⋀''V'' <sup>*</sup>}}, and are again mutual inverses:{{sfn|Vaz|da Rocha|2016|loc=pp. 48, 50}} :<math>\flat : \bigwedge_{i=1}^k V \to \bigwedge_{i=1}^k V^*,</math> :<math>\sharp : \bigwedge_{i=1}^k V^* \to \bigwedge_{i=1}^k V,</math> defined by :<math>(X \wedge \ldots \wedge Z)^\flat = X^\flat \wedge \ldots \wedge Z^\flat,</math> :<math>(\alpha \wedge \ldots \wedge \gamma)^\sharp = \alpha^\sharp \wedge \ldots \wedge \gamma^\sharp.</math>

In this extension, in which {{math|{{music|flat}}}} maps ''k''-vectors to ''k''-covectors and {{math|{{music|sharp}}}} maps ''k''-covectors to ''k''-vectors, all the indices of a totally antisymmetric tensor are simultaneously raised or lowered, and so no index need be indicated: <math display="block"> Y^\sharp = ( Y_{i_1 \dots i_j} \mathbf{e}^{i_1} \otimes \dots \otimes \mathbf{e}^{i_j})^\sharp = g^{i_1 r_1} \dots g^{i_j r_s} \, Y_{i_1 \dots i_k} \, \mathbf{e}_{r_1} \otimes \dots \otimes \mathbf{e}_{r_s}.</math>

This works not just for ''k''-vectors in the context of linear algebra but also for ''k''-forms in the context of a (pseudo-)Riemannian manifold: :<math>\flat : \bigwedge_{i=1}^k {\rm T} M \to \bigwedge_{i=1}^k {\rm T}^* M,</math> :<math>\sharp : \bigwedge_{i=1}^k {\rm T}^* M \to \bigwedge_{i=1}^k {\rm T} M,</math>

===Vector bundles with bundle metrics===

More generally, musical isomorphisms always exist between a vector bundle endowed with a bundle metric and its dual.

==Trace of a tensor==

Given a {{nowrap|(0, 2)}} tensor {{math|''X'' {{=}} ''X''{{sub|''ij'' }}'''e'''{{sup|''i''}} ⊗ '''e'''{{i sup|''j''}}}}, we define the ''trace of {{mvar|X}} through the metric tensor {{mvar|g}}'' by <math display="block"> \operatorname{tr}_g ( X ) := \operatorname{tr} ( X^\sharp ) = \operatorname{tr} ( g^{jk} X_{ij} \, {\bf e}^i \otimes {\bf e}_k ) = g^{ij} X_{ij} .</math>

Observe that the definition of trace is independent of the choice of index to raise, since the metric tensor is symmetric.

The trace of an <math>(r, s)</math> tensor can be taken in a similar way, so long as one specifies which two distinct indices are to be traced. This process is also called contracting the two indices. For example, if {{mvar|X}} is an <math>(r, s)</math> tensor with {{math|''r'' > 1}}, then the indices <math>i_1</math> and <math>i_2</math> can be contracted to give an <math>(r-2, s)</math> tensor with components :<math>X^{i_3i_4 \cdots i_r}_{j_1j_2\cdots j_s} = g_{i_1i_2} X^{i_1i_2\cdots i_r}_{j_1j_2\cdots j_s}.</math>

==Example computations==

===In Minkowski spacetime===

The covariant 4-position is given by :<math>X_\mu = (-ct, x, y, z)</math>

with components: :<math>X_0 = -ct, \quad X_1 = x, \quad X_2 = y, \quad X_3 = z</math>

(where {{mvar|x}},{{mvar|y}},{{mvar|z}} are the usual Cartesian coordinates) and the Minkowski metric tensor with metric signature (− + + +) is defined as :<math> \eta_{\mu \nu} = \eta^{\mu \nu} = \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix} </math>

in components: :<math>\eta_{00} = -1, \quad \eta_{i0} = \eta_{0i} = 0,\quad \eta_{ij} = \delta_{ij}\,(i,j \neq 0).</math>

To raise the index, multiply by the tensor and contract: :<math>X^\lambda = \eta^{\lambda\mu}X_\mu = \eta^{\lambda 0}X_0 + \eta^{\lambda i}X_i</math>

then for {{math|''λ'' {{=}} 0}}: :<math>X^0 = \eta^{00}X_0 + \eta^{0i}X_i = -X_0</math>

and for {{math|''λ'' {{=}} ''j'' {{=}} 1, 2, 3}}: :<math>X^j = \eta^{j0}X_0 + \eta^{ji}X_i = \delta^{ji}X_i = X_j \,.</math>

So the index-raised contravariant 4-position is: :<math>X^\mu = (ct, x, y, z)\,.</math>

This operation is equivalent to the matrix multiplication

:<math> \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} -ct \\ x \\ y \\ z \end{pmatrix} = \begin{pmatrix} ct \\ x \\ y \\ z \end{pmatrix}. </math>

Given two vectors, <math>X^\mu</math> and <math>Y^\mu</math>, we can write down their (pseudo-)inner product in two ways: :<math>\eta_{\mu\nu}X^\mu Y^\nu.</math> By lowering indices, we can write this expression as :<math>X_\mu Y^\mu.</math> In matrix notation, the first expression can be written as

:<math> \begin{pmatrix} X^0 & X^1 & X^2 & X^3 \end{pmatrix} \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} Y^0 \\ Y^1 \\ Y^2 \\ Y^3\end{pmatrix} </math>

while the second is, after lowering the indices of <math>X^\mu</math>, :<math>\begin{pmatrix} -X^0 & X^1 & X^2 & X^3 \end{pmatrix}\begin{pmatrix} Y^0 \\ Y^1 \\ Y^2 \\ Y^3\end{pmatrix}.</math>

===In electromagnetism===

For a (0,2) tensor,<ref name="Schaum’s Outlines">{{cite book |title=Tensor Calculus |first=D. C. |last=Kay |series=Schaum’s Outlines |publisher=McGraw Hill |location=New York |year=1988 |isbn=0-07-033484-6 }}</ref> twice contracting with the inverse metric tensor and contracting in different indices raises each index:

:<math>A^{\mu\nu}=g^{\mu\rho}g^{\nu\sigma}A_{\rho \sigma}.</math>

Similarly, twice contracting with the metric tensor and contracting in different indices lowers each index:

:<math>A_{\mu\nu}=g_{\mu\rho}g_{\nu\sigma}A^{\rho\sigma}</math>

Let's apply this to the theory of electromagnetism.

The contravariant electromagnetic tensor in the {{math|(+ − − −)}} signature is given by<ref>NB: Some texts, such as: {{cite book | author=Griffiths, David J. | authorlink = David J. Griffiths | title=Introduction to Elementary Particles | publisher=Wiley, John & Sons, Inc | year=1987 | isbn=0-471-60386-4}}, will show this tensor with an overall factor of −1. This is because they used the negative of the metric tensor used here: {{math|(− + + +)}}, see metric signature. In older texts such as Jackson (2nd edition), there are no factors of {{mvar|c}} since they are using Gaussian units. Here SI units are used.</ref>

:<math>F^{\alpha\beta} = \begin{pmatrix} 0 & -\frac{E_x}{c} & -\frac{E_y}{c} & -\frac{E_z}{c} \\ \frac{E_x}{c} & 0 & -B_z & B_y \\ \frac{E_y}{c} & B_z & 0 & -B_x \\ \frac{E_z}{c} & -B_y & B_x & 0 \end{pmatrix}.</math>

In components,

:<math>F^{0i} = -F^{i0} = - \frac{E^i}{c} ,\quad F^{ij} = - \varepsilon^{ijk} B_k </math>

To obtain the covariant tensor {{mvar|F<sub>αβ</sub>}}, contract with the inverse metric tensor:

:<math>\begin{align} F_{\alpha\beta} & = \eta_{\alpha\gamma} \eta_{\beta\delta} F^{\gamma\delta} \\ & = \eta_{\alpha 0} \eta_{\beta 0} F^{0 0} + \eta_{\alpha i} \eta_{\beta 0} F^{i 0} + \eta_{\alpha 0} \eta_{\beta i} F^{0 i} + \eta_{\alpha i} \eta_{\beta j} F^{i j} \end{align}</math>

and since {{math|''F''<sup>00</sup> {{=}} 0 }} and {{math|''F''<sup>0''i''</sup> {{=}} − ''F<sup>i</sup>''<sup>0</sup>}}, this reduces to

:<math>F_{\alpha\beta} = \left(\eta_{\alpha i} \eta_{\beta 0} - \eta_{\alpha 0} \eta_{\beta i} \right) F^{i 0} + \eta_{\alpha i} \eta_{\beta j} F^{i j}</math>

Now for {{math|''α'' {{=}} 0}}, {{math|''β'' {{=}} ''k'' {{=}} 1, 2, 3}}:

:<math>\begin{align} F_{0k} & = \left(\eta_{0i} \eta_{k0} - \eta_{00} \eta_{ki} \right) F^{i0} + \eta_{0i} \eta_{kj} F^{ij} \\ & = \bigl(0 - (-\delta_{ki}) \bigr) F^{i0} + 0 \\ & = F^{k0} = - F^{0k} \\ \end{align}</math>

and by antisymmetry, for {{math|''α'' {{=}} ''k'' {{=}} 1, 2, 3}}, {{math|''β'' {{=}} 0}}:

:<math> F_{k0} = - F^{k0} </math>

then finally for {{math|''α'' {{=}} ''k'' {{=}} 1, 2, 3}}, {{math|''β'' {{=}} ''l'' {{=}} 1, 2, 3}};

:<math>\begin{align} F_{kl} & = \left(\eta_{ k i} \eta_{ l 0} - \eta_{ k 0} \eta_{ l i} \right) F^{i 0} + \eta_{ k i} \eta_{ l j} F^{i j} \\ & = 0 + \delta_{ k i} \delta_{ l j} F^{i j} \\ & = F^{k l} \\ \end{align}</math>

The (covariant) lower indexed tensor is then:

:<math>F_{\alpha\beta} = \begin{pmatrix} 0 & \frac{E_x}{c} & \frac{E_y}{c} & \frac{E_z}{c} \\ -\frac{E_x}{c} & 0 & -B_z & B_y \\ -\frac{E_y}{c} & B_z & 0 & -B_x \\ -\frac{E_z}{c} & -B_y & B_x & 0 \end{pmatrix}</math>

This operation is equivalent to the matrix multiplication

:<math> \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} 0 & -\frac{E_x}{c} & -\frac{E_y}{c} & -\frac{E_z}{c} \\ \frac{E_x}{c} & 0 & -B_z & B_y \\ \frac{E_y}{c} & B_z & 0 & -B_x \\ \frac{E_z}{c} & -B_y & B_x & 0 \end{pmatrix} \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix} =\begin{pmatrix} 0 & \frac{E_x}{c} & \frac{E_y}{c} & \frac{E_z}{c} \\ -\frac{E_x}{c} & 0 & -B_z & B_y \\ -\frac{E_y}{c} & B_z & 0 & -B_x \\ -\frac{E_z}{c} & -B_y & B_x & 0 \end{pmatrix}. </math>

== See also == *Duality (mathematics) *{{section link|Dual space|Bilinear products and dual spaces}} *Einstein notation *Flat (music) and Sharp (music) about the signs {{music|flat}} and {{music|sharp}} *Hodge star operator *Metric tensor *Vector bundle

== Citations == {{Reflist}}

== References == * {{cite book|last=Lee|first=J. M.|title=Introduction to Smooth manifolds|year=2003|series=Springer Graduate Texts in Mathematics|isbn=0-387-95448-1|volume=218}} * {{cite book|last=Lee|first=J. M.|title=Riemannian Manifolds – An Introduction to Curvature|year=1997|publisher=Springer Verlag|series=Springer Graduate Texts in Mathematics|volume=176|isbn=978-0-387-98322-6}} * {{cite book|last1=Vaz|first1=Jayme|last2=da Rocha|first2=Roldão|year=2016|title=An Introduction to Clifford Algebras and Spinors |publisher=Oxford University Press|isbn=978-0-19-878-292-6}}

{{Riemannian geometry}} {{tensors}} {{Manifolds}}

Category:Differential geometry Category:Riemannian geometry Category:Riemannian manifolds Category:Symplectic geometry