Compare Integers on a Number Line with Random Values

Compare Integers on a Number Line with Random Values
Loading the math board and drawing, please wait…
2020-08-31 12:16
This example demonstrates how to compare two integers by placing them on the same number line and using their relative positions. It focuses on key ideas such as integer ordering, reading coordinates from number-line ticks, and expressing the result with inequality symbols (which one is greater/less). The GeoGebra construction uses Random to generate two integers (Int1, Int2) and displays them (Int1Display, Int2Display). It then creates the number-line setting with endpoints (EndPointLeft, EndPointRight), integer points (Int1Point, Int2Point), and multiple tick marks (TickDisplay1–TickDisplay6 and their variants) so students can visually judge which point lies farther to the right. The scene also includes instructional/support objects (Instructions2, TryAnother) and answer boxes (AnswerBoxOutline, AnswerBoxFill) to capture and show the comparison outcome. Suitable for elementary-to-middle-school learners and for classroom practice or formative assessment.

GeoGebra Commands & Parameters

  1. Random(-6, 6) → Int1
  2. Random(-6, 6) → Int2
  3. Polygon((3, 1), (6, 1), (6, 2.5), (3, 2.5)) → SymbolBox, f, g, h, i
  4. Polygon((-4, 1), (-2, 1), (-2, 2.5), (-4, 2.5)) → AnswerBoxOutline, j, k, l, m
  5. Polygon((-4, 1), (-2, 1), (-2, 2.5), (-4, 2.5)) → AnswerBoxFill, n, p, q, r
  6. Segment((-6.5, 0), (6.5, 0)) → NumLine
  7. Sequence((i, 0), i, -6, 6) → TickSequence
  8. Circle(Point1, 0.4) → DragArea1
  9. Circle(Point2, 0.4) → DragArea2

AI Drawing Prompt Reference

Draw a horizontal number line with arrows at both ends and evenly spaced tick marks. Randomly place two integer points on the line, each marked with a distinct symbol. Surround each point with a draggable circle. Include two sets of rectangular boxes below for entering the comparison result, visually demonstrating integer ordering and inequality.
The prompt above was compiled from the original drawing commands and is for reference only.