Fraction Subtraction Practice with GeoGebra

Fraction Subtraction Practice with GeoGebra
Loading the math board and drawing, please wait…
2022-08-03 09:16
This example demonstrates fraction subtraction using GeoGebra, suitable for students in grades 5-6. The key mathematical concepts involve fraction subtraction operations, geometric construction, and dynamic interaction. Construction points include using Shuffle, Element, Join, and Sequence commands to create fraction input boxes, along with Textfield for dynamic display. It is suitable for classroom practice and self-study, helping students understand fraction subtraction steps and graphical representation.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[3, 8], i, 1, 100]) → randomNosForNenner, {4, 5, 4, 8, 5, 5, 7, 4, 8, 8, 4, 5, 6, 3, 8, 5, 7, 3, 6, 7, 3, 4, 3, 5, 6, 7, 3, 7, 8, 4, 7, 6, 5, 7, 8, 5, 3, 3, 6, 7, 4, 4, 5, 8, 7, 6, 3, 6, 7, 6, 5, 3, 5, 5, 8, 6, 3, 8, 5, 7, 4, 7, 8, 8, 3, 5, 3, 4, 8, 7, 4, 7, 3, 6, 6, 6, 7, 7, 4, 4, 3, 5, 3, 5, 7, 4, 8, 3, 3, 5, 6, 5, 4, 7, 5, 4, 4, 7, 3, 5}
  2. Element(randomNosForNenner, Mod[questionCount, 100] + 1) → nenner2
  3. Shuffle(Sequence[Random[1, nenner2 - 2], i, 1, 100]) → randomNosForZaehler3, {2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 1}
  4. Element(randomNosForZaehler3, Mod[questionCount, 100] + 1) → zaehler3
  5. Shuffle(Sequence[Random[zaehler3 + 1, nenner2], i, 1, 100]) → randomNosForZaehler2, {3, 3, 2, 4, 3, 3, 4, 2, 3, 3, 4, 3, 2, 4, 3, 3, 4, 2, 3, 3, 3, 2, 2, 2, 3, 4, 3, 4, 4, 4, 3, 4, 4, 3, 4, 4, 2, 4, 4, 2, 4, 2, 4, 2, 4, 4, 4, 4, 2, 4, 3, 4, 3, 2, 2, 3, 4, 4, 2, 3, 2, 3, 3, 4, 4, 2, 3, 2, 4, 3, 2, 2, 2, 3, 2, 4, 4, 4, 2, 4, 3, 4, 3, 3, 4, 2, 3, 2, 4, 4, 2, 3, 4, 3, 4, 2, 4, 2, 2, 3}
  6. Element(randomNosForZaehler2, Mod[questionCount, 100] + 1) → zaehler2
  7. Join({Sequence[Segment[F + ((i * widthZaehlerBar / 12), (-2 * hightLine)), F + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, 0, 0], Sequence[Segment[F + ((i * widthZaehlerBar / 12), (-hightLine)), F + ((i * widthZaehlerBar / 12), hightLine)], i, 0, nenner2], Sequence[Segment[F + ((i * widthZaehlerBar / 12), (-2 * hightLine)), F + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, nenner2, nenner2]}) → streckenStrecken2
  8. Last(streckenStrecken2) → referencePoint2
  9. Segment(F, P2) → q
  10. Circle(A_1, C) → d
  11. Sequence(CircleSector[A_1, Rotate[K, (((-(i + 1)) * 2) * pi / nenner2), A_1], Rotate[K, (((-i) * 2) * pi / nenner2) - 0.0001, A_1]], i, 0, zaehler3 - 1) → sectors2
  12. Textfield(aInput) → InputBox5
  13. Textfield(bInput) → InputBox6
  14. Sequence(I + ((i * widthNennerBar / 12) * (1, 0)), i, 1, 12) → allowedPositionsNennerBar
  15. Point(allowedPositionsNennerBar) → PNenner
  16. Sequence(H_1 + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → allowedPositionsZaehlerBar1
  17. Point(allowedPositionsZaehlerBar1) → PZaehler1
  18. Sequence(H + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → allowedPositionsZaehlerBar
  19. Point(allowedPositionsZaehlerBar) → PZaehler
  20. Sequence(E + ((i * widthZaehlerBar / 12) * (1, 0)), i, -4, zaehler2, 0.5) → listeEx1
  21. Element(randomNosForZaehler2, Mod[questionCount, 100] + 1) → numX
  22. Element(randomNosForZaehler3, Mod[questionCount, 100] + 1) → numY
  23. Append(true, Sequence[If[randomNosForZaehler2(i) ≟ randomNosForZaehler2(i - 1), false, true], i, 2, 100]) → stayX
  24. Append(true, Sequence[If[randomNosForZaehler3(i) ≟ randomNosForZaehler3(i - 1), false, true], i, 2, 100]) → stayY
  25. Remove(Sequence[If[stayX(i), randomNosForZaehler2(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  26. Remove(Sequence[If[stayY(i), randomNosForZaehler3(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  27. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  28. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  29. Circle(A, B) → c
  30. Segment(A, A + (Radius[c] * (0, 1))) → g
  31. Segment(I, I + (widthNennerBar * (1, 0))) → h
  32. Segment(H, H + (widthZaehlerBar * (1, 0))) → i
  33. Segment(H_1, H_1 + (widthZaehlerBar * (1, 0))) → j
  34. Sequence(Rotate[g, ((i * 2) * pi / nenner2), A], i, 0, nenner2 - 1) → StrechenLeftKreis
  35. Circle(A_2, D) → e
  36. Segment(A_1, A_1 + (Radius[d] * (0, 1))) → k
  37. Segment(A_2, A_2 + (Radius[e] * (0, 1))) → l
  38. Sequence(Rotate[k, ((i * 2) * pi / nenner2), A_1], i, 0, nenner2 - 1) → StreckenKreisMitte
  39. Sequence(Rotate[l, ((i * 2) * pi / nenner2), A_2], i, 0, nenner2 - 1) → StreckenKreisRechts
  40. Sequence(CircleSector[A, Rotate[KreisOben, (((-(i + 1)) * 2) * pi / nenner2), A], Rotate[KreisOben, (((-i) * 2) * pi / nenner2) - 0.0001, A]], i, 0, zaehler2 - 1) → sectors1
  41. Sequence(CircleSector[A_2, Rotate[J, (((-(i + 1)) * 2) * pi / nenner2), A_2], Rotate[J, (((-i) * 2) * pi / nenner2) - 0.0001, A_2]], i, 0, zaehler3 - 1) → sectors3_2
  42. Element(types, 4) → Text3
  43. Element(types, 4) → Text4
  44. Sequence(E + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, zaehler2) → streckenPunktLeft
  45. If(zaehler2 ≟ 1, E + ((1 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 2, E + ((2 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 3, E + ((3 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 4, E + ((4 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 5, E + ((5 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 6, E + ((6 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 7, E + ((7 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 8, E + ((8 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 9, E + ((9 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 10, E + ((10 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 11, E + ((11 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler2 ≟ 12, E + ((12 / 12 * widthZaehlerBar) * (1, 0))]]]]]]]]]]]) → PExample
  46. Sequence(F + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → streckenPunktRight
  47. Sequence(F + ((i * widthZaehlerBar / 12) * (1, 0)), i, 1, zaehler3, 0.5) → listeEx2
  48. If(zaehler3 ≟ 1, F + ((1 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 2, F + ((2 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 3, F + ((3 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 4, F + ((4 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 5, F + ((5 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 6, F + ((6 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 7, F + ((7 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 8, F + ((8 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 9, F + ((9 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 10, F + ((10 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 11, F + ((11 / 12 * widthZaehlerBar) * (1, 0)), If[zaehler3 ≟ 12, F + ((12 / 12 * widthZaehlerBar) * (1, 0))]]]]]]]]]]]) → PExample1
  49. Segment(E, PExample) → m
  50. Segment(F, PExample1) → n
  51. Join({Sequence[Segment[E + ((i * widthZaehlerBar / 12), (-2 * hightLine)), E + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, 0, 0], Sequence[Segment[E + ((i * widthZaehlerBar / 12), (-hightLine)), E + ((i * widthZaehlerBar / 12), hightLine)], i, 0, nenner2], Sequence[Segment[E + ((i * widthZaehlerBar / 12), (-2 * hightLine)), E + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, nenner2, nenner2]}) → streckenStrecken1
  52. Last(streckenStrecken1) → referencePoint1
  53. Segment(E, P1) → p
  54. Segment(G, L) → r
  55. Segment(M, N) → s
  56. Sequence(Segment[(x(M) + t, y(M)), (x(M) + t, y(M) + 2)], t, 0, nenner2 / 2, 0.5) → balken2
  57. Sequence(Segment[(x(G) + t, y(G)), (x(G) + t, y(G) + 2)], t, 0, nenner2 / 2, 0.5) → balken1
  58. Sequence(L + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte1
  59. Sequence(G + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte2
  60. Sequence(N + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte3
  61. Sequence(M + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte4
  62. Last(balkenPunkte1) → LastBalkenPunkte1
  63. Last(balkenPunkte2) → LastBalkenPunkte2
  64. Last(balkenPunkte3) → LastBalkenPunkte3
  65. Last(balkenPunkte4) → LastBalkenPunkte4
  66. Point(LastBalkenPunkte1) → O
  67. Segment(L, O) → t
  68. Point(LastBalkenPunkte2) → P
  69. Segment(G, P) → a
  70. Point(LastBalkenPunkte4) → Q
  71. Segment(M, Q) → b
  72. Point(LastBalkenPunkte3) → R
  73. Segment(N, R) → f_1
  74. Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, -5, zaehler2 / 2 - 5.5, 0.5) → l1
  75. Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, 2, zaehler3 / 2 + 1.5, 0.5) → l2
  76. Translate(sectors1, (schiebeSectors1, 0)) → sectors1'
  77. Join({Sequence[Segment[S + ((i * widthZaehlerBar / 12), (-2 * hightLine)), S + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, 0, 0], Sequence[Segment[S + ((i * widthZaehlerBar / 12), (-hightLine)), S + ((i * widthZaehlerBar / 12), hightLine)], i, 0, nenner2], Sequence[Segment[S + ((i * widthZaehlerBar / 12), (-2 * hightLine)), S + ((i * widthZaehlerBar / 12), (2 * hightLine))], i, nenner2, nenner2]}) → streckenStrecken3
  78. Last(streckenStrecken3) → referencePoint3
  79. Segment(S, P3) → g_1
  80. Segment(T, U) → i_1
  81. Sequence(Segment[(x(U) + t, y(U)), (x(U) + t, y(U) + 2)], t, 0, nenner2 / 2, 0.5) → balken3
  82. Sequence(T + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte5
  83. Sequence(U + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte6
  84. Last(balkenPunkte5) → LastBalkenPunkte5
  85. Last(balkenPunkte6) → LastBalkenPunkte6
  86. Point(LastBalkenPunkte5) → V
  87. Point(LastBalkenPunkte6) → W
  88. Segment(T, V) → j_1
  89. Segment(U, W) → k_1
  90. Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, 8, zaehler2 / 2 + 5.5, 0.5) → l3
  91. Translate(l1, (schiebeBalken1, 0)) → l1'
  92. Translate(l2, (schiebeBalken2, 0)) → l2'
  93. Translate(E, (schiebeStrecke1, 0)) → E'
  94. Translate(PExample, (schiebeStrecke1, 0)) → PExample'
  95. Segment(E', PExample') → m'
  96. Translate(F, (schiebeStrecke2, 0)) → F'
  97. Translate(PExample1, (schiebeStrecke2, 0)) → PExample1'
  98. Segment(F', PExample1') → n'
  99. Last(balken1) → l4
  100. First(balken2) → l5
  101. Midpoint(strecke1) → Z
  102. Midpoint(strecke2) → B_1
  103. Last(balken2) → l6
  104. First(balken3) → l7
  105. Midpoint(strecke3) → C_1
  106. Midpoint(strecke4) → D_1
  107. Segment(Z, B_1) → h_1
  108. Segment(C_1, D_1) → l_1
  109. Midpoint(h_1) → E_1
  110. Midpoint(l_1) → F_1
  111. Last(streckenStrecken1) → l8
  112. First(streckenStrecken2) → l9
  113. Last(streckenStrecken2) → l10
  114. First(streckenStrecken3) → l11
  115. Point(l8) → G_1
  116. Point(l9) → I_1
  117. Segment(G_1, I_1) → m_1
  118. Point(l10) → J_1
  119. Point(l11) → K_1
  120. Segment(J_1, K_1) → n_1
  121. Midpoint(m_1) → L_1
  122. Midpoint(n_1) → M_1
  123. Translate(sectors2, (schiebeSectors2, 0)) → sectors2'
  124. Mirror(sectors2', gl2) → sectors2''
  125. Textfield(input11) → InputBox1
  126. Textfield(input21) → InputBox3
  127. Textfield(input12) → InputBox2
  128. Textfield(input22) → InputBox4
  129. Sequence(Sequence[PointInput + ((i * dxInput), (j * dyInput)), i, 0, 2], j, 0, 1) → PosInput, {{(-4.729075080954588, 2.471315735926265), (0.4509249190454119, 2.471315735926265), (5.630924919045412, 2.471315735926265)}, {(-4.729075080954588, 1.291315735926265), (0.4509249190454119, 1.291315735926265), (5.630924919045412, 1.291315735926265)}}
  130. Translate(PtopLeftCornerFeedback, (dxInput, 0)) → PtopLeftCornerFeedback'
  131. Translate(PtopRightCornerFeedback, (dxInput, 0)) → PtopRightCornerFeedback'
  132. Translate(PbottomRightCornerFeedback, (dxInput, 0)) → PbottomRightCornerFeedback'
  133. Translate(PbottomLeftCornerFeedback, (dxInput, 0)) → PbottomLeftCornerFeedback'
  134. Polygon(PtopLeftCornerFeedback', PtopRightCornerFeedback', PbottomRightCornerFeedback', PbottomLeftCornerFeedback') → rectangleCorrect', ptopleftcornerfeedback', ptoprightcornerfeedback', pbottomrightcornerfeedback', pbottomleftcornerfeedback'
  135. Segment(E, E + ((nenner2 * widthZaehlerBar / 12), 0)) → lineStrecken1
  136. Segment(F, F + ((nenner2 * widthZaehlerBar / 12), 0)) → lineStrecken2
  137. Segment(S, S + ((nenner2 * widthZaehlerBar / 12), 0)) → lineStrecken3
  138. Segment(S, S + ((nenner2 * widthZaehlerBar / 12), 0)) → linieStrecke4
  139. If(SelectedElement[types] ≟ types(1), slider1 ≟ 10, SelectedElement[types] ≟ types(2), slider1 ≟ 12, slider1 ≟ 14) → fixSlider
  140. Defined(input) → fixed

AI Drawing Prompt Reference

Create a fraction subtraction practice diagram showing two side-by-side horizontal bar models and two corresponding circular sector models illustrating like-denominator subtraction. Each bar is divided into 3 to 8 equal segments; the first bar shades the minuend numerator segments, the second shades the subtrahend numerator segments. Above, two circles are partitioned into the same number of sectors with matching shading. Draggable points on bars mark numerator positions. Two input boxes below accept the result numerator and denominator. Symmetrical layout with distinct colors for minuend, subtrahend, and difference, designed for grades 5-6 interactive learning.
The prompt above was compiled from the original drawing commands and is for reference only.