SlideShare a Scribd company logo
4.1 Functions as Relations
SQU-Math2350
Dr. Yassir Dinar
Sultan Qaboos University
Department Of Mathematics
Math2350: Foundation of Mathematics
Fall 2019
SQU-Math2350 4.1 Functions as Relations Fall 2019 1 / 12
Functions as Relations
Definition 1.1
A function (or mapping ) from A to B is a relation from A to B such
that
(i) the domain of f is A and
(ii) if (x, y) โˆˆ f and (x, y) โˆˆ f, then y = z.
f : A โ†’ B readsโ€œf is a function from A to Bโ€ or โ€œf maps A to Bโ€.
The set B is called the codomain of f and if A = B, we say f is a
function on A.
When (x, y) โˆˆ f, we write y = f(x). We read it as y is the image of f
at x (or value of f at x) and that x is a pre-image of y..
Functions whose domains and codomains are subsets of R are referred
to as real functions
SQU-Math2350 4.1 Functions as Relations Fall 2019 2 / 12
Relations: Examples
Example 1.2
Let A = {1, 2, 3} and B = {4, 5, 6} which of the following relations is a function
from A to B:
1 P = {(1, 4), (2, 5), (3, 6), (2, 6)}.
2 S = {(1, 5), (2, 5), (3, 4)}.
3 T = {(1, 4), (3, 6)}.
Solution.
SQU-Math2350 4.1 Functions as Relations Fall 2019 3 / 12
Functions: Examples
Example 1.3
Show that the relations g = {(a, b) : b + 2a โˆ’ 7 = 0} from N to Z is a function.
Solution.
(i) Let a โˆˆ N. Then b = โˆ’2a + 7 โˆˆ Z and (a, b) โˆˆ g. Hence,
Dom(g) = N.
(ii) Assume (a, n) โˆˆ g and (a, m) โˆˆ g. Then by definition of g,
m = โˆ’2a + 7 = n.
Frome (i) and (ii) we conclude that g is a function from N to Z.
Note that since g is a function we can write b = g(a) = โˆ’2a + 7.
Example 1.4
Define F = {(x, y) : x2
+ 4y2
= 16}. Show that F is a function from [0, 4] to
[0, โˆž).
Since it is a function, write y =
q
16โˆ’x2
4 . Find 3 different codomains!!!
SQU-Math2350 4.1 Functions as Relations Fall 2019 4 / 12
Functions: Non Examples
Example 1.5
Define F = {(x, y) : x2
+ 4y2
= 16}. Show that F is not a function when
1 F is a relation from R to R.
2 F is a relation from [โˆ’4, 4] to R.
3 F is a relation from [0, 4] to [0, 1].
Solution.
1 Note that 10 โˆˆ R but 10 /
โˆˆ Dom(F) since 102 + 4y2 โ‰ฅ 100, โˆ€y โˆˆ R.
Hence F is not a function.
2 Dom(F) = [โˆ’4, 4] Prove it!. For (x, y) and (x, z) in F we have
4y2 = 4z2. Hence y = ยฑz. So F is not a function. Counterexample
both (2,
โˆš
3) and (2, โˆ’
โˆš
3) are in F.
3 Dom(F) 6= [0, 4]. Counterexample 2 /
โˆˆ Dom(F) since otherwise
(2,
โˆš
3) โˆˆ F but
โˆš
3 /
โˆˆ codomain(F).
SQU-Math2350 4.1 Functions as Relations Fall 2019 5 / 12
Domain and Range
Example 1.6
Assume that the domain of each of the following functions is the larges possible
subset of R, find the domain and range.
1 f(x) = x2
+5x+6
x+2 .
2 f(x) =
โˆš
x โˆ’ 3.
Solution.
1 Dom(f) = R โˆ’ {โˆ’2}. Let b โˆˆ Rng(f). Then there exists
a โˆˆ R โˆ’ {โˆ’2} such that f(a) = b.This implies that b = a + 3. But
a 6= โˆ’2. Hence, b 6= โˆ’1. Therefore, Rng(f) = R โˆ’ {1}.
2
SQU-Math2350 4.1 Functions as Relations Fall 2019 6 / 12
Equal functions
Definition 1.7
Two functions f and g are equal if they are equal as sets.
Theorem 1.8
Two function f and g are equal if and only if
(i) Dom(f) = Dom(g) and
(ii) for all x โˆˆ Dom(f), f(x) = g(x).
Prove it!
Example 1.9
The function f(x) = x2
+5x+6
x+2 and g(x) = x + 3 are not equal as real values
functions since Dom(f) = R โˆ’ {โˆ’2} while Dom(g) = R. If we redefine both of
them with domain [0, โˆž), then they are equal.
SQU-Math2350 4.1 Functions as Relations Fall 2019 7 / 12
Section 4.2 Constructions of Functions
Let f : A โ†’ B and g : B โ†’ C. Then fโˆ’1 = {(a, b) : (b, a) โˆˆ f} ,
g โ—ฆ f = {(x, y) : (โˆƒz โˆˆ B), (x, z) โˆˆ f and (z, y) โˆˆ g}.
Example 2.1
Let f and g be real valued functions given by f(x) = 2x + 1 and g(x) = x2
.
1 Find fโˆ’1
and gโˆ’1
and determine if they are functions.
2 Find g โ—ฆ f and f โ—ฆ g and determine if they are functions.
Solution.
Inverse of function is not necessary a function.
SQU-Math2350 4.2 Constructions of Functions Fall 2019 8 / 12
Composition of functions
Theorem 2.2
Let f : A โ†’ B and g : B โ†’ C. Then g โ—ฆ f is a function from A to C and
Dom(g โ—ฆ f) = Dom(f) = A.
Proof.
(i) It is known that Dom(g โ—ฆ f) โŠ† A. Let x โˆˆ A. Since f is a function
there exist b โˆˆ B such that (a, b) โˆˆ f.Also, since g is a function there
is c โˆˆ C such that (b, c) โˆˆ g. But then (a, c) โˆˆ g โ—ฆ f and
a โˆˆ Dom(g โ—ฆ f). Thus Dom(g โ—ฆ f) = A.
(ii) Assume that (a, y) and (a, z) are in g โ—ฆ f. Then by definition
SQU-Math2350 4.2 Constructions of Functions Fall 2019 9 / 12
Composition of functions: Examples
Example 2.3
Let f and g be real valued functions given by f(x) = sin x and g(x) = ex
. Then
domain of f and g are R. Thus
1 g โ—ฆ f = . . . and Dom(g โ—ฆ f) = . . .
2 f โ—ฆ g = . . . and Dom(f โ—ฆ g) = . . .
Example 2.4
Let f, g and h be real valued functions defined by f(x) = x + 2 and g(x) = 1
xโˆ’9
and h(x) =
โˆš
x + 5. Then the domain of f, g and h are different. Thus
1 g โ—ฆ f = . . . and Dom(g โ—ฆ f) = . . .. Since Dom(g) = R โˆ’ {9}.
2 h โ—ฆ f = . . . and Dom(h โ—ฆ f) = . . .. Since Dom(h) = .....
SQU-Math2350 4.2 Constructions of Functions Fall 2019 10 / 12
Theorems on Composition of Functions
Theorem 2.5
Let f : A โ†’ B, g : B โ†’ C and h : C โ†’ D. Then h โ—ฆ (g โ—ฆ f) = (h โ—ฆ g) โ—ฆ f.
Theorem 2.6
Let f : A โ†’ B with Rng(f) = C. If fโˆ’1 is a function then fโˆ’1 โ—ฆ f = IA
and f โ—ฆ fโˆ’1 = IC.
Proof.
Suppose f : A โ†’ B and fโˆ’1 is a function. Then
(i) Dom(fโˆ’1 โ—ฆ f) = Dom(f) = A = Dom(IA).
(ii) For x โˆˆ A, there is y โˆˆ B such that (x, y) โˆˆ f. Then (y, x) โˆˆ fโˆ’1.
Thus fโˆ’1 โ—ฆ f(x) = x = IA(x).
From (i) and (ii), fโˆ’1 โ—ฆf = IA. The proof of f โ—ฆfโˆ’1 = IC left as Exercise
SQU-Math2350 4.2 Constructions of Functions Fall 2019 11 / 12
Theorems on Composition of Functions
Theorem 2.7
Let f : A โ†’ B. Then f โ—ฆ IA = f and IB โ—ฆ f = f.
Proof.
SQU-Math2350 4.2 Constructions of Functions Fall 2019 12 / 12

More Related Content

What's hot

Basic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codesBasic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codes
Madhumita Tamhane
ย 
125 7.7
125 7.7125 7.7
125 7.7
Jeneva Clark
ย 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3
Leonardo Nosce
ย 
Chepter 1 function 2013
Chepter 1   function 2013Chepter 1   function 2013
Chepter 1 function 2013
Saripah Ahmad Mozac
ย 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)
Aleksandr Yampolskiy
ย 
Mat221 5.6 definite integral substitutions and the area between two curves
Mat221 5.6 definite integral substitutions and the area between two curvesMat221 5.6 definite integral substitutions and the area between two curves
Mat221 5.6 definite integral substitutions and the area between two curves
GlenSchlee
ย 
Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7
Kate Nowak
ย 
Ch04
Ch04Ch04
Functions JC H2 Maths
Functions JC H2 MathsFunctions JC H2 Maths
Functions JC H2 Maths
Math Academy Singapore
ย 
Number theory
Number theoryNumber theory
Number theory
cherrymer molina
ย 
Math academy-partial-fractions-notes
Math academy-partial-fractions-notesMath academy-partial-fractions-notes
Math academy-partial-fractions-notes
Math Academy Singapore
ย 
2.5 notes
2.5 notes2.5 notes
2.5 notes
nglaze10
ย 
Number theory
Number theoryNumber theory
Number theory
AbdulsemedEngida
ย 
Relation and function_xii
Relation and function_xiiRelation and function_xii
Relation and function_xii
Barnali Banerjee
ย 
Probability theory
Probability theoryProbability theory
Probability theory
warwickmorsesociety
ย 
Introductory Mathematical Analysis for Business Economics International 13th ...
Introductory Mathematical Analysis for Business Economics International 13th ...Introductory Mathematical Analysis for Business Economics International 13th ...
Introductory Mathematical Analysis for Business Economics International 13th ...
Leblancer
ย 
20120523123639 relationsfunctionsclass 11
20120523123639 relationsfunctionsclass 1120120523123639 relationsfunctionsclass 11
20120523123639 relationsfunctionsclass 11
aggarwalsachin1999
ย 
Functions
FunctionsFunctions
Functions
Motlalepula Mokhele
ย 
Number theory lecture (part 2)
Number theory lecture (part 2)Number theory lecture (part 2)
Number theory lecture (part 2)
Aleksandr Yampolskiy
ย 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
James Smith
ย 

What's hot (20)

Basic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codesBasic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codes
ย 
125 7.7
125 7.7125 7.7
125 7.7
ย 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3
ย 
Chepter 1 function 2013
Chepter 1   function 2013Chepter 1   function 2013
Chepter 1 function 2013
ย 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)
ย 
Mat221 5.6 definite integral substitutions and the area between two curves
Mat221 5.6 definite integral substitutions and the area between two curvesMat221 5.6 definite integral substitutions and the area between two curves
Mat221 5.6 definite integral substitutions and the area between two curves
ย 
Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7
ย 
Ch04
Ch04Ch04
Ch04
ย 
Functions JC H2 Maths
Functions JC H2 MathsFunctions JC H2 Maths
Functions JC H2 Maths
ย 
Number theory
Number theoryNumber theory
Number theory
ย 
Math academy-partial-fractions-notes
Math academy-partial-fractions-notesMath academy-partial-fractions-notes
Math academy-partial-fractions-notes
ย 
2.5 notes
2.5 notes2.5 notes
2.5 notes
ย 
Number theory
Number theoryNumber theory
Number theory
ย 
Relation and function_xii
Relation and function_xiiRelation and function_xii
Relation and function_xii
ย 
Probability theory
Probability theoryProbability theory
Probability theory
ย 
Introductory Mathematical Analysis for Business Economics International 13th ...
Introductory Mathematical Analysis for Business Economics International 13th ...Introductory Mathematical Analysis for Business Economics International 13th ...
Introductory Mathematical Analysis for Business Economics International 13th ...
ย 
20120523123639 relationsfunctionsclass 11
20120523123639 relationsfunctionsclass 1120120523123639 relationsfunctionsclass 11
20120523123639 relationsfunctionsclass 11
ย 
Functions
FunctionsFunctions
Functions
ย 
Number theory lecture (part 2)
Number theory lecture (part 2)Number theory lecture (part 2)
Number theory lecture (part 2)
ย 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
ย 

Similar to Proof methods-students

Function presentation
Function presentationFunction presentation
Function presentation
jamil sadiq
ย 
AnsChap1.pdf
AnsChap1.pdfAnsChap1.pdf
AnsChap1.pdf
SANTHIYAAPKALITHASAN
ย 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
nitishguptamaps
ย 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
Jan Plaza
ย 
Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5
ShahidAkbar22
ย 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
allyn joy calcaben
ย 
Maths chapter wise Important questions
Maths chapter wise Important questionsMaths chapter wise Important questions
Maths chapter wise Important questions
Srikanth KS
ย 
Chapter 2 - Functions and Graphs
Chapter 2 - Functions and GraphsChapter 2 - Functions and Graphs
Chapter 2 - Functions and Graphs
Muhammad Bilal Khairuddin
ย 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 official
Evert Sandye Taasiringan
ย 
Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891
Cleophas Rwemera
ย 
Introductory part of function for class 12th JEE
Introductory part of function for class 12th JEEIntroductory part of function for class 12th JEE
Introductory part of function for class 12th JEE
MohanSonawane
ย 
7 functions
7   functions7   functions
7 functions
KathManarang
ย 
Section 2.1 functions
Section 2.1 functions Section 2.1 functions
Section 2.1 functions
Wong Hsiung
ย 
Chapter1 functions
Chapter1 functionsChapter1 functions
Chapter1 functions
Monie Joey
ย 
Chapter1 functions
Chapter1 functionsChapter1 functions
Chapter1 functions
Sofia Mahmood
ย 
Functions
FunctionsFunctions
Functions
Dreams4school
ย 
01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
RajuSingh806014
ย 
8functions
8functions8functions
8functions
manrak
ย 
Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functions
Subhalaxmi Pattanayak
ย 
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
shahul62
ย 

Similar to Proof methods-students (20)

Function presentation
Function presentationFunction presentation
Function presentation
ย 
AnsChap1.pdf
AnsChap1.pdfAnsChap1.pdf
AnsChap1.pdf
ย 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
ย 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
ย 
Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5
ย 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
ย 
Maths chapter wise Important questions
Maths chapter wise Important questionsMaths chapter wise Important questions
Maths chapter wise Important questions
ย 
Chapter 2 - Functions and Graphs
Chapter 2 - Functions and GraphsChapter 2 - Functions and Graphs
Chapter 2 - Functions and Graphs
ย 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 official
ย 
Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891
ย 
Introductory part of function for class 12th JEE
Introductory part of function for class 12th JEEIntroductory part of function for class 12th JEE
Introductory part of function for class 12th JEE
ย 
7 functions
7   functions7   functions
7 functions
ย 
Section 2.1 functions
Section 2.1 functions Section 2.1 functions
Section 2.1 functions
ย 
Chapter1 functions
Chapter1 functionsChapter1 functions
Chapter1 functions
ย 
Chapter1 functions
Chapter1 functionsChapter1 functions
Chapter1 functions
ย 
Functions
FunctionsFunctions
Functions
ย 
01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
ย 
8functions
8functions8functions
8functions
ย 
Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functions
ย 
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
1-CIE-IGCSE-Additional-Mathematics-Topical-Past-Paper-Functions.pdf
ย 

Recently uploaded

What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
ย 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
ย 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Vivekanand Anglo Vedic Academy
ย 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
ย 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
ย 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixรฃo
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Nguyen Thanh Tu Collection
ย 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
ย 

Recently uploaded (20)

What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
ย 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
ย 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
ย 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
ย 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
ย 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
ย 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
ย 

Proof methods-students

  • 1. 4.1 Functions as Relations SQU-Math2350 Dr. Yassir Dinar Sultan Qaboos University Department Of Mathematics Math2350: Foundation of Mathematics Fall 2019 SQU-Math2350 4.1 Functions as Relations Fall 2019 1 / 12
  • 2. Functions as Relations Definition 1.1 A function (or mapping ) from A to B is a relation from A to B such that (i) the domain of f is A and (ii) if (x, y) โˆˆ f and (x, y) โˆˆ f, then y = z. f : A โ†’ B readsโ€œf is a function from A to Bโ€ or โ€œf maps A to Bโ€. The set B is called the codomain of f and if A = B, we say f is a function on A. When (x, y) โˆˆ f, we write y = f(x). We read it as y is the image of f at x (or value of f at x) and that x is a pre-image of y.. Functions whose domains and codomains are subsets of R are referred to as real functions SQU-Math2350 4.1 Functions as Relations Fall 2019 2 / 12
  • 3. Relations: Examples Example 1.2 Let A = {1, 2, 3} and B = {4, 5, 6} which of the following relations is a function from A to B: 1 P = {(1, 4), (2, 5), (3, 6), (2, 6)}. 2 S = {(1, 5), (2, 5), (3, 4)}. 3 T = {(1, 4), (3, 6)}. Solution. SQU-Math2350 4.1 Functions as Relations Fall 2019 3 / 12
  • 4. Functions: Examples Example 1.3 Show that the relations g = {(a, b) : b + 2a โˆ’ 7 = 0} from N to Z is a function. Solution. (i) Let a โˆˆ N. Then b = โˆ’2a + 7 โˆˆ Z and (a, b) โˆˆ g. Hence, Dom(g) = N. (ii) Assume (a, n) โˆˆ g and (a, m) โˆˆ g. Then by definition of g, m = โˆ’2a + 7 = n. Frome (i) and (ii) we conclude that g is a function from N to Z. Note that since g is a function we can write b = g(a) = โˆ’2a + 7. Example 1.4 Define F = {(x, y) : x2 + 4y2 = 16}. Show that F is a function from [0, 4] to [0, โˆž). Since it is a function, write y = q 16โˆ’x2 4 . Find 3 different codomains!!! SQU-Math2350 4.1 Functions as Relations Fall 2019 4 / 12
  • 5. Functions: Non Examples Example 1.5 Define F = {(x, y) : x2 + 4y2 = 16}. Show that F is not a function when 1 F is a relation from R to R. 2 F is a relation from [โˆ’4, 4] to R. 3 F is a relation from [0, 4] to [0, 1]. Solution. 1 Note that 10 โˆˆ R but 10 / โˆˆ Dom(F) since 102 + 4y2 โ‰ฅ 100, โˆ€y โˆˆ R. Hence F is not a function. 2 Dom(F) = [โˆ’4, 4] Prove it!. For (x, y) and (x, z) in F we have 4y2 = 4z2. Hence y = ยฑz. So F is not a function. Counterexample both (2, โˆš 3) and (2, โˆ’ โˆš 3) are in F. 3 Dom(F) 6= [0, 4]. Counterexample 2 / โˆˆ Dom(F) since otherwise (2, โˆš 3) โˆˆ F but โˆš 3 / โˆˆ codomain(F). SQU-Math2350 4.1 Functions as Relations Fall 2019 5 / 12
  • 6. Domain and Range Example 1.6 Assume that the domain of each of the following functions is the larges possible subset of R, find the domain and range. 1 f(x) = x2 +5x+6 x+2 . 2 f(x) = โˆš x โˆ’ 3. Solution. 1 Dom(f) = R โˆ’ {โˆ’2}. Let b โˆˆ Rng(f). Then there exists a โˆˆ R โˆ’ {โˆ’2} such that f(a) = b.This implies that b = a + 3. But a 6= โˆ’2. Hence, b 6= โˆ’1. Therefore, Rng(f) = R โˆ’ {1}. 2 SQU-Math2350 4.1 Functions as Relations Fall 2019 6 / 12
  • 7. Equal functions Definition 1.7 Two functions f and g are equal if they are equal as sets. Theorem 1.8 Two function f and g are equal if and only if (i) Dom(f) = Dom(g) and (ii) for all x โˆˆ Dom(f), f(x) = g(x). Prove it! Example 1.9 The function f(x) = x2 +5x+6 x+2 and g(x) = x + 3 are not equal as real values functions since Dom(f) = R โˆ’ {โˆ’2} while Dom(g) = R. If we redefine both of them with domain [0, โˆž), then they are equal. SQU-Math2350 4.1 Functions as Relations Fall 2019 7 / 12
  • 8. Section 4.2 Constructions of Functions Let f : A โ†’ B and g : B โ†’ C. Then fโˆ’1 = {(a, b) : (b, a) โˆˆ f} , g โ—ฆ f = {(x, y) : (โˆƒz โˆˆ B), (x, z) โˆˆ f and (z, y) โˆˆ g}. Example 2.1 Let f and g be real valued functions given by f(x) = 2x + 1 and g(x) = x2 . 1 Find fโˆ’1 and gโˆ’1 and determine if they are functions. 2 Find g โ—ฆ f and f โ—ฆ g and determine if they are functions. Solution. Inverse of function is not necessary a function. SQU-Math2350 4.2 Constructions of Functions Fall 2019 8 / 12
  • 9. Composition of functions Theorem 2.2 Let f : A โ†’ B and g : B โ†’ C. Then g โ—ฆ f is a function from A to C and Dom(g โ—ฆ f) = Dom(f) = A. Proof. (i) It is known that Dom(g โ—ฆ f) โŠ† A. Let x โˆˆ A. Since f is a function there exist b โˆˆ B such that (a, b) โˆˆ f.Also, since g is a function there is c โˆˆ C such that (b, c) โˆˆ g. But then (a, c) โˆˆ g โ—ฆ f and a โˆˆ Dom(g โ—ฆ f). Thus Dom(g โ—ฆ f) = A. (ii) Assume that (a, y) and (a, z) are in g โ—ฆ f. Then by definition SQU-Math2350 4.2 Constructions of Functions Fall 2019 9 / 12
  • 10. Composition of functions: Examples Example 2.3 Let f and g be real valued functions given by f(x) = sin x and g(x) = ex . Then domain of f and g are R. Thus 1 g โ—ฆ f = . . . and Dom(g โ—ฆ f) = . . . 2 f โ—ฆ g = . . . and Dom(f โ—ฆ g) = . . . Example 2.4 Let f, g and h be real valued functions defined by f(x) = x + 2 and g(x) = 1 xโˆ’9 and h(x) = โˆš x + 5. Then the domain of f, g and h are different. Thus 1 g โ—ฆ f = . . . and Dom(g โ—ฆ f) = . . .. Since Dom(g) = R โˆ’ {9}. 2 h โ—ฆ f = . . . and Dom(h โ—ฆ f) = . . .. Since Dom(h) = ..... SQU-Math2350 4.2 Constructions of Functions Fall 2019 10 / 12
  • 11. Theorems on Composition of Functions Theorem 2.5 Let f : A โ†’ B, g : B โ†’ C and h : C โ†’ D. Then h โ—ฆ (g โ—ฆ f) = (h โ—ฆ g) โ—ฆ f. Theorem 2.6 Let f : A โ†’ B with Rng(f) = C. If fโˆ’1 is a function then fโˆ’1 โ—ฆ f = IA and f โ—ฆ fโˆ’1 = IC. Proof. Suppose f : A โ†’ B and fโˆ’1 is a function. Then (i) Dom(fโˆ’1 โ—ฆ f) = Dom(f) = A = Dom(IA). (ii) For x โˆˆ A, there is y โˆˆ B such that (x, y) โˆˆ f. Then (y, x) โˆˆ fโˆ’1. Thus fโˆ’1 โ—ฆ f(x) = x = IA(x). From (i) and (ii), fโˆ’1 โ—ฆf = IA. The proof of f โ—ฆfโˆ’1 = IC left as Exercise SQU-Math2350 4.2 Constructions of Functions Fall 2019 11 / 12
  • 12. Theorems on Composition of Functions Theorem 2.7 Let f : A โ†’ B. Then f โ—ฆ IA = f and IB โ—ฆ f = f. Proof. SQU-Math2350 4.2 Constructions of Functions Fall 2019 12 / 12