Rotating a Cube

Rotating a Cube
Loading the math board and drawing, please wait…
2020-10-17 05:02
This example demonstrates the rotation of a cube in three-dimensional space, highlighting the relationship between the rotation axis, rotation angle, and edge length. Key mathematical concepts include geometric transformations, coordinate geometry, and solid geometry. Construction involves using GeoGebra commands such as Dilate, PT, Polygon, and Segment to create the rotated cube. Suitable for high school students or college freshmen to learn geometric transformations and spatial visualization skills.

GeoGebra Commands & Parameters

  1. Dilate((Element[m1, 1, 1], Element[m1, 2, 1], Element[m1, 3, 1]), 1 + Element[m1, 4, 1]) → A
  2. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * m1)) → A'
  3. PT(m2) → B
  4. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * m2)) → B'
  5. PT(mC) → C
  6. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mC)) → C'
  7. PT(mD) → D
  8. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mD)) → D'
  9. Polygon(A', B', C', D') → q1, a', b', c', d'
  10. PT(mAb) → Ab
  11. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mAb)) → Ab'
  12. PT(mBb) → Bb
  13. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mBb)) → Bb'
  14. Polygon(A', B', Bb', Ab') → q2, f, g, bb', ab'
  15. PT(mCb) → Cb
  16. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mCb)) → Cb'
  17. Polygon(C', B', Bb', Cb') → q3, h, i, j, cb'
  18. PT(mDb) → Db
  19. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mDb)) → Db'
  20. Polygon(C', D', Db', Cb') → q4, k, l, db', m
  21. Polygon(A', D', Db', Ab') → q5, n, p, q, r
  22. Polygon(Bb', Cb', Db', Ab') → q6, s, t, a, b
  23. PT(mAi) → Ai
  24. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mAi)) → Ai'
  25. PT(mBi) → Bi
  26. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mBi)) → Bi'
  27. Segment(Ai', A') → c
  28. PT(mCi) → Ci
  29. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mCi)) → Ci'
  30. PT(mDi) → Di
  31. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mDi)) → Di'
  32. Segment(Bi', B') → d
  33. Segment(Ci', C') → e
  34. Segment(Di', D') → f_1
  35. Polygon(Ai', Bi', Ci', Di') → q7, ai', bi', ci', di'
  36. PT(mAib) → Aib
  37. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mAib)) → Aib'
  38. Segment(Aib', Ab') → g_1
  39. PT(mBib) → Bib
  40. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mBib)) → Bib'
  41. Segment(Bib', Bb') → h_1
  42. Polygon(Ai', Bi', Bib', Aib') → q8, i_1, j_1, bib', aib'
  43. PT(mCib) → Cib
  44. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mCib)) → Cib'
  45. Segment(Cib', Cb') → k_1
  46. Polygon(Ci', Bi', Bib', Cib') → q9, l_1, m_1, n_1, cib'
  47. PT(mDib) → Dib
  48. PT(((((((Rzw * Ryw) * Rxw) * Rxz) * Ryz) * Rxy) * mDib)) → Dib'
  49. Segment(Dib', Db') → p_1
  50. Polygon(Ci', Di', Dib', Cib') → q10, q_1, r_1, dib', s_1
  51. Polygon(Ai', Di', Dib', Aib') → q11, t_1, a_1, b_1, c_1
  52. Polygon(Bib', Cib', Dib', Aib') → q12, d_1, e_1, f_2, g_2

AI Drawing Prompt Reference

Draw a cube rotating in 3D space. Start with an original cube defined by eight vertices, four on top and four on bottom. Rotate each vertex around a spatial axis by a certain angle to get corresponding rotated vertices. Connect each original vertex to its rotated counterpart with a line segment to show the rotation path. Then connect the rotated vertices to form the rotated cube's top, bottom, and side faces. Also outline the original cube with dashed or thin lines for comparison. The final image is a transparent wireframe model highlighting the rotation axis, angle, and edge length relationship.
The prompt above was compiled from the original drawing commands and is for reference only.