Geometric Visualization of Comparing Two Values by Percent

Geometric Visualization of Comparing Two Values by Percent
Loading the math board and drawing, please wait…
2025-02-09 12:48
This example demonstrates a visual, geometry-based way to compare two numerical values using percentages (relative differences). It makes the percentage relationship intuitive by mapping ratio and deviation into constructed segments and labeled geometric elements. The key math ideas include percentages as proportions relative to a baseline, ratio/difference representation, and fraction simplification supported by number theory (e.g., computing GCD to reduce numerator/denominator). Construction highlights in GeoGebra: Point, Segment, and Polygon/PolyLine to build the base/reference structure; Sequence to generate points for steps or sampled parameters; If together with Div and Mod to handle conditional logic and integer/quotient–remainder computations; and GCD to simplify the resulting fractional ratio into a clean percentage form. Mirror and text objects (text*) are used for symmetry and to display the computed results clearly. Suitable for middle school math lessons on percent and ratio applications, as well as interactive classroom exploration.

GeoGebra Commands & Parameters

  1. Point(Sequence[A + (i, 0), i, 1, 24]) → P
  2. Point(Sequence[B + (i, 0), i, 1, 24]) → Q
  3. GCD(num1 - num2, If[a, num2, num1]) → hcf
  4. Polygon({A, P, P + (0, 1), A + (0, 1)}) → q1
  5. Polygon({B, Q, Q + (0, 1), B + (0, 1)}) → q2
  6. Sequence(Translate[pic1, Vector[A + (i - 1, 0)]], i, 1, num1) → l1
  7. Sequence(Translate[pic2, Vector[B + (i - 1, 0)]], i, 1, num2) → l2
  8. Polygon({P, (x(Q), y(P)), (x(Q), y(P) + 1), P + (0, 1)}) → q3
  9. Polygon({Q, Q + (x(P) - x(Q), 0), Q + (x(P) - x(Q), 1), Q + (0, 1)}) → q4
  10. PolyLine(C + (0, 0.3), C + (0, 0.5), ((x(C) + x(D)) / 2, y(C) + 0.5), ((x(C) + x(D)) / 2, y(C) + 0.7), ((x(C) + x(D)) / 2, y(C) + 0.5), D + (0, 0.5), D + (0, 0.3)) → f
  11. Mirror(f, y = y(A) + 0.5) → f'
  12. Segment(Q + (0, 1), If[x(P) < x(Q), D - (0, 1), C - (0, 1)]) → g
  13. PolyLine(E + (0, 0.3), E + (0, 0.5), ((x(E) + x(F)) / 2, y(E) + 0.5), ((x(E) + x(F)) / 2, y(E) + 0.7), ((x(E) + x(F)) / 2, y(E) + 0.5), F + (0, 0.5), F + (0, 0.3)) → i
  14. Mirror(i, y = y(B) + 0.5) → i'
  15. If(hcf > 1 ∨ abs(num1 - num2) ≥ If[a, num2, num1], true, false) → simplify
  16. Div(abs(num1 - num2), If[a, num2, num1]) → ainteger_1
  17. Mod(abs(num1 - num2) / hcf, If[a, num2, num1] / hcf) → anumerator
  18. PolyLine(B - (0, 0.3), B - (0, 0.5), ((x(B) + x(Q)) / 2, y(Q) - 0.5), ((x(B) + x(Q)) / 2, y(B) - 0.7), ((x(B) + x(Q)) / 2, y(B) - 0.5), Q - (0, 0.5), Q - (0, 0.3)) → h
  19. PolyLine(A - (0, 0.3), A - (0, 0.5), ((x(A) + x(P)) / 2, y(P) - 0.5), ((x(A) + x(P)) / 2, y(A) - 0.7), ((x(A) + x(P)) / 2, y(A) - 0.5), P - (0, 0.5), P - (0, 0.3)) → j

AI Drawing Prompt Reference

Create a geometric visualization to compare two numerical values using percentages to show relative differences. Start by constructing two base rectangles, then extend them proportionally according to the values for comparison. Use mirrored lines and segments to connect key points, highlighting symmetry and ratio relationships. Finally, display the simplified percentage results with distinct colors or styles to make the overall structure clear and easy to understand.
The prompt above was compiled from the original drawing commands and is for reference only.