Welcome to the final lesson in our module on fundamental probability distributions. In our previous session, we developed a powerful, systematic approach for solving problems with the Normal Distribution by using standardization and Z-scores. We saw how it models symmetric, bell-shaped phenomena.
Today, we shift our focus to a different class of continuous distributions that are essential in engineering and computer science: the Exponential, Gamma, and Weibull distributions. These are your primary tools for modeling time-to-event data, such as the lifetime of a hardware component, the waiting time for a network packet, or the duration of a service call. Your goal for this lesson is to become proficient in using the specific formulas for each distribution to calculate key metrics and solve practical probability problems, a skill directly applicable to your exams.
1. The Exponential Distribution: Modeling Time Between Events
Imagine you're monitoring a server. The arrival of user requests can be modeled as a Poisson process—a certain number of events occurring over a time interval. But what if you wanted to model the time between consecutive requests? This is precisely the scenario for the Exponential Distribution. It models the waiting time until the next event in a Poisson process.
This distribution is defined by a single parameter, (lambda), which is the rate of events—the same from the Poisson distribution.
This short video provides an excellent introduction, clearly linking the Poisson and Exponential distributions and setting up the kinds of problems we can solve.
This video from LearnChemE introduces the exponential distribution and its relationship to the Poisson process.
Watch the first part of the video, from the introduction up to the formulas. Focus on the core idea: Poisson models the number of events in an interval, while Exponential models the length of the interval between events.
Key Formulas and Problem Solving
As the video mentions, the key to solving problems with the Exponential distribution lies in its formulas. The following document provides a clear, concise summary.
[PDF] exponential-distribution-unit-2.pdf - WJEC
This document provides all the essential formulas for the Exponential distribution.
First, review the section "The Exponential Distribution" on page 3. Take note of the Probability Density Function (PDF), the simple formulas for Mean (1/\lambda) and Variance (1/\lambda^2), and most importantly, the Cumulative Distribution Function (CDF). Next, read the summary on page 7. This is a perfect reference sheet for your exam preparation.
The CDF, , is your most powerful tool for calculations. It allows you to find probabilities without performing integration every time.
- Probability of "less than":
- Probability of "greater than":
- Probability of "between":
Worked Example: Component Lifetime
Let's apply this. Suppose the lifetime of a specific type of CPU fan, , follows an exponential distribution. On average, there are 0.25 failures per year. What is the probability that a randomly selected fan lasts for more than 5 years?
Step 1: Identify the parameter .
The problem states an average rate of 0.25 failures per year. This is our rate parameter.
Step 2: State the question mathematically.
We want to find the probability that the lifetime is greater than 5 years.
Step 3: Apply the appropriate CDF-based formula.
For a "greater than" probability, the formula is .
Here, .
Step 4: Calculate the final probability.
So, there is approximately a 28.7% chance that the fan will last for more than 5 years.
This step-by-step method, relying on the CDF, is the most efficient way to solve exponential problems in an exam setting.
2. The Gamma Distribution: Generalizing Waiting Times
The Exponential distribution models the waiting time for the first event. The Gamma distribution is its more powerful cousin; it models the waiting time for the -th event. It is defined by two parameters:
- A shape parameter, (alpha), which often represents the number of events to wait for.
- A scale parameter, (beta), which is related to the rate of events ().
Notice that if you set , the Gamma distribution simplifies to the Exponential distribution.
The PDF for the Gamma distribution involves a special mathematical function, the Gamma function, denoted .
4.6 The Gamma Probability Distribution
These lecture notes introduce the Gamma distribution, its parameters, and the essential Gamma function.
Read the first page of the document (p. 116). Focus on the definition of the Gamma density function, the formulas for its mean (\mu = \alpha\beta) and variance (\sigma^2 = \alpha\beta^2), and the definition of the Gamma function. Crucially, note the property described in Exercise 1(a)(viii) on the next page: for any positive integer n, \Gamma(n) = (n-1)!. This factorial identity is vital for solving problems.
Worked Example: Finding Parameters and Calculating Probability
Solving Gamma problems often involves a two-step process: first, use the given mean and variance to find and ; second, use these parameters to calculate a probability. Direct integration of the Gamma PDF can be complex, but for integer values of , it reduces to integration by parts.
The following video provides a perfect, detailed walkthrough of exactly this type of problem. It's an ideal demonstration of the problem-solving skills you need.
Example Related To Gamma Distribution
This video from Afzalina Azmee solves a typical exam problem for the Gamma distribution from start to finish.
Watch the entire video. The presenter does an excellent job of breaking down the problem into manageable steps: Setting up the problem: Translating the word problem into mathematical notation. Finding \alpha and \beta: Using the given mean (\mu = \alpha\beta) and variance (\sigma^2 = \alpha\beta^2) to solve a system of two equations for the two unknown parameters. Calculating the probability: Setting up the definite integral and solving it using integration by parts. Pay close attention to how the \Gamma(n) = (n-1)! property is used.
This methodical approach—find parameters, then integrate—is the key to mastering Gamma distribution problems.
3. The Weibull Distribution: A Flexible Model for Reliability
Our final distribution, the Weibull distribution, is one of the most widely used distributions in reliability engineering. Its power comes from its flexibility. Unlike the Exponential distribution which assumes a constant failure rate, the Weibull's shape parameter allows it to model systems where the failure rate increases over time (wear-out), decreases (infant mortality), or remains constant.
Take a moment to study the formulas in the chart above.
- Parameters: Like the Gamma, it has a shape parameter and a scale parameter .
- CDF: Just like with the Exponential, the CDF is your main tool for calculating probabilities like and .
- Mean and Variance: Notice that the formulas for the mean and variance involve the Gamma function, . This connects all three of our distributions from today's lesson.
Worked Example: Calculating the Mean
Let's see how to use these formulas. A common exam question is to calculate the mean or variance given the parameters.

Let's break down the calculation shown in the image above.
Step 1: State the formula for the mean.
From our formula sheet, we know .
Step 2: Substitute the given parameters.
We are given and .
Step 3: Simplify the argument of the Gamma function.
Step 4: Apply the factorial property of the Gamma function.
Since the argument is an integer (4), we use the property .
Step 5: Calculate the final result.
This example perfectly illustrates how the concepts you've learned today build on each other. To solve a Weibull problem, you must be comfortable with the Gamma function.
Conclusion
In this lesson, we have explored three critical continuous distributions for modeling time-to-event and reliability data. You now have a practical toolkit for tackling a wide range of problems in statistics and engineering.
Here are the key takeaways:
- Exponential Distribution: Models the time until the next event in a Poisson process. It has one parameter, , and calculations are best done using its simple CDF: .
- Gamma Distribution: A general model for the waiting time until the -th event. It is defined by shape () and scale () parameters. Problems often require you to first find and from the mean and variance.
- Weibull Distribution: A highly flexible distribution for reliability and lifetime analysis. Its mean and variance formulas depend on the Gamma function, , which you must know how to apply.
- Problem-Solving Strategy: For all three, the most efficient path to a solution is to identify the parameters, select the correct formula (often the CDF or formulas for mean/variance), and execute the calculation step-by-step.
With this lesson, you have completed the module on fundamental distributions. We will now move on to exploring the relationships between random variables. In our next session, we will investigate how to measure and interpret the interaction between two variables using concepts like joint distributions, covariance, and correlation.