Commutative Law Demo: Sports Competition Grouping & Multiplication Swap

Commutative Law Demo: Sports Competition Grouping & Multiplication Swap
Loading the math board and drawing, please wait…
2022-05-09 16:25
① This example illustrates the commutative property of multiplication (5·4 = 4·5) through a sports‑competition grouping scenario. ② Core math concepts include the commutative, associative, and distributive laws for integer multiplication and basic combinatorial grouping. ③ Construction highlights: Points, Polygons, and Intersect build the visual layout; Textfield captures student answers; Shuffle, Element, Append, Remove, and CountIf drive dynamic grouping and randomization; Midpoint and Corner assist positioning. ④ Suitable for grades 5‑6 (or early middle school) as an interactive lesson, classroom demo, or self‑study resource for the commutative law.

GeoGebra Commands & Parameters

  1. Point(xAxis) → O_2
  2. Polygon(E_1, F_1, G_1, H_1) → v1, e_1, f_1, g_1, h_1
  3. Intersect(e_1, f_1) → C_3
  4. Point(e_1) → B_3
  5. Intersect(g_1, h_1) → A_3
  6. Point(g_1) → Z_2
  7. Point(h_1) → T_2
  8. Point(f_1) → R_2
  9. Intersect(f_1, g_1) → Q_2
  10. Point(g_1) → P_2
  11. Polygon(O_2, R_2, Q_2, P_2) → v3, f, r_2, q_2, p_2
  12. Intersect(f_1, f) → D_3
  13. Point(e_1) → N_2
  14. Intersect(e_1, h_1) → M_2
  15. Polygon(M_2, N_2, O_2, T_2) → v2, m_2, n_2, o_2, t_2
  16. Intersect(n_2, o_2) → W_2
  17. Polygon(B_3, C_3, D_3, W_2) → v5, b_3, c_3, d_3, g
  18. Intersect(h_1, o_2) → V_2
  19. Polygon(V_2, W_2, Z_2, A_3) → v4, v_2, w_2, z_2, a_3
  20. Textfield(aInput) → InputBox1
  21. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  22. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {9, 9, 7, 1, 3, 0, 5, 4, 10, 5, 2, 2, 5, 4, 6, 8, 4, 10, 4, 7, 6, 5, 6, 6, 4, 7, 4, 9, 0, 10, 8, 3, 4, 2, 0, 7, 0, 9, 4, 9, 0, 10, 3, 0, 5, 6, 6, 6, 8, 7, 8, 4, 7, 2, 5, 0, 0, 8, 8, 6, 8, 0, 8, 10, 2, 1, 6, 9, 8, 4, 5, 6, 5, 0, 0, 1, 4, 4, 5, 2, 1, 5, 6, 2, 4, 2, 3, 3, 5, 4, 9, 7, 4, 6, 6, 0, 2, 8, 7, 0}
  23. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  24. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {9, 9, 2, 3, 8, 6, 6, 9, 9, 4, 9, 3, 8, 9, 9, 10, 1, 2, 8, 7, 3, 6, 2, 5, 0, 7, 0, 9, 3, 5, 0, 4, 5, 9, 1, 2, 3, 9, 9, 8, 3, 0, 2, 8, 9, 8, 9, 2, 2, 2, 5, 0, 0, 6, 8, 5, 7, 6, 4, 7, 4, 6, 9, 8, 1, 2, 5, 6, 1, 3, 10, 7, 4, 1, 8, 1, 4, 10, 2, 7, 0, 9, 0, 3, 8, 8, 5, 2, 6, 0, 6, 9, 0, 10, 4, 8, 1, 6, 10, 5}
  25. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  26. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  27. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  28. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  29. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  30. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  31. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  32. Midpoint(Corner[Bild11, 1], Corner[Bild11, 3]) → M1
  33. Midpoint(Corner[Bild14, 1], Corner[Bild14, 3]) → M2
  34. Midpoint(Corner[Bild15, 1], Corner[Bild15, 3]) → M3
  35. Midpoint(Corner[Bild16, 1], Corner[Bild16, 3]) → M4
  36. Midpoint(Corner[Bild17, 1], Corner[Bild17, 3]) → M5
  37. Midpoint(Corner[Bild18, 1], Corner[Bild18, 3]) → M6
  38. Midpoint(Corner[Bild19, 1], Corner[Bild19, 3]) → M7
  39. Midpoint(Corner[Bild20, 1], Corner[Bild20, 3]) → M8
  40. Midpoint(Corner[Bild21, 1], Corner[Bild21, 3]) → M9
  41. Midpoint(Corner[Bild22, 1], Corner[Bild22, 3]) → M10
  42. Midpoint(Corner[Bild23, 1], Corner[Bild23, 3]) → M11
  43. Midpoint(Corner[Bild24, 1], Corner[Bild24, 3]) → M12
  44. Midpoint(Corner[Bild25, 1], Corner[Bild25, 3]) → M13
  45. Midpoint(Corner[Bild26, 1], Corner[Bild26, 3]) → M14
  46. Corner(Bild11, 1) → I_1
  47. Corner(Bild11, 2) → J_1
  48. Corner(Bild15, 1) → K_1
  49. Corner(Bild15, 2) → L_1
  50. Corner(Bild16, 1) → M_1
  51. Corner(Bild16, 2) → N_1
  52. Corner(Bild17, 1) → O_1
  53. Corner(Bild17, 2) → P_1
  54. Corner(Bild18, 1) → Q_1
  55. Corner(Bild18, 2) → R_1
  56. Corner(Bild19, 1) → S_1
  57. Corner(Bild19, 2) → T_1
  58. Corner(Bild20, 1) → U_1
  59. Corner(Bild20, 2) → V_1
  60. Corner(Bild21, 1) → W_1
  61. Corner(Bild21, 2) → Z_1
  62. Corner(Bild22, 1) → A_2
  63. Corner(Bild22, 2) → B_2
  64. Corner(Bild23, 1) → C_2
  65. Corner(Bild23, 2) → D_2
  66. Corner(Bild24, 1) → E_2
  67. Corner(Bild24, 2) → F_2
  68. Corner(Bild25, 1) → G_2
  69. Corner(Bild25, 2) → H_2
  70. Corner(Bild26, 1) → I_2
  71. Corner(Bild26, 2) → J_2
  72. Corner(Bild14, 1) → K_2
  73. Corner(Bild14, 2) → L_2
  74. Textfield(bInput) → InputBox2
  75. Intersect(e_1, f_1) → S_2
  76. Intersect(g_1, h_1) → U_2
  77. CountIf(x ≠ 0, listCorrMidpoints) → countIf

AI Drawing Prompt Reference

Describe a geometric figure composed of multiple intersecting polygons, including points, line segments, and intersection points. These polygons are generated and arranged through random number shuffling and deduplication, forming a grid or grouping structure that illustrates the commutative law of multiplication. The construction order: first create basic points, then draw polygons, then determine intersections, and finally randomly arrange and deduplicate to form the final figure.
The prompt above was compiled from the original drawing commands and is for reference only.