SlideShare a Scribd company logo
Permutations and
Combinations-3
1
Parth Nandedkar
Revision of PnC-2
Q1)‘n’th word in an alphabetical ordering of all permutations of a word.
Mechanically find out number of words starting with first letter
onwards, and determine beginning letters of answer word.
Q2)Objects that need to be together in permutations.
‘Tying up’ the objects that need to be together as a single object, and
permuting within them as well.
Q3)Objects that need to be separated in permutations.
Insertion : Permute Objects with no condition as boxes.
Then insert those in between boxes anywhere.
--OR-- Method of Complements : From all permutations, subtract those
where the items are together.
PnC-3 2
Revision of PnC-2
Q4)’n’ people sitting on a round table.
(n-1)! Permutations. Two methods(Double counting and Fixing 1 Person)
Q5) ’n’ beads in a necklace.
Clockwise-Anti Clockwise symmetry => (n-1)!/2 Permutations.
nCr=nCn-r= n!/(r!(n-r)!)
nCr=n-1Cr+n-1Cr-1
nPr = rPr * nCr= n!/(n-r)!
PnC-3 3
Solutions to Final Session-2
Q1) If all the letters of the word ARRANGE are arranged in all possible
ways, in how many of words we will have the A's not together?
Answer) Total – A’s are together = 7!/(2!2!) – 6!/2!
Q2) Prove that nCr=n-1Cr+n-1Cr-1 using the formula nCr= n!/(r!(n-r)!)
Answer) Factor out common terms and cancel.
Q3)If nCr=nCr-1, and nPr=nPr+1 then n,r = ?
Answer)
Q4) The value of 50C4 + 56−kC
3= ?
Answer)56C4
PnC-3 4
Answers to Homework-2
Answer1) 2*3=6
Answer2) 5C1+ 2!5C2+ 3!5C3+ 4! 5C4+ 5!5C5
Answer3) 7C4*3C2=105
Answer4) Total – A’s are together = 6!/2! – 5! = 240
PnC-3 5
PnC-3 Topics
4.3.Number of ways of Partitioning Distinguishable Objects
4.4.Choosing Arbitrary number of Objects
5.Pascal’s Triangle
5.1.Properties of Pascal’s Triangle
5.2.Proofs on Properties of Pascal’s Triangle
5.3.Road Network Problems
PnC-3 6
4.3.Partitioning Distinguishable Objects
Formation of Groups: Number of ways in which (m + n + p) different
things can be divided into three distinct groups containing m, n & p
things respectively
(m≠n≠p)
Method) Original problem is also equivalent to deciding that out of all
permutations of (m + n + p) people, leftmost ‘m’ people will be one
group, middle ‘n’ of another and rightmost ‘p’ of 3rd group.
Hence, number of ways of allocating groups = ?
Recall the example of choosing ‘r’ captains.
PnC-3 7
4.3.Formation of Groups
Q)What if m=n=p?
In this case the above method fails.
Hint: Just using the previous answer will end up double counting every
valid sequence.
Reason: All 3 groups could end up consisting of the same people, only
the respective location of the groups in the sequence could be different.
These cases are identical when Grouping people, but still produce
different sequences.
Hence Special case answer = ?
PnC-3 8
4.3.Formation of Groups
Example)How many ways of assigning group names Red, Green and
Blue to ‘3m’ people, each group having equal strength.
Solution) In this case the Groups themselves can be distinguished by
their names. Hence answer is same as photo case = ?
When m≠n≠p, Groups can be distinguished by strength.
PnC-3 9
4.4.Choosing Arbitrary number of Objects
Type of Problems Discussed :
1. Choosing to buy one or more of ‘n’ distinct items
Application of Multiplication Principle => 2*2*….*2 = 2n
Subtract the single case of empty shopping cart => 2n-1
2. Ways of Choosing one or more of 'p' alike objects of one type, 'q'
alike objects of second type and 'r' alike of third type is:
= (p + 1) (q + 1) (r + 1) – 1
PnC-3 10
4.4.Choosing Arbitrary number of Objects
Reason: You buy 0 to ‘p’ items of ‘p’ type. By Addition Principle, (p+1)
options, not 2p because the objects are indistinguishable. Choosing any
fixed number of those is equivalent option, not separate. Now apply
Multiplication.
3. Ways of Choosing one or more of ‘n’ objects of which 'p' alike objects
of one type 'q' alike objects of second type and 'r' alike of third type,
and rest being distinct is:
= (p + 1) (q + 1) (r + 1) 2n - (p + q + r) – 1 (n≥p+q+r)
PnC-3 11
Problem Session-1(15 min.)
Q1) 1.Number of ways of photographing (2m+n) people of which 2
groups of ‘m’ and a group of ‘n’ people want to stay together = ?
2.Number of ways to divide (2m+n) people into groups of m, m and n
people = ?
Q2) From 5 apples, 4 mangoes & 3 bananas in how many ways we can
select atleast two fruits of each variety if
1.Fruits of same species are identical
2.Fruits of same species are different
PnC-3 12
5.Pascal’s Triangle
PnC-3 13
5.1.Properties of Pascal’s Triangle
PnC-3 14
1. Each element = sum of 2 elements on top of it.
2. Sum of elements on a horizontal line
= 2n. Can you prove this using induction?
Odd terms terms on
horizontal line gives us 0
4. Sum of elements on diagonal line
gives us Fibonacci sequence.
5.2.Proofs on properties of Pascal’s Triangle
PnC-3 15
1. By Method of Construction
2. = nC0+nC1+nC2+….. nCn = n-1C0+ (n-1C0+n-1C1)+(n-1C1+ n-1C2)….. n-1Cn
= 2*(horizontal sum of (n-1) row)
3. Similar to 2.
4. Final Session.
5.3.Road Network Problems
PnC-3 16
Example)If only going North or East is allowed ,
How many ways are there from A to B?
Method)This is equivalent to Number of
Permutations of 5 North’s(N’s) and 8 East’s (E’s).
Total objects = 13, 5 of 1 type, 8 of other =>
Answer = ?
Final Problem Session(20 min.)
Q1) Prove that each number a in Pascal's
triangle is equal to the sum of the numbers in
the previous left diagonal, starting from the
rightmost number through the number which is
located in the same right diagonal as a.
Q2)Prove that a diagonal sum of elements in
Pascal’s triangle gives us the Fibonacci sequence
<Fi> where Fi= Fi-1+ Fi-2.
Hint for both: use property 1, slide 14. No need
of induction.
PnC-3 17
Final Problem Session(20 min.)
Q3) How many ways are there to choose two teams of 5 people each
from 15 people?
Use two Methods : Grouping into 3 groups of 5, then choosing, and
Directly choosing(nCr) the teams.
Q4) If r, s, t are prime numbers and p, q are the positive integers such
that the LCM of p, q is r2t4s2, then the number of ordered pairs (p, q)
= ? [IIT – 2006]
Hint: For LCM we take maximum exponent of each prime in
factorization of p and q.
PnC-3 18
Final Problem Session(15 min.)
Next Lecture we will consider problems like :
If all the letters of the word ARRANGE are arranged in all possible
ways, in how many of words we will have the A's not together as well
as the R's not together ? . Requires the Inclusion Exclusion principle.
PnC-3 19

More Related Content

PDF
Permutations and Combinations IIT JEE+Olympiad Lecture 4
PDF
Solution 3.
PPT
Numerical Analysis (Solution of Non-Linear Equations)
PDF
Interpolation with unequal interval
PDF
Answers withexplanations
PDF
1 s2.0-s0377042707003664-main
PDF
Solution of non-linear equations
PPTX
probability assignment help (2)
Permutations and Combinations IIT JEE+Olympiad Lecture 4
Solution 3.
Numerical Analysis (Solution of Non-Linear Equations)
Interpolation with unequal interval
Answers withexplanations
1 s2.0-s0377042707003664-main
Solution of non-linear equations
probability assignment help (2)

What's hot (19)

PPTX
Logistics Management Assignment Help
PPTX
stochastic processes assignment help
PDF
Heuristics for counterexamples to the Agrawal Conjecture
PPTX
Calculus Assignment Help
PPTX
Physical Chemistry Assignment Help
PPT
Chapter 3
PDF
10.1.1.96.9176
PDF
Lesson 8 Nov 27 09
PDF
Lecture 04 newton-raphson, secant method etc
PPTX
Chemistry Assignment Help
PDF
International Journal of Mathematics and Statistics Invention (IJMSI)
PDF
Problemas de Smale
PPT
Backtracking
PPT
5.5 back tracking
PDF
Em08 ect
PDF
Kernels and Support Vector Machines
DOCX
Section 3.1 graphs of polynomials, from college algebra corr
PPTX
Statistics Homework Help
PDF
Machine learning (10)
Logistics Management Assignment Help
stochastic processes assignment help
Heuristics for counterexamples to the Agrawal Conjecture
Calculus Assignment Help
Physical Chemistry Assignment Help
Chapter 3
10.1.1.96.9176
Lesson 8 Nov 27 09
Lecture 04 newton-raphson, secant method etc
Chemistry Assignment Help
International Journal of Mathematics and Statistics Invention (IJMSI)
Problemas de Smale
Backtracking
5.5 back tracking
Em08 ect
Kernels and Support Vector Machines
Section 3.1 graphs of polynomials, from college algebra corr
Statistics Homework Help
Machine learning (10)
Ad

Similar to Permutations and Combinations IIT JEE+Olympiad Lecture 3 (20)

PDF
Class 11 Mathematics Topic Wise Line by Line Questions Chapter 3 Permutations...
PDF
Class 11 Mathematics Topic Wise Line by Line Chapter 6 Permutations and Combi...
PPTX
Permutations and Combinations (All Formulas)
PPTX
Permutations and Combinations(For Class 11)
PPTX
Permutation and combination
PPT
Lecture 1.ppthffre6dyfut8tigigigigigighh
PPTX
Lecture Week 17 which hleps in study for logic and
PDF
Lecture #2: Algorithmic Combinatorics I "#FOSCS301"
PPTX
Statisticsljdhciwjhf[wp ofpwifovikjdjheo iw
PPT
Mathematics Project Slides 1199456490678403 2
PPT
Mathematics Project Slides
PDF
Lecture #3: Algorithmic Combinatorics I "#FOSCS301"
DOCX
Combinations and permutations
PPTX
Permutations and-combinations-maths
PDF
Chapter10_part1_slides.pdf
PPT
Discrete Math Ch5 counting + proofs
PDF
Permutations and Combinations IIT JEE+Olympiad Lecture 1
PDF
Chapter-3-Sample-Space-of-Experiment.pdf
DOC
Unit 2 in daa
DOC
algorithm Unit 2
Class 11 Mathematics Topic Wise Line by Line Questions Chapter 3 Permutations...
Class 11 Mathematics Topic Wise Line by Line Chapter 6 Permutations and Combi...
Permutations and Combinations (All Formulas)
Permutations and Combinations(For Class 11)
Permutation and combination
Lecture 1.ppthffre6dyfut8tigigigigigighh
Lecture Week 17 which hleps in study for logic and
Lecture #2: Algorithmic Combinatorics I "#FOSCS301"
Statisticsljdhciwjhf[wp ofpwifovikjdjheo iw
Mathematics Project Slides 1199456490678403 2
Mathematics Project Slides
Lecture #3: Algorithmic Combinatorics I "#FOSCS301"
Combinations and permutations
Permutations and-combinations-maths
Chapter10_part1_slides.pdf
Discrete Math Ch5 counting + proofs
Permutations and Combinations IIT JEE+Olympiad Lecture 1
Chapter-3-Sample-Space-of-Experiment.pdf
Unit 2 in daa
algorithm Unit 2
Ad

More from Parth Nandedkar (10)

PDF
Large scale cell tracking using an approximated Sinkhorn algorithm
PPTX
Large scale cell tracking using an approximated Sinkhorn algorithm
PDF
Discount tracker - Fujitsu Hackathon
PPTX
Motion and Position Map in Cell Tracking for Bioimaging
PPTX
Line Detection in Computer Vision - Recent Developments and Applications
PPTX
Line Detection in Computer Vision
PDF
Speech at english_seminar
PDF
LSTM and GRU RNNs in Sentiment Analysis (Japanese)
PDF
Deep Learning Demonstration using Tensorflow (7th lecture)
PDF
Basics of Deep Learning (2nd lecture)
Large scale cell tracking using an approximated Sinkhorn algorithm
Large scale cell tracking using an approximated Sinkhorn algorithm
Discount tracker - Fujitsu Hackathon
Motion and Position Map in Cell Tracking for Bioimaging
Line Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision
Speech at english_seminar
LSTM and GRU RNNs in Sentiment Analysis (Japanese)
Deep Learning Demonstration using Tensorflow (7th lecture)
Basics of Deep Learning (2nd lecture)

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Institutional Correction lecture only . . .
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Computing-Curriculum for Schools in Ghana
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Lesson notes of climatology university.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
RMMM.pdf make it easy to upload and study
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
master seminar digital applications in india
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Institutional Correction lecture only . . .
01-Introduction-to-Information-Management.pdf
Cell Types and Its function , kingdom of life
Module 4: Burden of Disease Tutorial Slides S2 2025
Computing-Curriculum for Schools in Ghana
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
human mycosis Human fungal infections are called human mycosis..pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
GDM (1) (1).pptx small presentation for students
Lesson notes of climatology university.
O7-L3 Supply Chain Operations - ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
RMMM.pdf make it easy to upload and study
A systematic review of self-coping strategies used by university students to ...
Final Presentation General Medicine 03-08-2024.pptx
Final Presentation General Medicine 03-08-2024.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
master seminar digital applications in india
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

Permutations and Combinations IIT JEE+Olympiad Lecture 3

  • 2. Revision of PnC-2 Q1)‘n’th word in an alphabetical ordering of all permutations of a word. Mechanically find out number of words starting with first letter onwards, and determine beginning letters of answer word. Q2)Objects that need to be together in permutations. ‘Tying up’ the objects that need to be together as a single object, and permuting within them as well. Q3)Objects that need to be separated in permutations. Insertion : Permute Objects with no condition as boxes. Then insert those in between boxes anywhere. --OR-- Method of Complements : From all permutations, subtract those where the items are together. PnC-3 2
  • 3. Revision of PnC-2 Q4)’n’ people sitting on a round table. (n-1)! Permutations. Two methods(Double counting and Fixing 1 Person) Q5) ’n’ beads in a necklace. Clockwise-Anti Clockwise symmetry => (n-1)!/2 Permutations. nCr=nCn-r= n!/(r!(n-r)!) nCr=n-1Cr+n-1Cr-1 nPr = rPr * nCr= n!/(n-r)! PnC-3 3
  • 4. Solutions to Final Session-2 Q1) If all the letters of the word ARRANGE are arranged in all possible ways, in how many of words we will have the A's not together? Answer) Total – A’s are together = 7!/(2!2!) – 6!/2! Q2) Prove that nCr=n-1Cr+n-1Cr-1 using the formula nCr= n!/(r!(n-r)!) Answer) Factor out common terms and cancel. Q3)If nCr=nCr-1, and nPr=nPr+1 then n,r = ? Answer) Q4) The value of 50C4 + 56−kC 3= ? Answer)56C4 PnC-3 4
  • 5. Answers to Homework-2 Answer1) 2*3=6 Answer2) 5C1+ 2!5C2+ 3!5C3+ 4! 5C4+ 5!5C5 Answer3) 7C4*3C2=105 Answer4) Total – A’s are together = 6!/2! – 5! = 240 PnC-3 5
  • 6. PnC-3 Topics 4.3.Number of ways of Partitioning Distinguishable Objects 4.4.Choosing Arbitrary number of Objects 5.Pascal’s Triangle 5.1.Properties of Pascal’s Triangle 5.2.Proofs on Properties of Pascal’s Triangle 5.3.Road Network Problems PnC-3 6
  • 7. 4.3.Partitioning Distinguishable Objects Formation of Groups: Number of ways in which (m + n + p) different things can be divided into three distinct groups containing m, n & p things respectively (m≠n≠p) Method) Original problem is also equivalent to deciding that out of all permutations of (m + n + p) people, leftmost ‘m’ people will be one group, middle ‘n’ of another and rightmost ‘p’ of 3rd group. Hence, number of ways of allocating groups = ? Recall the example of choosing ‘r’ captains. PnC-3 7
  • 8. 4.3.Formation of Groups Q)What if m=n=p? In this case the above method fails. Hint: Just using the previous answer will end up double counting every valid sequence. Reason: All 3 groups could end up consisting of the same people, only the respective location of the groups in the sequence could be different. These cases are identical when Grouping people, but still produce different sequences. Hence Special case answer = ? PnC-3 8
  • 9. 4.3.Formation of Groups Example)How many ways of assigning group names Red, Green and Blue to ‘3m’ people, each group having equal strength. Solution) In this case the Groups themselves can be distinguished by their names. Hence answer is same as photo case = ? When m≠n≠p, Groups can be distinguished by strength. PnC-3 9
  • 10. 4.4.Choosing Arbitrary number of Objects Type of Problems Discussed : 1. Choosing to buy one or more of ‘n’ distinct items Application of Multiplication Principle => 2*2*….*2 = 2n Subtract the single case of empty shopping cart => 2n-1 2. Ways of Choosing one or more of 'p' alike objects of one type, 'q' alike objects of second type and 'r' alike of third type is: = (p + 1) (q + 1) (r + 1) – 1 PnC-3 10
  • 11. 4.4.Choosing Arbitrary number of Objects Reason: You buy 0 to ‘p’ items of ‘p’ type. By Addition Principle, (p+1) options, not 2p because the objects are indistinguishable. Choosing any fixed number of those is equivalent option, not separate. Now apply Multiplication. 3. Ways of Choosing one or more of ‘n’ objects of which 'p' alike objects of one type 'q' alike objects of second type and 'r' alike of third type, and rest being distinct is: = (p + 1) (q + 1) (r + 1) 2n - (p + q + r) – 1 (n≥p+q+r) PnC-3 11
  • 12. Problem Session-1(15 min.) Q1) 1.Number of ways of photographing (2m+n) people of which 2 groups of ‘m’ and a group of ‘n’ people want to stay together = ? 2.Number of ways to divide (2m+n) people into groups of m, m and n people = ? Q2) From 5 apples, 4 mangoes & 3 bananas in how many ways we can select atleast two fruits of each variety if 1.Fruits of same species are identical 2.Fruits of same species are different PnC-3 12
  • 14. 5.1.Properties of Pascal’s Triangle PnC-3 14 1. Each element = sum of 2 elements on top of it. 2. Sum of elements on a horizontal line = 2n. Can you prove this using induction? Odd terms terms on horizontal line gives us 0 4. Sum of elements on diagonal line gives us Fibonacci sequence.
  • 15. 5.2.Proofs on properties of Pascal’s Triangle PnC-3 15 1. By Method of Construction 2. = nC0+nC1+nC2+….. nCn = n-1C0+ (n-1C0+n-1C1)+(n-1C1+ n-1C2)….. n-1Cn = 2*(horizontal sum of (n-1) row) 3. Similar to 2. 4. Final Session.
  • 16. 5.3.Road Network Problems PnC-3 16 Example)If only going North or East is allowed , How many ways are there from A to B? Method)This is equivalent to Number of Permutations of 5 North’s(N’s) and 8 East’s (E’s). Total objects = 13, 5 of 1 type, 8 of other => Answer = ?
  • 17. Final Problem Session(20 min.) Q1) Prove that each number a in Pascal's triangle is equal to the sum of the numbers in the previous left diagonal, starting from the rightmost number through the number which is located in the same right diagonal as a. Q2)Prove that a diagonal sum of elements in Pascal’s triangle gives us the Fibonacci sequence <Fi> where Fi= Fi-1+ Fi-2. Hint for both: use property 1, slide 14. No need of induction. PnC-3 17
  • 18. Final Problem Session(20 min.) Q3) How many ways are there to choose two teams of 5 people each from 15 people? Use two Methods : Grouping into 3 groups of 5, then choosing, and Directly choosing(nCr) the teams. Q4) If r, s, t are prime numbers and p, q are the positive integers such that the LCM of p, q is r2t4s2, then the number of ordered pairs (p, q) = ? [IIT – 2006] Hint: For LCM we take maximum exponent of each prime in factorization of p and q. PnC-3 18
  • 19. Final Problem Session(15 min.) Next Lecture we will consider problems like : If all the letters of the word ARRANGE are arranged in all possible ways, in how many of words we will have the A's not together as well as the R's not together ? . Requires the Inclusion Exclusion principle. PnC-3 19