Subtracting Unlike Fractions with Borrowing - Level 2

Subtracting Unlike Fractions with Borrowing - Level 2
Loading the math board and drawing, please wait…
2023-01-30 20:37
This GeoGebra example provides an interactive practice for subtracting fractions with different denominators, specifically including cases that require borrowing from the whole number part. The core math concepts involve finding common denominators, subtracting fractions, and handling mixed-number borrowing. Construction highlights: random problem generation using Shuffle, Zip, Sequence, and Transpose; LCM for common denominators; Textfield and Input objects for student answers; If and IsInteger for automatic checking; and hint display via showhint variables. Suitable for grades 5-6 students to practice fraction subtraction, and useful for teachers as a classroom demonstration or for self-paced learning.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[3, 6], i, 1, 100]) → randomNosForG, {5, 4, 6, 5, 6, 4, 3, 5, 3, 3, 5, 6, 6, 4, 6, 6, 5, 6, 5, 5, 6, 4, 4, 5, 5, 6, 3, 5, 3, 3, 3, 3, 6, 6, 4, 4, 4, 6, 6, 6, 6, 6, 5, 3, 5, 6, 3, 6, 6, 4, 3, 6, 5, 4, 6, 3, 4, 6, 4, 4, 6, 4, 3, 4, 3, 5, 5, 3, 4, 6, 4, 3, 3, 6, 5, 3, 4, 6, 4, 3, 5, 4, 4, 3, 6, 6, 4, 5, 5, 5, 5, 4, 4, 6, 6, 5, 6, 5, 4, 6}
  2. Zip(Random[1, g - 2], g, randomNosForG) → randomNosForH
  3. Sequence(Sequence[{j, m}, j, 1, m - 1], m, 2, 10) → l1, {{{1, 2}}, {{1, 3}, {2, 3}}, {{1, 4}, {2, 4}, {3, 4}}, {{1, 5}, {2, 5}, {3, 5}, {4, 5}}, {{1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}}, {{1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}}, {{1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}, {7, 8}}, {{1, 9}, {2, 9}, {3, 9}, {4, 9}, {5, 9}, {6, 9}, {7, 9}, {8, 9}}, {{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}}}
  4. Transpose(Join[l1]) → m1
  5. Zip(m / n, m, m1(1), n, m1(2)) → l2
  6. Length(l2) → numAllValues
  7. Sequence(Random[10, numAllValues - 10], m, 1, 110) → randomNosCutOff, {29, 21, 16, 23, 33, 23, 24, 22, 24, 32, 24, 11, 29, 14, 19, 27, 23, 29, 13, 28, 19, 33, 20, 12, 10, 23, 28, 16, 17, 15, 15, 15, 11, 21, 23, 25, 20, 25, 14, 18, 31, 34, 13, 12, 31, 21, 23, 20, 28, 10, 30, 24, 24, 10, 22, 22, 31, 29, 19, 20, 12, 20, 20, 14, 25, 33, 24, 12, 35, 28, 26, 32, 19, 19, 23, 35, 28, 28, 25, 24, 34, 32, 15, 22, 29, 17, 26, 22, 23, 24, 22, 29, 34, 32, 23, 20, 27, 34, 15, 26, 15, 20, 11, 18, 11, 10, 18, 25, 15, 20}
  8. Zip(Random[1, m - 1], m, randomNosCutOff) → randomNosForValue1
  9. Zip(Random[m + 1, numAllValues], m, randomNosCutOff) → randomNosForValue2
  10. Transpose(Sort[Transpose[m1], l2]) → m2
  11. If(same, m2(2, value2) + 1, m2(2, value2)) → d4
  12. If(same, m2(2, value2) + 1, m2(2, value2)) → d3
  13. If(same, m2(2, value2) + 1, m2(2, value2)) → d1
  14. Join(Sequence[Shuffle[{1, 2, 3, 4}], m, 1, 30]) → randomNosForTyp
  15. If(same, m2(2, value2) + 1, m2(2, value2)) → numD
  16. If(Defined[inputg] ∨ Defined[inputa] ∨ Defined[inputb], If[gemischt1 ∧ Defined[inputg], inputg, 0] + inputa / inputb ≟ If[gemischt1, numG, 0] + numA / numB, true) → correctAB
  17. If(sol1raw < sol2raw, sol1raw / GCD[sol1raw, sol2raw], (sol1raw - (sol2raw * floor(sol1raw / sol2raw))) / GCD[sol1raw, sol2raw]) → sol1
  18. If(sol1raw < sol2raw, 0, floor(sol1raw / sol2raw)) → sol0
  19. If(Defined[inputsol0], inputsol0 ≟ sol0 ∧ inputsol1 / inputsol2 ≟ sol1 / sol2, inputsol1 / inputsol2 ≟ sol1raw / sol2raw) → correctSol
  20. If(Defined[inputh] ∨ Defined[inputc] ∨ Defined[inputd], If[gemischt2 ∧ Defined[inputh], inputh, 0] + inputc / inputd ≟ If[gemischt2, numH, 0] + numC / numD, true) → correctCD
  21. Textfield(inputa) → Eingabefelda
  22. Textfield(inputb) → Eingabefeldb
  23. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {10, 9, 3, 1, 8, 3, 3, 6, 2, 6, 1, 3, 4, 8, 9, 0, 7, 6, 5, 8, 0, 7, 8, 3, 4, 9, 7, 3, 7, 7, 8, 8, 4, 1, 5, 2, 2, 10, 7, 1, 3, 4, 9, 5, 7, 3, 3, 4, 0, 2, 4, 0, 3, 4, 5, 2, 0, 10, 5, 8, 2, 5, 5, 9, 6, 6, 3, 2, 8, 3, 1, 0, 8, 0, 9, 8, 1, 3, 9, 0, 10, 5, 3, 8, 4, 9, 1, 9, 4, 2, 4, 6, 8, 0, 1, 2, 2, 6, 4, 1}
  24. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  25. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  26. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  27. IsInteger(sol1 / sol2) → checkWholeNum
  28. LaTeX(checkWholeNum, true, true) → Text3
  29. Corner(TextAngabe, 3) → P
  30. Textfield(inputc) → Eingabefeldc
  31. Textfield(inputd) → Eingabefeldd
  32. Textfield(inputg) → Eingabefeldg
  33. Textfield(inputh) → Eingabefeldh
  34. Textfield(inputsol0) → Eingabefeldsol0
  35. Textfield(inputsol1) → Eingabefeldsol1
  36. Textfield(inputsol2) → Eingabefeldsol2
  37. LCM(numB, numD) → vielfaches
  38. LCM(numB, numD) → sol2test
  39. LCM(numB, numD) → inputnennererweitert
  40. LCM(numB, numD) → a

AI Drawing Prompt Reference

Create an interactive fraction subtraction exercise interface for upper elementary students. The tool randomly generates problems involving subtraction of unlike fractions, some requiring borrowing from the whole number part. Students enter answers into text fields as mixed numbers or improper fractions, and the system checks correctness automatically. Hints can be shown to guide students through finding common denominators and handling regrouping. Problems refresh randomly to provide continuous practice.
The prompt above was compiled from the original drawing commands and is for reference only.