0% found this document useful (0 votes)
24 views11 pages

Chapter 3 Discrete

Uploaded by

Mintesnot Geta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views11 pages

Chapter 3 Discrete

Uploaded by

Mintesnot Geta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Chapter 3

Counting methods
3.1. Sum and product rules
A. addition principle (AP)
Assume that there are n1 different ways for the event E1 to occur

n2 different ways for the event E2 to occur

n3 different ways for the event E3 to occur

n4 different ways for the event E4 to occur

n5 different ways for the event E5 to occur

nk different ways for the event Ek to occur

If the ways in which these events occur are pair- wise disjoint, then the number of ways for at least
one of the events E1, E2, - - - or Ek to occur is given by n1+n2+ - - - +nk = ∑

An equivalent form of AP,

let A1, A2, - - -, Ak be any finite sets, if the given sets are pair- wise disjoint, then

|⋃ | | |, where | | stands for number of elements in (or


cardinality of ).

E.g.1. if there are 14 boys and 12 girls in a class, then find the number of ways of selecting one
student as class representative.

Solution:- using sum rule, there are 14+12=26 ways of selecting one student (either a boy or girl) as
class representative.

E.g.2 A student can choose a computer project from one of three lists. The three lists contain 23, 15,
19 possible projects, respectively.

How many possible projects are three to choose from?

Solution:- the student can choose a project from 1st list in 23 ways

2nd list in 15 ways

3rd list in 19 ways

1
E.g.3. one can reach city B from city A by bus, train, air or by foot. Suppose that there are 2 ways by
bus, 3 ways by train, 4 ways by air and 5 ways by foot. What is the total no of going from city A to city
B?

Solution:- by (AP) there are a total of 2+3+4+5 =14 ways to go from city A to city B by bus or by train
or by air or by road.

E.g. 4. let F is the event of choosing prime nos less than 10 and E is the event of choosing even no less
than 10. In how many ways can F or E occur?

Solution:- E = * +, F= * +.(E or F) = 4+4-1= 7 ways

B. Multiplication principle (MP)

Assume that an event E can be decomposed in to reordered event E1, E2, - - - , Er and that there are: n1
different ways for the event E1 to occur

n2 different ways for the event E2 to occur

n3 different ways for the event E3 to occur

nr different ways for the event Er to occur

Then the total number of ways for the event E to occur is given by

n1×n2× - - - ×nr = ∏

An equivalent form of (MP), Let A1, A2, - - -, Ak be any finite sets and

Let ∏ = A1×A2× - - - ×Ar = *( ) +

Then |∏ | = |A1|×|A2|× - - - ×|Ar|=∏ | |

E.g.1. In how many ways can a college having 20 staff members elect dean, vice dean and program
manager assuming no person is elected more than one position?

Solution:- 20×19×18 = 6840.

E.g. 2.Suppose a college has 3 different calculus, 4 different algebra and 2 different optimization
courses. Then

a. The no of ways a student can choose one of each kind of the course is 3×4×2=24 ways

b. The no of ways a student can choose one of the courses is 3+4+2=9

2
Exrecise. 1. To reach city D from city A, one has to pass through city B and then through city C. If there
are 2 ways to travel from A to B, 5 ways from B to C and 3 ways from c to D, what is the no of ways to
go from city A to city D.

Solution:- by (MP), A B≣C D. The no of ways is 2×5×3=30

2. If two die are thrown once, then find the no of ways in which we get even sum.

Solution:- Even, E1= *( )+, to get 2

E2 = *( )( )( )+ to get 4

E3 = *( )( )( )( )( )+ to get 6

E4 = *( )( )( )( )( )+ to get 8

E5 = *( )( )( )+ to get 10

E6 = *( )+ to get 12

Number of ways which we get even sum is | | = 18

Note:- since 1st die can fall (event E1) in 6 ways and the 2nd die can fall (event E2) in 6 ways.

Thus, there are 6×6=36 out comes when 2 dice are rolled.

Note: - If a natural number ‘n’ has its prime factorization,

, where are distinct and the are positive integers, then the no
of positive divisors of is given by ∏ ( ).

E.g. 3. Find the number of positive divisors of 600 .

Solution:- we know 600 = . Thus the no of positive divisors of 600 is 4×2×3=24

3.2. Permutations

Let * + be a given set of distinct objects.

For 0 , an r- permutation of is a way of arranging any of the objects of in a row.

When , an – permutation is simple called a permutation of

E. g. Let * +. Then all the 2- permutations of are . They are 6 in no

An -permutation of can be formed in steps. There are n choices for the 1stposition, ( )
nd rd
choices for the 2 position ( ) choice for the 3 position and so on until the position is filled
in ( ) ways.

3
Thus by (MP), we have ( )( ) ( )

Definition: - for an integer , factorial denoted by is defined

By

( )( ) ( )( )( )
( )( ) ( )( )
Note:- ( ) (check exercise)
( ) ( )

E.g.1. The number of permutation of the letters in the word computer is 8! .

If only five of the letters are used. Then ( ) ( ) ( )

2. How many Pairs of dance partners can be selected from a group of 12 women and 20 men?

Soul: -The 1st women can be paired with any of 20 men

The 2nd women can be paired with any of the remaining 19 men

The 3rd women can be paired with any of the remaining and so on

This are ( )

Exrecise1. What is the value of if ( ) ( )

Soul:- ( ) ( )

( )
= 12( )
. Thus is the only answer.

Exrecise2. How many three letter ‘’words’’ can be formed from letters in the set * +

i. If repeated letters are allowed

ii. If repeated letters are not allowed

Soul:-Here is 4 and is 3. So i) the no of such words is 4.4.4= =64 ii) ( )=( )


= 24

Exrecise3. how many “words” of 3 distinct letters can be formed from the letters of the word MAST?

Soultion: - the no is =( )
= = 24

Exrecise4. How many different 4 digit nos can be formed out of the digits and when

a. repetition is allowed

b. repetition is not allowed

4
Solution:- a. 6.6.6.6 = b. p(6.4) = ( )

Note:- If there are objects with of the 1st type, of the 2nd type, - - - , and of the type,
Where + - - - + = , then there are linear arrangements of the given -
objects.

e.g.1. Find the no of arrangement (permutation) can be made from.

a) 4black, 3red, 2white b) 2black, 2red, 2white

2. Find the no of arrangement (permutation) can be made out of the letters of the word

a) LAMP b) FOOD c) CALCULUS

3. a) Find the no of arrangement (permutation) that can be made out of the letters of the ward”
MATHEMATICS”. In how many of these permutations

b) Do all the vowels occur together

c) Do the word start with I

d) Begins with the two A

e) Begins with E and ends with C

Solution :- 1. a)

b)

2. a) ( ) ( )
b) there are 1F, 2’O’, 1D. Thus different ways.

C) there are 2C, 1A, 2L, 2U, 1S. Thus

3. a) The word ‘’MATHEMATICS’’ consists of 11 letters of which 2 are A s , 2 are Ms , 2 are


Ts , and the rest all different. Therefore the no of arrangements are

b) there are 2 are Ts , 2 are Ms , 1 is H, 1 is C, and 1 is S . Total no of arrangements are


( )( )

c) d) e)

Circular permutation:-

Definition: - The circular arrangement of out on distinct objects is ( ) ( )

e.g. The arrangement of 5 students in a linear is ( ) ways. But in a circular is

5
( )
( ) ( )

( )
e.g. for A, B, C on circular chair, we have ( ) ways of arrangements.

Restricted permutation
Permutation of object in places when particular objects will
( )
i. always occur is ( ) ( )
( )
ii. never occur is ( ) ( )

e.g. In how many ways can we choose 11 out of 18 players?


i. If 2 papers are choose ii. If 2 players are not choose
Solution:- i. p (18-2, 11-2) = p (16, 9) ii. p(18-2,11) = p(16, 11)

3.3. Combinations
In how many ways can we choose two letters from A, B, C?
Solution:- 3 ways. i.e, AB, Bc and AC.

Definition:- combination is the no of ways of selecting r objects from a set of - objects without
( )
regarding to the order of selection. It is denoted by ( ) or ( ) and is ( ) =

( )
and is called the no of combination of objects taken at a time.

E.g. 1 how many different 5 cards can be selected out of 52 different cards

Solution:- ( )=( )

Exrecise1. How many different seven person committees can be formed each containing three
women from an available set of 20 women and 4 men an available set of 30 men?

Solution:- we have two tasks


Task1: choose 3 women from the set of 20 women
Task2: choose 4 men from the set of 30 men
Thus task1 can be performed in ( )=1140 ways and
Task2 can be performed in ( )=27,405 ways
By multiplication principle (MP), there are (1140) (27,405) =31,241,700 different
committees.

Exrecise2. A men is going to toss a coin eight times. In how many ways can get five heads and
three fails.

Soultion: - ( )= ( ) = 56.

6
Restricted combination

Combination of object taking at a time when particular will

i) always occur is ( )

ii) never occur is ( )

e.g. how many committees of five people can be chosen from 20 men and 12 women

a. if exactly three men must be on each committee


b. if at least four women must be on each committee

Soultion:- a. ( ) ( )= (1140) (66) =75,240

b. by addition principle (AP), ( ) ( ) ( ) ( )=495(20)+792=10,692.

Exrecise. In how many ways can a committee of 5 be formed from a group of 11 people consisting of 4
teachers and 7 students if
i. there is no restriction in the selection
ii. The committee must include exactly 2 teachers
iii. the committee must include at least 3 teachers
iv. A particular teacher and particular student can not be both in the committee.
Soul: -the no of ways is
i. ( )=( = 462
)
ii. ( ) ( ) = 210
iii. ( ) ( )+ ( ) ( ) = 91
iv. ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )

3.4. Binomial theorem


The um of two di tinct term ay “x y” i called a binomial then ( ) for is binomial
expansion.

Note:- (binomial theorem)

If x and y are variables and new, then

( ) =( ) +( ) ( ) ( )

= +
( ) ( ) ( ) ( )

7
e.g. 1. Expand ( ) and ( )

Solution:- ( ) ( ) ( )

( ) = ( ) ( ) ( ) ( )
( )

= + .

e.g.2. Find the fourth term in the expansion of ( )

Solution:- since appears in the 2nd term

Appears in the 3rd term

Appears in the 4th term

Then the variables of the fourth term are . And the coefficient must be = = 84
( ) ( )

Thus fourth term is =


( )

e.g.3. Find coefficient of in the expansion of ( )

Soultion: -( ) ( ) ( ) 76,545

Note: - 1. ( ) ( )+( ) ( )

2. ( ) ( )+( ) ( ) ( ) ( )

e.g. 4. using the Binomial theorem, expand( ) and find the constant term

Soul:- ( ) = ( ) ( ) ( ) ( ) ( )

Theorem (Multinomial them)

For positive interest the coefficient of in the expansion of


( ) is , Where 0 and

e.g.1. In the expansion of ( ) , find the coefficient of a) b) c)

e.g. 2. In the expansion of ( ) , find the coefficient of

a. b. c.

8
Solution:- 2. a. ( ) b. ( ) c. ( )

3.5 The pigeonhole principle


The pigeonhole principle states that of object (pigeon) are places in to boxes (pigeonholes),
then at teast one box contain more than one object.
e.g. 1. In any given set of 14 people at least two of them have their birth day during the same month.
2. Among any group of 8 people at least two were born on the same day of the week.
The generalized pigeonhole principle:-

If N object are placed into k boxes then there is at least one box continuing ⌈ ⌉ objects. i.e, the no of
object exceeds a multiple of the no of boxes.

Note:- ⌈ ⌉ is the smallest integer , such that .

e.g. 1. Among 100 people there are at least ⌈ ⌉ who were born in the same month.

2. What is the minimum no of students in a discrete mathematics class to be sure that at least 6 will
receive the same grade if the possible grades are A, B, C.D and F?

Solution: - let N be the smallest integer than ⌈ ⌉ Thus N = 5.5+1= 26

3.6 generating functions


Definition:- given a sequences * + with k 0, its generating function ( ) is defined by

( ) ∑

e.g. 1. For any ,

( ) ( ) ( ) ( ) ( ) . Thus ( ) is the generating function for

the sequence ( ), ( ), ( ), ( ) ( )

e.g.2. a) For , From ( )( ),

we have, ( )( )

Thus is a generating function for the sequence 1, 1, 1, - - - ,1, 0, 0, 0, - - -.

Where the first terms are 1.

9
b) Extending the idea in part (a) we find that

where | | as from 2a and so is


generating function for the sequence

c. from

we can taking the derivative for both sides


( ) ( )

( )

( )
is the generating function for the sequence

d. multiply both sides by , we have

( )
is also the generating function for the sequence

e. continuing from part (d).

Example:- 3. ( ) = 1+2x+( ) +( ) + - - - is the generating function for the sequence


1, , , , - - -

Exrecise:-1. Let f(x) = . Then find the sequence for

a. F(x) = f(x) -
b. H(x) = f(x) +
2. Find the generating function for the sequence 0, 2, 6, 12, 20, 30, 42, - - -

Solution:- ( )

( )

( ) ( ) ( ) ( ) ( )

=( ) ( )

( )
=( )
+ ( )

= ( )
is generating function for the given sequence 0, 2, 6, 12, 20, 30, 42, - - -

10
3. find the generating function for the sequence

. ( )

11

You might also like