Rectangular distribution
Studying this course? Keep your progress in one place.
Key facts
- A rectangular (uniform) distribution on has .
- Use it when every part of a fixed interval is equally likely.
- .
- .
- .
The rectangular model
Every value in is equally likely, so the pdf is a rectangle of height .
A continuous random variable has a rectangular distribution (also called uniform) on when every value in the interval is equally likely.
The pdf is
The graph is a rectangle of width and height , so the total area is .
is rectangular on . What is on that interval?
When to use it as a model
When the variable is continuous in a fixed interval and no part of it is favoured.
Use a rectangular distribution when the variable is continuous and takes values only within a fixed interval, and there is no reason to favour any part of it, so sub-intervals of equal width are equally likely.
Typical examples are the waiting time for something that arrives at a random moment in a fixed cycle, and rounding errors.
It is not suitable if values cluster or the interval is not fixed.
Suitable
- Bus arriving at a random moment in a 10-minute cycle
- Rounding errors
Not suitable
- Commuters arriving just before each train
- Heights of adult students
Which situation suits a rectangular model?
Calculating probabilities
Probability is area: the width of the interval you want divided by the full width .
Probability is area, so for :
Limit any bound to the interval first, then divide by the full width , not by .
For on , add the two tails: .
Worked example
is rectangular on . Find .
- 1
The width is , so .
- 2
The interval has width .
- 3
.
is rectangular on . What is ?
Mean and variance
The mean is the midpoint and the variance is .
The mean is the midpoint, as symmetry suggests. Trains every 15 minutes give and minutes.
The proofs use and . The mean and variance both follow from integrating .
- Mean
- Variance
Proof of the mean
Prove for a rectangular distribution on .
- 1
.
- 2
.
- 3
Factorise and cancel.
Proof of the variance
Prove .
- 1
.
- 2
.
- 3
Common denominator: .
is rectangular on . What is ?
Try an exam question
The continuous random variable has a rectangular distribution on . State , find , and find and .
[4 marks]
- [1] for .
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
What is the value of for ?
1 mark, marked against the mark scheme
What is the value of for ?
1 mark, marked against the mark scheme