Lecture 6 Notes
📚 Lecture 6 Notes.pdf
Brief overview
This document provides a foundational understanding of discrete probability distributions. It establishes key concepts and demonstrates their application through practical examples, crucial for analyzing random phenomena in various contexts.
Key points
- Overview of fundamental concepts in discrete probability distributions
- Defining sample spaces and events in probability experiments
- Constructing and calculating probability distributions for discrete random variables
- Detailed examples illustrating probability distribution calculations
- Application of probability distributions in real-world scenarios
1. Introduction to discrete probability distributions (part 1)
1.1 Sample spaces and events
A probability experiment is a process with an uncertain outcome. The set of all possible outcomes is called the sample space, denoted by Ω.
An event is a specific set of outcomes within the sample space.
The power set is the set of all possible events, including the empty set and the sample space itself. The empty set, denoted by ∅, represents an event with no outcomes 5.
A discrete probability distribution describes the probabilities of a random variable's possible outcomes. This distribution assigns a probability to each distinct value the variable can take.
1.2 Validating probability distributions
To be a valid probability distribution, two conditions must be met. First, each probability must be between 0 and 1, inclusive (0≤P(x)≤1).
Second, the sum of all probabilities for all possible outcomes must equal 1 (∑P(x)=1).
Several tables show examples of probability assignments for different variables. Some tables display invalid probabilities.
For instance, one table shows a negative probability for an outcome. Another table lists probabilities that sum to more than 1.
The table below illustrates valid probabilities for a variable x. The values of x range from 0 to 4.
The corresponding probabilities, P(x), are listed. The sum of these probabilities is 1.
| x (Patients with high blood pressure) | P(x) |
|---|---|
| 0 | 0.10 |
| 1 | 0.25 |
| 2 | 0.30 |
| 3 | 0.20 |
| 4 | 0.15 |
| Total | 1.00 |

🔑 Important: Always check that probabilities are between 0 and 1 and that they sum to exactly 1 for a distribution to be valid.
1.3 Probability distribution of coin tosses
Consider tossing a fair coin twice. The possible outcomes are HH, HT, TH, TT.
Let X be the random variable representing the number of heads. X can take values 0, 1, or 2.
The probability of getting 0 heads (TT) is 0.25. The probability of getting 1 head (HT or TH) is 0.50.
The probability of getting 2 heads (HH) is 0.25.
| X (Number of heads) | P(X) |
|---|---|
| 0 | 0.25 |
| 1 | 0.50 |
| 2 | 0.25 |
| Total | 1.00 |

🔑 Important: Discrete probability distributions model outcomes with distinct, countable values.
🔑 Important: The sum of probabilities for all possible outcomes in a discrete distribution must always equal 1 9 13 15.
2. Introduction to discrete probability distributions (part 2)
2.1 Probability distributions for discrete random variables
A discrete probability distribution shows the possible values a discrete random variable can take and their associated probabilities. It lists all possible outcomes and their likelihoods.
The sum of probabilities for all possible values of a discrete random variable must equal one. This ensures all outcomes are accounted for.
A probability histogram visually represents this distribution. The x-axis shows the values the variable can take, and the y-axis shows their probabilities 23.

A table can also display a probability distribution. It lists each possible value and its probability.
| Number of defective pixels (X) | Probability P(x) |
|---|---|
| 0 | 0.87 |
| 1 | 0.10 |
| 2 | 0.03 |
The mean of a discrete random variable, often denoted by μ, is the expected value. It is calculated by summing the products of each possible value and its probability.
The formula for the mean (μ) is: μ=∑x⋅P(x) where x is a possible value and P(x) is its probability 25.
📝 Example: If a variable X has values 0, 1, and 2 with probabilities 0.5, 0.3, and 0.2 respectively, its mean is (0×0.5)+(1×0.3)+(2×0.2)=0+0.3+0.4=0.7.
2.3 Calculating the variance and standard deviation
The variance (σ2) measures the spread of the distribution. It is the expected value of the squared difference from the mean.
The formula for variance is: σ2=∑(x−μ)2⋅P(x) This sums the squared difference of each value from the mean, weighted by its probability.
The standard deviation (σ) is the square root of the variance. It provides a measure of spread in the original units of the variable.
σ=σ2
🔑 Important: A larger variance or standard deviation indicates that the data points are, on average, further from the mean.
A table can summarize the calculation of variance:
| Number of boys (x) | Probability P(x) | x⋅P(x) | (x−μ)2⋅P(x) |
|---|---|---|---|
| 0 | 0.03125 | 0 | 0.2018765625 |
| 1 | 0.15625 | 0.15625 | 0.4770751953125 |
| 2 | 0.3125 | 0.625 | 0.4770751953125 |
| 3 | 0.3125 | 0.9375 | 0.4770751953125 |
| 4 | 0.15625 | 0.625 | 0.2018765625 |
| 5 | 0.03125 | 0.15625 | 0.0169482421875 |
| Total | 1.00000 | 2.50000 | 1.851923828125 |
🔑 Important: Variance is always non-negative since it is based on squared differences.
2.4 Properties of discrete probability distributions
Understanding the characteristics of a discrete probability distribution helps in interpreting the data. Key properties include the mean, variance, and the probabilities of specific events.
Key properties of a discrete probability distribution:
| Property | Description | Formula/Notation |
|---|---|---|
| Possible values | The set of all distinct outcomes the variable can take. | x |
| Probabilities | The likelihood associated with each possible value. | P(x) |
| Sum of Probabilities | The total of all P(x) must equal 1. | ∑P(x)=1 |
| Mean (μ) | The expected average value of the variable. | ∑x⋅P(x) |
| Variance (σ2) | The average squared deviation from the mean. | ∑(x−μ)2⋅P(x) |
| Standard Deviation (σ) | The square root of the variance, in original units. | σ2 |
The distribution of defective pixels in a computer monitor is an example of a discrete probability distribution.
| Number of defective pixels (x) | Probability P(x) |
|---|---|
| 0 | 0.87 |
| 1 | 0.10 |
| 2 | 0.03 |
🔑 Important: The mean represents the long-run average if the experiment were repeated many times.
🔑 Important: Discrete probability distributions are fundamental for modeling phenomena with countable outcomes.
3. Introduction to discrete probability distributions (part 3)
The previous parts of this topic introduced basic probability concepts and discrete random variables. This section builds on that foundation by exploring specific types of discrete probability distributions.
Understanding these distributions allows us to model and analyze various real-world scenarios involving countable outcomes.
3.1 The Bernoulli distribution
The Bernoulli distribution models a single, independent trial with only two possible outcomes: success or failure. This is a foundational distribution for many more complex ones.
- Experiment: A single trial with two outcomes.
- Outcomes: Typically labeled as "success" and "failure".
- Probability of success: Denoted by p.
- Probability of failure: Denoted by q=1−p.
The probability mass function (PMF) for a Bernoulli random variable X is: P(X=x)={p1−pif x=1 (success)if x=0 (failure) Here, x represents the outcome, where x=1 for success and x=0 for failure.
📝 Example: Flipping a fair coin once. Success is getting heads (p=0.5), failure is getting tails (1−p=0.5).
The expected value (mean) of a Bernoulli distribution is E(X)=p. The variance is Var(X)=p(1−p).
3.2 The Binomial distribution
The Binomial distribution extends the Bernoulli concept to multiple independent trials. It describes the number of successes in a fixed number of identical, independent Bernoulli trials.
- Number of trials: Fixed, denoted by n.
- Two outcomes per trial: Success or failure.
- Constant probability of success: Denoted by p for each trial.
- Independence: Trials do not influence each other.
The PMF for a Binomial random variable X (number of successes in n trials) is: P(X=k)=(kn)pk(1−p)n−k Here, k is the number of successes, and (kn) is the binomial coefficient, representing the number of ways to choose k successes from n trials.
🔑 Important: The Binomial distribution requires a fixed number of trials (n) and a constant probability of success (p) across all trials.
The expected value of a Binomial distribution is E(X)=np. The variance is Var(X)=np(1−p).
3.2.1 Applications of the Binomial distribution
The Binomial distribution is widely used in many fields. It models situations like:
- The number of defective items in a sample from a production line.
- The number of heads in a series of coin flips.
- The number of patients who respond to a specific medical treatment.
A practical example is monitoring defective pixels on a computer monitor.
.
3.3 The Geometric distribution
The Geometric distribution models the number of independent Bernoulli trials needed to achieve the first success. It focuses on when the first success occurs.
- Trials: Independent Bernoulli trials.
- Outcomes: Success or failure.
- Goal: To find the number of trials until the first success.
The PMF for a Geometric random variable X (number of trials until first success) is: P(X=k)=(1−p)k−1p Here, k is the number of trials, and k=1,2,3,….
🔑 Important: The Geometric distribution describes waiting for the first success. There is no upper limit on the number of trials (k).
The expected value of a Geometric distribution is E(X)=p1. The variance is Var(X)=p21−p.
📝 Example: Rolling a die until you get a six. The probability of success (rolling a six) is p=1/6. The number of rolls until the first six follows a Geometric distribution.
3.4 The Poisson distribution
The Poisson distribution models the number of events occurring within a fixed interval of time or space. These events must occur with a known average rate and independently of the time since the last event.
- Events: Occur randomly and independently.
- Interval: Fixed time period, area, volume, etc.
- Average rate: Constant, denoted by λ (lambda).
The PMF for a Poisson random variable X (number of events in an interval) is: P(X=k)=k!λke−λ Here, k is the number of events, and k=0,1,2,…. e is the base of the natural logarithm (approximately 2.71828).
🔑 Important: The Poisson distribution is often used to model rare events. The average rate λ is crucial.
The expected value of a Poisson distribution is E(X)=λ. The variance is also Var(X)=λ.
📝 Example: The number of customers arriving at a store per hour, or the number of defects found on a surface of a certain size.
A roulette wheel provides a visual for discrete outcomes.
.
3.5 Comparing discrete distributions
These discrete distributions are useful for modeling different types of count data. Choosing the correct distribution depends on the nature of the random experiment.
| Distribution | Description | Key Parameter(s) | Event Example |
|---|---|---|---|
| Bernoulli | Single trial, two outcomes. | p (prob. success) | One coin flip. |
| Binomial | Number of successes in n independent trials. | n, p | Number of heads in 10 coin flips. |
| Geometric | Number of trials until the first success. | p (prob. success) | Number of rolls to get the first '6'. |
| Poisson | Number of events in a fixed interval with average rate λ. | λ | Number of calls to a call center per hour. |
| 41 42 43 44 45 |
🔑 Important: The choice of distribution hinges on whether you're counting trials for one success (Geometric), successes in a fixed number of trials (Binomial), or events in an interval (Poisson).
🔑 Important: This section concludes our introduction to discrete probability distributions. Understanding these core distributions is essential for analyzing data with countable outcomes.
4. Probability distributions and examples (part 1)
4.1 Understanding discrete probability distributions
A probability distribution for a discrete random variable lists all possible values the variable can take and their corresponding probabilities. This distribution helps us understand the likelihood of each outcome.
For a valid probability distribution, two conditions must be met. The probability of each value must be between 0 and 1, inclusive.
Also, the sum of all probabilities for all possible values must equal 1.
4.2 Constructing a probability distribution: A production line example
Consider a production line where items are either defective (D) or nondefective (N). The probability of an item being defective is 0.2, and nondefective is 0.8.
We will examine three randomly selected items. This scenario involves a fixed number of independent trials, each with two possible outcomes and a constant probability of success.
The possible outcomes for three items can be listed systematically:
- DDD
- DDN
- DND
- NDD
- DNN
- NDN
- NND
- NNN.
Each outcome represents a sequence of three items. For example, DNN means the first item is defective, and the next two are nondefective.
4.3 Calculating probabilities for specific outcomes
To find the probability of each sequence, we multiply the probabilities of individual outcomes. For instance, the probability of DNN is calculated as the probability of D multiplied by the probability of N, then by the probability of N: P(DNN)=P(D)×P(N)×P(N)=0.2×0.8×0.8=0.128.
Let's list the probabilities for all possible outcomes:
- P(DDD)=0.2×0.2×0.2=0.008
- P(DDN)=0.2×0.2×0.8=0.032
- P(DND)=0.2×0.8×0.2=0.032
- P(NDD)=0.8×0.2×0.2=0.032
- P(DNN)=0.2×0.8×0.8=0.128
- P(NDN)=0.8×0.2×0.8=0.128
- P(NND)=0.8×0.8×0.2=0.128
- P(NNN)=0.8×0.8×0.8=0.512.
Summing these probabilities confirms they equal 1: 0.008+3×0.032+3×0.128+0.512=1.000.
4.4 Focusing on the number of defective items
Instead of listing every sequence, we can group outcomes by the number of defective items. Let X be the random variable representing the number of defective items in a sample of three.
X can take values 0, 1, 2, or 3.
We can calculate the probability for each value of X:
- P(X=0): This corresponds to the outcome NNN. P(X=0)=0.512.
- P(X=1): This corresponds to outcomes DNN, NDN, NND. P(X=1)=P(DNN)+P(NDN)+P(NND)=0.128+0.128+0.128=0.384.
- P(X=2): This corresponds to outcomes DDN, DND, NDD. P(X=2)=P(DDN)+P(DND)+P(NDD)=0.032+0.032+0.032=0.096.
- P(X=3): This corresponds to the outcome DDD. P(X=3)=0.008.
The probability distribution for the number of defective items is:
| Number of Defectives (X) | Probability (P(X)) |
|---|---|
| 0 | 0.512 |
| 1 | 0.384 |
| 2 | 0.096 |
| 3 | 0.008 |
| 46 |
4.5 Introducing the binomial distribution
This type of problem, with a fixed number of independent trials and two outcomes, is described by the binomial distribution. The binomial probability formula calculates the probability of getting exactly x successes in n independent trials.
The formula is: P(X=x)=(xn)px(1−p)n−x Where:
- n: the number of trials.
- x: the number of successful outcomes.
- p: the probability of success on a single trial.
- (xn): the binomial coefficient, representing the number of ways to choose x successes from n trials. It is calculated as x!(n−x)!n!.

Using the production line example, n=3 (three items chosen) and p=0.2 (probability of defect, considered a "success" here). We can verify our previous calculations using this formula.
For P(X=2): P(X=2)=(23)(0.2)2(1−0.2)3−2=3×(0.04)×(0.8)1=3×0.04×0.8=0.096.
This matches our earlier result.
The table below shows binomial probabilities for various values of n, x, and p. These tables are useful for quickly finding probabilities without manual calculation 60.

🔑 Important: The binomial distribution applies when trials are independent, there are only two outcomes per trial, the number of trials is fixed, and the probability of success is constant across trials.
📝 Example: If a coin is flipped 10 times (n=10), and the probability of heads (success) is 0.5 (p=0.5), the probability of getting exactly 7 heads (x=7) can be found using the binomial formula: P(X=7)=(710)(0.5)7(0.5)10−7=120×(0.5)7×(0.5)3=120×(0.5)10=0.117.
🔑 Important: The binomial distribution is central to many statistical analyses involving count data from a fixed number of trials 54.
5. Probability distributions and examples (part 2)
5.1 Constructing discrete probability distributions
A probability distribution for a discrete random variable lists all possible outcomes and their associated probabilities. To construct one, you must first identify all possible values the random variable can take.
Then, determine the probability of each specific value occurring. The sum of all probabilities in a discrete probability distribution must always equal 1.
Probabilities can be determined through various methods. These include empirical data (observing frequencies of outcomes), theoretical calculations (based on assumptions about the process), or using established probability formulas for specific distribution types.
🔑 Important: The probability of any specific outcome for a discrete random variable must be between 0 and 1, inclusive. The sum of all probabilities for all possible outcomes must equal 1.
5.2 Factorial calculations for probability
Calculating probabilities for some distributions requires the factorial of a number. The factorial of a non-negative integer x, denoted by x!, is the product of all positive integers less than or equal to x.
For example, 5!=5×4×3×2×1=120.
By definition, 0! equals 1.
This function is fundamental in many combinatorial probability formulas. It represents the number of ways to arrange x distinct items.

The factorial can also be defined recursively: x!=x×(x−1)! for x>0, with the base case $0!
= 1$. This recursive definition is useful for understanding the structure of factorial calculations 74.
5.3 Poisson distribution for rare events
The Poisson distribution models the probability of a given number of events occurring in a fixed interval of time or space. This distribution is particularly useful when events are rare and occur independently of each other.
Common applications include the number of customer arrivals per hour or the number of defects per meter of fabric.
The key parameter for the Poisson distribution is λ (lambda), which represents the average rate of events in the given interval. The probability of observing exactly x events is calculated using a specific formula.

The formula for the Poisson probability mass function is: P(X=x)=x!e−λλx Here, x is the number of events, λ is the average rate of events, e is the base of the natural logarithm (approximately 2.71828), and x! is the factorial of x.
📝 Example: If a call center receives an average of 3 calls per hour (λ=3), the probability of receiving exactly 2 calls in one hour (x=2) can be calculated using the Poisson formula: P(X=2)=2!e−332=2e−3×9.
The Poisson distribution assumes that events occur at a constant average rate and that the occurrence of one event does not affect the probability of another event occurring 78.
🔑 Important: Use the Poisson distribution when you are counting the number of times an event happens in a defined interval and the events are independent and occur at a known average rate.
5.4 Example: Probability distribution for a production line
Consider a scenario involving a production line where items are manufactured. Suppose we are interested in the number of defects found in a sample of 5 items produced consecutively.
We can construct a probability distribution for the number of defects.
First, we identify all possible outcomes for the number of defects. In this case, it could range from 0 defects to 5 defects.
Next, we need to determine the probability of each specific number of defects. This might involve historical data or theoretical modeling.
Let X be the random variable representing the number of defects in a sample of 5 items. The possible values for X are {0,1,2,3,4,5}.
If we assume certain probabilities for each outcome, we can build the distribution.
| Number of defects (x) | Probability P(X=x) |
|---|---|
| 0 | 0.600 |
| 1 | 0.250 |
| 2 | 0.100 |
| 3 | 0.030 |
| 4 | 0.015 |
| 5 | 0.005 |
🔑 Important: The sum of probabilities for all possible values of a discrete random variable must equal 1. This is a fundamental check for any constructed probability distribution.
🔑 Important: The probability distribution for a discrete random variable assigns a probability to each specific outcome. This allows us to understand the likelihood of different results occurring.
🔑 Important: For any discrete probability distribution, ensure that 0≤P(X=x)≤1 for all possible values of x, and ∑P(X=x)=1.
🔑 Important: The Poisson distribution is a specific type of discrete probability distribution used for counting events in a fixed interval, especially when events are rare.
6. Probability distributions and examples (part 3)
6.1 Constructing discrete probability distributions
A discrete probability distribution shows the probabilities of all possible outcomes for a discrete random variable. A discrete random variable can only take specific, separate values.
These values are often counts of things.
The sum of all probabilities in a distribution must equal one. Each probability must be between zero and one, inclusive.
We can represent these distributions using tables or graphs.
- Probability distribution table: lists each possible value of the random variable and its corresponding probability.
- Probability histogram: a bar graph where the height of each bar represents the probability of a specific outcome.
The possible values for the random variable are plotted on the horizontal axis. Probabilities are shown on the vertical axis.
96.
This table illustrates how probabilities are assigned to each possible number of customers.
6.2 Examples of discrete probability distributions
We can construct probability distributions for various real-world scenarios. These help us understand the likelihood of different events.
Consider the number of text messages teenagers send. This is a discrete random variable.
The possible values range from zero messages up to some maximum.
- Random variable (x): the number of text messages sent.
- Probability P(x): the likelihood of sending exactly x messages.
.
This table shows the probability for each number of text messages from 0 to 5.
📝 Example: If P(x=2)=0.30, then there is a 30% chance a teenager sends exactly 2 text messages 98.
6.2.1 Poisson distribution
The Poisson distribution is used for counting rare events that occur over a fixed interval of time or space. The events must be independent.
The average rate of occurrence must be constant.
The formula for the Poisson probability of observing exactly k events is: P(X=k)=k!λke−λ
- λ (lambda): the average number of events in the interval.
- e: Euler's number, approximately 2.71828.
- k! (k factorial): the product of all positive integers up to k.
.
This formula allows us to calculate probabilities for discrete counts when we know the average rate.
🔑 Important: The Poisson distribution is ideal for modeling events like customer arrivals, equipment failures, or calls to a service center, where events are infrequent but occur over a continuous period 86.
6.3 Characteristics of discrete probability distributions
Discrete distributions have key properties that define their shape and behavior. These include the mean and variance.
- Mean (μ): the expected value or average outcome. It's calculated by summing each possible value multiplied by its probability: μ=∑x⋅P(x).
- Variance (σ2): measures the spread or dispersion of the distribution. It's calculated as σ2=∑(x−μ)2⋅P(x).
- Standard deviation (σ): the square root of the variance, σ=σ2.
🔑 Important: The mean provides the central tendency of the distribution, while variance and standard deviation quantify its variability.
| Measure | Formula | Description |
|---|---|---|
| Mean (μ) | ∑x⋅P(x) | Expected average value of the random variable. |
| Variance (σ2) | ∑(x−μ)2⋅P(x) | Average squared deviation from the mean. |
| Standard Deviation (σ) | ∑(x−μ)2⋅P(x) | Typical distance of values from the mean. |
🔑 Important: For the entire topic: Understanding discrete probability distributions is crucial for modeling and predicting outcomes in scenarios involving counts, enabling informed decision-making 105.
7. Probability distributions and examples (part 4)
7.1 Constructing a discrete probability distribution
A discrete probability distribution shows all possible values of a discrete random variable and their probabilities. To construct one, you first identify all possible outcomes of an experiment.
Then, you determine the probability of each outcome. The sum of all probabilities must equal 1.
- Possible outcomes: List every distinct result from the experiment.
- Probability of each outcome: Calculate the chance of each result occurring.
- Sum of probabilities: Ensure all calculated probabilities add up to exactly 1.
7.2 Example: Production line defects
Consider a production line where items are inspected for defects. We want to find the probability distribution for the number of defects found in a sample of three items.
- Identify random variable: Let X be the number of defects in three items. X can be 0, 1, 2, or 3.
- Determine probabilities:
- P(X=0): Probability of zero defects.
- P(X=1): Probability of one defect.
- P(X=2): Probability of two defects.
- P(X=3): Probability of three defects.
7.2.1 Calculating probabilities for defects
To calculate these probabilities, we need more information about the defect rate. Assume the probability of any single item being defective is p.
If we assume the probability of an item being defective is p=0.1, and non-defective is q=1−p=0.9:
- Zero defects (X=0): All three items are non-defective. The probability is q×q×q=q3.
- One defect (X=1): One item is defective, and two are non-defective. There are three ways this can happen (Dnn, nDn, nnD). The probability is 3×p×q2.
- Two defects (X=2): Two items are defective, and one is non-defective. There are three ways this can happen (DDn, DnD, nDD). The probability is 3×p2×q.
- Three defects (X=3): All three items are defective. The probability is p×p×p=p3.
7.2.2 The probability distribution table
Using p=0.1 and q=0.9:
- P(X=0)=(0.9)3=0.729
- P(X=1)=3×(0.1)×(0.9)2=3×0.1×0.81=0.243
- P(X=2)=3×(0.1)2×(0.9)=3×0.01×0.9=0.027
- P(X=3)=(0.1)3=0.001
The sum of these probabilities is 0.729+0.243+0.027+0.001=1.000.
| Number of Defects (X) | Probability (P(X)) |
|---|---|
| 0 | 0.729 |
| 1 | 0.243 |
| 2 | 0.027 |
| 3 | 0.001 |
🔑 Important: The probability distribution must cover all possible outcomes, and their probabilities must sum to 1.
📝 Example: If a coin is flipped twice, let Y be the number of heads. Possible outcomes are HH, HT, TH, TT. Thus, Y can be 0, 1, or 2. P(Y=0)=P(TT)=0.25, P(Y=1)=P(HT)+P(TH)=0.25+0.25=0.50, P(Y=2)=P(HH)=0.25. The distribution sums to 0.25+0.50+0.25=1.00.
🔑 Important: Understanding how to list all possible outcomes and correctly assign probabilities is the foundation for working with discrete probability distributions.
© 2026 Maeve. All rights reserved. This content is protected by copyright.