Topic 05 Discrete

Table of contents

  1. Discrete probability distributions
  2. Mean, variance, standard deviation, and expectation
  3. The binomial distribution
  4. The binomial distribution mean, variance, and standard deviation
  5. Other types of distributions
  6. Hypergeometric distribution

1. Discrete probability distributions

1.1 Probability distributions

A random variable is a variable whose values are determined by chance. A discrete probability distribution lists the possible values a random variable can take and their corresponding probabilities 2.

The probabilities in a discrete probability distribution must satisfy two key properties:

  • Each probability must be between 0 and 1, inclusive.
  • The sum of all probabilities for all possible values of the random variable must equal 1 2.

1.2 Example 5-1: Rolling a die

Construct a probability distribution for rolling a single die 3.

📝 For a single die roll, the possible values are 1, 2, 3, 4, 5, and 6. Each value has a probability of 16\frac{1}{6} 3.

1.3 Example 5-2: Tossing coins

Represent graphically the probability distribution for the sample space for tossing three coins 4.

2. Mean, variance, standard deviation, and expectation

2.1 Mean of a discrete probability distribution

The mean of a discrete probability distribution, denoted by μ\mu, represents the theoretical average value of the random variable. It is calculated by summing the products of each possible outcome and its corresponding probability.

The formula for the mean is μ=∑X⋅P(X)\mu = \sum X \cdot P(X) 5.

When calculating the mean, variance, and standard deviation, results should be rounded to one more decimal place than the outcome XX. Fractions should be reduced to their lowest terms 6.

2.2 Example: Rolling a die

To find the mean of the number of spots that appear when a die is tossed, we sum the product of each face value and its probability.

  • Die roll outcomes: 1, 2, 3, 4, 5, 6
  • Probability of each outcome: 16\frac{1}{6}
  • Calculation: μ=(1⋅16)+(2⋅16)+(3⋅16)+(4⋅16)+(5⋅16)+(6⋅16)=216=3.5\mu = (1 \cdot \frac{1}{6}) + (2 \cdot \frac{1}{6}) + (3 \cdot \frac{1}{6}) + (4 \cdot \frac{1}{6}) + (5 \cdot \frac{1}{6}) + (6 \cdot \frac{1}{6}) = \frac{21}{6} = 3.5 7.

📝 The mean number of trips of five nights or more taken by American adults per year is calculated as μ=(0⋅0.06)+(1⋅0.70)+(2⋅0.20)+(3⋅0.03)+(4⋅0.01)=1.23\mu = (0 \cdot 0.06) + (1 \cdot 0.70) + (2 \cdot 0.20) + (3 \cdot 0.03) + (4 \cdot 0.01) = 1.23 8 9.

2.3 Example: Trips of five nights or more

The probability distribution for the number of trips of five nights or more taken by American adults per year is given. To find the mean number of trips, we apply the mean formula.

  • Number of trips (X): 0, 1, 2, 3, 4
  • Probability P(X): 0.06, 0.70, 0.20, 0.03, 0.01
  • Calculation: μ=(0⋅0.06)+(1⋅0.70)+(2⋅0.20)+(3⋅0.03)+(4⋅0.01)=0+0.70+0.40+0.09+0.04=1.23\mu = (0 \cdot 0.06) + (1 \cdot 0.70) + (2 \cdot 0.20) + (3 \cdot 0.03) + (4 \cdot 0.01) = 0 + 0.70 + 0.40 + 0.09 + 0.04 = 1.23 8 9.

2.4 Variance and standard deviation of a discrete probability distribution

The variance of a discrete probability distribution, denoted by σ2\sigma^2, measures the spread or dispersion of the data points around the mean. It is calculated by summing the squared differences between each outcome and the mean, multiplied by the probability of that outcome: σ2=∑(X−μ)2⋅P(X)\sigma^2 = \sum (X - \mu)^2 \cdot P(X) 10.

The standard deviation, denoted by σ\sigma, is the square root of the variance. It provides a measure of spread in the same units as the data. σ=σ2\sigma = \sqrt{\sigma^2} 10.

2.5 Example: Rolling a die

To compute the variance and standard deviation for the probability distribution of rolling a die, we first use the previously calculated mean of 3.5.

  • Mean (μ\mu): 3.5
  • Outcomes (X): 1, 2, 3, 4, 5, 6
  • Probability P(X): 16\frac{1}{6} for each outcome
  • Variance calculation: σ2=(1−3.5)2⋅16+(2−3.5)2⋅16+(3−3.5)2⋅16+(4−3.5)2⋅16+(5−3.5)2⋅16+(6−3.5)2⋅16=2.916...\sigma^2 = (1-3.5)^2 \cdot \frac{1}{6} + (2-3.5)^2 \cdot \frac{1}{6} + (3-3.5)^2 \cdot \frac{1}{6} + (4-3.5)^2 \cdot \frac{1}{6} + (5-3.5)^2 \cdot \frac{1}{6} + (6-3.5)^2 \cdot \frac{1}{6} = 2.916...
  • Standard deviation: σ=2.916...≈1.7\sigma = \sqrt{2.916...} \approx 1.7 10.

2.6 Example: On hold for talk radio

The probability distribution shows the likelihood of 0, 1, 2, 3, or 4 people being on hold at a talk radio station. We need to find the variance and standard deviation for this distribution.

  • Number of people on hold (X): 0, 1, 2, 3, 4
  • Probability P(X): 0.18, 0.34, 0.23, 0.21, 0.04
  • Mean (μ\mu): (0⋅0.18)+(1⋅0.34)+(2⋅0.23)+(3⋅0.21)+(4⋅0.04)=0+0.34+0.46+0.63+0.16=1.63(0 \cdot 0.18) + (1 \cdot 0.34) + (2 \cdot 0.23) + (3 \cdot 0.21) + (4 \cdot 0.04) = 0 + 0.34 + 0.46 + 0.63 + 0.16 = 1.63
  • Variance calculation: σ2=(0−1.63)2⋅0.18+(1−1.63)2⋅0.34+(2−1.63)2⋅0.23+(3−1.63)2⋅0.21+(4−1.63)2⋅0.04=1.216...\sigma^2 = (0-1.63)^2 \cdot 0.18 + (1-1.63)^2 \cdot 0.34 + (2-1.63)^2 \cdot 0.23 + (3-1.63)^2 \cdot 0.21 + (4-1.63)^2 \cdot 0.04 = 1.216...
  • Standard deviation: σ=1.216...≈1.1\sigma = \sqrt{1.216...} \approx 1.1 11 12.

2.7 Expectation

The expected value, or expectation, of a discrete random variable is the theoretical average of that variable. It is, by definition, the mean of the probability distribution.

The notation for expectation is E(X)E(X), and it is equivalent to the mean μ\mu 13.

The formula for expectation is E(X)=∑X⋅P(X)E(X) = \sum X \cdot P(X) 13.

2.8 Example: Winning tickets 14 15

One thousand tickets are sold at $1 each for four prizes: $100, $50, $25, and $10. Winning tickets are returned to the pool.

We need to find the expected value if two tickets are purchased.

The possible gains and their probabilities are:

Gain XProbability P(X)
$100 - $21/1000
$50 - $21/1000
$25 - $21/1000
$10 - $21/1000
$0 - $2996/1000

The expected value is calculated as follows: E(X)=($98⋅11000)+($48⋅11000)+($23⋅11000)+($8⋅11000)+(−$2⋅9961000)E(X) = (\text{\textdollar}98 \cdot \frac{1}{1000}) + (\text{\textdollar}48 \cdot \frac{1}{1000}) + (\text{\textdollar}23 \cdot \frac{1}{1000}) + (\text{\textdollar}8 \cdot \frac{1}{1000}) + (-\text{\textdollar}2 \cdot \frac{996}{1000}) E(X)=98+48+23+8−19921000=−18151000=−$1.815E(X) = \frac{98 + 48 + 23 + 8 - 1992}{1000} = \frac{-1815}{1000} = -\text{\textdollar}1.815 14 15.

3. The binomial distribution

3.1 The binomial experiment

A binomial experiment is a probability experiment characterized by four specific requirements. These conditions ensure that the probability of success remains constant and that each trial's outcome is independent of others 17.

  • Two outcomes per trial: Each trial in the experiment must result in only one of two possible outcomes, typically labeled as "success" or "failure.".
  • Fixed number of trials: The experiment must consist of a predetermined, fixed number of trials.
  • Independent outcomes: The outcome of each trial must be independent of the outcomes of all other trials.
  • Constant probability of success: The probability of success, denoted by pp, must be the same for every trial 17.

3.2 Notation for the binomial distribution

The binomial distribution uses specific notation to represent its parameters and probabilities. Understanding this notation is crucial for applying the binomial probability formula 18.

  • pp: The numerical probability of success in a single trial.
  • qq: The numerical probability of failure in a single trial, calculated as q=1−pq = 1 - p.
  • nn: The fixed number of trials in the experiment.
  • XX: The number of successes in nn trials, where XX can range from 0 to nn 18.

3.3 The binomial probability formula

The probability of obtaining exactly XX successes in nn trials of a binomial experiment can be calculated using a specific formula. This formula accounts for the number of ways a specific outcome can occur and the probability of that outcome 19.

The probability of exactly XX successes in nn trials is given by: P(X)=(nX)pXqn−XP(X) = \binom{n}{X} p^X q^{n-X} where:

  • (nX)\binom{n}{X} represents the number of possible combinations of XX successes in nn trials.
  • pXp^X is the probability of XX successes.
  • qn−Xq^{n-X} is the probability of n−Xn-X failures 19.

3.4 Example 5-16: Survey on doctor visits

This example demonstrates the application of the binomial probability formula to a real-world scenario involving survey data 20.

A survey indicates that 1 in 5 Americans visit a doctor in a given month. If 10 people are randomly selected, what is the probability that exactly 3 have visited a doctor last month?

Here, n=10n=10 (number of people selected), X=3X=3 (number of people who visited a doctor), and p=0.20p=0.20 (probability of visiting a doctor). The probability of failure is q=1−0.20=0.80q = 1 - 0.20 = 0.80.

Using the formula: P(X=3)=(103)(0.20)3(0.80)10−3P(X=3) = \binom{10}{3} (0.20)^3 (0.80)^{10-3} P(X=3)=10!3!(10−3)!(0.20)3(0.80)7P(X=3) = \frac{10!}{3!(10-3)!} (0.20)^3 (0.80)^7 P(X=3)=10!3!7!(0.20)3(0.80)7P(X=3) = \frac{10!}{3!7!} (0.20)^3 (0.80)^7 P(X=3)=120×(0.008)×(0.2097152)≈0.201P(X=3) = 120 \times (0.008) \times (0.2097152) \approx 0.201 20.

📝 If 10 people are selected at random, the probability that exactly 3 will have visited a doctor last month is approximately 0.201 20.

3.5 Example 5-17: Survey on employment

This example illustrates how to calculate the probability of "at least" a certain number of successes in a binomial experiment 21.

A survey found that 30% of teenage consumers get spending money from part-time jobs. If 5 teenagers are randomly selected, find the probability that at least 3 of them will have part-time jobs.

In this case, n=5n=5 (number of teenagers selected), p=0.30p=0.30 (probability of having a part-time job), and q=1−0.30=0.70q = 1 - 0.30 = 0.70. "At least 3" means X=3X=3, X=4X=4, or X=5X=5.

The probabilities for each case are calculated as follows:

  • For X=3X=3: P(X=3)=(53)(0.30)3(0.70)5−3=5!3!2!(0.30)3(0.70)2=10×0.027×0.49=0.132P(X=3) = \binom{5}{3} (0.30)^3 (0.70)^{5-3} = \frac{5!}{3!2!} (0.30)^3 (0.70)^2 = 10 \times 0.027 \times 0.49 = 0.132.
  • For X=4X=4: P(X=4)=(54)(0.30)4(0.70)5−4=5!4!1!(0.30)4(0.70)1=5×0.0081×0.70=0.028P(X=4) = \binom{5}{4} (0.30)^4 (0.70)^{5-4} = \frac{5!}{4!1!} (0.30)^4 (0.70)^1 = 5 \times 0.0081 \times 0.70 = 0.028.
  • For X=5X=5: P(X=5)=(55)(0.30)5(0.70)5−5=5!5!0!(0.30)5(0.70)0=1×0.00243×1=0.002P(X=5) = \binom{5}{5} (0.30)^5 (0.70)^{5-5} = \frac{5!}{5!0!} (0.30)^5 (0.70)^0 = 1 \times 0.00243 \times 1 = 0.002 21.

The probability of at least 3 successes is the sum of these probabilities: P(X≥3)=P(X=3)+P(X=4)+P(X=5)=0.132+0.028+0.002=0.162P(X \ge 3) = P(X=3) + P(X=4) + P(X=5) = 0.132 + 0.028 + 0.002 = 0.162 21.

📝 The probability that at least 3 out of 5 randomly selected teenagers will have part-time jobs is 0.162 21.

3.6 Example 5-18: Tossing coins

This example shows how to find the probability of a specific outcome when tossing a fair coin multiple times, using a binomial probability table 22.

A coin is tossed 3 times. Find the probability of getting exactly two heads.

For a fair coin, the probability of getting a head (success) is p=0.5p=0.5, and the probability of getting a tail (failure) is q=0.5q=0.5. The number of trials is n=3n=3, and we are interested in exactly X=2X=2 heads.

Using a binomial probability table (Table B), we look for the intersection of n=3n=3 and p=0.5p=0.5 for X=2X=2. The table provides the probability directly 22.

📝 When a coin is tossed 3 times, the probability of getting exactly two heads is 0.375 22.

4. The binomial distribution mean, variance, and standard deviation

4.1 Formulas for binomial distribution parameters

The mean, variance, and standard deviation of a variable following a binomial distribution can be calculated using specific formulas. These formulas simplify the process of understanding the central tendency and spread of binomial outcomes 23.

A binomial distribution describes the number of successes in a fixed number of independent trials, each with two possible outcomes (success or failure) and a constant probability of success. The parameters of this distribution are determined by the number of trials and the probability of success 23.

ParameterFormula
Mean (µ)npnp
Variance (σ²)npqnpq
Standard Deviation (σ)npq\sqrt{npq}

Where:

  • nn is the number of trials.
  • pp is the probability of success on a single trial.
  • qq is the probability of failure on a single trial, calculated as q=1−pq = 1 - p 23.

4.2 Example 5-23: Likelihood of twins

This example demonstrates the application of the binomial distribution formulas to a real-world scenario. It involves calculating the mean, variance, and standard deviation for the number of twin births in a large sample 24.

A report indicates that 2% of American births result in twins. If a random sample of 8000 births is taken, we can find the mean, variance, and standard deviation of the number of births that would result in twins 24.

  • Number of trials (nn): 8000 births.
  • Probability of success (twins, pp): 0.02.
  • Probability of failure (no twins, qq): 1−0.02=0.981 - 0.02 = 0.98 24.

📝

  • Mean (µ): np=8000×0.02=160np = 8000 \times 0.02 = 160.
  • Variance (σ²): npq=8000×0.02×0.98=156.8npq = 8000 \times 0.02 \times 0.98 = 156.8.
  • Standard Deviation (σ): npq=156.8≈12.5\sqrt{npq} = \sqrt{156.8} \approx 12.5 24.

5. Other types of distributions

5.1 The multinomial distribution

The multinomial distribution extends the binomial distribution to scenarios with more than two possible outcomes. It is used to compute probabilities when there are multiple distinct categories for an event.

The binomial distribution is a specific instance of the multinomial distribution where there are only two outcomes 25.

The probability mass function for the multinomial distribution is given by: P(X1=k1,X2=k2,…,Xm=km)=n!k1!k2!…km!p1k1p2k2…pmkmP(X_1=k_1, X_2=k_2, \dots, X_m=k_m) = \frac{n!}{k_1! k_2! \dots k_m!} p_1^{k_1} p_2^{k_2} \dots p_m^{k_m} where:

  • nn is the total number of trials.
  • mm is the number of possible outcomes.
  • kik_i is the number of times outcome ii occurs, such that ∑i=1mki=n\sum_{i=1}^{m} k_i = n.
  • pip_i is the probability of outcome ii occurring, such that ∑i=1mpi=1\sum_{i=1}^{m} p_i = 1 25.

📝 In a large city, 50% of people choose a movie, 30% choose dinner and a play, and 20% choose shopping as a leisure activity. If a sample of 5 people is randomly selected, find the probability that 3 are planning to go to a movie, 1 to a play, and 1 to a shopping mall.

The probability is calculated as: P(3 movie,1 play,1 shopping)=5!3!1!1!(0.50)3(0.30)1(0.20)1=0.15P(3 \text{ movie}, 1 \text{ play}, 1 \text{ shopping}) = \frac{5!}{3!1!1!} (0.50)^3 (0.30)^1 (0.20)^1 = 0.15 26.

5.2 The Poisson distribution

The Poisson distribution is a probability distribution that is useful when the number of trials (nn) is large and the probability of success (pp) is small. It is particularly applicable when independent events occur over a specific interval of time, area, or volume 27.

This distribution can also model the density of items distributed over a given area or volume, such as the number of plants per acre or the number of defects in a length of videotape 27.

The probability mass function for the Poisson distribution is: P(X=k)=λke−λk!P(X=k) = \frac{\lambda^k e^{-\lambda}}{k!} where:

  • kk is the number of occurrences (0, 1, 2,...).
  • λ\lambda (lambda) is the mean number of occurrences per unit (time, volume, area, etc.).
  • ee is the base of the natural logarithm, approximately 2.7183 28.

📝 If there are 200 typographical errors randomly distributed in a 500-page manuscript, find the probability that a given page contains exactly 3 errors.

First, calculate the mean number of errors per page: λ=200 errors500 pages=0.4\lambda = \frac{200 \text{ errors}}{500 \text{ pages}} = 0.4 errors per page.

The probability of a page containing exactly 3 errors is: P(X=3)=(0.4)3e−0.43!≈0.0072P(X=3) = \frac{(0.4)^3 e^{-0.4}}{3!} \approx 0.0072 Thus, there is less than a 1% chance that any given page will contain exactly 3 errors 29.

6. Hypergeometric distribution

6.1 Definition

The hypergeometric distribution describes the probability of obtaining a specific number of successes in a sample drawn without replacement from a finite population containing two types of objects. This distribution is applicable when the order of selection does not matter and each draw affects the probabilities of subsequent draws 30.

6.2 Formula

Given a population with aa items of one type and bb items of another type, where a+ba+b is the total population size, the probability P(X)P(X) of selecting a sample of size nn without replacement, containing exactly XX items of type aa and n−Xn-X items of type bb, is calculated using the following formula:

P(X)=(aX)(bn−X)(a+bn)P(X) = \frac{\binom{a}{X} \binom{b}{n-X}}{\binom{a+b}{n}}

Here, (mk)\binom{m}{k} represents the binomial coefficient, calculated as m!k!(m−k)!\frac{m!}{k!(m-k)!}, which denotes the number of ways to choose kk items from a set of mm items 31.

📝 The probability of selecting a sample of size nn with exactly XX items of type aa from a population of aa items of type aa and bb items of type bb is P(X)=(aX)(bn−X)(a+bn)P(X) = \frac{\binom{a}{X} \binom{b}{n-X}}{\binom{a+b}{n}} 31.

6.3 Example: House Insurance

A study indicates that 2 out of every 10 houses in a neighborhood are uninsured. If a sample of 5 houses is selected from these 10 houses, what is the probability that exactly 1 house in the sample will be uninsured?

In this scenario:

  • Total population (a+ba+b) = 10 houses
  • Number of uninsured houses (aa) = 2
  • Number of insured houses (bb) = 8
  • Sample size (nn) = 5 houses
  • Number of uninsured houses in the sample (XX) = 1

Using the hypergeometric distribution formula: P(X=1)=(21)(85−1)(105)=(21)(84)(105)P(X=1) = \frac{\binom{2}{1} \binom{8}{5-1}}{\binom{10}{5}} = \frac{\binom{2}{1} \binom{8}{4}}{\binom{10}{5}}

Calculating the binomial coefficients:

  • (21)=2!1!(2−1)!=2\binom{2}{1} = \frac{2!}{1!(2-1)!} = 2
  • (84)=8!4!(8−4)!=8×7×6×54×3×2×1=70\binom{8}{4} = \frac{8!}{4!(8-4)!} = \frac{8 \times 7 \times 6 \times 5}{4 \times 3 \times 2 \times 1} = 70
  • (105)=10!5!(10−5)!=10×9×8×7×65×4×3×2×1=252\binom{10}{5} = \frac{10!}{5!(10-5)!} = \frac{10 \times 9 \times 8 \times 7 \times 6}{5 \times 4 \times 3 \times 2 \times 1} = 252

Substituting these values into the formula: P(X=1)=2×70252=140252P(X=1) = \frac{2 \times 70}{252} = \frac{140}{252}

Simplifying the fraction: P(X=1)=140252=59P(X=1) = \frac{140}{252} = \frac{5}{9}

Therefore, the probability that exactly 1 house in the sample of 5 will be uninsured is 59\frac{5}{9} 32.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also