Subtraction on Number Line

Subtraction on Number Line
Loading the math board and drawing, please wait…
2015-11-06 05:05
This example demonstrates the process of subtraction on a number line through a visual approach. It involves core math concepts like number line, real number subtraction, and absolute value operations. The construction utilizes GeoGebra commands/objects such as Textfield, Segment, Point, Min, Max, If, Polygon, and Midpoint. Suitable for middle school mathematics teaching to help students intuitively understand the geometric meaning of subtraction.

GeoGebra Commands & Parameters

  1. Textfield(Ltext) → InputBox1
  2. Textfield(Rtext) → InputBox2
  3. Segment(A, D) → b
  4. Segment(D, E) → c
  5. Segment(E, B) → d
  6. Point(a) → G
  7. Min(upper, lower) → L
  8. Max(upper, lower) → R
  9. If(x(G) < L - (0.1 * spread), x(A) - spread / 15, If[x(G) > R + (0.1 * spread), x(A) - (0.6 * spread), L - spread / 3]) → left
  10. If(x(G) < L - (0.1 * spread), x(B) + (0.6 * spread), If[x(G) > R + (0.1 * spread), x(B) + spread / 15, R + spread / 3]) → right
  11. Polygon((-1000000, 6), (1000000, 6), (1000000, -6), (-1000000, -6)) → poly1, f, g, h, i
  12. Segment((x(C), 2.5), (x(A), 2.5)) → m
  13. Segment((x(F), 2.5), (x(B), 2.5)) → p
  14. Midpoint(m) → H
  15. Midpoint(p) → I
  16. Segment(C, H) → l
  17. Segment(H, A) → n
  18. Segment(F, I) → q
  19. Segment(I, B) → r
  20. If(x(A) > L, "+", "-") → text2