Skip to main content
VICMath MethodsSyllabus dot point

What are Bernoulli trials, when does the binomial distribution apply, and how are its probabilities, mean and variance computed?

Bernoulli trials, the binomial distribution XBi(n,p)X \sim \mathrm{Bi}(n, p), its probability function P(X=x)=(nx)px(1p)nxP(X = x) = \binom{n}{x} p^x (1-p)^{n-x}, mean E(X)=npE(X) = np, and variance Var(X)=np(1p)\mathrm{Var}(X) = np(1-p)

A focused answer to the VCE Math Methods Unit 3 key-knowledge point on the binomial distribution. Bernoulli trial conditions, the binomial probability formula, the mean and variance shortcuts, CAS usage on Paper 2, and standard Paper 1 patterns.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Bernoulli trials
  3. The binomial distribution
  4. The binomial probability formula
  5. Mean and variance
  6. Cumulative binomial probabilities
  7. Worked example: solving for the parameter
  8. Examples in context
  9. Try this

What this dot point is asking

VCAA wants you to recognise when a situation is binomial, write down XBi(n,p)X \sim \mathrm{Bi}(n, p), compute exact binomial probabilities by hand using (nx)px(1p)nx\binom{n}{x} p^x (1-p)^{n-x} for small nn on Paper 1, and use CAS on Paper 2 to compute cumulative probabilities. The mean npnp and variance np(1p)np(1-p) are essential shortcuts.

Bernoulli trials

A Bernoulli trial is a single experiment with exactly two outcomes (commonly called "success" and "failure"), where the probability of success is some fixed pp (and probability of failure is 1p1 - p).

A Bernoulli random variable takes the value 1 for success and 0 for failure, with probability distribution P(Y=1)=pP(Y = 1) = p and P(Y=0)=1pP(Y = 0) = 1 - p. Its mean is pp and its variance is p(1p)p(1 - p).

The binomial distribution

When nn Bernoulli trials are performed under the four binomial conditions, the total number of successes follows a binomial distribution.

The four conditions for a binomial

  1. Fixed number of trials nn.
  2. Each trial has only two outcomes, success or failure.
  3. The probability of success pp is constant across trials.
  4. The trials are independent.

If any one of these fails, XX is not binomial. The most common failure is sampling without replacement (which breaks independence for finite populations).

Notation: XBi(n,p)X \sim \mathrm{Bi}(n, p). The two parameters nn and pp fully determine the distribution.

The binomial probability formula

For XBi(n,p)X \sim \mathrm{Bi}(n, p) and x{0,1,2,,n}x \in \{0, 1, 2, \dots, n\}:

P(X=x)=(nx)px(1p)nxP(X = x) = \binom{n}{x} p^x (1 - p)^{n - x}

where (nx)=n!x!(nx)!\binom{n}{x} = \frac{n!}{x! (n - x)!} counts the number of ways to choose which xx of the nn trials are successes.

The three factors have natural interpretations:

  • (nx)\binom{n}{x}: number of distinct orderings of xx successes and nxn - x failures.
  • pxp^x: probability of xx specific successes occurring.
  • (1p)nx(1 - p)^{n - x}: probability of the remaining nxn - x trials being failures.

Worked example

A biased coin lands heads with probability 0.60.6. It is tossed 5 times. Find the probability of exactly 3 heads.

XBi(5,0.6)X \sim \mathrm{Bi}(5, 0.6).

P(X=3)=(53)(0.6)3(0.4)2=100.2160.16=0.3456P(X = 3) = \binom{5}{3} (0.6)^3 (0.4)^2 = 10 \cdot 0.216 \cdot 0.16 = 0.3456.

Mean and variance

For XBi(n,p)X \sim \mathrm{Bi}(n, p):

E(X)=npE(X) = n p

Var(X)=np(1p)\mathrm{Var}(X) = n p (1 - p)

sd(X)=np(1p)\mathrm{sd}(X) = \sqrt{n p (1 - p)}

These shortcut formulas come directly from the linearity rule applied to the sum of nn Bernoulli trials.

For the biased coin above: E(X)=50.6=3E(X) = 5 \cdot 0.6 = 3, Var(X)=50.60.4=1.2\mathrm{Var}(X) = 5 \cdot 0.6 \cdot 0.4 = 1.2.

Cumulative binomial probabilities

For "at least", "at most" or "between" probabilities, you sum binomial terms.

  • P(Xk)=x=0k(nx)px(1p)nxP(X \leq k) = \sum_{x = 0}^{k} \binom{n}{x} p^x (1 - p)^{n - x}
  • P(Xk)=1P(Xk1)P(X \geq k) = 1 - P(X \leq k - 1)
  • P(aXb)=P(Xb)P(Xa1)P(a \leq X \leq b) = P(X \leq b) - P(X \leq a - 1)

On Paper 1, nn is small enough to compute terms by hand. On Paper 2, use the CAS binomCdf(n, p, lower, upper) function (or its equivalent on your model).

Worked example

A fair die is rolled 10 times. Find the probability of at least 3 sixes.

XBi(10,1/6)X \sim \mathrm{Bi}(10, 1/6) where XX is the number of sixes.

P(X3)=1P(X2)=1[P(X=0)+P(X=1)+P(X=2)]P(X \geq 3) = 1 - P(X \leq 2) = 1 - [P(X = 0) + P(X = 1) + P(X = 2)].

P(X=0)=(5/6)10P(X = 0) = (5/6)^{10}.

P(X=1)=10(1/6)(5/6)9P(X = 1) = 10 (1/6)(5/6)^9.

P(X=2)=45(1/6)2(5/6)8P(X = 2) = 45 (1/6)^2 (5/6)^8.

Sum these (or use CAS) and subtract from 1. The result is approximately 0.22480.2248.

Worked example: solving for the parameter

A biased coin is tossed 10 times. The probability of getting exactly 7 heads is 0.2150.215. Find pp.

P(X=7)=(107)p7(1p)3=120p7(1p)3=0.215P(X = 7) = \binom{10}{7} p^7 (1 - p)^3 = 120 p^7 (1 - p)^3 = 0.215.

This is a one-variable equation in pp. Use CAS solve, restricting to p(0,1)p \in (0, 1): p0.6p \approx 0.6.

Examples in context

Example 1. Germination rate of seedlings. A nursery plants 66 seeds, each germinating independently with probability p=0.8p = 0.8. Let XX be the number that germinate, so XBi(6,0.8)X \sim \mathrm{Bi}(6, 0.8). The probability that all six germinate is P(X=6)=(0.8)6=0.2621P(X = 6) = (0.8)^6 = 0.2621. The expected number is E(X)=6×0.8=4.8E(X) = 6 \times 0.8 = 4.8 and the variance is Var(X)=6×0.8×0.2=0.96\mathrm{Var}(X) = 6 \times 0.8 \times 0.2 = 0.96.

Example 2. Defective components. A batch of electronic components has a 3%3\% defect rate. In a random sample of 1515, let XX be the number defective, XBi(15,0.03)X \sim \mathrm{Bi}(15, 0.03). The probability of no defectives is P(X=0)=(0.97)15=0.6333P(X = 0) = (0.97)^{15} = 0.6333, so the probability of at least one defective is 10.6333=0.36671 - 0.6333 = 0.3667.

Try this

Q1. For XBi(8,0.5)X \sim \mathrm{Bi}(8, 0.5), find P(X=4)P(X = 4). [2 marks]

  • Cue. (84)(0.5)4(0.5)4=70×1256=70256=0.2734\binom{8}{4}(0.5)^4(0.5)^4 = 70 \times \frac{1}{256} = \frac{70}{256} = 0.2734.

Q2. A goalkeeper saves 20%20\% of shots. In 1010 shots, find E(X)E(X) and Var(X)\mathrm{Var}(X) for the number saved. [2 marks]

  • Cue. E(X)=10×0.2=2E(X) = 10 \times 0.2 = 2; Var(X)=10×0.2×0.8=1.6\mathrm{Var}(X) = 10 \times 0.2 \times 0.8 = 1.6.

Q3. A quiz has 1212 true/false questions answered by guessing. Find the probability of at least 1010 correct. [3 marks]

  • Cue. XBi(12,0.5)X \sim \mathrm{Bi}(12, 0.5); P(X10)=(1210)+(1211)+(1212)212=66+12+14096=7940960.0193P(X \ge 10) = \frac{\binom{12}{10} + \binom{12}{11} + \binom{12}{12}}{2^{12}} = \frac{66 + 12 + 1}{4096} = \frac{79}{4096} \approx 0.0193.

Exam-style practice questions

Practice questions written in the style of VCAA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2023 VCAA Paper 13 marksA fair coin is tossed 4 times. Let XX be the number of heads. Find P(X=2)P(X = 2), E(X)E(X) and Var(X)\mathrm{Var}(X).
Show worked answer →

Each toss is a Bernoulli trial with p=1/2p = 1/2, and the trials are independent and identical. So XBi(4,1/2)X \sim \mathrm{Bi}(4, 1/2).

P(X=2)=(42)(1/2)2(1/2)2=6116=38P(X = 2) = \binom{4}{2} (1/2)^2 (1/2)^2 = 6 \cdot \frac{1}{16} = \frac{3}{8}.

E(X)=np=412=2E(X) = np = 4 \cdot \frac{1}{2} = 2.

Var(X)=np(1p)=41212=1\mathrm{Var}(X) = np(1 - p) = 4 \cdot \frac{1}{2} \cdot \frac{1}{2} = 1.

Markers reward identifying the binomial setup, the formula for P(X=2)P(X = 2), and both shortcut formulas with values.

2024 VCAA Paper 23 marksA multiple-choice exam has 20 questions, each with 4 options. A student guesses every answer. Find the probability that the student gets at least 8 correct, giving the answer to 4 decimal places.
Show worked answer →

Each question is a Bernoulli trial: correct with probability p=1/4p = 1/4, incorrect with probability 3/43/4. The trials are independent. So XX (number correct out of 20) is Bi(20,1/4)\mathrm{Bi}(20, 1/4).

P(X8)=1P(X7)P(X \geq 8) = 1 - P(X \leq 7).

On the CAS, compute 1binomCdf(20,0.25,0,7)1 - \mathrm{binomCdf}(20, 0.25, 0, 7), or equivalently the upper-tail binomCdf(20,0.25,8,20)\mathrm{binomCdf}(20, 0.25, 8, 20).

The result is approximately 0.04090.0409.

Markers reward identifying the binomial setup with parameters n=20n = 20 and p=0.25p = 0.25, choosing the complement (or upper tail), and the correct CAS output to 4 decimal places.

Related dot points