Lottery Draw Probability Model with Binomial Distribution

Lottery Draw Probability Model with Binomial Distribution
Loading the math board and drawing, please wait…
2015-04-17 11:37
This GeoGebra example demonstrates how a lottery-like random draw can be modeled as a probability experiment and how the distribution of “hits” changes with parameters using visual constructions. The key concepts include the binomial distribution (the probability of obtaining a given number of successes in a fixed number of trials) and parameterized probability visualization. Construction highlights: Sequence is used to generate the underlying sample/number structure; Unique and KeepIf filter and remove duplicates to form the candidate set; Max and Min determine bounds/ranges, while Point and Circle create and arrange geometric reference elements. Binomial is then used to compute the success probabilities, which are displayed and linked to interactive controls (e.g., buttons/text objects for presentation and parameter updates). Suitable for upper secondary and introductory college probability & statistics, especially for interactive teaching of how binomial distributions arise from repeated random trials.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 49 - k], k, 0, 6) → list1
  2. Element(list1, 1) → b1
  3. Sequence(k, k, 1, 49) → list2
  4. KeepIf(x ≠ b1, list2) → list3
  5. Element(list3, Element[list1, 2]) → b2
  6. KeepIf(x ≠ b2, list3) → list4
  7. Element(list4, Element[list1, 3]) → b3
  8. KeepIf(x ≠ b3, list4) → list5
  9. Element(list5, Element[list1, 4]) → b4
  10. KeepIf(x ≠ b4, list5) → list6
  11. Element(list6, Element[list1, 5]) → b5
  12. KeepIf(x ≠ b5, list6) → list7
  13. Element(list7, Element[list1, 6]) → b6
  14. Unique(Join[{{b1}, {b2}, {b3}, {b4}, {b5}, {b6}}]) → s
  15. Element(s, 4) → a4
  16. Element(s, 5) → a5
  17. Element(s, 2) → a2
  18. Element(s, 3) → a3
  19. Max(s) → a6
  20. Min(s) → a1
  21. Point(xAxis) → A
  22. Circle(A, 1) → g
  23. Point(xAxis) → B
  24. Circle(B, 1) → h
  25. Point(xAxis) → C
  26. Circle(C, 1) → k
  27. Point(xAxis) → D
  28. Circle(D, 1) → p
  29. Point(xAxis) → E
  30. Circle(E, 1) → q
  31. Point(xAxis) → F
  32. Circle(F, 1) → r
  33. Binomial(49, 6) → m
  34. KeepIf(x ≠ b6, list7) → list8
  35. Element(list8, Element[list1, 7]) → b7

AI Drawing Prompt Reference

Create a visual model of a lottery draw probability experiment. Place six distinct random numbers on a number line, each marked by a circle. Above the line, show a binomial distribution bar chart where the x-axis represents the number of successes and the y-axis represents probability. Include interactive controls such as sliders or buttons to adjust the number of trials and success probability, causing the distribution shape to update dynamically. The composition should clearly illustrate the relationship between random draws and the resulting binomial probability distribution.
The prompt above was compiled from the original drawing commands and is for reference only.