NS2-02-CYU1 Collecting Like Terms Interactive Practice

NS2-02-CYU1 Collecting Like Terms Interactive Practice
Loading the math board and drawing, please wait…
2019-01-08 22:32
This GeoGebra example is an interactive practice activity for collecting like terms in algebra. It presents a set of algebraic terms that students must match or group based on their variable parts and exponents, reinforcing the fundamental skill of simplifying polynomial expressions. The core mathematical concept is combining like terms, where terms with identical variable factors are added or subtracted. The construction uses GeoGebra commands such as Sequence, Flatten, Shuffle, Zip, Element, and Text to generate randomized term cards and interactive feedback elements. Objects include multiple term variables (term1, term2, etc.), layout parameters (colWidth, rowHeight, tileWidth), and control buttons (TryAnother, HowDidIDo, Initialize) with check marks (cmark, xmark). This is suitable for middle school or early high school algebra students, serving as a classroom exercise or self-study tool to master the rules of simplifying expressions.

GeoGebra Commands & Parameters

  1. Sequence(Polygon[{tableAnchor + ((5 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((6 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((6 * colWidth), 0 - (rowHeight * i) - rowHeight), tableAnchor + ((5 * colWidth), ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol6
  2. Sequence(Polygon[{tableAnchor + ((3 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((4 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((4 * colWidth), 0 - (rowHeight * i) - rowHeight), tableAnchor + ((3 * colWidth), ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol4
  3. Sequence(Polygon[{tableAnchor + ((2 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((3 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((3 * colWidth), 0 - (rowHeight * i) - rowHeight), tableAnchor + ((2 * colWidth), ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol3
  4. Sequence(Polygon[{tableAnchor + (colWidth, 0 - (rowHeight * i)), tableAnchor + ((2 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((2 * colWidth), 0 - (rowHeight * i) - rowHeight), tableAnchor + (colWidth, ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol2
  5. Sequence(Polygon[{tableAnchor + (0, 0 - (rowHeight * i)), tableAnchor + (colWidth, 0 - (rowHeight * i)), tableAnchor + (colWidth, 0 - (rowHeight * i) - rowHeight), tableAnchor + (0, ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol1
  6. Sequence(Polygon[{tableAnchor + ((4 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((5 * colWidth), 0 - (rowHeight * i)), tableAnchor + ((5 * colWidth), 0 - (rowHeight * i) - rowHeight), tableAnchor + ((4 * colWidth), ((-rowHeight) * i) - rowHeight)}], i, 0, lastRow - 1) → tableCol5
  7. Flatten(Sequence[Sequence[(i, j), i, -8, -8 + (5 * (tileWidth + 1)), tileWidth + 1], j, 1, 1 - (2 * (tileHeight + 1)), (-tileHeight) - 1]) → fixedFrameAnchors
  8. Shuffle(fixedFrameAnchors) → shuffledFrameAnchors
  9. LaTeX(UnicodeToLetter[10003]) → cmark
  10. LaTeX(UnicodeToLetter[10007]) → xmark
  11. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  12. Zip(Polygon[A, A + (tileWidth, 0), A + (tileWidth, (-tileHeight)), A + (0, (-tileHeight))], A, shuffledFrameAnchors) → frames
  13. Element(frames, 1) → frame1
  14. Element(frames, 2) → frame2
  15. Element(frames, 3) → frame3
  16. Element(frames, 4) → frame4
  17. Element(frames, 5) → frame5
  18. Element(frames, 6) → frame6
  19. Element(frames, 7) → frame7
  20. Element(frames, 8) → frame8
  21. Element(frames, 9) → frame9
  22. Flatten(Zip[Sequence[Element[A, i], i, 2, 4], A, {tableCol1, tableCol2, tableCol3, tableCol4, tableCol5, tableCol6}]) → cells
  23. Element(cells, 1) → cell1
  24. Element(frames, activeTile) → highlightedTile
  25. Element(cells, 2) → cell2
  26. Element(cells, 3) → cell3
  27. Element(cells, 4) → cell4
  28. Element(cells, 5) → cell5
  29. Element(cells, 7) → cell7
  30. Element(cells, 8) → cell8
  31. Element(cells, 9) → cell9
  32. Element(cells, activeCell) → highlightedCell
  33. Element(tableCol1, 1) → col1HeaderCell
  34. Element(tableCol2, 1) → col2HeaderCell
  35. Element(tableCol3, 1) → col3HeaderCell
  36. Element(tableCol4, 1) → col4HeaderCell
  37. Element(cells, 6) → cell6
  38. Zip(Mod[A, 6] ≟ Mod[B, 6] ∧ Mod[B, 6] ≟ Mod[C, 6] ∧ A ≠ 0 ∧ B ≠ 0 ∧ C ≠ 0, A, Sequence[itemsInCells(i), i, 1, 16, 3], B, Sequence[itemsInCells(j), j, 2, 17, 3], C, Sequence[itemsInCells(k), k, 3, 18, 3]) → cellsCorrect
  39. Text("", tableAnchor + (0, (-rowHeight) - rowHeight / 3), true, true) → rowHeader1
  40. Text("", tableAnchor + (0, ((-rowHeight) * 2) - rowHeight / 3), true, true) → rowHeader2
  41. Text("", tableAnchor + (0, ((-rowHeight) * 3) - rowHeight / 3), true, true) → rowHeader3
  42. Element(cells, 10) → cell10
  43. Element(cells, 11) → cell11
  44. Element(cells, 12) → cell12
  45. Element(cells, 13) → cell13
  46. Element(cells, 14) → cell14
  47. Element(cells, 15) → cell15
  48. Element(cells, 16) → cell16
  49. Element(cells, 17) → cell17
  50. Element(cells, 18) → cell18
  51. Element(tableCol5, 1) → col5HeaderCell
  52. Element(tableCol6, 1) → col6HeaderCell
  53. Text("Group A", tableAnchor + (0.5, ((-rowHeight)) / 2)) → col1Header
  54. Text("Group B", tableAnchor + (0.5 + colWidth, ((-rowHeight)) / 2)) → col2Header
  55. Text("Group C", tableAnchor + (0.5 + (2 * colWidth), ((-rowHeight)) / 2)) → col3Header
  56. Text("Group D", tableAnchor + (0.5 + (3 * colWidth), ((-rowHeight)) / 2)) → col4Header
  57. Text("Group E", tableAnchor + (0.5 + (4 * colWidth), ((-rowHeight)) / 2)) → col5Header
  58. LaTeX("\text{You collected all the like terms.}") → feedback
  59. Element(frames, 10) → frame10
  60. Element(frames, 11) → frame11
  61. Element(frames, 12) → frame12
  62. Element(frames, 13) → frame13
  63. Element(frames, 14) → frame14
  64. Element(frames, 15) → frame15
  65. Element(frames, 16) → frame16
  66. Element(frames, 17) → frame17
  67. Element(frames, 18) → frame18
  68. Text("Group F", tableAnchor + (0.5 + (5 * colWidth), ((-rowHeight)) / 2)) → col6Header
  69. Zip(Text[If[A, cmark, ""], Vertex[B, 2] + symbolOffset], A, cellsCorrect, B, {col1HeaderCell, col2HeaderCell, col3HeaderCell, col4HeaderCell, col5HeaderCell, col6HeaderCell}) → cmarkList
  70. Zip(Text[If[¬A, xmark, ""], Vertex[B, 2] + symbolOffset], A, cellsCorrect, B, {col1HeaderCell, col2HeaderCell, col3HeaderCell, col4HeaderCell, col5HeaderCell, col6HeaderCell}) → xmarkList

AI Drawing Prompt Reference

Draw an interactive table for practicing collecting like terms in algebra. The table has six columns and several rows, with header cells at the top of each column and empty cells below. Above the table, display a question text and instructions. To the right or below, randomly arrange nine square tiles, each containing an algebraic term with variables. The tiles are shuffled randomly, and the user drags them into the table cells to group like terms. Some cells can be highlighted to indicate selection or drop target. Include buttons for checking answers, trying another problem, and initializing the exercise, along with check and cross marks. The layout is clean and suitable for classroom practice.
The prompt above was compiled from the original drawing commands and is for reference only.