SlideShare a Scribd company logo
1/20
Functions
2/20
Topics
• Function Definition
• Notation
• Partial Functions
• Special Functions
• Composition
• Injections, surjections, bijections
• Inverses
3/20
• A function is a special kind of binary
relation.
• A binary relation f ⊆ A × B is a function if
for each a ∈ A there is a unique b ∈ B
Function Definition
1
2
3
α
β
γ
x
y
4/20
NOT Functions
1
2
3
α
β
γ
f = {(1, α), (2, β)}
“For each” violated
Some x’s do not have
corresponding y’s
x
y
5/20
NOT Functions
Uniqueness violated for some x’s
x
y
1
2
3
α
β
γ
f = {(1, α), (2, β), (3, β), (3, γ)}
uniqueness violated for 3 
appears twice
6/20
An (n+1)-ary relation f ⊆ A1 × A2 × … × An
× B is a function if for each < a1, a2, …,
an> ∈ A1 × A2 × … × An there is a unique
b ∈ B.
Functions
with N-Dimensional Domains
α
β
γ
<1,1>
<1,2>
<1,3>
7/20
• We can use various notation for functions: for
f = {(1, α),(2, β),(3, β)}
Notation for Functions
Notation (x, y) ∈ f f : x→y y = f(x)
Example (2, β) ∈ f f : 2→β β = f(2)
• In the notation, x is the argument or preimage
and y is the image. We can also have the
image of a set of arguments.
• For functions with n-ary domains, use <x0, x1,
…, xn> in place of x.
8/20
Function Domain and Range
• f : A → B
– A is the domain space
• same as the domain (since all elements participate)
• dom f, dom(f), or domain(f)
– B is the range space
• may or may not be the same as the range, which is:
– {y | ∃x(y=f(x))}
– All rhs values in pairs (all that get “hit”)
πBf
• ran f, ran(f), range(f)
• f : D1 × D2 × … × Dn → Z
• f : Dn
→ Z (when all domains are the same)
9/20
Remove the requirement that each a ∈ A must
participate. Retain the uniqueness requirement.
Partial Functions
Partial Function:
α
β
γ
f = {(<1,2>, β),(<1,3>, β),(<1,3>, γ)}
<1,3> not unique
<1,1>
<1,2>
<1,3>
α
β
γ
<1,1>
<1,2>
<1,3>
NOT a Partial Function:
α
β
γ
<1,1>
<1,2>
<1,3>
Partial Function: (A
Total Function is also a
Partial Function.)
10/20
• Identity Function
– IA : A → A
– IA = {(x, x) | x ∈ A}
• Constant Function
– C : A → B
– C = {(x, c) | x ∈ A ∧ c ∈ B }
– Often A and B are the same
• C : A → A
• C= {(x, c) | x ∈ A ∧ c ∈ A}
Special Functions
Discussion #29 11/20
Composition of Functions
• Composition is written “°”
• Range space of f =
domain space of g
a
c
1
2
4
f
g
b
α
β
3
f(a) = 2 g(2) = α g(f(a)) = α
g°f(a) = α
f(b) = 2 g(2) = α g(f(b)) = α
g°f(b) = α
f(c) = 4 g(4) = β g(f(c)) = β
g°f(c) = β
Discussion #29 12/20
Injection: “one-to-one” or “1-1”
∀x∀y(f(x) = f(y) ⇒ x = y)
– For f : A → B, the elements in B are “hit” at most once
Injection
a
b
d
1
2
3
c
Injective
a
b
d
1
2
3
c
NOT Injective
x
y
x
y
13/20
Surjection: “onto”
∀y∃x(y = f(x))
– For f : A → B, the elements in B are all “hit” at least once
Surjection
1
2
4
a
b
c
3
Surjective NOT Surjective
x
y
x
y
1
2
4
a
b
c
3
{not
“hit”
14/20
Bijection: “one-to-one and onto” or “1-1 correspondence”
∀x∀y(f(x) = f(y) ⇒ x = y) ∧ ∀y∃x(y = f(x))
– For f : A → B, every B element is “hit” once and only once
Bijection
1
2
a
b
c
3
Bijective NOT Bijective
x
y
x
y
1
2
4
a
b
c
3
NOT Surjective
NOT injective
15/20
Notes on Bijection
1. |A| = |B|
– An “extra” B cannot be “hit” (not a surjection)
– An “extra” A requires that at least one B must be
“hit” twice (not an injection)
1. If f is a bijection, swapping the elements of the
ordered pairs is a function
– Called the inverse
– Denoted f-1
– Is also a bijection
– f-1
(f(x)) is the identity function, i.e. f-1
(f(x)) = x.
16/20
Notes on Bijection (continued …)
3. The inverse of an injection is a partial function.
If f : A →B is an injection, then f-1
is a partial function
4. Restricting the range space of an injective
function to the range yields a bijection
Remove b
a
b
d
1
2
3
c
f
a
b
d
1
2
3
c
f-1

More Related Content

What's hot

Inverse functions
Inverse functionsInverse functions
Inverse functions
PLeach
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Shiela Vinarao
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
cannout
 
Section 6.8 (ppt for course compass)
Section 6.8 (ppt for course compass)Section 6.8 (ppt for course compass)
Section 6.8 (ppt for course compass)
RMartinets
 
2.2 laws of probability (1)
2.2 laws of probability (1)2.2 laws of probability (1)
2.2 laws of probability (1)
gracie
 
Ring
RingRing
Exponential and logarithmic functions
Exponential and logarithmic functionsExponential and logarithmic functions
Exponential and logarithmic functionsNjabulo Nkabinde
 
Counting techniques
Counting techniquesCounting techniques
Counting techniques
Chie Pegollo
 
Lesson 30: Integration by Parts
Lesson 30: Integration by PartsLesson 30: Integration by Parts
Lesson 30: Integration by Parts
Matthew Leingang
 
Ch 3 the derivative
Ch 3 the derivativeCh 3 the derivative
Ch 3 the derivative
FuaadAbdirizakElmi1
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
Burhanuddin Shabbir
 
Inverse Function.pptx
Inverse Function.pptxInverse Function.pptx
Inverse Function.pptx
SerGeo5
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and RegressionShubham Mehta
 
Limits of functions
Limits of functionsLimits of functions
Limits of functions
Louie Joy Rosit
 
1541 infinite limits
1541 infinite limits1541 infinite limits
1541 infinite limits
Dr Fereidoun Dejahang
 
Domain and range (linear, quadratic, rational functions)
Domain and range (linear, quadratic, rational functions)Domain and range (linear, quadratic, rational functions)
Domain and range (linear, quadratic, rational functions)
Rose Mary Tania Arini
 
Relation and function
Relation and functionRelation and function
Relation and function
Rose Mary Tania Arini
 
Functions 1 - Math Academy - JC H2 maths A levels
Functions 1 - Math Academy - JC H2 maths A levelsFunctions 1 - Math Academy - JC H2 maths A levels
Functions 1 - Math Academy - JC H2 maths A levels
Math Academy Singapore
 

What's hot (20)

Inverse functions
Inverse functionsInverse functions
Inverse functions
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Section 6.8 (ppt for course compass)
Section 6.8 (ppt for course compass)Section 6.8 (ppt for course compass)
Section 6.8 (ppt for course compass)
 
2.2 laws of probability (1)
2.2 laws of probability (1)2.2 laws of probability (1)
2.2 laws of probability (1)
 
Ring
RingRing
Ring
 
Exponential and logarithmic functions
Exponential and logarithmic functionsExponential and logarithmic functions
Exponential and logarithmic functions
 
Counting techniques
Counting techniquesCounting techniques
Counting techniques
 
Lesson 30: Integration by Parts
Lesson 30: Integration by PartsLesson 30: Integration by Parts
Lesson 30: Integration by Parts
 
Ch 3 the derivative
Ch 3 the derivativeCh 3 the derivative
Ch 3 the derivative
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
 
Inverse Function.pptx
Inverse Function.pptxInverse Function.pptx
Inverse Function.pptx
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Limits of functions
Limits of functionsLimits of functions
Limits of functions
 
1541 infinite limits
1541 infinite limits1541 infinite limits
1541 infinite limits
 
Domain and range (linear, quadratic, rational functions)
Domain and range (linear, quadratic, rational functions)Domain and range (linear, quadratic, rational functions)
Domain and range (linear, quadratic, rational functions)
 
Relation and function
Relation and functionRelation and function
Relation and function
 
Exponential functions
Exponential functionsExponential functions
Exponential functions
 
Functions 1 - Math Academy - JC H2 maths A levels
Functions 1 - Math Academy - JC H2 maths A levelsFunctions 1 - Math Academy - JC H2 maths A levels
Functions 1 - Math Academy - JC H2 maths A levels
 
7 functions
7   functions7   functions
7 functions
 

Similar to Functions

Functions
FunctionsFunctions
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptx
jaffarbikat
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
PramodMathur8
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
ssuser19b417
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphsSujata Tapare
 
Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5
ShahidAkbar22
 
03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctions
Sufyan Sahoo
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- Basics
Rabin BK
 
Functions for Grade 10
Functions for Grade 10Functions for Grade 10
Functions for Grade 10Boipelo Radebe
 
Basic Calculus.docx
Basic Calculus.docxBasic Calculus.docx
Basic Calculus.docx
jericranoco
 
05-Functions-A.pdf
05-Functions-A.pdf05-Functions-A.pdf
05-Functions-A.pdf
TanishaKhandelwal8
 
Functions by mstfdemirdag
Functions by mstfdemirdagFunctions by mstfdemirdag
Functions by mstfdemirdag
mstf mstf
 
monotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdfmonotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdf
RajuSingh806014
 
Math - Operations on Functions, Kinds of Functions
Math - Operations on Functions, Kinds of FunctionsMath - Operations on Functions, Kinds of Functions
Math - Operations on Functions, Kinds of Functions
Chuckie Balbuena
 
บทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันบทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันThipayarat Mocha
 
บทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันบทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันThipayarat Mocha
 
Functions
FunctionsFunctions
FunctionsSPSV
 
Notes 3-7
Notes 3-7Notes 3-7
Notes 3-7
Jimbo Lamb
 
Chapter 1 (functions).
Chapter 1 (functions).Chapter 1 (functions).
Chapter 1 (functions).
Eko Wijayanto
 
Lesson 25: Evaluating Definite Integrals (Section 10 version)
Lesson 25: Evaluating Definite Integrals (Section 10 version)Lesson 25: Evaluating Definite Integrals (Section 10 version)
Lesson 25: Evaluating Definite Integrals (Section 10 version)
Matthew Leingang
 

Similar to Functions (20)

Functions
FunctionsFunctions
Functions
 
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptx
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
 
Functions.ppt
Functions.pptFunctions.ppt
Functions.ppt
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
 
Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5Chpt 2-functions-seqs v.5
Chpt 2-functions-seqs v.5
 
03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctions
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- Basics
 
Functions for Grade 10
Functions for Grade 10Functions for Grade 10
Functions for Grade 10
 
Basic Calculus.docx
Basic Calculus.docxBasic Calculus.docx
Basic Calculus.docx
 
05-Functions-A.pdf
05-Functions-A.pdf05-Functions-A.pdf
05-Functions-A.pdf
 
Functions by mstfdemirdag
Functions by mstfdemirdagFunctions by mstfdemirdag
Functions by mstfdemirdag
 
monotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdfmonotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdf
 
Math - Operations on Functions, Kinds of Functions
Math - Operations on Functions, Kinds of FunctionsMath - Operations on Functions, Kinds of Functions
Math - Operations on Functions, Kinds of Functions
 
บทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันบทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชัน
 
บทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชันบทที่ 4 ฟังก์ชัน
บทที่ 4 ฟังก์ชัน
 
Functions
FunctionsFunctions
Functions
 
Notes 3-7
Notes 3-7Notes 3-7
Notes 3-7
 
Chapter 1 (functions).
Chapter 1 (functions).Chapter 1 (functions).
Chapter 1 (functions).
 
Lesson 25: Evaluating Definite Integrals (Section 10 version)
Lesson 25: Evaluating Definite Integrals (Section 10 version)Lesson 25: Evaluating Definite Integrals (Section 10 version)
Lesson 25: Evaluating Definite Integrals (Section 10 version)
 

More from Muhammad Farhan Javed

Mcdonalds presentation 130621085419-phpapp02
Mcdonalds presentation 130621085419-phpapp02Mcdonalds presentation 130621085419-phpapp02
Mcdonalds presentation 130621085419-phpapp02
Muhammad Farhan Javed
 
Unified theory of acceptance and use of technology
Unified theory of acceptance and use of technologyUnified theory of acceptance and use of technology
Unified theory of acceptance and use of technology
Muhammad Farhan Javed
 
JOB ANALYSIS AND HUMAN RESOURCE PLANNING
JOB ANALYSIS AND HUMAN RESOURCE PLANNINGJOB ANALYSIS AND HUMAN RESOURCE PLANNING
JOB ANALYSIS AND HUMAN RESOURCE PLANNINGMuhammad Farhan Javed
 
feasibility report on leather manufacturing unit in ppt
feasibility report on leather manufacturing unit in pptfeasibility report on leather manufacturing unit in ppt
feasibility report on leather manufacturing unit in ppt
Muhammad Farhan Javed
 
Employeee absneteeism m.farhan brm final project report
Employeee absneteeism m.farhan brm final project reportEmployeee absneteeism m.farhan brm final project report
Employeee absneteeism m.farhan brm final project report
Muhammad Farhan Javed
 
Contemparary issues leadership
Contemparary issues leadershipContemparary issues leadership
Contemparary issues leadership
Muhammad Farhan Javed
 
Pricing Strategies
Pricing StrategiesPricing Strategies
Pricing Strategies
Muhammad Farhan Javed
 
Project Construction of 5 star hotel
Project Construction of 5 star hotelProject Construction of 5 star hotel
Project Construction of 5 star hotel
Muhammad Farhan Javed
 
Nbp internship-report-on-national-bank-of-pakistan-2012
Nbp internship-report-on-national-bank-of-pakistan-2012Nbp internship-report-on-national-bank-of-pakistan-2012
Nbp internship-report-on-national-bank-of-pakistan-2012Muhammad Farhan Javed
 
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...Muhammad Farhan Javed
 
Cost Accounting (cost of production report & cost of goods sold) on Honda com...
Cost Accounting (cost of production report & cost of goods sold) on Honda com...Cost Accounting (cost of production report & cost of goods sold) on Honda com...
Cost Accounting (cost of production report & cost of goods sold) on Honda com...Muhammad Farhan Javed
 
CPR cost accountin project on dyl motorcycles ltd
CPR cost accountin project on dyl motorcycles ltdCPR cost accountin project on dyl motorcycles ltd
CPR cost accountin project on dyl motorcycles ltdMuhammad Farhan Javed
 
International Business Activities Of Coca Cola company
International Business Activities Of Coca Cola companyInternational Business Activities Of Coca Cola company
International Business Activities Of Coca Cola company
Muhammad Farhan Javed
 
Pearl continental hotel
Pearl continental hotelPearl continental hotel
Pearl continental hotel
Muhammad Farhan Javed
 

More from Muhammad Farhan Javed (20)

Mcdonalds presentation 130621085419-phpapp02
Mcdonalds presentation 130621085419-phpapp02Mcdonalds presentation 130621085419-phpapp02
Mcdonalds presentation 130621085419-phpapp02
 
Eight principles of tqm
Eight principles of tqmEight principles of tqm
Eight principles of tqm
 
Profit maximization by firms
Profit maximization by firmsProfit maximization by firms
Profit maximization by firms
 
Communication
CommunicationCommunication
Communication
 
Basic banking account
Basic banking accountBasic banking account
Basic banking account
 
Unified theory of acceptance and use of technology
Unified theory of acceptance and use of technologyUnified theory of acceptance and use of technology
Unified theory of acceptance and use of technology
 
JOB ANALYSIS AND HUMAN RESOURCE PLANNING
JOB ANALYSIS AND HUMAN RESOURCE PLANNINGJOB ANALYSIS AND HUMAN RESOURCE PLANNING
JOB ANALYSIS AND HUMAN RESOURCE PLANNING
 
feasibility report on leather manufacturing unit in ppt
feasibility report on leather manufacturing unit in pptfeasibility report on leather manufacturing unit in ppt
feasibility report on leather manufacturing unit in ppt
 
Employeee absneteeism m.farhan brm final project report
Employeee absneteeism m.farhan brm final project reportEmployeee absneteeism m.farhan brm final project report
Employeee absneteeism m.farhan brm final project report
 
Contemparary issues leadership
Contemparary issues leadershipContemparary issues leadership
Contemparary issues leadership
 
Pricing Strategies
Pricing StrategiesPricing Strategies
Pricing Strategies
 
Risk Management
Risk ManagementRisk Management
Risk Management
 
Project Construction of 5 star hotel
Project Construction of 5 star hotelProject Construction of 5 star hotel
Project Construction of 5 star hotel
 
Nbp internship-report-on-national-bank-of-pakistan-2012
Nbp internship-report-on-national-bank-of-pakistan-2012Nbp internship-report-on-national-bank-of-pakistan-2012
Nbp internship-report-on-national-bank-of-pakistan-2012
 
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...
BRAND PLATFORM (marketing management) M.Farhan Javed MBA2nd Federal Urdu Univ...
 
Cost Accounting (cost of production report & cost of goods sold) on Honda com...
Cost Accounting (cost of production report & cost of goods sold) on Honda com...Cost Accounting (cost of production report & cost of goods sold) on Honda com...
Cost Accounting (cost of production report & cost of goods sold) on Honda com...
 
CPR cost accountin project on dyl motorcycles ltd
CPR cost accountin project on dyl motorcycles ltdCPR cost accountin project on dyl motorcycles ltd
CPR cost accountin project on dyl motorcycles ltd
 
International Business Activities Of Coca Cola company
International Business Activities Of Coca Cola companyInternational Business Activities Of Coca Cola company
International Business Activities Of Coca Cola company
 
Pearl continental hotel
Pearl continental hotelPearl continental hotel
Pearl continental hotel
 
Information Technology
Information TechnologyInformation Technology
Information Technology
 

Recently uploaded

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 

Functions

  • 2. 2/20 Topics • Function Definition • Notation • Partial Functions • Special Functions • Composition • Injections, surjections, bijections • Inverses
  • 3. 3/20 • A function is a special kind of binary relation. • A binary relation f ⊆ A × B is a function if for each a ∈ A there is a unique b ∈ B Function Definition 1 2 3 α β γ x y
  • 4. 4/20 NOT Functions 1 2 3 α β γ f = {(1, α), (2, β)} “For each” violated Some x’s do not have corresponding y’s x y
  • 5. 5/20 NOT Functions Uniqueness violated for some x’s x y 1 2 3 α β γ f = {(1, α), (2, β), (3, β), (3, γ)} uniqueness violated for 3  appears twice
  • 6. 6/20 An (n+1)-ary relation f ⊆ A1 × A2 × … × An × B is a function if for each < a1, a2, …, an> ∈ A1 × A2 × … × An there is a unique b ∈ B. Functions with N-Dimensional Domains α β γ <1,1> <1,2> <1,3>
  • 7. 7/20 • We can use various notation for functions: for f = {(1, α),(2, β),(3, β)} Notation for Functions Notation (x, y) ∈ f f : x→y y = f(x) Example (2, β) ∈ f f : 2→β β = f(2) • In the notation, x is the argument or preimage and y is the image. We can also have the image of a set of arguments. • For functions with n-ary domains, use <x0, x1, …, xn> in place of x.
  • 8. 8/20 Function Domain and Range • f : A → B – A is the domain space • same as the domain (since all elements participate) • dom f, dom(f), or domain(f) – B is the range space • may or may not be the same as the range, which is: – {y | ∃x(y=f(x))} – All rhs values in pairs (all that get “hit”) πBf • ran f, ran(f), range(f) • f : D1 × D2 × … × Dn → Z • f : Dn → Z (when all domains are the same)
  • 9. 9/20 Remove the requirement that each a ∈ A must participate. Retain the uniqueness requirement. Partial Functions Partial Function: α β γ f = {(<1,2>, β),(<1,3>, β),(<1,3>, γ)} <1,3> not unique <1,1> <1,2> <1,3> α β γ <1,1> <1,2> <1,3> NOT a Partial Function: α β γ <1,1> <1,2> <1,3> Partial Function: (A Total Function is also a Partial Function.)
  • 10. 10/20 • Identity Function – IA : A → A – IA = {(x, x) | x ∈ A} • Constant Function – C : A → B – C = {(x, c) | x ∈ A ∧ c ∈ B } – Often A and B are the same • C : A → A • C= {(x, c) | x ∈ A ∧ c ∈ A} Special Functions
  • 11. Discussion #29 11/20 Composition of Functions • Composition is written “°” • Range space of f = domain space of g a c 1 2 4 f g b α β 3 f(a) = 2 g(2) = α g(f(a)) = α g°f(a) = α f(b) = 2 g(2) = α g(f(b)) = α g°f(b) = α f(c) = 4 g(4) = β g(f(c)) = β g°f(c) = β
  • 12. Discussion #29 12/20 Injection: “one-to-one” or “1-1” ∀x∀y(f(x) = f(y) ⇒ x = y) – For f : A → B, the elements in B are “hit” at most once Injection a b d 1 2 3 c Injective a b d 1 2 3 c NOT Injective x y x y
  • 13. 13/20 Surjection: “onto” ∀y∃x(y = f(x)) – For f : A → B, the elements in B are all “hit” at least once Surjection 1 2 4 a b c 3 Surjective NOT Surjective x y x y 1 2 4 a b c 3 {not “hit”
  • 14. 14/20 Bijection: “one-to-one and onto” or “1-1 correspondence” ∀x∀y(f(x) = f(y) ⇒ x = y) ∧ ∀y∃x(y = f(x)) – For f : A → B, every B element is “hit” once and only once Bijection 1 2 a b c 3 Bijective NOT Bijective x y x y 1 2 4 a b c 3 NOT Surjective NOT injective
  • 15. 15/20 Notes on Bijection 1. |A| = |B| – An “extra” B cannot be “hit” (not a surjection) – An “extra” A requires that at least one B must be “hit” twice (not an injection) 1. If f is a bijection, swapping the elements of the ordered pairs is a function – Called the inverse – Denoted f-1 – Is also a bijection – f-1 (f(x)) is the identity function, i.e. f-1 (f(x)) = x.
  • 16. 16/20 Notes on Bijection (continued …) 3. The inverse of an injection is a partial function. If f : A →B is an injection, then f-1 is a partial function 4. Restricting the range space of an injective function to the range yields a bijection Remove b a b d 1 2 3 c f a b d 1 2 3 c f-1

Editor's Notes

  1. Can skip
  2. Can skip