The Butterfly Effect for Adding Fractions

The Butterfly Effect for Adding Fractions
Loading the math board and drawing, please wait…
2020-03-08 16:41
This GeoGebra example visualizes the butterfly method for adding fractions, where the cross-multiplication of numerators and denominators is represented through dynamic geometric constructions. The core mathematical concepts include fraction addition, greatest common divisor (GCD), and random number generation. The construction uses commands such as Random, If, Ellipse, OrthogonalLine, Mirror, Point, CircumcircleArc, Segment, GCD, and Vector to create butterfly-wing-like shapes that illustrate the steps of the algorithm. Text objects display the fractions and results, while sliders or random inputs allow exploration. This is suitable for middle school students learning fraction operations and geometric construction, as well as for teachers demonstrating the butterfly algorithm in an interactive way.

GeoGebra Commands & Parameters

  1. Random(1, 9) → n'1
  2. Random(1, 9) → d1
  3. Random(1, 9) → d'2
  4. If(n'1 ≟ d1, n'1 + 1, n'1) → n1
  5. Random(1, 9) → n2
  6. If(d'2 ≟ d1, d1 + 1, d'2) → d2
  7. Ellipse(A, B, C) → c
  8. OrthogonalLine(D, xAxis) → a
  9. Mirror(c, a) → c'
  10. Point(c) → E
  11. CircumcircleArc(E, F, G) → d
  12. CircumcircleArc(G, H, I) → e
  13. Mirror(E, a) → E'
  14. Mirror(F, a) → F'
  15. Mirror(G, a) → G'
  16. CircumcircleArc(E', F', G') → d'
  17. Mirror(G, a) → G'_1
  18. Mirror(H, a) → H'
  19. Mirror(I, a) → I'
  20. CircumcircleArc(G'_1, H', I') → e'
  21. Segment(J, K) → b
  22. Mirror(J, a) → J'
  23. Mirror(K, a) → K'
  24. Segment(J', K') → b'
  25. Point(c') → L
  26. Point(a) → M
  27. CircumcircleArc(L, O, M) → f
  28. Mirror(L, a) → L'
  29. Mirror(O, a) → O'
  30. Mirror(M, a) → M'
  31. CircumcircleArc(L', O', M') → f'
  32. Segment(N, P) → g
  33. GCD(nres, dd) → m
  34. Segment(Q, R) → h
  35. CircumcircleArc(S, T, U) → k
  36. CircumcircleArc(V, W, Z) → p
  37. Point(k) → A_1
  38. Vector(A_1, U) → u
  39. Point(p) → B_1
  40. Vector(B_1, Z) → v

AI Drawing Prompt Reference

Create a geometric illustration of the butterfly method for adding fractions. Start with a horizontal symmetry axis. Above the axis, draw an ellipse to form the upper wing, then mirror it below the axis for the lower wing. Add arcs and segments on both wings to represent the cross-multiplication paths. Place points to mark the numerators and denominators, and use arrows or vectors to show the multiplication direction. Display the two fractions and their sum as text near the center, along with the simplified result. Ensure the design is symmetric, with distinct colors for upper and lower parts, emphasizing the butterfly shape and the fraction operation.
The prompt above was compiled from the original drawing commands and is for reference only.