Directed Number Addition Demo
Loading the math board and drawing, please wait…
This example demonstrates the process and geometric interpretation of adding directed numbers (positive and negative numbers). It involves core math concepts like directed number operation rules, number line representation, and vector addition. Constructed using GeoGebra commands such as Point, Sequence, If, Corner to create points, sequences, conditional logic, and interactive buttons for dynamic visualization. Suitable for middle school and above mathematics education to understand directed number addition and its practical applications.
GeoGebra Commands & Parameters
Point(xAxis) → BSequence(Semicircle[(((k - 1 + x(A)) * dis), 0.1), (((k + x(A)) * dis), 0.1)], k, 1, Div[x(B) - x(A), dis]) → l1Sequence(Semicircle[(((x(A) - k) * dis), 0.1), (((x(A) + 1 - k) * dis), 0.1)], k, 1, Div[x(A) - x(B), dis]) → l3If(x(B) - x(A) > 0, "+", "") → sign2If(x(B) - x(A) < 0, "+", "") → sign3If(x(A) > 0, "+", "") → signaIf(x(B) - x(A) > 0, "+", "") → signbaIf(x(B) > x(A), "+", "-") → op2If(x(B) > 0, "+", "") → signbSequence(Vector[(((k + x(A) - 0.05) * dis), 0.3), (((k + x(A)) * dis), 0.1)], k, 1, Div[x(B) - x(A), dis]) → l2Sequence(Vector[(((x(A) - k + 0.05) * dis), 0.3), (((x(A) - k) * dis), 0.1)], k, 1, Div[x(A) - x(B), dis]) → l4Corner(1) → CIf(num0 > 0, "+", "") → sign0If(num1 > 0, "+", "") → sign1
AI Drawing Prompt Reference
Draw a diagram demonstrating directed number addition, including a number line and vectors. First, draw the number line, then represent the lengths and directions of two directed numbers as semicircles and vectors on the number line based on the positions of two points. Indicate the operation signs with plus or minus symbols according to the relative positions of the points, and differentiate positive and negative numbers with different colors or styles. Finally, add a button that dynamically displays the sum of the two directed numbers and represents its magnitude and direction as a vector when clicked.
The prompt above was compiled from the original drawing commands and is for reference only.