RED. Name: Math 290 Fall 2016 Sample Exam 3

Similar documents
RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Math 3450 Homework Solutions

REVIEW FOR THIRD 3200 MIDTERM

RED. Fall 2016 Student Submitted Sample Questions

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

Discussion Summary 10/16/2018

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Chapter 1 : The language of mathematics.

Functions as Relations

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Spring

Math 109 September 1, 2016

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

MATH 13 FINAL EXAM SOLUTIONS

Cardinality and ordinal numbers

and problem sheet 6

Cartesian Products and Relations

Review for Exam 2/Solutions

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

9 FUNCTIONS. 9.1 The Definition of Function. c Dr Oksana Shatalov, Fall

Functions. Given a function f: A B:

Section 4.4 Functions. CS 130 Discrete Structures

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k)

Math Fall 2014 Final Exam Solutions

FOUNDATIONS & PROOF LECTURE NOTES by Dr Lynne Walling

Introduction to Proofs

447 HOMEWORK SET 1 IAN FRANCIS

1 Take-home exam and final exam study guide

MATH 2001 MIDTERM EXAM 1 SOLUTION

Notes. Functions. Introduction. Notes. Notes. Definition Function. Definition. Slides by Christopher M. Bourke Instructor: Berthe Y.

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

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

MATH 201 Solutions: TEST 3-A (in class)

5 FUNCTIONS. 5.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

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.

MATH 3300 Test 1. Name: Student Id:

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. 3.4: Proof by Cases

1. Decide for each of the following expressions: Is it a function? If so, f is a function. (i) Domain: R. Codomain: R. Range: R. (iii) Yes surjective.

About This Document. MTH299 - Examples Weeks 1-6; updated on January 5, 2018

Math 230 Final Exam, Spring 2008

COM S 330 Homework 05 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem.

4.1 Real-valued functions of a real variable

1Number ONLINE PAGE PROOFS. systems: real and complex. 1.1 Kick off with CAS

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

2. Properties of Functions

Math 581 Problem Set 9

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

MATH FINAL EXAM REVIEW HINTS

Functions Functions and Modeling A UTeach/TNT Course

Exam Practice Problems

Contribution of Problems

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014

Week Some Warm-up Questions

Math 230 Final Exam, Spring 2009

GEOMETRY FINAL CLAY SHONKWILER

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

Day 15. Tuesday June 12, 2012

ASSIGNMENT 1 SOLUTIONS

Selected problems from past exams

CHAPTER 3 REVIEW QUESTIONS MATH 3034 Spring a 1 b 1

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Contribution of Problems

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

Math 2534 Solution to Test 3A Spring 2010

Discrete Mathematics Fall 2018 Midterm Exam Prof. Callahan. Section: NetID: Multiple Choice Question (30 questions in total, 4 points each)

Solutions to Homework Problems

MAT115A-21 COMPLETE LECTURE NOTES

Math Analysis CP WS 4.X- Section Review A

MCS 115 Exam 2 Solutions Apr 26, 2018

SETS AND FUNCTIONS JOSHUA BALLEW

CS100: DISCRETE STRUCTURES

Chapter12. Relations, Functions, and Induction

5 Set Operations, Functions, and Counting

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

Chapter 1. Sets and Mappings

CSE 20 DISCRETE MATH WINTER

Chapter 1. Sets and Numbers

Discrete Mathematics

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

MTH 299 In Class and Recitation Problems SUMMER 2016

Date: October 24, 2008, Friday Time: 10:40-12:30. Math 123 Abstract Mathematics I Midterm Exam I Solutions TOTAL

Computer Science Foundation Exam

can only hit 3 points in the codomain. Hence, f is not surjective. For another example, if n = 4

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

MAD 3105 PRACTICE TEST 2 SOLUTIONS

Math 3000 Section 003 Intro to Abstract Math Final Exam

RELATIONS AND FUNCTIONS

Foundations Revision Notes

Vector Spaces. EXAMPLE: Let R n be the set of all n 1 matrices. x 1 x 2. x n

CSE 20 DISCRETE MATH. Fall

MATH 3330 ABSTRACT ALGEBRA SPRING Definition. A statement is a declarative sentence that is either true or false.

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Introduction to Functions

Topology. Xiaolong Han. Department of Mathematics, California State University, Northridge, CA 91330, USA address:

HOMEWORK ASSIGNMENT 6

ABOUT THE CLASS AND NOTES ON SET THEORY

Transcription:

RED Name: Math 290 Fall 2016 Sample Exam 3 Note that the first 10 questions are true false. Mark A for true, B for false. Questions 11 through 20 are multiple choice. Mark the correct answer on your ule sheet. Answers to the last five questions should e written directly on the exam, and should e written neatly and correctly. Questions 1 to 20 are worth 2.5 points each, and questions 21 to 25 are worth 10 points each. 1. Let R e a relation defined on the set Z y ar if a. Then R is symmetric and transitive. Answer. False. It is symmetric ut not transitive as shown y the following counterexample. Let a = 1, = 2, and c = 1. Then ar and Rc, ut a Rc. 2. The relation R on Z given y ar if a is reflexive and transitive ut not symmetric. Answer. True. [You should e ale to prove this statement.] 3. Let f : A B e an injective function and let C A. Let g : C B e the restriction of f to C. Then g is injective. Answer. True. Let x, y C and assume g(x) = g(y). Since g = f C, we have f(x) = f(y). Since f is injective, x = y. 4. Let f : N Z e defined y f(n) = n + 3. Then f is surjective. Answer. False. Note that f(n) 0 for any n N. 5. If A = 4 and B = 5, then there cannot e a surjective function from A to B. Answer. True. There are not enough elements of A to hit every element of B. 6. Let a, R with a 0. Then f : R R defined y f(x) = ax + is a ijection. Answer. True. First, we prove injectivity. Let x, y R and assume f(x) = f(y). Then ax + = ay +. Sutracting from oth sides, ax = ay. Then dividing oth sides y a (using the fact a 0), we have x = y. Thus, f is injective. Next we prove surjectivity. Let y R and fix x = (c )/a R. We have f(x) = f((c )/a) = a((c )/a) + = c + = c. Thus, f is surjective. 7. Let A = { 1, 0, 1}. Define f : A Z y the rule f(a) = a 4, and define g : A Z y the rule g(a) = a 2. Then f is equal to g. Answer. True. The functions have the same domains and same codomains. Further, since f(x) = g(x) for all x A, then f is equal to g. 8. Let A e a nonempty set. If a function f : A A is surjective, then it is injective. Answer. False. Here is a counter-example with A = N. Define f : N N y f(1) = 1 and f(n) = n 1 when n > 1. This is not injective since f(1) = f(2). It is surjective since 1

2 for any N we can take a = + 1 N and f(a) = f( + 1) =. [Note: This statement would e true if A were assumed to e a finite set, y the pigeon-hole principle.] 9. If A is an uncountale set and B < A, then B is countale. Answer. False. Consider the case B = R and A is the power set of R. 10. If two sets A and B are oth uncountale, then they have the same cardinality. Answer. False. Consider the case B = R and A is the power set of R. 11. Let A = {1, 2, 3, 4, 5}, and let Multiple choice section R = {(1, 1), (1, 3), (1, 4), (2, 2), (2, 5), (3, 1), (3, 3), (3, 4), (4, 1), (4, 3), (4, 4), (5, 2), (5, 5)} e an equivalence relation on A. Which of the following is an equivalence class? a) {1, 2, 3} ) {2, 3, 5} c) {1, 3, 4} d) {1, 2} e) {1, 2, 3, 4, 5} Answer. (c). The equivalence classes are {1, 3, 4} and {2, 5}. 12. Define a relation R on the integers y ar if a 2 2 3. Choose the most complete correct statement elow: a) R is reflexive. ) R is symmetric. c) R is transitive. d) R is reflexive and transitive. e) R is symmetric and transitive. f) R is reflexive and symmetric. g) R is an equivalence relation. h) None of the aove. Answer. (a). Clearly a 2 a 2 3. If a = 2 and = 0, then 2 a 2 3, ut a 2 2 3. Thus, R is not symmetric. If a = 2, = 1, and c = 0, then a 2 2 3 and 2 c 2 3, ut a 2 c 2 = 4 3. Thus R is not transitive. 13. Which of the following is an equivalence relation? a) The relation R on Z defined y ar if a 2 2 7. ) The relation R on Z defined y ar if 2a + 5 0 (mod 7). c) The relation R on Z defined y ar if a + 0 (mod 5). d) The relation R on Z defined y ar if a 2 + 2 = 0. Answer. (). The relation in (a) is not an equivalence relation for the same reasons as in question #12. (c) is neither reflexive nor transitive, and (d) is not reflexive. () can e shown to e reflexive, symmetric, and transitive. 14. How many different equivalence relations are there on the set A = {a,, c}? a) 1. ) 2. c) 3. d) 4. e) 5. f) 6. g) 256. h) 512. Answer. (e). Think aout how many ways there are to partition the set A. 15. Which of the following functions from Z 6 Z 6 is injective? (They are all well defined.) a) f([x]) = [2x + 3] ) f([x]) = [x 3 + 1] c) f([x]) = [x 2 + 3] d) All of the aove e) None of the aove Answer. (). This can e verified directly y plugging the 6 equivalence classes into Z 6. The function in (a) satisfies f([0]) = f([3]), while the function in (c) satisfies f([2]) = f([4]).

3 16. Let f : R {3} R {2} e given y f(x) = 4x 7 2x 6. Which of the following is true: a) f is not injective. ) f is not surjective. c) f is ijective ut has no inverse. d) f is ijective, and the inverse of f is f 1 (x) = 2x 6 e) f is ijective, and the inverse of f is f 1 (x) = 6x 7 f) f is not a function from R {3} to R {2}. g) None of a-f are true. Answer. (e). 4x 7. 2x 4. 17. The numer of functions from A = {1, 2, 3} to B = {1, 2, 3, 4, 5} is a) 0 ) 1 c) 8 d) 15 e) 125 f) 243 g) 6561 h) Infinite Answer. (e). 18. Let f : (0, 1) [0, 1] e defined y f(x) = x. Which of the following is true? (Choose the most complete correct answer.) a) f is a surjective function ) f is an injective function c) f is a ijective function d) f is an invertile function e) f is not a function Answer. (). 19. Evaluate the proposed proof of the following result: Theorem: The sets (0, ) and [0, ) have the same cardinality. Proof. Let f : (0, ) [0, ) e defined y f(x) = x. Then f is clearly injective, so (0, ) [0, ). Define g : [0, ) (0, ) y g(x) = 1/x. Since g(x) = g(y) implies that 1/x = 1/y, which implies that x = y, we see that g is injective. Hence, [0, ) (0, ). By the Schröder-Bernstein theorem, we see that (0, ) = [0, ). a) The theorem and its proof are true. ) The stated theorem is false. c) The proof is incorrect ecause f(x) is not an injective function from (0, ) to [0, ). d) The proof is incorrect ecause g(x) is not an injective function from [0, ) to (0, ). e) The proof is incorrect ecause f(x) is not a surjective function from (0, ) to [0, ). f) The proof is incorrect ecause [0, ) is larger than (0, ). Answer. (d). The function g(x) = 1/x is not defined at x = 0, so it is not a function from [0, ) to (0, ). 20. Which of the following sets have equal cardinality? A = (0, 1), B = P(N), C = R a) A and B ) B and C c) A and C d) All three have equal cardinality e) None of them have equal cardinality. Answer. (d).

4 21. Let A = {1, 2, 3, 4, 5}. Then P = {{1, 3}, {2}, {4, 5}} is a partition of A. Write down (as a set of ordered pairs) the equivalence relation R whose equivalence classes are the elements of P. Solution: R = {(1, 1), (1, 3), (3, 1), (3, 3), (2, 2), (4, 4), (4, 5), (5, 4), (5, 5)}. 22. Let f : A B and g : B C e functions. (a) Prove or disprove: If g f is injective then f is injective. () Prove or disprove: If f is surjective, then g f is surjective. Solution: (a) We will prove this directly. Assume g f is injective. We will show f is injective. Let x, y A and assume f(x) = f(y). Plugging this value into g we have g(f(x)) = g(f(y)). In other words, (g f)(x) = (g f)(y). Since g f is injective, we otain x = y as desired. We can also prove this contrapositively. Assume that f is not injective. Hence there exists some a, A, such that a and f(a) = f(). Then applying g to oth sides of this equation gives g(f(a)) = g(f()), or in other words (g f)(a) = (g f)(), where a. Hence g f is not injective. () We will disprove this statement with a counterexample. Fix A = B = C = R. Define f : R R y the rule f(x) = x, and define g : R R y the rule g(x) = x 2. Then f is clearly surjective, ut (g f)(x) = g(f(x)) = x 2 is not surjective. 23. Let a, R with 0. Define f : R {0} R {a} y Prove that f is ijective. f(x) = a + x. Solution: We will prove that f is oth surjective and injective. To prove injectivity, assume that x, y R {0}, with f(x) = f(y). Then a + x = a + y. Sutracting a and dividing y (noting 0) we otain x = y, and hence that f is injective. To prove injectivity, let y R {a} e aritrary. Doing scratch-work we see that we want to fix x = R. We also must check x 0. Assume, y way of contradiction x = 0. Then = 0. So = 0, a contradiction. ( ) Finally we check that f(x) = f = y, and thus f is surjective. As f is oth injective and surjective, it is thus a ijection. 24. Let A = (0, 1) e the open interval of real numers etween 0 and 1. Let B = ( 2, 3) e the open interval of real numers etween 2 and 3. Prove that A = B. Solution: We will construct a ijection f from A to B. Let f e defined y f(x) = 2 + 5x. It is straightforward to check that f is indeed a function from A to B, and that the function f 1 (x) = 2 5 + 1 5 x

5 is the inverse function of f from B to A. Thus f is a ijection, and A = B. 25. Let A e a nonempty set. Prove that A < P(A). Solution: We must show that there is an injection from A to P(A), ut no surjection. Let f : A P(A) e the function defined y f(a) = {a} for all a A. Clearly f is an injection, and hence A P(A). To show that no surjection exists from A to P(A), assume that g : A P(A) is any function. Define the set B as follows: B = {a A : a g(a)}. Clearly B is a suset of A, and hence B P(A). Let a A e aritrary. We need to show that B g(a). We consider two cases: Case 1: a g(a). Then y definition of B, we must have that a B. Thus g(a) B. Case 2: a g(a). Then a B y the definition of B, ut again this gives g(a) B. We conclude that no function from A to P(A) is surjective, and hence A < P(A).