A continuous uniform variable is equally likely to fall anywhere in an interval . Its density is a flat line of height , so the probability of a subinterval is its length divided by .
| Step | On a bus arriving uniformly in the next minutes, | |
|---|---|---|
| 1 | Name and . The density is on and outside it. | , density |
| 2 | Write the event as an interval and clip it. Keep only the part inside . Strict and non-strict inequalities give the same answer, since . | : the interval |
| 3 | Divide its length by . This is the area of a rectangle under the density (uniform CDF). | |
| 4 | Simplify. For a conditional question, divide two such lengths. |