Section 7.2: One-to-One, Onto and Inverse Functions

Similar documents
Section 7.1: Functions Defined on General Sets

Homework 12; Due Monday, 4/9/2018

Functions as Relations

Section 4.4 Functions. CS 130 Discrete Structures

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

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

Functions Functions and Modeling A UTeach/TNT Course

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.

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

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

Section 7.5: Cardinality

CHAPTER 7 FUNCTIONS. Alessandro Artale UniBZ - artale/

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

0 Logical Background. 0.1 Sets

MATH 1010E University Mathematics Lecture Notes (week 8) Martin Li

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

Functions. Given a function f: A B:

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

2 Functions. 2.1 What is a function?

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Cartesian Products and Relations

FREE Download Study Package from website: &

Midterm Exam. There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of your work! Best 5

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

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

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

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)

Section 4.1: Sequences and Series

Propositional Logic, Predicates, and Equivalence

Relations and Equivalence Relations

2. Introduction to commutative rings (continued)

Today s Topics. Methods of proof Relationships to logical equivalences. Important definitions Relationships to sets, relations Special functions

Intermediate Algebra Section 9.3 Logarithmic Functions

Lecture 3: Sizes of Infinity

0 Sets and Induction. Sets

SETS AND FUNCTIONS JOSHUA BALLEW

Math 105A HW 1 Solutions

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

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

Section 4.5 Graphs of Logarithmic Functions

QF101: Quantitative Finance August 22, Week 1: Functions. Facilitator: Christopher Ting AY 2017/2018

Background for Discrete Mathematics

Section Summary. Definition of a Function.

Mathematics Review for Business PhD Students Lecture Notes

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

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.

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

CS100: DISCRETE STRUCTURES

5 Set Operations, Functions, and Counting

1. A Little Set Theory

4.1 Real-valued functions of a real variable

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

In economics, the amount of a good x demanded is a function of the price of that good. In other words,

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

MATH 3300 Test 1. Name: Student Id:

Section 3.1: Direct Proof and Counterexample 1

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

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

CH 55 THE QUADRATIC FORMULA, PART I

CSE 20 DISCRETE MATH WINTER

CHAPTER 3: THE INTEGERS Z

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

Limits and Continuity

A Short Review of Cardinality

Chapter 10: Limit of a Function. SSMTH1: Precalculus Science and Technology, Engineering and Mathematics (STEM) Strands Mr. Migo M.

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

MODEL ANSWERS TO THE SEVENTH HOMEWORK. (b) We proved in homework six, question 2 (c) that. But we also proved homework six, question 2 (a) that

MATH 2200 Final Review

Selected problems from past exams

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Functions

Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

Math.3336: Discrete Mathematics. Cardinality of Sets

Mathematics Review for Business PhD Students

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

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Inverse Functions

1 Basic Combinatorics

Day 15. Tuesday June 12, 2012

= 1 2 x (x 1) + 1 {x} (1 {x}). [t] dt = 1 x (x 1) + O (1), [t] dt = 1 2 x2 + O (x), (where the error is not now zero when x is an integer.

Notes on ordinals and cardinals

447 HOMEWORK SET 1 IAN FRANCIS

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

Chapter 5: Integer Compositions and Partitions and Set Partitions

Morita Equivalence. Eamon Quinlan

MATH FINAL EXAM REVIEW HINTS

Review of Functions. Functions. Philippe B. Laval. Current Semester KSU. Philippe B. Laval (KSU) Functions Current Semester 1 / 12

MATH 22 FUNCTIONS: COMPOSITION & INVERSES. Lecture N: 10/16/2003. Mad world! mad kings! mad composition! Shakespeare, King John, II:1

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

LECTURE 13. Quotient Spaces

4. Functions of one variable

MODEL ANSWERS TO THE FIRST HOMEWORK

Relations, Functions, and Sequences

Discussion Summary 10/16/2018

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

Homework 1 Solutions

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

Cardinality and ordinal numbers

APPLICATIONS OF DIFFERENTIATION

Introduction to Decision Sciences Lecture 6

Transcription:

Section 7.2: One-to-One, Onto and Inverse Functions In this section we shall developed the elementary notions of one-to-one, onto and inverse functions, similar to that developed in a basic algebra course. Our approach however will be to present a formal mathematical definition for each of these ideas and then consider different proofs using these formal definitions. 1. One-to-one Functions We start with a formal definition of a one-to-one function. Definition 1.1. Let f : X Y be a function. We say f is one-to-one, or injective, if and only if for all 1, 2 X, if f( 1 ) = f( 2 ) then 1 = 2. Or equivalently, if 1 2, then f( 1 ) f( 2 ). Symbolically, f : X Y is injective 1, 2 X, f( 1 ) = f( 2 ) 1 = 2 To show that a function is one-to-one when the domain is a finite set is easy - we simply check by hand that every element of X maps to a different element in Y. To show that a function is one-to-one on an infinite set we need to use the formal definition. Specifically, we have the following techniques to prove a function is one-to-one (or not one-to-one): to show f is one-to-one, take arbitrary 1, 2 X, suppose that f( 1 ) = f( 2 ) and try to deduce that this implies 1 = 2 to show that f is not one-to-one, find specific 1, 2 X with 1 2 but f( 1 ) = f( 2 ) (i.e. provide a counter-eample) We illustrate with some eamples. Eample 1.2. How many injective functions are there from a set with three elements to a set with four elements? How about a set with four elements to a set with three elements? Suppose X = {a, b, c} and Y = {u, v, w, } and suppose f : X Y is a function. Then we can define f by simply specifying the images of a, b, and c, and to make it injective, we need to make sure none of the images are the same. But this will simply be equal to the number of 3 permutations from the set Y, and thus there will be a total of 4 3 2 = 24 total different injective functions from X to Y. Net note that if X has four elements and Y has three elements, no function from X to Y will be injective since at least two elements from X must map to the same element in Y. Eample 1.3. Define f : Z Z by f(n) = 2n + 1. Show that f is one-to-one. 1

2 Suppose that 1 and 2 are arbitrary integers and f( 1 ) = f( 2 ). We need to show that 1 = 2. Since f( 1 ) = f( 2 ), it follows that Therefore, and thus 1 = 2. 2 1 + 1 = 2 2 + 1. 2 1 = 2 2 Eample 1.4. Define f : Z Z by f(n) = 3n 2 + 2. Show that f is not one-to-one. To show that f is not one-to-one, we need to find 1 2 such that f( 1 ) = f( 2 ). However, this is straight forward - we can take 1 and 1, and we get f(1) = 3 (1) 2 + 2 = 5 = 3 ( 1) 2 + 2 = f( 1). Thus f is not one-to-one. 2. Onto Functions We start with a formal definition of an onto function. Definition 2.1. Let f : X Y be a function. We say f is onto, or surjective, if and only if for any y Y, there eists some X such that y = f(). Symbolically, f : X Y is surjective y Y, Xf() = y To show that a function is onto when the codomain is a finite set is easy - we simply check by hand that every element of Y is mapped to be some element in X. To show that a function is onto when the codomain is infinite, we need to use the formal definition. Specifically, we have the following techniques to prove a function is onto (or not onto): to show f is onto, take arbitrary y Y, and show that there is some X with f() = y to show that f is not onto, find some y Y such that for any X, we do not have f() = y (i.e. provide a countereample) We illustrate with some eamples. Eample 2.2. How many surjective functions are there from a set with three elements to a set with four elements? How about a set with four elements to a set with three elements? Suppose f : X Y is a function. If Y has four elements and X has three elements, then no function from X to Y will be surjective since there are at most three images under f (since there are only three elements in X.

Now suppose X = {a, b, c, d} and Y = {u, v, w}. Then we can define f by simply specifying the images of a, b, c, and d, and to make it surjective, we need to make sure every element in the codomain is mapped to by at least one element. Note that if f is onto, then one of u, v and w will have two elements in its preimage and the others will have a single element. Therefore, we shall break up the set of surjective maps into three subsets - those where u Y has two preimages, those where v Y has two preimages, and those where w Y has two preimages. Note that by symmetry, each of these sets will have the same size, so we shall just consider the first. Suppose that f : X Y is a surjective map and u Y has two preimages. We can think of all the different ways of constructing f as a counting problem. Specifically, for the first step, to determine f 1 (u), we need to choose 2 objects from 4, so there are ( 4 2) possibilities. Net, for f 1 (v), there are two remaining possibilities, and for f 1 (w), one last possibility. Thus the total number of possibilities will be ( 4 2) 2 1 = 12. Since we will gat equal numbers if we assume either v or w have two preimages, it follows that there are a total of 3 12 = 36 surjective maps. Eample 2.3. Define f : Z Z by f(n) = 2n+1. Show that f is not onto. To show that f is not onto, we need to find y Z such that there does not eist X with f() = y. However, this is straight forward - we can take y = 2. Then if f() = 2 + 1 = 2, then = 1/2 / Z. Eample 2.4. Define f : Z Z by f(n) = n + 5 Show that f is onto. Suppose that y Z is an arbitrary integer. We need to show that there eists Z such that f() = y. However take = y 5 Z. Then f() = + 5 = y 5 + 5 = y. It follows that f is onto. 3. One-to-One Correspondence We have considered functions which are one-to-one and functions which are onto. We net consider functions which share both of these properties. Definition 3.1. A one-to-one correspondence (or bijection) from a set X to a set Y is a function F : X Y which is both one-to-one and onto. To show a function is a bijection, we simply show that it is both oneto-one and onto using the techniques we developed in the previous sections. We illustrate with a couple of eamples. Eample 3.2. Define f : Z Z by f(n) = n + 5 Show that f is a one-to-one correspondence. 3

4 Suppose that y Z is an arbitrary integer. We need to show that there eists Z such that f() = y. However take = y 5 Z. Then f() = + 5 = y 5 + 5 = y. It follows that f is onto. Now suppose that 1, 2 Z and f( 1 ) = f( 2 ). Then 1 + 5 = 2 + 5 and thus 1 = 2. It follows that f is one-to-one. Consequently, f is a bijection. Notice that if a function f : X Y is a one-to-one correspondence, then it associates one and only one value of y to each value in. In particular, it makes sense to define a reverse function from Y to X which reverses this correspondence. Specifically, we can define the following: Definition 3.3. Suppose f : X Y is a one-to-one correspondence. Then there is a function f 1 : Y X, called the inverse of f defined as follows: f 1 (y) = f() = y. Inverse functions are very important both in mathematics and in real world applications (e.g. population modeling, nuclear physics (half life problems) etc). Determining inverse functions is generally an easy problem in algebra. Eample 3.4. Find the inverse function to f : Z Z defined by f(n) = n + 5. We have i.e. f 1 (y) = f() = y or, + 5 = y or, = y 5 = f 1 (y) = y 5 Eample 3.5. Show that the function f : R R\{1} defined by f() = + 1 is a one-to-one correspondence and determine its inverse function. Suppose that y R is an arbitrary real number. We need to show that there eists R such that f() = y i.e. f() = + 5 = y or, y = + 5 or, y = 5 or, = 5 y 1 It follows that if we choose = 5/(y 1), then for any real y 1, and thus f is onto. Now suppose that 1, 2 R and f( 1 ) = f( 2 ). Then 1 + 5 1 = 2 + 5 2

and thus 1 2 + 5 2 = 1 2 + 5 1, or 5 2 = 5 1 and this 1 = 2. It follows that f is one-to-one and consequently, f is a bijection. Net we want to determine a formula for f 1 (y). We know f 1 (y) = f() = y or, + 5 = y Using a similar argument to when we showed f was onto, we have = f 1 (y) = 5 y 1. 4. General Inverse Functions and Logarithms We have seen that given a one-to-one correspondence f : X Y, we can define an inverse function from Y to X. In fact, the conditions for the eistence of an inverse functions can be relaed to restrict to those of a one-to-one function. Specifically, we can define the following: Definition 4.1. Suppose f : X Y is a one-to-one function and let C Y be the codomain of f. Then there is a function f 1 : C X, called the inverse of f defined as follows: f 1 (y) = f() = y. One very important function whose definition arises from the notion of an inverse function is a logarithm. To define a logarithm, we first need to recall the definition of an eponential function. Definition 4.2. The eponential function with base b for b > 0 is defined from R to R + as ep b () = b for any R Recall that the eponential function is one-to-one. In particular, we can define an inverse function to an eponential function as follows: Definition 4.3. The logarithm function with base b is defined from R + to R as log b () = y for any R + if = b y We illustrate with some eamples. Eample 4.4. Determine log 3 (81). We have log 3 (81) = 4 since 3 4 = 81. Eample 4.5. Prove that for any b > 0 and any positive, y R, we have ( ) log b = log y b () log b (y). 5

6 We can prove results about logarithms by translating them into results about eponential functions. Let u = log b () and v = log b (y). Then we know b u = and b v = y, and so y = bu b = v bu v. It follows that ( ) log b = u v = log y b () log b (y). Homework (i) From the book, pages 417-419: Questions: 1, 3, 5, 8, 9, 10, 13, 14, 18, 21, 24, 27, 30, 34, 35, 40, 41, 42,