24
Permutation & Combination

Permutation & Combination

Embed Size (px)

DESCRIPTION

A short presentation to explain the use of permutations and combinations and some examples to illustrate the concepts. This was made as an assignment in which i was to explain the concepts to the class.

Citation preview

Page 1: Permutation & Combination

Permutation & Combination

Page 2: Permutation & Combination

Topics

• Fundamental Principal of Counting.• Permutation– Theorem 1– Theorem 2– Theorem 3– Examples

• Combination– Examples

Page 3: Permutation & Combination

Fundamental Principal of Counting

If an event can occur in ‘m’ different ways, following which another event can occur in ‘n’ different ways, then total number of events which occurs is ‘m X n’.

Page 4: Permutation & Combination

ExampleRohan has 3 shirts and 2 pants, in how many are the combinations possible.

He can select any shirt from 3 shirts and any pant from 3 pants.

3 ways 2 ways

Total = 3 X 2 = 6 ways

Page 5: Permutation & Combination

Permutationper·mu·ta·tion A way, esp. one of several possible variations, in which a set or number of things can be ordered or arranged.

Definition:A permutation is an arrangement in a definite order of a number of objects taken some or all at a time.

Note:Whenever we deal with permutations order is important.

Page 6: Permutation & Combination

Theorem 1Number of permutations of n different objects taken r at a time is:

𝑃 𝑟❑𝑛

=

(Where 0< r n)

Page 7: Permutation & Combination

ExampleHow many different signals can be made by 3 flags from 4-flags of different colors?

=

Here n= 4 and r =3 as we need to make a combination of 3 flags out of 4 flags. Therefore…

Page 8: Permutation & Combination

Analytically…

= 4 ways

= 3 ways

= 2 ways

1

2

3

Total = 4 X 3 X 2 = 24 ways

Page 9: Permutation & Combination

Theorem 2

Number of permutations of ‘n’ different objects taken ‘r’ at a time, and repetition is allowed is:

nr

Page 10: Permutation & Combination

ExampleHow many 3 letter words with or without meaning can be formed by word NUTS when repetition is allowed?

Any letter N/U/T/S can be filled here. Thus 4 ways.

As repetition is allowed thus again any letter N/U/T/S can be filled here. Thus 4 ways.

Similarly here also in 4 ways

i.e. 4 X 4 X 4 = 64 word

Page 11: Permutation & Combination

How many 3 letter words with or without meaning can be formed by word NUTS when repetition is allowed?

Solution:Here:n = 4 (no of letters we can choose from)r = 3 (no of letters in the required word)

Thus by Theorem 2:nr = 43 = 64

Thus 64 words are possible

Page 12: Permutation & Combination

Theorem 3

The number of permutations of n objects where p1 objects are of one kind, p2 objects are of second kind… pk objects are of kTH kind is:

𝑛 !p1! p2 !…p k !

Page 13: Permutation & Combination

ExampleFind number of permutations of word ALLAHABAD.

Here total number of word (n) = 9Number of repeated A’s (p1)= 4Number of repeated L’s (p2)= 2Rest all letters are different.

Thus applying theorem 3, we have:

=

Page 14: Permutation & Combination

ExampleIn how many ways can 4 red, 3 yellow and 2 green discs be arranged in a row if the discs of the same color are indistinguishable ?

Sol: Total number of discs are 4 + 3 + 2 = 9. Out of 9 discs, 4 are of the first kind (red), 3 are of the second kind (yellow) and 2 are of the third kind (green).Thus number of permutation is:

= 1260

Page 15: Permutation & Combination

ExampleFind the number of arrangements of the letters of the word INDEPENDENCE. In how many of these arrangements,

(i) do the words start with P

(ii) do all the vowels always occur together

(iii) do the vowels never occur together

(iv) do the words begin with I and end in P?

(v) Repeat part (iv) with I and P interchangeable.

Page 16: Permutation & Combination

Solution

There are 12 letters, of which N appears 3 times, E appears 4 times and D appears 2 times and the rest are all different. Therefore The required number of arrangements:

= 1663200

(i) Let us fix P at the extreme left position, we, then, count the arrangements of theremaining 11 letters. Therefore, the required number of words starting with P are

= 138600

Page 17: Permutation & Combination

(ii) There are 5 vowels in the given word, which are 4 Es and 1 I. Since, they have to always occur together, we treat them as a single object EEEEI for the time being. This single object together with 7 remaining objects will account for 8 objects. These 8 objects, in which there are 3Ns and 2 Ds, can be rearranged in

waysCorresponding to each of these arrangements, the 5 vowels E, E, E,E and I can be rearranged in

ways. Therefore, by multiplication principle the required number of arrangements

X = 16800

Page 18: Permutation & Combination

(iii) The required number of arrangements = the total number of arrangements (without any restriction) – the number of arrangements where all the vowels occur together.

= 1663200 – 16800 = 1646400

(iv) Let us fix I and P at the extreme ends (I at the left end and P at the right end). We are left with 10 letters. Hence, the required number of arrangements

= 12600

Page 19: Permutation & Combination

(v) Repeat same parts as part (iv)As I and P are interchangable they can furthur be arranged in 2! ways.

Thus 12600 X 2! = 25200 ways

Page 20: Permutation & Combination

Combinationscom·bi·na·tionThe act or an instance of combining; the process of being combined.

Definition:A Combination is a selection of some or all of a number of different objects. It is an un-ordered collection of unique sizes.

Note:Whenever we deal with combinations order is not important.

Page 21: Permutation & Combination

Combinations

Suppose we have 3 teams . A,B and C. By permutation we have

3P2 = 6.

But team AB and BA will be the same.Similarly BC and CB will be the same.And AC and CA are same.Thus actual teams = 3.

This is where we use combinations.

Page 22: Permutation & Combination

Formula

nCr =

(Where 0< r n)

Page 23: Permutation & Combination

ExampleA committee of 3 persons is to be constituted from a group of 2 men and 3 women. In how many ways can this be done?

Here, order does not matter. Therefore, we need to count combinations. There will be as many committees as there are combinations of 5 different persons taken 3 at a time. Hence, the required number of ways =

5C3 =

Page 24: Permutation & Combination

Determining a question is of Permutation or Combination

If the problem says " find in how many ways can they be

Arranged / Lined Up, made, ...."

then it is a problem on Permutations.

If the problem says " find in how many ways can it/they be

Selected / Chosen / Drawn / Taken/ grouped......"

then, it is a problem on Combinations.