Docsity

The Uniform Distribution, Slides of Pre-Calculus

Toggle sidebar
bg1
The Uniform
Distribution
38.2
Introduction
This Section introduces the simplest type of continuous probability distribution which features a
continuous random variable Xwith probability density function f(x)which assumes a constant
value over a finite interval.
'
&
$
%
Prerequisites
Before starting this Section you should . . .
•understand the concepts of probability
•be familiar with the concepts of expectation
and variance
•be familiar with the concept of continuous
probability distribution
#
"
!
Learning Outcomes
On completion you should be able to . . .
•explain what is meant by the term uniform
distribution
•calculate the mean and variance of a uniform
distribution
18 HELM (2008):
Workbook 38: Continuous Probability Distributions
pf3
pf4
pf5

Partial preview of the text

Download The Uniform Distribution and more Slides Pre-Calculus in PDF only on Docsity!

The Uniform

Distribution







Introduction

This Section introduces the simplest type of continuous probability distribution which features a continuous random variable X with probability density function f (x) which assumes a constant value over a finite interval.

'

&

$

%

Prerequisites

Before starting this Section you should...

  • understand the concepts of probability
  • be familiar with the concepts of expectation and variance
  • be familiar with the concept of continuous probability distribution

"!

Learning Outcomes

On completion you should be able to...

  • explain what is meant by the term uniform distribution
  • calculate the mean and variance of a uniform distribution

18 HELM (2008):

Workbook 38: Continuous Probability Distributions

®

1. The uniform distribution

The Uniform or Rectangular distribution has random variable X restricted to a finite interval [a, b] and has f (x) a constant over the interval. An illustration is shown in Figure 3:

b − a

f (x)

a b

x

Figure 3

The function f (x) is defined by:

f (x) =

b − a , a ≤ x ≤ b

0 otherwise

Mean and variance of a uniform distribution

Using the definitions of expectation and variance leads to the following calculations. As you might expect, for a uniform distribution, the calculations are not difficult. Using the basic definition of expectation we may write:

E(X) =

−∞

xf (x) dx =

∫ (^) b

a

x

b − a

dx =

2(b − a)

[

x^2

]b

a

b^2 − a^2 2(b − a) = b + a 2

Using the formula for the variance, we may write:

V(X) = E(X^2 ) − [E(X)]^2

=

∫ (^) b

a

x^2.

b − a

dx −

b + a 2

3(b − a)

[

x^3

]b

a

b + a 2

b^3 − a^3 3(b − a)

b + a 2

b^2 + ab + a^2 3

b^2 + 2ab + a^2 4 = (b − a)^2 12

HELM (2008): Section 38.2: The Uniform Distribution

®

Task The thickness x of a protective coating applied to a conductor designed to work in corrosive conditions follows a uniform distribution over the interval [20, 40] microns. Find the mean, standard deviation and cumulative distribution function of the thickness of the protective coating. Find also the probability that the coating is less than 35 microns thick.

Your solution

Answer Over the interval [20, 40] the probability density function f (x) is given by the formula

f (x) =

  1. 05 , 20 ≤ x ≤ 40 0 otherwise Using the formulae developed for the mean and variance gives

E(X) = 10 μm and σ =

V(X) =

= 5. 77 μm

The cumulative distribution function is given by

F (x) =

∫ (^) x

−∞

f (x) dx

Hence, choosing appropriate ranges for x, the cumulative distribution function is obtained as:

F (x) =

0 , x < 20

x − 20 20

20 ≤ x ≤ 40

1 x ≥ 40 Hence the probability that the coating is less than 35 microns thick is

F (x < 35) =

HELM (2008): Section 38.2: The Uniform Distribution

Exercises

  1. In the manufacture of petroleum the distilling temperature (T ◦C) is crucial in determining the quality of the final product. T can be considered as a random variable uniformly distributed over 150 ◦C to 300 ◦C. It costs £C 1 to produce 1 gallon of petroleum. If the oil distills at temperatures less than 200 ◦C the product sells for £C 2 per gallon. If it distills at a temperature greater than 200 ◦C it sells for £C 3 per gallon. Find the expected net profit per gallon.
  2. Packages have a nominal net weight of 1 kg. However their actual net weights have a uniform distribution over the interval 980 g to 1030 g. (a) Find the probability that the net weight of a package is less than 1 kg. (b) Find the probability that the net weight of a package is less than w g, where 980 < w < 1030. (c) If the net weights of packages are independent, find the probability that, in a sample of five packages, all five net weights are less than wg and hence find the probability density function of the weight of the heaviest of the packages. (Hint: all five packages weigh less than w g if and only if the heaviest weighs less that w g). Answers

P(X < 200) = 50 ×

P(X > 200) =

Let F be a random variable defining profit. F can take two values £(C 2 − C 1 ) or £(C 3 − C 1 ) x C 2 − C 1 C 3 − C 1 P(F = x) 1 / 3 2 / 3

E(F ) =

[

C 2 − C 1

]

[C 3 − C 1 ] =

C 2 − 3 C 1 + 2C 3

(a) The required probability is P(W < 1000) =

(b) The required probability is P(W < w) = w − 980 1030 − 980

w − 980 50

(c) The probability that all five weigh less than w g is

w − 980 50

so the pdf of the heaviest is d dw

w − 980 50

w − 980 50

w − 980 50

for 980 < w < 1030.

22 HELM (2008):

Workbook 38: Continuous Probability Distributions