Permutation and Combination

Slides:



Advertisements
Similar presentations
Counting Chapter 6 With Question/Answer Animations.
Advertisements

Counting Methods Topic 7: Strategies for Solving Permutations and Combinations.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
1 Learning Objectives for Section 7.4 Permutations and Combinations After today’s lesson you should be able to set up and compute factorials. apply and.
Introduction to Probability and Counting
PERMUTATIONS & COMBINATIONS 1. Permutation and combination both are the process of arrangements. Permutation is the different arrangements of things from.
Permutations r-permutation (AKA “ordered r-selection”) An ordered arrangement of r elements of a set of n distinct elements. permutation of a set of n.
Test problems’ discussion. (1.1) A coin loaded to come up heads 2/3 of the time, is thrown until a head appears. What is the probability that the even.
ENM 207 Lecture 5. FACTORIAL NOTATION The product of positive integers from 1 to n is denoted by the special symbol n! and read “n factorial”. n!=1.2.3….(n-2).(n-1).n.
Chapter 2 Section 2.4 Permutations and Combinations.
Counting Elements in a List How many integers in the list from 1 to 10? How many integers in the list from m to n? (assuming m
Chapter 5 Section 5 Permutations and Combinations.
Permutations and Combinations
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
Mathematics. Permutation & Combination Session.
Chapter 1 Fundamental principles of counting 陳彥良 中央大學資管系.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
6.4 Permutations and combinations For more complicated problems, we will need to develop two important concepts: permutations and combinations. Both of.
Chapter 4 Lecture 4 Section: 4.7. Counting Fundamental Rule of Counting: If an event occurs m ways and if a different event occurs n ways, then the events.
Generalized Permutations and Combinations
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Chapter 3 Permutations and combinations
Mathematics. Permutation & Combination - 2 Session.
NO ONE CAN PREDICT TO WHAT HEIGHTS YOU CAN SOAR
Warm Up Evaluate  4  3  2   6  5  4  3  2 
Permutation and Combination
Permutations & Combinations Probability. Warm-up How many distinguishable permutations are there for the letters in your last name?
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Counting Methods Topic 4: Permutations with Restrictions.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 12.8 The Counting Principle and Permutations.
Learning Objectives for Section 7.4 Permutations and Combinations
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
Ch Counting Principles. Example 1  Eight pieces of paper are numbered from 1-8 and placed in a box. One piece of paper is drawn from the box, its.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
PERMUTATIONS AND COMBINATIONS BOTH PERMUTATIONS AND COMBINATIONS USE A COUNTING METHOD CALLED FACTORIAL.
Discrete Mathematics Lecture # 25 Permutation & Combination.
1 If a task is made up of multiple operations (activities or stages that are independent of each other) the total number of possibilities for the multi-step.
Counting Principles Multiplication rule Permutations Combinations.
11.1A Fundamental Counting Principal and Factorial Notation 11.1A Fundamental Counting Principal If a task is made up of multiple operations (activities.
7.3 Combinations Math A combination is a selection of a group of objects taken from a larger pool for which the kinds of objects selected is of.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
More on Permutations. Permutation with Repetition Circular Permutations Bracelet Permutations Topics in this Section.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 11 Counting Methods and Probability Theory.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
Mr. Mark Anthony Garcia, M.S. Mathematics Department De La Salle University.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
Permutations 7.2 Chapter 7 Combinatorics 7.2.1
Introduction to probability (2) Combinations التوافيق Definition of combination: It is a way of selecting items from a collection, such that the order.
Permutations and Combinations. Fundamental Counting Principle If there are r ways of performing one operation, s ways of performing a second operation,
A permutation of r objects taken from n different objects without repetition is an arrangement of the objects in a specific order For example, there 12.
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Chapter 10 Counting Methods.
1. In how many ways can three men and three women be seated at a round table if Jane and Janet cannot sit next to each other?
Counting Methods and Probability Theory
COCS DISCRETE STRUCTURES
Copyright © Cengage Learning. All rights reserved.
1. In how many ways can six people sit in a six-passenger car?
Do Now Solve each equation. x = x = 180 x + 32 = 180 x = 90
Permutations 7.2 Chapter 7 Combinatorics 7.2.1
3! ways, and 2! ways, so Permutations where some objects are repeated
CS100: Discrete structures
Chapter 7 Logic, Sets, and Counting
Section 12.8 The Counting Principle and Permutations
Advanced Combinations and Permutations
The Counting Principle and Permutations
Alabama School of Fine Arts
Counting Methods and Probability Theory
Combinations.
Presentation transcript:

Permutation and Combination SRI HARSHA

Basic Information Factorial: The continued Product of first n natural numbers is called n! n! = 1*2*3*4*…… (n–1) * n 0! = 1 Formulae: nPr = n! / (n – r)! nCo = nCn = 1 , nC1 = n Tips: If ‘n’ is even then the greatest value of nCr is nCn/2. If ‘n’ is Odd, then the Greatest value of nCr is n or nC

Permutation

Shortcut – 1 Problem based on direct application of the formula, nPr = Solution: If nP4 = 360, find n. nP4 = n(n-1)(n-2)(n-3) = 360 = 6*5*4*3 n = 6.

Shortcut – 2 Problems based on formation of numbers with digits when repetition of digits is not allowed. Working rule: First of all decide of how many digits the required number will be. Then fill up the places on which there are restrictions and then apply the formula nPr for filling up the remaining places with remaining digits.

Permutation and Combination Example: How many numbers of four digits can be formed with the digits 1,2,3,4 and 5? (if repetition of digits is not allowed). Solution: Required umber = 5P4 =

Shortcut - 3 Number of permutations when repetition is allowed: Working rule: Number of permutations of n different thing taken r at a time when things can be repeated any number of times. = n*n*n…..r times = nr Note: in such type of problems, you have to first determine as to which item can be repeated. And consider the value of repeated item as ‘r’ in the above formula.

Permutation and Combination Example: A gentleman has 6 friends to invite. In how many ways can he send invitation cards to them if he has three servants to carry the cards? Solution: [1st servant, 2nd servant]-- same friend; [1st Friend, 2nd Friend]-- Same servant Here we observe that invitation cards cannot be sent to the same friend by different servants but invitation cards may be sent different friends by the same servant. Thus same servant may be repeated for different friends, therefore, we must start with friend. Invitation cards may be sent to each of the six friends by any one of the three servants in 3 ways. Required Number = 3*3*3*3*3*3 = 36 = 729.

Shortcut – 4 If there are two groups A and B consisting of ‘m’ and ‘n’ things respectively, then the number of ways in which no two of group B occur together are given by (m+1Pn*m!) provided that n<m.

Permutation and Combination Example: In a class of 10 students, there are 3 girls. In how many different ways can they be arranged in a row such that no two of the three girls are consecutive? Solution: = m+1Pn*m! = 7+1P3*7! =

Shortcut – 5 The number of ways in which ‘n’ examination papers can be arranged so that the best and the worst papers never come together are given by [(n-2)*(n-1)!] ways.

Permutation and Combination Example: In how many ways can 10 examination papers be arranged so that the best and the worst papers never come together. Solution: = [(10-2)*(10-1)!] = 8*9! Note: The number of ways in which ‘n’ books may be arranged on a shelf so that two particular books shall not be together is [(n-2)*(n-1)!]

Shortcut – 6 There are ‘m’ boys and ‘n’ girls. The no. of ways in which they can be seated in a row so that all the girls do not sit together are given by [(m+n)! - (m+1)!*n!] ways.

Permutation and Combination Example: There are 5 boys and 3 girls. In how many ways can they be seated in a row so that all the three girls do not sit together? Solution: = (5+3)! – (5+1)! * 3! = 8! – 6! * 3! = 36000

Shortcut – 7 The number of ways in which m boys and ‘m’ girls can be seated in a row so that boys and girls alternate are given by 2(m!m!) ways. Solution: = 2(4!4!) = 1152

Shortcut – 8 The number of ways in which m boys and (m-1) girls can be seated in row so that they are alternate is given by [m! (m-1)!] Ways.

Permutation and Combination Example: In how many ways 4 boys and 3 girls can be seated in a row so that they are alternate? Solution: = 4!3! = 144.

Shortcut – 9 The number of ways in which ‘m’ persons of a particular group, caste, country etc. and ‘m’ persons of the other group, caste, community, country etc can be seated along a circle so that they are alternate, given by [m!(m-1)!] ways.

Permutation and Combination Example: In how many ways can 5 Indian and 5 Englishmen be seated along a circle so that they are alternate? Solution: = 4!5!

Shortcut – 10 A round table conference is to be held between ‘n’ delegates. The no. of ways in which they can be seated so that ‘m’ particular delegates always sit together are given by [(n-m)!*m] ways.

Permutation and Combination Example: A round table conference is to be held between 20 countries. In how many ways can they be seated if two particular delegates are always to sit together? Solution: [(20-2)! * 2! = 18! * 2!

Permutation and Combination Note: Always remember the following results based on the circular permutations. Number of circular arrangements of ‘n’ different things = (n-1)! When clockwise and anticlockwise arrangements are not different, number of circular arrangements of ‘n’ different things = ½(n-1)!

Shortcut – 11 The number of ways in which ‘n’ different beads can be arranged to form a necklace are given by If there are n points in a plane and no points are collinear, then the number of straight lines can be drawn using these ‘n’ points are given by

Permutation and Combination Example: Find the number of ways in which 6 different beads can be arranged to form a necklace. Solution: =

Shortcut – 12 Find the number of permutations of the letters of the word “Pre-university”. Solution: Total letters = 13, E’s = 2, I’s = 2, R’s = 2. No. of Permutations =

Permutation and Combination How many different words can be formed with the letters of the word “University”, so that all the vowels? Number of letters = 10, No. of vowels = 4, ‘I’ occurred twice. (6+1)! = 7! Required number = 7!

Combination

Basic Formulae nCr = n! / [r! (n – r)!] nCr-1+nCr = n+1Cr If nCx = nCy then either x = y or x+y = n

Shortcut – 1 If 15C3r = 15Cr+3 , find r. Solution: We know that if nCx = nCy then either x = y or x+y = n 15C3r = 15Cr+3 Either 3r = r +3, which gives r = 3/2 which is not possible, since r is an integer. Or, 3r+r+3 = 15, which gives r = 3.

Shortcut – 2 Find the number of ways in which 5 identical balls can be distributed among 10 identical boxes, if not more than one ball can go into a box. Solution: 10C5 =

Shortcut – 3 The number of triangles which can be formed by joining the angular points of a polygon of m sides as vertices are If there are ‘n’ points in a plane and no three points are collinear, then the number of triangles formed with ‘n’ points are given by

Permutation and Combination Example: Find no. of triangles formed by joining the vertices of a polygon of 12 sides. Solution: =

Shortcut – 4 The number of diagonals which can be formed by joining the vertices of a polygon of ‘m’ sides are

Permutation and Combination Example: Find the number of diagonals of a polygon of 12 sides. Solution: =

Shortcut – 5 If there are ‘m’ horizontal and ‘n’ vertical lines, then the no. of different rectangles formed are given by (mC2*nC2)

Permutation and Combination Example: In a chess board there are 9 vertical and 9 horizontal lines. Find the no. of rectangles formed in the chess board. Solution: = mC2*nC2 = 9C2*9C2 = 36 * 36 = 1296.

Shortcut – 6 In a party every person shakes hands with every other persons. If there was a total of H handshakes in the party, the no. of persons ‘n’ who were present in the party can be calculated from the equation given as

Permutation and Combination Example: In a party every person shakes hands with every other persons. If there was a total of 210 handshakes in the party, find the no. of persons who were present in the party. Solution:

Shortcut – 7 There are ‘m’ members in a delegation which is to be set abroad. The total no. of members is ‘n’. The no. of ways in which the selection can be made so that a particular ‘r’ members are always. Included, is given by (n-rCm-r) and Excluded is given by (n-rCm)

Permutation and Combination There are 5 members in a delegation which is to be sent aboard. The total no. of members is 10. In how many ways can the selection be made so that a particular member is always i) included ii) excluded? Solution: Included = 10-1C5-1 = 9C4 = 126 Excluded = 10-1C5 = 9C5 = 126

Shortcut – 8 There are ‘n’ points in a plane out of which ‘m’ points are collinear. The number of triangles formed by the points as vertices are given by (nC3 - mC3) There are ‘n’ points in a plane out of which ‘m’ points are collinear. The number of Straight lines formed by the joining them are given by (nC2 - mC2+1)

Permutation and Combination Example: There are 10 points in a plane out of which 4 are collinear. Find the number of triangles formed by the points of vertices. Solution: = 10C3 - 4C3 = 120 – 4 = 116

Shortcut – 9 On a New Year day every students of a class sends a card to every other student. If the postman deliver ‘C’ cards, then the number of students ‘n’ in the class can by the following equation. n(n-1) = C

Permutation and Combination Example: On a New Year day every students of a class sends a card to every other student. The postman delivers 600 cards. How many students are there in the class? Solution: n(n-1) = 600 n2 – n - 600 = 0 n = 25, -24 Required number of students = 25.

Shortcut – 10 If in an examination a minimum is to be secured in each of ‘n’ subjects for a pass, then the number of ways a student can fail is given by (2n – 1) ways. If there are ‘n’ questions in a question paper, then the no. of ways in which a student can solve one or more questions are given by (2n – 1) ways.

Permutation and Combination Example: In an examination a minimum is to be secured in each of 5 subjects for a pass. In how many ways can a student fail? Solution: = 25 – 1= 31.

Shortcut – 11 In a basket there are certain number of fruits. Out of which, there are ‘x’ oranges, ‘y’ apples, ‘z’ mangoes and the remaining ‘n’ are of different kinds. Then the number of ways a person can make a selection of fruits from among the fruits in the basket are given by [(x+1)(y+1)(z+1)*2n – 1] ways.

Permutation and Combination Example: There are 4 oranges, 5 apples and 6 mangoes in a fruit basket. In how many ways can a person make a selection of fruits from among the fruits in the basket? Solution: [(4+1)(5+1)(6+1)*20 – 1] = 210 – 1 = 209.

Shortcut – 12 The number of ways in which (n*m) different things can be divided equally among ‘n’ persons are given by

Permutation and Combination Example: In how many ways 12 different things can be divided equally among 3 persons? Solution: Note: if ‘mn’ different things are divided equally among ‘n’ groups, then the total no of different ways of distribution by

Shortcut – 13 The number of ways to distributor or divide ‘n’ identical things among ‘r’ persons when any person may get any number of things are given by [n+r-1Cr-1] ways.

Permutation and Combination Example: In how many ways 20 apples can be divided among 5 boys. = 20+5-1C5-1= 24C4 =

Shortcut – 14 The number of Quadrilaterals that can be formed by joining the vertices of a polygon of n sides are given by

Permutation and Combination Example: Find the no. of quadrilaterals that can be formed by joining the vertices of an octagon. Solution:

Shortcut – 15 n students appear in an examination. The number of ways the result of the examination can be announced are given by (2)n n matches are to be played in a chess tournament. The number of ways in which their results can be decided are given by (2)n ways.

Shortcut - 15 A badminton tournament consists of ‘n’ matches. The number of ways in which their results can be forecast are given by (2)n ways. Total number of forecasts containing all correct results or all wrong results is given by 1.

Shortcut – 15 The Indian hockey team is to play ‘n’ matches for the world cup. The number of different forecasts that will contain all correct results is (1)n or 1. The number of different forecasts that will contain all wrong results are (2)n.

Permutation and Combination Example: 3 matches are to be played in a class tournament. In how many ways can their results be decided? Solution: = (3)3 = 27.

Permutation and Combination Example: A badminton tournament consists of 3 matches. In how many ways can their results be forecast? How many different forecasts can contain all wrong results? How many different forecasts containing all correct results or all wrong results are given by 1. Solution: Total no. of ways the results of 3 matches can be forecast = 23 = 8 Contain all wrong results = (1)3 = 1 Contain all right results = (1)3 = 1