4. Continuous Distributions

Uniform Distribution

Study continuous uniform distribution, compute probabilities over intervals, and find expectation and variance formulas.

Uniform Distribution

Hey students! 👋 Welcome to our exciting lesson on uniform distribution - one of the most intuitive and important concepts in probability and statistics! By the end of this lesson, you'll understand what makes a distribution "uniform," how to calculate probabilities using uniform distributions, and master the formulas for expectation and variance. Think of uniform distribution as the "fair and equal" distribution - imagine spinning a perfectly balanced wheel where every section has exactly the same chance of being selected! 🎯

What is Uniform Distribution? 📊

Uniform distribution is a type of probability distribution where every outcome within a specific range has exactly the same probability of occurring. It's like having a perfectly fair game where no outcome is favored over another!

There are two main types of uniform distributions:

Discrete Uniform Distribution: This applies when you have a finite number of equally likely outcomes. Think of rolling a fair six-sided die - each number (1, 2, 3, 4, 5, 6) has exactly the same probability of 1/6. Another great example is drawing a card from a well-shuffled deck where each card has a 1/52 chance of being selected.

Continuous Uniform Distribution: This is what we'll focus on primarily, and it applies to continuous variables over an interval. Imagine you're waiting for a bus that arrives randomly between 2:00 PM and 2:30 PM. The arrival time is uniformly distributed because any moment within that 30-minute window is equally likely.

The mathematical notation for a continuous uniform distribution is U(a,b), where 'a' is the minimum value and 'b' is the maximum value of the range. The probability density function (PDF) for a uniform distribution is:

$$f(x) = \frac{1}{b-a} \text{ for } a \leq x \leq b$$

$$f(x) = 0 \text{ otherwise}$$

This means the height of the distribution is constant at $\frac{1}{b-a}$ across the entire interval, and zero everywhere else! 📏

Real-World Applications and Examples 🌍

Uniform distributions appear everywhere in our daily lives! Let's explore some fascinating examples:

Random Number Generators: When your computer or calculator generates a "random" number between 0 and 1, it's using a uniform distribution. Every decimal value in that range has an equal chance of being selected. This is the foundation for computer simulations, video games, and cryptography!

Manufacturing Quality Control: Suppose a factory produces bolts with lengths that should be between 4.98 cm and 5.02 cm. If the manufacturing process is well-controlled, the bolt lengths might follow a uniform distribution within this range, meaning any length within the tolerance is equally likely.

Waiting Times: Consider waiting for an elevator in a busy building. If elevators arrive every 5 minutes on average, and you arrive at a random time, your waiting time follows a uniform distribution between 0 and 5 minutes.

Sports and Games: In basketball, if a player shoots free throws with consistent form, the angle at which the ball enters the hoop might be uniformly distributed within a small range around the optimal angle.

Let's work through a practical example: Imagine you're meeting a friend at a coffee shop, and you both agree to arrive sometime between 3:00 PM and 4:00 PM. If arrival times are uniformly distributed, what's the probability you'll both arrive within the first 20 minutes (between 3:00 and 3:20)?

Since the total time window is 60 minutes and we want the probability for the first 20 minutes:

$$P(3:00 \leq X \leq 3:20) = \frac{20}{60} = \frac{1}{3} \approx 0.333$$

That's about a 33.3% chance! 🎲

Computing Probabilities Over Intervals 🧮

One of the most powerful aspects of uniform distribution is how easy it becomes to calculate probabilities over any interval. For a continuous uniform distribution U(a,b), the probability of the random variable X falling between any two values c and d (where a ≤ c ≤ d ≤ b) is:

$$P(c \leq X \leq d) = \frac{d-c}{b-a}$$

This formula is incredibly intuitive - it's simply the length of your desired interval divided by the total length of the distribution!

Let's practice with a real scenario: A city bus is scheduled to arrive every 15 minutes, but due to traffic variations, it actually arrives uniformly distributed within a 5-minute window around the scheduled time. So if the bus is scheduled for 8:00 AM, it arrives uniformly between 7:57:30 AM and 8:02:30 AM (a 5-minute window).

What's the probability the bus arrives within 2 minutes of the scheduled time (between 7:58 AM and 8:02 AM)?

Here, a = -2.5 minutes, b = 2.5 minutes (relative to scheduled time), c = -2 minutes, d = 2 minutes.

$$P(-2 \leq X \leq 2) = \frac{2-(-2)}{2.5-(-2.5)} = \frac{4}{5} = 0.8$$

There's an 80% chance the bus will be within 2 minutes of its scheduled time! 🚌

Expectation and Variance Formulas 📈

Now let's dive into the mathematical properties that make uniform distribution so elegant and useful!

Expected Value (Mean):

The expected value of a uniform distribution U(a,b) is simply the midpoint of the interval:

$$E[X] = \mu = \frac{a+b}{2}$$

This makes perfect sense intuitively! If all values are equally likely, the average should be right in the middle. For our bus example with a = -2.5 and b = 2.5, the expected arrival time is exactly on schedule: $\frac{-2.5+2.5}{2} = 0$ minutes from the scheduled time.

Variance:

The variance measures how spread out the distribution is. For a uniform distribution U(a,b):

$$Var(X) = \sigma^2 = \frac{(b-a)^2}{12}$$

Standard Deviation:

$$\sigma = \frac{b-a}{2\sqrt{3}} \approx \frac{b-a}{3.464}$$

The factor of 12 in the variance formula comes from calculus and integration, but you can remember it as a special property of uniform distributions. The wider the range (larger b-a), the greater the variance, which makes intuitive sense!

For our bus example: $Var(X) = \frac{(2.5-(-2.5))^2}{12} = \frac{25}{12} \approx 2.08$ minutes².

These formulas are incredibly useful in real-world applications. Engineers use them to calculate tolerances in manufacturing, financial analysts use them in risk assessment, and scientists use them in experimental design! 🔬

Conclusion 🎯

Uniform distribution is truly the "democratic" distribution of probability theory - every outcome gets an equal vote! We've learned that uniform distributions can be discrete (like dice rolls) or continuous (like waiting times), and they're characterized by their constant probability density function. The key formulas we've mastered include the probability calculation $P(c \leq X \leq d) = \frac{d-c}{b-a}$, the expected value $E[X] = \frac{a+b}{2}$, and the variance $Var(X) = \frac{(b-a)^2}{12}$. These tools will serve you well in understanding more complex distributions and solving real-world probability problems. Remember, uniform distribution is everywhere - from computer algorithms to manufacturing processes to your daily commute! 🚀

Study Notes

• Uniform Distribution Definition: A probability distribution where all outcomes within a range are equally likely

• Discrete vs Continuous: Discrete has finite outcomes (dice), continuous has infinite outcomes in an interval (waiting times)

• Notation: U(a,b) where a = minimum value, b = maximum value

• Probability Density Function: $f(x) = \frac{1}{b-a}$ for $a \leq x \leq b$, and 0 otherwise

• Probability Over Interval: $P(c \leq X \leq d) = \frac{d-c}{b-a}$

• Expected Value: $E[X] = \frac{a+b}{2}$ (midpoint of the interval)

• Variance: $Var(X) = \frac{(b-a)^2}{12}$

• Standard Deviation: $\sigma = \frac{b-a}{2\sqrt{3}}$

• Key Property: Total area under the curve equals 1

• Real-world Examples: Random number generators, waiting times, manufacturing tolerances, arrival times

• Calculation Tip: Probability is always (desired interval length) ÷ (total interval length)

Practice Quiz

5 questions to test your understanding

Uniform Distribution — High School Probability And Statistics | A-Warded