Exponential Distribution and Continuous Random Variables
Exponential Distribution and Continuous Random Variables
The exponential distribution models the time between events in a Poisson process, while the theory of continuous random variables extends probability to quantities that can take any value in an interval.
Board Coverage
| Board | Paper | Notes |
|---|---|---|
| AQA | Paper 2 | Continuous RVs; limited exponential coverage |
| Edexcel | S3, S4 | Exponential distribution in S4; continuous RVs in S3 |
| OCR (A) | Paper 2 | Continuous RVs and exponential |
| CIE (9231) | S2 | Both continuous RVs and exponential covered |
Both are memoryless. The Poisson process links all three distributions: Poisson counts events, exponential measures inter-arrival times, and geometric counts trials until the first event. :::
1. Continuous Random Variables
1.1 Probability density function
Definition. A probability density function (PDF) of a continuous random variable is a non-negative function satisfying:
Probabilities are found by integration:
— the inequalities at individual points do not matter. :::
1.2 Cumulative distribution function
Definition. The cumulative distribution function (CDF) is
Properties:
- ,
- is non-decreasing
- where is differentiable
1.3 Expected value
Definition. The expected value of a continuous random variable is
For a function :
1.4 Variance
Definition.
The linear properties carry over from the discrete case:
1.5 Median, mode, and quartiles
Definition. The median satisfies , i.e., .
Definition. The mode is the value of at which is maximised.
Definition. The lower quartile satisfies and the upper quartile satisfies .
The interquartile range is .
2. The Exponential Distribution
2.1 Definition
Definition. A continuous random variable follows an exponential distribution with rate parameter (where ), written , if
and for .
2.2 Cumulative distribution function
2.3 Proof that
Proof
Using integration by parts with , :
, .
Note: by L'Hôpital's rule (exponential decay dominates).
2.4 Proof that
Proof
First compute :
Integration by parts twice with , :
, .
2.5 The memoryless property
Theorem. The exponential distribution is the only continuous memoryless distribution:
Proof
This uses .
exponentially distributed lifetime has been working for hours, the remaining lifetime has the same distribution as a brand new component. This means exponential lifetimes imply no "wear out" effect — which is why it is more appropriate for electronic components than mechanical ones. :::
2.6 Link to Poisson processes
A Poisson process with rate satisfies:
- The number of events in an interval of length follows
- The time between consecutive events follows
- The inter-arrival times are independent and identically distributed
Proof sketch that inter-arrival times are exponential. Let be the time until the first event. .
So , which is the CDF of .
2.7 Percentiles
For the exponential distribution:
The median is .
3. Worked Examples
3.1 Finding probabilities
Example. . Find , , and the median.
.
.
Median .
3.2 Continuous random variable from a PDF
Example. has PDF for and otherwise.
Verify: .
.
.
.
Median: .
3.3 CDF from PDF
Example. for . Find .
For : .
For : . For : .
4. Hypothesis Testing with the Exponential Distribution
Example. The lifetime of a component is modelled by . A sample of 10 components gives a mean lifetime of 420 hours. Test at the 5% level whether against .
Under : hours. Since is large, use the approximate normal distribution of :
approximately.
.
, so reject .
Problems
Details
Problem 1
. Find , , and the 90th percentile.Details
Details
Problem 2
A continuous random variable has PDF for . Find , , and the median.Details
Details
Problem 3
Prove the memoryless property of the exponential distribution.Details
Solution 3
.This uses the survival function .
If you get this wrong, revise: The memoryless property — Section 2.5.
Details
Problem 4
Calls arrive at a switchboard as a Poisson process with rate per hour. Find the probability that the time between two consecutive calls exceeds 30 minutes.Details
Solution 4
The inter-arrival time (rate in hours)..
If you get this wrong, revise: Link to Poisson processes — Section 2.6.
Details
Problem 5
has PDF for . Find the CDF, , and .Details
Details
Problem 6
The lifetime of a light bulb follows (in hours). Given that the bulb has been working for 500 hours, find the probability it lasts at least another 200 hours.Details
Solution 6
By the memoryless property: .If you get this wrong, revise: The memoryless property — Section 2.5.
Details
Problem 7
A continuous random variable has CDF for . Find the PDF, , and the upper quartile.Details
Solution 7
PDF: for ..
Upper quartile: .
If you get this wrong, revise: Cumulative distribution function — Section 1.2.
Details
Problem 8
Prove that for , using integration by parts.Details
Details
Problem 9
Buses arrive at a stop as a Poisson process with rate 6 per hour. Find the probability that a passenger waits between 5 and 15 minutes for a bus.Details
Solution 9
Waiting time (rate per hour)..
If you get this wrong, revise: Link to Poisson processes — Section 2.6.
Details
Problem 10
has PDF for . Find , , , and the mode.Details
Solution 10
..
.
.
Mode: is increasing on , so the mode is at .
If you get this wrong, revise: Median, mode, and quartiles — Section 1.5.
5. Memoryless Property: Detailed Proof and Interpretation
5.1 Rigorous proof using conditional probability
Theorem. If , then for all :
Proof
By definition of conditional probability:
since implies .
Using the survival function :
5.2 Converse: exponential is the only continuous memoryless distribution
Theorem. If a continuous random variable on satisfies for all , then for some .
Proof
Let . The memoryless condition gives:
This is Cauchy's functional equation. Since is non-increasing and , the only solutions are:
for some . Since is non-trivial (not identically 1), . Therefore:
which is the CDF of .
5.3 Practical interpretation
The memoryless property means:
- If a light bulb has been on for 100 hours, the probability it lasts another 50 hours is the same as a new bulb lasting 50 hours.
- If you have waited 20 minutes for a bus, your expected additional wait time is the same as if you had just arrived.
- This property makes exponential models appropriate for random failure mechanisms (electronic components) but inappropriate for wear-out mechanisms (mechanical parts).
6. Poisson-Exponential Connection: Inter-Arrival Times
6.1 Derivation
Theorem. In a Poisson process with rate , the time between consecutive events follows .
Proof
Let be the time from an arbitrary starting point until the first event.
Since the number of events in follows :
Therefore , which is the CDF of .
6.2 Sum of inter-arrival times
If are independent inter-arrival times, each , then the total time until the -th event is:
This connects the exponential to the gamma distribution.
6.3 Worked example: call centre
Example. Calls arrive at a call centre as a Poisson process at rate 5 per hour.
(a) Find the probability that the time between two consecutive calls exceeds 20 minutes.
(rate per hour). .
(b) Find the probability that at least 3 calls arrive in the next 30 minutes.
. .
(c) Find the median inter-arrival time.
Median .
7. The Continuous Uniform Distribution
7.1 Definition
Definition. if:
and otherwise.
7.2 Proof of and
Proof
7.3 CDF of the continuous uniform
8. Mixture Distributions
8.1 Definition
A mixture distribution arises when a random variable is selected from one of several sub-populations. If comes from distribution 1 with probability and from distribution 2 with probability :
The variance formula includes an extra term from the difference in means — this is the law of total variance.
8.2 Worked example
Example. A machine produces components. With probability 0.7 it is correctly calibrated, producing components with lifetime . With probability 0.3 it is faulty, producing components with lifetime . Find the overall PDF, the expected lifetime, and .
.
.
9. Common Pitfalls
Confusing PDF with CDF
The PDF gives the density of probability at . It is not a probability itself — can be greater than 1. The CDF gives the accumulated probability up to , and always satisfies .
Common error: writing for a continuous RV. This is wrong — always. Probabilities are areas under the PDF, not values of the PDF.
Discrete vs continuous probability
For a discrete RV, for specific values, and probabilities sum to 1.
For a continuous RV, for any single value, and probabilities integrate to 1.
Never use summation for a continuous RV or integration for a discrete RV (unless using the CDF formalism).
Exponential rate vs mean
has mean . A common error is to confuse (the rate) with the mean. If the mean lifetime is 200 hours, then , not .
Check: a larger means shorter lifetimes on average (events happen more frequently).
Units in Poisson-exponential problems
If events occur at rate per hour, then the inter-arrival time is measured in hours. If you want the probability of waiting more than 20 minutes, convert to hours: hours. Using directly would give , which is essentially zero and clearly wrong.
10. Problem Set
Q1. . Find the value of such that , and hence find and the 80th percentile.
.
.
80th percentile: .
Q2. A continuous random variable has PDF for . Find , , , and the median.
.
.
.
.
Median: .
.
By inspection: gives . So the median is (equal to the mean, reflecting the symmetry of the PDF about ).
Q3. Emails arrive at a server as a Poisson process with rate 12 per hour. Find the probability that the time between two consecutive emails is between 2 and 5 minutes, and find the probability that the third email arrives within 10 minutes.
Inter-arrival time per hour.
.
For the third email: the total time .
Alternatively, use the Poisson count: where .
.
Q4. . Given that and , find and the 90th percentile.
.
Check: .
90th percentile: .
Q5. The lifetime of Component A follows and Component B follows (in hours). They are connected in series, so the system fails when either component fails. Assuming independence, find the PDF of the system lifetime, the expected system lifetime, and .
System lifetime .
.
So .
.
.
Note: the minimum of independent exponential RVs is itself exponential, with rate equal to the sum of the individual rates.
Q6. A random variable has PDF for . Find the CDF, , , the median, and .
CDF: for . for , for .
.
.
.
Median: .
.
8. Advanced Worked Examples
Example 8.1: Exponential distribution and memorylessness
Problem. The lifetime of a component follows an exponential distribution with mean 200 hours. Given that the component has survived 150 hours, find the probability it survives a further 100 hours.
Solution. By the memoryless property of the exponential distribution:
.
(3 s.f.).
Example 8.2: Continuous uniform — conditional probability
Problem. . Find .
Solution. .
Alternatively: conditional on , the distribution is , so .
Example 8.3: Sum of independent exponential random variables
Problem. and are independent with and . Find .
Solution. Using the joint density and integration:
For example, if : (by symmetry).
Example 8.4: Finding a CDF from a PDF with a parameter
Problem. A continuous random variable has PDF for . Find , the CDF, and .
Solution. .
CDF: for .
.
Example 8.5: Normal approximation to the exponential
Problem. are independent, each following . Approximate .
Solution. , . , .
By the CLT, approximately.
Example 8.6: Transformation of a continuous random variable
Problem. has PDF for . Find the PDF of .
Solution. For : .
So .
Example 8.7: Mode and median of a triangular distribution
Problem. has the triangular distribution with PDF . Find the mode, median, mean, and variance.
Solution. Mode: The PDF peaks at , so mode .
Median: For : . Set .
Mean: .
Wait, let me recalculate: .
. This is the midpoint of , as expected for a symmetric triangular distribution.
.
? This is impossible. Let me recheck .
Actually .
. This still cannot be right. The issue is (not 2) since the distribution is on with peak at 1.
Let me redo: . But the distribution is symmetric about , so should be .
Rechecking the second integral: . At : . At : . This integral should give by symmetry.
.
Total: . But the range is and the function is symmetric about . The mean of a symmetric distribution on about is . There must be a normalization error. Let me verify: and . Total area .
The PDF should be for and for . Then . ✓
9. Common Pitfalls
| Pitfall | Correct Approach |
|---|---|
| Confusing the rate with the mean for exponential distributions | ; the rate parameter is |
| Forgetting that the total area under a PDF must equal 1 | Always verify: |
| Applying the exponential memoryless property to other distributions | Only the exponential distribution has this property |
| Using | This is for CDFs, not PDFs. Use |
10. Additional Exam-Style Questions
Question 8
Calls arrive at a call centre at a rate of 4 per hour. Find the probability that the time between two consecutive calls exceeds 45 minutes.
Solution
Time between calls (rate per hour).
.
Question 9
is a continuous random variable with PDF for . Find , , and the median.
Solution
.
.
.
Median : . By inspection or numerical methods: .
Question 10
Prove that for , the memoryless property holds: .
Solution
11. Connections to Other Topics
11.1 Exponential distribution and Poisson process
The exponential distribution models inter-arrival times in a Poisson process. See Poisson and Geometric Distributions.
11.2 Continuous distributions and integration
Finding CDFs, means, and variances of continuous random variables requires integration. See Further Calculus.
11.3 Normal distribution and the CLT
The Central Limit Theorem connects the exponential and uniform distributions to the normal distribution. See Chi-Squared Tests.
12. Key Results Summary
| Distribution | |||
|---|---|---|---|
| , | |||
| , |
| Property | Exponential | Uniform |
|---|---|---|
| Memoryless | Yes | No |
| CDF | ||
| Median |
13. Further Exam-Style Questions
Question 11
The lifetime of a light bulb follows an exponential distribution with mean 500 hours. Find: (a) the probability it lasts more than 600 hours; (b) the probability it lasts between 400 and 600 hours; (c) the median lifetime.
Solution
.
(a) .
(b) .
(c) Median : .
Question 12
Prove that for , .
Solution
.
.
.
14. Advanced Topics
14.1 The moment generating function (MGF)
The MGF of a random variable is .
Properties:
- If and are independent,
MGFs:
- : for
- :
14.2 The cumulative distribution function approach
For any continuous random variable with PDF :
where .
14.3 Order statistics
For i.i.d. random variables , the order statistics are .
For : .
15. Further Exam-Style Questions
Question 13
Find the MGF of and use it to find and .
Solution
for .
. . ✓
. .
. ✓
Question 14
Prove that if , then follows .
Solution
.
for .
This is the CDF of .