SlideShare a Scribd company logo
1 of 27
Download to read offline
Introduction to set theory and to methodology and philosophy of
mathematics and computer programming
Function inverse
An overview
by Jan Plaza
c 2017 Jan Plaza
Use under the Creative Commons Attribution 4.0 International License
Version of November 10, 2017
Note
For a binary relation, the inverse relation is always defined. Recall that the inverse
relation to R is the unique binary relation S, such that for all x, y:
xRy iff ySx
(Such a relation S is denoted R−1.)
For a function f, we want its function inverse g to satisfy
f(x) = y iff g(y) = x
which means that:
g is just the inverse relation to f;
g is a function.
This will require that we start from a “good” function f, not just any function.
Informal Example
We cannot take just any function hoping that its inverse relation will be a function.
Consider function motherOf that maps every person in its domain to their mother.
The inverse relation to motherOf exists and could be called mother-child;
it consists of ordered pairs m, c where m is the mother of c.
mother-child is not a function (because a mother may have two children).
Notice that the function motherOf is not an injection
(as two persons may have the same mother).
Fact
1. If f is a function, and the inverse relation to f is a function,
then f is an injection.
2. If f is an injection,
then the inverse relation to f is a function and an injection.
Definition
1. Let f be a function. f is invertible or f is an invertible function
if f is an injection.
2. Let f be an invertible function. The function inverse of f or
the inverse function to f , denoted finv , is the inverse relation to f.
Convention
One writes f−1 instead of finv.
Depending on the context, the phrase the inverse of f and the symbol f−1
mean either the relation inverse or function inverse.
The context should suggest which operation is meant.
If in the context functions are discussed, then the function inverse is meant
and there is an implicit claim or assumption that f is invertible.
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c: c = . . .
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c: c = 5
9(f − 32).
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c: c = 5
9(f − 32). So, what is the inverse function to F?
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c: c = 5
9(f − 32). So, what is the inverse function to F?
C(f) =
5
9
(f − 32)
Example
Conversion from Celsius to Fahrenheit scales of temperature is given by:
f = F(c) =
9
5
c + 32
where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit.
F is an injection from R to R.
How to find the inverse function to F?
Solve f = 9
5c + 32 for c: c = 5
9(f − 32). So, what is the inverse function to F?
C(f) =
5
9
(f − 32)
Exercise. Complete C−1 = . . .
Exercise. Complete C ◦ F = . . .
Exercise. Complete F ◦ C = . . .
Exercise
Let f(x) = 2x + 1.
Find f−1.
Find (f−1)−1.
Find f ◦ f−1.
Find f−1 ◦ f.
Example
Let f : R −→ R 0 be defined as f(x) = ex.
Let g : R 0 −→ R be defined as g(x) = log x.
g is the inverse function to f.
f is the inverse function to g.
Exercise. Complete g ◦ f = . . .
Exercise. Complete f ◦ g = . . .
Example
Let f : R −→ R 0 be defined as f(x) = x2.
Notice that g : R 0 −→ R defined as g(x) =
√
x, is not an inverse to f;
indeed, (−2)2 = 4, but
√
4=−2.
f does not have an inverse function;
indeed, if h were an inverse function to f,
we would have h(4) = 2 because 22 = 4;
also we would have h(4) = −2 because (−2)2 = 4,
so 2 = h(4) = −2;
this is a contradiction.
Example
Let f : R 0 −→ R 0 be defined as f(x) = x2.
Notice that f is not the same as in the previous example
because the domains are different.
Let g : R 0 −→ R 0 defined as g(x) =
√
x.
g is an inverse function to f;
f is an inverse function to g;
indeed, x2 = y iff x =
√
y, for x, y ∈ R 0.
Exercise. Complete g ◦ f = . . . .
Exercise. Complete f ◦ g = . . . .
Exercise
1. domain(f−1) = . . .
Exercise
1. domain(f−1) = range(f).
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = . . .
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = domain(f).
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = domain(f).
3. True or false? If f : X
1-1
−→ Y , then f−1 : Y
1-1, onto
−→ X.
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = domain(f).
3. True or false? If f : X
1-1
−→ Y , then f−1 : Y
1-1, onto
−→ X. False.
Find a counter-example.
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = domain(f).
3. True or false? If f : X
1-1
−→ Y , then f−1 : Y
1-1, onto
−→ X. False.
Find a counter-example.
4. If f : X
1-1
−→ Y , then f−1 :
Exercise
1. domain(f−1) = range(f).
2. range(f−1) = domain(f).
3. True or false? If f : X
1-1
−→ Y , then f−1 : Y
1-1, onto
−→ X. False.
Find a counter-example.
4. If f : X
1-1
−→ Y , then f−1 : range(f)
1-1, onto
−→ X.
Fact
Let f be a function.
If f is invertible, then f−1 is invertible, and
(f−1)−1 = f.
Corollary
Let f, g be invertible functions. Then,
g = f−1 iff f = g−1.
Proposition
If f is invertible, then f and f−1 are suitable for the following function compositions
and the following equalities hold:
1. f−1 ◦ f = iddomain(f)
2. f ◦ f−1 = idrange(f)
Proposition
Let f : X
1-1
−→ Y and g : Y
1-1
−→ Z.
Then, the following function inverses and function compositions are defined,
and the following equality holds:
(f ◦ g)−1 = g−1 ◦ f−1
Note
Using a tacit assumption that we discuss functions and an earlier convention,
the last few results can stated succinctly, as follows.
1. (f−1)−1 = f
2. f−1 ◦ f = iddomain(f)
3. f ◦ f−1 = idrange(f)
4. Let f : X
1-1
−→ Y and g : Y
1-1
−→ Z; then (f ◦ g)−1 = g−1 ◦ f−1.

More Related Content

What's hot

Notes chapter 1
Notes chapter 1 Notes chapter 1
Notes chapter 1 Swati Seth
 
7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functionsarvin gutierrez
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functionssmiller5
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse functionshisema01
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)math126
 
Lesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsLesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsMatthew Leingang
 
General Math Lesson 1
General Math Lesson 1General Math Lesson 1
General Math Lesson 1alicelagajino
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.Jan Plaza
 
mathematical functions
mathematical functions mathematical functions
mathematical functions Anshul gour
 
3_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v33_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v3Carlos da Maia
 
1.6 inverse function (optional)
1.6 inverse function (optional)1.6 inverse function (optional)
1.6 inverse function (optional)math123c
 
Inverse functions and relations
Inverse functions and relationsInverse functions and relations
Inverse functions and relationsJessica Garcia
 
Alg II 2-1 Relations and Functions
Alg II 2-1 Relations and FunctionsAlg II 2-1 Relations and Functions
Alg II 2-1 Relations and Functionsjtentinger
 
4.3 Logarithmic Functions
4.3 Logarithmic Functions4.3 Logarithmic Functions
4.3 Logarithmic Functionssmiller5
 
Inverse functions
Inverse functionsInverse functions
Inverse functionsPLeach
 
Algebra 2 Section 5-3
Algebra 2 Section 5-3Algebra 2 Section 5-3
Algebra 2 Section 5-3Jimbo Lamb
 
3.1 Extreme Values of Functions
3.1 Extreme Values of Functions3.1 Extreme Values of Functions
3.1 Extreme Values of FunctionsSharon Henry
 
Day 4 examples u1f13
Day 4 examples u1f13Day 4 examples u1f13
Day 4 examples u1f13jchartiersjsd
 

What's hot (20)

Notes chapter 1
Notes chapter 1 Notes chapter 1
Notes chapter 1
 
7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions7.7 one to_one_functions_-_inverse_functions
7.7 one to_one_functions_-_inverse_functions
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functions
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse functions
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)
 
Lesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsLesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And Logarithms
 
General Math Lesson 1
General Math Lesson 1General Math Lesson 1
General Math Lesson 1
 
Functions
FunctionsFunctions
Functions
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
Function in Mathematics
Function in MathematicsFunction in Mathematics
Function in Mathematics
 
3_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v33_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v3
 
1.6 inverse function (optional)
1.6 inverse function (optional)1.6 inverse function (optional)
1.6 inverse function (optional)
 
Inverse functions and relations
Inverse functions and relationsInverse functions and relations
Inverse functions and relations
 
Alg II 2-1 Relations and Functions
Alg II 2-1 Relations and FunctionsAlg II 2-1 Relations and Functions
Alg II 2-1 Relations and Functions
 
4.3 Logarithmic Functions
4.3 Logarithmic Functions4.3 Logarithmic Functions
4.3 Logarithmic Functions
 
Inverse functions
Inverse functionsInverse functions
Inverse functions
 
Algebra 2 Section 5-3
Algebra 2 Section 5-3Algebra 2 Section 5-3
Algebra 2 Section 5-3
 
3.1 Extreme Values of Functions
3.1 Extreme Values of Functions3.1 Extreme Values of Functions
3.1 Extreme Values of Functions
 
Day 4 examples u1f13
Day 4 examples u1f13Day 4 examples u1f13
Day 4 examples u1f13
 

Similar to 5.6 Function inverse. Dynamic slides.

5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.Jan Plaza
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.Jan Plaza
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representationsallyn joy calcaben
 
Applications of partial differentiation
Applications of partial differentiationApplications of partial differentiation
Applications of partial differentiationVaibhav Tandel
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functionssmiller5
 
Inverses & One-to-One
Inverses & One-to-OneInverses & One-to-One
Inverses & One-to-Oneaabdel96
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)Jan Plaza
 
Relations and function class xii copy
Relations and function class xii   copyRelations and function class xii   copy
Relations and function class xii copycsanjeive
 
5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)Jan Plaza
 
Topic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inverseTopic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inversePallaviGupta66118
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- BasicsRabin BK
 

Similar to 5.6 Function inverse. Dynamic slides. (20)

5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.
 
Functions
FunctionsFunctions
Functions
 
Lar calc10 ch05_sec3
Lar calc10 ch05_sec3Lar calc10 ch05_sec3
Lar calc10 ch05_sec3
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
 
Applications of partial differentiation
Applications of partial differentiationApplications of partial differentiation
Applications of partial differentiation
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functions
 
Inverse function
Inverse function Inverse function
Inverse function
 
Inverses & One-to-One
Inverses & One-to-OneInverses & One-to-One
Inverses & One-to-One
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)
 
Derivative rules.docx
Derivative rules.docxDerivative rules.docx
Derivative rules.docx
 
PreCalc Section 1.6.ppt
PreCalc Section 1.6.pptPreCalc Section 1.6.ppt
PreCalc Section 1.6.ppt
 
publish paper
publish paperpublish paper
publish paper
 
03_AJMS_279_20_20210128_V2.pdf
03_AJMS_279_20_20210128_V2.pdf03_AJMS_279_20_20210128_V2.pdf
03_AJMS_279_20_20210128_V2.pdf
 
Relations and function class xii copy
Relations and function class xii   copyRelations and function class xii   copy
Relations and function class xii copy
 
5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)
 
Topic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inverseTopic 3 Inverse of function, steps to find inverse and properties of inverse
Topic 3 Inverse of function, steps to find inverse and properties of inverse
 
Functions 2
Functions 2Functions 2
Functions 2
 
Ch07
Ch07Ch07
Ch07
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- Basics
 

More from Jan Plaza

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitionsJan Plaza
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 PartitionsJan Plaza
 
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)Jan Plaza
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)Jan Plaza
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.Jan Plaza
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.Jan Plaza
 
1.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schemaJan Plaza
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressionsJan Plaza
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pairJan Plaza
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical inductionJan Plaza
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbersJan Plaza
 
1.1 Notions of set and membership
1.1 Notions of set and membership1.1 Notions of set and membership
1.1 Notions of set and membershipJan Plaza
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function compositionJan Plaza
 
4.7 Powers of binary relations
4.7 Powers of binary relations4.7 Powers of binary relations
4.7 Powers of binary relationsJan Plaza
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and compositionJan Plaza
 
4.5 Inverse relation
4.5 Inverse relation4.5 Inverse relation
4.5 Inverse relationJan Plaza
 
4.4 Set operations on relations
4.4 Set operations on relations4.4 Set operations on relations
4.4 Set operations on relationsJan Plaza
 
4.1 Defining and visualizing binary relations
4.1 Defining and visualizing binary relations4.1 Defining and visualizing binary relations
4.1 Defining and visualizing binary relationsJan Plaza
 
3.7 Indexed families of sets
3.7 Indexed families of sets3.7 Indexed families of sets
3.7 Indexed families of setsJan Plaza
 

More from Jan Plaza (20)

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitions
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 Partitions
 
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.
 
1.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schema
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressions
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pair
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical induction
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbers
 
1.6 Subsets
1.6 Subsets1.6 Subsets
1.6 Subsets
 
1.1 Notions of set and membership
1.1 Notions of set and membership1.1 Notions of set and membership
1.1 Notions of set and membership
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
 
4.7 Powers of binary relations
4.7 Powers of binary relations4.7 Powers of binary relations
4.7 Powers of binary relations
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and composition
 
4.5 Inverse relation
4.5 Inverse relation4.5 Inverse relation
4.5 Inverse relation
 
4.4 Set operations on relations
4.4 Set operations on relations4.4 Set operations on relations
4.4 Set operations on relations
 
4.1 Defining and visualizing binary relations
4.1 Defining and visualizing binary relations4.1 Defining and visualizing binary relations
4.1 Defining and visualizing binary relations
 
3.7 Indexed families of sets
3.7 Indexed families of sets3.7 Indexed families of sets
3.7 Indexed families of sets
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 

5.6 Function inverse. Dynamic slides.

  • 1. Introduction to set theory and to methodology and philosophy of mathematics and computer programming Function inverse An overview by Jan Plaza c 2017 Jan Plaza Use under the Creative Commons Attribution 4.0 International License Version of November 10, 2017
  • 2. Note For a binary relation, the inverse relation is always defined. Recall that the inverse relation to R is the unique binary relation S, such that for all x, y: xRy iff ySx (Such a relation S is denoted R−1.) For a function f, we want its function inverse g to satisfy f(x) = y iff g(y) = x which means that: g is just the inverse relation to f; g is a function. This will require that we start from a “good” function f, not just any function.
  • 3. Informal Example We cannot take just any function hoping that its inverse relation will be a function. Consider function motherOf that maps every person in its domain to their mother. The inverse relation to motherOf exists and could be called mother-child; it consists of ordered pairs m, c where m is the mother of c. mother-child is not a function (because a mother may have two children). Notice that the function motherOf is not an injection (as two persons may have the same mother).
  • 4. Fact 1. If f is a function, and the inverse relation to f is a function, then f is an injection. 2. If f is an injection, then the inverse relation to f is a function and an injection. Definition 1. Let f be a function. f is invertible or f is an invertible function if f is an injection. 2. Let f be an invertible function. The function inverse of f or the inverse function to f , denoted finv , is the inverse relation to f.
  • 5. Convention One writes f−1 instead of finv. Depending on the context, the phrase the inverse of f and the symbol f−1 mean either the relation inverse or function inverse. The context should suggest which operation is meant. If in the context functions are discussed, then the function inverse is meant and there is an implicit claim or assumption that f is invertible.
  • 6. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F?
  • 7. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c
  • 8. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c: c = . . .
  • 9. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c: c = 5 9(f − 32).
  • 10. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c: c = 5 9(f − 32). So, what is the inverse function to F?
  • 11. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c: c = 5 9(f − 32). So, what is the inverse function to F? C(f) = 5 9 (f − 32)
  • 12. Example Conversion from Celsius to Fahrenheit scales of temperature is given by: f = F(c) = 9 5 c + 32 where c is the temperature in degrees Celsius, and f – in degrees Fahrenheit. F is an injection from R to R. How to find the inverse function to F? Solve f = 9 5c + 32 for c: c = 5 9(f − 32). So, what is the inverse function to F? C(f) = 5 9 (f − 32) Exercise. Complete C−1 = . . . Exercise. Complete C ◦ F = . . . Exercise. Complete F ◦ C = . . .
  • 13. Exercise Let f(x) = 2x + 1. Find f−1. Find (f−1)−1. Find f ◦ f−1. Find f−1 ◦ f.
  • 14. Example Let f : R −→ R 0 be defined as f(x) = ex. Let g : R 0 −→ R be defined as g(x) = log x. g is the inverse function to f. f is the inverse function to g. Exercise. Complete g ◦ f = . . . Exercise. Complete f ◦ g = . . .
  • 15. Example Let f : R −→ R 0 be defined as f(x) = x2. Notice that g : R 0 −→ R defined as g(x) = √ x, is not an inverse to f; indeed, (−2)2 = 4, but √ 4=−2. f does not have an inverse function; indeed, if h were an inverse function to f, we would have h(4) = 2 because 22 = 4; also we would have h(4) = −2 because (−2)2 = 4, so 2 = h(4) = −2; this is a contradiction.
  • 16. Example Let f : R 0 −→ R 0 be defined as f(x) = x2. Notice that f is not the same as in the previous example because the domains are different. Let g : R 0 −→ R 0 defined as g(x) = √ x. g is an inverse function to f; f is an inverse function to g; indeed, x2 = y iff x = √ y, for x, y ∈ R 0. Exercise. Complete g ◦ f = . . . . Exercise. Complete f ◦ g = . . . .
  • 19. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = . . .
  • 20. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = domain(f).
  • 21. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = domain(f). 3. True or false? If f : X 1-1 −→ Y , then f−1 : Y 1-1, onto −→ X.
  • 22. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = domain(f). 3. True or false? If f : X 1-1 −→ Y , then f−1 : Y 1-1, onto −→ X. False. Find a counter-example.
  • 23. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = domain(f). 3. True or false? If f : X 1-1 −→ Y , then f−1 : Y 1-1, onto −→ X. False. Find a counter-example. 4. If f : X 1-1 −→ Y , then f−1 :
  • 24. Exercise 1. domain(f−1) = range(f). 2. range(f−1) = domain(f). 3. True or false? If f : X 1-1 −→ Y , then f−1 : Y 1-1, onto −→ X. False. Find a counter-example. 4. If f : X 1-1 −→ Y , then f−1 : range(f) 1-1, onto −→ X.
  • 25. Fact Let f be a function. If f is invertible, then f−1 is invertible, and (f−1)−1 = f. Corollary Let f, g be invertible functions. Then, g = f−1 iff f = g−1.
  • 26. Proposition If f is invertible, then f and f−1 are suitable for the following function compositions and the following equalities hold: 1. f−1 ◦ f = iddomain(f) 2. f ◦ f−1 = idrange(f) Proposition Let f : X 1-1 −→ Y and g : Y 1-1 −→ Z. Then, the following function inverses and function compositions are defined, and the following equality holds: (f ◦ g)−1 = g−1 ◦ f−1
  • 27. Note Using a tacit assumption that we discuss functions and an earlier convention, the last few results can stated succinctly, as follows. 1. (f−1)−1 = f 2. f−1 ◦ f = iddomain(f) 3. f ◦ f−1 = idrange(f) 4. Let f : X 1-1 −→ Y and g : Y 1-1 −→ Z; then (f ◦ g)−1 = g−1 ◦ f−1.