Subtraction on Number Line
Loading the math board and drawing, please wait…
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
Textfield(Ltext) → InputBox1Textfield(Rtext) → InputBox2Segment(A, D) → bSegment(D, E) → cSegment(E, B) → dPoint(a) → GMin(upper, lower) → LMax(upper, lower) → RIf(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]) → leftIf(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]) → rightPolygon((-1000000, 6), (1000000, 6), (1000000, -6), (-1000000, -6)) → poly1, f, g, h, iSegment((x(C), 2.5), (x(A), 2.5)) → mSegment((x(F), 2.5), (x(B), 2.5)) → pMidpoint(m) → HMidpoint(p) → ISegment(C, H) → lSegment(H, A) → nSegment(F, I) → qSegment(I, B) → rIf(x(A) > L, "+", "-") → text2