ROTATION OF A CUBE VERTEX

Last Update 24/ 9/ 2014

in Portuguese
 











The 3D computation display on the figure above represents a rotation of vertex P2 of the cube with Cartesian coordinates 5; 10; 10 about the cube diagonal in red that is defined by vertices P0 (5; 0; 0) and P1 (-5; 10; 10). The course of point P2 is shown by a regular sequence of colored disks projected until the 120o rotation is completed. After the rotation angle of 120o is executed P2 will shift to P3 (-5; 10; 0). The Cartesian coordinates along x, y and z for the vertices of the cube are listed in blue on the left side of the figure.

However the computer performs 8 steps to complete the rotation, as explained in the following text.

Consider the following:
 

x, y, z = Cartesian frame of reference with origin at o.

P0, P1 = Two points used to define the rotation axis coincident with the diagonal of the cube.

P2 = Point to be turned 120o.

Tabel-1.Initial coordinates
 
Point x y z
P0 5 0 0
P1 -5 10 10
P2 5 10 10

Step-1. Shift point P0 to the origin after displacing it -5x; 0y; 0z.
Do the same for P1 and P2.

Table-2.Coordinates obtained after step-1.
 
Point x y z
P0' 0 0 0
P1' -10 10 10
P2' 0 10 10

Step-2. Rotate = 45o about the reference line x and obtain P1' on plane xy.
Do the same for P1 and P2.

Apply the rotation matrix

Table-3.Coordinates obtained after step-2.
 
Point x y z
P0'' 0 0 0
P1'' -10 0 10 * (21/2)
P2'' 0 0 10 * (21/2)

Step-3. Calculate the rotation angle for the line segment oP1''  to bring point P1'' on the reference line z .


Step-4. Rotate point P1'' and point P2''  35,264o about the reference line y.

Apply the rotation matrix

Table-4.Coordinates obtained after step-4.
 
Point x y z
P0''' 0 0 0
P1''' 0 0 17,321
P2''' 8,1650 0 11,547

Step-5. Execute the selected rotation  = 120o on point P2''' about the reference line z.

Apply the rotation matrix

Table-5. Coordinates of point P2iv obtained after step-5.
 
Ponto x y z
P2iv -4,0825 7,0711 11,547

Step-6. Revert: rotate point P2iv  -35,264o about  the reference line y.

Table-6. Coordinates of point P2v obtained after step-6.
 
Ponto x y z
P2v -9,9999 7,0711 7,0711

Step-7. Revert: rotate point P2v  -45o about the reference line x.

Table-7. Coordinates of point P2vi obtained after step-7.
 
Point x y z
P2vi -10 10 0

Step-8. Revert: shift point P2vi displacing it  +5x; 0y; 0z to the final position.

Table-8. Coordinates of point P2vii obtained after step-8. Rotation done.
 
Point x y z
P2vii -5 10 0

Conclusion

Point P2vii and point P3 coincide.

Note

The program of this page was obtained with the help of the resource Rotation of Objects About an Arbitrary Axis.

Exercise

Use the above mentioned resource to obtain the final Cartesian coordinates for initial point P2 ( 5; 10; 10 )  after rotation at first equal to 120o and after rotation equal to -120o and after rotation of 240o about the same axis defined by points P0 (5; 0; 0) and P1 (-5; 10; 10). Write your conclusion. Suggestion: use x[0] = 5; y[0] = 10; z[0] = 10 and x[1] = 5; y[1] = 10; z[1] = 10 because the resource program demands at least two points to define a segment, in this case the segment has length equal zero.

Reference

Fundamentals of Crystallography, Edited by C. GIACOVAZZO, Second Edition, Oxford University Press, Great Britain, 2002.

Please send your comments.

Table of subjects.
Presentation
Chemistry Analytical Chromatography
Elemental organic analysis
Volumetric analysis, simulation
Crystallography 3 fold screw axis
4 fold inversion axis on tetrahedron
5 fold rotation axis absent in crystallography
Binary axis and reflection plane in stereographic projection
Bravais lattices
c2mm
c2mm Unit cell origin hunter
Conic sections under symmetry operators
Converting from spherical coordinates to stereographic projection
Crystal lattice and unit cell
Determination of unit cell
Elements of symmetry in action - animation
Elements of symmetry in action - cube game
Elements of symmetry in action - dodecahedron game
Elements of symmetry in action - icosahedron game
Elements of symmetry in action - octahedron game
Elements of symmetry in action - tetrahedron game
Ewald sphere and crystal measurements
Extinctions
Five classes in the cubic system
Five classes in the rhombohedral system
From tetrahedron to prism
Gnomonic projection
Improper symmetry axis
Miller indices
Miller indices - animation
Miller indices - cube game
Miller indices - octahedron game
Miller indices - rhombic dodecahedron game
Miller indices - tetrahedron game
Mirror plane
Mirror planes and Miller indices game - tetrahedron
Octahedral and tetrahedral hole
Orientations of the cube
p2gg
p2mm
Plane symmetry groups
Question on point group
Rotation axis in octahedron and Werner compounds
Rotation axis on tetrahedron and organic molecules
Rotation of a cube vertex
Rotation of objects about an arbitrary axis
Rotation of the parallel and stereographic projections of the cube
Rotation of the stereographic and parallel projection of the cube III
Seven faces in stereographic projection
Seven classes in the hexagonal system
Seven classes in the tetragonal system
Six elements of symmetry in seven orientations
Spherical projection of the octahedron
Stereographic projection
Stereographic projection of six polyhedra in different orientations
Straight line equations and symmetry elements
Symmetry, 2 fold axis
Symmetry, 2, 3 and 6 fold axis in benzene
Symmetry, 3 fold axis in the cube
Symmetry, 4 fold axis in the cube
Symmetry, 4 fold axis in the unit cell of gold
Symmetry elements and Miller indices game
Symmetry elements and Miller indices game - octahedron
Symmetry in art and in crystallography
Three classes in the monoclinic system
Three classes in the orthorhombic system
Twin crystals
Two classes in the triclinic system
Unit cell in hexagonal net
General Butane conformations
Density
Electrochemical cell
Ethane conformations
Oxidation and reduction
Resources of chemical-ICT: water, health and symmetry
Solid and liquid gold