Discussion Summary 10/16/2018

Similar documents
1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

Chapter 1 : The language of mathematics.

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

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

Section 4.4 Functions. CS 130 Discrete Structures

S15 MA 274: Exam 3 Study Questions

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

Functions as Relations

Cardinality and ordinal numbers

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

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

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

Chapter 1. Sets and Mappings

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

1 Partitions and Equivalence Relations

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.

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

A Short Review of Cardinality

Section 0. Sets and Relations

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.

RED. Name: Math 290 Fall 2016 Sample Exam 3

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

SETS AND FUNCTIONS JOSHUA BALLEW

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

RED. Fall 2016 Student Submitted Sample Questions

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

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

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

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

MATH 3300 Test 1. Name: Student Id:

MATH FINAL EXAM REVIEW HINTS

Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

There are seven questions, of varying point-value. Each question is worth the indicated number of points.

4) Have you met any functions during our previous lectures in this course?

Selected problems from past exams

Section Summary. Definition of a Function.

CS100: DISCRETE STRUCTURES

Sec$on Summary. Definition of a Function.

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

0 Sets and Induction. Sets

Functions. Given a function f: A B:

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

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

Econ Lecture 2. Outline

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

Math 4603: Advanced Calculus I, Summer 2016 University of Minnesota Notes on Cardinality of Sets

MATH 13 FINAL EXAM SOLUTIONS

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

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

Automata and Languages

Math 300: Final Exam Practice Solutions

CSCE 222 Discrete Structures for Computing

Math 109 September 1, 2016

Func%ons. function f to the element a of A. Functions are sometimes called mappings or transformations.

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

CSE 20 DISCRETE MATH. Fall

Intro to Theory of Computation

Exercises for Unit VI (Infinite constructions in set theory)

Functions Functions and Modeling A UTeach/TNT Course

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Math 105A HW 1 Solutions

1 Take-home exam and final exam study guide

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9

Principles of Real Analysis I Fall I. The Real Number System

Recitation 7: Existence Proofs and Mathematical Induction

General Notation. Exercises and Problems

CIS 375 Intro to Discrete Mathematics Exam 2 (Section M001: Yellow) 10 November Points Possible

REVIEW FOR THIRD 3200 MIDTERM

Week Some Warm-up Questions

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Math Fall 2014 Final Exam Solutions

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Relations, Functions, and Sequences

Undecidability. Andreas Klappenecker. [based on slides by Prof. Welch]

Chapter 2 - Basics Structures

Part IA Numbers and Sets

ABOUT THE CLASS AND NOTES ON SET THEORY

Some Basic Notations Of Set Theory

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M004: Blue) 6 December Points Possible

9/21/2018. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions

Sets, Structures, Numbers

Section 7.5: Cardinality

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Discrete Mathematics 2007: Lecture 5 Infinite sets

CSE 20 DISCRETE MATH WINTER

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M001: Green) 6 December Points Possible

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

Discrete Structures: Sample Questions, Exam 2, SOLUTIONS

Economics 204 Summer/Fall 2011 Lecture 2 Tuesday July 26, 2011 N Now, on the main diagonal, change all the 0s to 1s and vice versa:

Copyright c 2007 Jason Underdown Some rights reserved. statement. sentential connectives. negation. conjunction. disjunction

CHAPTER 7 FUNCTIONS. Alessandro Artale UniBZ - artale/

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

Chapter12. Relations, Functions, and Induction

Foundations of Mathematics

Part IA. Numbers and Sets. Year

Finite and Infinite Sets

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

MTH Abstract Algebra I and Number Theory S17. Homework 6/Solutions

Transcription:

Discussion Summary 10/16/018 1 Quiz 4 1.1 Q1 Let r R and r > 1. Prove the following by induction for every n N, assuming that 0 N as in the book. r 1 + r + r 3 + + r n = rn+1 r r 1 Proof. Let S n = Σ n i=1 ri and T (n) = rn+1 r r 1. (1) Basis Step. S 1 = r. T (1) = r r r 1 = r.thus, S 1 = T (1). () Inductive Step. Assume S k = T k, k N, S k+1 = S k + r k+1 = rk+1 r r 1 + r k+1 = rk+1 r + r k+ r k+1 r 1 = rk+ r r 1 = T (k + 1) 1. Q A sequence a n for n N is defined by a 1 = 0 and a n = a n 1 + n for n > 1. Prove by induction that a n = (n 1) n for all n N. Solution 1: Proof. Let F (n) = (n 1) n. 1

(1) Basis Step. Because a 1 = 0. and F (1) = (1 1) 1 = 0. Therefore, a 1 = F (1). () Inductive Step. Assume a k = F (k). a k+1 = a k + k+1 = (k 1) k + k+1 = (k 1) k+1 + k+1 = k k+1 = F (k + 1) Solution : Proof. Notice that if divide both sides with n, then an b n = an, then n b 1 = a 1 = 0 b n = b n 1 + 1 n = an 1 n 1 + 1. Let It can be easily proved by induction that b n = n 1. Therefore, an n = n 1 and a n = (n 1) n. Relation and Functions.1 Relations R is a relation from a set A to a set B when R A B. (1) a R b (a, b) R () a R b (a, b) / R R is a relation on S if R is a relation from S to S, or R S S. Let R be a relation on S, then R is (1) reflexive if a S, (a, a) R. (e.g. R is on Z and a R b if a + b is even.) () symmetric if a, b S, (a, b) R, (b, a) R. (e.g R is on R and a R b if ab = 0.) (3) transitive if a, b, c S, (a, b) R and (b, c) R, then (a, c) R. (e.g. R is on R and a R b if a > b.)

Eg. 1. The following are relations on the set R of real numbers. Which of the properties reflexive, symmetric and transitive does each relation below possess? (a) x R 1 y if x y 1. (b) x R y if y x + 1. (c) x R 3 y if y = x. (d) x R 4 y if x + y = 9. (a) Reflexive, as a R, a a = 0 1. Symmetric, as a b = b a so if a b 1 then b a 1. Not transitive. Let a = 1, b =, c = 3, then we have a R 1 b and b R 1 c, but a R 1 c. (b) Not reflexive. Let a = then a R a. Not symmetric. Let a = 5 and b = 1, then a R b but b R a. Not transitive. Let a =, b = 5, c = 10, then a R b and b R c, but a R c. (c) Not reflexive, e.g a =. Not symmetric, e.g. a =, b = 4. Not transitive, e.g. a =, b = 4, c = 16. (d) Not reflexive, e.g. a = 1. Symmetric. Not transitive, e.g. a = 1, b =, c = 1.. Equivalence Relations R is an equivalence relation if it is reflexive, symmetric and transitive. Let R be an equivalence relation on a set A. For a A, the equivalence class [a] = {x A : x R a}. [a] = [b] if and only if a R b. Eg.. A relation R is defined on the set Z of integers by a R b if a b is a multiple of 3. (a) Prove that R is an equivalence relation. (b) Describe the distinct equivalence classes resulting from R. 3

(a) a Z, a a = 0 which is a multiple of 3, so a R a and R is reflective. a, b Z, if a R b, then a b is a multiple 3. Let a b = 3k where k Z, then b a = 3k, which is also a multiple of 3, so we have y R x as well, so R is symmetric. a, b, c Z, if a R b and b R c, then a b and b c are both multiples of 3. Let a b = 3m and b c = 3n where m, n Z. By summing up the two equations, we obtain a b + b c = 3m + 3n a c = 3(m + n). Observe that a c is also a multiple of 3, so a R c and R is transitive. Therefore, R is an equivalence relation. (b) There are 3 different equivalence classes: [0], [1], []..3 Functions Grade = f(will,effort,knowledge,environment). Function Let A and B be two nonempty sets. A function f from A to B is a relation from A to B that associates with each element of A a unique element of B. f is denoted as f : A B. Image of an element is an element. Suppose f : A B, a A, b B and f(a) = b. b is the image of a under f. Image of a set is a set. Suppose f : A B and X A. The image of X under f is the set f(x) = {f(x) : x X} Domain, Codomain, range If f : A B is a function from a set A to a set B, then A is called the domain of f and B is called the codomain of f. The range of f(a) is the set of images of elements of A, namely f(a) = {f(a) : a A} Composition of Functions Let f : A B and g : B C. The composition of g f is the function from A to C defined by (g f)(a) = g(f(a)) for a A 4

1 3 4 5 A R 1 a 1 b c d e B 3 4 5 A R f = R 3 a 1 b c d e B 3 4 5 A (a) (b) (c) Figure 1: Definition of functions. a b c d e B In Fig. 1, the relation R 1 is not a function because for the element in the domain, it has two images c and d. The relation R is not a function either because element 4 in the domain doesn t have any image. R 3 is a relation because every element in the domain A has exactly one image in the codomain B. For a set S = {1,, 3}, the image f(s) = {a, d, b}. 5

Eg. 3. (Page 167. Ex.6) Let f : A B be a function. Prove that if A 1, A A, then f(a 1 A ) f(a 1 ) f(a ). Proof. b f(a 1 A ), a A 1 A, f(a) = b. a A 1 A a A 1. Thus, b = f(a) f(a 1 ) and b = f(a) f(a 1 ) f(a ). Eg. 4. Give an example of function f such that A 1, A A, f(a 1 ) f(a ) f(a 1 A ). Consider (a special case of the mod function that return the remainder of an integer divided by )f : {1,, 3, 4} {1, 0}, f(1) = f(3) = 1, f() = f(4) = 0. LetA 1 = 1, A = 3, then A 1 A =. f(a 1 ) f(a ) = {1} {1} = {1}, while f(a 1 A ) =..4 Bijective Functions Injective. function f : A B is injective if every two distinct elements in A have distinct image in B. That is a, b A, a b, thenf(a) f(b). Surjective. function f : A B is surjective if every element in B is the image of some element in A. Bijective. Being both injective and surjective. Figure : Illustration of injective, surjective and bijective functions. Eg. 5. (Page 18. Ex.4) Prove or disprove each of the following. (a) f : A B and g : B C, such that f is not one-to-one and g f : A C is one-to-one. 6

(b) f : A B and g : B C, such that f is not onto and g f : A C is onto. (a) There does not exist such functions f and g. Proof. Prove by contradiction/counter example. Assume f : A B and g : B C, such that f is not one-to-one and g f : A C is one-to-one. f is not one-to-one, a 1, a A, a 1 a, such that f(a 1 ) = f(a ). g(f(a 1 )) = g(f(a )) and g f(a 1 ) = g f(a ), a 1 a. Thus g f : A C is not one-to-one. (b) The following figure gives such function..5 Cardinalities of Sets (a) Having the same cardinality Two nonempty sets A and B have the same cardinality, A = B if a bijective function from A to B. (b) Denumerable, Countable A set A is denumerable/countably infinite if A = N. A set is countable if it is either finite or denumerable. (c) Uncountable A set is uncountable if it is not countable. 7

Eg. 6. (Page 190. Ex.6) (a) Prove that f : R 1 R, defined by f(x) = x x 1 (b) Show that R 1 = R is bijective. (a) Proof. Let X = R 1, Y = R. x (i) prove f is one-to-one. x 1, x X such that f(x 1 ) = f(x ), 1 x = 1 1 x x. x 1 1(x 1) = x (x 1 1), x 1 x x 1 = x 1 x x. Thus, x 1 = x. Therefore f is one-to-one. x x 1 (ii) prove f is onto. y Y, y =, y(x 1) = x. x = y y. Since y y, x 1. Therefore y = f( y y ), y is always an image of some x X. (b) Obviously, by definition. Eg. 7. (Page 190. Ex.10) Prove or disprove. There is no set having more elements than the set of real numbers R. By Theorem5.86, R < P(R). 8