Visualizing the Modulo 2 Equivalence Relation on Integers

Visualizing the Modulo 2 Equivalence Relation on Integers
Loading the math board and drawing, please wait…
2015-04-21 14:12
This GeoGebra example uses an interactive slider to visualize the equivalence classes of the modulo 2 relation on the set of integers Z. The core mathematical concept is equivalence relations and equivalence classes: every integer is classified by its remainder when divided by 2 (either 0 or 1), and each class consists of points spaced at regular intervals along the number line. The construction employs a slider to switch between the two classes, the Intersect command to find points where a line meets the axis, and the Point command to mark representative integers. Text objects display the algebraic form of the current class (e.g., 2k or 2k+1). This resource is suitable for middle school or introductory discrete mathematics, helping students grasp the geometric meaning of partitions and equivalence classes, and explore properties of even and odd numbers.

GeoGebra Commands & Parameters

  1. Intersect(b, xAxis) → B
  2. Intersect(a_1, xAxis) → C
  3. Point(a_1) → F
  4. Point(xAxis) → G
  5. Point(a_1) → H
  6. Point(xAxis) → I
  7. Point(xAxis) → D
  8. Point(a_1) → E
  9. Point(xAxis) → J
  10. Point(a_1) → K
  11. Point(xAxis) → L
  12. Point(xAxis) → M
  13. Point(xAxis) → N
  14. Point(xAxis) → O
  15. Point(b) → Q
  16. Point(b) → R
  17. Point(b) → S
  18. Point(b) → T
  19. Point(yAxis) → B_1
  20. Point(yAxis) → C_1
  21. Point(yAxis) → D_1
  22. Point(yAxis) → E_1
  23. Point(yAxis) → G_2
  24. Point(yAxis) → H_2
  25. Point(yAxis) → I_2

AI Drawing Prompt Reference

Draw a number line with integer points. Use a slider to toggle between two sets: even numbers (spaced by 2) and odd numbers (also spaced by 2). Mark each class with distinct colors and display the algebraic form (e.g., 2k or 2k+1) above the line. Include two lines intersecting the axis, with their intersection points as references, and place several auxiliary points on both the axis and the y-axis to enhance the visualization. The overall effect shows integers partitioned by modulo 2, highlighting the regular spacing of each equivalence class.
The prompt above was compiled from the original drawing commands and is for reference only.