The Continuous Uniform Distribution: Rectangular pdf, Mean and Variance | Edexcel IAL Maths notes
Free preview: The Continuous Uniform Distribution: Rectangular pdf, Mean and Variance
Equally Likely Anywhere in an Interval
Unit S2 (WST02): Statistics 2
Watch: 1-minute explainer
Let's start with a bus that comes every 15 minutes. You arrive at a random time, without checking the timetable. Your wait could be anything from 0 to 15 minutes, and no value is more likely than another. What does the pdf of a variable like that look like?
- If no value is more likely, the density must be the same everywhere in the interval: a flat line.
- That's a continuous uniform (or rectangular) distribution.
- X is uniform on [a, b], written , if its pdf is constant on that interval.
Finding the height
- The graph is a rectangle with width .
- Its area must be 1 (total probability).
- Area = width × height, so the height is .
The cdf comes from the area so far: a rectangle of width and height .
![Rectangular pdf for U[2, 7] with height 0.2 between x = 2 and x = 7; the strip from 3 to 4.5 is shaded with area 0.3](https://cdn.globalphysicstutor.com/editor-images/4d0f3571-2935-4f6d-848d-c8f01eaab055.png)
What the picture shows
- This is : width 5, so height .
- Probabilities are rectangle areas: .
- In plain words: probability = (length of the interval) ÷ (total length).
- The mean is in the middle, 4.5, by symmetry.
💡 In plain words
- No integration needed for probabilities: just length ÷ total length.
- Outside [a, b], f(x) = 0. F(x) = 0 below a and 1 above b.
👀 Watch me do it: your wait for the bus is W ~ U[0, 15]. Find P(W > 10) and P(4 < W < 7)
| What I write | Why I do it |
|---|---|
| Width 15, so height 1/15. | |
| Length of the interval over total length. | |
| Same idea. |
✏️ YOUR TURN 1
Try this first:
X ~ U[−3, 5]. Write down f(x) and F(x), and find P(X > 0) and P(|X| < 1).
Answer:
- and for .
- .
- means : length 2, so probability .
Proving the Mean and Variance
The mean being the midpoint is no surprise (symmetry). The variance needs work, and "prove" questions are common. The key tools are two factorisations: the difference of two squares and the difference of two cubes.
The mean
. (Difference of two squares.)
👀 Watch me do it: prove that
| What I write | Why I do it |
|---|---|
| Multiply f by and integrate. | |
| Difference of two cubes. | |
| Cancel . | |
| Subtract the square of the mean. | |
| Common denominator 12; expand . | |
| Collect terms; it's a perfect square. |
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in S2.2 Continuous Random Variables
- Continuous Random Variables: Probability Density Functions and Areas
- Cumulative Distribution Functions, Medians, Quartiles, Mode and Skewness
- Mean and Variance of a Continuous Random Variable
- The Continuous Uniform Distribution: Rectangular pdf, Mean and Variance
Video
What's inside for this topic
4 teacher notes, 247 practice questions, 40 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Mean and Variance of a Continuous Random Variable