DifferentialGeometry
ComposeTransformations
compose a sequence of two or more transformations
Calling Sequence
Parameters
Description
Examples
ComposeTransformation(Phi1, Phi2, Phi3, ...)
Phi1, Phi2, Phi3
-
transformations
ComposeTransformation(Phi1, Phi2, Phi3, ...) returns the composition of the transformations Phi1, Phi2, Phi3, ..., that is, the transformation Psi = Phi1 o Phi2 o Phi3 .... The domain frame of Phi1 must coincide with the range frame of Phi2, the domain frame of Phi2 must coincide with the range of frame of Phi3, and so on.
This command is part of the DifferentialGeometry package, and so can be used in the form ComposeTransformations(...) only after executing the command with(DifferentialGeometry). It can always be used in the long form DifferentialGeometry:-ComposeTransformations.
with⁡DifferentialGeometry:
Example 1.
Define some manifolds.
DGsetup⁡x,y,M:DGsetup⁡u,v,N:DGsetup⁡t,P:DGsetup⁡x1,x2,x3,Q:
Define transformations F: M -> N; G: P -> M; H: N -> Q.
F≔Transformation⁡M,N,u=3⁢x+2⁢y,v=x−y
F≔u=3⁢x+2⁢y,v=x−y
G≔Transformation⁡P,M,x=cos⁡t,y=sin⁡t
G≔x=cos⁡t,y=sin⁡t
H≔Transformation⁡N,Q,x1=u,x2=v,x3=1
H≔x1=u,x2=v,x3=1
Compute the compositions F o G, H o F and H o F o G.
ComposeTransformations⁡F,G
u=3⁢cos⁡t+2⁢sin⁡t,v=cos⁡t−sin⁡t
ComposeTransformations⁡H,F
x1=3⁢x+2⁢y,x2=x−y,x3=1
ComposeTransformations⁡H,F,G
x1=3⁢cos⁡t+2⁢sin⁡t,x2=cos⁡t−sin⁡t,x3=1
Example 2.
We can express the transformation T: P -> P as the composition of 3 transformations A, B, C.
T≔Transformation⁡P,P,t=sqrt⁡sin⁡t+2
T≔t=sin⁡t+2
A≔Transformation⁡P,P,t=sin⁡t
A≔t=sin⁡t
B≔Transformation⁡P,P,t=t+2
B≔t=t+2
C≔Transformation⁡P,P,t=sqrt⁡t
C≔t=t
S≔ComposeTransformations⁡C,B,A
S≔t=sin⁡t+2
Tools:-DGequal⁡T,S
true
Example 3.
We can check that the transformation K is the inverse of the transformation F.
K≔Transformation⁡N,M,x=25⁢v+15⁢u,y=15⁢u−35⁢v
K≔x=2⁢v5+u5,y=u5−3⁢v5
ComposeTransformations⁡F,K
u=u,v=v
ComposeTransformations⁡K,F
x=x,y=y
Example 4.
If pi: E -> M is a fiber bundle, then a section s of E is a transformation s: M -> E such that pi o s = identity on M.
Check that the map s is a section for E.
DGsetup⁡u,v,w,E:DGsetup⁡x,y,M:
pi≔Transformation⁡E,M,x=u⁢v+w2,y=u2+w2
π≔x=u⁢v+w2,y=u2+w2
s≔Transformation⁡M,E,u=sqrt⁡y,v=xsqrt⁡y,w=0
s≔u=y,v=xy,w=0
ComposeTransformations⁡pi,s
See Also
Tools
ApplyTransformation
DGequal
InverseTransformation
Transformation
PDEtools[dchange]
Physics[TransformCoordinates]
Physics
Download Help Document