Chapter 4_Continuous Radom Variables and Probability Distribution
Chapter 4_Continuous Radom Variables and Probability Distribution
(a) (b)
f x 0 f x dx 1
(c) b
P a X b f x dx
a
area under from for any and
f x a to b a b
4.2 Probability Distributions and
Probability Density Functions
(b) P a X b P a X b
P a X b
P a X b
4.2 Probability Distributions and
Probability Density Functions
Example 1:
Let the continuous random variable Xdenote the
current measured in a thin copper wire in
milliamperes. Assume that the range of X is
4.9,5.1 mA and assume that the probability
density function of X is f x 5, x 4.9,5.1
P 4.95 X 5.1
a/
b/ What is the probability that a current
measurement is less than 5 milliamperes?
P 4.9 X 5.1
4.2 Probability Distributions and
Probability Density Functions
Solution: 5.1
b/ P X 5 5dx 0.5
4.9
c/ P 4.9 X 5.1 1
4.2 Probability Distributions and
Probability Density Functions
Example 2
Let the continuous random variable X denote the diameter
of a hole drilled in a sheet metal component. The target
diameter is 12.5 millimeters. Most random disturbances to
the process result in larger diameters.
Historical data show that the distribution of X can be
modeled by a probability density function
20 x 12.5
f x 20e , x 12.5
a/ What proportion of parts is between 12.5 and 12.6
millimeters ?
4.2 Probability Distributions and
Probability Density Functions
the following:
a/ P 0 X b/ P 0.5 X
c/ P X 2 d/ P X 0 or X 0.5
a/ P 0 X 1.5 x dx 0.5
2
0
1
0.5
c/ P X 2 0
d/ P X 0 or X 0.5 P 1 X 1 1
4.2 Probability Distributions and
Probability Density Functions
Solution:
e/ (
( )
1 x0 1
1
P x0 X 1.5 x 2 dx 0.05
x0
31
0.5 x x0
0.05 0.5 0.5 x03 0.05
x0 0.965
4.2 Probability Distributions and
Probability Density Functions
Example 4:
c/ P 4 X 8 d/ P X 4 or X 8
e/ x such that P X x 0.95
4.2 Probability Distributions and
Probability Density Functions
Answer
a/ P X 2 0.75 b/ P X 5 0.04
3 61
c/ P 4 X 8 d/ P X 4 or X 8
64 64
e/ x 2 5
4.3 Cumulative Distribution Functions
Definition
The cumulative distribution function of a
continuous random variable X is
x
F x P X x f u du , x
4.3Cumulative Distribution Functions
Example 1:
Suppose that the cumulative distribution function
of the random variable X is
0, x0
F x 0.25 x, 0 x 4
1, x 4
Determine the following:
a/ P X 2.8 b/ P X 1.5
c/ P X 2 d/ P X 6
4.2 Probability Distributions and
Probability Density Functions
Solution:
a/ P X 2.8 P X 2.8 F 2.8
0.25 2.8 0.7
b/ P X 1.5 1 P X 1.5
1 0.25 1.5 0.625
c/ P X 2 P X 2 F 2 0
d/ P X 6 1 P X 6 1 1 0
4.3Cumulative Distribution Functions
Example 2:
Let the continuous random variable X denote the
current measured in a thin copper wire in
milliamperes. Assume that the range of X is
4.9,5.1 mA and assume that the probability
density function of X is f x 5, x 4.9,5.1 .
Find the cumulative distribution function F x ?
4.3Cumulative Distribution Functions
Solution
For x 4.9 ,
4.9 4.9
F x P X 4.9 f x dx 0dx 0
u x
5u u 4.9 5 x 24.5
4.3Cumulative Distribution Functions
Solution
Finally x 5.1,
x 5.1
F x P X x f u du 5du 1
4.9
Therefore,
0, x 4.9
F x 5 x 24.5, 4.9 x 5.1
1, x 5.1
4.3Cumulative Distribution Functions
Probability Density Function from
the Cumulative Distribution Function
The given F x
f x F x
The standard deviation of is
X 2
4.4 Mean and Variance of a Continuous
Random Variable
Example 1
Let the continuous random variable X denote the
current measured in a thin copper wire in
milliamperes. Assume that the range of X is
4.9,5.1 mA and assume that the probability
density function of X is f x 5, x 4.9,5.1 .
Find E X , V X and ?
4.4 Mean and Variance of a
Continuous Random Variable
Solution
The mean of X is
5.1 5.1
E X xf x dx 5 xdx 5
4.9 4.9
The variance of X is
5.1
V X 5 x 5 dx 0.0033
2
4.9
V X 0.057
4.4 Mean and Variance of a
Continuous Random Variable
Example 2:
Let the continuous random variable X denote the
diameter of a hole drilled in a sheet metal component.
The target diameter is 12.5 millimeters. Most random
disturbances to the process result in larger diameters.
Historical data show that the distribution of X can be
modeled by a probability density function
20 x 12.5
f x 20e , x 12.5
Find E X , V X and ?
4.4 Mean and Variance of a
Continuous Random Variable
Solution:
The mean of X is
20 x 12.5
E X 20 xe dx 12.55
12.5
The variance of X is
20 x 12.5
V X 20 x 12.55 e
2
dx 0.0025
12.5
V X 0.05
4.5 Continuous Uniform
Random Variable
b a
2
Variance: V X
12
4.5 Continuous Uniform
Random Variable
random variable is
0, xa
x a
F x , a x b
b a
1, b x
4.6 Normal Distribution
Definition
A random variable X with probability density
2
x
function 1
f x e 2 2
, x
2
is a normal random variable with parameters
E X ,
V X , 0
2
The notation
2
N ,
4.6 Normal Distribution
Normal Standard
Normal x
2
z2
1 1
f x e 2 2 f z e 2
2 X 2
Z
E X E X 0
V X 2
V X 1
N , N 0,1
2
4.6 Normal Distribution
Problem 1: Find p0 .
P X x0 p0
Problem 2: Find x0 .
P X x0 p0
1.25 1.37
P Z 1.25 P Z 1.37
4.6 Normal Distribution
Solution
(4) P Z 4.66 0
4.6 Normal Distribution
Solution P Z z area
(5) P Z z 0.05 inverse
Hint: z
P Z z 0.05 P Z z 1 P Z z 0.95
2/ inverse
area=0995
z 2.58
4.6 Normal Distribution
Example 2: Assume that the current measurements
in a strip of wire follow a normal distribution with
a meanof 10 milliamperes and a variance of 4
(milliamperes)2.
a/ What is the probability that a measurement
exceeds 13 milliamperes ?
b/ P 9 X 11
c/ Determine the value for which the probability
that a current measurement is less than this value is
0.98.
4.6 Normal Distribution
Solution:
a/ Meth 1: Using the normal distribution.
Let X denote the current in milliamperes. The
requested probability can be represented as
2
x 10
10 1
f x e 8
4
2
2 2
2
x 10
1
P X 13 e 8
dx
13 2 2
Casio
0.0668
4.6 Normal Distribution
Solution:
Meth 2: Using the standard normal distribution.
Let X denote the current in milliamperes.
The requested probability can be represented as
X 10 13 10
Z 1.5
2 2
P X 13 P Z 1.5
1 P Z 1.5
Casio
0.0668
4.6 Normal Distribution
b/ P 9 X 11 0.383
c/ P Z z 0.98 z 14.107
4.7 Standard Normal Approximation to
the Binomial and Poisson Distributions
4.7.1 Standard Normal Approximation to the
Binomial
Under certain conditions, the normal distribution
can be used to approximate the binomial
distribution and the Poisson distribution.
4.7.1 Standard Normal Approximation to
the Binomial Distributions
X B n, p Z N 0,1 Correction
Factor
Condition: np 5, n 1 p 5
x 0.5 np
P X x P Z z , z
np 1 p
x 0.5 np
P x X P z Z , z
np 1 p
P X x P x X x
4.7.1 Standard Normal Approximation to
the Binomial Distributions
Example 1:
To judge how well the normal approximation works,
assume that only n = 50 bits are to be transmitted
and that the probability of an error is p = 0.1 .
a/ The exact probability that two or fewer errors
occur.
b/ P 8 X
c/ P X 5
4.7.1 Standard Normal Approximation to
the Binomial Distributions
Solution:
a/ Use the binomial distribution:
P X 2 P X 0 P X 1 P X 2
C 0.9 C 0.10.9 C 0.1 0.9
50 50 50 49 50 2 48
0 1 2
0.112
4.7.1 Standard Normal Approximation to
the Binomial Distributions
Solution:
a/ Use the standard normal distribution
x 0.5 np 2 0.5 np
z 1.18
np 1 p np 1 p
P Z 1.118 0.119
8.5 np
b/ P 8 X P 9 X P Z
np 1 p
P 1.65 Z 0.05
4.7.1 Standard Normal Approximation to
the Binomial Distributions
c/ P X 5 P 5 X 5
4.5 np 5.5 np
P Z
np 1 p np 1 p
P 0.24 Z 0.24 0.19
b/ P X 15 | X 10