

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS1050 HW 4 Answer Key There are 100 points total over the entire homework. (These answers are just one possibility. There are other equivalent, correct answers.) **Section 1.
Let e be an arbitrary element of (A ๏ B). Then e๏A or e๏B or e is an element of both. It follows that e must then be an element of (A ๏ B ๏ C). Therefore (A ๏ B) ๏ (A ๏ B ๏ C). b. (A โ B) โ C ๏ (A โ C) [10 points] Let e be and arbitrary element of (A โ B) โ C. If e ๏ (A โ B) โ C, then e ๏ (A โ B) and e ๏ C. If e ๏ (A โ B), then e ๏ A and e ๏ B. Thus e ๏ A and e ๏ C, which means e ๏ (A โ C). Therefore (A โ B) โ C ๏ (A โ C). c. (B โ A) ๏ (C โ A) = (B ๏ C) โ A [8 points for each part] i. Membership Table A B C B โ A C โ A (B โ A) ๏ (C โ A) B ๏ C (B ๏ C) โ A 1 1 1 0 0 0 1 0 1 1 0 0 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 0 Since column (B โ A) ๏ (C โ A) is identical with column (B ๏ C) โ A, they must be identical. ii. Propositional Logic (B โ A) ๏ (C โ A) = {x | x ๏ (B โ A) ๏ (C โ A)} Set builder notation = {x | x ๏ (B โ A) ๏ x ๏ (C โ A)} Def. of Union = {x | (x ๏ B ๏ x ๏ A) ๏ (x ๏ C ๏ x ๏ A)} Def. of Difference x = {x | (x ๏ A ๏ x ๏ B) ๏ (x ๏ A ๏ x ๏ C)} Commutative x = {x | x ๏ A ๏ (x ๏ B ๏ x ๏ C)} Distributive = {x | (x ๏ B ๏ x ๏ C) ๏ x ๏ A } Commutative = {x | x ๏ (B ๏ C) ๏ x ๏ A } Def. of Union = {x | x ๏ ((B ๏ C) โ A)} Def. of Difference = (B ๏ C) โ A Set builder notation iii. Tabular proof using set identities (B โ A) ๏ (C โ A) Def. of Difference x Commutative x Distributive Commutative Def. of Difference =(BI A)U(CI A) = (A I B)U(A I C) = A I (B UC) = (BUC)I A = (BUC) โ A