Tensor Calculus Problem: Simplifying Terms with Index Exchange

In summary: I'm going to bed. In summary, the 4 terms in the first post were amalgamated into 2 after canonicalising the metric tensor. If you swap ##\%4## and ##\%5## in the first term it is the same as the second.
  • #1
Mentz114
5,432
292
If you don't like indexes, look away now. I got these terms from a tensor calculus program as part of a the transformed F-P Lagrangian.
[tex]
\begin{align}
{g}^{b a}\,{g}^{d e}\,{g}^{f c}\,{X}_{a,b c}\,{X}_{d,e f}\\
+{g}^{b a}\,{g}^{c f}\,{g}^{e d}\,{X}_{a,b c}\,{X}_{d,e f}\\
+{g}^{b a}\,{g}^{c e}\,{g}^{d f}\,{X}_{a,b c}\,{X}_{d,e f}\\
+{g}^{a b}\,{g}^{c e}\,{g}^{d f}\,{X}_{a,b c}\,{X}_{d,e f}
\end{align}
[/tex]

I think I can substitute ##g^{pq}## with ##g^{qp}## without harm. Also ##,{X}_{p,q r}={X}_{p,r q}## so I can exchange ##q## and ##r##. But can I do this if ##q## and ##r## are in different ##g##'s (like swapping ##e## and ##f## in the fourth term) ?

If these gymnastics are allowed then the terms are equal and there is a good simplification.
 
Physics news on Phys.org
  • #2
The metric tensor is symmetric, so there's never any harm with changing ##g^{ab}\leftrightarrow g^{ba}##. And the same goes for partial derivatives (important to note though that this is not true for covariant derivatives, so if it was ##X_{p;qr}## instead, you can't just arbitrarily make this swap). In addition, every index seems to be summed over, so they are all dummy indices anyways, so within each term you are allowed to make arbitrary index substitutions (as long as you replace both instances of said index simultaneously).
 
  • Like
Likes Mentz114
  • #3
Matterwave said:
The metric tensor is symmetric, so there's never any harm with changing ##g^{ab}\leftrightarrow g^{ba}##. And the same goes for partial derivatives (important to note though that this is not true for covariant derivatives, so if it was ##X_{p;qr}## instead, you can't just arbitrarily make this swap). In addition, every index seems to be summed over, so they are all dummy indices anyways, so within each term you are allowed to make arbitrary index substitutions (as long as you replace both instances of said index simultaneously).

Thank you. I thought it would be OK but not certain. I should have mentioned that ##g## is ##\eta##, the Minkowski metric.

It's a pity there isn't a change of sign so some of these pesky things could cancel ...

(you wouldn't like to look over the other 80 terms, by any chance ? :-)
 
  • #4
Nope, no change in sign for either the metric or the derivatives term. Both are symmetric. Although, since they are all added together...and they are all summed over every index...my suspicion is that all 4 terms are the same term...

Certainly the first two terms are identical, and the bottom two are identical. I'm not sure if the top and bottom are identical though.

I hope someone can check this result. It's been a while since I've done much index gymnastics.
 
  • #5
Matterwave said:
Nope, no change in sign for either the metric or the derivatives term. Both are symmetric. Although, since they are all added together...and they are all summed over every index...my suspicion is that all 4 terms are the same term...

Certainly the first two terms are identical, and the bottom two are identical. I'm not sure if the top and bottom are identical though.

I hope someone can check this result. It's been a while since I've done much index gymnastics.

The iTensor program agrees with you. Those terms got amalgamated into 2 after I tidied the symmetry declarations. In fact The four terms in the massless Lagrangian only have 28 terms after canonicalising (?). I can make about 8 cancel, but the program disagrees.

The problems are cause by the programs inabilty to handle a contravariant derivative index. So I have to write ##\partial^\lambda \phi^{\mu\nu}## as ##g^{k\lambda}\partial_k \phi^{\mu\nu}##. When the gauge transformation done the humber of dummy indexes rises to 10. In the canonical form though it drops to 6 which is the same as the untransformed Lagrangian.

This is what I get for the four terms in the first post

##2{g}^{\%1 \%2}\,{g}^{\%3 \%5}\,{g}^{\%4 \%6}\,{X}_{\%1,\%2 \%3}\,{X}_{\%4,\%5 \%6}+2{g}^{\%1 \%2}\,{g}^{\%3 \%6}\,{g}^{\%4 \%5}\,{X}_{\%1,\%2 \%3}\,{X}_{\%4,\%5 \%6}##

(yes, it looks horrible). If we swap ##\%4## and ##\%5## in the first term it is the same as the second. This is the same procedure used to amalgamate the 4 into 2, isn't it ?

I don't know why the program can't see this. If it was legal the first time, why not now ?

All good fun.
 

FAQ: Tensor Calculus Problem: Simplifying Terms with Index Exchange

What is Tensor Calculus?

Tensor Calculus is a branch of mathematics that deals with the manipulation and analysis of objects called tensors, which are mathematical objects that describe the relationship between different coordinate systems.

What is the purpose of Index Exchange in Tensor Calculus?

Index Exchange is a method used in Tensor Calculus to simplify terms by rearranging the indices of tensors in a specific way. This allows for easier manipulation and analysis of tensors.

How does Index Exchange work?

In Index Exchange, the indices of a tensor are swapped according to a specific set of rules. The indices are swapped in a circular pattern, and the number of swaps depends on the number of indices in the tensor. This process allows for the simplification of terms by rearranging the indices in a more convenient way.

What are some common mistakes made when using Index Exchange?

One common mistake is forgetting to account for the sign change that occurs when indices are swapped. Another mistake is not following the correct circular pattern when swapping indices. It is important to carefully follow the rules of Index Exchange to avoid errors in simplifying terms.

How is Tensor Calculus applied in real-world problems?

Tensor Calculus has many applications in physics, engineering, and other fields of science. It is used to describe the properties of physical systems, such as stress and strain in materials, and to solve problems related to fluid mechanics, electromagnetism, and general relativity.

Similar threads

Replies
4
Views
672
Replies
3
Views
508
Replies
1
Views
2K
Replies
1
Views
586
Replies
5
Views
964
Replies
3
Views
367
Replies
1
Views
631
Replies
5
Views
2K
Back
Top