Lecture 5: Functions : Images, Compositions, Inverses

Similar documents
Lecture 7: Relations

Relations, Functions, Binary Relations (Chapter 1, Sections 1.2, 1.3)

Cartesian Products and Relations

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

Functions. Remark 1.2 The objective of our course Calculus is to study functions.

MATH 409 Advanced Calculus I Lecture 12: Uniform continuity. Exponential functions.

Introduction to Functions

11.10a Taylor and Maclaurin Series

Continuity. Chapter 4

Week Some Warm-up Questions

CALCULUS OPTIONAL SUMMER WORK

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Introduction to Topology

Transformations of Functions and Exponential Functions January 24, / 35

page 1 of 14 1 for all x because f 1 = f and1 f = f. The identity for = x for all x because f

x x 1 x 2 + x 2 1 > 0. HW5. Text defines:

MATH 409 Advanced Calculus I Lecture 11: More on continuous functions.

Math 421, Homework #9 Solutions

Continuity. Chapter 4

8 Further theory of function limits and continuity

4.1 Real-valued functions of a real variable

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

Cardinality and ordinal numbers

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

Math 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008

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

Definition: For nonempty sets X and Y, a function, f, from X to Y is a relation that associates with each element of X exactly one element of Y.

1. A Little Set Theory

Final Exam Solutions June 10, 2004

Caculus 221. Possible questions for Exam II. March 19, 2002

FUNCTIONS - PART 2. If you are not familiar with any of the material below you need to spend time studying these concepts and doing some exercises.

Math 12 Final Exam Review 1

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

LESSON RELATIONS & FUNCTION THEORY

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

Continuity, Intermediate Value Theorem (2.4)

Calculus. Central role in much of modern science Physics, especially kinematics and electrodynamics Economics, engineering, medicine, chemistry, etc.

MAT137 Calculus! Lecture 10

Calculus 221 worksheet

Foundations of Mathematics

FINITE DIFFERENCES. Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations.

Notes on ordinals and cardinals

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Exponential Functions Dr. Laura J. Pyzdrowski

MATH 409 Advanced Calculus I Lecture 10: Continuity. Properties of continuous functions.

Math 418 Algebraic Geometry Notes

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

Sets, Functions and Relations

Week #1 The Exponential and Logarithm Functions Section 1.3

2.6 Logarithmic Functions. Inverse Functions. Question: What is the relationship between f(x) = x 2 and g(x) = x?

An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees

Functions. Given a function f: A B:

March 25, 2010 CHAPTER 2: LIMITS AND CONTINUITY OF FUNCTIONS IN EUCLIDEAN SPACE

Hyperreal Calculus MAT2000 Project in Mathematics. Arne Tobias Malkenes Ødegaard Supervisor: Nikolai Bjørnestøl Hansen

4. We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x

Inverse Functions. One-to-one. Horizontal line test. Onto

MA 123 September 8, 2016

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

Section 3.1. Best Affine Approximations. Difference Equations to Differential Equations

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Chapter 2 Invertible Mappings

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.

The WhatPower Function à An Introduction to Logarithms

Week 5: Functions and graphs

Chapter 8: Taylor s theorem and L Hospital s rule

Math 221 Notes on Rolle s Theorem, The Mean Value Theorem, l Hôpital s rule, and the Taylor-Maclaurin formula. 1. Two theorems

CH 2: Limits and Derivatives

Math 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 7 Solutions Please write neatly, and in complete sentences when possible.

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

Preliminaries Lectures. Dr. Abdulla Eid. Department of Mathematics MATHS 101: Calculus I


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.

Metric Spaces Lecture 17

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

Differentiation. f(x + h) f(x) Lh = L.

SETS AND FUNCTIONS JOSHUA BALLEW

Math 110 Midterm 1 Study Guide October 14, 2013

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

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS

The Mean Value Theorem and its Applications

3 Measurable Functions

Selected problems from past exams

NAME: Mathematics 205A, Fall 2008, Final Examination. Answer Key

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

Solutions to Tutorial 7 (Week 8)

Section Summary. Definition of a Function.

Section 6.1: Composite Functions

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

Relations and Functions (for Math 026 review)

1. 4 2y 1 2 = x = x 1 2 x + 1 = x x + 1 = x = 6. w = 2. 5 x

This is a closed subset of X Y, by Proposition 6.5(b), since it is equal to the inverse image of the diagonal under the regular map:

x y More precisely, this equation means that given any ε > 0, there exists some δ > 0 such that

M2P1 Analysis II (2005) Dr M Ruzhansky List of definitions, statements and examples. Chapter 1: Limits and continuity.

DYNAMICS ON THE CIRCLE I

1 Functions of Several Variables 2019 v2

, applyingl Hospital s Rule again x 0 2 cos(x) xsinx

B553 Lecture 1: Calculus Review

Economics 204 Fall 2011 Problem Set 2 Suggested Solutions

Course 212: Academic Year Section 1: Metric Spaces

Regents Review Session #3 Functions

Transcription:

Lecture 5: Functions : Images, Compositions, Inverses 1 Functions We have all seen some form of functions in high school. For example, we have seen polynomial, exponential, logarithmic, trigonometric functions in calculus. These functions map real numbers to real numbers. We have also seen functions that map functions to functions, such a derivatives. Functions are of interest in many branches of mathematics, including enumerative combinatorics, topology, and group theory among others. An abstract understanding of function would be, an output f(x) for each input x. We formalize this notion below. Definition 1.1 (Function). Let A and B be sets. A function (also called a map) from A to B denoted f : A B is a subset F A B such that for each a A, there is a unique pair of the form (a, b) in F. The set A is called the domain of f and the set B is called the co-domain of f. Remark 1. To show the equality of functions, we need to show that the domain, co-domain, and subset of the product of domain and co-domain satisfying the given condition imposed by function f, all three must agree. Definition 1.2. Let A and B be sets, and let S A be a subset. 1. A constant map f : A B is any function of the form f(x) = b for all x A, where b B is some fixed element. 2. The identity map on A is the function 1 A : A A defined by 1 A (x) = x for all x A. 3. The inclusion map from S A is the function j : S A defined by j(x) = x for all x A. 4. If f : A B is a map, the restriction of f S, denoted by f S is the map f S : S B, defined by f S (x) = x for all x S. 1

5. If g : A B is a map, an extension of g to A is any map G : A B such that G s = g. 6. The projection maps from A B are the functions, π 1 : A B A and π 2 : A B B defined by π 1 (a, b) = a and π 2 (a, b) = b for all (a, b) A B. Projection maps π i : A 1 A 2 A p A i for any finite collection of sets A 1, A 2... A p are defined similarly. 2 Image and Inverse Image Definition 2.1 (Image and inverse image). Let f : A B be a function. 1. For each P A, the image of P under f is defined as f(p ) = {b B : b = f(p) for some p P } = {f(p) : p P }. 2. For each Q B, the inverse image (or preimage) of Q under f is defined as f 1 (Q) = {a A : f(a) = q for some q Q} = {a A : f(a) Q} A f B P f f (P ) f (Q) f Q Figure 1: Image and inverse image under a function f. Remark 2. Let f : A B be a function. i) For every P A, f(p ) B and P f(p ). ii) The range (or image) of f is the set f(a). The range need not be equal to the co-domain. iii) For every Q B, f 1 (Q) A, possibly be empty, and Q f 1 (Q). 2

iv) Given a function f : A B, the process of taking image of subsets of A can be thought of as operation of a function f : P(A) P(B) on subsets of A and induced by f. v) Given a function f : A B, the process of taking inverse image of subsets of B can be thought of as operation of a new function f : P(B) P(A) on subsets of B and induced by f. vi) Abuse of notation: a) Notice that f maps elements in A to elements in B, and f maps subsets of A to subsets of B. Following common convetions, we will use f for f /ast. b) Similarly, f is replaced with f 1 for inverse image. c) Later, we will look at the inverse of a function f : A B (if it exists) and denote it by f 1 : B A. If the inverse function of f does not exist, then f 1 (Q) is used to refer to the inverse image f 1 (Q) of Q under f. If the inverse of f exists, then it takes elements and not subsets of B as the (Q). That is, f 1 (Q) can be used to refer to both the inverse image f (Q) of Q under f and the image f 1 (Q) of Q under f 1. argument, and f 1 (Q) = f (Q) = f 1 Example 2.2. Consider the function f : R R plotted in Figure 2. i) The range of f, f(r) = [ 3, ) R. ii) For P 1 = [1.5, 1.9] and P 2 = [ 4.5, 3.3], f(p 1 ) = [1.7, 2.5] and f(p 2 ) = [ 3, 1]. iii) For Q 1 = [1.7, 2.5] and Q 2 = [ 4, 3.2], f 1 (Q 1 ) = [ 2, 1.6] [ 0.6, 0] [1.7, 2.5] and f 1 (Q 2 ) =. iv) From (i) and (ii), we have that f 1 (f(p 1 )) P 1, f 1 (f(p 2 )) = P 2, f(f 1 (Q 1 )) = Q 1 and f(f 1 (Q 2 )) = Q 2 (cf. Theorem 2.3). We state the following theorem with proof left as an exercise to the reader. Most of the proofs require showing set equality using set inclusions. Theorem 2.3. Let A and B be sets, let C, D A and S, T B be subsets of A and B respectively, and let f : A B be a function. Let I, J, let {U i : i I} and {V j : j J} be indexed families of sets, where U i A, for all i I and V j B, for all j J. 3

f(x) 2.5 1.7-4.5-3.3 0-2 -1.6-0.6 1.5 1.9-1 x -3 Figure 2: Example function. i) f( ) = and f 1 ( ) =. ii) f 1 (B) = A. iii) f(c) S iff C f 1 (S). iv) If C D, then f(c) f(d). v) If S T, then f 1 (S) f 1 (T ). vi) f( i I U i) = i I f(u i). vii) f( i I U i) i I f(u i). viii) f 1 ( j J V j) = j J f 1 (V j ). ix) f 1 ( j J V j) = j J f 1 (V j ). 3 Composition of Function We are interested in combining functions to create more interesting functions. Addition and multiplication of functions is not defined on arbitrary sets. However, as we will see in this section, combination is a natural way to define new functions on arbitrary sets. Definition 3.1 (Composition of Functions). Let A, B and C be sets, and let f : A B and g : B C be functions. The composition of f and g is the function g f : A C defined as (g f)(x) = g(f(x)) for all x A. Function compositions can be visualized by commutative diagrams. Figure 3 has the commutative diagram for g f. Remark 3. Let f : A B and g : B C be functions. 4

A f B g f g C Figure 3: Commutative diagram for g f. i) Composition of three or more functions can be defined similarly. ii) Though read/written left to write, while obtaining value of (g f)(a), a A, f(a) is computed first followed by g(f(a)). iii) The composition g f is defined iff the range of f is a subset of the domain of g. iv) If A = C, then f g is also defined but need not necessarily be equal to g f or 1 A. v) The range of g f is a subset of range of g. That is, (g f)(a) g(b). Example 3.2. Let f : R R be defined by f(x) = x 3, g : [0, ) R be defined by g(x) = x and h : R R be defined by h(x) = 2x. Then i) f f : R R and (f f)(x) = (x 3 ) 3. ii) (f g) : [0, ) R and (f g)(x) = x 3. iii) (f h) : R R and (f h)(x) = (2x) 3. iv) (h f) : R R and (h f)(x) = 2x 3. (Note that (h f) (f h)) v) (h g) : [0, ) R and (h g)(x) = 2 x. vi) f h g : [0, ) R and (f h g)(x) = (2 x) 3. vii) f f h : R R and (f f h)(x) = ((2x) 3 ) 3. viii) (g g), (g f), (g h), (f g h), (g h f), (g f h), (h g f) are not defined. Similarly, many more functions can be obtained. Definition 3.3 (Coordinate Function). Let A, A 1, A 2,..., A n be sets for some n N, and let f : A A 1 A 2... A n be a function. For each i {1, 2,..., n}, let f i : A A i be defined by f i = π i f, where π i : A 1 A 2... A n A is the i th projection map. Then, functions f 1, f 2,..., f n are the coordinate functions of f. 5

With some abuse of notation, function f is sometimes written in terms of it s co-ordinate functions as (f 1, f 2,..., f n ) or f 1 f 2... f n. Coordinates functions can be represented using a commutative diagram; given below is the commutative diagram for n = 2. A A 1 f 1 Π 1 f f 2 A 1 A 2 A 2 Π 2 Example 3.4. The function f : R 2 R 3 defined by f(x, y) = (xy, sin(x 2 ), x+y 3 ) has 3 coordinate functions f 1, f 2, f 3 : R 2 R given by f 1 ((x, y)) = xy,f 2 ((x, y)) = sin(x 2 ), and f 3 ((x, y)) = x + y 3. 3.1 Properties of Composition of Functions We wish to see whether properties such commutativity and associativity hold for this function operation. It turns out that associativity holds, but commutativity does not always hold for function composition (see Example 3.2(iv)). Lemma 3.5. Let A, B, C, D be sets and f : B, g : B C and h : C D be functions. Then the following are true. i) (Associative law) (h g) f = h (g f). ii) (Identity law) f 1 A = f and 1 B f = f. 4 Inverse Function We are interested in finding out conditions for existence of inverse of a function f. We will also see that this inverse is unique when it exists. Definition 4.1 (Existence). Let A and B be sets and let f : A B and g : B A be functions. Then the function g is i) a right inverse for f if f g = 1 B, ii) a left inverse for f if g f = 1 A, and iii) an inverse for f if it is both a right and left inverse. Remark 4. If g is a left (right) inverse for f, then f is a right (left) inverse for g. 6

Example 4.2. Let P be the set of all people and W be the set of women with at least one child, and let c : P W be the function that maps a person to their mother and m : W P be the function that maps a woman to her eldest child. Choose a person p P who is not the eldest of their siblings, and let the eldest sibling of the chosen person be p. Then, c(p) = w, for some w W and m(w) = p p. Thus, (m c)(p) p, p P. Choose a woman w W. Then, m(w) = p for some p P and c(p) = w. Thus, (c m)(w) = w. Hence, m has a left inverse (c) but no right inverse and c has a right inverse (m) but no left inverse. Had P been the set of people who are eldest of their siblings, then the maps c and m would have been inverse of each other. Had m been a map from P to P, then neither right nor left inverse of either maps would not have existed. Lemma 4.3 (Uniqueness). Let A and B be sets, and let f : A B be a function. i) If f has an inverse, then it is unique. ii) If f has a right inverse g and a left inverse h, then g = h, and hence f has an inverse. iii) If f has an inverse g, then g has an inverse, which is f. Proof. Same proof can be used in parts i) and ii). Part iii) is left as an exercise to the reader. Suppose g, h : B A are both inverses of f. We will show g = h. By virtue of being inverses, g and h should be right and left inverse of f respectively. That is, f g = 1 B and h f = 1 A. Using associativity of combination of functions, we conclude, g = 1 A g = h f g = h 1 B = h. Definition 4.4. Let A and B be sets, and let f : A B be a function. If f has an inverse, then the inverse is denoted by f 1 : B A. Remark 5. 1. f 1 f = 1 A and (f 1 f)(a) = a, a A. 2. f f 1 = 1 B and (f f 1 )(b) = b, b B. 3. Given the graph of a function f : A B, where A, B R, the inverse function f 1 can be plotted by reflecting the graph of f in the line x = y. This is same as first reflecting f in y-axis followed by 90 clockwise rotation. 7