Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set?

Similar documents
CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

1.4 Equivalence Relations and Partitions

Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary

ASSIGNMENT 1 SOLUTIONS

Introduction to Set Operations

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

SETS. Chapter Overview

CSC Discrete Math I, Spring Relations

Worksheet on Relations

Logic, Set Theory and Computability [M. Coppenbarger]

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Sets and Motivation for Boolean algebra

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

2MA105 Algebraic Structures I

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

Notes on Sets, Relations and Functions

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Outline Inverse of a Relation Properties of Relations. Relations. Alice E. Fischer. April, 2018

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

SET THEORY. 1. Roster or Tabular form In this form the elements of the set are enclosed in curly braces { } after separating them by commas.

Lecture 8: Equivalence Relations

Practice Final Solutions. 1. Consider the following algorithm. Assume that n 1. line code 1 alg(n) { 2 j = 0 3 if (n = 0) { 4 return j

Relations. Relations. Definition. Let A and B be sets.

SET THEORY. Disproving an Alleged Set Property. Disproving an Alleged Set. Example 1 Solution CHAPTER 6

Practice Exam 1 CIS/CSE 607, Spring 2009

Section 7.1 Relations and Their Properties. Definition: A binary relation R from a set A to a set B is a subset R A B.

1 Chapter 1: SETS. 1.1 Describing a set

CHAPTER 1 SETS AND EVENTS

Binary Relation Review Questions

Relations and Equivalence Relations

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Lesson 3.5 Exercises, pages

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Math 109 September 1, 2016

MATH 13 FINAL EXAM SOLUTIONS

1 Selected Homework Solutions

Exercises 1 - Solutions

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Lecture 4. Algebra, continued Section 2: Lattices and Boolean algebras

1 2 3 style total. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Chapter 9: Relations Relations

We want to show P (n) is true for all integers

2. Prime and Maximal Ideals

A B is shaded A B A B

Relations Graphical View

ECARES Université Libre de Bruxelles MATH CAMP Basic Topology

2 Equivalence Relations

Sets, Proofs and Functions. Anton Velinov

Mathematical Methods in Economics. T. S. Angell Department of Mathematical Sciences University of Delaware Newark, Delaware

Mathematical Methods in Economics. T. S. Angell Department of Mathematical Sciences University of Delaware Newark, Delaware

Foundations of algebra

X-MA2C01-1: Partial Worked Solutions

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Solutions to Homework Set 1

1 Equivalence Relations

MTH202 Discrete Mathematics

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Foundations Revision Notes

9 < Ways to place n distinguishable objects= S(n, k) = into k indistinguishable boxes so that no box is left empty We stated in section 6.

Math 230 Final Exam, Spring 2008

Exclusive Disjunction

Reading 11 : Relations and Functions

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

3 Boolean Algebra 3.1 BOOLEAN ALGEBRA

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

Topics in Logic, Set Theory and Computability

Properties of Boolean Algebras

SETS. set of natural numbers by N set of integers by Z set of rational numbers by Q set of irrational numbers by T

In this initial chapter, you will be introduced to, or more than likely be reminded of, a

Practice Midterm 1 UCLA: Math 61, Winter 2018

Module 2: Language of Mathematics

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

Selected Solutions to Even Problems, Part 3

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Scott Taylor 1. EQUIVALENCE RELATIONS. Definition 1.1. Let A be a set. An equivalence relation on A is a relation such that:

1.1 Introduction to Sets

Quadratic and Rational Inequalities

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

Relationships between elements of sets occur in many contexts. Every day we deal with

Mathematics. Lecture and practice. Norbert Bogya. University of Szeged, Bolyai Institute. Norbert Bogya (Bolyai Institute) Mathematics / 27

Quiz 1. Directions: Show all of your work and justify all of your answers.

COMP232 - Mathematics for Computer Science

Spring Based on Partee, ter Meulen, & Wall (1993), Mathematical Methods in Linguistics

Relations, Functions, Binary Relations (Chapter 1, Sections 1.2, 1.3)

Exam Practice Problems

Mathematical Preliminaries. Sipser pages 1-28

LOGIC AND SET THEORY - HOMEWORK Question 1. n + 1 Unknown - either n or n 1, depending on whether { } A

A Semester Course in Basic Abstract Algebra

RELATIONS AND FUNCTIONS

MITOCW Lec 11 MIT 6.042J Mathematics for Computer Science, Fall 2010

Transcription:

Assignment 4 Solutions Problem1: (Section 2.1 Exercise 9) (a.) List all the subsets of the set {a, b, c, d} which contain: (i.) four elements (ii.) three elements (iii.) two elements (iv.) one element (v.) no elements (i.) {a, b, c, d} (ii.) {a, b, c}, {a, b, d}, {a, c, d}, {b, c, d} (iii.) {a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c, d} (iv.) {a}, {b}, {c}, {d} (v.) (b.) How many subsets of {a, b, c, d} are there altogether? Altogether there are 16 subsets of {a, b, c, d}. Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set? If A =, then P(A) = { } is a set containing one element, so its power set contains two elements. (b.) Suppose A is a set containing one element. How many elements are in P(P(A))? P(A) contains two elements; P(P(A)) has four elements. Problem 3: (Section 2.2 Exercise 12) For n Z, let A n = {a Z a n}. Find each of the following sets. (b.) A 3 A 3

(c.) A 3 (A 3 ) c (d.) 4 i=0a i (b.) Since A 3 A 3, A 3 A 3 = A 3. (c.) A 3 (A 3 ) c = {a Z 3 < a 3} = { 2, 1, 0, 1, 2, 3}. (d.) Since A 0 A 1 A 2 A 3 A 4, we have 4 i=0a i = A 0 Problem 4: (Section 2.2 Exercise 14) (b.) Suppose A and B are sets such that A B = A. What can you conclude? Why? Answer: A B. Proof: Assume that B is not a subset of A. That means B contains elements which are not in A. Then the union A B will contain those elements as well, which would mean that A B A. Therefore B must be a subset of A: B A. Problem 5: ( Section 2.2 Exercise 17a) Let A, B, and C be subsets of some universal set U. Prove that A B C and A c B C B C. Let x B. Certainly x is also in A or in A c. This suggests cases. Case 1: If x A, then x A B, so x C. Case 2: If x does not belong to A, then x A c B, so x C. In either case, x C, so B C. Problem 6: (Section 2.2 Exercise 18a) Let A, B, and C be sets. Find a counterexample to the statement A (B C) = (A B) C

The Venn diagram shown in Fig 2.1 of the text suggests the following counterexample: Let A = {1, 2, 3, 4}, B = {3, 4, 5, 6} and C = {2, 3, 5, 7}. Then A (B C) = A {3, 5} = {1, 2, 3, 4, 5} whereas (A B) C = {1, 2, 3, 4, 5, 6, } C = {2, 3, 5} Problem 7: (Section 2.2 Exercise 19) Use the first law of De Morgan to prove the second: (A B) c = A c B c Way 1: We use the fact that (X c ) c = X for any set X. Let X = A c and Y = B c. Then A = X c and B = Y c, so (A B) c = [X c Y c ] c = [(X Y ) c ] c (by the first law of De Morgan)= X Y = A c B c, as required. Way 2: (this way we do not use the first law of De Morgan itself, but the proof is similar to the one of the first law of De Morgan) (A B) c = {x U (x A x B)} = {x U (x A) (x B)} = A c B c Problem 8: (Section 2.3 Exercise 4) With a table like that in Fig 2.2, illustrate a relation on the set {a, b, c, d} which is (b.) not symmetric and not anti antisymmetric (d.) transitive (b.) (d.) a b c d a X X X b X c X X d a b c d a X X X X b X X X c X d X X Problem 9: ( Section 2.3 Exercise 9) Determine whether or not each of the binary re-

lations R defined on the given sets A are reflexive, symmetric, antisymmetric, or transitive. If a relation has a certain property, prove this is so; otherwise, provide a counterexample to show that it does not. (d.) A = R; (a, b) R if and only if a 2 = b 2. (e.) A = R; (a, b) R if and only if a b 3. (h.) A = Z; R = {(x, y) x + y = 10}. (j.) A = N; (a, b) R if and only if a b is an integer. (d.) Reflexive: For any a R, a 2 = a 2, so (a, a) R. Symmetric: If (a, b) R then a 2 = b 2, so b 2 = a 2 which says that (b, a) R. Not antisymmetric: (1, 1) R and ( 1, 1) R but 1 1. Transitive: If (a, b) and (b, c) are both in R, then a 2 = b 2 and b 2 = c 2, so a 2 = c 2 which says (a, c) R. (e.)reflexive: For any a R, a a = 0 3 and so (a, a) R. Not Symmetric: For example, (0, 7) R because 0 7 = 7 3, but (7, 0) / R because 7 0 = 7 3. Not antisymmetric: (2, 1) R because 2 1 = 1 3 and (1, 2) R because 1 2 = 1 3, but 1 2. Not Transitive: (5, 3) R because 5 3 = 2 3 and (3, 1) R because 3 1 = 2 3, but (5, 1) / R because 5 1 = 4 3. (h.)not Reflexive: (2, 2) / R because 2 + 2 10. Symmetric: If (x, y) R, then x + y = 10, so y + x = 10, and hence, (y, x) R. Not antisymmetric: (6, 4) R because 6+4 = 10 and similarly, (4, 6) R, but 6 4. Not Transitive: (6, 4) R because 6 + 4 = 10 and similarly, (4, 6) R, but (6, 6) / R because 6 + 6 10. (j.)reflexive: a = 1 N for any a N. a

Not Symmetric: (4, 2) R but (2, 4) / R. Antisymmetric: If a = n and b = m are integers then nm = 1 so n, m {±}. Since b a a and b are positive, so are n and m. Therefore, n = m = 1 and a = b. Transitive: The argument given in Example 24 for Z works the same way for N. Problem 10: (Section 2.4 Exercise 8) Define on Z by a b if and only if 3a + b is a multiple of 4. (a.) Prove that defines an equivalence relation. (b.) Find the equivalence class of 0. (c.) Find the equivalence class of 2. (d.) Make a guess about the quotient set. (a.) Reflexive: For any a Z, 3a + a = 4a is a multiple of 4, so a a. Symmetric: If a b, then 3a + b = 4k for some integer k. Since (3a + b) + (3b + a) = 4(a + b), we see that 3b + a = 4(a + b) 4k is a multiple of 4, so b a. Transitive: If a b and b c, then 3a + b = 4k for some integer k and 3b + c = 4l for some integer l. Since 4(k + l) = (3a + b) + (3b + c) = (3a + c) + 4b, we see that 3a + c = 4(k + l) 4b is a multiple of 4 and hence, that a c. (b.)0 = {x Z x 0} = {x 3x = 4k, for some integer k}. Now if 3x = 4k, k must be a multiple of 3. So 3x = 12l for some integer l Z and x = 4l. Therefore, 0 = 4Z = {0, 4, 8, 12, 16,...}. (c.)2 = {x Z x 2} = {x 3x + 2 = 4k for some integer k} = {x 3x = 4k 2 for some integer k}. Now if 3x = 4k 2, then 3x = 3k + k 2 and so k 2 is a multiple of 3. Therefore, k = 3l + 2 for some integer l, 3x = 4(3l + 2) 2 = 12l + 6 and x = 4l + 2. So 2 = 4Z + 2 = {2, 6, 10, 14, 18,...}. Problem 11: (Section 2.4 Exercise 12) Determine, with reasons, whether or not each of the following defines an equivalence relation on the set A.

(b.) A is the set of all circles in the plane; a b if and only if a and b have the same center. (c.) A is the set of all straight lines in the plane; a b if and only if a is parallel to b. (d.) A is the set of all lines in the plane; a b if and only if a is perpendicular to b. (b.) Yes, this is an Equivalence Relation. Reflexive: If a is a circle, then a a because a has the same center as itself. Symmetric: Assume a b. Then a and b have the same center. Thus, b and a have the same center, so b a. Transitive: Assume a b and b c. Then a and b have the same center and b and c have the same center, so a and c have the same center. Thus a c. (c.) Yes, this is an Equivalence Relation. Reflexive: If a is a line, then a is parallel to itself, so a a. Symmetric: If a b, then a is parallel to b. Thus, b is parallel to a. Hence, b a. Transitive: If a b and b c, then a is parallel to b and b is parallel to c, so a is parallel to c. Thus a c. (d.) No, this is Not an equivalence relation. The reflexive property does not hold because no line is perpendicular to itself. Neither is this relation transitive; if l 1 is perpendicular to l 2 and l 2 is perpendicular to l 3, then l 1 and l 3 are parallel, not perpendicular to one another.