Question Bank Module-3
Question Bank Module-3
1 Introduction
Sample Space and Events
There are lots of phenomena in nature, like tossing a coin or tossing a die, whose outcomes cannot
be predicted with certainty in advance, but the set of all the possible outcomes is known.These
are what we call random phenomena or random experiments. Probability theory is concerned with
such random phenomena or random experiments.
Consider a random experiment. The set of all the possible outcomes is called the sample space of
the experiment and is usually denoted by S. Any subset E of the sample space S is called an event.
Here are some examples.
EXAMPLE: 1.1. Tossing a coin. The sample space is S = {H, T }E = {H} is an event.
EXAMPLE: 1.2. Tossing a coin twice. The sample space is S = {HH, HT, T H, T T }.
E = {HH, HT } is an event, which can be described in words as the ”first toss results in a
Heads”.
EXAMPLE: 1.3. Tossing a coin twice. The sample space isS={HH, HT, T H, T
T}.E={HH, HT} is an event, which can be described in words as ”the first toss results in a
Heads
Axioms of Probability
Consider an experiment with sample spaceS. A real-valued function P on the space of all events of
the experiment is called a probability measure if
(i) for all events E, 0 ≤ P (E) ≤ 1
(ii)P (S) = 1;
(iii) For any sequence of mutually exclusive events E1 , E2 , ...
∞
∪∞
X
P i=1 Ei = P (Ei )
i=1
1
EXAMPLE: 1.4. Tossing a fair die. In this case, the probability measure is given by
P (1) = P (2) = · · · = P (6) = 1/6. If the die is not fair, the probability measure will be
different.
Exercise
1. An urn contains 2 white and 2 black balls and a second urn contains 2 white and 4
black balls. If one ball is drawn at random from each urn what is the probability that
they are of the same color?
2. A bag contains 4 white and 2 black balls. Another bag contains 3 white and 5 black
balls. If a ball is drawn from each, find the probability that (i) both are white (ii) both
are black (iii) one is black and another is white.
3. The probability that a person A solves the problem is 1/3, that of B is 1/2 and that of C
is 3/5. If the problem is simultaneously assigned to all of them what is the probability
that the problem is solved?
4. From 6 positive and 8 negative numbers, 4 numbers are chosen at random and multi-
plied. What is the probability that the product is a positive number?
5. A bag contains 10 white and 3 red balls while another bag contains 3 white and 5 red
balls. 2 balls are drawn at random from the first bag and put in the second bag. Then
a ball is drawn at random from the second bag. What is the probability that it is a
white ball?
6. Two dice are thrown. Find the probability of (a) getting an odd number on the one
and a multiple of 3 on the other (b) one of the dice showed 3 and the sum on the two
dice is 9 (c) sum on the two dice is 9 (d) sum on the two dice is 13.
7. A shooter can hit a target in 3 out of 5 shots and another shooter can hit the target
in 2 out of 4 shots. Find the probability that the target is being hit (a) when both of
them try (b) by only one shooter.
2
Self-test problems
1. Two dice are thrown. Let E be the event that the sum of the dice is odd. Let F be the
event that at least one of the dice lands on 1, and let G be the event that the sum is
5. Find the probability of the events EF, E ∪ F, F G, EF c , and EFG.
3. Suppose that A and B are mutually exclusive events for which P (A) = .3 and P (B) =
.5. What is the probability that
a) either A or B occurs?
b) A occur but B does not?
c) both A and B occur?
4. A retail establishment accepts either the American Express or the VISA credit card. A
total of 24 percent of its customers carry an American Express card, 61 percent carry
a VISA card, and 11 percent carry both cards. What percentage of its customers carry
a credit card that the establishment will accept?
5. Sixty percent of the students at a certain school wear neither a ring nor a necklace.
Twenty percent wear a ring and 30 percent wear a necklace. If one of the students is
chosen randomly, what is the probability that this student is wearing a) a ring or a
necklace? b) a ring and a necklace?
6. A total of 28 percent of American males smoke cigarettes, 7 percent smoke cigars, .05
smoke cigars and cigarettes. How many smoke cigars but not cigarettes?
7. A pair of fair dice is rolled. What is the probability that the second die lands on a
higher value than does the first die?
8. Seven balls are randomly withdrawn from an urn that contains 12 red, 16 blue, and 18
green balls. Find the probability that (a) 3 red, 2 blue, and 2 green balls are withdrawn.
(b) At least 2 red balls are withdrawn. (c) All withdrawn balls are the same colour.
(d) Either exactly 3 red balls or exactly 3 blue balls are withdrawn.
9. An instructor gives her class a set of 1010 problems with the information that the final
exam will consist of a random selection of 55 of them. If a student has figured out how
to do 77 of the problems, what is the probability that he or she will answer correctly
(a)All 55 problems? (b) At least 44 of the problems?
3
2 Conditional probability
Given two events A and B from the sigma-field of a probability space with P (B) > 0, the condi-
tional probability of A given B is defined as the quotient of the probability of the joint of events A
and B, and the probability of B:
P (A ∩ B)
P (A|B) =
P (B)
EXAMPLE: 2.1. The probability that it is Friday and that a student is absent is 0.03.
Since there are 5 school days in a week, the probability that it is Friday is 0.2. What is the
probability that a student is absent given that today is Friday?
Exercise
1. Joe is 80% certain that his missing key is in one of the two pockets of his hanging
jacket, being 40% certain it is in the left-hand pocket and 40% certain it is in the right
- hand pocket . If a search of the left hand pocket does not find the key . What is the
conditional probability that it is in the other pocket? Ans:- 2/3
4
2. Celine is undecided as to whether to take a French course or a chemistry course. She
estimates that her probability of receiving an A grade would be 1/2 in a French course
and 2/3 in a Chemistry course. If Celine decides to base her decision on the flip of a
fair coin, what is the probability that she gets an A in chemistry?
3. A coin is flipped twice . Assuming that all four points in the sample space are equally
likely , What is the conditional probability that both flips land on head , given that
(a) the first flip lands on heads? (b) at least one flip lands on heads?
4. Suppose that an urn contain 8 red balls and 4 white balls . We drawn 2 balls from
the urns without replacement (a) If we assume that each draw , each ball in the urn
is equally likely to be chosen , what is the probability that both balls drawn are red
? (b) Now suppose that the balls have different weights, with red ball having weight r
and each white ball having weight w . suppose that the probability that a given ball
in the urn is the next one selected is its weights divided by the sum of the weights of
all balls currently in the urn . Now what is the probability that both balls are red?
8r 7r
Ans- (a)14/33 (b)
8r + 4w 7r + 4w
5. At Kennedy Middle School, the probability that a student takes Technology and Span-
ish is 0.087. The probability that a student takes Technology is 0.68. What is the
probability that a student takes Spanish given that the student is taking Technology?
Ans:- P(Spanish/Technology) = 0.13
6. The probability of raining on Sunday is 0.07. If today is Sunday than find the proba-
bility of rain today.
Ans:- 0.49
EXAMPLE: 2.4. A bin contains 3 different types of disposable flashlights. The probability
that a type 1 flashlight will give over 100 hours of use is 0.7, with the corresponding proba-
bilities for type 2 and type 3 flashlights being .4 and .3, respectively. Suppose that 20 percent
of the flashlights in the bin are type 1, 30 percent are type 2 and 50 percent are type 3.
i) What is the probability that a randomly chosen flashlight will give more that 100 hours of
use?
ii) Given that a flashlight lasted over 100 hours, what is the conditional probability that it
was a type j flashlight, j=1,2,3?
5
SOLUTION: 2.8. P(A) = (.7)(.2) + (.4)(.3) + (.3)(.5) = 0.41
P(F1 /A) = (.7)(.2)/.41 = 14/41
P(F2 /A) = (.4)(.3)/.41 = 12/41
P(F3 /A) = (.3)(.5)/.41 = 15/41
F10 =
0.3
2
0.
= -1
p pe
Ty
0.4 F 0.4 × 0.3
F2 =
p = 0.3
A
Type-2
F20 =
0.6
p
=
Ty
0.
5
p e-
F 0.3 × 0.5
3
0.3
F3 =
F30 =
0.7
Exercise
1. Three major parties A, B, C are contending for power in the elections of a state and
the chance of their winning the election is in the ratio 1: 3: 5. The parties A, B, C
respectively have probabilities of banning the online lottery 2/3, 1/3, 3/5. What is the
probability that there will be a ban on the online lottery in the state? What is the
probability that the ban is from the party C?
2. A bag contains three coins, one of which is two headed and the other two are normal
and fair. A coin is chosen at random from the bag and tossed four times in succession.
i) Find the probability that head turns up each time. ii) Given that head turns up
each time in succession, what is the probability that it was the two headed coin?
6
4. A company is manufacturing ball pens in two writing colors blue and red make packets
of 10 pens with 5 pens of each color. In a particular shop it was found that after sales,
packet one contained 3 blue and 2 red pens, packet two contained 3 blue and 5 red
pens. On the demand of a customer for a pen, the packet was drawn at random and
a pen was taken out. It was found blue. Find the probability that packet one was
selected.
5. The chance that a doctor will diagnose a disease correctly is 60%. The chance that
a patient will die after correct diagnose is 40% and the chance of death by wrong
diagnosis is 70%. If a patient dies, what is the chance that his disease was correctly
diagnosed?
6. A laboratory blood test is 95% effective in detecting a certain disease when it is, in
fact, present . however,the test also yields a ”false positive” result for 1% of the healthy
person tested.If 0.5% of the population actually has the disease, what is the probability
that a person has the disease given that the test result is positive?
8. A insurance company belives that people can be divided into two classes:those who
are accident prone and those who are not.The company’s statistics show that an
accident -prone person will have an accident at some time within a fixed 1-year period
with probability 0.4,whereas this probability decreases to 0.2 for a person who is
not accident prone.If we assume that 30 percent of the population is accident prone,
what is the probability that a new policyholder will have an accident within a year of
purchasing a policy?
Suppose that the new policy holder has an accident within a year of purchasing a
policy. What is the probability that he or she is accident prone.
9. Suppose a drug test is 99% sensitive and 99% specific. That is, the test will produce
99% true positive results for drug users and 99% true negative results for non-drug
users. Suppose that 0.5% of people are users of the drug. If a randomly selected
individual tests positive, what is the probability that he is a user? Ans:-0.332
10. In a class 70% are boys and 30% are girls. 5% of boys, 3% of the girls are irregular to
the classes. What is the probability of a student selected at random is irregular to the
classes and what is the probability that the irregular student is a girl?
11. In a certain day care 30% of the children have grey eyes , 50% have blue and 20% eyes
are in other colours. One day they play a game together.In first run, 65% of the grey
eye ones, 82% of the blue eyes and 50% of the children with other eye were selected.
Now if a child is selected randomly from the class and we know that he /she was not
in the first game, what is the probability that the child has blue eyes?
7
Self-test problems
3. On rainy days, Joe is late to work with probability 0.3; on nonrainy days, he is late with
probability 0.1. With probability 0.7, it will rain tomorrow. (a) Find the probability
that Joe is early tomorrow. (b) Given that Joe was early, what is the conditional
probability that it rained?
4. Stores A, B, C have 50, 75, and 100 employees, and, respectively, 50, 60, and 70 percent
of these are women. Resignations are equally likely among all employees, regardless
of sex. One employee resigns and this is a woman. What is the probability that she
works in store C?
5. Urn A has 5 white and 7 black balls. Urn B has 3 white and 12 black balls. We flip a
fair coin. If the outcome is heads, then a ball from urn A is chosen. If the outcomes
are tails, then a ball from urn B is chosen. Suppose a white ball is selected, what is
the probability that the coin landed tails?
6. A worker has asked her supervisor for a letter of recommendation for a new job. She
estimates that there is an 80 percent chance that she will get the job if she receives
a strong recommendation, a 40 percent chance if she receives a moderately good rec-
ommendation, and a 10 percent chance if she receives a weak recommendation. She
further estimates that the probabilities that the recommendation will be strong, mod-
erate, and weak are .7, .2, and .1, respectively.(a)How certain is she that she will receive
the new job offer?(b)Given that she does receive the offer, how likely should she feel
that she received a strong recommendation? a moderate recommendation? a weak
recommendation?(c) Given that she does not receive the job offer, how likely should
she feel that she received strong recommendation? A moderate recommendation? A
weak recommendation?
8
3 Random Variables
Frequently, when an experiment is performed, we are interested mainly in some function of the
outcome as opposed to the actual outcome itself. For instance, in tossing dice, we are often
interested in the sum of the two dice and are not really concerned about the separate values of
each die. These quantities of interest, or, more formally, these real-valued functions defined on the
sample space, are known as random variables.
EXAMPLE: 3.1. Three balls are to be randomly selected without replacement from an urn
containing 20 balls numbered 1 through 20. If we bet that at least one of the balls that are
drawn has a number as large as or larger than 17, what is the probability that we win the
bet?
SOLUTION: 3.1. Let X denotes the largest number among the three balls that are selected. Then
X takes the values from 3, 4, ..., 20. Total possible outcomes of selecting 3 balls out of 20 is 20C 3 .
The number of selection that result in the event {X = i} is equal to the number of selections that
result in the ball numbered i and two of the balls numbered 1 through i − 1 being chosen. Hence the
number of selections is 1C 1 × i−1C 2 . Therefore, the required probability is
i−1
C2
P {X = i} = 20
C3
Probability of our winning the bet is
F (x) = P {X ≤ x} −∞<x<∞
is called the cumulative distribution function, or, more simply, the distribution function, of X. It
is to be noted that F (x) is a non decreasing function of x.
p(a) = P {X = a}
9
Definition 1. If X is a discrete random variable having a probability mass function p(x),
then the expectation, or the expected value, of X, denoted by E[X], is defined by
∞
X
E[X] = xi p(xi )
i=0
QUESTION: 3.1. Find E[X], where X is the outcome when we roll a fair die.
QUESTION: 3.2. Calculate V ar(X) if X represents the outcome when a fair die is rolled.
Definition 3. The square root of the V ar(X) is called the standard deviation of X, and we
denote it by SD(X). That is, q
SD(X) = V ar(X)
Exercise
2. A random experiment of tossing a ’die’ twice is performed. Let X denotes the random
variable of sum of two numbers turning up on the toss. Compute E[X] and standard
deviation.
10
5. Find the value of k such that the following distribution represents a finite probability
distribution. Hence find its mean and standard deviation. Also find P {X ≤ 1},
P {X > 1} and P {−1 < X ≤ 2}
xi -3 -2 -1 0 1 2 3
p(xi ) k 2k 3k 4k 3k 2k k
6. A random variable X take the values -3, -2, -1, 0,1, 2, 3 such that P {X = 0} = P {X <
0} and P {X = −3} = P {X = −2} = P {X = −1} = P {X = 1} = P {X = 2} =
P {X = 3}. Find the probability distribution.
7. From a sealed box containing a dozen apples it was found that 3 apples are perished.
Obtain the probability distribution of the number of perished apples when 2 apples
are drawn at random. Also find the mean and variance of this distribution. (Ans:
mean= 1/2 and variance = 15/44)
The function f is called the probability density function of the random variable X.
Z ∞
Remark 2. • f (x)dx = 1
−∞
Z b
• P {a ≤ X ≤ b} = f (x)dx
a
Z a
• If we let a = b, we get P {X = a} = f (x)dx = 0
a
Z a
• Cumulative distribution function F (a) = P {X ≤ a} = P {X < a} = f (x)dx
−∞
d
• Differentiating both sides of the previous equation we get da F (a) = f (a)
11
EXAMPLE: 3.2. The lifetime in hours of a certain kind of radio tube is a random variable
having a probability density function given by
(
0, x ≤ 100
f (x) = 100
x2
, x > 100
What is the probability that exactly 2 of 5 such tubes in a radio set will have to be replaced
within the first 150 hours of operation? Assume that the events Ei , i = 1, 2, 3, 4, 5, that the
ith such tube will have to be replaced within this time are independent.
Exercise
2. The amount of time in hours that a computer functions before breaking down is a
continuous random variable with probability density function given by
(
λe−x/100 , x≥0
f (x) =
0, x, 0
12
3. A continuous random variable has the distribution function
0,
x≤1
F (x) = c(x − 1)4 , 1≤x≤3
1, x > 3
4. The time t years required to complete a software project has probability density func-
tion (
kt(1 − t), 0 ≤ t ≤ 1
f (t) =
0, otherwise
Find k and also the probability that the project will be completed in less than 4 months.
Ans: 7/27
6. A random variable X has the density function f (x) = k/(1 + x2 ), −∞ < x < ∞.
Determine k and hence evaluate (i) P {X ≥ 0} (ii) P {0 < X < 1}.
Ans: 1/2, 1/4
7. The probability density function of X, the lifetime of a certain type of electronic device
(measure in hours) is given by
(
0, x ≤ 10
f (x) = 10
x2
, x > 10
3
If E[X] = , find a and b.
5
9. Consider the function
(
C(2x − x2 ), 0 < x < 5/2
f (t) =
0, otherwise
13
Could f be a probability density function? If so, determine C.