Answer to Question #274856 in Discrete Mathematics for Ayomide Adebiyi

Question #274856

1a) Use set-builder notation to prove that


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


b) Let E={ 1,23,4,5,6,7,8,9,10} and ordering of element in increasing  order that is a= i; what bit strings represent the subsets of integers not exceeding  5 in E




3a)Let A={1,2,3},determine  all partitions of A



1
Expert's answer
2021-12-17T07:19:02-0500

1a)

By definition, we have


"A\u00d7(B\u2229C)={(x,y):x\u2208A; y\u2208B\u2229C}\\\\\n={(x,y):x\u2208A and (y\u2208B and y\u2208C)}.\\\\"

Similarly,

"(A\u00d7B)\u2229(A\u00d7C)={(x,y):(x,y)\u2208A\u00d7B and (x,y)\u2208A\u00d7C}\\\\\n\n={(x,y):(x\u2208A and y\u2208B) and (x\u2208A and y\u2208C)}."

With that established, what we need to show is that the two statements

"x\u2208A; (y\u2208B ; y\u2208C),(x\u2208A ; y\u2208B) ; (x\u2208A ; y\u2208C)"

are logically equivalent.


1b)

The bit string that represents the set of odd integers in U, namely, {1, 3, 5, 7, 9}, has one bit in the first, third, fifth, seventh, and ninth positions, and zero elsewhere. It is 

10 1010 1010. 

(We have split this bit string of length 10 into two blocks of length five for easy reading since long bitstrings are difficult to read.) Similarly, we represent the subset of all even integers in U, namely, {2, 4, 6, 8,10}, by the string 

01 0101 0101. 

The set of all integers in U that do not exceed 5, namely, {1, 2, 3, 4, 5}, is represented by the string 

11 1110 0000.

Using bit strings to represent sets, it is easy to find complements of sets and unions, intersections, and differences of sets. To find the bit string for the complement of a set from the bit string for that set, we simply change each 1 to a 0 and each 0 to 1, since x E A if and only if x A. Note that this operation corresponds to taking the negation of each bit when we associate a bit with a truth value—with 1 representing true and 0, false. 


3a)

As the OP said in his comment the answer is the following list of partitions of S={1,2,3}:

  1. {{1,2,3}} (one set, just itself )
  2. {{1,2},{3}} (two sets, one of two elements , one singleton)
  3. {{1,3},{2}}
  4. {{2,3},{1}}
  5. {{1},{2},{3}} (all singletons)

and these are all.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS