Combinatorics - Elementary Discrete Math - Lecture Slides, Slides of Discrete Mathematics

These study notes are very easy to understand elementary discrete math and very helpful to built a concept about the foundation of computers.The key points discuss in these notes are:Combinatorics, Elementary Counting, Techniques, License Plates, Distinct Function, Finite Sets, Branch of Discrete Mathematics, Sum Rule, Task Formulation, Product Rule, Set Formulation, Cartesian Product

Typology: Slides

2012/2013

Uploaded on 04/27/2013

ashalata
ashalata 🇮🇳

3.8

(18)

106 documents

1 / 86

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Elementary Counting
Techniques & Combinatorics
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
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56

Partial preview of the text

Download Combinatorics - Elementary Discrete Math - Lecture Slides and more Slides Discrete Mathematics in PDF only on Docsity!

Elementary Counting

Technique s & Combinatorics

Consider:

  • How many license plates are possible with 3 letters followed by 3 digits?
  • How many license plates are possible with 3 letters followed by 3 digits if no letter repeated?
  • How many different ways can we chose from 4 colors and paint 6 rooms?

Combinatorics

  • the branch of discrete mathematics concerned with determining the size of finite sets without actually enumerating each element.

Combinatorics

  • The Sum Rule (task formulation):
    • Suppose that a task can be completed by performing exactly one task from a collection of disjoint subtasks: subtask 1 , subtask 2 , ... , subtask n ;
    • Now suppose each subtask has a choice of ways to perform it, e.g. - subtask 1 can be performed t 1 ways, - subtask 2 can be performed t 2 ways, - ... - subtask (^) n can be performed t n ways.
    • Then number the number of ways to perform the task is: t 1 + t 2 + ... + t n

The Sum Rule

  • Example:
    • Suppose either a CS faculty or a CS student must be chosen for a committee, and there are 4 CS faculty and 16 CS students. How many possible choices are there?

The Sum Rule

  • Example:
    • Suppose a student can meet the humanities course requirement by taking either a religion, literature, or art course. There are 3 religion, 4 literature, or 4 art courses to chose from. How many possible choices are there?

Example - Product Rule

  • How many different ways can we chose from 4 colors and paint 3 rooms? - Tasks: - 1 - paint room 1 - 4 ways to perform (4 colors) - 2 - paint room 2 - 4 ways to perform (4 colors) - 3 - paint room 3 - 4 ways to perform (4 colors) - Thus t 1 = 4, t 2 = 4, t 3 = 4, and 4 ⋅ 4 ⋅ 4 = 64 ways to paint the rooms

Example - Product Rule

  • How many different ways can we chose from 4 colors and paint 3 rooms, if no room is to be the same color? - tasks: - 1 - paint room 1 - 4 ways to perform (4 colors) - 2 - paint room 2 - 3 ways to perform (3 colors left) - 3 - paint room 3 - 2 ways to perform (2 colors left) - Thus t 1 = 4, t 2 = 3, t 3 = 2, and 4 ⋅ 3 ⋅ 2 = 24 ways to paint the rooms

Example - Product Rule

  • How many different 3 people can be selected from a group of 8 people to a president, vice- president, treasure of the group?

Example - Product Rule

  • If student ID’s are two capital letters followed by three numeric digits, then how many ID’s are possible? - What if the two letters must be distinct? - What if the letters and the numbers must all be distinct?

Example - Product Rule

Let A = {a, b, c, d, e}, B = {1, 3, 5, 7}

  • How many pairs ( x, y ) exist where x ∈ A and y ∈ B?
  • A × B has cardinality |A| ⋅ |B| = 5 ⋅ 4 = 20

Example - Product Rule

  • How many license plates are possible with 3 letters followed by 3 digits?

Example - The Sum Rule

Let A = {a, b, c, d, e}, B = {1, 3, 5, 7}

  • How many ways can one element be chosen?

|A ∪ B| = |A| + |B| = 5 + 4 = 9.

Example - The Sum Rule

  • You have five novels, four magazines, and three devotional books. - How many options do you have for taking one for your wait in the bank line?