Simulation of a Rolling Polygon

Simulation of a Rolling Polygon
Loading the math board and drawing, please wait…
2020-01-06 03:23
This example demonstrates the dynamic process of a polygon rolling along a straight line. Using GeoGebra rotation, centroid, and polygon commands, it accurately simulates the geometric transformations that occur as an arbitrary polygon rolls. The applet allows users to adjust the shape and size of the polygon, observe each rotation step as the polygon pivots around successive vertices on the line, and trace the paths generated by selected points during the rolling motion. Combined with integral calculus and coordinate geometry, the applet explores the locus of relevant points—such as vertices, the centroid, and other marked positions—as well as the area swept out by the rolling polygon over one or multiple full rotations. This makes it an intuitive teaching tool for understanding rigid-body planar motion and the practical applications of calculus. Students can visually connect abstract concepts like parametric curves, arc length, and area integration to concrete geometric motion. The interactive nature of the applet encourages exploration: learners can experiment with different polygons, observe how symmetry affects the trajectory of points, and verify theoretical predictions through dynamic visualization. By watching the traced curves emerge in real time, students gain deeper insight into the relationship between discrete rotations and continuous motion, bridging the gap between classical geometry and analytical methods.

GeoGebra Commands & Parameters

  1. Polygon(A, B, C, D, E, F) → p1, a_1, b_1, c_1, d_1, e_1, f_1
  2. Centroid(p1) → G
  3. Rotate(A, (-M), G) → A'
  4. Rotate(B, (-M), G) → B'
  5. Rotate(C, (-M), G) → C'
  6. Rotate(D, (-M), G) → D'
  7. Rotate(E, (-M), G) → E'
  8. Rotate(F, (-M), G) → F'
  9. Polygon(A', B', C', D', E', F') → p2, a', b', c', d', e', f'
  10. Min(y(l1)) → P
  11. Point(xAxis) → I
  12. Segment(H, I) → l
  13. Line(H, I) → m
  14. IndexOf(P, y(l1)) → n
  15. Angle(l, xAxis) → α
  16. Rotate(Polygon[Translate[A', (0, m(x(l1(n))) - P)], Translate[B', (0, m(x(l1(n))) - P)], Translate[C', (0, m(x(l1(n))) - P)], Translate[D', (0, m(x(l1(n))) - P)], Translate[E', (0, m(x(l1(n))) - P)], Translate[F', (0, m(x(l1(n))) - P)]], (-α), l1(n)) → p3
  17. Integral(m, -8, 8) → o

AI Drawing Prompt Reference

Visualize a polygon rolling along a straight line. Start by creating a polygon and finding its centroid. Rotate the polygon around its vertices sequentially, pivoting around each vertex on the line. Connect the rotated vertices to form a new polygon and trace the paths of the centroid and selected points during the rolling motion. Display the trajectories of these points and the area swept out by the polygon over one or more full rotations. Allow interaction to change the polygon's shape and size to observe how it affects the point trajectories.
The prompt above was compiled from the original drawing commands and is for reference only.