Back to homeMathematics · 2nd Bach. Social Sciences · Change subject
Start for free
BAC2 ss · Mathematics
Statistics · The binomial distribution (discrete variable)

Mean and standard deviation of the binomial distribution

You already know how to set up a $B(n,p)$ and calculate $P(X=k)$ using the binomial coefficient. But an exam rarely asks for that exact calculation: it asks for the expected value of the number of successes and how "spread out" the results can be around that value. That is what the mean and standard deviation of the binomial are for, and they can be calculated without adding anything up.

Before you start, make sure you know: The binomial distribution (1st Bachillerato)
Before you start, make sure you know: Discrete random variable distributions (1st Bachillerato)

The formulas: $\mu=np$ and $\sigma=\sqrt{npq}$

Diagram relating the parameters n and p of a binomial distribution to the direct calculation of its mean and standard deviation. X ≡ B(n,p) μ=np, σ=√(npq) Nothing to add up: n and p already determine μ and σ.
Practice★☆☆Not started
A recent study on digital habits indicates that $85\%$ of Spanish teenagers aged 15 to 16 use two-factor authentication on their video game accounts. If we select a…

A recent study on digital habits indicates that $85\%$ of Spanish teenagers aged 15 to 16 use two-factor authentication on their video game accounts. If we select a random sample of $20$ teenagers:

  1. a) Identify the parameters $n$ and $p$ of the binomial distribution that models this situation.
  2. b) Calculate the expected number (mean) of teenagers who use this security system in the sample.
Solve
Practice★☆☆Not started
A music streaming platform has verified that the probability of a user "skipping" an algorithm-recommended song before it ends is $0,3$. If one afternoon you listen to a…

A music streaming platform has verified that the probability of a user "skipping" an algorithm-recommended song before it ends is $0,3$. If one afternoon you listen to a playlist of $12$ recommended songs:

  1. a) Determine the mean and variance of the number of songs you are expected to skip.
  2. b) Calculate the standard deviation and interpret what information it provides regarding data dispersion in this context.
recommended songs n = 12 Probability per song q = 0,7 listen p = 0,3 skip
Solve

Interpreting $\mu$ and $\sigma$: consistency and the typical interval

The mean tells you "how much to expect on average"; the standard deviation tells you "how far results can stray from that average without surprising anyone". The interval $(\mu-\sigma,\ \mu+\sigma)$ contains the most usual results.

Graph of the binomial distribution illustrating the mean μ and the typical spread interval between μ - σ and μ + σ. μ−σ      μ      μ+σ
Practice★☆☆Not started
A fair six-sided die is rolled a total of $30$ times, and the number of times the number "6" comes up is recorded. a) Define the random variable and its distribution. b)…

A fair six-sided die is rolled a total of $30$ times, and the number of times the number "6" comes up is recorded.

  1. a) Define the random variable and its distribution.
  2. b) Calculate the expected value of the variable and its standard deviation. Round the results to two decimal places.
Solve
Practice★★☆Not started
Two basketball players, Alba and Bruno, practice free throws. Alba has a scoring probability of $0,8$ and shoots $50$ throws. Bruno has a probability of $0,6$ but shoots…

Two basketball players, Alba and Bruno, practice free throws. Alba has a scoring probability of $0,8$ and shoots $50$ throws. Bruno has a probability of $0,6$ but shoots $80$ throws.

  1. a) Which of the two players has a higher expected number of baskets?
  1. b) Which of the two players shows greater dispersion (standard deviation) in their results? Interpret what this means in terms of consistency in the game.
Solve
Practice★★☆Not started
It has been verified that $40\%$ of students at a language centre sit the official B2 level exam. If there are $100$ students enrolled this year: a) Determine the…

It has been verified that $40\%$ of students at a language centre sit the official B2 level exam. If there are $100$ students enrolled this year:

  1. a) Determine the parameters of the variable $X$ defining the number of students sitting the exam.
  1. b) In binomial distributions, the most "typical" or likely values are considered to lie within the interval $(\mu - \sigma, \mu + \sigma)$. Calculate this interval for this specific case.
X P(X) μ = ? μ - σ = ? μ + σ = ? Typical interval n = 100 p = 0,40 X ~ B(?, ?)
Solve

The inverse problem: from the mean or the variance to $n$ and $p$

Sometimes the question does not give $n$ and $p$ directly, but the mean or the variance already calculated, and asks you to reconstruct the original parameters of the binomial.

Diagram of the inverse problem showing how to calculate q by dividing the variance by the mean and then solve for n. μ=np, σ²=npq q=σ²/μ and then n=μ/p
Practice★★☆Not started
On a popular social network, it has been estimated that the probability of a user interacting with a post containing cultural content is $p = 0,18$. If an influencer…

On a popular social network, it has been estimated that the probability of a user interacting with a post containing cultural content is $p = 0,18$. If an influencer launches a campaign that reaches a group of $n = 150$ followers:

  1. a) Calculate the expected number of followers who will interact with the post and its standard deviation.
  1. b) If the cost of the campaign is a fixed $50$ € plus $2$ € for each expected interaction (based on the mean), what is the expected budget for this advertising action?
Solve
Practice★★☆Not started
A discrete random variable follows a binomial distribution $X \sim B(n, p)$. It is known that its mean is $\mu = 12$ and its standard deviation is $\sigma = 3$. a)…

A discrete random variable follows a binomial distribution $X \sim B(n, p)$. It is known that its mean is $\mu = 12$ and its standard deviation is $\sigma = 3$.

  1. a) Determine the values of the parameters $n$ (number of trials) and $p$ (probability of success).
  1. b) Justify whether this distribution could be approximated by a normal distribution, based on the values obtained.
9 15 μ=12 σ=3 X ~ B(n, p) μ = n·p = 12 σ = √(n·p·q) = 3 σ² = n·p·q = 9 N(μ,σ) ↔ np≥5, nq≥5
Solve
Practice★★☆Not started
In a survey on reading habits conducted with $60$ teenagers, it is known that the expected number of regular digital press readers is $21$. a) Find the probability $p$…

In a survey on reading habits conducted with $60$ teenagers, it is known that the expected number of regular digital press readers is $21$.

  1. a) Find the probability $p$ that a randomly chosen teenager is a regular digital press reader.
  1. b) Calculate the standard deviation of this distribution.
  1. c) If we select another sample where the number of teenagers is doubled ($n=120$), how does the standard deviation change relative to the original sample? Justify your answer with calculations.
Solve

Maximum spread: when does a binomial vary the most?

With $n$ fixed, $\sigma=\sqrt{n\cdot p\cdot(1-p)}$ does not grow indefinitely with $p$: it depends on how the product $p\cdot(1-p)$ behaves.

Curve of the standard deviation as a function of the probability p for a fixed value of n, highlighting its maximum at p = 0,5. p=0,5 σ p maximum spread
Practice★★★Not started
In a study on the use of sustainable transport, it has been observed that the number of students who come to school by electric scooter, in groups of $50$ people,…

In a study on the use of sustainable transport, it has been observed that the number of students who come to school by electric scooter, in groups of $50$ people, follows a binomial distribution $B(50,\,p)$, where $p$ is the probability that a student uses an electric scooter. The standard deviation of that number of users is $\sigma = 3$.

The figure shows how the standard deviation $\sigma=\sqrt{50\,p\,(1-p)}$ varies as a function of $p$, along with the line $\sigma = 3$.

Graph of the standard deviation σ as a function of p for n = 50, with the horizontal line σ = 3 σ = 3 p (probability) σ 0 0,5 1 1 2 3 4
  1. a) Find the two possible values of the probability $p$ that a student uses an electric scooter.
  1. b) If it is known that the scooter is a minority means of transport ($p < 0,5$), calculate the mean number of users in a sample of $100$ students.
Solve
Practice★★★Not started
Let $X$ be a random variable following a binomial distribution $B(n, p)$. It is known that its mean is $\mu = 30$. a) What is the minimum value its standard deviation…

Let $X$ be a random variable following a binomial distribution $B(n, p)$. It is known that its mean is $\mu = 30$.

  1. a) What is the minimum value its standard deviation can take? Justify your answer by reasoning about the possible values of $p$.
  2. b) If the standard deviation is $\sigma = 5$, calculate the probability of obtaining at least one success in a sample of only $3$ individuals from that same population.
Solve

Summary

See all the exercises in this section