chapitre1. ProbabilityDistributions
Table of contents
- Chapter 1: Probability Distributions
- Common Probability Distributions
- Exercises
1. Chapter 1: Probability Distributions
Probability theory investigates random phenomena using the concept of a random experiment, which has a set of all possible outcomes called the sample space (Ω). When the outcomes are numerical, they are represented by a random variable 1.
1.1 Random variables
A random variable is a function that maps outcomes from the sample space (Ω) to real numbers (R). It is typically denoted by an uppercase letter, such as X or Y 1.
- Definition: A random variable is a real-valued function defined on a sample space.
- Formal definition: Given a probability space (Ω,A,P), a random variable X is a measurable function X:(Ω,A)→(R,B), where B is the Borel σ-algebra on R 1.
📝 When tossing a coin, a function X that assigns 1 to "heads" and 0 to "tails" is a random variable 1.
1.2 Discrete random variables
A discrete random variable takes a finite or countably infinite number of values, meaning its domain is a subset of natural numbers (N). For these variables, we define the set of possible values and their associated probabilities 1.
- Definition: A random variable is discrete if it can assume a finite or countably infinite number of distinct values 1.
📝 The outcome of rolling a single die is a discrete random variable X, with possible values X(Ω)={1,2,3,4,5,6} 1.
1.3 Continuous random variables
A continuous random variable can take any value within an interval, meaning its domain contains an interval of real numbers (R). For continuous variables, probabilities are calculated for the variable falling within a given interval, not for specific values 1 2.
- Definition: A random variable that can assume an uncountably infinite number of values is called a continuous-type random variable 2.
📝 The waiting time T a person spends at an automated teller is a continuous random variable, as its possible values form the interval (0,∞) 2.
1.4 Probability distribution
A random variable is fully characterized by its probability distribution, which includes the set of values it can take and the probabilities assigned to each possible value P(X=x) 2.
| Type of Random Variable | Key Function | Properties |
|---|---|---|
| Discrete | Probability Mass Function (pmf) P(xk) | ['P(xk)≥0 for all k', '∑k=1∞P(xk)=1'] |
| Continuous | Probability Density Function (pdf) f(x) | ['f(x)≥0 for all x', '∫−∞+∞f(x)dx=1'] |
- Probability density function (pdf): For a continuous random variable X, the pdf f(x) describes the relative likelihood for the random variable to take on a given value. It does not directly give the probability P(X=x).
- Cumulative distribution function (cdf): For a continuous random variable X, the cdf F(x) is defined as F(x)=P(X≤x)=∫−∞xf(u)du. Where F is differentiable, its derivative is the pdf: dxdF(x)=f(x).
- Probability mass function (pmf): For a discrete random variable X, the pmf P assigns to each possible value its probability 2.
📝 If the waiting time X at a bank counter has a density function f(x)=21 for 0≤x<1 and f(x)=2x43 for x≥1, and f(x)=0 for x<0, this is a valid density function because ∫−∞∞f(x)dx=∫0121dx+∫1∞2x43dx=1 2.
2. Common Probability Distributions
This section presents a catalog of frequently used probability distributions in statistical modeling, categorized into discrete and continuous types 3.
2.1 Discrete Distributions
Discrete distributions model random variables that can take on a finite or countably infinite number of distinct values 3.
- Bernoulli distribution B(p): This is the simplest distribution, modeling an experiment with only two possible outcomes, typically coded as 1 (success) and 0 (failure).
- Parameters: p is the probability of success (outcome 1), and q=1−p is the probability of failure (outcome 0).
- Use: Often used as an indicator function for a specific event 3.
| Property | Value |
|---|---|
| Probability mass function P(X=x) | px(1−p)1−x for x∈{0,1} |
| Expected value E[X] | p |
| Variance Var(X) | p(1−p) |
| Moment-generating function E[etX] | pet+(1−p) |
- Binomial distribution B(n, p): This distribution models the number of successes in n independent Bernoulli trials, where each trial has two mutually exclusive outcomes: success or failure.
- Parameters: n is the number of trials, and p is the probability of success in a single trial.
- Stability: If Xn∼B(n,p) and Xm∼B(m,p) are independent, then Xn+Xm∼B(n+m,p) 3.
| Property | Value |
|---|---|
| Probability mass function P(X=k) | (kn)pk(1−p)n−k for k=0,1,…,n |
| Expected value E[X] | np |
| Variance Var(X) | np(1−p) |
- Geometric distribution G(p): This distribution models the number of trials required to obtain the first success in a sequence of independent Bernoulli trials.
- Parameter: p is the probability of success on any given trial 4.
| Property | Value |
|---|---|
| Probability mass function P(X=k) | p(1−p)k−1 for k∈N∗ |
| Expected value E[X] | p1 |
| Variance Var(X) | p21−p |
- Pascal (Negative Binomial) distribution Ps(r, p): This distribution models the number of trials required to observe exactly r successes.
- Relationship: It is the sum of r independent geometric random variables.
- Parameters: r is the number of successes desired, and p is the probability of success 4.
| Property | Value |
|---|---|
| Probability mass function P(X=k) | (r−1k−1)pr(1−p)k−r for k=r,r+1,… |
| Expected value E[X] | pr |
| Variance Var(X) | p2r(1−p) |
- Hypergeometric distribution H(N, n, p): This distribution models the number of successes in a sample drawn without replacement from a finite population.
- Parameters: N is the total population size, M=Np is the number of successes in the population, and n is the sample size.
- Approximation: When n≪N, the hypergeometric distribution can be approximated by the binomial distribution B(n,p) 4.
| Property | Value |
|---|---|
| Probability mass function P(X=k) | (nN)(kM)(n−kN−M) for max(0,n−(N−M))≤k≤min(n,M) |
| Expected value E[X] | np |
| Variance Var(X) | N−1N−nnp(1−p) |
- Poisson distribution P(λ): This distribution models rare events, such as the number of occurrences of an event in a fixed interval of time or space.
- Parameter: λ is the average rate of occurrence of the event.
- Approximation: The binomial distribution B(n,p) can be approximated by the Poisson distribution P(λ) when n is large, p is small, and λ=np is moderate (e.g., n>30 and np<5) 4.
| Property | Value |
|---|---|
| Probability mass function P(X=k) | k!λke−λ for k∈N |
| Expected value E[X] | λ |
| Variance Var(X) | λ |
2.2 Continuous Distributions
Continuous distributions model random variables that can take on any value within a given range 5.
- Uniform distribution U[a, b]: A random variable X is uniformly distributed on the interval [a,b] if its probability density function is constant over this interval.
- Parameters: a and b define the lower and upper bounds of the interval, respectively 5.
| Property | Value |
|---|---|
| Probability density function f(x) | b−a1 if a≤x≤b, 0 otherwise |
| Cumulative distribution function F(x) | 0 if x<a, b−ax−a if a≤x≤b, 1 if x>b |
| Expected value E[X] | 2a+b |
| Variance Var(X) | 12(b−a)2 |
- Exponential distribution Exp(λ): This distribution models the waiting time between events in a Poisson process.
- Parameter: λ is the rate parameter, representing the average number of events per unit of time 5.
| Property | Value |
|---|---|
| Probability density function f(x) | λe−λx if x≥0, 0 if x<0 |
| Cumulative distribution function F(x) | 1−e−λx if x≥0, 0 if x<0 |
| Expected value E[X] | λ1 |
| Variance Var(X) | λ21 |
- Weibull distribution W(λ, α): This distribution is commonly used in reliability engineering to model the lifetimes of components or systems.
- Parameters: α>0 is the shape parameter, and λ>0 is the scale parameter.
- Relationship: If X∼Exp(λ), then X1/α∼W(λ,α) 5.
| Property | Value |
|---|---|
| Probability density function f(x) | αλxα−1e−λxα if x≥0, 0 if x<0 |
| Cumulative distribution function F(x) | 1−e−λxα if x≥0, 0 if x<0 |
| Expected value E[X] | λ1/αΓ(1+1/α) |
| Variance Var(X) | λ2/αΓ(1+2/α)−Γ2(1+1/α) |
2.3 Exercises
This section presents an exercise to apply the concepts of probability distributions 5.
2.4 Exercise 1: Sum of numbers on drawn balls
An urn contains 5 balls labeled with the numbers 1, 1, 2, 2, and 3. Two balls are drawn simultaneously and at random from this urn. Let X be the random variable representing the sum of the numbers on the two drawn balls 5.
- Part (a): Give the probability distribution of the random variable X.
- Part (b): Compute P(X<3) and P(2≤X≤3).
- Part (c): Compute the expectation and variance of X 5.
📝 An urn contains 5 balls labeled 1, 1, 2, 2, and 3. If two balls are drawn, the random variable X is the sum of the numbers on the balls 5.
3. Exercises
3.1 Exercise 2: Continuous random variable
This exercise involves a continuous random variable X with a given function f(x) and asks to determine the constant k, compute the cumulative distribution function, and find the expectation and variance of X 6.
- Probability density function (PDF): The function is defined as f(x)=kx(x−2) for 0≤x≤2, and 0 otherwise.
- Part (a): Determine the real number k such that f is the PDF of X.
- Part (b): Compute the cumulative distribution function (CDF) of X.
- Part (c): Compute the expectation E(X) and variance Var(X) of X.
📝 To find k, one would integrate f(x) from 0 to 2 and set the result equal to 1, as required for a PDF.
3.2 Exercise 3: Die roll probability
This exercise involves rolling a die 7 times and defining X as the number of outcomes that are multiples of three 6.
- Random variable: X represents the number of times a multiple of three appears in 7 rolls.
- Task: Determine the probability distribution of X.
- Expected value: Compute E(X).
- Variance: Compute Var(X).
3.3 Exercise 4: Defective bolts
This exercise deals with a machine producing 5% defective bolts and selecting a random sample of 100 bolts 6.
- Defective rate: 5% of bolts are defective.
- Sample size: 100 bolts are selected.
- Part (a): Compute the probability of observing exactly 5 defective bolts in the sample.
- Part (b): Given that 4 out of the first 10 observed bolts are defective, compute the probability that fewer than 7 bolts are defective in the entire sample of 100.
3.4 Exercise 5: Poisson distribution for customer arrivals
This exercise assumes the number of customers entering a store in one minute follows a Poisson distribution with parameter λ=2 6.
- Poisson distribution: The number of customers N1 entering in one minute follows a Poisson distribution with λ=2.
- Part (a): Compute the probability that no customer enters the store during a one-minute interval.
- Part (b): Compute the probability that at most 2 customers enter the store in one minute.
- Part (c): Let N5 be the number of customers entering the store during a 5-minute period.
- Compute P(N5=0).
- Compute P(N5>1).
- Determine the expected number of customers entering the store in 5 minutes.
📝 For a Poisson distribution, the probability of k events occurring in an interval is P(X=k)=k!e−λλk. To find the probability of no customers entering in one minute, one would calculate P(N1=0) with λ=2.
© 2026 Maeve. All rights reserved. This content is protected by copyright.