Coordinate system changing
Parabolic coordinate system on a plane
Problem:
Find metric, connection and Laplace operator on a plane in parabolic coordinate systems:
x = (u^2-v^2)/2
y = u*v
Solution:
Load atlas package:
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 is equal to zero of course).
 | (2.1.1) |
![{e[k]}](Maple/atlas/Templates/images/parabolic_2.gif) | (2.1.2) |
![{E[j]}](Maple/atlas/Templates/images/parabolic_3.gif) | (2.1.3) |
| > | Coframe(e[1]=d(x),e[2]=d(y)); |
![[e[1] = d(x), e[2] = d(y)]](Maple/atlas/Templates/images/parabolic_4.gif) | (2.1.4) |
![[E[1] = Diff(``, x), E[2] = Diff(``, y)]](Maple/atlas/Templates/images/parabolic_5.gif) | (2.1.5) |
| > | Metric(g=d(x)&.d(x)+d(y)&.d(y)); |
![g = `+`(`&.`(e[1], e[1]), `&.`(e[2], e[2]))](Maple/atlas/Templates/images/parabolic_6.gif) | (2.1.6) |
![omega[i, j]](Maple/atlas/Templates/images/parabolic_7.gif) | (2.1.7) |
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
First of all we plot "graph paper" of the coordinate system:
| > | plots[coordplot](parabolic); |
Define new domain:
Domain(P);
 | (2.2.1) |
Declare 1-form for the domain coframe
Forms(phi[i]=1);
![{e[k], phi[i]}](Maple/atlas/Templates/images/parabolic_10.gif) | (2.2.2) |
Declare vectors for the domain frame:
Vectors(Phi[k]);
![{Phi[k]}](Maple/atlas/Templates/images/parabolic_11.gif) | (2.2.3) |
Declare coframe on the domain:
Coframe(phi[1]=d(u),phi[2]=d(v));
![[phi[1] = d(u), phi[2] = d(v)]](Maple/atlas/Templates/images/parabolic_12.gif) | (2.2.4) |
Declare frame of the domain:
Frame(Phi[j]);
![[Phi[1] = Diff(``, u), Phi[2] = Diff(``, v)]](Maple/atlas/Templates/images/parabolic_13.gif) | (2.2.5) |
Declare mapping of the domain into
:
Mapping(pi,P,R^2,
x = (u^2-v^2)/2,
y = u*v);
 |
 | (2.2.6) |
Now we can calculate metric induced on the domain by the mapping.
![G = `+`(`*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2))), `*`(`&.`(phi[1], phi[1]))), `*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2))), `*`(`&.`(phi[2], phi[2]))))](Maple/atlas/Templates/images/parabolic_17.gif) | (2.2.7) |
Calculate connection:
Connection(Gamma);
![Gamma[i, j]](Maple/atlas/Templates/images/parabolic_18.gif) | (2.2.8) |
![table( [( 2, 2 ) = `+`(`/`(`*`(u, `*`(phi[1])), `*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2))))), `/`(`*`(v, `*`(phi[2])), `*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2)))))), ( 1, 2 ) = `+`(`/`(`*`(v, `*`(phi[1])), ...](Maple/atlas/Templates/images/parabolic_19.gif)
![table( [( 2, 2 ) = `+`(`/`(`*`(u, `*`(phi[1])), `*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2))))), `/`(`*`(v, `*`(phi[2])), `*`(`+`(`*`(`^`(u, 2)), `*`(`^`(v, 2)))))), ( 1, 2 ) = `+`(`/`(`*`(v, `*`(phi[1])), ...](Maple/atlas/Templates/images/parabolic_20.gif) | (2.2.9) |
 | (2.2.10) |
To calculate Laplace operator one can use grad and div operators.
 | (2.2.11) |