Compare Numbers with Number Line

Compare Numbers with Number Line
Loading the math board and drawing, please wait…
2020-07-18 04:39
This example demonstrates how to visually compare two numbers using a number line. Core math concepts include number line, number comparison, and inequalities. It is constructed using GeoGebra commands/objects like Segment, Sequence, Random, GCD, Distance, RandomElement, Circle, Element, and Text. Suitable for elementary or middle school mathematics education to help students understand the visual relationship between number lines and number comparisons.

GeoGebra Commands & Parameters

  1. Segment((0, 0), EndPointRight) → NumberLineLength
  2. Sequence(Text[i, ((NumberLineLength / (upperbound - lowerbound) * i) - 0.15 - (NumberLineLength / (upperbound - lowerbound) * lowerbound), -1), true, true], i, 0, upperbound, IncrementLabel) → LabelsPositive
  3. Sequence(Text[i, ((NumberLineLength / (upperbound - lowerbound) * i) - 0.35 - (NumberLineLength / (upperbound - lowerbound) * lowerbound), -1), true, true], i, (-IncrementLabel), lowerbound, (-IncrementLabel)) → LabelsNegative
  4. Sequence(((NumberLineLength / (((upperbound - lowerbound) * split)) * i), 0), i, 0, ((upperbound - lowerbound) * split)) → InBetween
  5. Sequence(Text[i, ((NumberLineLength / (upperbound - lowerbound) * i) - 0.15 - (NumberLineLength / (upperbound - lowerbound) * lowerbound), -1), true, true], i, 0, upperbound, 1) → LabelsBetween
  6. Random(2, upperbound) → rd
  7. Random(1, upperbound) → rn
  8. Sequence(((NumberLineLength / (upperbound - lowerbound) * i), 0), i, 0, upperbound - lowerbound, IncrementLabel) → Range
  9. GCD(rd, rn) → gcd
  10. GCD(rd, rn) → g
  11. Random(2, upperbound) → rd_1
  12. Random(1, upperbound) → rn_1
  13. GCD(rd_1, rn_1) → gcd_1
  14. GCD(rd_1, rn_1) → g_1
  15. Random(2, upperbound) → rd_2
  16. Random(1, upperbound) → rn_2
  17. GCD(rd_2, rn_2) → gcd_2
  18. GCD(rd_2, rn_2) → g_2
  19. Random(2, upperbound) → rd_3
  20. Random(1, upperbound) → rn_3
  21. GCD(rd_3, rn_3) → gcd_3
  22. GCD(rd_3, rn_3) → g_3
  23. Distance(A, B) → distancecheck
  24. RandomElement(PickTwo) → RandomPick1
  25. RandomElement(PickTwo) → RandomPick2
  26. Circle(place, 1) → c
  27. Segment(comparepoint1, place) → segment1
  28. Segment(comparepoint2, place) → segment2
  29. Segment(comparepoint3, place) → segment3
  30. Circle(comparepoint1, 0.7) → hidepoint1
  31. Circle(comparepoint3, 0.7) → hidepoint3
  32. Circle(comparepoint2, 0.7) → hidepoint2
  33. Circle(place, 1) → circleoutline
  34. Element(PickTwoNumeric, IndexOf[RandomPick1, PickTwo]) → RandomPickNumeric1
  35. Element(PickTwoNumeric, IndexOf[RandomPick2, PickTwo]) → RandomPickNumeric2
  36. Text("Drag the correct sign into the circle.") → text1
  37. Text("Use < or > to compare the two fractions. The number line is provided to help you.") → text2

AI Drawing Prompt Reference

Draw a horizontal number line with evenly spaced integer labels from negative to positive values. Place two randomly generated proper fraction points above the line, marked in distinct colors. Between these points, draw an empty circle to hold a comparison sign. Connect each fraction point to the circle with a line segment. Below the line, add text instructing to drag the correct sign (< or >) into the circle to compare the two fractions. Keep the layout clear for educational use.
The prompt above was compiled from the original drawing commands and is for reference only.