Docsity

Homework 2 Problems for Constructing Proofs | CS 1050, Assignments of Computer Science

Toggle sidebar
bg1
Homework 2 – CS 1050C
Due: 2/1 before class
1. Prove that all of the following statements are equivalent (for example,
that (a)→(b)→(c)→(d)→(a), compare Problem 1 in Section 0.2):
(a) A⊆B
(b) A∪B=B
(c) A∩B=A
(d) A\B=∅
2. Prove or show a counterexample (note: Venn diagram is not enough)
(a) For any sets A,Band C,A\(B\C) = (A∪C)\B
(b) For any sets A,Band C,
A⊕(B⊕C) = (A\(B∪C))∪(B\(A∪C))∪(C\(A∪B))∪(A∩B∩C)
3. Prove that (p→(q→r)) ↔((p∧(¬r)) →(¬q)) is a tautology
(a) Using truth table
(b) Using algebra of propositions
4. Prove that if A,Band Care any sets such that A⊆Bthen:
(a) A∪C⊆B∪C
(b) A∩C⊆B∩C
(c) A\C⊆B\C
(d) C\B⊆C\A
1

Partial preview of the text

Download Homework 2 Problems for Constructing Proofs | CS 1050 and more Assignments Computer Science in PDF only on Docsity!

Homework 2 – CS 1050C

Due: 2/1 before class

  1. Prove that all of the following statements are equivalent (for example, that (a) → (b) → (c) → (d) → (a), compare Problem 1 in Section 0.2):

(a) A ⊆ B (b) A ∪ B = B (c) A ∩ B = A (d) A \ B = ∅

  1. Prove or show a counterexample (note: Venn diagram is not enough)

(a) For any sets A, B and C, A \ (B \ C) = (A ∪ C) \ B (b) For any sets A, B and C, A⊕(B⊕C) = (A(B∪C))∪(B(A∪C))∪(C(A∪B))∪(A∩B∩C)

  1. Prove that (p → (q → r)) ↔ ((p ∧ (¬r)) → (¬q)) is a tautology

(a) Using truth table (b) Using algebra of propositions

  1. Prove that if A, B and C are any sets such that A ⊆ B then:

(a) A ∪ C ⊆ B ∪ C (b) A ∩ C ⊆ B ∩ C (c) A \ C ⊆ B \ C (d) C \ B ⊆ C \ A