Discrete Mathematics Overview and Concepts
Discrete Mathematics Overview and Concepts
Navghare
M. Tech in Information Technology from National Institute of Technology, Raipur
B. E. in Computer Engineering from RTMNU, Nagpur
Discrete Mathematics
Course Code: 1303103
Prof. P. R. Navghare
Module-I Discrete Mathematics
Module -I
➢Continuous Mathematics
➢ It is based upon continuous number line or the real numbers.
➢Real numbers include irrational as well as rational numbers which are not
discrete.
➢CM Examples:
➢Real numbers
➢Calculus
➢Euclidean geometry
Discrete mathematics
➢It deals with discrete objects.
➢Discrete objects are those which are separated from (not connected
to/distinct from) each other.
➢Integers, natural numbers, automobiles, houses, people etc. are all discrete
objects.
DM Examples:
▪ Integers
▪ Graphs
▪ Trees
▪ Sets
▪ Statements in logic
Set Theory
Examples:
1) A={car, book, 4, 10.523,black, water}
2) The set V of vowels in the English alphabet:
V = {a, e, i, o, u}.
3) Let P be the set of positive integers less than 100:
P = {1, 2, 3,…, 99}.
Examples :
Set Representation
1. Roster method 2. Set Builder Method
▪ In this method, all the elements of set are ▪ When the elements of set are huge it
described between pair of braces. is not possible to write all the
▪ It is generally used when elements or members or object using roster
members of set are limited. method
▪ The order of elements in a set is not ▪ So the set builder method is used.
important. ▪ Elements of set can be grouped
▪ Example : together by stating their common
▪ A = {6,8, 3, 4, 5} properties.
▪ Write the set of all vowels in the English ▪ Example:
alphabet. ▪ A= {x lx is natural number and x < 10}
▪ O = {x | x is an odd positive integer
less than 10} OR
▪ O = {x ∈ Z+ | x is odd and x < 10}.
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 10
Module-I Discrete Mathematics
All numbers except complex numbers are real numbers. These are divided into several key categories
as shown in the table below.
Cardinality of Sets
❑Let, A be a finite set, then number of elements in the set A, is called the
cardinality of A.
❑It is denoted as | A | or n(A).
Example:
A = { 3, 4, 8, 6 }, then cardinality of A is n(A) or |Al = 4
Cartesian Product
❑Let A and B be sets. The Cartesian product of A and B, denoted by A × B, is the set of all ordered
pairs (a, b), where a ∈ A and b ∈ B.
Example:
1)What is the Cartesian product of A = {1, 2} and B = {a, b, c}?
Solution: The Cartesian product A × B is
A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}.
2)AxB≠ BxA (why?)
❑The Cartesian product of the sets A1,A2, . . . , An, denoted by
A1 × A2 ×· · ·×An = {(a1, a2, . . . , an) | ai ∈ Ai for i = 1, 2, . . . , n}.
3)Find A× B × C, where A = {0, 1}, B = {1, 2}, and C = {0, 1, 2} ?
❑Solution: A × B × C = {(0, 1, 0), (0, 1, 1), (0, 1, 2), (0, 2, 0), (0, 2, 1), (0, 2, 2),
(1, 1, 0), (1, 1, 1), (1, 1, 2), (1, 2, 0), (1, 2, 1), (1, 2, 2)}.
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 14
Module-I Discrete Mathematics
Types of sets
Singleton Set
❑ Singleton Sets are those sets that have only 1 element present in them.
Example:
❑ Set A= {1} is a singleton set as it has only one element, that is, 1.
❑ Set P = {a : a is an even prime number} is a singleton set as it has only one element 2.
Properties of Singleton Set:
❑ A singleton set has exactly one element, for example: {7}
❑ Its cardinality (size) is 1.
❑ A singleton set is always a finite set.
❑ It is a subset of any set that contains its element, for example: {7} ⊆ {5, 6, 7}
❑ The power set of a singleton set has 2 elements:
Example:
❑ Power set of {a} = {∅, {a}}
❑ Every element of a singleton set is also a singleton set in the power set.
Empty Set
❑Empty sets are also known as Null sets or Void sets. They are the sets with no
element/elements in them. They are denoted as ϕ also known as phi.
Example:
❑Set A= {a: a is a number greater than 5 and less than 3}
❑Set B= {p: p are the students studying in class 7 and class 8}
Properties of Empty Set (∅):
❑∅ has no elements (0 elements).
❑∅ is a subset of every set.
❑There is only one empty set.
❑∅ is not a singleton set.
❑The intersection of disjoint sets is ∅.
❑The power set of ∅ is {∅} (has 1 element).
Finite Set
Finite Set
Infinite Set
Infinite Set
Infinite Sets are those that have an infinite number of elements present, cases in
which the number of elements is hard to determine are known as infinite sets.
Example:
A = {1, 2, 3, 4, 5, 6, ...} → Infinite
B = Set of all stars in the sky → Infinite
C = Set of all natural numbers → Infinite
Infinite Set
Equal Set
❑Two sets having the same elements and an equal number of elements are called
equal sets. The elements in the set may be rearranged, or they may be repeated,
but they will still be equal sets.
Example:
❑Set A = {1, 2, 6, 5}
❑Set B = {2, 1, 5, 6}
❑In the above example, the elements are 1, 2, 5, 6. Therefore, A= B.
Equal Set
❑Two sets are equal if every element of one set is also in the other set.
❑The order of the elements doesn't matter.
❑The repetition of elements doesn’t matter (sets don’t allow duplicates).
❑If A = B, then A ⊆ B and B ⊆ A.
❑Equal sets have the same number of elements (same cardinality).
Equivalent Set
❑Equivalent Sets are those which have the same number of elements present in
them. It is important to note that the elements may be different in both sets but
the number of elements present is equal. For Instance, if a set has 6 elements in
it, and the other set also has 6 elements present, they are equivalent sets.
Example:
❑Set A= {2, 3, 5, 7, 11}
❑Set B = {p, q, r, s, t}
❑Set A and Set B both have 5 elements hence, both are equivalent sets.
Equivalent Set
Subset
❑Set A will be called the Subset of Set B if all the elements present in Set A already belong to Set B.
The symbol used for the subset is ⊆.
❑If A is a Subset of B, it will be written as A ⊆ B
Example:
❑Set A= {33, 66, 99}
❑Set B = {22, 11, 33, 99, 66}
❑Then, Set A ⊆ Set B
Properties of Subsets :
❑A ⊆ A (Every set is a subset of itself)
❑∅ ⊆ A (Empty set is a subset of every set)
❑If A ⊆ B and B ⊆ C, then A ⊆ C (transitive property)
❑If A ⊆ B and A ≠ B, then A is a proper subset of B (written A ⊂ B)
❑A set with n elements has 2ⁿ subsets (including ∅ the set itself)
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 26
Module-I Discrete Mathematics
Proper Subset
❑A proper subset is a subset that contains some but not all elements of the original set. It is not
equal to the original set. If A and B are sets, and A is a proper subset of B, we write: A ⊂ B
Example:
❑Let B = {1, 2, 3}
❑Proper subsets of B are:
❑∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}
❑{1, 2, 3} is a subset of B, but not a proper subset, because it is equal to B.
Properties of Proper Subset:
❑A proper subset has fewer elements than the original set.
❑Every proper subset is a subset, but not every subset is proper.
❑The empty set (∅) is a proper subset of any non-empty set.
❑The original set is not a proper subset of itself.
Power Set
❑The set of any set A is defined as the set containing all the subsets of set A. It is denoted by the
symbol P(A) and read as the Power set of A.
❑For any set A containing n elements, the total number of subsets formed is 2n. Thus, the power
set of A, P(A) has 2n elements.
It includes:
❑The empty set (∅)
❑All individual elements as sets
❑All combinations of elements
❑The set itself
Example: For any set A = {a,b,c}, the power set of A is?
Solution:
❑Power Set P(A) is,
❑P(A) = {ϕ, {a}, {b}, {c}, {a, b}, {b, c}, {c, a}, {a, b, c}}
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 28
Module-I Discrete Mathematics
Power Set
Universal Set
❑ A universal set is a set that contains all the elements of the rest of the sets. It can be said that all the sets are the subsets
of Universal sets. The universal set is denoted as U.
Example: For Set A = {a, b, c, d} and Set B = {1,2}, find the universal set containing both sets.
Solution:
❑ Universal Set U is,
❑ U = {a, b, c, d, e, 1, 2}
Properties of Universal Set:
❑ Contains all the elements being discussed.
❑ Every set is a subset of the universal set.
❑ The complement of a set is taken disjointed from the universal set.
❑ It is usually finite or defined by context (can be infinite in some cases).
❑ The intersection of U with any set A is A:
❑U ∩ A = A
❑ The union of U with any set A is U:
❑U ∪ A = U
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 30
Module-I Discrete Mathematics
Disjoint Sets
❑That have two sets A and B that do have no common elements are called Disjoint Sets. The
intersection of the Disjoint set is ϕ, now for set A and set B A∩B = ϕ.
❑Example: Check whether Set A ={a, b, c, d} and Set B = {1, 2} are disjoint or not.
❑Solution:
❑Set A ={a, b, c, d}
❑Set B= {1,2}
❑Here, A∩B = ϕ
❑Thus, Set A and Set B are disjoint sets.
Types of Sets
Infinite Set A set with an uncountable number {natural numbers (1, 2, 3, ...)}
of elements.
Equivalent Sets Sets that have the same number of Set A = {1, 2, 3} and Set B = {a, b, c}
elements and their elements can (assuming a corresponds to 1, b to
be paired one-to-one 2, and c to 3)
Types of Sets
Set Name Description Example
Equal Sets Sets that have the same elements. Set A = {1, 2} and Set B = {1, 2}
Universal Set A set containing all elements The set of all students in a school
relevant to a specific discussion. (when discussing student grades)
Unequal Sets Sets that do not have all the same Set A = {1, 2, 3} and Set B = {a, b}
elements.
Power Set The set contains all possible subsets Power Set of {a, b} = { {}, {a}, {b}, {a,
of a given set. b} }
Overlapping Sets Sets, share a least one common Set A = {1, 2, 3} and Set B = {2, 4, 5}
element.
Disjoint Sets Sets that have no elements in Set A = {1, 2, 3} and Set B = {a, b, c}
common.
Subset A set where all elements are also {1, 2} is a subset of {1, 2, 3}
members
Pune Institute of Computer Technology, Pune of another set. Prof. P. R. Navghare 33
Module-I Discrete Mathematics
Operation on Sets
Union
The union of A and B, written A B, is the set whose elements are the elements of A
or B or both.
A B = {x | x A or x B}.
Examples: Let K = {a, b}, L = {c, d} and M = {b, d}, then
K L = {a, b, c, d}
A B
K M = {a, b, d} U
L M = {b, c, d}
Intersection
Difference
Symmetric difference
Disjoint Sets
❑Two sets are said to be disjoint if their intersection is the empty set:
AB=
U
A
B
Complement
❑The complement of a set A, written Ac, which is the set consisting of everything not in A. Ac
= {x | x A}.
❑The same can also be written as Ac = U – A, where U is the universal set.
U A A
Venn Diagram
❑ A Venn diagram is a diagram constructed with a collection of circles drawn on a plane.
❑ Each Venn diagram begins with a rectangle representing the universal set.
❑ Then circles represent the sets.
❑ Any values that belong to more than one set will be placed in the sections where the
circles overlap.
Laws of Sets
For any two finite sets A and B; For any finite set A; For any two finite sets A and B;
(ii) (A ∩ B) ∩ C = A ∩ (B ∩ C) (ii) A ∩ (B U C) = (A ∩ B) U (A ∩ C)
(vii) (A – B) U (B – A) = (A U B) – (A ∩ B)
❑We say that a group of sets is exhaustive of another set if their union is equal
to that set. For example, if A B = C we say that A and B are exhaustive with
respect to C.
❑We say that two sets A and B are mutually exclusive if, A∩B = that is,
the sets have no elements in common.
❑The Principle of Inclusion and Exclusion allows us to find the cardinality of a union of sets
by knowing the cardinalities of the individual sets and all possible intersections of them.
❑The basic version of the Principle of Inclusion and Exclusion is that for two finite sets A and
B, it holds that |A B|=|A|+|B|–|A ∩ B|.
Multiset
Problems on Set
Problems on Set
Problems on Set
Problems on Set
15. Show that AU (B’ ∩ C)= (AUB’) ∩ (AU C) Using vien diagram
17. In a survey 2000 people read india today or buiseness times, It was found that 1200 read India today,
900 read buiseness times and 400 read both, find how many read atleast one magazine and how many
read none.
18. In a Computer lab out of 6 computers 2 have floating point arithmetic unit 5 have magnetic disc
memory 3 have graphics display 2 have both floating point and magnetic 3 have both magnetic and
geaphics 1 has both floating point and graphics 1 has floating , magnetic and graphics How many have
atleast one specification.
[Link] the integers 1 to 1000 how many of them are not divisible by 3, nor by 5 nor by 7.
Problems on Set
20. An investigator interviewed 100 students to determine their preferences for 3 drinks milk
,coffee and Tea He reported the following 10 students had all the 3 drinks 20 had milk & C 30
C & T, 25 had M & T , 12 M Only , 5 C only & 8 had T only. How many did not take any of three
drinks.
[Link] 100, 32 maths 20 Physics , 45 Biology 15 M & B, 7 M & P, 10 P &B, 30 do not study
any 3 subjects. Find number of students exactly one of 3 subject.
22. Among 1000 people , 595 are democrate , 595 were glasses and 550 like icecream 395 D &
G , 350 D & I, 400 G & I , 250 D & G & I How many them are not D , NOT U NOT I How many
are D but not G & I.
Problems on Set
2. A college Records gives following information : 119 students enrolled in Introductory computer science, 96
of them took data structures, 53 took foundations, 39 took assembly language, 31 took both foundation and [5]
Assembly language, 32 took both data structures and Assembly language, 38 took data structures and
foundations and 22 took all of three courses is this information correct? Why?
Problems on Set
5) Suppose 100 Computer Engineering students studies at least one of the following language C, C++ and
Python. It is given that 65 students studies C language, 45 studies C++ language and 42 studies Python [5]
language. 20 students studies C and C++ language, 25 student studies C and Python language, 15 students
studies C++ and Python language. Find students studying : [5]
i) Only C and C++ language, not Python language
ii) Only C and Python language, not C++ language
Problems on Set
6) In the survey of 60 people, it was found that 25 read Newsweek magazine, 26 read time, 26 read
Fortune. Also 9 read both Newsweek and Fortune, 11 read both Newsweek and Time, 8 read both Time
and Fortune and 8 read no magazine at all. [5]
a)Find out the total number of people who read all the three magazines
b)Fill in the correct number in all the regions of the Venn diagram
c)Determine the number of people who read exactly one magazine
Propositions
Examples of propositions:
1. The Moon is made of green cheese.
2. New Delhi is the capital of India.
3. Toronto is the capital of Canada.
4. 1+0=1
5. 0+0=2
Examples that are not propositions.
1. Sit down!
2. What time is it?
3. x+1=2
4. x + y = z
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 56
Module-I Discrete Mathematics
Propositional Logic
Constructing Propositions
❑Propositional Variables: p, q, r, s, . . .
❑The proposition that is true is denoted by T
❑Proposition that is false is denoted by F
❑Compound Propositions; constructed from logical connectives and
other propositions
❑Negation ¬
❑Conjunction ∧
❑Disjunction ∨
❑Implication →
❑Biconditional
Conjunction
Disjunction
Examples
1)Let p be “Mark is Rich” and q be “Mark is happy” write each of following in symbolic form [4]
a)Mark is poor but happy
b)Mark is neither rich nor happy
c)Mark is either rich or happy
d)Mark is Rich and not happy
2) Explain terms Tautology and Contradiction in truth table with an example. [5]
3) Let P : I will study hard and Q: I will get admission in IIT. Statement: If I study
hard then I will get admission in IIT.
Write the Converse, Inverse & Contrapositive of the above statement. [5]
[5]
Examples:
5) Express the contrapositive, converse and inverse form of conditional statement given
below:
“If x is rational, then x is real”
6)Let p be “Mark is Rich” and q be “Mark is happy” write each of following in symbolic form
[5]
i)Mark is poor but happy
ii)Mark is neither rich nor happy
iii)Mark is either rich or happy
iv)Mark is Rich and not happy
1. PDNF
2. PCNF
Mathematical Reasoning
Proving Theorems
❑ Direct proof:
❑ An implication p q can be proved by showing that if p is true, then q is also
true.
❑ Example: Prove that “If n is odd, then n2 is odd.”
Indirect proof:
❑ An implication p → q is equivalent to its contra-positive
q → p. Therefore, we can prove p → q by showing that whenever q is false,
then p is also false.
Q2) Give an indirect proof of the theorem
“If 3n + 2 is odd, then n is odd”.
❑ Assume that n is even.
❑ Then n = 2k, where k is an integer.
❑ It follows that 3n + 2 = 3(2k) + 2
= 6k + 2
= 2(3k + 1)
❑ Therefore, 3n + 2 is even.
❑ We have shown that the contrapositive of the implication is
true, so the implication itself is also true (If 3n + 2 is odd, then n
is odd).
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 73
UNIT I Discrete Mathematics
Mathematical Induction
Principle of Mathematical Induction Statement
Any statement P(n) which is for "n" natural number can be proved using the
Principle of Mathematical Induction by following the below steps,
Step 1: Verify if the statement is true for trivial cases (n = 1) i.e. check if P(1)
is true.
Step 2: Assume that the statement is true for n = k for some k ≥ 1 i.e. P(k) is
true.
Step 3: If the truth of P(k) implies the truth of P(k + 1), then the statement
P(n) is true for all n ≥ 1.
Pune Institute of Computer Technology, Pune Prof. P. R. Navghare 74
UNIT I Discrete Mathematics
Problem 1: Prove that for all natural numbers n, the following holds: 1 + 2
+ 3 + . . . + n = [n(n + 1)]/2.
❑“How many possible ways are there to pick 11 soccer players out
of a 20-player team?”
Suppose that a procedure can be broken down into two successive tasks. If there are
n1 ways to do the first task and n2 ways to do the second task after the first task has
been done, then there are n1n2 ways to do the procedure.
Example:
The department will award a free computer to a CS student and a CS professor.
How many different choices are there, if there are 530 students and 15 professors?
Example:
How many different license plates are there that containing exactly three English
letters ?
Solution:
There are 26 possibilities to pick the first letter, then 26 possibilities for the second
one, and 26 for the last one.
If we have a procedure consisting of sequential tasks T1, T2, …, Tm that can be done in
n1, n2, …, nm ways, respectively, then there are n1 . n2 . … . nm ways to carry out the
procedure.
The sum and product rules can also be phrased in terms of set theory.
Sum rule: Let A1, A2, …, Am be disjoint sets. Then the number of ways to choose any
element from one of these sets is |A1 UA2 U… UAm | =
|A1| + |A2| + … + |Am|.
Product rule: Let A1, A2, …, Am be finite sets. Then the number of ways to choose one
element from each set in the order A1, A2, …, Am is
|A1 A2 Am | = |A1| |A2| … |Am|.
More examples
Q.1 - With 31 flavors of ice cream, 4 sizes of serving, and a choice of “cone” or “dish,”
how many different orders of ice cream are there?
Q.2 - At a restaurant, there are 18 dinners with meat, 10 different dinners with fish, and
5 vegetarian dinners? How many dinners to choose from?
Q.3 - In New Delhi, license plates consisted of two letters followed by 3 digits. How
many possible license plates are?
Q.4 - A traveling salesman wants to do a tour of all 50 state capitals. How many ways
can he do this?
Q.5 – How many different salads can be made from M, A, P, O, B. Only one fruit can also
be used. (Simpler method: Use the product rule)
Q.6 – How many 4 digit even numbers have all 4 digits distinct.
Answers
Q.1 - 31x4x2=248
Q.2 - 18+10+5=33 choices
Q.3 - 262 × 103
Q.4 - 50 choices for the first place to visit, 49 for the second, . . . 50! Altogether
Q.5 - 2*2*2*2*2 - 1 = 31
Q.6 – 1st case -> ends with 0 -> 9*8*7*1 = 504
(9 choices for the first digit, 8 for the second, 7
for the third and 1 choice for 0)
2nd case -> ends with 2,4,6,8 -> 8×8×7=448
(8 choices for the first digit (no 0 nor the last digit), 8 for the second digit and
7for the third digit)
Since there are 4 possible choices for the last digit (2, 4, 6, 8)
448*4 = 1792
Total = 504+1792=2296
❑The pigeonhole principle: If (k + 1) or more objects are placed into k boxes, then
there is at least one box containing two or more of the objects.
❑Example 1: If there are 11 players in a soccer team that wins 12-0, there must be at
least one player in the team who scored at least twice.
❑Example 2: If you have 6 classes from Monday to Friday, there must be at least one
day on which you have at least two classes.
❑The generalized pigeonhole principle: If N objects are placed into k boxes, then
there is at least one box containing at least N/k of the objects.
❑Example 1: In our 60-student class, at least 12 students will get the same letter
grade (A, B, C, D, or F).
❑There are 6 choices for the first person, 5 for the second one, and 4 for the third one,
so there are
6*5*4 = 120 ways to do this.
❑For example, picking person C, then person A, and then person E leads to the same
group as first picking E, then C, and then A.
❑The number of r-permutations of a set with n distinct elements is denoted by P(n, r).
❑(n choices for the first element, (n – 1) for the second one, (n – 2) for the third one…)
General formula:
❑P(n, r) = n!/(n – r)!
❑How many ways are there to pick a set of 3 people from a group of 6 (disregarding the
order of picking)?
❑The number of r-combinations of a set with n distinct elements is denoted by C(n, r).
❑Example: C(4, 2) = 6, since, for example, the 2-combinations of a set {1, 2, 3, 4} are {1,
2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4}.
❑Consider that we can obtain the r-permutation of a set in the following way:
❑Then, we generate all possible orderings in each of these r-combinations (there are
P(r, r) such orderings in each case).
❑Therefore, we have:
❑ How many ways are there to pick a set of 3 people from a group of 6
(disregarding the order of picking)?
Example:
A soccer club has 8 female and 7 male members. For today’s match, the coach wants to
have 6 female and 5 male players on the grass. How many possible configurations are
there?
❑ Types of permutation
1. Simple permutation
2. Circular Permutation
3. Permutation with repetition(r1 are of one kind,r2 are of other kind….)
4. Permutation with repetition( when each element can be repeated up to r times)
Ex1. 4 persons enter bus in which there are 6 vacant seats. In how many ways they
can take places ?
Ans : P(6,4) = 6 * 5*4*3 = 360 ways
Ex2. If repetition is not allowed then.
How many 3 digits numbers can be formed from six digits 2,3,4,5,7,9 ?
How many of these no. are less than 400?
How many are even ?
How many are multiple of 5 ?
Ans : 1) 6*5*4=120 ways
2) 2*5*4=40 ways
3) 4*5*2=40 ways
4) 4*5*1=20 ways
Ex 3. Six different mathematics books ,four different electronics books and three
different computer books are to be arranged on a shelf .How many different
arrangement is possible if
1. The books in each subject must all be together ?
[Link] the electronics books must be together ?
Ans: 1) 3!(All Together) ×6!(M)×4!(E)×3!©
2) 10!(1(E Together) +6(M)+3(C))×4!(E)
❑ The no. of ways in which n elements can be arranged ,where r1 elements are of
one kind,r2 are of other kind and so on…..
❑ Then the no. of arrangements = )n! / r1!r2!r3!
❑ Ex1: In how many ways can the letter MISSISSIPPI can be arranged ?
❑ 11!/1!⋅4!⋅4!⋅2!
❑ Ex2: How many no. can be formed with the digit 1,2,3,4,3,2,1 , so that the odd
digit always occupy the odd places.
❑ 4!/2!⋅2! * 3!/2!.1!
❑ [Link] how many ways an auto license plate can be made if each is identified by
2 letters followed by 4 digits ?
❑ 26×26×10×10×10×10
❑ Ex2: In how many ways an auto license plate can be made if each is identified by
2 letters followed by 4 digits & first digit should not be 0 ?
❑ 26×26×10×10×10
Combinations
Combinations
Pascal’s Identity:
❑ Let n and k be positive integers with n k.
Then C(n + 1, k) = C(n, k – 1) + C(n, k).
❑ How can this be explained?
❑ What is it good for?
Combinations
Combinations
❑ Ex1: A farmer buys 3 cows,2 pigs, and 4 hens from a man who has 6 cows , 5 pigs and
8 hens. How many choices the farmer have ?
❑ 6c3 * 5c2 * 8c4
❑ Ex2: From 8 men and 4 women a team of 5 is to be formed .In how many ways can
this be done so as to include at least one woman.
❑ 12c5 (Total)- 8c5(Only M)
Combinations
Ex3: There are 10 points in a 2d plane .Four of them are collinear. Find the number of
straight lines that can be joined by joining these points.
Ans: 10c2(Total) – 4c2(Collinear) - 1(unique line) = 40
Ex4: A bag contains 7 white balls and 5 black balls. Find the number of ways that 4 balls
can be drawn from the bag if
1. They can be of either color
2. Two must be white and two black.
3. They must all of the same color.
Ans: 1) 12c4 2) 7c2 * 5c2 3) 7c4+5c4
Eg. In how many ways can 5 boys and 4 girls be arranged on a bench if
a)there are no restrictions?
c)boys and girls alternate?
Eg. In how many ways can 5 boys and 4 girls be arranged on a bench if
c) boys and girls are in separate groups Anne and Jim wish to stay together?
Circular Arrangements
abcde bcdea
cdeab
deabc eabcd
Circular Arrangements
Circular Arrangements
Circular Arrangements
Combinations
Combinations