Inclusion/Exclusion Principle
Tyler Murphy
April 30, 2014
This follows from the in-class work on 30 April 2014
Problem 1
Let A and B be finite sets.
Prove that if | A ∪ B |<| A | + | B |, then A ∩ B = ∅
Proof. Directly.
By The inclusion/Exclusion Principle, | A ∪ B |=| A | + | B | − | A ∩ B |.
Suppose that | A ∪ B |<| A | + | B |.
Then, by I.E.P., we have | A | + | B | − | A ∩ B |<| A | + | B |.
Subtracting | A | + | B | from both sides, we get - | A ∩ B |< 0.
So, | A ∩ B |> 0.
So A ∩ B = ∅.
Problem 2
Let A and B be finite sets in a universal set U.
Find a formula for | A ∪ Bc | .
By I.E.P., | A ∪ Bc |=| A | + | Bc | − | A ∩ Bc | .
Now, we need to ask ourselves what each of these pieces involving the compliment is.
First consider what Bc is. That is everything in U that is not in B. So | Bc |=|
U − B |=| U | − | B |.
So now we have | A ∪ Bc |=| A | + | U | − | B | − | A ∩ Bc | .
Now we need to think about what | A ∩ Bc | is. First, consider what this represents.
In | A ∪ B |=| A | + | B | − | A ∩ B |, the last piece is the amount of stuff we have
overcounted by.
1
So, ask yourself what we have overcounted by in this problem.
If we have | A | + | U | − | B |, we counted all of A once when we counted itself and
again when we counted U. But when we took out B, we also took out A ∩ B.
So in order to fix this, we need to take out one | A | and add in one | A ∩ B |
So we have | A ∪ Bc |=| A | + | U | − | B | − | A | + | A ∩ B | .
This simplifies to | U | − | B | + | A ∩ B |.
So, | A ∪ Bc |=| U | − | B | + | A ∩ B |.
So think about what we have said here. We have said that | A ∩ Bc |=| A − A ∩ B |.
Let’s try to justify that. Consider what A∩Bc is. It is everything in A AND everything
NOT in B. So this is all the things in A, but not in the intersection of A and B because those
things are in B. So we have everything in A minus the things in both. So A∩Bc = A−A∩B.
So it is ok to make our claim.
The idea with all of this is to think about what the I.E.P. means. It simply means
take all the things in the first set, add it to all the things in the second set, and take out
everything you overcounted.
So if you ever get stuck with trying to figure out what the last piece of the I.E.P. looks
like, just step back and think about what you have overcounted.
2

More Related Content

PPT
Discrete Math Lecture 03: Methods of Proof
PPTX
Numerical solutions of algebraic equations
PDF
PPT
Minterm and maxterm
PDF
Poset in Relations(Discrete Mathematics)
PPTX
GAUSS ELIMINATION METHOD
PPTX
Proofs by contraposition
PDF
Magnitude Comparator and types of MC
Discrete Math Lecture 03: Methods of Proof
Numerical solutions of algebraic equations
Minterm and maxterm
Poset in Relations(Discrete Mathematics)
GAUSS ELIMINATION METHOD
Proofs by contraposition
Magnitude Comparator and types of MC

What's hot (20)

PPTX
Difference between combinational and
PPTX
Principle of mathematical induction
PDF
Numerical Methods 1
PPTX
BCD to binary code converter
PPTX
Theory of Computation Unit 3
PPT
13 Boolean Algebra
PPTX
BOOLEAN ALGEBRA & LOGIC GATE
PPT
5.2 first and second derivative test
PPTX
Verilog operators.pptx
PDF
Registers and counters
PDF
Boolean algebra & logic gates
PPTX
Linear differential equation
PPT
numerical methods
PDF
Chapter 2: Relations
PDF
PPTX
THREE DIMENSIONAL GEOMETRY
PDF
Chapter 05 computer arithmetic
PPT
Algebraic structures
PPTX
Pigeonhole Principle
Difference between combinational and
Principle of mathematical induction
Numerical Methods 1
BCD to binary code converter
Theory of Computation Unit 3
13 Boolean Algebra
BOOLEAN ALGEBRA & LOGIC GATE
5.2 first and second derivative test
Verilog operators.pptx
Registers and counters
Boolean algebra & logic gates
Linear differential equation
numerical methods
Chapter 2: Relations
THREE DIMENSIONAL GEOMETRY
Chapter 05 computer arithmetic
Algebraic structures
Pigeonhole Principle
Ad

More from Tyler Murphy (20)

PDF
Job application 2020
PDF
The Table Method for Derivatives
PDF
Math 170 notation
PDF
intro to Implicit differentiation
PDF
Tower of hanoi problem
PDF
Intro to derivatives
PDF
One sided limits
PDF
Limits as x approaches infinity
PDF
Computing limits
PDF
Introduction to limits
PDF
Solving a trig equation
PDF
solving a trig problem and sketching a graph example problems
PDF
Finding a polyomial from data
PDF
functions review
PDF
Jason format preferences m170
PDF
Final exam review
PDF
Oral exam structure M189
DOCX
Class mods
DOCX
Drop trow game rules
PDF
Exam 3 Math 189
Job application 2020
The Table Method for Derivatives
Math 170 notation
intro to Implicit differentiation
Tower of hanoi problem
Intro to derivatives
One sided limits
Limits as x approaches infinity
Computing limits
Introduction to limits
Solving a trig equation
solving a trig problem and sketching a graph example problems
Finding a polyomial from data
functions review
Jason format preferences m170
Final exam review
Oral exam structure M189
Class mods
Drop trow game rules
Exam 3 Math 189
Ad

Recently uploaded (20)

PDF
advance database management system book.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
International_Financial_Reporting_Standa.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
HVAC Specification 2024 according to central public works department
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
advance database management system book.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
What if we spent less time fighting change, and more time building what’s rig...
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
International_Financial_Reporting_Standa.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
HVAC Specification 2024 according to central public works department
Chinmaya Tiranga quiz Grand Finale.pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Environmental Education MCQ BD2EE - Share Source.pdf
Hazard Identification & Risk Assessment .pdf
Computer Architecture Input Output Memory.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
History, Philosophy and sociology of education (1).pptx

Inclusion exclusion principle

  • 1. Inclusion/Exclusion Principle Tyler Murphy April 30, 2014 This follows from the in-class work on 30 April 2014 Problem 1 Let A and B be finite sets. Prove that if | A ∪ B |<| A | + | B |, then A ∩ B = ∅ Proof. Directly. By The inclusion/Exclusion Principle, | A ∪ B |=| A | + | B | − | A ∩ B |. Suppose that | A ∪ B |<| A | + | B |. Then, by I.E.P., we have | A | + | B | − | A ∩ B |<| A | + | B |. Subtracting | A | + | B | from both sides, we get - | A ∩ B |< 0. So, | A ∩ B |> 0. So A ∩ B = ∅. Problem 2 Let A and B be finite sets in a universal set U. Find a formula for | A ∪ Bc | . By I.E.P., | A ∪ Bc |=| A | + | Bc | − | A ∩ Bc | . Now, we need to ask ourselves what each of these pieces involving the compliment is. First consider what Bc is. That is everything in U that is not in B. So | Bc |=| U − B |=| U | − | B |. So now we have | A ∪ Bc |=| A | + | U | − | B | − | A ∩ Bc | . Now we need to think about what | A ∩ Bc | is. First, consider what this represents. In | A ∪ B |=| A | + | B | − | A ∩ B |, the last piece is the amount of stuff we have overcounted by. 1
  • 2. So, ask yourself what we have overcounted by in this problem. If we have | A | + | U | − | B |, we counted all of A once when we counted itself and again when we counted U. But when we took out B, we also took out A ∩ B. So in order to fix this, we need to take out one | A | and add in one | A ∩ B | So we have | A ∪ Bc |=| A | + | U | − | B | − | A | + | A ∩ B | . This simplifies to | U | − | B | + | A ∩ B |. So, | A ∪ Bc |=| U | − | B | + | A ∩ B |. So think about what we have said here. We have said that | A ∩ Bc |=| A − A ∩ B |. Let’s try to justify that. Consider what A∩Bc is. It is everything in A AND everything NOT in B. So this is all the things in A, but not in the intersection of A and B because those things are in B. So we have everything in A minus the things in both. So A∩Bc = A−A∩B. So it is ok to make our claim. The idea with all of this is to think about what the I.E.P. means. It simply means take all the things in the first set, add it to all the things in the second set, and take out everything you overcounted. So if you ever get stuck with trying to figure out what the last piece of the I.E.P. looks like, just step back and think about what you have overcounted. 2