Geometric Distribution Probability Mass Function

Geometric Distribution Probability Mass Function
Loading the math board and drawing, please wait…
2013-11-12 02:11
This GeoGebra applet demonstrates the Geometric Distribution in probability theory. It models the probability distribution of the number of trials needed to obtain the first success in a sequence of independent Bernoulli trials, where each trial has a constant success probability of p. The probability mass function is given by f(x) = (1-p)^(x-1) * p, where x takes positive integer values 1, 2, 3, and so on. The interactive model allows users to adjust the success probability p using a slider and visually explore how the distribution changes accordingly. A sequence display and a bar chart present the probability values for different numbers of trials, making it easy to see how probabilities decrease as the required number of trials increases. This hands-on exploration helps learners develop an intuitive understanding of discrete random variables and their distribution characteristics. By manipulating the parameter p, students can observe how higher success probabilities concentrate the distribution toward smaller values of x, while lower probabilities spread the mass further out. The applet serves as an effective visual aid for grasping the behavior of geometric distributions, reinforcing key concepts such as independence of trials, the memoryless property, and the shape of probability mass functions for discrete distributions.

GeoGebra Commands & Parameters

  1. Textfield(p) → inputBox1
  2. Sequence(Polygon[(k - dx, 0), (k + dx, 0), (k + dx, f(k)), (k - dx, f(k))], k, 1, n) → listPolys
  3. Sequence(f(k), k, 1, n) → ps
  4. Sequence(Text[Element[ps, k], (k, Element[ps, k]) + Offset], k, 1, n) → listLabels

AI Drawing Prompt Reference

Create a geometric distribution probability mass function graph. First, set a slider for the success probability p. Then, calculate the probability for each trial number x based on p and represent these probabilities with a bar chart. Finally, use a series of rectangles to show the probability for each trial number, with the height of each rectangle corresponding to the probability value and a width of dx, positioned on the x-axis.
The prompt above was compiled from the original drawing commands and is for reference only.