Continuous Uniform Distribution Calculator

statistical-calculators.site

How to Use This Calculator

Step 1: Enter Your Parameters

Step 2: Click "Calculate"

The calculator will instantly show you:

Step 3: Export Your Results

Use the buttons below the results to:

💡 Quick Tip: If your interval [m, n] extends outside the bounds [a, b], the calculator will automatically clamp the values to the valid range and show you a notice. If m > n, the values will be swapped automatically.

Understanding the Continuous Uniform Distribution

The Continuous Uniform Distribution, often called the Rectangular Distribution, is a probability distribution that describes an experiment where an outcome is equally likely to occur anywhere within a specified interval \([a, b]\). Because every outcome has the same probability, the graph of its probability density function (PDF) is a simple rectangle.

Key Formulas

Examples with Step-by-Step Answers

Example 1: Bus Waiting Time

Problem: A city bus arrives at a bus stop precisely every 20 minutes. If you arrive at the stop at a random moment, your waiting time is uniformly distributed. What is the probability you will wait between 5 and 12 minutes?

1. Identify the parameters:

  • The interval is from 0 to 20 minutes, so \(a = 0\) and \(b = 20\).
  • We want to find the probability for the sub-interval \(m=5\) to \(n=12\).

2. Calculate the PDF height: \(f(x) = \frac{1}{20-0} = \frac{1}{20} = 0.05\)

3. Calculate the probability: Probability is the area of the rectangle for the sub-interval. Area = height × width.

\(P(5 \le X \le 12) = f(x) \times (n - m) = 0.05 \times (12 - 5) = 0.05 \times 7 = 0.35\)

Answer: There is a 35% chance you will wait between 5 and 12 minutes for the bus.

Example 2: Random Number Generator

Problem: A computer's random number generator produces numbers that are uniformly distributed between 0 and 1. What is the probability that a generated number is greater than 0.8?

1. Identify the parameters:

  • The interval is \([0, 1]\), so \(a = 0\) and \(b = 1\).
  • We want to find \(P(X > 0.8)\), which is the same as \(P(0.8 \le X \le 1)\).

2. Calculate the PDF height: \(f(x) = \frac{1}{1-0} = 1\)

3. Calculate the probability:

\(P(0.8 \le X \le 1) = f(x) \times (1 - 0.8) = 1 \times 0.2 = 0.2\)

Answer: There is a 20% probability that the generated number will be greater than 0.8.