Digi Area Group - Math Tools for Professionals
   Maple and Mathematica packages - math tools for professionals

atlas™ - modern differential geometry for Maple™

> Features List & Examples
> Template Worksheets
> Screenshots
> Documentation & Downloads
> License & Pricing
> Buy Online

 
 
 
 
Google

Features List & Examples  |  Introduction  |  Dimension  |  Indexing  |  Forms  |  Metric  |  atlasWizard - Maplet™

2D Coordinate system changing

  Parabolic coordinate system on a plane

Copyright © 2004-2008 by  DigiArea Group . All rights reserved.

Problem:

Find metric, connection and Laplace operator on a plane in parabolic coordinate system:
   x = (u^2-v^2)/2
   y = u*v

Solution:

Load atlas package:
restart:
with(atlas):

Plane

First of all we have to describe the space we are working in. The space is 2-dimensional Euclidean (flat) space i.e. a plane. To define the space we declare domain, forms, vectors, coframe, frame, flat metric and calculate connection (it equals to zero of cause).
Domain(R^2);

R^2

Forms(e[k]=1);

{e[k]}

Vectors(E[j]);

{E[j]}

Coframe(e[1]=d(x),e[2]=d(y));

[e[1] = d(x), e[2] = d(y)]

Frame(E[k]);

[E[1] = Diff(``,x), E[2] = Diff(``,y)]

Metric(g=d(x)&.d(x)+d(y)&.d(y));

g = `&.`(e[1],e[1])+`&.`(e[2],e[2])

Connection(omega);

omega[i,j]

Now the working space is defined completely and we can start to solve the problem.

Redefine `atlas/simp` procedure to simplify the results:
`atlas/simp`:=proc(a) factor(simplify(a)) end:

Parabolic

"Graph paper" of the coordinate system:
plots[coordplot](parabolic);

[Maple Plot]

Define new domain:
Domain(P);

P

Declare 1-form for the domain coframe
Forms(phi[i]=1);

{phi[i], e[k]}

Declare vectors for the domain frame:
Vectors(Phi[k]);

{Phi[k]}

Declare coframe on the domain:
Coframe(phi[1]=d(u),phi[2]=d(v));

[phi[1] = d(u), phi[2] = d(v)]

Declare frame of the domain:
Frame(Phi[j]);

[Phi[1] = Diff(``,u), Phi[2] = Diff(``,v)]

Declare mapping of the domain into R^2 :
Mapping(pi,P,R^2,
                 x = (u^2-v^2)/2,
                 y = u*v);

pi

P.`--->`.(R^2)

Now we can calculate metric induced on the domain by the mapping.
Metric(G = g &/ pi);

G = (u^2+v^2)*`&.`(phi[1],phi[1])+(u^2+v^2)*`&.`(phi[2],phi[2])

Calculate connection:
Connection(Gamma);

Gamma[i,j]

eval(Gamma);

TABLE([(2, 1) = -1/(u^2+v^2)*v*phi[1]+u/(u^2+v^2)*phi[2], (1, 2) = 1/(u^2+v^2)*v*phi[1]-u/(u^2+v^2)*phi[2], (1, 1) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)*v*phi[2], (2, 2) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)...
TABLE([(2, 1) = -1/(u^2+v^2)*v*phi[1]+u/(u^2+v^2)*phi[2], (1, 2) = 1/(u^2+v^2)*v*phi[1]-u/(u^2+v^2)*phi[2], (1, 1) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)*v*phi[2], (2, 2) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)...
TABLE([(2, 1) = -1/(u^2+v^2)*v*phi[1]+u/(u^2+v^2)*phi[2], (1, 2) = 1/(u^2+v^2)*v*phi[1]-u/(u^2+v^2)*phi[2], (1, 1) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)*v*phi[2], (2, 2) = 1/(u^2+v^2)*u*phi[1]+1/(u^2+v^2)...

Functions(h=h(u,v));

{h}

To calculate Laplace operator one can use grad and div operators.
Delta(h)=div(grad(h));

Delta(h) = 1/(u^2+v^2)*Diff(h,`$`(u,2))+1/(u^2+v^2)*Diff(h,`$`(v,2))