Discrete Mathematics : Proof : Question 1

In summary, the conversation discusses the use of Venn diagrams to determine the equality of (A-B) ∪ C and (A∪C) - (A∩B) for all subnets A,B and C of a universal set U. The conversation includes a question on whether or not this statement holds, and if so, provides a proof, and if not, provides a counter example. The conversation also includes a discussion on how to approach solving this problem by drawing Venn diagrams and filling in values for each section to clearly show the difference between the two expressions. Finally, a simpler example is suggested to demonstrate the inequality of the two expressions.
  • #1
Supierreious
21
0

Homework Statement



Question 1 :

a) Use Venn diagrams to determine whether or not, for all subnets A,B and C of a universal set U, (A-B) ∪ C = (A∪C) - (A∩B)
b) If the statement appears to hold, give a proof, if not, give a counter example.


Homework Equations




(A-B) ∪ C = (A∪C) - (A∩B)

*there are no other variables given
*no other values are known
*this question relates to the proof


The Attempt at a Solution



a) I have drawn the Venn diagrams, which does not reflect that they equate to each other, so they are not equal.
b) The counter example is the one I am struggling with, so i will explain how i did it, and basically just adapted an answer from my textbook :

Attempt to prove with counter example :
------------------------------------------------------------

Let : A = {1;2}
Let : B = {2;3}
Let : C = {1;4}

Left hand : (A-B) ∪ C :

(A-B) = = {1;2} - {2;3} = {1;3}
(A-B) ∪ C = {1;3} ∪ C = {1;3} ∪ {1;4} = {1;3;4}

(A-B) ∪ C = {1;3;4}

Now to find out what the right hand side is :

(A∪C) - (A∩B) :

(A∪C) = {1;2}∪{1;4} = {1;2;4}
(A∩B) = {1;2}∩{2;3} = {2}
(A∪C) - (A∩B) = {1;4}



Thus :

(A-B) ∪ C ≠ (A∪C) - (A∩B)


-----------------------------------------------------------------------------

Please let me know if this is right, or where i can improve, this is something new to me, and i still need to work on this alot.
 
Physics news on Phys.org
  • #2
Your steps are not correct. A - B is the difference, so
A - B = {1,2} - {2,3} = {1}. You are removing elements in AnB from A.

So, what you have is not a counter example. Try again :)
 
  • #3
Your steps are not correct. A - B is the difference, so
A - B = {1,2} - {2,3} = {1}. You are removing elements in AnB from A.

So, what you have is not a counter example. Try again :)
 
  • #4
Thanks,

=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;
Left hand : (A-B) ∪ C :

(A-B) = = {1;2} - {2;3} = {1;3}
(A-B) ∪ C = {1;3} ∪ C = {1;3} ∪ {1;4} = {1;3;4}

(A-B) ∪ C = {1;3;4}
=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;

should be :

=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;=;

Left hand : (A-B) ∪ C :

(A-B) = = {1;2} - {2;3} = {1}
(A-B) ∪ C = {1} ∪ C = {1} ∪ {1;4} = {1;4}

(A-B) ∪ C = {1;4}

...

So that means that they are in fact the same... (i did not see that from my Venn diagram).

I will quickly draw the venn diagrams again, is there a way i can show you the venn diagrams on this forum ?
 
  • #5
Ok, i have managed to upload a Venn diagram on these 2.

Please let me know why my venn diagram does not reflect the calculation..
 

Attachments

  • venn diagram.png
    venn diagram.png
    2.5 KB · Views: 584
  • #6
Ingenious! Your Venn diagrams are correct. If you find 3 sets which obey the original statement it can be still false. Find a counter-example. What about the sets in the attachment?

ehild
 

Attachments

  • threesets.JPG
    threesets.JPG
    9.9 KB · Views: 449
  • #7
Yes - if A n B n C is not empty, the proposition is false.
 
  • #8
hi Ehild,

Thank you for the feedback, yes i can see the difference, only if a place a value in every field :)

The example i used had 'empty fields' - which does not point out the difference.

So in the process of answering this one (Correct me if i am wrong) :

1. Draw the venn diagrams
2. Put a value in every section (piece) of the venn diagram
3. Then do the calculations - due to the fields of the venn diagram , when writing out the proof it will be clear that the two are not the same

Just writing out my proof, if you can confirm, i will really appreciate it :


A = {1;2;6;7}
B = {2;3;5;7}
C = {4;5;6;7}

(A-B) ∪ C = {1;2;6;7} - {2;3;5;7} ∪ C
= {1;6} ∪ C
= {1;6} ∪ {4;5;6;7}
= {1;4;5;6;7}

Right Hand : ∪ ∩

(A∪C) - (A∩ B)
(A∪C) : {1;2;6;7) ∪ {4;5;6;7} = {1;2;4;5;6;7}
(A∩B) : {1;2;6;7} ∩ {2;3;5;7} = {2;7}
(A∪C) - (A∩ B) = {1;4;5;6}

and Thus :

(A-B) ∪ C ≠ (A∪C) - (A∩B)
 
  • #9
Nice, that works. A simpler example might have been:
A = B = C = {1}.

:)
 
  • #10
Who, Ehild,

thanks a lot for your assistance, appreciated!
 

FAQ: Discrete Mathematics : Proof : Question 1

1. What is Discrete Mathematics?

Discrete Mathematics is a branch of mathematics that deals with discrete (distinct or separate) objects and their relationships, rather than continuous quantities. It is used to analyze and solve problems in computer science, cryptography, and other fields.

2. What is a proof in Discrete Mathematics?

A proof in Discrete Mathematics is a logical argument that demonstrates the truth of a statement or theorem. It involves using mathematical reasoning and techniques to show that a statement is true, based on a set of axioms, definitions, and previously proven theorems.

3. How is Discrete Mathematics different from other branches of mathematics?

Discrete Mathematics differs from other branches of mathematics, such as calculus and algebra, in that it focuses on discrete objects and their relationships, rather than continuous quantities. It also involves more logic and set theory than other branches.

4. What are some applications of Discrete Mathematics?

Discrete Mathematics has many practical applications, including computer programming, cryptography, data analysis, and operations research. It is also used in fields such as economics, biology, and linguistics.

5. How can I improve my skills in Discrete Mathematics?

To improve your skills in Discrete Mathematics, it is important to practice solving problems and proofs, as well as familiarizing yourself with common techniques and concepts. Additionally, seeking out resources such as textbooks, online courses, and study groups can also be helpful in improving your understanding and proficiency in the subject.

Similar threads

Replies
8
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
Replies
5
Views
3K
Replies
7
Views
2K
Replies
6
Views
3K
Replies
2
Views
2K
Back
Top