Product Ordering

Product Ordering
Loading the math board and drawing, please wait…
2015-05-19 21:52
This example demonstrates how students can arrange randomly generated multiplication problems in increasing order based on their products. It involves core math concepts like multiplication, inequality comparison, and is constructed using commands such as Sequence, Intersect, Point, Segment, Vector, If, Remove, and Shuffle. Suitable for middle school mathematics teaching, focusing on multiplication operations and inequality sorting.

GeoGebra Commands & Parameters

  1. Sequence(Random[If[f1 ≟ 1, 2, If[f1 ≟ 2, 10, If[f1 ≟ 3, 100, 1000]]], If[f1 ≟ 1, 9, If[f1 ≟ 2, 99, If[f1 ≟ 3, 999, 9999]]]], i, 1, n) → factor1
  2. Sequence((Element[factor1, i] * Random[If[f2 ≟ 1, 2, If[f2 ≟ 2, 10, If[f2 ≟ 3, 100, 1000]]], If[f2 ≟ 1, 9, If[f2 ≟ 2, 99, If[f2 ≟ 3, 999, 9999]]]]), i, 1, n) → product
  3. Sequence(Element[product, i] / Element[factor1, i], i, 1, n) → answer
  4. Intersect(xAxis, yAxis) → A
  5. Point(xAxis) → B
  6. Segment(A, B) → a
  7. Sequence(Polygon[A + ((20 / (n - 1) * i), 0), A + (4, 0) + ((20 / (n - 1) * i), 0), 4], i, 0, n - 1) → rects
  8. Vector(C, D) → u
  9. If(IsInRegion[ONE, Element[rects, 1]], 1, (IsInRegion[ONE, Element[rects, 2]] * 2) + (IsInRegion[ONE, Element[rects, 3]] * 3) + (IsInRegion[ONE, Element[rects, 4]] * 4) + (IsInRegion[ONE, Element[rects, 5]] * 5)) → order1
  10. If(IsInRegion[TWO, Element[rects, 1]], 1, (IsInRegion[TWO, Element[rects, 2]] * 2) + (IsInRegion[TWO, Element[rects, 3]] * 3) + (IsInRegion[TWO, Element[rects, 4]] * 4) + (IsInRegion[TWO, Element[rects, 5]] * 5)) → order2
  11. If(IsInRegion[THREE, Element[rects, 1]], 1, (IsInRegion[THREE, Element[rects, 2]] * 2) + (IsInRegion[THREE, Element[rects, 3]] * 3) + (IsInRegion[THREE, Element[rects, 4]] * 4) + (IsInRegion[THREE, Element[rects, 5]] * 5)) → order3
  12. If(IsInRegion[FOUR, Element[rects, 1]], 1, (IsInRegion[FOUR, Element[rects, 2]] * 2) + (IsInRegion[FOUR, Element[rects, 3]] * 3) + (IsInRegion[FOUR, Element[rects, 4]] * 4) + (IsInRegion[FOUR, Element[rects, 5]] * 5)) → order4
  13. If(IsInRegion[FIVE, Element[rects, 1]], 1, (IsInRegion[FIVE, Element[rects, 2]] * 2) + (IsInRegion[FIVE, Element[rects, 3]] * 3) + (IsInRegion[FIVE, Element[rects, 4]] * 4) + (IsInRegion[FIVE, Element[rects, 5]] * 5)) → order5
  14. Remove(First[{order1, order2, order3, order4, order5}, n], {0, 0, 0, 0, 0}) → PlacedAnswers
  15. Shuffle({Element[factor1, 1], Element[answer, 1]}) → AF1
  16. Shuffle({Element[factor1, 2], Element[answer, 2]}) → AF2
  17. Shuffle({Element[factor1, 3], Element[answer, 3]}) → AF3
  18. Shuffle({Element[factor1, 4], Element[answer, 4]}) → AF4
  19. Shuffle({Element[factor1, 5], Element[answer, 5]}) → AF5

AI Drawing Prompt Reference

Create a math teaching visual showing randomly generated multiplication problems ordered by product. Draw coordinate axes and several rectangles, each representing a multiplication problem. Place products and answers on these rectangles, distinguishing different regions by color. Finally, shuffle the displayed factors and answers to illustrate the sorting process.
The prompt above was compiled from the original drawing commands and is for reference only.