Mathematical Modeling of the Rubber Pencil Illusion — My First GeoGebra Storybook

Mathematical Modeling of the Rubber Pencil Illusion — My First GeoGebra Storybook
Loading the math board and drawing, please wait…
2012-07-23 03:11
This applet mathematically models and demonstrates the famous Rubber Pencil Illusion. Utilizing trigonometric functions including sine and cosine, similar triangles, and the unit circle, combined with GeoGebra's locus and transformation commands, it simulates the visual deformation effect produced when a pencil is rapidly oscillated at specific frequencies and amplitudes. By adjusting parameters such as amplitude, phase difference, and hand motion characteristics, the applet vividly illustrates how random processes and geometric transformations work together to produce this classic optical and motion illusion. Students can manipulate sliders to control the frequency and amplitude of the pencil's oscillation, observe how the trajectory of each point along the pencil forms distinctive curved patterns, and see in real time how phase differences between different segments of the pencil contribute to the overall illusion of flexibility. The applet connects abstract mathematical concepts to a tangible visual experience, helping learners understand the deep relationship between trigonometry, geometry, and perception. Through interactive exploration, students develop intuition for how sinusoidal motion and coordinate transformations underlie phenomena that appear counterintuitive to the naked eye. This makes the Rubber Pencil Illusion not just a parlor trick but a powerful teaching tool for reinforcing key ideas in precalculus and physics, demonstrating how mathematical modeling can decode seemingly mysterious visual experiences into precise, predictable geometric relationships.

GeoGebra Commands & Parameters

  1. Circle(H, pencillength / 2 - pencilgriplength) → d
  2. Intersect(d, pencilctrhorizon, 2) → P
  3. Mirror(F, P) → F'
  4. Segment(F, F') → e
  5. Corner(5) → dims
  6. Locus(P, θ) → loc1
  7. Segment((Doffset_x, (-amp_{hand})), (Doffset_x, amp_{hand})) → h
  8. Locus(F', θ) → loc2

AI Drawing Prompt Reference

Draw a mathematical model of the rubber pencil illusion. Start with a circle centered at the hand position, with radius equal to half the pencil length minus the grip length. This circle intersects the pencil's central horizontal line at a point. Use this point as a mirror axis to reflect the pencil tip to the opposite side, then connect the tip and its reflection with a segment. Add a vertical segment representing the hand's up-and-down motion range, centered at a horizontal offset. Finally, as the tip moves along the circle, trace the paths of both the tip and its reflected point with respect to the angle, producing two curved loci that illustrate the pencil's apparent flexibility during rapid oscillation.
The prompt above was compiled from the original drawing commands and is for reference only.