CovariantDerivative - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Tensor[CovariantDerivative] - calculate the covariant derivative of a tensor field with respect to a connection

Calling Sequences

     CovariantDerivative(T, C1, C2)

Parameters

   T    - a tensor field

   C1   - a connection

   C2   - (optional) a second connection, needed when the tensor T is a mixed tensor defined on a vector bundle

 

Description

Examples

See Also

Description

• 

Let M be a manifold, let ∇ be a linear connection on the tangent bundle of M, and let T be a tensor field on M. The covariant derivative of T with respect to ∇ is ∇T=∇EiT⊗θi , where the vector fields E1,E2,...,En define a local frame on M with dual coframe θ1,θ2,...,θn. The tensor ∇EiT is the directional covariant derivative of T with respect to ∇ in the direction of Ei . The definition of the covariant derivative for sections of a vector bundle E→M and for mixed tensors on E is similar.

• 

This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form CovariantDerivative(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-CovariantDerivative.

Examples

> 

with⁡DifferentialGeometry:with⁡Tensor:

 

Example 1.

First create a 2 dimensional manifold M and define a connection C1 on the tangent space of M.

> 

DGsetup⁡x,y,M

frame name: M

(2.1)
> 

C1≔Connection⁡a⁢D_x&tdx&tdy−b⁢D_x&tdy&tdy+c⁢D_y&tdy&tdx

C1:=a⁢D_x⁢dx⁢dy−b⁢D_x⁢dy⁢dy+c⁢D_y⁢dy⁢dx

(2.2)

 

Define some tensor fields and compute their covariant derivatives with respect to C1.

> 

T1≔evalDG⁡y2⁢D_x

T1:=y2⁢D_x

(2.3)
> 

CovariantDerivative⁡T1,C1

a⁢y2+2⁢y⁢D_x⁢dy

(2.4)
> 

T2≔evalDG⁡y⁢x⁢dx

T2:=y⁢x⁢dx

(2.5)
> 

CovariantDerivative⁡T2,C1

y⁢dx⁢dx−a⁢y⁢x−x⁢dx⁢dy+b⁢y⁢x⁢dy⁢dy

(2.6)
> 

T3≔evalDG⁡x⁢dx&tD_y&tdx

T3:=x⁢dx⁢D_y⁢dx

(2.7)
> 

CovariantDerivative⁡T3,C1

−b⁢x⁢dx⁢D_x⁢dx⁢dy+c⁢x+1⁢dx⁢D_y⁢dx⁢dx−2⁢a⁢x⁢dx⁢D_y⁢dx⁢dy+b⁢x⁢dx⁢D_y⁢dy⁢dy+b⁢x⁢dy⁢D_y⁢dx⁢dy

(2.8)

 

To obtain a directional covariant derivative in the direction of a vector field X from the covariant derivative, contract the last index of the covariant derivative against the vector field.

> 

X≔D_x

X:=D_x

(2.9)
> 

DirectionalCovariantDerivative⁡X,T3,C1

c⁢x+1⁢dx⁢D_y⁢dx

(2.10)
> 

ContractIndices⁡convert⁡X,DGtensor,CovariantDerivative⁡T3,C1,1,4

c⁢x+1⁢dx⁢D_y⁢dx

(2.11)

 

Example 2.

Define a frame on M and use this frame to specify a connection C2 on the tangent space of M.

> 

FR≔FrameData⁡dxy,dyx,M1

FR:=d⁢Θ1=x⁢Θ1⁢⋀⁢Θ2y,d⁢Θ2=−y⁢Θ1⁢⋀⁢Θ2x

(2.12)
> 

DGsetup⁡FR

frame name: M1

(2.13)
> 

C2≔Connection⁡E2&tΘ1&tΘ2

C2:=E2⁢Θ1⁢Θ2

(2.14)

 

Define some tensor fields and compute their covariant derivatives with respect to C2.

> 

T4≔Θ2

T4:=Θ2

(2.15)
> 

CovariantDerivative⁡T4,C2

−Θ1⁢Θ2

(2.16)
> 

T5≔evalDG⁡Θ2&tE1&tE2

T5:=Θ2⁢E1⁢E2

(2.17)
> 

CovariantDerivative⁡T5,C2

−Θ1⁢E1⁢E2⁢Θ2+Θ2⁢E2⁢E2⁢Θ2

(2.18)

 

Example 3.

First create a rank 3 vector bundle E→M and define a connection C3 on E.

> 

DGsetup⁡x,y,u,v,w,E

frame name: E

(2.19)
> 

C3≔Connection⁡x⁢D_v&tdu&tdy−y⁢D_u&tdv&tdx

C3:=−y⁢D_u⁢dv⁢dx+x⁢D_v⁢du⁢dy

(2.20)
> 

T6≔evalDG⁡du&tD_v

T6:=du⁢D_v

(2.21)
> 

CovariantDerivative⁡T6,C3

−y⁢du⁢D_u⁢dx+y⁢dv⁢D_v⁢dx

(2.22)

 

To covariantly differentiate a mixed tensor on E, a connection on M is also needed.

> 

C4≔Connection⁡D_x&tdy&tdx:

> 

T7≔evalDG⁡dx&tD_y&tdu&tD_v:

> 

CovariantDerivative⁡T7,C4,C3

dx⁢D_x⁢du⁢D_v⁢dx−y⁢dx⁢D_y⁢du⁢D_u⁢dx+y⁢dx⁢D_y⁢dv⁢D_v⁢dx−dy⁢D_y⁢du⁢D_v⁢dx

(2.23)

See Also

DifferentialGeometry, Tensor, Christoffel, Physics[Christoffel], Connection, ContractIndices, CurvatureTensor, Physics[Riemann], DirectionalCovariantDerivative