Combining Like Terms Across Groups Demo

Combining Like Terms Across Groups Demo
Loading the math board and drawing, please wait…
2019-01-08 00:06
This example demonstrates the concept of combining like terms in algebra, visualized through the quantities of fruits in different baskets; core math concepts include algebraic operations, like terms identification, and cross-group combination; GeoGebra commands and objects used in construction are LaTeX, Polygon, PointIn, Join, Zip, Textfield, TableText, and objects like numBasket3bananas, numBasket2oranges, etc., for creating and displaying fruit baskets and quantities; suitable for middle school mathematics teaching to help students understand and master the skill of combining like terms.

GeoGebra Commands & Parameters

  1. LaTeX(UnicodeToLetter[10003]) → cmark
  2. LaTeX(UnicodeToLetter[10007]) → xmark
  3. Polygon({(-8, 2), (-8, 6.5), (1.5, 6.5), (1.5, 2)}) → basket1quad
  4. PointIn(basket1quad) → basket1apple1
  5. PointIn(basket1quad) → basket1apple2
  6. PointIn(basket1quad) → basket1apple3
  7. PointIn(basket1quad) → basket1apple4
  8. PointIn(basket1quad) → basket1apple5
  9. PointIn(basket1quad) → basket1orange1
  10. PointIn(basket1quad) → basket1orange2
  11. PointIn(basket1quad) → basket1orange3
  12. PointIn(basket1quad) → basket1banana1
  13. PointIn(basket1quad) → basket1banana2
  14. PointIn(basket1quad) → basket1banana3
  15. PointIn(basket1quad) → basket1banana4
  16. Polygon({(22, 2), (22, 6.5), (31.5, 6.5), (31.5, 2)}) → basket3quad
  17. PointIn(basket3quad) → basket3apple1
  18. PointIn(basket3quad) → basket3apple2
  19. PointIn(basket3quad) → basket3apple3
  20. PointIn(basket3quad) → basket3apple4
  21. PointIn(basket3quad) → basket3banana1
  22. PointIn(basket3quad) → basket3banana2
  23. PointIn(basket3quad) → basket3banana3
  24. PointIn(basket3quad) → basket3orange1
  25. Join({Sequence[(("SetLayer(imgBasket1apple" * q) * ", 8)"), q, 1, numBasket1apples], Sequence[(("SetLayer(imgBasket1orange" * q) * ", 8)"), q, 1, numBasket1oranges], Sequence[(("SetLayer(imgBasket1banana" * q) * ", 8)"), q, 1, numBasket1bananas]}) → basket1LayerCommands
  26. Join({Sequence[(("SetLayer(imgBasket2apple" * q) * ", 8)"), q, 1, numBasket2apples], Sequence[(("SetLayer(imgBasket2orange" * q) * ", 8)"), q, 1, numBasket2oranges], Sequence[(("SetLayer(imgBasket2banana" * q) * ", 8)"), q, 1, numBasket2bananas]}) → basket2LayerCommands
  27. Join({Sequence[(("SetLayer(imgBasket3apple" * q) * ", 8)"), q, 1, numBasket3apples], Sequence[(("SetLayer(imgBasket3orange" * q) * ", 8)"), q, 1, numBasket3oranges], Sequence[(("SetLayer(imgBasket3banana" * q) * ", 8)"), q, 1, numBasket3bananas]}) → basket3LayerCommands
  28. Polygon({(7, 2), (7, 6.5), (16.5, 6.5), (16.5, 2)}) → basket2quad
  29. PointIn(basket2quad) → basket2apple1
  30. PointIn(basket2quad) → basket2apple2
  31. PointIn(basket2quad) → basket2banana1
  32. PointIn(basket2quad) → basket2banana2
  33. PointIn(basket2quad) → basket2orange1
  34. PointIn(basket2quad) → basket2orange2
  35. PointIn(basket2quad) → basket2orange3
  36. PointIn(basket2quad) → basket2orange4
  37. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  38. Zip(A ≟ Text[B], A, {textApples, textOranges, textBananas}, B, {totalApples, totalOranges, totalBananas}) → totalCorrectness
  39. LaTeX("\textbf{In total there are:}") → header
  40. Textfield(textApples) → ansBoxApples
  41. Textfield(textBananas) → ansBoxBananas
  42. Textfield(textOranges) → ansBoxOranges
  43. TableText({totalApples, totalOranges, totalBananas}, {"\text{\vphantom{\dfrac{1}{2}}apples}", "\text{\vphantom{\dfrac{1}{2}}oranges}", "\text{\vphantom{\dfrac{1}{2}}bananas}"}, If[isChecked, Zip[If[A, (("\textcolor{#254117}{" * cmark) * "}"), (("\textcolor{#e41b17}{" * xmark) * "}")], A, totalCorrectness]], "v") → table