Documente Academic
Documente Profesional
Documente Cultură
Hai-Anh Le
National University of Singapore
H. A. Le (NUS)
1 / 29
Outline
Motivation
Euler Angles
Quaternions
H. A. Le (NUS)
2 / 29
Outline
Motivation
Euler Angles
Quaternions
H. A. Le (NUS)
3 / 29
Motivation
Why study this?
To construct ab initio potential energy surfaces for water clusters (H2 O)n , n=24.
1
1 Bowman J. M. et al.,J. Chem. Phys. 2009,131,054511. H. A. Le (NUS) Rotations in 3D Euclidean space August 24, 2011 4 / 29
Before we start...
Water molecules are treated as rigid bodies Six independent coordinates are required to specify the conguration of a rigid body, no matter how many particles it may contain. 2
H. Goldstein, C. Poole and J. Safko, Classical Mechanics, 3rd Ed. Allison-Wesley, New York, 2002. H. A. Le (NUS) Rotations in 3D Euclidean space August 24, 2011 5 / 29
Handley C. M. and Popelier P. L. A., J. Chem. Theory Comput. 2009, 5, 14741489. H. A. Le (NUS) Rotations in 3D Euclidean space August 24, 2011 6 / 29
H. A. Le (NUS)
7 / 29
Fact
Transformation from a given Cartesian coordinate system to another can be carried out by means of three successive rotations performed in a specic sequence. a
a Goldstein H., Poole C. and Safko J., Classical Mechanics, 3rd Ed. Allison-Wesley, New York, 2002.
H. A. Le (NUS)
8 / 29
Outline
Motivation
Euler Angles
Quaternions
H. A. Le (NUS)
9 / 29
Euler angles
Denition
Three successive angles of rotation (, , ).
12 possible conventions: zxz, zyz, xyz... Total transformation matrix: R(, , ) = A = BCD
H. A. Le (NUS)
10 / 29
Euler angles
H. A. Le (NUS)
11 / 29
Euler angles
e.g., x-convention:
cos D= sin 0 0 C = 0 0 sin cos 0 0 0 1
0 cos sin
1 sin cos 0 0 1
cos B = sin 0
sin cos 0
cos cos cos sin sin A = BCD sin cos cos sin cos sin sin
cos sin + cos cos sin sin sin + cos cos cos sin cos
H. A. Le (NUS)
12 / 29
4 5 6
Benoit D. M. and Clary D. C, J. Chem. Phys. 2000 , 113, 51935200 Chihaia V. et al. Revue Roumaine de Chimie, 2007, 52, 795808 Evans D. J and Murad S. Mol. Phys. 1977, 34, 327331. H. A. Le (NUS) Rotations in 3D Euclidean space August 24, 2011 13 / 29
7 Watt A. and Watt M., Advanced Animation and Rendering Techniques - Theory and Practice, Addison-Wesley, New York, 1996. H. A. Le (NUS) Rotations in 3D Euclidean space August 24, 2011 14 / 29
A parametrization of rotation that guarantees a simple steady rotation between any two orientations denes moves that are independent of the choice of the coordinate system requires low computational cost to perform rotations
H. A. Le (NUS)
15 / 29
Outline
Motivation
Euler Angles
Quaternions
H. A. Le (NUS)
16 / 29
Eulers theorem
The general displacement of a rigid body with one point xed is a rotation about some axis.
Rodrigues formula
r = Rr = (cos )r + (1 cos )n(n r) + (sin )n r
H. A. Le (NUS)
17 / 29
The derivation...
H. A. Le (NUS)
18 / 29
Outline
Motivation
Euler Angles
Quaternions
H. A. Le (NUS)
19 / 29
Quaternions
Denition
q = (s, v) = s + vx i + vy j + vz k = (s, (vx , vy , vz ))
real imaginary
i 2 = j 2 = k 2 = ijk = 1
H. A. Le (NUS)
20 / 29
Quaternion algebra
q1 = s1 + v1 and q2 = s2 + v2
Multiplication rule
q1 q2 = (s1 + v1 )(s2 + v2 ) = (s1 s2 v1 v2 ) + (s1 v2 + s2 v1 + v1 v2 ) H
real imaginary
q1 q2 = q2 q1
H. A. Le (NUS)
21 / 29
A special subgroup...
The unit quaternion group is related to the group of rotation.
z : q R SO(3)
Denitions
Conjugate: q = (s, v) Maginitude: |q2 | = q = (s, v)(s, v) = s 2 + |v|2 q Pure quaternion: p = (0, r) Hp Unit quaternion: q = (s, v): q = 1 ( = q1 ) q q
H. A. Le (NUS)
22 / 29
Multiplication rule
q1 q2 = (s1 s2 v1 v2 , s1 v2 + s2 v1 + v1 v2 ) q H : |q| = 1 p Hp Rq (p) = qpq1 = (s, v)(0, r)(s, v)
H. A. Le (NUS)
23 / 29
We can write q = (cos , n sin ), |n| = 1 (as |q| = 1) = Rq (p) = (0, (cos 2)r + (1 cos 2)n(n r) + (sin 2)n r) Hp
rotation of a vector r about an axis n
H. A. Le (NUS)
24 / 29
q = (X , (Y , W , Z )) (, , )
2 2 2 2
+ 2 2 2 + 2
H. A. Le (NUS)
25 / 29
x-roll of (cos(/2)), sin(/2)(1, 0, 0)) = (0, (1, 0, 0)) y -roll of and z-roll of (0, (0, 1, 0))(0, (0, 0, 1)) = (0, (0, 1, 0) (0, 0, 1)) = (0, (1, 0, 0))
H. A. Le (NUS)
26 / 29
H. A. Le (NUS)
27 / 29
1 z
0 0 q 0 1
H. A. Le (NUS)
28 / 29
References
Evans D. J, Mol. Phys. 1977, 34, 317-325. Evans D. J and Murad S. Mol. Phys. 1977, 34, 327331. Watt A. and Watt M., Advanced Animation and Rendering Techniques Theory and Practice, Addison-Wesley, New York, 1996. Benoit D. M. and Clary D. C, J. Chem. Phys. 2000 , 113, 51935200. Goldstein H., Poole C. and Safko J., Classical Mechanics, 3rd Ed. Allison-Wesley, New York, 2002. Chihaia V. et al. Revue Roumaine de Chimie, 2007, 52, 795808. Handley C. M. and Popelier P. L. A., J. Chem. Theory Comput. 2009, 5, 14741489.
H. A. Le (NUS)
29 / 29