Unit 5 - Special Continuous Random Variables: Uniform, Normal, and Exponential Distributions
Continuous Uniform Random Variable
Definition and Probability Density Function (PDF):
A continuous random variable is uniformly distributed on the real interval , denoted as , if its probability density function is constant over the interval and zero elsewhere:
The total area under over equals , representing a rectangle of base length and height .
Comparison: Discrete vs. Continuous Uniform:
Discrete Uniform: The probability mass function (PMF) of a discrete uniform random variable takes isolated values across integer outcomes from to , with equal mass at each point:
Continuous Uniform: Probability mass is spread continuously over the real continuum , and the probability of obtaining any exact single real point is .


Expected Value and Variance:
Mean (Expected Value): The center of symmetry of the interval:
Variance: A measure of spread across the interval length:
Worked Example: Train Station Arrival Problem:
Scenario: Trains arrive at a station every starting at 6:00 AM (i.e., scheduled at 6:00 AM, 6:30 AM, 7:00 AM, 7:30 AM, and so on). A passenger arrives at the station at a time uniformly distributed between 6:00 AM and 7:00 AM.
Model Setup:
Let arrival time be measured in minutes past 6:00 AM, so .
Interval bounds: , .
PDF: for .
Train departure times within the hour are at (6:00 AM), (6:30 AM), and (7:00 AM).
Part a: Probability of waiting less than :
To catch the 6:30 AM train with a wait under , the passenger must arrive between 6:20 AM and 6:30 AM ().
To catch the 7:00 AM train with a wait under , the passenger must arrive between 6:50 AM and 7:00 AM ().
Because these two arrival intervals are disjoint, the joint probability is the sum of their individual probabilities:
Part b: Probability of waiting at least :
To wait at least for the 6:30 AM train, the passenger must arrive between 6:00 AM and 6:05 AM (, giving a wait of to ).
To wait at least for the 7:00 AM train, the passenger must arrive between 6:30 AM and 6:35 AM (, giving a wait of to ).
Summing over these disjoint intervals:

Normal Random Variable: Fundamentals and Properties
Motivation and Prevalence:
The normal distribution is widely observed across nature, science, and engineering.
Real-world phenomena modeled by normal distributions include:
People heights
Newborn weights
Exam scores
IQ levels
Errors of estimation or physical measurement
It plays a central role in probability theory and statistical inference through the Central Limit Theorem.
Definition of the Normal PDF:
A continuous random variable follows a normal distribution with mean parameter and variance parameter , written , if its PDF is:
Parameter constraints:
Mean parameter:
Standard deviation parameter:
Integration over the real line: By calculus, the total probability integrates to unity:

Geometric Characteristics:
The distribution is symmetric and unimodal around the central point .
Points closer to are the most likely (highest density), whereas densities taper off symmetrically toward zero as (less likely in the tails).
Influence of Dispersion Parameter :
establishes the horizontal center along the -axis.
dictates spread and peak height.
Smaller standard deviation (e.g., ): Narrower curve with a tall, sharp peak (height ).
Intermediate standard deviation (e.g., ): Moderate peak height (height ) and moderate spread.
Larger standard deviation (e.g., ): Wider, flatter curve with a low peak (height ).

Moment Generating Function (MGF), Mean, and Variance:
MGF Formula:
Derivation of Expected Value:
Derivation of Second Moment:
Derivation of Variance:
The standard deviation is .
The Standard Normal Distribution and Probability Calculations
Linear Transformations of Normal Random Variables (Fact 1):
If and where and are constants (), then:
Proof via MGF: By uniqueness of the MGF, this represents a normal distribution with mean and variance .
The Standardization Procedure:
Setting and yields the standard normal random variable :
Mean of :
Variance of :
Hence: This is known as the Standard Normal Distribution.
Standard Normal Cumulative Distribution Function (CDF) and Tables:
The standard normal CDF is defined by:
Because the integral has no closed-form elementary antiderivative, values of are retrieved from pre-computed standard normal distribution tables (Z-tables) or online statistical calculators.
Table Reading Example: To evaluate , locate row
1.2and column.04in the Z-table:


Transforming General Normal Probabilities to Standard Normal:
To calculate the probability that a general normal variable is less than a value , standardize both sides of the inequality:
Geometrically, the area under the general normal curve to the left of is identical to the area under the standard normal curve to the left of the standardized score .


Sums and Linear Combinations of Independent Normal Variables
Sum of Independent Normal Variables (Fact 2):
Let be independent random variables such that for .
Let .
Then is normally distributed with mean equal to the sum of the means and variance equal to the sum of the variances:
Proof via MGF: By MGF uniqueness, this verifies that .
General Linear Combinations of Normal Variables:
If and are independent, and are constants, the linear combination satisfies:
Expectation:
Variance: (Constant does not contribute to variance, and covariance is zero by independence).
Worked Example: Linear Inequality Probability:
Given: Independent variables and .
Objective: Calculate .
Step 1: Reformulate as a single variable inequality:
Step 2: Define and find its parameters:
Coefficients: , , .
Mean of :
Variance of :
Standard deviation of :
Distribution: .
Step 3: Standardize to evaluate probability:
Exponential Random Variable: Properties and Applications
Definition and Probability Density Function (PDF):
A continuous random variable follows an exponential distribution with rate parameter , denoted , if its PDF is:
Role of Rate Parameter :
Small : Slow rate of decay, longer tail, and a lower initial vertical intercept at .
Large : Rapid exponential decay, steeper decline, and a higher initial vertical intercept at .


Connection to Discrete Geometric Distribution:
The exponential distribution is the continuous analogue of the discrete geometric distribution, representing the continuous waiting time until an event occurs.

Moment Generating Function (MGF), Mean, and Variance:
MGF Proof:
Mean (Expected Value):
Variance:
Standard Deviation:
Worked Example: Time Spent in a Bank:
Scenario: The duration (in minutes) spent by a customer in a bank is exponentially distributed with a mean of .
Parameter Derivation:
Question 1: Probability of waiting more than :
Question 2: Finding the median time :
By definition of the median for continuous random variables:
Substituting the tail probability formula:
With :
The Memorylessness Property
Mathematical Derivation for Exponential Distribution:
Let the lifetime of a component (such as a computer chip) in days be .
Tail Probability (Survival Function):
Conditional Survival Probability: The probability that the component lasts at least an additional units of time, given that it has already survived units of time:
Formal Statement and Physical Meaning:
Memorylessness Equation:
The remaining lifetime of an item is independent of how long it has already been running. The component does not undergo physical wear or aging in a way that shifts its failure distribution; it is mathematically as good as new at any point in time , provided it has survived until then.
Continuous vs. Discrete Memorylessness:
Exponential Distribution: The unique continuous distribution that possesses the memorylessness property.
Geometric Distribution: The unique discrete distribution that possesses the memorylessness property:
Both distributions represent arrival times with constant hazard rates in their respective domains.