Written Subtraction: Algorithm Demonstration for Natural Numbers

Written Subtraction: Algorithm Demonstration for Natural Numbers
Loading the math board and drawing, please wait…
2021-08-18 18:38
This example demonstrates the written subtraction algorithm for natural numbers. Key mathematical concepts include subtraction rules, borrowing principles, and digit alignment. Construction involves using Join and If commands to create subtraction expressions, and utilizing list objects (e.g., questionCount, listeNr) for numerical display. Suitable for elementary students in grades 5-6 to practice writing subtraction algorithms and reinforce natural number subtraction skills.

GeoGebra Commands & Parameters

  1. Join({{1, 2}, Shuffle[{3, 4, 5, 6, 7, 8, 9, 10}], Join[Sequence[Shuffle[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}], m, 1, 15]]}) → listeNr
  2. If(nr ∈ üHunderter, m1 - 1, 0) → ü1
  3. If(nr ∈ üEiner, m3 - 1, If[nr ∈ üZehner, m3 + 10, 0]) → ü3
  4. If(nr ∈ üEiner, m4 + 10, 0) → ü4
  5. If(nr ∈ üZehner, m2 - 1, If[nr ∈ üHunderter, m2 + 10, 0]) → ü2
  6. If(nr ∈ üHunderter ∧ (step ≥ 3 ∧ step2 ≥ 4 ∨ step > 3), colort, "ffffff") → colorÜ1
  7. If(nr ∈ üZehner ∧ (step ≥ 2 ∧ step2 ≥ 4 ∨ step > 2), colorh, If[nr ∈ üHunderter ∧ (step ≥ 3 ∧ step2 ≥ 5 ∨ step > 3), colorh, "ffffff"]) → colorÜ2
  8. If(nr ∈ üEiner ∧ (step ≥ 1 ∧ step2 ≥ 4 ∨ step > 1), colorz, If[nr ∈ üZehner ∧ (step ≥ 2 ∧ step2 ≥ 5 ∨ step > 2), colorz, "ffffff"]) → colorÜ3
  9. If(nr ∈ üEiner ∧ (step ≟ 1 ∧ step2 ≥ 5 ∨ step > 1), colore, "ffffff") → colorÜ4
  10. If(step > 3, colort, "ffffff") → colorD1
  11. If(nr ∈ üHunderter ∧ (step ≟ 3 ∧ step2 ≥ 6 ∨ step > 3), colorh, If[(¬(nr ∈ üHunderter)) ∧ step > 2, colorh, "ffffff"]) → colorD2
  12. If(nr ∈ üZehner ∧ (step ≟ 2 ∧ step2 ≥ 6 ∨ step > 2), colorz, If[(¬(nr ∈ üZehner)) ∧ step > 1, colorz, "ffffff"]) → colorD3
  13. If(nr ∈ üEiner ∧ (step ≟ 1 ∧ step2 ≥ 6 ∨ step > 1), colore, If[(¬(nr ∈ üEiner)) ∧ step > 0, colore, "ffffff"]) → colorD4

AI Drawing Prompt Reference

Create an interactive illustration of column subtraction for natural numbers: align the minuend and subtrahend by ones, tens, and hundreds; generate random problems from a list; show the borrowing process by highlighting each digit column step by step, changing colors when a borrow occurs, so the algorithm’s each stage is visually clear. Include dynamic color cues for hundreds, tens, and ones as the steps progress, and display the intermediate results after each borrow.
The prompt above was compiled from the original drawing commands and is for reference only.