DEFINITION A function f : A  B is onto B (called a surjection) iff Rng(f) = B. We write f : A  B to indicate that f is a surjection. Look at the illustration.

Slides:



Advertisements
Similar presentations
DEFINITION A function f : A  B is a one-to-one correspondence (called a bijection) iff f is one-to-one and onto B. We write f : A  B to indicate that.
Advertisements

Cayley Theorem Every group is isomorphic to a permutation group.
Function Composition Fancy way of denoting and performing SUBSTITUTION But first …. Let’s review.
Algebraic Structures: Group Theory II
Functions Section 2.3 of Rosen Fall 2008
Discrete Structures Chapter 5 Relations and Functions Nurul Amelina Nasharuddin Multimedia Department.
Discrete Structures Chapter 5 Relations and Functions
Functions f( ) = A B Lecture 15: Nov 4.
C241 PLTL SESSION – 2/24/2015 Set Theory & Functions.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
CS 2210 (22C:019) Discrete Structures Sets and Functions Spring 2015 Sukumar Ghosh.
Inverse Functions Consider the function f illustrated by the mapping diagram. The function f takes the domain values of 1, 8 and 64 and produces the corresponding.
Functions.
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
2.1 Sets 2.2 Set Operations 2.3 Functions ‒Functions ‒ Injections, Surjections and Bijections ‒ Inverse Functions ‒Composition 2.4 Sequences and Summations.
FUNCTION Discrete Mathematics Asst. Prof. Dr. Choopan Rattanapoka.
Mathematics. Session Set, Relation & Function Session - 3.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
February 12, 2015Applied Discrete Mathematics Week 2: Functions and Sequences 1Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3,
My Introduction Name: Prakash ADHIKARI Academic Qualification: Master’s Degree Research, Universite Lumiere-IUT Lumiere, Lyon - 2(ULL-2), France Master’s.
Composition of Functions. Definition of Composition of Functions The composition of the functions f and g are given by (f o g)(x) = f(g(x))
Part B Set Theory What is a set? A set is a collection of objects. Can you give me some examples?
1 Annoucement n Skills you need: (1) (In Thinking) You think and move by Logic Definitions Mathematical properties (Basic algebra etc.) (2) (In Exploration)
Functions Section 2.3 of Rosen Spring 2012 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions: Use Piazza.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
1 Discrete Structures – CNS 2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 1 The Foundations: Logic, Sets,
MAT 3749 Introduction to Analysis Section 1.3 Part I Countable Sets
Example Prove that: “IF 3n + 2 is odd, then n is odd” Proof by Contradiction: -p = 3n + 2 is odd, q = n is odd. -Assume that ~(p  q) is true OR -(p 
Functions Reading: Chapter 6 (94 – 107) from the text book 1.
Index FAQ Functions, properties. elementary functions and their inverses 2. előadás.
Basic Structures: Functions Muhammad Arief download dari
Agenda Week 10 Lecture coverage: –Functions –Types of Function –Composite function –Inverse of a function.
Chapter 7 7.6: Function Operations. Function Operations.
What is a set? A set is a collection of objects.
Operations on Functions Lesson 3.5. Sums and Differences of Functions If f(x) = 3x + 7 and g(x) = x 2 – 5 then, h(x) = f(x) + g(x) = 3x (x 2 – 5)
6-1: Operations on Functions (Composition of Functions)
Composite Functions How would you define composite functions? Math30-1.
Math 3121 Abstract Algebra I Lecture 5 Finish Sections 6 + Review: Cyclic Groups, Review.
Discrete Mathematics CS 2610 February 10, Agenda Previously Functions And now Finish functions Start Boolean algebras (Sec. 11.1)
CSC102 - Discrete Structures Functions
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
CSNB 143 Discrete Mathematical Structures
Math 3121 Abstract Algebra I Lecture 14 Sections
1 Functions CS 202 Epp section ??? Aaron Bloomfield.
Math 1304 Calculus I 1.6 Inverse Functions. 1.6 Inverse functions Definition: A function f is said to be one-to- one if f(x) = f(y) implies x = y. It.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Functions – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Functions Reading: Kolman, Section 5.1.
Discrete Mathematics 3. MATRICES, RELATIONS, AND FUNCTIONS Lecture 6 Dr.-Ing. Erwin Sitompul
DEFINITIONS For a function F : A  B, the inverse of F is the following relation from B to A: F –1 = {(x, y) : (y, x)  F}. For functions F : A  B and.
1 Lecture 5 Functions. 2 Functions in real applications Curve of a bridge can be described by a function Converting Celsius to Fahrenheit.
FUNCTIONS.
Functions 7/7/2016COCS - Discrete Structures1. Functions A function f from a set A to a set B is an assignment of exactly one element of B to each element.
Do Now: Perform the indicated operation.
Do Now:.
Chapter 2 Sets and Functions.
Chapter 3 Relation and Function Homework 4 For each of the following relations on set A = { 1,2,3,4 }, check each of them whether they are reflexive, irreflexive,
Relations between Exponential and Logarithmic Functions
= + 1 x x2 - 4 x x x2 x g(x) = f(x) = x2 - 4 g(f(x))
Functions.
Combinations of Functions:
Activity 2.8 Study Time.
Ch 5 Functions Chapter 5: Functions
Composition OF Functions.
Composition of Functions
Composition OF Functions.
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
Perform the indicated operation.
Lecture # 18 Types of Functions
Replace inside with “x” of other function
Presentation transcript:

DEFINITION A function f : A  B is onto B (called a surjection) iff Rng(f) = B. We write f : A  B to indicate that f is a surjection. Look at the illustration on page 205 and the examples on pages 206 and 207. Theorem If f : A  B and g : B  C, then g ◦ f : A  C. That is, the composite of surjective functions is a surjection. Proof: Suppose f : A  B and g : B  C. By Theorem ______ we have g ◦ f : A  C. Let c  C. We need to show that  a  A such that (g ◦ f)(a) = c. onto To show that f is onto B, we can show that for any b  B, there must be some a  A such that f(a) = b.  b  B such that g(b) = c by supposition, g is onto C __________________________  a  A such that f(a) = b by supposition, f is onto B __________________________ (g ◦ f)(a) = g(f(a)) = g(b) = ctwo previous lines g ◦ f : A  C  a  A such that (g ◦ f)(a) = c onto

Theorem If f : A  B, g : B  C, and g ◦ f : A  C, then g is onto C. That is, when the composite of two functions maps onto a set C, then the second function applied must map onto the set C. onto Proof: Suppose f : A  B, g : B  C, and g ◦ f : A  C. Let c  C. To show g is onto C, we must find b  B such that g(b) = c. onto  a  A such that (g ◦ f)(a) = c by supposition, g ◦ f is onto C __________________________ f (a) = b for some b  Bf : A  B __________________________ (g ◦ f)(a) = g(f(a)) = g(b) and (g ◦ f)(a) = c two previous lines g(b) = csubstitution g : B  C  b  B such that g(b) = c onto

DEFINITION A function f : A  B is one-to-one (called an injection) iff whenever f(x) = f(y), then x = y. We write f : A  B to indicate that f is an injection. 1-1 Look at the examples on pages 208 and 209. To show that f is one-to-one, we show that for any x, y  A for which f(x) = f(y), we must have x = y. Theorem If f : A  B and g : B  C, then g ◦ f : A  C. That is, the composite of injective functions is an injection. 1-1 Proof: Suppose f : A  B and g : B  C. To show g ◦ f is one-to-one, suppose (g ◦ f)(x) = (g ◦ f)(y). 1-1 g(f(x)) = g(f(y))change of notation f(x) = f(y) by supposition g is 1-1 __________________________ x = yby supposition f is 1-1 __________________________ g ◦ f : A  C 1-1 (g ◦ f)(x) = (g ◦ f)(y)  x = y

Theorem If f : A  B, g : B  C, and g ◦ f : A  C, then f : A  B. That is, if the composite of two functions is one-to-one, then the first function applied must be one-to-one. Proof: Suppose f : A  B, g : B  C, and g ◦ f : A  C. To show f is one-to-one, suppose f(x) = f(y) for some x, y  A. 1-1 g(f(x)) = g(f(y)) by supposition g is a function __________________________ (g ◦ f)(x) = (g ◦ f)(y)change of notation x = y by supposition g ◦ f is 1-1 __________________________ f : A  B 1-1 f (x) = f (y)  x = y

Theorem (a) Suppose f : A  B and C  A. Then f | C is one-to-one. That is, a restriction of a one-to-one function is one-to-one. (b) If h : A  C, g : B  D, and A  B = , then h  g : A  B  C  D. (c) If h : A  C, g : B  D, A  B = , and C  D = , then h  g : A  B  C  D. Suppose f : A  B and C  A. Let f | C (x) = f | C (y) for x, y  C. onto 1-1 Then f(x) = f(y).Since f is _____________, we have x = y. Proof of (a): 1-1 one-to-one Suppose h : A  C, g : B  D, and A  B = . onto Proof of (b): h  g : A  B  C  Dh  g : A  B  C  D From Theorem ____________4.2.5 Let y  C  D We want to show  x  A  B such that (h  g)(x) = y. y  C \/ y  D ________________________________ definition of C  D

Suppose h : A  C, g : B  D, and A  B = . onto Proof of (b): h  g : A  B  C  Dh  g : A  B  C  D From Theorem ____________4.2.5 Let y  C  D We want to show  x  A  B such that (h  g)(x) = y. y  C \/ y  D _______________________ definition of C  D  x  A such that h(x) = y _______________________ by supposition h is onto C Case 1: y  C (h  g)(x) = h(x) = y _______ A  B =  and Theorem  x  B such that g(x) = y _______________________ by supposition h is onto C Case 2: y  D (h  g)(x) = g(x) = y _______ A  B =  and Theorem In either case, we have (h  g)(x) = y for some x  A  B. We have shown that in each case (h  g)(x) = y for some x  A  B, and thus proven part (b).

Theorem (a) Suppose f : A  B and C  A. Then f | C is one-to-one. That is, a restriction of a one-to-one function is one-to-one. (b) If h : A  C, g : B  D, and A  B = , then h  g : A  B  C  D. (c) If h : A  C, g : B  D, A  B = , and C  D = , then h  g : A  B  C  D. onto 1-1 Proof of (c): Suppose h : A  C, g : B  D, A  B = , and C  D = . 1-1 h  g : A  B  C  Dh  g : A  B  C  D Theorem ____________4.2.5 Suppose (h  g)(x) = (h  g)(y) where x, y  A  B. We want to show that One of the following cases must be true: (i) x, y  A, (ii) x, y  B,(iii) x  A and y  B,(iv) x  B and y  A.

Case (i): x, y  A (h  g)(x) = h(x) and (h  g)(y) = h(y) Theorem ____________4.2.5 h(x) = h(y) by supposition h is 1-1 __________________________ x = y Case (ii): x, y  B (h  g)(x) = g(x) and (h  g)(y) = g(y) Theorem ____________4.2.5 g(x) = g(y) by supposition g is 1-1_________________________ x = y Case (iii): x  A and y  B (h  g)(x) = h(x) and (h  g)(y) = g(y) Theorem ____________4.2.5 by supposition (h  g)(x) = (h  g)(y) __________________________ by supposition (h  g)(x) = (h  g)(y) __________________________ h(x) = g(y) by supposition (h  g)(x) = (h  g)(y) __________________________ h(x)  C and g(y)  D by supposition h : A  C and g : B  D __________________________ This is a contradiction__________________________ by supposition C  D =  This case is not possible; similarly, Case (iv) is not possible. We have shown that in each possible case x = y, and thus proven part (c).

1  (b)  (d) Exercises 4.3 (pages )

 (e)  (f)

1 - continued  (g)  (h)

 (i)  (j)

1 - continued  (l)

2  (b)  (d)

2 - continued  (e)  (f)

 (g)  (h)

2 - continued  (i)  (j)

 (l)

9  (a)  (b)

 (d)

Theorem 4.15 (a) Suppose f : A  B and C  A. Then f | C is one-to-one. (b) If h : A  C, g : B  D, and A  B = , then h  g : A  B  C  D. (c) If h : A  C, g : B  D, A  B = , and C  D = , then h  g : A  B  C  D. 1-1 onto 1-1