Precalculus - Binomial Distributions

Introduction

  • Binomial Distribution is a type of discrete probability distribution that is related by multiple-step experiments called binomial experiments. 
  • If a discrete random variable X is used to count the number of successes that occurs in n Bernoulli trials, then this random variable is called a binomial random variable, and the sequence of n Bernoulli trials is said to be a Binomial experiment. 
  • The binomial experiment involves independent successive trials that generate the probability of success and a probability of failure. 
  • The probability mass function that generates a probability value to each event in the sample space defined by a binomial random variable, then it forms a Binomial Probability Distribution.
  • Binomial experiments should satisfy the following conditions:

    1. There are two possible outcomes in each trial only. We consider one outcome as "Success" and the other one as "Failure." The probability of success is denoted by p while the probability of failure is denoted by q or 1-p.

   2. The experiment involves successive independent n trials. 

   3. The probability values do not change from one trial to another trial.

  • The probability mass function of a binomial distribution is given by PX=x=nxpx1-pn-x or PX=x=nxpxqn-x
  • In the given formula, n = number of trials, x = number of success elements, p = probability of success, q = probability of failure, nx= Combination notation similar to Cn,x=n!x!n-x!

Binomial Probability Distributions, Binomial Theorem, and Other Related Concepts

Illustrative Example. Consider the enrollment decisions of the next three students who inquire about MPS Senior High School in Florida. Based on past records, the school registrar estimates the probability that any student will enroll in STEM (Science, Technology, Engineering, and Mathematics) is 0.45. What is the probability that two of the next three students will enroll in STEM at the said school in Florida?

Solution: We need to first check the conditions in order to qualify for a binomial experiment. 

1. The test can be described in terms of three consecutive identical trials. That is, one trial per student who will inquire to the school.

2. There are two possible outcomes only - the student will enroll (success) or the student will not enroll (failure).

3. The probability associated with success is 0.45 while the probability of failure is 0.55. This is assumed to be consistent with all possible enrollees.

4. The enrollment decision of each student is independent of the decisions of other students.

The number of experimental outcomes in n trials can be computed using the concept of Combinations.

Cn,x=n!x!n-x! where n=number of trials and x=number of success elements.

Let's say we want to know the number of experimental outcomes involving two successive trials. This means we get the number of ways of finding the value X=2

By computation, we have: C3,2=3!23-2!=3

This shows that we have: S,S,F, S,F,S, and F,S,S.

To determine the probability of success, we have the following:

S,S,F=pp1-p=0.450.450.55=0.111375

S,F,S=p1-pp=0.450.550.45=0.111375

F,S,S=1-ppp=0.550.450.45=0.111375

By addition rule, we have: 0.111375+0.111375+0.111375=0.334125 or 0.33.

This implies that the total probability of two of the next three students will enroll in the STEM strand of the said school in Florida is 0.33. 

The probability of a particular successive trial outcome with X as the number of successes and n trials is determined by: P=px1-pn-x

The calculation above can be facilitated efficiently by the formula of the Binomial Probability Distribution: PX=x=nxpx1-pn-x or PX=x=nxpxqn-x

PX=3=320.4520.553-2

PX=3=26738000 or 0.33

 

Descriptive Statistics Measures

The Mean (Expected Value), Variance, and Standard Deviation of a Binomial Probability Distribution are as follows:

Mean (Expected Value): μ or Ex=np

Variance: Varx or σ2=np1-p

Standard Deviation: σ=np1-p

 

The Binomial Theorem

The expansion of the binomial a+bn for any positive integral values of n is given by a+bn=k=0nnkan-kbk.

Notice that the binomial theorem formula is closely related to the probability mass function of the binomial distribution, PX=x=nxpxqn-x

This is based on the fact that two formulas were constructed on the same mathematical procedures. It is simply counting the number of n trials where each trial contains two possible outcomes.

Another way of showing the expansion of the binomial a+bn is as follows:

a+bn=an+nan-1b+nn-12!an-2b2+nn-1n-23!an-3b3...+nabn-1+bn

To expand a binomial, the use of Pascal's Triangle helps you determine the coefficients in the expansion of the given binomial raised to a positive integral exponent n.

Some important properties of the Binomial Expansion.

1. There are n+1 terms in the expansion.

2. To find the rth term of the binomial expansion, we use the formula rth term=nn-1n-2...n-r+2r-1!an-r+1br-1.

3. If n is a positive odd integer, there are two middle terms. If n is a positive even integer, there is only one middle term.

4. To find the sum of the exponents of a binomial expansion, we use the formula: 

Sum of the Exponents=Sum of Inner Exponents×Cn+r-1, r

5. To find the number of terms in a binomial expansion or polynomial expansion, we use the formula:

Number of Terms=Cn+r-1, r-1

 

Finding the Number of Subsets and Proper Subsets

Suppose that a set has n elements, then the number of subsets in the given set is given by 2n and the number of proper subsets can be determined using the expression 2n-1.

Example: If X=1, 2, 3, then count and write all the possible subsets of X.

Number of Subsets =2n=23=8 subsets

These subsets are , 1, 2, 3, 1,2, 1,3, 2, 3, 1, 2, 3 

Solved Examples

Example 1. Suppose that a random variable X follows a binomial distribution. If p=0.20 and n=5, compute the probabilities PX=2 and PX4

Solution: Use the probability mass function PX=x=nxpxqn-x.

PX=2=520.2020.805-2=128625

PX4=PX=4+PX=5

PX=4=540.2040.805-4=4625

PX=5=550.2050.805-5=13125

PX4=4625+13125=213125

 

Example 2. An urn contains 7 red balls and 5 blue balls. If two balls are to be drawn successively at random with replacement and X gives the number of red balls, construct a probability distribution for X. What are the mean, variance, and standard deviation of the given distribution?

Solution: Using the Binomial Probability Distribution

Let X be the random variable that gives the number of red balls. The probability mass function is PX=x=nxpx1-pn-x.

In this example, we have n=2, p=712, and 1-p=512

If X=0, then PX=0=2071205122-0=25144

If X=1, then PX=1=2171215122-1=3572

If X=2,, then PX=2=2271225122-2=49144

Thus, we have the probability distribution for X below:

To compute the expected value (mean), we use Ex or μ=np

Ex=2712=76

For the variance, we have:

σ2=npq

σ2=2712512=3572

The standard deviation is simply the square root of the variance: σ=35720.6972

 

Example 3. Expand the binomial 2x-55 using the Binomial Theorem.

2x-55=2x5-52x45+5×42!2x352-5×4×33!2x253+5×4×3×24!2x154-5×4×3×2×15!2x055

2x-55=32x5-400x4+2000x3-5000x2+6250x-3125

Using the concept of Combinations, we can generate the same expanded form:

2x-55=2x5-C5,12x5-15+C5,22x5-252-C5,32x5-353+C5, 42x5-454-C5,52x5-555

Cheat Sheet

  • Problems involving independent identical n "with replacement" involve Binomial Distribution.
  • To compute the mean (expected value) of a binomial probability distribution, the alternative formula is Ex=x·Px. This is applicable when the distribution is already given.
  • In the binomial expansion a+bn, the exponent of a decreases by 1 as we proceed from term to term. On the other hand, the exponent of b increases as we proceed to successive terms. 
  • When the binomial x-yn is expanded, the sign of each succeeding term alternates.

Blunder Areas

  • Problems involving n trials yet dependent events involve Hypergeometric Probability Distribution and not Binomial Distribution. 
  • The term "without replacement" used in probability problems does not involve Binomial Distribution.
  • Binomial Probability Distribution and Hypergeometric Probability Distribution have the same notion of having the probability of success and the probability of failure.
  • Binomial Probability Distribution is related to the probability of discrete random variables. Thus, this distribution does not hold for continuous random variables such as height, weight, test scores, and the like.
  • Normal Distribution and Binomial Distribution are related in the notion that np5 and nq5