Inequalities and Number Line

Inequalities and Number Line
Loading the math board and drawing, please wait…
2015-05-03 21:00
This example demonstrates how to represent the solution set of inequalities on a number line. Core math concepts include inequalities and number line representation. It uses GeoGebra commands like Sequence, RandomElement, Random, If, Polygon, Segment, Point, Append to dynamically visualize inequality solutions. Suitable for middle school and above students learning basic inequality concepts and visualizations.

GeoGebra Commands & Parameters

  1. Sequence(-5 + (i * 0.5), i, 0, 20) → list1, {-5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5, 0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5}
  2. RandomElement(list1) → x1
  3. Random(1, 4) → signIndex
  4. If(sign1 ≟ ">" ∨ sign1 ≟ "≥", (x(Corner[3]), y(A)), (x(Corner[4]), y(A))) → A'
  5. Polygon(A, A', (x(A'), 0), (x(A), 0)) → poly1, a_1, a', c, d
  6. Segment(A, (x(A), 0)) → g
  7. Segment(A, A') → i
  8. Point(xAxis) → T
  9. If(sign1 ≟ ">", x(T) > x1, If[sign1 ≟ "≥", x(T) ≥ x1, If[sign1 ≟ "<", x(T) < x1, If[sign1 ≟ "≤", x(T) ≤ x1]]]) → satisfy
  10. Sequence(i, i, -6, 6) → listInt, {-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6}
  11. Append("$?$", Reverse[Zip["$" + (Text[i]) + "$", i, listInt]]) → listIntText
  12. If(sign1 ≟ ">", ceil(x1 + 0.1), If[sign1 ≟ "≥", ceil(x1), If[sign1 ≟ "<", floor(x1 - 0.1), If[sign1 ≟ "≤", floor(x1)]]]) → intAns
  13. If(SelectedIndex[listIntText] ≥ 2, Element[listInt, 15 - SelectedIndex[listIntText]], 99) → intChosen