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

Online Help

All Products    Maple    MapleSim


DifferentialGeometry

  

ComplementaryBasis

  

extend a basis for a subspace to a basis for a larger subspace

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ComplementaryBasis(S, T)

Parameters

S, T

-

lists of vectors, differential p-forms, or tensors (of the same type)

Description

• 

The procedure ComplementaryBasis(S, T) returns a list C of vectors, differential p-forms or tensors such that the span of [S, C] equals the span of the vectors, differential p-forms or tensors  defined by T.

• 

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

Examples

> 

with⁡DifferentialGeometry:

Initialize a 5-dimensional manifold M with coordinates [x, y, z, u, v].

> 

DGsetup⁡x,y,z,u,v,M:

 

Example 1.

> 

S1≔D_x,D_y

S1≔D_x,D_y

(1)
> 

T1≔D_x,D_y,D_z

T1≔D_x,D_y,D_z

(2)
> 

C1≔ComplementaryBasis⁡S1,T1

C1≔D_z

(3)

 

Example 2.

Note that a basis for S2 is [D_x, D_y] and a basis for T2 is [D_x, D_y, D_x + D_z, D_u].

> 

S2≔D_x,D_y,D_x+D_y

S2≔D_x,D_y,D_x+D_y

(4)
> 

T2≔evalDG⁡D_x,D_y,D_x+D_z,D_x−D_y,D_z,D_u

T2≔D_x,D_y,D_x+D_z,D_x−D_y,D_z,D_u

(5)
> 

C2≔ComplementaryBasis⁡S2,T2

C2≔D_x+D_z,D_u

(6)

 

Example 3.

In most applications the subspace spanned by the first argument S will be a subspace of the span of the second argument T.  However, the procedure works in the more general context described above.

> 

S3≔D_x,D_y

S3≔D_x,D_y

(7)
> 

T3≔D_x,D_u,D_v

T3≔D_x,D_u,D_v

(8)
> 

C3≔ComplementaryBasis⁡S3,T3

C3≔D_u,D_v

(9)

 

Example 4.

The command ComplementaryBasis works with differential forms.

> 

S4≔evalDG⁡dx&wdy,dx&wdz

S4≔dx⁢⋀⁢dy,dx⁢⋀⁢dz

(10)
> 

T4≔evalDG⁡dx&wdy,dx&wdz,dx&wdu,dy&wdv

T4≔dx⁢⋀⁢dy,dx⁢⋀⁢dz,dx⁢⋀⁢du,dy⁢⋀⁢dv

(11)
> 

C4≔ComplementaryBasis⁡S4,T4

C4≔dx⁢⋀⁢du,dy⁢⋀⁢dv

(12)

 

Example 5.

The command ComplementaryBasis works with tensors.

> 

S5≔evalDG⁡dx&tD_y,dx&tD_z

S5≔dx⁢D_y,dx⁢D_z

(13)
> 

T5≔evalDG⁡dx&tD_y,dx&tD_z,dx&tD_u,dy&tD_v

T5≔dx⁢D_y,dx⁢D_z,dx⁢D_u,dy⁢D_v

(14)
> 

C5≔ComplementaryBasis⁡S5,T5

C5≔dx⁢D_u,dy⁢D_v

(15)

See Also

DifferentialGeometry

Tools

CanonicalBasis

DGbasis

DualBasis