ArticleslgStudy

mathematics

Continuous uniform distribution

Continuous uniform distribution is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Continuous uniform distribution rather than just read about it. In short: In probability theory and statistics, the continuous uniform distributions or rectangular distributions are a family of symmetric probability distributions. Such a distribution describes an experiment where there is an arbitrary outcome that lies between certain bounds.

Continuous uniform distribution — main illustration
Continuous uniform distribution — illustration

Key takeaways

  • Continuous uniform distribution belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Continuous uniform distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Continuous uniform distribution from memory before moving on to harder problems.

Reference excerpt

In probability theory and statistics, the continuous uniform distributions or rectangular distributions are a family of symmetric probability distributions. Such a distribution describes an experiment where there is an arbitrary outcome that lies between certain bounds. The bounds are defined by the parameters, a and b, which are the minimum and maximum values. The interval can either be closed (i.e. [a,b]) or open (i.e. (a,b)). Therefore, the distribution is often abbreviated U(a,b), where U stands for uniform distribution. The difference between the bounds defines the interval length; all intervals of the same length on the distribution's support are equally probable. It is the maximum entropy probability distribution for a random variable X under no constraint other than that it is contained in the distribution's support.

Definitions

Probability density function The probability density function of the continuous uniform distribution is f(x)={1b−afor a≤x≤b,0for x<a or x>b. The values of f(x) at the two boundaries a and b are usually unimportant, because they do not alter the value of ∫cdf(x)dx over any interval [c,d], nor of ∫abxf(x)dx, nor of any higher moment. Sometimes they are chosen to be zero, and sometimes chosen to be 1b−a. The latter is appropriate in the context of estimation by the method of maximum likelihood. In the context of Fourier analysis, one may take the value of f(a) or f(b) to be 12(b−a), because then the inverse transform of many integral transforms of this uniform function will yield back the function itself, rather than a function which is equal "almost everywhere", i.e. except on a set of points with zero measure. Also, it is consistent with the sign function, which has no such ambiguity. Any probability density function integrates to 1, so the probability density function of the continuous uniform distribution is graphically portrayed as a rectangle where ⁠b−a⁠ is the base length and ⁠1b−a⁠ is the height. As the base length increases, the height (the density at any particular value within the distribution boundaries) decreases. In terms of mean μ and variance σ2, the probability density function of the continuous uniform distribution is f(x)={12σ3for −σ3≤x−μ≤σ3,0otherwise.

Cumulative distribution function The cumulative distribution function of the continuous uniform distribution is: F(x)={0for x<a,x−ab−afor a≤x≤b,1for x>b. Its inverse is: F−1(p)=a+p(b−a) for 0<p<1. In terms of mean μ and variance σ2, the cumulative distribution function of the continuous uniform distribution is: F(x)={0for x−μ<−σ3,12(x−μσ3+1)for −σ3≤x−μ<σ3,1for x−μ≥σ3; its inverse is: F−1(p)=σ3(2p−1)+μ for 0≤p≤1.

Example 1. Using the continuous uniform distribution function For a random variable X∼U(0,23), find Pr⁡(2<X<18): Pr⁡(2<X<18)=(18−2)⋅123−0=1623. In a graphical representation of the continuous uniform distribution function [f(x) vs x], the area under the curve within the specified bounds, displaying the probability, is a rectangle. For the specific example above, the base would be ⁠16,⁠ and the height would be ⁠123.⁠

Example 2. Using the continuous uniform distribution function (conditional) For a random variable X∼U(0,23), find Pr⁡(X>12∣X>8): Pr⁡(X>12∣X>8)=(23−12)⋅123−8=1115. The example above is a conditional probability case for the continuous uniform distribution: given that ⁠X>8⁠ is true, what is the probability that ⁠X>12?⁠ Conditional probability changes the sample space, so a new interval length ⁠b−a′⁠ has to be calculated, where b=23 and a′=8. The graphical representation would still follow Example 1, where the area under the curve within the specified bounds displays the probability; the base of the rectangle would be ⁠11,⁠ and the height would be ⁠115.⁠

Generating functions

Moment-generating function The moment-generating function of the continuous uniform distribution is: MX=E⁡[etX]=∫abetxdxb−a=etb−etat(b−a)=Bt−Att(b−a), from which we may calculate the raw moments mk: m1=a+b2, m2=a2+ab+b23, mk=∑i=0kaibk−ik+1. For a random variable following the continuous uniform distribution, the expected value is m1=a+b2, and the variance is m2−m12=(b−a)212. For the special case a=−b, the probability density function of the continuous uniform distribution is: f(x)={12bfor −b≤x≤b,0otherwise; the moment-generating function reduces to the simple form: MX=sinh⁡btbt.

Cumulant-generating function For ⁠n≥2,⁠ the n-th cumulant of the continuous uniform distribution on the interval ⁠[−12,12]⁠ is Bnn, where Bn is the n-th Bernoulli number.

Standard uniform distribution The continuous uniform distribution with parameters a=0 and b=1, i.e. U(0,1), is called the standard uniform distribution. One interesting property of the standard uniform distribution is that if u1 has a standard uniform distribution, then so does 1−u1. This property can be used for generating antithetic variates, among other things. In other words, this property is known as the inversion method where the continuous standard uniform distribution can be used to generate random numbers for any other continuous distribution. If u1 is a uniform random number with standard uniform distribution, i.e. with U(0,1), then x=F−1(u1) generates a random number x from any continuous distribution with the specified cumulative distribution function F.

Relationship to other functions As long as the same conventions are followed at the transition points, the probability density function of the continuous uniform distribution may also be expressed in terms of the Heaviside step function as: f(x)=H⁡(x−a)−H⁡(x−b)b−a, or in terms of the rectangle function as: f(x)=1b−a rect⁡(x−a+b2b−a). There is no ambiguity at the transition point of the sign function. Using the half-maximum convention at the transition points, the continuous uniform distribution may be expressed in terms of the sign function as: f(x)=sgn⁡(x−a)−sgn⁡(x−b)2(b−a).

Properties

Moments The mean (first raw moment) of the continuous uniform distribution is: E⁡[X]=∫abxdxb−a=b2−a22(b−a)=b+a2. The second raw moment of this distribution is: E⁡[X2]=∫abx2dxb−a=b3−a33(b−a). In general, the n-th raw moment of this distribution is: E⁡[Xn]=∫abxndxb−a=bn+1−an+1(n+1)(b−a). The variance (second central moment) of this distribution is: Var⁡[X]=E⁡[(X−E⁡[X])2]=∫ab(x−a+b2)2dxb−a=(b−a)212.

… excerpt ends here. Continue reading the full article.

Illustrations

Continuous uniform distribution illustration
Continuous uniform distribution illustration

Worked examples

Example 1 — a first encounter with Continuous uniform distribution

Start with the simplest possible case. Write down what Continuous uniform distribution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Continuous uniform distribution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Continuous uniform distribution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Continuous uniform distribution

In research
Continuous uniform distribution appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Continuous uniform distribution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Continuous uniform distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Continuous distributions, Location-scale family probability distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Continuous uniform distribution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Continuous uniform distribution” →

How to study Continuous uniform distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Continuous uniform distribution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Continuous uniform distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Continuous uniform distribution in simple terms?

In probability theory and statistics, the continuous uniform distributions or rectangular distributions are a family of symmetric probability distributions. Such a distribution describes an experiment where there is an arbitrary outcome that lies between certain bounds.

Why does Continuous uniform distribution matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Continuous uniform distribution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Continuous uniform distribution.

Tags

  • Continuous distributions
  • Location-scale family probability distributions

Keep exploring