Interactive Fraction Subtraction Practice with Bar and Circle Diagrams
Loading the math board and drawing, please wait…
In collections
Erstes Rechnen mit Brüchen - Subtrahieren
This GeoGebra example demonstrates an interactive fraction subtraction exercise for grades 5-6. It randomly generates numerator and denominator values, then uses bar, segment, and circle-sector diagrams to show fractions as equal parts and model subtraction visually. The core concepts include fraction meaning, equal denominators, subtracting fractions, numerator-denominator relationships, and diagram-based reasoning. The construction summary shows Circle, Polygon, and Segment for geometric models, Sequence for repeated sectors or bars, Shuffle/Element/Last/Remove for random question generation, Textfield/InputBox/If/Defined for answer input and validation, and Translate/Mirror/Midpoint/Length for positioning and sizing. It is suitable for classroom practice, self-paced drills, and teacher demonstrations of fraction operations.
GeoGebra Commands & Parameters
Shuffle(Sequence[Random[2, 8], i, 1, 100]) → randomNosForNenner, {7, 4, 4, 2, 3, 6, 2, 5, 5, 2, 7, 7, 4, 8, 7, 8, 8, 5, 6, 5, 4, 3, 6, 2, 6, 6, 6, 7, 4, 6, 6, 2, 3, 6, 8, 4, 8, 8, 3, 8, 5, 3, 3, 4, 2, 7, 8, 6, 6, 3, 5, 8, 2, 2, 6, 8, 7, 5, 8, 8, 4, 8, 4, 7, 8, 6, 2, 7, 6, 3, 8, 3, 3, 4, 4, 8, 8, 2, 5, 4, 6, 8, 8, 7, 7, 4, 3, 4, 7, 3, 8, 4, 8, 2, 2, 7, 6, 3, 8, 7}Element(randomNosForNenner, Mod[questionCount, 100] + 1) → nenner2Shuffle(Sequence[Random[2, nenner2], i, 1, 100]) → randomNosForZaehler2, {5, 5, 2, 2, 2, 3, 2, 6, 3, 2, 6, 4, 4, 6, 2, 5, 3, 5, 5, 7, 7, 6, 4, 2, 4, 5, 3, 5, 6, 3, 5, 2, 5, 2, 3, 3, 7, 7, 6, 6, 6, 5, 7, 3, 7, 3, 6, 4, 3, 3, 3, 2, 6, 2, 2, 3, 3, 2, 4, 4, 2, 4, 7, 5, 3, 3, 4, 6, 2, 6, 7, 2, 2, 3, 4, 3, 5, 6, 6, 7, 2, 3, 5, 6, 2, 4, 3, 2, 5, 5, 6, 3, 7, 5, 5, 6, 7, 5, 7, 7}Element(randomNosForZaehler2, Mod[questionCount, 100] + 1) → zaehler2Last(vonBis) → vonBis1Remove(vonBis, vonBis1) → vonBis2Shuffle(Sequence[RandomElement[vonBis2], i, 1, 100]) → randomNosForZaehler3, {4, 1, 3, 3, 1, 3, 4, 2, 4, 4, 4, 3, 4, 1, 3, 2, 1, 3, 3, 3, 4, 1, 1, 2, 3, 3, 1, 1, 3, 1, 4, 1, 1, 3, 2, 1, 3, 3, 2, 1, 3, 3, 3, 3, 4, 1, 4, 3, 3, 2, 3, 3, 4, 2, 2, 3, 4, 1, 2, 1, 3, 3, 3, 2, 3, 1, 2, 1, 4, 3, 2, 2, 4, 2, 1, 1, 3, 2, 1, 1, 1, 3, 1, 2, 3, 2, 2, 4, 2, 2, 3, 2, 4, 2, 3, 2, 2, 4, 1, 4}Element(randomNosForZaehler3, Mod[questionCount, 100] + 1) → zaehler3Circle(A_1, C) → dSequence(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) → sectors2Textfield(aInput) → InputBox1Textfield(bInput) → InputBox2Sequence(I + ((i * widthNennerBar / 12) * (1, 0)), i, 1, 12) → allowedPositionsNennerBarPoint(allowedPositionsNennerBar) → PNennerSequence(H_1 + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → allowedPositionsZaehlerBar1Point(allowedPositionsZaehlerBar1) → PZaehler1Sequence(H + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → allowedPositionsZaehlerBarPoint(allowedPositionsZaehlerBar) → PZaehlerSequence(E + ((i * widthZaehlerBar / 12) * (1, 0)), i, -4, zaehler2, 0.5) → listeEx1Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackElement(randomNosForZaehler2, Mod[questionCount, 100] + 1) → numXElement(randomNosForZaehler3, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForZaehler2(i) ≟ randomNosForZaehler2(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForZaehler3(i) ≟ randomNosForZaehler3(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForZaehler2(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForZaehler3(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatDefined((aInput * bInput)) → fixedCircle(A, B) → cSegment(A, A + (Radius[c] * (0, 1))) → gSegment(I, I + (widthNennerBar * (1, 0))) → hSegment(H, H + (widthZaehlerBar * (1, 0))) → iSegment(H_1, H_1 + (widthZaehlerBar * (1, 0))) → jSequence(Rotate[g, ((i * 2) * pi / nenner2), A], i, 0, nenner2 - 1) → StrechenLeftKreisCircle(A_2, D) → eSegment(A_1, A_1 + (Radius[d] * (0, 1))) → kSegment(A_2, A_2 + (Radius[e] * (0, 1))) → lSequence(Rotate[k, ((i * 2) * pi / nenner2), A_1], i, 0, nenner2 - 1) → StreckenKreisMitteSequence(Rotate[l, ((i * 2) * pi / nenner2), A_2], i, 0, nenner2 - 1) → StreckenKreisRechtsSequence(CircleSector[A, Rotate[KreisOben, (((-(i + 1)) * 2) * pi / nenner2), A], Rotate[KreisOben, (((-i) * 2) * pi / nenner2) - 0.0001, A]], i, 0, zaehler2 - 1) → sectors1Sequence(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_2Sequence(E + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → streckenStrecken1Sequence(F + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → streckenStrecken2Element(types, 4) → Text3Element(types, 4) → Text4Sequence(E + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, zaehler2) → streckenPunktLeftIf(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))]]]]]]]]]]]) → PExampleSequence(F + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → streckenPunktRightSequence(F + ((i * widthZaehlerBar / 12) * (1, 0)), i, 1, zaehler3, 0.5) → listeEx2If(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))]]]]]]]]]]]) → PExample1Segment(E, PExample) → mSegment(F, PExample1) → nLast(streckenStrecken1) → referencePoint1Last(streckenStrecken2) → referencePoint2Segment(E, P1) → pSegment(F, P2) → qSegment(G, L) → rSegment(M, N) → sSequence(Segment[(x(M) + t, y(M)), (x(M) + t, y(M) + 2)], t, 0, nenner2 / 2, 0.5) → balken2Sequence(Segment[(x(G) + t, y(G)), (x(G) + t, y(G) + 2)], t, 0, nenner2 / 2, 0.5) → balken1Sequence(L + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte1Sequence(G + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte2Sequence(N + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte3Sequence(M + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte4Last(balkenPunkte1) → LastBalkenPunkte1Last(balkenPunkte2) → LastBalkenPunkte2Last(balkenPunkte3) → LastBalkenPunkte3Last(balkenPunkte4) → LastBalkenPunkte4Point(LastBalkenPunkte1) → OSegment(L, O) → tPoint(LastBalkenPunkte2) → PSegment(G, P) → aPoint(LastBalkenPunkte4) → QSegment(M, Q) → bPoint(LastBalkenPunkte3) → RSegment(N, R) → f_1Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, -5, zaehler2 / 2 - 5.5, 0.5) → l1Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, 2, zaehler3 / 2 + 1.5, 0.5) → l2Translate(sectors1, (schiebeSectors1, 0)) → sectors1'Sequence(S + ((i * widthZaehlerBar / 12) * (1, 0)), i, 0, nenner2) → streckenStrecken3Last(streckenStrecken3) → referencePoint3Segment(S, P3) → g_1Segment(T, U) → i_1Sequence(Segment[(x(U) + t, y(U)), (x(U) + t, y(U) + 2)], t, 0, nenner2 / 2, 0.5) → balken3Sequence(T + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte5Sequence(U + ((i * widthZaehlerBar / 8) * (1, 0)), i, 0, nenner2) → balkenPunkte6Last(balkenPunkte5) → LastBalkenPunkte5Last(balkenPunkte6) → LastBalkenPunkte6Point(LastBalkenPunkte5) → VPoint(LastBalkenPunkte6) → WSegment(T, V) → j_1Segment(U, W) → k_1Sequence(Polygon[(i, 5), (i + 0.5, 5), (i + 0.5, 7), (i, 7)], i, 8, zaehler2 / 2 + 5.5, 0.5) → l3Translate(l1, (schiebeBalken1, 0)) → l1'Translate(l2, (schiebeBalken2, 0)) → l2'Translate(E, (schiebeStrecke1, 0)) → E'Translate(PExample, (schiebeStrecke1, 0)) → PExample'Segment(E', PExample') → m'Translate(F, (schiebeStrecke2, 0)) → F'Translate(PExample1, (schiebeStrecke2, 0)) → PExample1'Segment(F', PExample1') → n'Last(balken1) → l4First(balken2) → l5Midpoint(strecke1) → ZMidpoint(strecke2) → B_1Last(balken2) → l6First(balken3) → l7Midpoint(strecke3) → C_1Midpoint(strecke4) → D_1Segment(Z, B_1) → h_1Segment(C_1, D_1) → l_1Midpoint(h_1) → E_1Midpoint(l_1) → F_1Last(streckenStrecken1) → l8First(streckenStrecken2) → l9Last(streckenStrecken2) → l10First(streckenStrecken3) → l11Point(l8) → G_1Point(l9) → I_1Segment(G_1, I_1) → m_1Point(l10) → J_1Point(l11) → K_1Segment(J_1, K_1) → n_1Midpoint(m_1) → L_1Midpoint(n_1) → M_1Translate(sectors2, (schiebeSectors2, 0)) → sectors2'Mirror(sectors2', gl2) → sectors2''First(streckenStrecken1) → l12First(streckenStrecken2) → l13First(streckenStrecken3) → l14Last(streckenStrecken1) → l15Last(streckenStrecken2) → l16Last(streckenStrecken3) → l17Remove(streckenStrecken1, {streckenStrecken1(1)}) → str1Last(str1) → str2Remove(str1, str2) → str3Remove(streckenStrecken2, {streckenStrecken2(1)}) → str4Last(str4) → str5Remove(str4, str5) → str6Remove(streckenStrecken3, {streckenStrecken3(1)}) → str7Last(str7) → str8Remove(str7, str8) → str9Segment(PUN2, PUN1) → p_1Segment(PUN7, PUN8) → q_1Segment(PUN3, PUN4) → r_1Segment(PUN9, PUN10) → s_1Segment(PUN5, PUN6) → t_1Segment(PUN11, PUN12) → a_1Length(j_1) → v
AI Drawing Prompt Reference
Draw an interactive fraction subtraction practice graphic. The graphic should include a horizontal bar chart representing the numerator, and multiple circular sector diagrams above it, each corresponding to a denominator, with sector size indicating the fraction's proportion. The bar chart and sector diagrams share a common denominator to illustrate fraction meaning. Add two input boxes for entering numerator and denominator, and a feedback area showing the result. Construction order: first generate random numerator and denominator values, then draw the bar chart and sector diagrams, and finally add the input boxes and feedback area. The graphic should clearly demonstrate the subtraction process and be suitable for classroom practice.
The prompt above was compiled from the original drawing commands and is for reference only.