lecture06

lecture06 - COMPSCI 102 Discrete Mathematics for Computer...

Info iconThis preview shows pages 1–18. Sign up to view the full content.

View Full Document Right Arrow Icon
COMPSCI 102 Discrete Mathematics for Computer Science
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lecture 6 Counting I: One-To-One Correspondence and Choice Trees
Background image of page 2
If I have 14 teeth on the top and 12 teeth on the bottom, how many teeth do I have in all?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A B A B = + Addition Rule Let A and B be two disjoint finite sets The size of (A B) is the sum of the size of A and the size of B
Background image of page 4
Addition Rule (2 possibly overlapping sets) Let A and B be two finite sets |A B| = |A| + |B| - |A B|
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Addition of multiple disjoint sets: Let A 1 , A 2 , A 3 , …, A n be disjoint, finite sets. A A i i i=1 n i n = = 1
Background image of page 6
Partition Method To count the elements of a finite set S, partition the elements into non-overlapping subsets A 1 , A 2 , A 3 , …, A n . . |s| = A A i i i=1 n i n = = 1
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
S = all possible outcomes of one white die and one black die. Partition Method
Background image of page 8
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. A 5 = the set of outcomes where the white die is 5. A 6 = the set of outcomes where the white die is 6. Each of 6 disjoint sets have size 6 = 36 outcomes
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
S = all possible outcomes where the white die and the black die have different values Partition Method
Background image of page 10
A i set of outcomes where black die says i and the white die says something else. S A A 5 3 0 i i i=1 i=1 = = = = = i 1 6 6 6 S Set of all outcomes where the dice show different values. S = ?
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
| 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>}
Background image of page 12
How many seats in this auditorium? Count without Counting: The auditorium can be Partitioned into n rows with k seats each Thus, we have nk seat in the room
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
S Set of all outcomes where the black die shows a smaller number than the white die. S = ? A i 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
Background image of page 14
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.
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
“It is clear by symmetry that |S| = |L|?”
Background image of page 16
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:
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 18
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 01/17/2012.

Page1 / 77

lecture06 - COMPSCI 102 Discrete Mathematics for Computer...

This preview shows document pages 1 - 18. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online