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

The binomial distribution

A multiple-choice test of $10$ questions with $4$ options each, a quality-control check on $50$ parts, a survey about digital habits given to $8$ students: in all three cases the same two-outcome experiment (success/failure, correct/faulty, yes/no) is repeated a fixed number of times. The binomial distribution models the number of "successes" in those repetitions.

Before you start, make sure you know: Dependent and independent events (1st Bachillerato)
Before you start, make sure you know: Exponential and logarithmic equations (1st Bachillerato)

The binomial experiment

Diagram of $n$ independent trials with probabilities $p$ and $q$ that define the binomial distribution. trial 1 trial 2 … trial n each trial: success (p) or failure (q=1−p), independent of each other X = no. of successes ≡ B(n,p)
Practice★☆☆Not started
In a survey on digital consumption habits, it was determined that the probability that a Baccalaureate student prefers using a tablet instead of a computer to study is…

In a survey on digital consumption habits, it was determined that the probability that a Baccalaureate student prefers using a tablet instead of a computer to study is $p = 0,3$. If we randomly select $8$ students from a class:

  1. a) Identify the parameters $n$ and $p$ of the binomial distribution that models this situation.
  2. b) What is the probability that exactly $3$ of them prefer the tablet?
Solve
Practice★☆☆Not started
A multiple-choice exam consists of $10$ questions with $4$ options each, of which only one is correct. A student who has not studied decides to answer all the questions…

A multiple-choice exam consists of $10$ questions with $4$ options each, of which only one is correct. A student who has not studied decides to answer all the questions at random.

  1. a) Justify why this situation follows a binomial distribution $B(n, p)$.
  2. b) What is the probability that they get exactly $5$ questions right?
Solve

The probability function

Breakdown of the terms of the binomial probability function: ways of choosing the positions, probability of the successes and of the failures. 0,4440,3920,138 0,0240,0020,000 012 345 B(5, 0,15): almost always 0 or 1 viral
Practice★☆☆Not started
A content creator on TikTok knows that the probability of one of their videos going "viral" (reaching more than 10 000 views) is $15\%$. If they have published $5$…

A content creator on TikTok knows that the probability of one of their videos going "viral" (reaching more than 10 000 views) is $15\%$. If they have published $5$ independent videos this week:

  1. a) Calculate the probability that none of the videos go viral.
  2. b) Calculate the probability that exactly $2$ videos do.
>10k p = 0,15 Success (Viral) q = 0,85 Failure 1 2 3 4 5 n = 5 independent videos
Solve
Practice★☆☆Not started
A basketball player shooting free throws has a probability of scoring of $80\%$. If they shoot a series of $4$ independent throws: a) Construct the table of the…

A basketball player shooting free throws has a probability of scoring of $80\%$. If they shoot a series of $4$ independent throws:

  1. a) Construct the table of the probability function for the possible successes ($0, 1, 2, 3$ and $4$ baskets).
  2. b) What is the most likely outcome?
Possible successes (k) k ∈ {0, 1, 2, 3, 4} p = 0,8 ✓ q = 0,2 ✗ n = 4 independent throws 1 2 3 4

You can do it on paper and send a photo with your answer.

Solve

The complementary event: "at least one"

Calculating $P(X\geq1)$ by adding $P(X{=}1)+P(X{=}2)+\dots$ is long. It is almost always quicker to go through the complement.

Partition of the sample space into $X = 0$ and its complement $X \geq 1$ to illustrate the rule for at least one success. X=0 X≥1 (at least one success) qⁿ 1 − qⁿ P(X≥1) = 1 − P(X=0) = 1 − qⁿ
Practice★☆☆Not started
It is known that $60\%$ of young people in a city use public transport to go to school. If we choose a group of $6$ young people at random, calculate the probability…

It is known that $60\%$ of young people in a city use public transport to go to school. If we choose a group of $6$ young people at random, calculate the probability that:

  1. a) At least one of them uses public transport.
  2. b) All of them use public transport.
Solve
Practice★☆☆Not started
In a nature reserve, it has been observed that $25\%$ of a migratory bird species have a white patch on their wing. If a photographer takes photos of a flock of $12$…

In a nature reserve, it has been observed that $25\%$ of a migratory bird species have a white patch on their wing. If a photographer takes photos of a flock of $12$ birds:

  1. a) What is the probability that none of them have the white patch?
  2. b) What is the probability that exactly one has the patch?
Solve

Mean and standard deviation

Representation of the parameters of the binomial distribution with the mean at the centre and the spread marked by the standard deviation. B(n=50, p=0,04) «number of faulty parts per batch» μ = 50·0,04 = 2 σ = √(50·0,04·0,96) ≈ 1,386
Practice★☆☆Not started
In a quality control check at an electric scooter component factory, it has been estimated that $4\%$ of the parts have a minor cosmetic defect. If batches of $50$ parts…

In a quality control check at an electric scooter component factory, it has been estimated that $4\%$ of the parts have a minor cosmetic defect. If batches of $50$ parts are analysed:

  1. a) What is the mean number of defective parts we expect to find per batch?
  2. b) Calculate the standard deviation of the distribution.
Solve
Practice★☆☆Not started
A language app sends daily notifications to its users. The probability that a user opens the notification is $p = 0,4$. If a user receives $7$ notifications over the…

A language app sends daily notifications to its users. The probability that a user opens the notification is $p = 0,4$. If a user receives $7$ notifications over the course of a week:

  1. a) Calculate the probability that they open exactly $4$.
  2. b) How many notifications are expected to be opened on average that week?
Solve
Practice★★★Not started
A drone component manufacturing company knows that the probability of a motor being defective is $p$. They are packed in boxes of $8$ units. The quality control…

A drone component manufacturing company knows that the probability of a motor being defective is $p$. They are packed in boxes of $8$ units. The quality control department has observed that the probability of finding exactly $2$ defective motors in a box is three times the probability of finding exactly $1$ defective motor.

  1. a) Determine the value of parameter $p$.
  2. b) Calculate the expected value and standard deviation of the number of defective motors in an order of $100$ motors.
  3. c) If a customer buys a box of $8$ motors, what is the probability that they must return it because it contains more than $2$ defective motors?
Solve

The inverse problem: finding $n$ or $p$

Sometimes the question gives a probability and asks for the missing parameter: how many trials are needed, or what the value of $p$ is.

Diagram of the inverse problem setting up the inequality to calculate the minimum number of trials required. «P[detecting at least 1 attempt] > 0,99, with p per attempt» → minimum n? 1−qⁿ > 0,99 ⇒ n≥nmin
Practice★★★Not started
A cybersecurity analyst has determined that the probability of an unauthorised access attempt to a corporate server being detected by the firewall is $p$. It is known…

A cybersecurity analyst has determined that the probability of an unauthorised access attempt to a corporate server being detected by the firewall is $p$. It is known that if $10$ independent attempts are made, the probability that no attempt is detected is $0,0563$.

  1. a) Calculate the value of the detection probability $p$.
  2. b) If $20$ access attempts occur in a day, what is the probability that at least $18$ of them are detected?
  3. c) What is the minimum number of attempts an attacker should make so that the probability of at least one of them not being detected is greater than $0,99$?
0 0,1 0,2 0,3 P(X=k) 0 1 2 3 4 5 6 7 8 9 10 k (detected attempts) P(X=0) = 0,0563 No attempts detected X ∼ B(10, p) 10 independent attempts
Solve
Practice★★★Not started
The final exam of a subject is a multiple-choice test and consists of $10$ questions with $4$ answer options each, of which only one is correct. A student answers all…

The final exam of a subject is a multiple-choice test and consists of $10$ questions with $4$ answer options each, of which only one is correct. A student answers all the questions at random. To pass, a grade of at least $5$ is required, knowing that each correct answer adds $1$ point and each incorrect answer subtracts $0,25$ points.

  1. a) Define the random variable $X$ that counts the student's correct answers, state how it is distributed and what its parameters are.
  1. b) Determine the minimum number of correct answers needed to pass the exam.
  1. c) Calculate the probability that the student passes the exam by answering completely at random.
Solve
Practice★★★Not started
A television channel broadcasts a game show where contestants must choose between two boxes, one with a prize and the other empty. A contestant takes part in the show…

A television channel broadcasts a game show where contestants must choose between two boxes, one with a prize and the other empty. A contestant takes part in the show for $n$ consecutive days. The probability that they win the prize at least once in those $n$ days is $0,999$.

  1. a) Calculate the minimum value of $n$.
  2. b) For that value of $n$, calculate the probability that they win the prize on exactly half of the days.
  3. c) If each prize has a value of $500$ €, calculate the contestant's expected winnings and the probability that their total winnings exceed $2000$ €.
Box A p = 0,5 Box B q = 0,5 € X P(X ≥ 1) = 0,999 1 2 3 n Consecutive days
Solve

Back to the start: In the $10$-question test with $4$ options chosen at random ($p = 0{,}25$), the variable follows a $B(10;\ 0{,}25)$: on average you expect to get $\mu = 10 \cdot 0{,}25 = 2{,}5$ questions right, and the probability of getting at least one right is $1 - 0{,}75^{10} \approx 0{,}9437$.

Summary

See all the exercises in this section