How to prove that |A∪B|+|A∩B| = |A|+|B|.

  • Context: Undergrad 
  • Thread starter Thread starter yangbin990
  • Start date Start date
  • Tags Tags
    Yale
Click For Summary
SUMMARY

The discussion centers on proving the equation |A∪B| + |A∩B| = |A| + |B| using discrete mathematics principles. The participants emphasize the importance of understanding the counting processes involved in both sides of the equation. A sketch of the proof is provided, detailing four cases based on the membership of an element x in sets A and B. The conversation highlights the balance between rigor and clarity in mathematical proofs, suggesting that different audiences may require varying levels of detail.

PREREQUISITES
  • Understanding of set theory concepts, specifically union and intersection.
  • Familiarity with basic counting principles in discrete mathematics.
  • Knowledge of mathematical proofs and their structure.
  • Ability to interpret and manipulate logical statements and equations.
NEXT STEPS
  • Study the principles of set theory, focusing on union and intersection operations.
  • Learn about mathematical proof techniques, including direct proof and proof by cases.
  • Explore the concept of disjoint sets and their implications in counting.
  • Review axioms and lemmas related to cardinality in set theory.
USEFUL FOR

Students of discrete mathematics, educators teaching set theory, and mathematicians interested in proof techniques and cardinality concepts.

yangbin990
Messages
2
Reaction score
0
Hi,

I am teaching myself the discrete math using the "Discrete Mathematics
Lecture Notes, Yale University, Spring 1999".

And I don't how to prove the practice question below:
Prove that |A∪B|+|A∩B| = |A|+|B|.

The textbook provide answer like below:
The common elements of A and B are counted twice on both sides; the elements in
either A or B but not both are counted once on both sides.

But I think it may be some mathematical way to prove that.

If someone can give me a hand that will be very appreciated.
 
Physics news on Phys.org
That sounds like a pretty mathematical answer to me.
 
yangbin990 said:
But I think it may be some mathematical way to prove that.

Is your idea of a "mathematical way" to have a series of symbolic manipulations? If so, you are misguided. Mathematical proofs are often given using words.

Let's assume you know that proofs use words. There are various levels of "rigor" in math and you are correct that a more rigorous proof could be given. Whether it ought to be given depends on the audience for the proof. When you do self-study then you are the audience. When a proof doesn't convince you, you can seek a more rigorous proof or you can try harder to take the point of view of the proof that was given. Both methods are useful.

For the theorem you gave, it isn't easy to write a more rigorous proof! The book's short remark implies it is reasoning about the results produced by two processes of counting.

The process for the left hand side (LHS) of the alleged equation is: Count the elements in A \cup B, count the element in A \cap B and add these two counts.

The process for the right side (RHS) of the alledged equation is count the elements in A , count the elements in B and add these two counts.


A sketch of a proof (to my personal standard of rigor) would be:.

Let x be an element. There are two possibilities for x's membership in each set, making 4 possibilities for its joint membership in the two sets. These are:

Case 1) x is in A and x is in B
Case 2) x is in A and x is not in B
Case 3) x iis not in A and x is in B
Case 4) x is not in A and x is not in B

In Case 1) , the LHS process counts x exactly 2 times. It is counted once in the count of A\cup B and once in the countof A \cap B. The RHS counts also counts x twice. It counts x once in the count of A and once in the count of B.

In Case 2) , the LHS process counts x exactly 1 time. It is counted in the count of A \cup B. The RHS process also counts x exactly 1 time in the count of A.

... and we'd have to deal with the other cases in a similar manner

In the end we can conclude that "if x is counted exactly k times by the LHS process then x is counted exactly k times by the RHS process" since we showed this was true in all possible cases.


Different people will have different reactions to such a proof. Many will find it unnecessarily wordy. A few may find it lacks detail! You have to determine a practical standard for yourself. Generally speaking, the "average smart math person" sets a standard for proofs that let's them read papers and books at the speed they require. Their standard usually isn't high enough to prevent them from being fooled every now and then an invalid argument. They must use discussions with other people and "peer review" keep from getting too far off course.
 
The proof in the OP is fine. If you think it lacks rigor, then there are more rigorous proofs. For example:

1) Lemma: If ##A## and ##B## are disjoint, then ##|A\cup B| = |A| + |B|##

I will not prove this lemma. I think it is intuitively obvious and a very intuitive argument can be given. In either case, a proof depends very much on the definition of ##+## and ##|~|##. In a lot of cases, this lemma is seen as an axiom. In either case, the proof of the lemma relies on the specifics of your set theory.

2) Lemma: ##|B\setminus A| + |A| = |B|##
Follows immediately from the lemma. Note that ##A\setminus B## and ##B## are disjoint.

3) Theorem: ##|A\cup B| + |A\cap B| = |A| + |B|##
We know that ##B = (B\setminus A)\cup (A\cup B)## and this union is disjoint. Thus
|A| + |B| = |A| + |B\setminus A| + |A\cup B|
The lemma now implies the theorem.
 
Really appreciate everyone's help, especially Stephen's explanation.

And I will spend some time to digest micromass's reply as well.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 4 ·
Replies
4
Views
15K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
3K
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
4K