6.2: The Uniform and Other Simple Continuous Distributions
- Page ID
- 26069
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)The uniform distribution is a continuous probability distribution and is concerned with events that are equally likely to occur. When working out problems that have a uniform distribution, be careful to note if the data is inclusive or exclusive.
Example \(\PageIndex{1}\)
The data in Table \(\PageIndex{1}\) are 55 smiling times, in seconds, of an eight-week-old baby.
10.4 | 19.6 | 18.8 | 13.9 | 17.8 | 16.8 | 21.6 | 17.9 | 12.5 | 11.1 | 4.9 |
12.8 | 14.8 | 22.8 | 20.0 | 15.9 | 16.3 | 13.4 | 17.1 | 14.5 | 19.0 | 22.8 |
1.3 | 0.7 | 8.9 | 11.9 | 10.9 | 7.3 | 5.9 | 3.7 | 17.9 | 19.2 | 9.8 |
5.8 | 6.9 | 2.6 | 5.8 | 21.7 | 11.8 | 3.4 | 2.1 | 4.5 | 6.3 | 10.7 |
8.9 | 9.4 | 9.4 | 7.6 | 10.0 | 3.3 | 6.7 | 7.8 | 11.6 | 13.8 | 18.6 |
The sample mean = 11.49 and the sample standard deviation = 6.23.
We will assume that the smiling times, in seconds, follow a uniform distribution between zero and 23 seconds, inclusive. This means that any smiling time from zero to and including 23 seconds is equally likely. The histogram that could be constructed from the sample is an empirical distribution that closely matches the theoretical uniform distribution.
Let \(X =\) length, in seconds, of an eight-week-old baby's smile.
The notation for the uniform distribution is
\(X \sim U(a, b)\) where \(a =\) the lowest value of \(x\) and \(b =\) the highest value of \(x\).
The probability density function is \(f(x) = \frac{1}{b-a}\) for \(a \leq x \leq b\).
For this example, \(X \sim U(0, 23)\) and \(f(x) = \frac{1}{23-0}\) for \(0 \leq X \leq 23\).
Formulas for the theoretical mean and standard deviation are
\[\mu = \frac{a+b}{2} \nonumber\]
and
\[\sigma = \sqrt{\frac{(b-a)^{2}}{12}} \nonumber\]
For this problem, the theoretical mean and standard deviation are
\[\mu = \frac{0+23}{2} = 11.50 \, seconds \nonumber\]
and
\[\sigma = \frac{(23-0)^{2}}{12} = 6.64\, seconds. \nonumber\]
Notice that the theoretical mean and standard deviation are close to the sample mean and standard deviation in this example.
Example \(\PageIndex{2}\)
a. Refer to Example 6.2.1. What is the probability that a randomly chosen eight-week-old baby smiles between two and 18 seconds?
Answer
a. Find \(P(2 < x < 18)\).
\(P(2 < x < 18) = (\text{base})(\text{height}) = (18 – 2)\left(\frac{1}{23}\right) = \left(\frac{16}{23}\right)\).
Example \(\PageIndex{3}\)
Suppose the time it takes a nine-year old to eat a donut is between 0.5 and 4 minutes, inclusive. Let \(X =\) the time, in minutes, it takes a nine-year old child to eat a donut. Then \(X \sim U(0.5, 4)\).
a. The probability that a randomly selected nine-year old child eats a donut in at least two minutes is _______.
Solution
a. 0.5714
Example \(\PageIndex{4}\)
Ace Heating and Air Conditioning Service finds that the amount of time a repairman needs to fix a furnace is uniformly distributed between 1.5 and four hours. Let \(x =\) the time needed to fix a furnace. Then \(x \sim U(1.5, 4)\).
- Find the probability that a randomly selected furnace repair requires more than two hours.
- Find the probability that a randomly selected furnace repair requires less than three hours.
- Find the 30th percentile of furnace repair times.
- The longest 25% of furnace repair times take at least how long? (In other words: find the minimum time for the longest 25% of repair times.) What percentile does this represent?
- Find the mean and standard deviation
Solution
a. To find \(f(x): f(x) = \frac{1}{4-1.5} = \frac{1}{2.5}\) so \(f(x) = 0.4\)
\(P(x > 2) = (\text{base})(\text{height}) = (4 – 2)(0.4) = 0.8\)
b. \(P(x < 3) = (\text{base})(\text{height}) = (3 – 1.5)(0.4) = 0.6\)
The graph of the rectangle showing the entire distribution would remain the same. However the graph should be shaded between \(x = 1.5\) and \(x = 3\). Note that the shaded area starts at \(x = 1.5\) rather than at \(x = 0\); since \(X \sim U(1.5, 4)\), \(x\) can not be less than 1.5.
c.
\(P(x < k) = 0.30\)
\(P(x < k) = (\text{base})(\text{height}) = (k – 1.5)(0.4)\)
\(0.3 = (k – 1.5) (0.4)\); Solve to find \(k\):
\(0.75 = k – 1.5\), obtained by dividing both sides by 0.4
\(k = 2.25\) , obtained by adding 1.5 to both sides
The 30th percentile of repair times is 2.25 hours. 30% of repair times are 2.25 hours or less.
d.
\(P(x > k) = 0.25\)
\(P(x > k) = (\text{base})(\text{height}) = (4 – k)(0.4)\)
\(0.25 = (4 – k)(0.4)\); Solve for \(k\):
\(0.625 = 4 − k\),
obtained by dividing both sides by 0.4
\(−3.375 = −k\),
obtained by subtracting four from both sides: \(k = 3.375\)
The longest 25% of furnace repairs take at least 3.375 hours (3.375 hours or longer).
Note: Since 25% of repair times are 3.375 hours or longer, that means that 75% of repair times are 3.375 hours or less. 3.375 hours is the 75th percentile of furnace repair times.
e. \(\mu = \frac{a+b}{2}\) and \(\sigma = \sqrt{\frac{(b-a)^{2}}{12}}\)
\(\mu = \frac{1.5+4}{2} = 2.75\) hours and \(\sigma = \sqrt{\frac{(4-1.5)^{2}}{12}} = 0.7217\) hours
Review
If \(X\) has a uniform distribution where \(a < x < b\) or \(a \leq x \leq b\), then \(X\) takes on values between \(a\) and \(b\) (may include \(a\) and \(b\)). All values \(x\) are equally likely. We write \(X \sim U(a, b)\). The mean of \(X\) is \(\mu = \frac{a+b}{2}\). The standard deviation of \(X\) is \(\sigma = \sqrt{\frac{(b-a)^{2}}{12}}\). The probability density function of \(X\) is \(f(x) = \frac{1}{b-a}\) for \(a \leq x \leq b\). The cumulative distribution function of \(X\) is \(P(X \leq x) = \frac{x-a}{b-a}\). \(X\) is continuous.
The probability \(P(c < X < d)\) may be found by computing the area under \(f(x)\), between \(c\) and \(d\). Since the corresponding area is a rectangle, the area may be found simply by multiplying the width and the height.
Formula Review
\(X =\) a real number between \(a\) and \(b\) (in some instances, \(X\) can take on the values \(a\) and \(b\)). \(a =\) smallest \(X\); \(b =\) largest \(X\)
\(X \sim U(a, b)\)
The mean is \(\mu = \frac{a+b}{2}\)
The standard deviation is \(\sigma = \sqrt{\frac{(b-a)^{2}}{12}}\)
Probability density function: \(f(x) = \frac{1}{b-a} \text{for} a \leq X \leq b\)
Area to the Left of \(x\): \(P(X < x) = (x – a)\left(\frac{1}{b-a}\right)\)
Area to the Right of \(x\): P(\(X\) > \(x\)) = (b – x)\(\left(\frac{1}{b-a}\right)\)
Area Between \(c\) and \(d\): \(P(c < x < d) = (\text{base})(\text{height}) = (d – c)\left(\frac{1}{b-a}\right)\)
Uniform: \(X \sim U(a, b)\) where \(a < x < b\)
- pdf: \(f(x) = \frac{1}{b-a}\) for \(a \leq x \leq b\)
- cdf: \(P(X \leq x) = \frac{x-a}{b-a}\)
- mean \(\mu = \frac{a+b}{2}\)
- standard deviation \(\sigma = \sqrt{\frac{(b-a)^{2}}{12}}\)
- \(P(c < X < d) = (d – c)\left(\frac{1}{b-a}\right)\)
WeBWorK Problems
Query \(\PageIndex{1}\)
Query \(\PageIndex{2}\)
Query \(\PageIndex{3}\)
Query \(\PageIndex{4}\)
Query \(\PageIndex{5}\)
References
McDougall, John A. The McDougall Program for Maximum Weight Loss. Plume, 1995.
Use the following information to answer the next ten questions. The data that follow are the square footage (in 1,000 feet squared) of 28 homes.
1.5 | 2.4 | 3.6 | 2.6 | 1.6 | 2.4 | 2.0 |
3.5 | 2.5 | 1.8 | 2.4 | 2.5 | 3.5 | 4.0 |
2.6 | 1.6 | 2.2 | 1.8 | 3.8 | 2.5 | 1.5 |
2.8 | 1.8 | 4.5 | 1.9 | 1.9 | 3.1 | 1.6 |
The sample mean = 2.50 and the sample standard deviation = 0.8302.
The distribution can be written as \(X \sim U(1.5, 4.5)\).
Glossary
- Conditional Probability
- the likelihood that an event will occur given that another event has already occurred
Contributors and Attributions
Barbara Illowsky and Susan Dean (De Anza College) with many other contributing authors. Content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at http://cnx.org/contents/30189442-699...b91b9de@18.114.