Discrete Structures - Assignment 3 Solutions | CS 173, Assignments of Discrete Structures and Graph Theory

Material Type: Assignment; Class: Discrete Structures; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Fall 2006;

Typology: Assignments

Pre 2010

Uploaded on 03/16/2009

koofers-user-gv3
koofers-user-gv3 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS173 Discrete Mathematical Structures
Fall 2006
Homework #3 Solutions
Homework #3 was graded on a scale of 39 points.
1. 10 points total. 2 points for each part: 2 for correct, 1 for incorrect with some
explanation, 0 for incorrect with no argument.
a. False
b. False
c. True
d. True
e. True
2. 6 points total. 2 points for each part: 1 point for the correct power set and 1 point
for the correct cardinality.
a. {}, cardinality 1
b. {, {}}, cardinality 2
c. {, {}, {{}}, {, {}}}, cardinality 4
3. 12 points total. 4 points for each part: 4 for the correct response and no errors in
justification, 3 for a correct response but minor errors in justification, 1 for
incorrect response with an attempt at justification, 0 for no attempt.
a. 1. (A B) A Given
2. x (x (A B) x A) Definition of Set Membership
3. x ((x A x B) x A) Definition of Intersection
4. x (¬ (x A x B) x A) Implication
5. x (x A x B x A) DeMorgan
6. x ((x A x A) x B) Associativity
7. x (T x B) Tautology
8. x (T) Domination
b. 1. A A B Given
2. x (x A x (A B)) Definition of Set Membership
3. x (x A (x A x B)) Definition of Union
4. x (¬ (x A) (x A x B)) Implication
5. x ((x A x A) x B)) Negation, Associativity
6. x (T x B)) Tautology
7. x (T) Domination
pf2

Partial preview of the text

Download Discrete Structures - Assignment 3 Solutions | CS 173 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS173 Discrete Mathematical Structures Fall 2006 Homework #3 Solutions

Homework #3 was graded on a scale of 39 points.

  1. 10 points total. 2 points for each part: 2 for correct, 1 for incorrect with some explanation, 0 for incorrect with no argument. a. False b. False c. True d. True e. True
  2. 6 points total. 2 points for each part: 1 point for the correct power set and 1 point for the correct cardinality. a. {∅}, cardinality 1 b. {∅, {∅}}, cardinality 2 c. {∅, {∅}, {{∅}}, {∅, {∅}}}, cardinality 4
  3. 12 points total. 4 points for each part: 4 for the correct response and no errors in justification, 3 for a correct response but minor errors in justification, 1 for incorrect response with an attempt at justification, 0 for no attempt. a. 1. (A ∩ B) ⊆ A Given 2. ∀x (x ∈ (A ∩ B) → x ∈ A) Definition of Set Membership 3. ∀x ((x ∈ A ∧ x ∈ B) → x ∈ A) Definition of Intersection 4. ∀x (¬ (x ∈ A ∧ x ∈ B) ∨ x ∈ A) Implication 5. ∀x (x ∉ A ∨ x ∉ B ∨ x ∈ A) DeMorgan 6. ∀x ((x ∉ A ∨ x ∈ A) ∨ x ∉ B) Associativity 7. ∀x (T ∨ x ∉ B) Tautology 8. ∀x (T) Domination

b. 1. A ⊆ A ∪ B Given

  1. ∀x (x ∈ A → x ∈ (A ∪ B)) Definition of Set Membership
  2. ∀x (x ∈ A → (x ∈ A ∨ x ∈B)) Definition of Union
  3. ∀x (¬ (x ∈ A) ∨ (x ∈ A ∨ x ∈B)) Implication
  4. ∀x ((x ∉ A ∨ x ∈ A) ∨ x ∈B)) Negation, Associativity
  5. ∀x (T ∨ x ∈B)) Tautology
  6. ∀x (T) Domination

c. 1. A ∩ (B – A) = ∅

  1. {x | x ∈ A ∧ x ∈ (B – A)} Definition of Intersection
  2. {x | x ∈ A ∧ x ∈ B ∧ x ∉ A} Definition of Subtraction
  3. {x | (x ∈ A ∧ x ∉ A) ∧ x ∈ B } Associativity
  4. {x | F ∧ x ∈ B } Tautology
  5. {x | F} Domination
  6. ∅ Definition of Empty Set
  7. 5 points total. 5 for the correct response and no errors in justification, 3 for a correct response but minor errors in justification, 1 for incorrect response with an attempt at justification, 0 for no attempt.
  8. (A – B) ∪ (A – C) ∪ (B ∩ C) Given
  9. {x | (x ∈ A ∧ x ∉ B) ∨ (x ∈ A ∧ x ∉ C) ∨ (x ∈ B ∧ x ∈ C)} Def’n of Subtraction, Intersection
  10. {x | (x ∈ A ∧ (x ∉ B ∨ x ∉ C)) ∨ (x ∈ B ∧ x ∈ C)} Distribution
  11. {x | ((x ∈ B ∧ x ∈ C) ∨ x ∈ A) ∧ ((x ∈ B ∧ x ∈ C) ∨ (x ∉ B ∨ x ∉ C))} Distribution
  12. {x | ((x ∈ B ∧ x ∈ C) ∨ x ∈ A) ∧ ((x ∈ B ∧ x ∈ C) ∨ (¬ (x ∈ B ∧ x ∈ C)))} DeMorgan
  13. {x | ((x ∈ B ∧ x ∈ C) ∨ x ∈ A) ∧ T} Tautology
  14. {x | (x ∈ B ∧ x ∈ C) ∨ x ∈ A} Identity
  15. {x | x ∈ A ∨ (x ∈ B ∧ x ∈ C)} Associativity
  16. {x | x ∈ A ∪ (B ∩ C)} Definition of Intersection/Union
  17. A ∪ (B ∩ C) Definition of Set Membership
  18. 2 points total. 2 for correct, 1 for incorrect with some explanation, 0 for incorrect with no argument. There are many possible solutions for this. One example: A = {1, 2} B = {1, 2, {1, 2}}
  19. 4 points total. 2 points for each part: 2 for correct, 1 for incorrect with some explanation, 0 for incorrect with no argument. a. A ∪ C = B ∪ C No, you cannot conclude that A = B. For example, let A = {1, 2} B = {3} C = {1, 2, 3, 4, 5} Then A ∪ C = {1, 2, 3, 4, 5} and B ∪ C = {1, 2, 3, 4, 5}, which is equal, but A and B were not the same set.

b. A ∩ C = B ∩ C No, you cannot conclude that A = B. For example, let A = {1, 2} B = {2, 3} C = {2} Then A ∩ C = {2} and B ∩ C = {2}, which is equal, but A and B were not the same set.