Chapter 2
Chapter 2
We shall use a capital letter, say X, to denote a random variable and its
corresponding small letter, x in this case, for one of its values.
Example 2.1: Two balls are drawn in succession without replacement from a box
containing 4 red, and 3 black balls. List the possible outcomes and the values of
the random variable X, where X is the number of red balls.
A random variable is called discrete random variable if its set of possible Discrete
& Con-
outcomes is countable. And it is called a continuous random variable tinuous
when the random variable takes on a continuous scale. Random
Variables
In most practical problems, discrete random variables represent count data
(cars on road, number of defective in a sample of k items, etc.), whereas
1
Class Notes on
2.2. DISCRETE PRO. DIST. Applied Probability and Statistics ECEG-342
1. f (x) ≥ 0
X
2. f (x) = 1
x
3. P (X = x) = f (x).
Exercise 2.1: If 50% of automobiles sold by an agency for a certain foreign car
are equipped with diesel engines, find a formula for the probability distribution of
the number of diesel models among
the next 4 cars sold by this agency.
4
Answer :f (x) = P (X = x) = /16 for x = 0, 1, 2, 3, 4.
x
There are many problems in which we wish to compute the probability that Cumulative
Distribu-
the observed value of a random variable X will be less than or equal to some tion
real number x. Writing F (x) = P (X ≤ x) for every real number x, we define
F (x) to be the cumulative distribution of the random variable X.
Murad Ridwan, 2 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.3. CONTINUOUS PRO. DIST. Applied Probability and Statistics ECEG-342
Example 2.3: Find the cumulative distribution for the random variable X in the
above example.
Example 2.4: Suppose that the error in the reaction temperature, in o C, for a
controlled laboratory experiment is a continuous random variable X having the
probability density function
(
cx2 , −1 ≤ x ≤ 2
f (x) =
0, elsewhere
b. Find P (0 ≤ X ≤ 1)
Murad Ridwan, 3 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.3. CONTINUOUS PRO. DIST. Applied Probability and Statistics ECEG-342
Exercise 2.2:
(a) Evaluate k
(b) Find F (x) and use it to evaluate P (0.3 < X < 0.6)
2. Show that the random variable X=number of times a fair coin is tossed
until a head appears has the probability function
f (x) = 2−x (x = 1, 2, · · · )
4. Find the probability that none of three bulbs in a traffic signal will have to
be replaced during the first 1200 hours of operation if the lifetime X of a
bulb is a random variable with the density f (x) = 6[0.25 − (x − 1.5)2 ] where
1 ≤ x ≤ 2 and f (x) = 0 otherwise, where x is measured in multiples of 1000
hours. Z 2
Answer : P (X > 1200) = f (x)dx = 0.896
1.2
Murad Ridwan, 4 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.4. JOINT PROBABILITY DISTRIBUTION Applied Probability and Statistics ECEG-342
3. P (X = x, Y = y) = f (x, y)
Example 2.6: Two refills for a ballpoint are selected at random from a box that
contains 3 blue refills, 2 red refills, and 3 green refills. If X is the number of blue
refills and Y is the number of red refills selected, find
When X and Y are continuous random variables, the joint density func-
tion f (x, y) is a surface lying above the xy plane, and P [(X, Y ) ∈ A], were A
is any region in the xy plane, is equal to the volume of the cylinder bounded
by the base A and the surface.
Murad Ridwan, 5 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.4. JOINT PROBABILITY DISTRIBUTION Applied Probability and Statistics ECEG-342
a. Compute c
b. Find P [(X, Y ) ∈ A], where A is the region {(x, y)|0 < x < 12 , 14 < y < 12 }
Example 2.8: Find g(x) and h(y) for the joint density function in the above ex-
ample.
If one wishes to find the probability that the discrete random variable X
falls between a and b when it is known that the discrete variable Y = y, we
evaluate X
P (a < X < b|Y = y) = f (x/y)
x
Murad Ridwan, 6 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.5. INDEPENDENT RANDOM VARIABLES Applied Probability and Statistics ECEG-342
where the summation extends over all values of X between a and b. When
X and Y are continuous, we evaluate
Z b
P (a < X < b|Y = y) = f (x/y)dx
a
Example 2.9: Suppose that the shelf life, in years, of a certain perishable food
product packed in cardboard container is a random variable whose probability
density function is given by
(
e−x , x > 0
f (x) =
0, elsewhere
Let X1 , X2 and X3 represent the shelf lives for three of these containers selected
independently and find P (X1 < 2, 1 < X2 < 3, X3 > 2)
Exercise 2.4:
1. If the joint distribution of X and Y is given by
x+y
f (x, y) = , for x = 0, 1, 2, 3; y = 0, 1, 2.
3
find
Murad Ridwan, 7 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.
Class Notes on
2.5. INDEPENDENT RANDOM VARIABLES Applied Probability and Statistics ECEG-342
(a) P (X ≤ 2, Y = 1)
(b) P (X > 2, Y ≤ 1)
(c) P (X > Y )
(d) P (X + Y = 4)
1 7 3 4
Answer : (a) 5 (b) 30 (c) 5 (d) 15
find
(a) k
(b) P (1 < X < 2, 2 < Y ≤ 3)
(c) P (1 ≤ X ≤ 2)
(d) P (X + Y > 4)
1 13 14 8
Answer : (a) 50 (b) 75 (c) 25 (d) 15
find
(a) k
(b) the joint marginal density functions of Y and Z
(c) the marginal density of Y
(d) P ( 14 < X < 21 , Y > 31 , 1 < Z < 2)
(e) P (0 < X < 12 |Y = 14 , Z = 2)
Answer : (a) 94 (b) g(y, z) = 29 yz 2 , 0 < y < 1, < z < 3 (c) h(y) =
7
2y, 0 < y < 1 (d) 162 (e) 41
4. Two people agree to meet between 2:00 P.M. and 3:00 P.M. with the under-
standing that each will wait no longer than 15 minutes for the other. What
is the probability that they will meet?
7
Answer : 16
Murad Ridwan, 8 of 8
Dep. of Electrical & Computer Engineering
AiOT, Addis Ababa University.
July 2010.