Properties of Continuous Uniform Distribution

Properties of Continuous Uniform Distribution

The continuous uniform distribution is such that the random variable \(X\) takes values between \(a\) (lower limit) and \(b\) (upper limit). In the field of statistics, \(a\) and \(b\) are known as the parameters of continuous uniform distribution. We cannot have an outcome of either less than \(a\) or greater than \(b\).

The probability density function for this type of distribution is:

$$ { f }_{ x }\left( x \right) =\frac { 1 }{ b -a } \quad \quad a< x < b $$

\(X \sim U (a,b)\) is the most commonly used shorthand notation read as “the random variable \(x\). It has a continuous uniform distribution with parameters \(α\) and \(β\).”

The total probability is spread uniformly between the two limits. Intervals of the same length have the same probability.

In other words, for all \(a \le x_1 < x_2 \le b\), we have

$$P(X < a) = P(X > b = 0)$$

And the probability that the random variable will have a value between \(x_1\) and \(x_2\) is given as follows:

$$P(x_1 \le X \le x_2) =\cfrac {(x_2 – x_1)}{(b – a)}$$

The mean and variance of continuous uniform distribution is given below:

$$ \text{Mean} =\cfrac {(a + b)}{2} $$

$$ \text{Variance} =\cfrac {(b – a)^2}{12} $$

Example: Probability Density Function

You have been given that \(Y \sim U(100,300)\).

Calculate \(P(Y > 174)\) and \(P(100 < Y < 226\).


The probability density function is given by:

$$ f_x(x) =\cfrac {1}{(300 – 100)} =\cfrac {1}{200} $$

Therefore, each “unit interval” has a probability of \(\frac {1}{200}\).

This means that \(P(Y > 174) =\cfrac {(300 – 174)}{200} = \cfrac {126}{200} = 0.63\).

Similarly, \(P(100 < Y < 226) = 0.63\) because the interval has the same length as above (126) hence the same probability.

Cumulative Distribution Function of a Continuous Uniform Distribution

Remember that a cumulative distribution function, \(F(x)\), gives the probability that the random variable \(X\) is less than or equal to \(x\), for every \(x\) value. It is usually expressed as:

$$F(x)=P(X\leq x)$$

The cumulative distribution function of the continuous uniform distribution increases linearly from \(α\) to \(β\).

The CDF is linear over the variable’s range, and it is given by:

F(x)=P(X\leq x)=\frac{x-a}{b-a}


A random variable \(X\) is uniformly distributed between 32 and 42. What is the probability that \(X\) will be between 32 and 40?

  1. 8%.
  2. 10%.
  3. 80%.


The correct answer is C.

First, you should determine the pdf:

$$ \begin{align*} f_x(x) & =\cfrac {1}{(42 – 32)} \\ &=\cfrac {1}{10} \\ \end{align*} $$


$$ P(32 < Y < 40) =\cfrac {(40 – 32)}{10} = 0.8 \text{ or } 80\% $$

Shop CFA® Exam Prep

Offered by AnalystPrep

Featured Shop FRM® Exam Prep Learn with Us

    Subscribe to our newsletter and keep up with the latest and greatest tips for success
    Shop Actuarial Exams Prep Shop Graduate Admission Exam Prep

    Sergio Torrico
    Sergio Torrico
    Excelente para el FRM 2 Escribo esta revisión en español para los hispanohablantes, soy de Bolivia, y utilicé AnalystPrep para dudas y consultas sobre mi preparación para el FRM nivel 2 (lo tomé una sola vez y aprobé muy bien), siempre tuve un soporte claro, directo y rápido, el material sale rápido cuando hay cambios en el temario de GARP, y los ejercicios y exámenes son muy útiles para practicar.
    So helpful. I have been using the videos to prepare for the CFA Level II exam. The videos signpost the reading contents, explain the concepts and provide additional context for specific concepts. The fun light-hearted analogies are also a welcome break to some very dry content. I usually watch the videos before going into more in-depth reading and they are a good way to avoid being overwhelmed by the sheer volume of content when you look at the readings.
    Kriti Dhawan
    Kriti Dhawan
    A great curriculum provider. James sir explains the concept so well that rather than memorising it, you tend to intuitively understand and absorb them. Thank you ! Grateful I saw this at the right time for my CFA prep.
    nikhil kumar
    nikhil kumar
    Very well explained and gives a great insight about topics in a very short time. Glad to have found Professor Forjan's lectures.
    Great support throughout the course by the team, did not feel neglected
    Benjamin anonymous
    Benjamin anonymous
    I loved using AnalystPrep for FRM. QBank is huge, videos are great. Would recommend to a friend
    Daniel Glyn
    Daniel Glyn
    I have finished my FRM1 thanks to AnalystPrep. And now using AnalystPrep for my FRM2 preparation. Professor Forjan is brilliant. He gives such good explanations and analogies. And more than anything makes learning fun. A big thank you to Analystprep and Professor Forjan. 5 stars all the way!
    michael walshe
    michael walshe
    Professor James' videos are excellent for understanding the underlying theories behind financial engineering / financial analysis. The AnalystPrep videos were better than any of the others that I searched through on YouTube for providing a clear explanation of some concepts, such as Portfolio theory, CAPM, and Arbitrage Pricing theory. Watching these cleared up many of the unclarities I had in my head. Highly recommended.