U(a,b)
U(a,b) means a uniform continuous random variable from a to b in Intro to Statistics. Any value in that interval is equally likely, so the density stays constant across the range.
What is U(a,b)?
U(a,b) is the notation for a continuous uniform distribution in Intro to Statistics. It means a random variable can take any value between a and b, and every value in that interval has the same probability density.
The big idea is not that each exact number has a probability of 1, because for continuous variables the probability of one exact point is 0. Instead, the distribution spreads probability evenly across the entire interval. That is why you calculate probabilities by looking at interval length, not by counting outcomes one by one.
If X follows U(a,b), then the graph of its probability density function is a flat rectangle from a to b. The height of that rectangle is 1/(b-a), which makes the total area equal to 1. That area rule is what lets you find probabilities, such as P(a < X < c), by taking the width of the sub-interval and dividing by the full width.
A quick example makes the setup easier to see. If a random number generator picks any decimal from 0 to 10 with equal chance, then X can be written as U(0,10). The probability that X falls between 2 and 5 is the length of the smaller interval, 3, divided by the total length, 10, so P(2 < X < 5) = 0.3.
Because the distribution is flat, the mean sits at the midpoint, (a+b)/2. The variance, (b-a)^2/12, grows as the interval gets wider, which matches the idea that values are more spread out when the range is larger. A common mistake is to treat U(a,b) like a discrete list of equally likely numbers. It is continuous, so the useful skill is reading area under the density curve and translating interval length into probability.
Why U(a,b) matters in Intro to Statistics
U(a,b) shows up any time Intro to Statistics needs a simple model for evenly spread outcomes. It is one of the first continuous distributions you use, so it gives you a clean way to practice probability density, interval probability, mean, and variance without extra shape complexity.
This term also helps you see the difference between discrete and continuous probability. If your brain wants to assign equal probability to every exact value, U(a,b) is where you correct that idea. You learn that a continuous model gives probability to intervals, not to single points, and that shift matters later when you work with normal distributions, sampling distributions, and statistical software output.
Uniform distributions also show up in problem setups that involve random selection over a fixed range, like a random time, a random decimal, or a measurement chosen from a bounded interval. When an assignment asks you to justify a probability from a uniform model, you are usually expected to use the flat density and the area idea, not a counting shortcut.
It is also useful as a comparison tool. Even when a real situation is not perfectly uniform, you can still use U(a,b) as a simple baseline model to check whether a distribution is roughly even or clearly skewed.
Keep studying Intro to Statistics Unit 5
Official unit cheatsheet
open one-pagerHow U(a,b) connects across the course
Continuous Random Variable
U(a,b) is a specific kind of continuous random variable. That means the variable can take infinitely many values in an interval, so probabilities come from ranges, not single exact outcomes. If you see a question asking for P(X = c), the answer for a continuous uniform variable is 0, which is a common point of confusion.
Probability Density Function (PDF)
For U(a,b), the PDF is a flat line across the interval and 0 outside it. You use the height of that rectangle to turn interval width into probability. If the density is constant, the area under the curve is easy to calculate, which makes uniform distributions a good place to practice PDF reasoning.
Cumulative Distribution Function (CDF)
The CDF for U(a,b) shows the running total of probability as x increases from a to b. For a uniform distribution, it grows in a straight line because probability accumulates at a constant rate. If you know the CDF, you can read off probabilities like P(X <= x) much faster.
Equally likely
This phrase is the intuition behind the uniform model, but it needs the continuous version of the idea. In U(a,b), values are equally likely across the interval in density terms, not in the sense that each exact decimal has the same nonzero probability. That distinction keeps you from mixing up continuous and discrete cases.
Is U(a,b) on the Intro to Statistics exam?
A quiz or problem-set question will usually ask you to identify the interval, find a probability, or compute the mean or variance of U(a,b). The move is to translate the wording into the interval from a to b, then use the uniform rules: probability equals interval length divided by total length, mean equals the midpoint, and variance equals (b-a)^2/12.
If a graph is included, you may need to read the flat PDF and use area under the rectangle. If the problem gives a CDF instead, you can check whether it rises linearly between a and b and stays 0 or 1 outside that range. The most common error is forgetting that single points in a continuous distribution have probability 0, so the answer should be about an interval, not one exact value.
U(a,b) vs Discrete Uniform Distribution
Both distributions treat outcomes as equally likely, but they are not the same thing. A discrete uniform distribution has a finite set of separate outcomes, like {1, 2, 3, 4, 5, 6}. U(a,b) is continuous, so it covers every value in an interval and uses density and area instead of counting outcomes.
Key things to remember about U(a,b)
U(a,b) is a continuous uniform distribution on the interval from a to b, where probability is spread evenly across the whole range.
You do not assign probability to one exact value in U(a,b), because continuous variables use intervals and area under the PDF.
The PDF is flat, with height 1/(b-a), so probabilities come from interval width divided by total width.
The mean of U(a,b) is the midpoint (a+b)/2, and the variance is (b-a)^2/12.
When you see a uniform model in Intro to Statistics, think random selection across a fixed range, not a list of separate outcomes.
Frequently asked questions about U(a,b)
What is U(a,b) in Intro to Statistics?
U(a,b) is the notation for a uniform continuous random variable on the interval from a to b. Every value in that interval has the same probability density, so the graph of the PDF is flat. You use area, not counting, to find probabilities.
How do you find probabilities with U(a,b)?
First identify the interval inside the full range from a to b. Then divide the length of the part you want by the total length b - a. For example, if X ~ U(0,10), then P(2 < X < 5) = 3/10 because the interval from 2 to 5 has length 3.
Is U(a,b) the same as a discrete uniform distribution?
No. A discrete uniform distribution has separate outcomes, like rolling a fair die. U(a,b) is continuous, so it includes every number between a and b and uses a constant density instead of equal probabilities for a small set of values.
Why is the probability of one exact value 0 in U(a,b)?
Because a continuous distribution spreads probability over infinitely many values. A single point has no width, so it has no area under the curve. That is why questions about U(a,b) usually ask for intervals, such as between two numbers or below a cutoff.