Introduction to Discrete Mathematics: Counting Theory and Combinatorics, Slides of Discrete Mathematics

An introduction to discrete mathematics, focusing on counting theory and combinatorics. Topics covered include the addition rule for finite sets, the partition method, and the correspondence principle. The document also discusses the concept of subsets and their number, as well as functions and their properties.

Typology: Slides

2012/2013

Uploaded on 04/27/2013

emee
emee 🇮🇳

4.3

(30)

134 documents

1 / 76

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction to Discrete
Mathematics
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c

Partial preview of the text

Download Introduction to Discrete Mathematics: Counting Theory and Combinatorics and more Slides Discrete Mathematics in PDF only on Docsity!

Introduction to Discrete

Mathematics

If I have 14 teeth on the top and 12

teeth on the bottom, how many

teeth do I have in all?

Addition Rule (2 possibly overlapping sets)

Let A and B be two finite sets

|A∪B| =

|A| + |B| - |A∩B|

Addition of multiple disjoint sets:

  • Let A 1 , A 2 , A 3 , …, An be disjoint, finite sets.

A i Ai

i=

n

i

n

=

1

S = all possible outcomes of one white die and one black die.

Partition Method

S = all possible outcomes of one white die and one black die.

Partition S into 6 sets:

Partition Method

  • A 1 = the set of outcomes where the white die is 1.
  • A 2 = the set of outcomes where the white die is 2.
  • A 3 = the set of outcomes where the white die is 3. A 4 = the set of outcomes where the white die is 4. A5 = the set of outcomes where the white die is 5. A6 = the set of outcomes where the white die is 6.

Each of 6 disjoint sets have size 6 = 36 outcomesDocsity.com

  • Ai ≡ set of outcomes where black die says i and the white die says something else.

S A (^) i A (^) i 5 30 i=1 i=

= = = =

∑ ∑ i 1

6 6 6 

S ≡ Set of all outcomes where the dice show different values. S =?

| S ∪ T | = # of outcomes = 36 |S| + |T| = 36 |T| = 6 |S| = 36 – 6 = 30

S ≡ Set of all outcomes where the dice show different values. S =?

T ≡ set of outcomes where dice agree. = { <1,1>, <2,2>, <3,3>,<4,4>,<5,5>,<6,6>}

S ≡ Set of all outcomes where the black die shows a smaller number than the white die. S =?

Ai ≡ set of outcomes where the black die says i and the white die says something larger.

S = A 1 ∪ A 2 ∪ A 3 ∪ A 4 ∪ A 5 ∪ A 6

|S| = 5 + 4 + 3 + 2 + 1 + 0 = 15

It is clear by symmetry that | S | = | L |.

S + L = 30

Therefore | S | = 15

S ≡ Set of all outcomes where the black die shows a smaller number than the white die. S =?

L ≡ set of all outcomes where the black die shows a larger number than the white die.

S L

Pinning Down the Idea of Symmetry by Exhibiting a Correspondence

Put each outcome in S in correspondence with an outcome in L by swapping color of the dice.

Thus: S = L

Each outcome in S gets matched with exactly one outcome in L, with none left over.

  • f is 1-1 if and only if
  • ∀x,y∈A, x ≠ y ⇒ f(x) ≠ f(y)

For Every

There Exists

f is onto if and only if

∀z∈B ∃x∈A f(x) = z

Let f : A → B Be a Function From a Set A to a Set B

A B

∃ onto f : A → B ⇒ | A | ≥ | B |

A B

∃ 1-1 onto f : A → B ⇒ | A | = | B |