EECS
lec16-counting

# lec16-counting - EECS 203 Winter 2007 Discrete Mathematics...

• Notes
• 7

This preview shows pages 1–4. Sign up to view the full content.

EECS 203, Winter 2007 Discrete Mathematics Lecture 16 Basic counting; Inclusion-Exclusion Principle; Pigeonhole Principle March 6 Reading: Rosen [5.1, 5.2] March 6 Basic counting; Inclusion-Exclusion Principle; Pigeonhole Principle, Page 1

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

16.1 Basic counting principles Two simple formulas If A = A 1 × A 2 × · · · A m , then | A | = Π m i =1 | A i | . If A = A 1 A 2 ∪ · · · ∪ A m and A i A j = ϕ , for all i = j , then | A | = m i =1 | A i | . Use them to do counting: The Product Rule: if a task can be decomposed into m steps, each step has n i options, i = 1 , ..., m then the total number of options for completing the task is Π m i =1 n i . The Sum Rule: if a task can be accomplished in one of n 1 ways, or, one of n 2 ways, or, ..., one of n m ways, and no pair of those ways are the same, then there are in total n 1 + · · · + n m March 6 Basic counting; Inclusion-Exclusion Principle; Pigeonhole Principle, Page 2
16.1 Basic counting principles ways to accomplish the task.

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

This is the end of the preview. Sign up to access the rest of the document.
• Winter '07
• YaoyunShi
• Combinatorics, Natural number, Finite set, Ramsey's theorem

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern