Rational Numbers
Loading the math board and drawing, please wait…
This example illustrates the concept of rational numbers, which are numbers that can be expressed as the ratio of two integers. By constructing sequences and function graphs, the properties of rational numbers are visually demonstrated. The Sequence and Segment commands are used in the construction. Suitable for students in middle school and above to learn about rational numbers.
GeoGebra Commands & Parameters
Sequence(i / 2^(n - 1), i, 0, 2^(n - 1), 1) → QSequence(2, i, 0, 2^(n - 1), 1) → YSegment((0, 1), (1, 1)) → f
AI Drawing Prompt Reference
Draw a horizontal line segment from (0,1) to (1,1) as a reference line. Above this line, for each positive integer n, generate a sequence of points along the x-axis from 0 to 2^(n-1) with step 1, where each point's y-coordinate is i divided by 2^(n-1), forming fractional values. Connect each of these points vertically to the reference line using short line segments. This creates a layered array of points representing rational numbers, showing their distribution as ratios of integers.
The prompt above was compiled from the original drawing commands and is for reference only.