* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Exercises for CS3511 Week 31 (first week of practical)
Survey
Document related concepts
Transcript
Exercises for CS1512 Week 12 Sets (questions) 1. List the members of these sets: a. {x | x is an integer x >0 x<12} b. {x | x is the square of an integer and x<100} c. {x | x is an integer such that x2 = 2} 2. For each of the following sets, determine whether 2 is an element of that set a. {2,{3}} b. {{2},{2,{2}}} c. {{{2}}} 3. Give the cardinality of the sets in questions 1 and 2. 4. Which of the following statements are true? a. b. c. d. e. f. g. 1{0,1,2,3} {0,1,2}{0,1,2,3} {0,1,2}{0,1,2,3} 0 {0} {} {} {} 5. Suppose AB and BC. Prove or disprove a. AC. b. ABC c. CDD d. C P(C) 4. Translate into English and determine the truth value of each of the following: (R is the set of real numbers.) a. b. c. d. e. xR(x2x) xR(x2-1) xR(x2x) xRyR(y=x+1) xRyR(y=x2) 5. This exercise explores Russell’s paradox. General: This is just to keep good students interested. students have been exposed to a very informal brand of set theory, in which certain questions have no definite answer. It’s only when set theory is axiomatised that Russell’s paradox really arises as an undeniable problem. First some easy bits: a. b. c. Is it true that {a}{a}? Why (not)? Students may think this easier than it is. Normally of course it’s false, but what if a is between an infinite number of pairs of brackets? Better not mention this and just observe that a<>{a}. Define S={x|x{a,b,c}}. What is S? {a,b,c} Define T={a,b,c,d,e}. What is {xT|x{a,b,c}}. {d,e} Now for the hard part: d. Define V={x|xx}. Is VV? Why (not)? Can’t tell! Using the defining property of the set to answer the question, you obtain VV VV, which doesn’t tell you much. e. Define W={x|xx}. Is WW? Why (not)? This is Russell’s paradox. Using the defining property of the set, you derive that WW and WW. (Proving both p and p is what mathematicians call a paradox.)