With a federal state selected, simulations are ordered by its grades. Your choice is only stored in this browser.
MathematicsGrade 11–13
Binomial distribution
The histogram of the binomial distribution: choose a range and read off the probability directly.
Loading simulation …
Tip: the highlighted points can be dragged with mouse or finger.
The controls are locked for this task.
What is it about?
A Bernoulli chain of length n repeats an experiment with only two outcomes (success or failure) n times independently, always with the same probability of successp. The number of successes X is then binomially distributed, X∼B(n;p):
P(X=k)=(kn)⋅pk⋅(1−p)n−k
With the cumulative distribution functionF(k)=P(X≤k):
at most k: P(X≤k)=F(k)
at least k: P(X≥k)=1−F(k−1)
between a and b: P(a≤X≤b)=F(b)−F(a−1)
Expected value μ=n⋅p, standard deviation σ=n⋅p⋅(1−p). The interval [μ−2σ;μ+2σ] usually holds about 95% of the probability.
Try it
Drag the bound k on the histogram and watch the calculation. Load example
Change p and n: where does μ go, how wide is the histogram? B(20; 0.3)
Switch to the cumulative view: every bar becomes a step of F(k). Step function
Run the experiment 1000 times and compare the orange outline with the bars.
Tasks
Task 1: Guessing in a test
20 questions with four answers each, guessing at random. Find P(X=5) and P(X≥10). Load task
Show solution
P(X=5)=(520)⋅0.255⋅0.7515≈0.2023; P(X≥10)=1−F(9)≈1−0.9861=0.0139. Show in simulation