Covariant/contravariant transform and metric tensor

Click For Summary
The discussion revolves around the transformation matrices H and M, with G as the metric tensor and G-1 as its inverse. The user initially computes H from G and M but struggles to revert back to M using G-1, suspecting an error in their calculation of G-1. It is clarified that the determinant of G is 1/sin²α, leading to the correct form of G-1 as sin²α times a specific matrix. Once the correct G-1 is used, the user successfully obtains the identity matrix when multiplying G and G-1, resolving the initial confusion. The conversation emphasizes the relationships between contravariant and covariant transformations and the role of the metric tensor in these transformations.
nigelscott
Messages
133
Reaction score
4
H is a contravariant transformation matrix, M is a covariant transformation matrix, G is the metric tensor and G-1 is its inverse. Consider an oblique coordinates system with angle between the axes = α

I have G = 1/sin2α{(1 -cosα),(-cosα 1)} <- 2 x 2 matrix

I compute H = G*M where M = {(1 0), (cosα sinα)} and get H = {(1 -1/tanα),(0 1/sina)} which is what I expect.

Now I want go from H back to M so I compute M = G-1H

So by my reckoning G-1 = 1/sin4α{(1 cosα),(cosα 1)}

But when I multiply G-1 and H I don't get back to M. The is a 1/sin4α multiplying the whole thing.
What am I missing?
 
Mathematics news on Phys.org
When you say G is the metric tensor, the metric tensor converts contravariant to covariant? Or is it the other way around?

Actually, I think it's pretty clear that the issue is with your computed G^{-1}. The operator G has determinant 1. You've got an extra factor of 1/\sin^2 \alpha for some reason. Did you forget the prefactor from G somewhere?
 
Last edited:
contravariant = G * covariant
covariant = G-1 * contravariant

If G = 1/sin2α{(1 -cosα),(-cosα 1)}

then wouldn't G-1 = (1/sin2α)(1/|detG|){(1 +cosα),(+cosα 1)}

which gives 1/sin4α{(1 +cosα),(+cosα 1)}

Now if I compute GG-1 I get 1/sin4{(sin2α 0),(0 sin2α)} which is equivalent to 1/sin2α{(1 0),(0 1)}

So I get the identity matrix multiplied by 1/sin2α which doesn't add up.

Incidentally, this question came up as a result of watching this video http://www.youtube.com/watch?v=qDLmJE2bOy4
 
nigelscott said:
contravariant = G * covariant
covariant = G-1 * contravariant

If G = 1/sin2α{(1 -cosα),(-cosα 1)}

then wouldn't G-1 = (1/sin2α)(1/|detG|){(1 +cosα),(+cosα 1)}

which gives 1/sin4α{(1 +cosα),(+cosα 1)}

You're saying \det G = 1/\sin^2 \alpha? Because it's not.
 
No, I thought I had 1/|detG| where |detG| = 1 - cos2α = sin2α
 
It's not \sin^2 \alpha either. Why don't you go through the whole calculation of the determinant?
 
G = 1/sin2a{(1 -cosa),(-cosa 1)} = {(1/sin2a -cosa/sin2a),(-cosa/sin2a 1/sin2a)}
detG = 1/sin4a - cos2a/sin4a = 1/sin2a
Thus, 1/|detG| = sin2a
So G-1 = sin2a{(1 +cosa),(+cosa 1)}
Now GG-1 does equal the identity matrix. Am I good so far? If so I will return to my original question in the next post.
 
Okay, now that you're getting the identity for GG^{-1}, I expect the problems you were having will be resolved.
 
Yes, I got it to work when I used the form G-1 = sin2α(1 +cosα),(+cosα 1)}. If I use G-1 = {(sin2α +cosα.sin2α),(cosα.sin2α,1)} it doesn't.
 

Similar threads

Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K