Professional Documents
Culture Documents
PNC 2
PNC 2
PNC 2
Made By:
Daksh Mishra
[Admin and Co-Founder of Science Mania]
[Bachelor of Technology, NIT Allahabad]
1. Permutation and Combination:
Permutation: Arrangement
Combination: Selection
Number of ways of selecting zero or more objects from n identical objects= n+1
Bag method: There are n distinct number of person or objects, from which n1,
n2…. so on, no. of object from n distinct item are grouped together, so no. of
ways of formation is:
We can learn this concept through two examples. Now, moving to first
instance.
First instance:
No. of word can be made from word ‘PENCIL’ such that:
a) When N and C are always together
b) When N should come before C and N &C should be together
Let’ see part ‘a’ of first instance, in this case, no of group item (Z) is one which has 2
elements (N, C)
= (6 – 2 + 1) (2)! = 240
Such that N should always come before C (second part), then
= (6 – 2 + 1) (1!) = 120 ………. (permutation under constraint)
In how many ways 6 boys and 5 girls can sit in a row such that no 2 girls sit together.
So, we can solve this method by alternative method
|B|B|B|B|B|B|
= 𝐶57 𝑋 5 ! 𝑋 4!
4. Derangement:
𝟏 𝟏 𝟏 (−𝟏)𝒓 𝟏
D = r! ( 𝟏 − 𝟏! + − 𝟑! … + )
𝟐! 𝒓!
𝑫𝟎 = 𝟏
𝑫𝟏 = 𝟎
𝑫𝟐 = 𝟏
𝑫𝟑 = 𝟐
𝑫𝟒 = 𝟗
𝑫𝟓 = 𝟒𝟒
For instance, A person writes letters to five friends and addresses the corresponding
envelopes. In how many ways can the letter be placed in the envelopes so that: a) All
letters are in the wrong envelopes
b) At least three of them are in the wrong envelopes.
Part a) 𝐷5 𝐶55 = 44
Part b) 3 letter wrong + 4 letter wrong + 5 letter wrong
= 𝐷3 𝐶35 + 𝐷4 𝐶45 + 𝐷5 𝐶55 = (10)(2) + (5)(9) + (1)(44) = 109
We can calculate the exponent of prime using GIF method. Let us take
calculate of exponent of 7 in 100!
= 14 + 2 + 0 = 16
70 70 70 70 70 70
𝐸2 (70!) = [ ]+[ ]+[ ]+ [ ]+[ ]+[ ]
2 4 8 16 32 64
= 35 + 17 + 8 + 4 + 2 + 1 + 0 = 67
70 70 70
𝐸5 (70!) = [ ]+[ ]+[ ]
5 25 125
= 14 + 2 = 16
We can understand concept of divisor using one illustration. Let’s take one
number, N= 12, so we can 12 as a factor of:
𝟏𝟐 = 𝟐𝟐 𝒙 𝟑 = 𝟐𝒑 𝑨𝒒 𝑩𝒓 …
For even divisor, it must be divided by at least one factor of 2, total case will be p
(power of p)
No of Odd Divisor = (q+1) (r+1) … = (1+1) = 2
For odd divisor, it must not be divided by 2, so there will ONLY ONE case in
power of 2 which is ZERO.
= (20 + 21 + 22 )(30 + 31 ) = 28
For sum of even divisor, exclude the ONE case from sum of divisor which is the
zeroth power of 2.
For sum of odd divisor, include only ONE case from summation of different
power of 2 in sum of divisor which is the zeroth power of 2.
𝑁 = 25 𝑥 34 𝑥 57 𝑥 72 = 2𝑝 𝐴𝑞 𝐵 𝑟 …
Number of divisor divisible by 5 = (p+1) (q+1) … (r) … (t+1) = (5+1) (4+1) (7)
(2+1) = 630
For divisor to be divisible by 10, it must be divided by at least one factor of each
prime factor excluding two cases of 10 (zeroth power of 5 and 2 both).
𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑑𝑖𝑣𝑖𝑠𝑜𝑟
=
2
𝑖𝑓 𝑁 𝑖𝑠 𝑛𝑜𝑡 𝑎 𝑝𝑒𝑟𝑓𝑒𝑐𝑡 𝑠𝑞𝑢𝑎𝑟𝑒
𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑑𝑖𝑣𝑖𝑠𝑜𝑟+1
= 2
𝑖𝑓 𝑁 𝑖𝑠 𝑎 𝑝𝑒𝑟𝑓𝑒𝑐𝑡 𝑠𝑞𝑢𝑎𝑟𝑒
Q. A natural number has a prime factorisation given by 𝒏 = 𝟐𝒙 𝟑𝒚 𝟓𝒛 , where y
𝟓
and z are such that y+z=5 and 𝒚−𝟏 + 𝒛−𝟏 = 𝟔 , 𝒚 > 𝒛. Then the number of odd
divisors of n, including 1, is:
𝑛−𝑝
= 𝐶𝑟−𝑝
𝑛−𝑝
= 𝐶𝑟
For instance, find the total numbers of ways of selecting 11 players out of 15
player such that:
(a) when M.S. Dhoni and Yuvraj Singh are always included
(b) when Shubham Gill and Virat Kohli are always excluded
= 𝐶𝑟𝑛−𝑝 = 𝐶11
13
8. Summation of Numbers:
Case 1: Let’s take n, no. of digit such as 𝑥1 , 𝑥2 , 𝑥3 … 𝑥𝑛 with no repetition and
without zero, then sum of all number made from n-digit, will be:
Case 2: Let’s take n, no. of digit such as 𝑥1 , 𝑥2 , 𝑥3 … 𝑥𝑛 with Zero included but no
repetition allowed, then sum of all number made from n-digit, will be:
= 𝐶210
= 𝐶210 − 𝐶24 + 1
= 𝐶310 − 𝐶34
d) No. of quadrilateral such that 4 points are collinear
= 𝐶410 − 𝐶44
Illustration 3: There are 3 co-planar parallel lines. If any n points are taken on
each of the lines, the max. no. of triangles with vertices as these points:
Case 1: One vertex on each line
= 𝐶1𝑛 𝑥 𝐶1𝑛 𝑥 𝐶1𝑛
Illustration 5: No. of integer enclosed by x+y = 21, x=0, and y=0, will be =
(𝒏 − 𝟏)(𝒏 − 𝟐) 𝟏𝟗
= 𝟐𝟎 𝒙 = 𝟏𝟗𝟎
𝟐 𝟐
10. Total way of distribution and Beggar Methods:
Let us understand this with one illustration. There are 5 multiple choice questions
with 4 options each of which one is correct. In how many ways it can be
answered such that all question’s answer is not correct?
Now, let’s proceed to another instance, find the no. of ways in which n distinct
balls can be put into 3 boxes so that no two boxes are empty.
Suppose, 1 distinct ball have three option to put into any of 3 boxes
What if ball is identical instead of distinct, then we will apply beggar method such
that no two boxes remain empty, so
𝑛−1
= 𝐶𝑟−1 = 𝐶2𝑛−1
If any one or two boxes can remain empty, then beggar formula for this condition
will be:
𝑛+𝑟−1
= 𝐶𝑟−1 = 𝐶2𝑛+2
Illustration 1: The no. of ways in which the examiner can assign 30 marks to 8
questions giving not less than 2 marks to any question, is:
First, assigned 2 marks to all question (8 x 2 =16) and then, apply beggar method
to rest of 14 marks (30-16) such that some question may or may not be assigned
one more mark, so
14+8−1 21
= 𝐶8−1 = 𝐶𝑟−1
11. Integer problem under constraint: Beggar problem
𝑥 + 𝑦 + 𝑧 ≤ 10
𝑥 + 𝑦 + 𝑧 + 𝑤 = 10
Every variable must be greater than or equal to 1, then no. of + integral solution
will be
= 𝐶310
x+y+z = -12; 𝑥, 𝑦, 𝑧 ∈ ℤ −
= 𝐶211 = 55
For n, no. of objects, arranged in a circular path, no. of ways of arranging is:
= (n-1)!
Illustration: 20 people are invited to a party. 2 particular people sit on either side
of the host. Find the no. of ways.
According to the question, P1, H, and P2 should be together such two particular
sit on either side of the host.
Case 1: Finding the rank of a word with a non-repetitive letter, for example,
MOTHER
Case 2: Finding the rank of a word with repetitive letters, for example, MNNIT
For a function defined as A(m) → B(n) whereas A and B are 2 sets consisting of m
and n elements respectively.
𝑛
= 𝐶𝑚 x m!
Basic Standard Illustration
Illustration 1: For a set of 5 true/ false questions, no student has written all correct
answers, and two students have given the same sequences of answers. What is the
maximum no. of students in the class for this to be possible?
Excluding one case of answering all questions correctly, then no. of max student possible
= 32 – 1 = 31
Illustration 2: Four dice are rolled. The number of ways in which at least one dice
shows 3:
= Total ways – no 3
= 64 − 54
= (62 − 52 )(62 + 52 )
= (6+5) (36+25) = 671
Illustration 3: 2 different packs of cards are shuffled together. Cards are dealt equally
among 4 players, each getting 13 cards. The number of ways in which a player get his
cards if no two cards are from the same suit with same denomination
There are a total of 104 cards. Out of which, 52 cards are distinct. Each card can draw
from two different packs (2 cases possible for each distinct card), so no. of ways
52
= 𝐶13 𝑋 213
Illustration 4: The number of different matrices that can be formed with elements
0,1,2,3 and each matrix having 4 elements, is:
There are 3 possible orders [ 2x2, 1x4, 4x1].
The element of the Matrix of each order can be filled in 44 ways.
Illustration 5: The total number of 4-digit numbers in which the digits are in
descending order is:
Only one arrangement is possible while choosing any 4 numbers such that they are in
descending order, so no. of 4 digits is
= 𝐶410
For ascending order, zero cannot be in the first place of 4-digit no. So, no. of 4 digits
possible with one arrangement is
= 𝐶49
Illustration 6: If n objects are arranged in a row, then, the number of ways of selecting 3
objects such that no two of them are next to each other
So, by bag method, no. of the group is n-3+1 ([p1, S (space), p2], p3, p4, p5 … ]
= (3! -2!) x 3! = 24
Illustration 8: The total number of times the digit 3 will be written when listing from
1 to 1,000
Illustration 9: At an election, a voter can vote for any number of candidates not
greater than the number to be elected. There are 10 candidates and 4 to be elected. If a
voter votes for at least one candidate, then the number of ways in which he can vote
Illustration 10: There are 3 sections in a question paper each containing 5 questions.
A candidate has to solve only 5 questions choosing at least one question from each
section. In how many ways can we do this?
First, make 4 people sit on one side and 3 on the other side, then the rest of 11 people
can sit on either side of the table such that
= (𝐶511 𝑥 𝐶66 𝑥 9! 𝑥 9!)
Illustration 12: It is required to seat 7 men and 3 women in a row such that women
occupy even places. How many such arrangements are there?
5
= (𝐶33 𝑥 3! 𝑥 𝐶77 𝑥 7!)
Illustration 13: The total number of five-digit numbers with at least one repeating
digit: