SlideShare a Scribd company logo
1 of 12
Download to read offline
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 codesMadhumita Tamhane
 
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 curvesGlenSchlee
 
Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7Algebra 2 Unit 5 Lesson 7
Algebra 2 Unit 5 Lesson 7Kate Nowak
 
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 11aggarwalsachin1999
 
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 VersionJames 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 presentationjamil sadiq
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function compositionJan Plaza
 
Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5ShahidAkbar22
 
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
 
Maths chapter wise Important questions
Maths chapter wise Important questionsMaths chapter wise Important questions
Maths chapter wise Important questionsSrikanth KS
 
Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891Cleophas Rwemera
 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 officialEvert Sandye Taasiringan
 
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 JEEMohanSonawane
 
Section 2.1 functions
Section 2.1 functions Section 2.1 functions
Section 2.1 functions Wong Hsiung
 
Chapter1 functions
Chapter1 functionsChapter1 functions
Chapter1 functionsMonie Joey
 
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.pdfRajuSingh806014
 
8functions
8functions8functions
8functionsmanrak
 

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
 
Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891Chapter2 functionsandgraphs-151003144959-lva1-app6891
Chapter2 functionsandgraphs-151003144959-lva1-app6891
 
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
 
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 quadratic function
1 quadratic function1 quadratic function
1 quadratic function
 

Recently uploaded

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
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
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
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
 

Recently uploaded (20)

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 
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
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
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🔝
 
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...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

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