Graphing Inequalities on a Number Line

Graphing Inequalities on a Number Line
Loading the math board and drawing, please wait…
2023-01-26 23:54
This example demonstrates how to graph inequalities on a number line. It involves core math concepts like inequality symbols (> < ≤ ≥ ≠) and their representation on a number line. Construction highlights include GeoGebra commands such as Shuffle, Point, Defined, Sequence, Zip, Polygon, Segment, Translate, suitable for 6-8 grade students learning to represent and graph simple inequalities using symbolic notation.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[-13, 13]) → randomList1, {4, -6, -12, -10, 2, -4, 12, 11, 8, -3, 7, -8, -9, 0, -2, -1, 1, 10, 9, -13, -7, 13, 6, 5, -5, 3, -11}
  2. Shuffle(Sequence[15]) → randomList2, {2, 1, 15, 14, 4, 9, 3, 10, 11, 13, 12, 6, 7, 8, 5}
  3. Shuffle({1, 2, 3, 4, 5, 1, 2, 3, 4, 5}) → randomIneq, {4, 3, 3, 1, 5, 1, 2, 4, 5, 2}
  4. Point(Sequence[(A, studentOffset), A, -14, 14]) → P2
  5. Element(randomIneq, Mod[countQuestion, Length[randomIneq]] + 1) → ineqType
  6. Defined(IndexOf[ineqType, {GREATER, GREATEROREQUAL, NOTEQUAL}]) → showRightBranch
  7. Point({ToggleLeftB, ToggleRightB}) → PToggleB
  8. Point({ToggleLeftA, ToggleRightA}) → PToggleA
  9. Defined(IndexOf[ineqType, {GREATER, LESS, NOTEQUAL}]) → expectedOpen
  10. Defined(IndexOf[ineqType, {LESS, LESSOREQUAL, NOTEQUAL}]) → showLeftBranch
  11. Element(randomList1, Mod[countQuestion, Length[randomList1]] + 1) → numA
  12. Sequence(minNumber, maxNumber) → allX
  13. Zip((A, y(Anchor)), A, allX) → allPositions
  14. Zip((("$\text{" * A) * " }$"), A, {"\phantom{left}", "to the left", "to the right", "in both directions"}) → selectArrows
  15. Element(randomList2, Mod[countQuestion, 15] + 1) → randomNum2
  16. Element(randomList1, Mod[countQuestion, 20] + 1) → randomNum1
  17. Polygon(Zip[PixelsToPoint[Corner[1], Corner[3], Corner[5], A], A, {(pixelsLeft, pixelsTop), (pixelsLeft, y(Corner[5]) - pixelsBottom), Corner[5] - (pixelsRight, pixelsBottom), (x(Corner[5]) - pixelsRight, pixelsTop)}]) → borderBox
  18. Corner(5) → layoutAppSize
  19. Segment(Anchor + (minNumber - 0.5, 0), Anchor + (maxNumber + 0.5, 0)) → numberLine
  20. Zip(Segment[(A, -0.2), (A, 0.2)], A, allX) → ticks
  21. Translate(ticks, vSoln) → solnTicks
  22. Translate(numberLine, vSoln) → solnLine
  23. Segment(PSoln, (x(Anchor) + maxNumber + 0.5, y(PSoln))) → solnRight
  24. Segment(PSoln, (x(Anchor) + minNumber - 0.5, y(PSoln))) → solnLeft
  25. Segment(P2, (x(Anchor) + minNumber - 0.5, studentOffset)) → leftBranch
  26. Segment(P2, (x(Anchor) + maxNumber + 0.5, studentOffset)) → rightBranch
  27. onboardingTextOffset(Corner[onboardingText, 1], Corner[onboardingText, 3], onboardingCase, Corner[1], Corner[3], Corner[5]) → OnboardingTextOffset
  28. circlePixels(P2, 7 + (pulsing * 7), Corner[1], Corner[3], Corner[5]) → pulsingObject
  29. Zip(Text[("" * A), (A + If[A < 0, -0.25, 0], -0.1), true, true, 0, -1], A, Sequence[minNumber + 1, maxNumber, 2]) → digits
  30. Zip(Text[("" * A), (A + If[A < 0, -0.25, 0], -0.1) + vSoln, true, true, 0, -1], A, Sequence[minNumber + 1, maxNumber, 2]) → digitsSoln

AI Drawing Prompt Reference

Draw a number line from -14 to 14. Randomly select a point P2 on the number line and draw a segment to the left, right, or both directions from this point. Based on the randomly selected inequality type, mark the corresponding open or closed interval on the number line. Randomly select a number on the number line and mark its position, then label the ticks on both sides of this number.
The prompt above was compiled from the original drawing commands and is for reference only.