SlideShare a Scribd company logo
1 of 14
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?
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) = . . . 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

Inverse Functions
Inverse FunctionsInverse Functions
Inverse Functionstschmucker
 
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
 
One to-one function (MATH 11)
One to-one function (MATH 11)One to-one function (MATH 11)
One to-one function (MATH 11)majoydrew
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functionssmiller5
 
2.8A Function Operations
2.8A Function Operations2.8A Function Operations
2.8A Function Operationssmiller5
 
Notes chapter 1
Notes chapter 1 Notes chapter 1
Notes chapter 1 Swati Seth
 
Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Christos Loizos
 
mathematical functions
mathematical functions mathematical functions
mathematical functions Anshul gour
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse functionshisema01
 
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
 
Machine Learning
Machine LearningMachine Learning
Machine LearningAshwin P N
 
Lesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsLesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsMatthew Leingang
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)math126
 
Lecture 20 fundamental theorem of calc - section 5.3
Lecture 20   fundamental theorem of calc - section 5.3Lecture 20   fundamental theorem of calc - section 5.3
Lecture 20 fundamental theorem of calc - section 5.3njit-ronbrown
 

What's hot (20)

Lar calc10 ch05_sec3
Lar calc10 ch05_sec3Lar calc10 ch05_sec3
Lar calc10 ch05_sec3
 
Calc 5.3
Calc 5.3Calc 5.3
Calc 5.3
 
Inverse Functions
Inverse FunctionsInverse Functions
Inverse Functions
 
Inverse function
Inverse functionInverse function
Inverse function
 
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
 
One to-one function (MATH 11)
One to-one function (MATH 11)One to-one function (MATH 11)
One to-one function (MATH 11)
 
4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functions
 
2.8A Function Operations
2.8A Function Operations2.8A Function Operations
2.8A Function Operations
 
Prosomoiwsh 1 xenos
Prosomoiwsh 1 xenosProsomoiwsh 1 xenos
Prosomoiwsh 1 xenos
 
Notes chapter 1
Notes chapter 1 Notes chapter 1
Notes chapter 1
 
Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021Epanaliptiko pros spiros_giannakaros_2021
Epanaliptiko pros spiros_giannakaros_2021
 
Function in Mathematics
Function in MathematicsFunction in Mathematics
Function in Mathematics
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
4 5 inverse functions
4 5 inverse functions4 5 inverse functions
4 5 inverse 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.
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Functions 2
Functions 2Functions 2
Functions 2
 
Lesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And LogarithmsLesson 15: Inverse Functions And Logarithms
Lesson 15: Inverse Functions And Logarithms
 
53 inverse function (optional)
53 inverse function (optional)53 inverse function (optional)
53 inverse function (optional)
 
Lecture 20 fundamental theorem of calc - section 5.3
Lecture 20   fundamental theorem of calc - section 5.3Lecture 20   fundamental theorem of calc - section 5.3
Lecture 20 fundamental theorem of calc - section 5.3
 

Similar to Intro set theory, math methodology, comp prog

Similar to Intro set theory, math methodology, comp prog (20)

4.1 Inverse Functions
4.1 Inverse Functions4.1 Inverse Functions
4.1 Inverse Functions
 
Inverse function
Inverse function Inverse function
Inverse function
 
PreCalc Section 1.6.ppt
PreCalc Section 1.6.pptPreCalc Section 1.6.ppt
PreCalc Section 1.6.ppt
 
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
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
 
Inverses & One-to-One
Inverses & One-to-OneInverses & One-to-One
Inverses & One-to-One
 
Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functions
 
Functions (1)
Functions (1)Functions (1)
Functions (1)
 
Inverse functions and relations
Inverse functions and relationsInverse functions and relations
Inverse functions and relations
 
Ch07
Ch07Ch07
Ch07
 
Core 3 Functions 3
Core 3 Functions 3Core 3 Functions 3
Core 3 Functions 3
 
2 7 Bzca5e
2 7 Bzca5e2 7 Bzca5e
2 7 Bzca5e
 
3. Functions II.pdf
3. Functions II.pdf3. Functions II.pdf
3. Functions II.pdf
 
7.4 inverse functions
7.4 inverse functions7.4 inverse functions
7.4 inverse functions
 
Aa2
Aa2Aa2
Aa2
 
Inverse functions
Inverse functionsInverse functions
Inverse functions
 
2. Functions I.pdf
2. Functions I.pdf2. Functions I.pdf
2. Functions I.pdf
 
Lemh105
Lemh105Lemh105
Lemh105
 
Limits and Continuity - Intuitive Approach part 1
Limits and Continuity - Intuitive Approach part 1Limits and Continuity - Intuitive Approach part 1
Limits and Continuity - Intuitive Approach part 1
 
3_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v33_-_Graphs_and_Functions v3
3_-_Graphs_and_Functions v3
 

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.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)Jan Plaza
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)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
 
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.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)
 
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
 
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

Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
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
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
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
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Intro set theory, math methodology, comp prog

  • 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? 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 = . . .
  • 7. Exercise Let f(x) = 2x + 1. Find f−1. Find (f−1)−1. Find f ◦ f−1. Find f−1 ◦ f.
  • 8. 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 = . . .
  • 9. 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.
  • 10. 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 = . . . .
  • 11. 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.
  • 12. 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.
  • 13. 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
  • 14. 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.