Interactive Visual Tool for Converting Mixed Numbers to Improper Fractions

Interactive Visual Tool for Converting Mixed Numbers to Improper Fractions
Loading the math board and drawing, please wait…
2020-11-03 09:11
This GeoGebra example provides an interactive visualization for converting mixed numbers (mixed fractions) into improper fractions. It demonstrates the equivalence between a mixed number (whole part plus a proper fraction) and an improper fraction where the numerator is greater than the denominator. The construction uses commands such as If, Textfield, Reverse, Zip, First, Flatten, and Segment, with objects including shifter, spacer, height, denText, den, numText, num, wholeText, whole, InputBox1-3 for user input of whole, numerator, and denominator. Visual elements like leftAnchors, length, l1, zoomer, wholes, permPartitions, l3, l2, and buttons (button1-3) control step-by-step transformation. The tool draws fraction bars using leftPolys, leftWholes, leftSegments, leftOutlines, and adjusts layout with translater, moreLines, growPartitions, growSegments, lengthAdjuster, step, and fractionBar. It is suitable for upper elementary and middle school students learning fraction concepts, and for teachers demonstrating the relationship between mixed numbers and improper fractions in class.

GeoGebra Commands & Parameters

  1. If(denText ≟ "", 5, FromBase[denText, 10]) → den
  2. If(numText ≟ "", 5, FromBase[numText, 10]) → num
  3. If(wholeText ≟ "", 5, FromBase[wholeText, 10]) → whole
  4. Textfield(wholeText) → InputBox1
  5. Textfield(numText) → InputBox2
  6. Textfield(denText) → InputBox3
  7. Reverse(Sequence[Point[{-1.5 + shifter, (i * (height + 1 - spacer))}], i, 0, whole + ceil(num / den) - 1]) → leftAnchors
  8. Zip(Polygon[AAA, AAA + (length, 0), AAA + (length, height), AAA + (0, height)], AAA, leftAnchors) → l1
  9. First(l1, whole) → wholes
  10. Flatten(Sequence[Sequence[Point[{(i * length / den) - 1.5 + shifter, y(Element[leftAnchors, j])}], i, 0, den - 1], j, whole + 1, Length[leftAnchors]]) → permPartitions
  11. Zip(Segment[AAA, AAA + (0, height)], AAA, permPartitions) → l3
  12. First(Zip[Polygon[AAA, AAA + (1 / den, 0), AAA + (1 / den, height), AAA + (0, height)], AAA, permPartitions], num) → l2
  13. Flatten(Sequence[Sequence[Point[{(i * length / den) - 1.5 + shifter, y(Element[leftAnchors, j])}], i, 0, den - 1], j, 0, whole]) → growPartitions
  14. Zip(Segment[AAA, AAA + (0, moreLines)], AAA, growPartitions) → growSegments
  15. Segment((-0.4, (zoomer * 0.89)), (-0.31, (zoomer * 0.89))) → fractionBar

AI Drawing Prompt Reference

Create an interactive tool for converting mixed numbers to improper fractions. First, input the whole number, numerator, and denominator. Then, generate a series of equally divided segments to show how a mixed number converts to an improper fraction. Adjust the length and position of the segments to demonstrate each step of the conversion, and finally use a segment to represent the final improper fraction.
The prompt above was compiled from the original drawing commands and is for reference only.