Professional Documents
Culture Documents
Fundamental Principles of Counting
Fundamental Principles of Counting
Fundamental Principles of Counting
– Ans: 26 × 25 × 24
– Ans: 4 x 4 x 4 x 4 x 4 or 45
• Five persons entered the lift cabin on the ground
floor of an 8-floor house.
• Suppose each of them can leave the cabin
independently at any floor beginning with the
first.
• Find the total number of ways in which each of
the five persons can
• leave the cabin
i. at any one of the 7 floors
ii. at different floors.
• Ans:
i. 75
ii. 7 × 6 × 5 × 4 × 3
Permutation
A permutation is an ordered arrangement of
objects.
Example:
• If there are three objects (a, b, c),
• Permutations of these objects, taking two at a
time, are
• ab, ba, bc, cb, ac, ca.
• Total Number of permutations of n distinct
things, taken r at a time is denoted by nPr.
nP = n(n − 1)(n − 2)...(n − (r − 1))
r
= n! / (n − r)!
Examples:
• Seven athletes are participating in a race. In how
many ways can the first three prizes be won?
• 7P3
• How many different signals can be made by 5
flags from 8 flags of different colors?
• 8P5
• In how many ways can 6 persons stand in a
queue?
• 6P6
• It is required to seat 5 men and 4 women in a
row so that the women occupy the even places.
How many such arrangements are possible?
• 4P4 × 5P5
• Three men have 4 coats, 5 shirts and 6 caps. In
how many ways can they wear them?
• 4P3 × 5P3 × 6P3
Combinations
Each of the different selections made by taking
some or all of a number of objects, irrespective
of their arrangements is called a combination.
• Example: Combinations of three letters taking
two at a time, are
• ab, bc, ac
• The Number of all combinations of n objects,
taken r at a time is denoted by .
n
n
Cr or
r
• nCr = Number of ways of selecting r
objects from n objects
n!
n
Cr = = Cn − r
n
(n − r )!r!
Examples:
• If there are 12 persons in a party, and if each two
of them shake hands with each other, how many
handshakes happen in the party?
• 12C
2
• A question paper has two parts, Part A and Part B, each
containing 10 questions. If the student has to choose 8
from Part A and 5 from Part B, in how many ways can he
choose the questions?
• 10C8 x 10C5
• In how many ways a committee of 5 members can be
selected from 6 men and 5 women, consisting of 3 men
and 2 women?
• 6C3 x 5C2
• In how many ways can a cricket eleven be chosen out of
a batch of 15 players if
– (i) there is no restriction on the selection;
– (ii) a particular player is always chosen;
– (iii) a particular player is never chosen?
• 15C11 , 14C ,
10
14C
11
Probability Theory
• If an experiment is repeated under
homogeneous conditions we generally come
across two types of outcomes-
n
Probability of “selecting a white ball”= .
n+m
• In general
– S is a sample space
– A is some event in S.A( S)
– nA is the number of occurrences of A
– n is the total number of outcomes.
– The Probability of event A is nA
P( A) =
n
• P(A) satisfies following 3 axioms:
(i) 1 P( A) 0
(ii) P( S ) = 1 (Sum of the probablities of all outcomes in
S must be 1)
(iii) P( A B) = P( A) + P( B), provided A B =
• Addition Law of Probability
▪ P(AUB) = P(A) + P(B) – P(A ∩B)
– P(AUB) = P(A) + P(B), provided A∩B = φ
– A∩B = φ means A and B are mutually exclusive
Examples:
• What is the chance that a leap year selected at random
will contain 53 Sundays?
Ans: 2/7
• A bag contains 3 red, 6 white and 7 blue balls. What is
the probability that two balls drawn, at random, are white
and blue?
Ans: .35 (Without Replacement)
• Two cards are drawn at random from a well shuffled
pack of 52 cards. What are the chances of drawing two
aces?
Ans: 1/221 (Without replacement)
• Three cards are drawn from a well shuffled pack of 52
cards. What are the chances that they are a K, a Q and
a J?
Ans: 16/5525 (Without replacement)
Examples:
Consider a biased coin with probability of Heads as 1/3 and of
Tails as 2/3. The coin is tossed 5 times. What is the
probability of getting 2 Heads?
n( A B ) n( A B ) n( B )
P( A | B) = =
n( B ) n( S ) n( S )
P( A B)
= , ( P( B) 0)
P( B)
• A box contains 4 bad and 6 good tubes.
• Two are drawn from the box one by one without
replacement.
• First one is tested and found to be good.
• What is the probability that the second one is also good?
• Ans: 5/9
A1 A4
B
A2 A3
Example:
• Then
P( B | Ak ) P( Ak ) P( B | Ak ) P( Ak )
P( Ak | B) = = n .
P( B | Ai ) P( Ai )
P( B)
i =1
• Example:
• An assembly plant receives parts from three
suppliers S1, S2 and S3.
• Fifty percent of supply comes from S1, and 25
percent from S2 and S3 each.
• Parts supplied by these three suppliers contain
5%, 10% and 12% defective parts respectively.
• If a part is chosen at random from the stock
room, what is the probability that it is defective?
• If a randomly selected part was found to be
good, what is the probability that it came from
S2?
Ans: .08, .2445
• Example:
• Two boxes B1 and B2 contain 100 and 200 light
bulbs respectively.
• Box B1 has 15 defective bulbs.
• Box B2 has 5 defective bulbs.
• Suppose a box is selected at random and one
bulb is picked out.
• What is the probability that it is defective?
• Suppose we test the bulb and it is found to be
defective. What is the probability that it came
from box B1?
Ans: .0875, .8571
A market survey was conducted in four cities to find out the
preference for brand ‘A’ soap. The responses are shown
below:
DELHI KOLKATA CHENNAI MUMBAI
YES 45 55 60 50 210
NO 40 50 40 50 180
85 105 100 100 390
A) What is the probability that a consumer selected at random,
preferred brand A?
B) Probability that a consumer preferred brand A and was from
Chennai ?
C) Probability that a consumer preferred brand A given that he
was from Chennai ?
D) Given that a consumer preferred brand A, what is the
probability that he was from Mumbai ?