Chapter Two RV 13-1-2019
Chapter Two RV 13-1-2019
Random Variables
2.1) Introduction
It is often possible to model real systems by using the same or similar
random experiments and their associated random variables. Numerical
random variables may be classified in two broad but distinct categories
called discrete random variables and continuous random variables. Often,
discrete random variables are associated with counting while continuous
random variables are associated with measuring.
Random Variables
A random variable is a function or rule that assigns a number to each
outcome of an experiment. Basically it is just a symbol that represents the
outcome of an experiment.
In practice, engineers are often concerned with two broad types of variables
and their probability distributions: discrete random variables and their
distributions, and continuous random variables and their distributions.
Discrete distributions arise from experiments involving counting, for
example, road deaths, car production and aircraft sales, while continuous
distributions arise from experiments involving measurement, for example,
voltage, corrosion and oil pressure.
The sample space S is termed the domain of the r.v. X, and the collection of
all numbers [values of ] is termed the range of the r.v. X. Thus the range
of X is a certain subset of the set of all real numbers.
Note that two or more different sample points might give the same value
of , but two different numbers in the range cannot be assigned to the
same sample point.
S X
𝜻
𝑿 𝜻 R
Random variable X as a function
Page 29
Chapter Two: Random Variables
We will use capital letters from the end of the alphabet to represent a
random variable.
Usually X.
The corresponding lower case letter will represent a particular
value of the random variable.
P(X = x) is the probability that the random variable X is equal
to the value x.
Random
Outcomes
Variable
H 1
T 0
S T
H
0 1
Page 30
Chapter Two: Random Variables
Page 31
Chapter Two: Random Variables
Example 2.2: Tossing a fair coin three times. The random variable X gives
the number of heads recorded. Find the values of X.
the sample space is S={HHH, HHT, HTH, HTT, THH, THT, TTH,TTT}.
The possible values of X are 0,1,2, 3. Each outcome is equally likely for
example the event X = 1, when written as a set of outcomes, is equal to
{HTT,THT,TTH}, and has probability 3/8.
x 0 1 2 3
P(X=x) 1/8 3/8 3/8 1/8
Example 2.3: Consider the experiment of throwing a fair die. Let be the
r.v. which assigns if the number that appears is even and if the number
that appears is odd.
(a) What is the range of ?
(b) Find and .
Solution:
The sample space on which is defined consists of 6 points which are
equally likely:
(a) The range of 𝑥 𝑥 .
(b) . Thus, . Similarly,
, and .
Page 32
Chapter Two: Random Variables
Find the value of C, find F(xi) and graph both f(x) and F(x)
Solution:
f(x)
∑
F(x)
𝑛𝑑
Page 33
Chapter Two: Random Variables
Example 2.5: Turbo Generators PLC manufactures seven large turbines for
a customer. Three of these turbines do not meet the customer‟s specification.
Quality control inspectors choose two turbines at random. Let the discrete
random variable X be defined to be the number of turbines inspected which
meet the customer‟s specification.
Solution:
(a) The possible values of X are clearly 0, 1 or 2
Sample Space Value of X
Turbine faulty, Turbine faulty 0
Turbine faulty, Turbine good
1
Turbine good, Turbine faulty
Turbine good, Turbine good 2
(c)
F(x)
𝑛𝑑
Page 34
Chapter Two: Random Variables
𝐸 𝜇 ∑
Properties of mean
a) 𝐸 𝑐 𝑐 𝑐 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡 𝑛𝑡
b) 𝐸 𝑐 𝑐𝐸 .
c) 𝐸 𝑌 𝐸 𝐸 𝑌
d) 𝐸 𝑌 𝐸 𝐸 𝑌
𝑖𝑓 𝑛𝑑 𝑌 𝑟𝑒 𝐼𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑅 𝑉
Example 2.6:
Let the random variable X of the discrete type have the pdf given by the
table:
X 1 2 3 4
P(X) 0.4 0.1 0.3 0.2
𝐸 ∑𝑥 𝑥
( ) ( ) ( ) ( )
Example 2.7: A player tosses a fair die. If a prime number occurs he wins
that number of dollars, but if a non-prime number occurs he loses that
number of dollars.is this game fair to the player.
Page 35
Chapter Two: Random Variables
x -6 -4 -1 2 3 5
P(x) 1/6 1/6 1/6 1/6 1/6 1/6
𝐸 ∑𝑥 𝑥 ( ) ( ) ( )
( ) ( ) ( )
Thus the game is unfavorable to the player since the expected value is
negative.
Variance:
The variance and associated standard deviation are used to measure the
variability of the random variable. The formula for the variance is
𝑉 𝑟 ∑( 𝑖 𝐸 ) 𝑖
Page 36
Chapter Two: Random Variables
That is,
𝑉 𝑟 𝐸 𝐸
Standard Deviation:
Standard deviation is a measure that is used to quantify the amount of
variation or dispersion of a set of data values. A low standard deviation
indicates that the data points tend to be close to the mean of the set, while a
high standard deviation indicates that the data points are spread out over a
wider range of values.
Covariance:
Covariance is a measure of the association or dependence between two
random variables X and Y. Covariance can be either positive or negative.
(Variance is always positive.)
𝑐𝑜𝑣 𝑌 𝐸 𝜇 𝑌 𝜇 𝐸 𝑌 𝐸 𝐸 𝑌
Page 37
Chapter Two: Random Variables
Properties of variance
a) 𝑉 𝑟 𝑐 𝑐 𝑖𝑠 𝑐𝑜𝑛𝑠𝑡 𝑛𝑡
b) 𝑉 𝑟 𝑐 𝑏 𝑐 𝑉 𝑟 .
c) 𝑉 𝑟 𝑌 𝑉 𝑟 𝑉 𝑟 𝑌
𝑖𝑓 𝑛𝑑 𝑌 𝑟𝑒 𝐼𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑅 𝑉
d) 𝑉 𝑟 𝑌 𝑉 𝑟 𝑉 𝑟 𝑌 𝑜𝑣 𝑌
𝑖𝑓 𝑛𝑑 𝑌 𝑟𝑒 𝑛𝑜𝑡 𝐼𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑅 𝑉
Prove that: 𝑉 𝑟 𝑏 𝑉 𝑟
𝑉 𝑟 𝑏 𝐸 𝑏 𝐸 𝑏
𝐸( 𝑏 𝜇 𝑏 )
𝐸 𝜇
𝐸 𝜇
𝑉 𝑟
Page 38
Chapter Two: Random Variables
𝐸 ∑𝑥 𝑥
(
)
𝑉 𝑟 Xi P(Xi)
XiP(Xi) X2iP(Xi)
𝐸 𝐸 0 0 0.1 0
1 0.10.1 0.1
. 2 0.20.1 0.4
3 0.30.1 0.9
4 0.40.1 1.6
5 0.50.1 2.5
√ 6 0.60.1 3.6
√ 7 0.70.1 4.9
8 0.80.1 6.4
9 0.90.1 8.1
E(X)=4.5 E(X2)=28.5
Example 2.9: A discrete random variable X has the following probability
distribution:
X 1 2 3 4 5 6 7
P(X)
Find the value of C. Also find the mean of distribution.
Solution:
∑ =𝑐 𝑐 𝑐 𝑐 𝑐 𝑐 𝑐 𝑐
𝑐 𝑐 𝑐 𝑐
𝑐 𝑐 𝑟𝑒𝑗𝑒𝑐𝑡𝑒𝑑
𝐸 𝜇 ∑
Page 39
Chapter Two: Random Variables
x 0 1 2 3 4
P(X=x) 0.37 0.39 0.19 0.04 0.01
a) Calculate the expected value, the variance and the standard deviation
of the random variable X.
b) Graph the probability distribution P(X=x) and the corresponding
cumulative probability distribution F(x).
Solution:
f(x)
𝐸 ∑𝑥 𝑥
𝑉 𝑟 𝑥
F(x)
∑( 𝐸 )
( )
Page 40
Chapter Two: Random Variables
Sheet (2-1)
1) Find the expectation 𝜇, variance and standard deviation of each of
the following distributions:
𝑥 2 3 5 𝑥 -5 -4 1 2
i) ii)
𝑓 𝑥 1/3 1/2 1/9 𝑓 𝑥 1/4 1/8 1/2 1/8
X 1 2 3 4 5 6 7
P(X)
Find the value of C. Also find the mean and variance of distribution.
5) A coin weighted so that P(H) =2/3 and P(T) =1/3 is tossed three times.
The random variable X gives the number of heads recorded.
a) Find random variable.
b) Find the probabilities assigns to each random variable.
c) Find and graph the probability density function and the
cumulative distribution function.
d) Find the mean and variance of distribution
Page 41
Chapter Two: Random Variables
Page 42
Chapter Two: Random Variables
1) Mean 𝜇 𝐸 𝑛𝑝
2) Variance 𝑛𝑝𝑞
3) Standard Deviation √𝑛𝑝𝑞
Here 𝑛 𝑝 and 𝑞 𝑝
(i) Exactly 2 games,
𝑤𝑖𝑛𝑠 𝑏( )
( )( ) ( ) ( ) ( )
(ii) At least 1 game,
( )( ) ( )
(iii) More than half of the games.
( )( ) ( ) ( )( ) ( )
Example 2.12: Eggs are packed in boxes of 12.
The probability that each egg is broken is 0.35
Find the probability that there are less than 3
broken eggs
Solution:
Here 𝑛 𝑝 and 𝑞 𝑝
( ) ( ) ( )
Page 43
Chapter Two: Random Variables
( ) ( ) ( )
Cumulative Binomial
𝑛𝑥 𝑝 𝑥 ∑𝑏 𝑛 𝑘 𝑝
We can evaluate the value direct form the binomial cumulative tables.
Example 2.14: On the basis of past experience, the probability that a certain
electrical component will be satisfactory is 0.98. The components are
sampled item by item from continuous production. In a sample of five
components, what are the probabilities of finding:
Solution:
Here 𝑛 𝑝 and 𝑞 𝑝
( )
𝑏 ( )
𝑐 ( )
Page 44
Chapter Two: Random Variables
The Poisson distribution applies in its own right where the possible
number of discrete occurrences is much larger than the average number of
occurrences in a given interval of time or space. The number of possible
occurrences is often not known exactly. The outcomes must occur randomly,
that is, completely by chance, and the probability of occurrence must not be
affected by whether or not the outcomes occurred previously, so the
occurrences are independent. In many cases, although we can count the
occurrences, such as of a thunderstorm, we cannot count the corresponding
nonoccurrences. (We can‟t count “non-storms”!)
𝑒
𝑥
𝑥
where λ is the average number of occurrences per base unit, and t is the
number of base units inspected
Page 45
Chapter Two: Random Variables
1) Mean 𝜇 𝐸
2) Variance
3) Standard Deviation √
Solution:
𝑒
𝑒
𝑒
𝑏 𝑥 𝑛 ∑
𝑖
Example 2.17: The mean number of people arriving per hour at a shopping center
is 18. Find the probability that the number of customers arriving in an hour is 20.
Solution:
𝑒
𝑥
𝑥
𝑒
Page 46
Chapter Two: Random Variables
𝑡𝑖𝑚𝑒
𝑠𝑒𝑐𝑜𝑛𝑑 𝑚𝑖𝑛
𝑠𝑒𝑐𝑜𝑛𝑑
𝑒 𝑒
𝑥
𝑥
𝑏 𝑡𝑖𝑚𝑒
𝑠𝑒𝑐𝑜𝑛𝑑 𝑚𝑖𝑛
𝑠𝑒𝑐𝑜𝑛𝑑
Example 2.19: Suppose the average number of car accidents on the highway
in one day is 4. What is the probability of no car accident in one day? What
is the probability of 1 car accidence in two days?
Solution:
It is sensible to use Poisson random variable representing the number of car
accidents on the high way. Let X representing the number of car accidents on
the high way in one day. Then,
E( X ) 4 .
Then,
e 4 4 0
P( No car accident in one day) P( X 0) e 4 0.0183
0!
Since the average number of car accidents in one day is 4, thus the average
number of car accidents in two days should be 8. Let Y represent the number
of car accidents in two days. Then,
Enew ( X ) 8 .
Then,
e 8 81
P(1 car accidents in two days) P( X 1) 8e 8 0.002
1!
Page 47
Chapter Two: Random Variables
𝑘 𝑝𝑞 𝑘 𝑝 𝑞
1) Mean 𝜇 𝐸
2) Variance
√
3) Standard Deviation
Example 2.20: A sharpshooter normally hits the target 70% of the time
• Find the probability that her first hit is on the second shot.
𝑝𝑞
• Find the mean
mean = 1/p = 1/0.7 =1.43
• Find the variance 2 q2 0.3 0.6122
p 0.49
q 1 0.7
• Find the standard deviation 0.78
p 0.7
Page 48
Chapter Two: Random Variables
Sheet (2-2)
1) A company supplying transistors claims that they produce no more than
2% defectives. A purchaser picks 50 at random from an order of 5000
and tests the 50. If he finds more than 1 defective, he rejects the order. If
the supplier‟s claim is true and 2% of the transistors are defective, what
is the probability that the order will be rejected?
2) Ten judges are asked to pick the best tasting orange juice from two
samples labeled A and B. If, in fact, A and B are the same orange juice,
what is the probability that eight or more of the judges will declare the
same sample to be the best? Assume that no judge says that they are
equal.
3) A sample of eleven electric bulbs is drawn every day from those
manufactured at a plant. The eleven bulbs are tested before shipment to
the customer. An analysis of the test data collected over a number of
years reveals that the probability of finding no defective bulb in a sample
of eleven bulbs is 0.5688. Probabilities of defective bulbs are random and
independent of previous results.
a) What is the probability of finding exactly three defective bulbs in
a sample?
b) What is the probability of finding three or more defective bulbs
in a sample?
4) The probability that a certain type of IC chip will fail after installation is
0.06. A memory board for a computer contains twelve such chips. The
operation will be satisfactory if ten or more of the chips on the board do
not fail.
a) What is the probability that a memory board operates satisfactorily?
b) If there are five such memory boards in a given computer, what is the
probability that at least four of them operate satisfactorily?
c) State any assumptions.
5) 5% of a large lot of electrical components are defective. Six batches of
four components each are drawn from this lot at random.
a) What is the probability that any one batch contains fewer than two
defectives?
b) What is the probability that at least five of the six batches contain
fewer than two defectives each?
c) State any assumptions.
6) A company is considering drilling four oil wells. The probability of
success for each well is 0.40, independent of the results for any other
well. The cost of each well is $200,000. Each well that is successful will
be worth $600,000.
a) What is the probability that one or more wells will be successful?
b) What is the expected number of successes?
Page 49
Chapter Two: Random Variables
Page 50
Chapter Two: Random Variables
• A continuous variable
has infinite precision,
hence 𝑥 for
any 𝑥.
• In this case, the p.m.f.
will provide no useful
information.
𝑓 𝑥 𝑓𝑜𝑟 𝑙𝑙 𝑥
∫ 𝑓 𝑥 𝑑𝑥
𝑏 ∫ 𝑓 𝑥 𝑑𝑥 𝑏
Page 51
Chapter Two: Random Variables
Example 2.21: Which of the following are not probability density functions?
𝑥 𝑥 𝑥
iii) 𝑓 𝑥 {
Solution:
𝑥 𝑥
i) We can write 𝑓 𝑥 {
𝑓 𝑥 𝑓𝑜𝑟 𝑙𝑙 𝑥
𝑏𝑢𝑡 ∫ 𝑓 𝑥 𝑑𝑥 ∫ 𝑥 𝑑𝑥
𝑥 𝑥
ii) We have 𝑓 𝑥 {
𝑓 𝑥 𝑓𝑜𝑟 𝑙𝑙 𝑥
∫ 𝑓 𝑥 𝑑𝑥 ∫ ( 𝑥) 𝑑𝑥
iii) ∫ 𝑓 𝑥 𝑑𝑥 ∫ 𝑥 𝑥 𝑑𝑥
𝑥 𝑥 𝑥
Page 52
Chapter Two: Random Variables
Example 2.22: Suppose that the error in the reaction temperature, in ◦C, for
a controlled laboratory experiment is a continuous random variable having
the probability density function
𝑥
𝑓 𝑥 { 𝑥
𝑒𝑙𝑠𝑒𝑤𝑒𝑟𝑒
a) Verify that f(x) is a density function.
b) Find .
Solution:
a) Obviously, f(x) ≥ 0. To verify condition 2 we have
𝑥 𝑥
∫ 𝑓 𝑥 𝑑𝑥 ∫ 𝑑𝑥 | ( )
b)
𝑥 𝑥
∫ 𝑑𝑥 |
For each 𝑥, 𝑥 is the area under the density curve to the left of 𝑥.
Page 53
Chapter Two: Random Variables
Remark:
Let be a continuous R.V with pdf 𝑓 𝑥 and cdf 𝑥 . Then for any
number ,
𝑑 𝑥 𝑥
𝑓 𝑥 {
𝑑𝑥
𝑒𝑙𝑠𝑒𝑤𝑒𝑟𝑒
Page 54
Chapter Two: Random Variables
𝜇 𝐸 ∫ 𝑥 𝑓 𝑥 𝑑𝑥
The variance of , denoted as 𝑉 𝑟 or is
𝑉 𝑟 ∫ 𝑥 𝜇 𝑓 𝑥 𝑑𝑥 ∫ 𝑥 𝑓 𝑥 𝑑𝑥 𝜇
𝑓 𝑥 { 𝑥 𝑥
𝐸 ∫ 𝑥 ( 𝑥) 𝑑𝑥 [ 𝑥 ]
𝐸 ∫ 𝑥 ( 𝑥) 𝑑𝑥 [ 𝑥 ]
𝑉 𝑟 𝐸 (𝐸 )
Page 55
Chapter Two: Random Variables
Sheet (2-3)
1) Suppose that X is a continuous random variable whose probability
density function is given by
𝑥
𝑓 𝑥 {
(a) What is the value of C?
(b) Find P{X > 1}.
2) Consider the density function 𝑓 𝑥 {𝑘 √𝑥 𝑥
𝑒𝑙𝑠𝑒𝑤𝑒𝑟𝑒
(a) Evaluate k.
(b) Find F(x) and use it to evaluate
3) Find the probability that X takes a value
between −1 and 1 when the pdf is given
by the following figure.
4) The cumulative distribution function of
random variable X is
𝑥
𝑥
𝑥 { 𝑥
𝑥
Find the E(X) and Var(X).
5) Let the lifetime X of an electronic component in months be a continuous
r.v. with 𝑓 𝑥 𝑥 .
a) Find P(X > 20).
b) Find the cdf.
c) Use the cdf to compute P(X > 20).
d) Find the 75th percentile of the distribution of X.
e) Compute the probability that among 6 such electronic components, at least two
will survive more than 15 months.
6) A probability density function for x in radians is given by:
𝑓 𝑥 𝑥 𝑥
{ 𝑥
a) Find the probability that is between and .
b) Find an expression for the corresponding cumulative distribution function, F(x), for
𝑥 .
c) If 𝑥 , what is the value of f(x)? Explain why this is or is not a reasonable result.
d) What is the probability that X is exactly ? Explain why this is or is not a
reasonable result.
e) Repeat part (a) using F(x).
Page 56
Chapter Two: Random Variables
𝑏 𝑏
𝐸 ∫ 𝑥 𝑓 𝑥 𝑑𝑥 ∫𝑥 𝑑𝑥 𝑥 |
𝑏 𝑏 𝑏
𝑉 𝑟 𝐸 (𝐸 )
𝑏 𝑏
∫ 𝑥 𝑓 𝑥 𝑑𝑥 ( ) ∫𝑥 𝑑𝑥 ( )
𝑏
𝑏 𝑏
𝑥 | ( )
𝑏
Example 2.26: Suppose the amount of gasoline sold daily at a service station is
uniformly distributed with a minimum of 2,000 gallons and a maximum of 5,000
gallons. What is the probability that daily sales will fall between 2,500 gallons and
3,000 gallons?
Solution:
What is the probability that the service station will sell at least 4,000 gallons?
Page 57
Chapter Two: Random Variables
𝑓 𝑥 𝑒 𝑥
Examples:
Solution:
𝑖 𝐸 𝑜𝑢𝑟𝑠
𝑖𝑖 ( ) 𝑒 𝑒
Page 58
Chapter Two: Random Variables
The Normal (or Gaussian) distribution is a function gives the probability that
an event will fall between any two real number limits as the curve
approaches zero on either side of the mean. Area underneath the normal
curve is always equal to 1. The curve itself is approximately bell shaped, and
is therefore informally called the Bell Curve.
𝑓 𝑥 𝑒
√
This curve is always bell-shaped with the center of the bell located at the
value of 𝜇. The height of the bell is controlled by the value of .As with all
normal distribution curves it is symmetrical about the center and decays as
𝑥 . As with any probability density function the area under the curve
is equal to 1.
Page 59
Chapter Two: Random Variables
Clearly, since 𝜇 and can both vary, there are infinitely many normal
distributions and it is impossible to give tabulated information concerning
them all.
For example, if we produce piston rings which have a target mean internal
diameter of 45 mm then we may realistically expect the actual diameter to
deviate from this value. Such deviations are well modelled by the normal
distribution. Suppose we decide that diameters in the range 44.95 mm to
45.05 mm are acceptable, we may then ask the question „What proportion of
our manufactured output is satisfactory?‟
Without tabulated data concerning the appropriate normal distribution we
cannot easily answer this question (because the integral used to calculate
areas under the normal curve is intractable.)
Page 60
Chapter Two: Random Variables
Solution:
𝜇 𝑛𝑑 so that . Hence is the
required transformation.
Solution:
When
When
So lies between and
Page 61
Chapter Two: Random Variables
Since the total area under the curve is equal to 1 it follows from the
symmetry in the curve that the area under the curve in the region is
equal to 0.5. In the above figure the shaded area is the probability that Z
takes values between 0 and z1. When we „look-up‟ a value in the table we
obtain the value of the shaded area.
Example 2.30: What is the probability that Z takes values between 0 and
1.9? What is the probability that Z takes values between 0 and 1.96?
Solution:
The row beginning „1.9‟ and the column headed „0‟ is the appropriate
choice and its entry is 4713. This is to be read as 0.4713 (we omitted
the „0.‟ in each entry for clarity.) The interpretation is that the
probability that Z takes values between 0 and 1.9 is 0.4713.
This time we want the row beginning 1.9 and the column headed „6.’
The entry is 4750 so that the required probability is 0.4750.
Case 1
Direct from table
Case 2
The figure illustrates what we do if both Z values are positive. By using the
properties of the standard normal distribution we can organise matters so that
any required area is always of „standard form‟.
Here the shaded region can be represented by the difference between two
shaded areas.
Example 2.31
Find the probability that Z takes values between 1 and 2.
Solution:
Using Table :
P(Z = z2) i.e. P(Z = 2) is 0.4772
P(Z = z1) i.e. P(Z = 1) is 0.3413.
Hence
Remember that with a continuous distribution, P(Z = 1) is meaningless (will
have zero probability) so that is interpreted as
.
Page 62
Chapter Two: Random Variables
Case 3
The following diagram illustrates the procedure to be followed when finding
probabilities of the form P(Z > z1).
This time the shaded area is the difference between the right-hand half of the
total area and an area which can be read off from Table.
Example 2.32:
What is the probability that ?
Solution:
(from Table). Hence the probability is
.
Case 4
Here we consider the procedure to be followed when calculating
probabilities of the form P(Z < z1).
Here the shaded area is the sum of the left-hand half of the total area and a
„standard‟ area.
Example 2.33:
What is the probability that ?
Solution:
Case 5
Here we consider what needs to be done when calculating probabilities of the
form P(−z1 < Z < 0) where z1 is positive. This time we make use of the
symmetry in the standard normal distribution curve
Page 63
Chapter Two: Random Variables
Example 2.34:
What is the probability that ?
Solution:
The area is equal to that corresponding to .
Case 6
Finally we consider probabilities of the form P(−z2 < Z < z1). Here we use
the sum property and the symmetry property.
Example 2.35:
Solution:
𝑏
𝑐 𝑑
𝑒 𝑓
𝑔
Solution:
𝑑
𝑒
𝑓
𝑔
Page 64
Chapter Two: Random Variables
Example 2.37: Piston rings are mass-produced. The target internal diameter
is 45 mm but records show that the diameters are normally distributed with
mean 45 mm and standard deviation 0.05 mm. An acceptable diameter is one
within the range 44.95 mm to 45.05 mm. What proportion of the output is
unacceptable?
Solution:
There are many words in the statement of the problem; we must read them
carefully to extract the necessary information. If X is the diameter of a piston
ring then .
The transformation is .
Using the symmetry of the curves P(−1 < Z < 1) = 2 × P(0 < Z < 1) =
2 × 0.3413 = 0.6826.
Thus the proportion of unacceptable items is 1 − 0.6826 = 0.3174, or
31.74%.
Page 65
Chapter Two: Random Variables
Example 2.39: A sample of 250 students takes the final exam test at 2nd year
in Benha faculty of engineering, the test score normally distributed with a
mean of 70 and a standard deviation of 8.
a) How many students take score from 62 to 78?
b) How many students exceed 80?
Solution:
𝜇
𝜇
𝑏
Page 66
Chapter Two: Random Variables
Sheet (2-4)
1) The current (in mA) measured in a piece of copper wire is known to
follow a uniform distribution over the interval [0, 25]. Write down the
formula for the probability density function f(x) of the random variable X
representing the current. Calculate the mean and variance of the
distribution and find the cumulative distribution function F(x).
Page 67
Chapter Two: Random Variables
Page 68
Chapter Two: Random Variables
Assignment (2)
1) The probability distribution for a random variable Y is given in table.
Find the mean, variance, and standard deviation of Y .
y P(y)
0 1/8
1 1/4
2 3/8
3 1/4
2) Determine variance and standard deviation of the number of heads in
three tosses of a coin.
3) Let Y denote a random variable that has a Poisson distribution with mean
λ = 2. Find
a. P(Y = 4).
b. P(Y ≥ 4).
c. P(Y < 4).
d. P(Y ≥ 4|Y ≥ 2).
4) Customers arrive at a checkout counter in a department store according
to a Poisson distribution at an average of seven per hour. If it takes
approximately ten minutes to serve each customer, find the mean and
variance of the total service time for customers arriving during a 1-hour
period. (Assume that a sufficient number of servers are available so that
no customer must wait for service.) Is it likely that the total service time
will exceed 2.5 hours?
5) The number of typing errors made by a typist has a Poisson distribution
with an average of four errors per page. If more than four errors appear
on a given page, the typist must retype the whole page. What is the
probability that a randomly selected page does not need to be retyped?
6) Given 𝑓 𝑦 𝑐𝑦 𝑦 , and 𝑓 (𝑦) = 0 elsewhere, find the
value of 𝑐 for which 𝑓 (𝑦) is a valid density function.
𝑓 𝑦 { 𝑦 𝑦
𝑜𝑡𝑒𝑟𝑤𝑖𝑠𝑒
with measurements in hundreds of calories. Find the expected daily
solar radiation for October.
9) The cycle time for trucks hauling concrete to a highway construction site
is uniformly distributed over the interval 50 to 70 minutes. What is the
probability that the cycle time exceeds 65 minutes if it is known that the
cycle time exceeds 55 minutes?
10) The resistance of a strain gauge is normally distributed with a mean of
100 ohms and a standard deviation of 0.2 ohms. To meet the
specification, the resistance must be within the range 100 ± 0.5 ohms.
a) What percentage of gauges are unacceptable?
b) To what value must the standard deviation be reduced if the
proportion of unacceptable gauges is to be no more than 0.2%?
11) Assume a normal distribution with a mean of 70 and a standard
deviation of 12. What limits would include the middle 65% of the
cases?
************************************
Page 70