Recall that if V is a vector space, then a metric tensor of V is an element g∈V∗⊗V∗, that is symmetric and positive definite, i.e.
(symmetric) for any v,w∈V, g(v,w)=g(w,v).
(positive definite), for any v∈V and v=0, g(v,v)>0.
If we have a basis {ei} for V, and corresponding dual basis {hi} for V∗, then the metric tensor can be written as
g=i,j=1∑ngijhi⊗hj,gij=g(ei,ej). Note: if someone give you a vector space (over R), then by default, it does not come equipped with
a metric tensor. The data of a metric tensor is upto your choice.
Recall that for any point p∈Rn, TpRn is the tangent space at p. We define a metric tensor at point p to be a metric tensor gp for the vector space TpRn.
Note: that, for two distinct points p,q∈Rn, TpRn and TqRn do not “talk to each other”, and gp and gq has nothing to do with each other.
If we have a basis {ei(p)}i=1n for the tangent space TpRn, then we can write the metric tensor in components. We denote
gij(p)=gp(ei(p),ej(p)).
One can think of gij(p) as an n by n matrix, whose entries depends on p.
Example 1: Flat space R3 in Cartesian coordinate
This is the space that we live in, hence the most important one in some sense.
Let (x,y,z) be the Cartesian coordinate system on R3. For a point p∈R, we can
have a basis ∂x∣p,∂y∣p,∂z∣p of TpR3. The metric tensor gp of TpR3 is defined by the following rules
gp(∂x∣p,∂x∣p)=1,gp(∂y∣p,∂y∣p)=1,gp(∂z∣p,∂z∣p)=1
and all other components are zero, i.e.
gp(∂x∣p,∂y∣p)=gp(∂x∣p,∂z∣p)=gp(∂y∣p,∂z∣p)=0.
If we call e1(p)=∂x∣p,e2(p)=∂y∣p,e3(p)=∂z∣p, then we have gij(p)=δij. This is a special case that, the components gij(p) does not depends on p.
Notation : I will sometimes omit the dependence of p, and write ∂x instead of ∂x∣p, ei instead of ei(p).
What can a metric tensor do? It can measure the length of a tangent vector. For example, suppose v=(1,0,2)∈TpR3, and w=(2,1,1)∈TpR3, then we can compute
gp(v,w)=gp(e1+2e3,2e1+e2+e3)=gp(e1,2e1)+gp(2e3,e3)=2+2=4
of course, you can say this gives the same answer as
(1,0,2)⋅(2,1,1)=1⋅2+0⋅1+2⋅1=2+2=4.
So far, all familar stuff, maybe a bit boring. Let's look at some other examples.
Example 2: Flat space R3 in Cylindrical coordinate
We use cylindrical coordinate (r,θ,z). We will first write down the coordinate transformation matrix with the Cartesian coordinate (x,y,z′) (To avoid using the z variable twice, we denote this second z as z′, just for clarity of notation.)
The transformation rule is
r=x2+y2,θ=arctan(y/x),z=z′
and the transformation rule in the other direction is
x=rcosθ,y=rsinθ,z′=z.
Then for a point p∈R3, we can write down the change of basis rule for TpR3, between {∂r,∂θ,∂z and ∂x,∂y,dz′.
∂r=∂r∂x∂x+∂r∂y∂y+∂r∂z′∂z′=cosθ∂x+sinθ∂y∂θ=∂θ∂x∂x+∂θ∂y∂y+∂θ∂z′∂z′=−rsinθ∂x+rcosθ∂y∂z=∂z∂x∂x+∂z∂y∂y+∂z∂z′∂z′=∂z′
I wrote all the intermediate step there, just to show that, the formula is quite straightforward, and you just need to take the partial derivatives to get the coefficients in the expansions.
Now, we can write down the various components of the metric tensor g in the new basis
g(∂r,∂r)=g(cosθ∂x+sinθ∂y,cosθ∂x+sinθ∂y)=(cosθ)2+(sinθ)2=1g(∂r,∂θ)=g(cosθ∂x+sinθ∂y,−rsinθ∂x+rcosθ∂y)=cosθ⋅(−rsinθ)+sinθ⋅(rcosθ)=0
The computation used bilinearity of g (linear in each slot), and the components of g in ∂x,∂y,∂z.
And I summarize the rest:
g(∂θ,∂θ)=r2,g(∂z,∂z)=1,g(∂r,∂z)=0,g(∂z,∂θ)=0.
Example 3: flat R3 in spherical coordinates
Exercise, repeat what we do for the cylindrical coordinate.
Example 4: A wavy surface
Let f(x,y)=sin(x)sin(y), and let Γf be its graph, that is
Γf={(x,y,z)∈R3∣z=f(x,y)}.
Here is a picture, plotted using Wolfram alpha
Parametrization of Γf, we will parametrize points on Γf using its (x,y) coordinates, to be clear, we call them (u,v). That is
ϕ:Γf→Ru,v2,u(x,y,z)=x,v=(x,y,z)=y.
And since ϕ is 1-to-1, we can have the inverse
ϕ−1:Ru,v2→Γf,x(u,v)=u,y(u,v)=v,z(u,v)=sin(u)sin(v).
We will define a metric on Ru,v2. For a point p∈Ru,v2, and tangent vectors ∂u and ∂v, they corresponds to point P=ϕ−1(p)∈Γf, and tangent vectors ϕ∗−1(∂u) and ϕ∗−1(∂v) in TPΓf. The notations are horrible, but hopefully the formulas are not so bad:
ϕ∗−1(∂u)=∂u∂x∂x+∂u∂y∂y+∂u∂z∂z=∂x+cos(u)sin(v)∂zϕ∗−1(∂v)=∂v∂x∂x+∂v∂y∂y+∂v∂z∂z=∂y+sin(u)cos(v)∂z
Then, we are in business. We can compute the metric tensor gp on TpR2, using the metric tensor gP of TPΓf, which is the same as gP of TPR3, since Γf sits inside R3.
gp(∂u,∂u)=gP(ϕ∗−1(∂u),ϕ∗−1(∂u))=g(∂x+cos(u)sin(v)∂z,∂x+cos(u)sin(v)∂z)=1+cos(u)2sin(v)2
similarly
gp(∂v,∂v)=1+sin(u)2cos(v)2
and the “mix term”
gp(∂u,∂v)=g(∂x+cos(u)sin(v)∂z,∂y+sin(u)cos(v)∂z)=cos(u)sin(u)cos(v)sin(v).
math121b/02-05.txt · Last modified: 2020/02/06 00:36 by pzhou