chapitre1. ProbabilityDistributions

Table of contents

  1. Chapter 1: Probability Distributions
  2. Common Probability Distributions
  3. 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 (Ω\Omega). 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 (Ω\Omega) to real numbers (R\mathbb{R}). It is typically denoted by an uppercase letter, such as XX or YY 1.

  • Definition: A random variable is a real-valued function defined on a sample space.
  • Formal definition: Given a probability space (Ω,A,P)(\Omega, \mathcal{A}, P), a random variable XX is a measurable function X:(Ω,A)→(R,B)X: (\Omega, \mathcal{A}) \to (\mathbb{R}, \mathcal{B}), where B\mathcal{B} is the Borel σ\sigma-algebra on R\mathbb{R} 1.

📝 When tossing a coin, a function XX 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\mathbb{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 XX, with possible values X(Ω)={1,2,3,4,5,6}X(\Omega) = \{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\mathbb{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 TT a person spends at an automated teller is a continuous random variable, as its possible values form the interval (0,∞)(0, \infty) 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)P(X=x) 2.

Type of Random VariableKey FunctionProperties
DiscreteProbability Mass Function (pmf) P(xk)P(x_k)['P(xk)≥0P(x_k) \ge 0 for all kk', '∑k=1∞P(xk)=1\sum_{k=1}^{\infty} P(x_k) = 1']
ContinuousProbability Density Function (pdf) f(x)f(x)['f(x)≥0f(x) \ge 0 for all xx', '∫−∞+∞f(x)dx=1\int_{-\infty}^{+\infty} f(x) dx = 1']
  • Probability density function (pdf): For a continuous random variable XX, the pdf f(x)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)P(X=x).
  • Cumulative distribution function (cdf): For a continuous random variable XX, the cdf F(x)F(x) is defined as F(x)=P(X≤x)=∫−∞xf(u)duF(x) = P(X \le x) = \int_{-\infty}^{x} f(u) du. Where FF is differentiable, its derivative is the pdf: ddxF(x)=f(x)\frac{d}{dx}F(x) = f(x).
  • Probability mass function (pmf): For a discrete random variable XX, the pmf PP assigns to each possible value its probability 2.

📝 If the waiting time XX at a bank counter has a density function f(x)=12f(x) = \frac{1}{2} for 0≤x<10 \le x < 1 and f(x)=32x4f(x) = \frac{3}{2x^4} for x≥1x \ge 1, and f(x)=0f(x) = 0 for x<0x < 0, this is a valid density function because ∫−∞∞f(x)dx=∫0112dx+∫1∞32x4dx=1\int_{-\infty}^{\infty} f(x) dx = \int_0^1 \frac{1}{2} dx + \int_1^{\infty} \frac{3}{2x^4} dx = 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: pp is the probability of success (outcome 1), and q=1−pq = 1-p is the probability of failure (outcome 0).
  • Use: Often used as an indicator function for a specific event 3.
PropertyValue
Probability mass function P(X=x)P(X=x)px(1−p)1−xp^x(1-p)^{1-x} for x∈{0,1}x \in \{0, 1\}
Expected value E[X]E[X]pp
Variance Var(X)Var(X)p(1−p)p(1-p)
Moment-generating function E[etX]E[e^{tX}]pet+(1−p)pe^t + (1-p)
  • Binomial distribution B(n, p): This distribution models the number of successes in nn independent Bernoulli trials, where each trial has two mutually exclusive outcomes: success or failure.
  • Parameters: nn is the number of trials, and pp is the probability of success in a single trial.
  • Stability: If Xn∼B(n,p)X_n \sim B(n, p) and Xm∼B(m,p)X_m \sim B(m, p) are independent, then Xn+Xm∼B(n+m,p)X_n + X_m \sim B(n+m, p) 3.
PropertyValue
Probability mass function P(X=k)P(X=k)(nk)pk(1−p)n−k\binom{n}{k} p^k(1-p)^{n-k} for k=0,1,…,nk = 0, 1, \dots, n
Expected value E[X]E[X]npnp
Variance Var(X)Var(X)np(1−p)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: pp is the probability of success on any given trial 4.
PropertyValue
Probability mass function P(X=k)P(X=k)p(1−p)k−1p(1-p)^{k-1} for k∈N∗k \in \mathbb{N}^\ast
Expected value E[X]E[X]1p\frac{1}{p}
Variance Var(X)Var(X)1−pp2\frac{1-p}{p^2}
  • Pascal (Negative Binomial) distribution Ps(r, p): This distribution models the number of trials required to observe exactly rr successes.
  • Relationship: It is the sum of rr independent geometric random variables.
  • Parameters: rr is the number of successes desired, and pp is the probability of success 4.
PropertyValue
Probability mass function P(X=k)P(X=k)(k−1r−1)pr(1−p)k−r\binom{k-1}{r-1} p^r(1-p)^{k-r} for k=r,r+1,…k = r, r+1, \dots
Expected value E[X]E[X]rp\frac{r}{p}
Variance Var(X)Var(X)r(1−p)p2\frac{r(1-p)}{p^2}
  • Hypergeometric distribution H(N, n, p): This distribution models the number of successes in a sample drawn without replacement from a finite population.
  • Parameters: NN is the total population size, M=NpM = Np is the number of successes in the population, and nn is the sample size.
  • Approximation: When n≪Nn \ll N, the hypergeometric distribution can be approximated by the binomial distribution B(n,p)B(n, p) 4.
PropertyValue
Probability mass function P(X=k)P(X=k)(Mk)(N−Mn−k)(Nn)\frac{\binom{M}{k} \binom{N-M}{n-k}}{\binom{N}{n}} for max⁡(0,n−(N−M))≤k≤min⁡(n,M)\max(0, n-(N-M)) \le k \le \min(n, M)
Expected value E[X]E[X]npnp
Variance Var(X)Var(X)N−nN−1np(1−p)\frac{N-n}{N-1} np(1-p)
  • Poisson distribution P(λ\lambda): This distribution models rare events, such as the number of occurrences of an event in a fixed interval of time or space.
  • Parameter: λ\lambda is the average rate of occurrence of the event.
  • Approximation: The binomial distribution B(n,p)B(n, p) can be approximated by the Poisson distribution P(λ)P(\lambda) when nn is large, pp is small, and λ=np\lambda = np is moderate (e.g., n>30n > 30 and np<5np < 5) 4.
PropertyValue
Probability mass function P(X=k)P(X=k)λkk!e−λ\frac{\lambda^k}{k!} e^{-\lambda} for k∈Nk \in \mathbb{N}
Expected value E[X]E[X]λ\lambda
Variance Var(X)Var(X)λ\lambda

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 XX is uniformly distributed on the interval [a,b][a, b] if its probability density function is constant over this interval.
  • Parameters: aa and bb define the lower and upper bounds of the interval, respectively 5.
PropertyValue
Probability density function f(x)f(x)1b−a\frac{1}{b-a} if a≤x≤ba \le x \le b, 00 otherwise
Cumulative distribution function F(x)F(x)00 if x<ax < a, x−ab−a\frac{x-a}{b-a} if a≤x≤ba \le x \le b, 11 if x>bx > b
Expected value E[X]E[X]a+b2\frac{a+b}{2}
Variance Var(X)Var(X)(b−a)212\frac{(b-a)^2}{12}
  • Exponential distribution Exp(λ\lambda): This distribution models the waiting time between events in a Poisson process.
  • Parameter: λ\lambda is the rate parameter, representing the average number of events per unit of time 5.
PropertyValue
Probability density function f(x)f(x)λe−λx\lambda e^{-\lambda x} if x≥0x \ge 0, 00 if x<0x < 0
Cumulative distribution function F(x)F(x)1−e−λx1 - e^{-\lambda x} if x≥0x \ge 0, 00 if x<0x < 0
Expected value E[X]E[X]1λ\frac{1}{\lambda}
Variance Var(X)Var(X)1λ2\frac{1}{\lambda^2}
  • Weibull distribution W(λ\lambda, α\alpha): This distribution is commonly used in reliability engineering to model the lifetimes of components or systems.
  • Parameters: α>0\alpha > 0 is the shape parameter, and λ>0\lambda > 0 is the scale parameter.
  • Relationship: If X∼Exp(λ)X \sim Exp(\lambda), then X1/α∼W(λ,α)X^{1/\alpha} \sim W(\lambda, \alpha) 5.
PropertyValue
Probability density function f(x)f(x)αλxα−1e−λxα\alpha \lambda x^{\alpha-1} e^{-\lambda x^\alpha} if x≥0x \ge 0, 00 if x<0x < 0
Cumulative distribution function F(x)F(x)1−e−λxα1 - e^{-\lambda x^\alpha} if x≥0x \ge 0, 00 if x<0x < 0
Expected value E[X]E[X]Γ(1+1/α)λ1/α\frac{\Gamma(1 + 1/\alpha)}{\lambda^{1/\alpha}}
Variance Var(X)Var(X)Γ(1+2/α)−Γ2(1+1/α)λ2/α\frac{\Gamma(1 + 2/\alpha) - \Gamma^2(1 + 1/\alpha)}{\lambda^{2/\alpha}}

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 XX 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 XX.
  • Part (b): Compute P(X<3)P(X < 3) and P(2≤X≤3)P(2 \le X \le 3).
  • Part (c): Compute the expectation and variance of XX 5.

📝 An urn contains 5 balls labeled 1, 1, 2, 2, and 3. If two balls are drawn, the random variable XX 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 XX with a given function f(x)f(x) and asks to determine the constant kk, compute the cumulative distribution function, and find the expectation and variance of XX 6.

  • Probability density function (PDF): The function is defined as f(x)=kx(x−2)f(x) = kx(x-2) for 0≤x≤20 \le x \le 2, and 00 otherwise.
  • Part (a): Determine the real number kk such that ff is the PDF of XX.
  • Part (b): Compute the cumulative distribution function (CDF) of XX.
  • Part (c): Compute the expectation E(X)E(X) and variance Var(X)Var(X) of XX.

📝 To find kk, one would integrate f(x)f(x) from 00 to 22 and set the result equal to 11, as required for a PDF.

3.2 Exercise 3: Die roll probability

This exercise involves rolling a die 7 times and defining XX as the number of outcomes that are multiples of three 6.

  • Random variable: XX represents the number of times a multiple of three appears in 7 rolls.
  • Task: Determine the probability distribution of XX.
  • Expected value: Compute E(X)E(X).
  • Variance: Compute Var(X)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\lambda = 2 6.

  • Poisson distribution: The number of customers N1N_1 entering in one minute follows a Poisson distribution with λ=2\lambda = 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 N5N_5 be the number of customers entering the store during a 5-minute period.
  • Compute P(N5=0)P(N_5 = 0).
  • Compute P(N5>1)P(N_5 > 1).
  • Determine the expected number of customers entering the store in 5 minutes.

📝 For a Poisson distribution, the probability of kk events occurring in an interval is P(X=k)=e−λλkk!P(X=k) = \frac{e^{-\lambda}\lambda^k}{k!}. To find the probability of no customers entering in one minute, one would calculate P(N1=0)P(N_1=0) with λ=2\lambda=2.

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

See also