Try it yourself · Class 12 Maths · Probability
Binomial distribution: change n and p and watch the bars, the mean and the variance
A binomial random variable counts successes in independent trials, each with chance . The simulation draws the exact bar chart of , marks the mean , and can run random trials so you can see real draws scatter around the exact bars.
Bars are the exact from the formula. The green line is the mean and the shaded band is one standard deviation each side. Orange dots appear only after you press the button: they are simulated random draws, and change every time.
The simulation needs JavaScript; everything it shows is explained below.
What to change
- Number of trials n: from 1 to 30 (starts at 10).
- Chance of success p: from 0.05 to 0.95 in steps of 0.05 (starts at 0.40).
- Run 200 random trials: adds 200 simulated runs as orange dots; moving n or p clears them. These are random draws, not measurements.
What to watch
- At = 10, = 0.40: mean 4.00, variance 2.400, standard deviation 1.549; the most likely is 4 with = 0.251.
- At = 20, = 0.50: mean 10.00, variance 5.000 and the bars are symmetric around = 10 ( = 0.176).
- At = 30, = 0.10: mean 3.00, variance 2.700 and the bars lean to the left; the most likely is 3 ( = 0.236).
- At = 3, = 0.50: mean 1.50, variance 0.750, standard deviation 0.866; the bars for = 1 and = 2 are both 0.375.
- After more random runs, the mean of the draws gets closer to and the dots follow the bars more closely.
The formula
is the number of trials, the chance of success in one trial, and = 0, 1, …, the number of successes.
Try these questions
Work each one out with the simulation, tap to see the answer, then try the chapter quiz.
-
Bihar Board 2024
Find the mean for the following probability distribution :| | 0 | 1 | 2 | 3 |
|—|—|—|—|—|
| | 1/8 | 3/8 | 3/8 | 1/8 |Show the answer
3/2 -
Bihar Board 2025
Find the probability distribution of the number of doublets in three throws of a pair of dice.Show the answer
P(X=0)=125/216, P(X=1)=75/216, P(X=2)=15/216, P(X=3)=1/216 -
CBSE 2020
Find the probability distribution of the random variable X, which denotes the number of doublets in four throws of a pair of dice. Hence, find the mean of the number of doublets (X).Show the answer
P(X=0)=625/1296, P(X=1)=500/1296, P(X=2)=150/1296, P(X=3)=20/1296, P(X=4)=1/1296; mean = 2/3
