Binomials can be a tricky topic. They are fundamental in many mathematics topics. This page aims to help you with your understanding of binomials, including binomial expansion and binomial distributions. Before we dive in, let's look at some terms and notation.
A binomial is an algebraic expression that contains two different terms connected by addition or subtraction.
Which of the following is a binomial expression?
What is factorial? Factorial (denoted "!") is the product of an integer and all the integers below it. For example,
\[ 5! = 5 \times 4 \times 3 \times 2 \times 1 = 120. \]Note: by definition, \(0! = 1 \).
What is the value of 4!?
\(4! = 4 \times 3 \times 2 \times 1 = 24.\)
Due to the nature of factorials, we can often cancel before dividing. For example,
We will see this cancelling in action when we look at combinatorial notation.
Then we can say the number of ways to get a specific outcome is “n choose k”. We write \[\binom{n}{k}=\frac{n!}{k!\left(n-k\right)!}.\] These values can be calculated using the "\(^nC_r\)" (combinatorial) button on your calulator.
These are the coefficients in a binomial expansion.
How many different ways are there to flip a coin six times and get heads four of those times?
\(k =\)
Answer =
The number of events is the total number of coin tosses, giving us \(n=6\). We also need the number of times we want to get heads (our specific outcome), so we have \(k=4\). Therefore, there are \(\binom{6}{4} = 15 \) ways to get four heads from six coin tosses.
In combinatorial notation, \[ ^6C_4 = \frac{6!}{(6-4)!4!} = \frac{6 \times 5 \times \cancel{4 \times 3 \times 2 \times 1}}{(2 \times 1) \times \cancel{4 \times 3 \times 2 \times 1}} = \frac{30}{2} = 15.\]
We have seen how the binomial coefficients can be calculated and what they represent. These coefficients can be represented in Pascal's triangle.
To construct Pascal's triangle, we begin by placing a 1 in the first row (we call this row 0). To calculate the next row, we use numbers in the subsequent rows. We add the two numbers directly above the number we need to calculate. If there are no numbers to the left or right hand side, we place a zero for that side and proceed with the addition (this means the outer diagonals of the triangle will be 1s).
Can you calculate the 6th row of Pascal's triangle? Change the number of rows to check your answer.
What about the 10th row?
Highlight Multiples of
No. of Rows
Proof:
\[ \begin{aligned} \binom{n}{k-1}+\binom{n}{k} &= \ \frac{n!}{(k-1)!\left(n-k+1\right)!} + \frac{n!}{k!\left(n-k\right)!} \\ &= \ \frac{n!}{(k-1)!\left(n-k\right)!}\left(\frac{1}{n-k+1} + \frac{1}{k}\right) \\ & = \ \frac{n!}{(k-1)!\left(n-k\right)!} \frac{n+1}{(n-k+1)k} \\ &= \ \frac{(n+1)!}{k!(n+1-k)!} \\ &= \ \binom{n+1}{k} \\ \end{aligned} \]This identity is actually a mathematical representation of how the rows of Pascal's triangle are constructed. There are also some interesting patterns in Pascal's triangle. To investigate these patterns, click here.
We know that a binomial expression contains two terms, such as \((1+x)\). If we want to square this bracket, we can easily expand it. However, what if we want to calculate \((1+x)^8\)? This would be extremely time consuming. This is where the binomial expansion formula comes in useful.
We can calculate the binomial expansion for positive integer powers using the following formula:
\[ (a+b)^n =a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + ... + \binom{n}{r}a^{n-r}b^r + ... + b^n, \]where \(n \in \mathbb{N}\) and \( \binom{n}{r} \) is as defined in the binomial coefficient above.
Click the question to reveal the answer.
Notice that the coefficients are row 4 from Pascal's triangle, as the binomial is raised to the power of 4.
Here, \(b=2x\). Don't forget that the indices affect every number inside the brackets, including the 2.
Note that this question asks for an answer with increasing powers of \(x\). This means that you should start with the \(x^0\) term, followed by \(x^1\), \(x^2 , \dots , x^5\).
Take extra care when dealing with terms connected by subtraction. In this example, \(b=-x\), so the terms in our answer have alternating signs (the term is negative when the power is odd).
There is a strong connection between binomial expansion and binomial probabilities, which can be represented using the binomial distribution. The binomial distribution is a discrete probability distribution, which models the number of success in \(n\) independent trials. Given two coins, what are the possible outcomes when we flip both coins?
Outcome 1
Outcome 2
Outcome 3
Outcome 4
The possible combinations are heads and heads, heads and tails, tails and heads, and tails and tails. We can arrange these pairs in any order, as long as each pair is represented once.
There are four possible outcomes. For the example above, we are concerned with the order of the outcomes (this is called a permutation). This means getting heads then tails is different from getting tails then heads. However, for a binomial coefficient, we do not care about the order, we only care about the combination of outcomes. For example, if I want the number of ways to get heads once and tails once, my number of desired outcomes is 2 (heads then tails, or tails then heads). For more information on combinations and permutations, click here.
It is easy to list all possible outcomes when we only have two coins. However, what if we have 6 coins? Or 200? We can use a formula to calculate the probabilities of each of these outcomes. The probability of observing \(k\) successes in \(n\) trials is given by \[P(X=k) = \binom{n}{k}p^k(1-p)^{n-k},\]
With 9 coin tosses, what is the probability that 5 are heads? Give you answer as a percentage, to 2 decimal places.
\(k =\)
\(p =\)
Answer =
\(\%\)
The number of trials is the total number of coin tosses, giving us \(n=9\). We also need the number of successes, which is the number of times we want to get heads, \(k=5\). The probability of success for a coin toss is always \(0.5\). Therefore, the probability of getting \(5\) heads from \(9\) coin tosses is \[P(5 \text{ heads from } 9 \text{ tosses}) = \binom{9}{5} 0.5^5(1-0.5)^4 = 0.24609 = 24.61\%\]
There are a number of conditions which need to be satisfied in order to use a binomial distribution. We can use the mnemonic BINS to help us remember.
Binary number of outcomes. There are 2 possible outcomes - success and failure.
Independent trials. Knowing the outcome of one trial must not tell us anything about the next.
Number of trials. The number of trials, \(n\), must be fixed in advance.
Same probabilty of success for each trial.
Binary Number of Outcomes
There are only two outcomes, success or failure. In this case, the two possible outcomes are rolling a 4 and not rolling a 4.
Independent Events
The outcome of a trial should not be effected by the outcome of the previous trial. Choosing a card and not replacing it changes the probability for the next event, whereas the probability of each outcome of tossing a coin will always 0.5.
Fixed Number of Trials
The process being investigated must have a clearly defined number of trials that do not vary. We cannot alter this number midway through our analysis.
Same Probability of Success
The probabilities of successful trials must remain the same throughout the process. The probability changes to 0.5 for true/false questions.
The following example is taken from the CCEA GCE Applied Mathematics 2022 paper.
Question: It is known that one in six seeds in a large batch will not germinate when planted.
Twelve seeds are sown.
To summarise, let's check that this is a binomial distribution question. There are only 2 outcomes - the seed does germinate or the seed does not germinate. The trials are independent - the outcome of one seed germinating is not affected by whether or not other seeds have germinated. The number of trials is fixed - we are told that twelve seeds are sown. The probability of success remains the same for each trial - we are told that one in six seeds will not germinate and this remains constant throughout the trial. Since all conditions are satisfied, we can use the binomial distribution formula to answer this question.
Having explored both binomial expansions and binomial distributions, we can now examine the shared feature of these two concepts: the binomial coefficients. What is the reason behind the binomial coefficients being the same in these two formulae?
The binomial coefficients are the same due to their combinatorial nature. They represent the number of possible combinations of choosing \(k\) elements from a set of \(n\) elements. However, the context in which they are used differs.
In both cases, these coefficients count the ways to distribute or choose elements. Let's investigate this further using two concrete examples.
Example 1 - a binomial expansion problem: The expansion of \((a+b)^5 = (a+b)(a+b)(a+b)(a+b)(a+b)\).
Each term in the expansion represents the number of ways to choose a specific power of
\(a\) and \(b\) such that their sum is equal to 5.
When we expand this expression, we get the following:
\[ a^5 + 5a^4b + 10a^3b^2 + 10a^2b^3 + 5ab^4 +b^5. \]
The coefficients of these terms represent the number of ways to obtain that specific combination. That is, there is one way to take 5 of the letter \(a\) (take one from each bracket),
there are 5 ways to take 4 of the letter \(a\) and 1 \(b\), and so on.
Example 2 - a binomial distribution problem: Flipping a coin 5 times.
We are considering the different outcomes of flipping a coin 5 times. Each flip can result in either heads (H) or tails (T), and we are interested in counting the different ways of obtaining certain numbers of heads and tails.
How are these examples related?
Let's replace \(a\) with heads \((H)\) and \(b\) with tails \((T)\) in Example 1.
Therefore, we are looking at the expansion of \((H+T)^5\).
Expanding this gives
\[ H^5 + 5 H^4T + 10H^3T^2 + 10H^2T^3 + 5HT^4 +T^5,\]
where the coefficients of these terms represent the number of ways to obtain a specific combination of heads and tails when flipping a coin 5 times.
Thus, the binomial coefficients in the binomial expansion formula (Example 1) are the same as the binomial coefficients in the binomial distribution formula (Example 2),
because they both represent the number of ways to obtain specific combinations of the two terms.
In both examples, the coefficients represent the number of ways to choose a specific power of a and b (or H and T), such that their sum is equal to 5.
The binomial expansion and binomial distribution share the same binomial coefficients because they are both fundamentally about choosing from two possibilities and counting the different ways those possibilities can be combined.