SlideShare a Scribd company logo
Lecture #3
Functions
What is a Function?
• A function relates an input to an output.
• Definition:
– Let S and T be sets. A function f from S to T
is a relation on S and
– T such that
– (1) Every s ∈ S is in the domain of f;
– (2) If (s, t) ∈ f and (s, u) ∈ f then t = u.
• Let S = {1, 2, 3} and T = {a, b, c}.
• Set f = {(1, a), (2, a), (3, b)}
• Let S = {1, 2, 3} and T = {a, b, c, d, e}.
– Set f = {(1, b), (2, a), (3, c), (4, a), (5, b)}
What is not a function
• Vertical Line Test
– Given the graph of a relation, if you can draw a vertical line that
crosses the graph in more than one place, then the relation is not a
function.
Basic Terminology
• Domain
– The domain of a function is the set of all possible input
values (often the "x" variable), which produce a valid
output from a particular function. It is the set of all real
numbers for which a function is mathematically
defined.
• Codomain
– The set of all possible output values of a function.
• Range
– The range is the set of all possible output values
(usually the variable y, or sometimes expressed as f(x)),
which result from using a particular function.
Symbolic Notation
• let f denote a function from A into B. Then we write
– f: A → B
• Which is read:
– “f is a function from A into B,”
– “f takes (or maps) A into B.”
•
Types of Functions
• One-to-One Functions
• Onto Functions
• Inverse Functions
One-to-One Function
• A function f is said to be one-to-
one, or an injunction,
– if and only if f(a) = f(b) implies that a
= b for all a and b in the domain of f.
– A function is said to be injective if it
is one-to-one.
• If different elements in the domain A
have distinct images.
• A function for which every element of
the range of the function corresponds
to exactly one element of the domain.
Onto Function
• A function f: A → B is said to
be an onto function if each
element of B is the image of
some element of A.
• In other words, f: A → B is
onto if the image of f is the
entire codomain, i.e., if f (A)
= B. In such a case we say
that f is a function from A
onto B or that f maps A onto
B.
Invertible Functions
• A function f: A → B is invertible
if its inverse relation f−1 is a
function from B to A. In general,
the inverse relation f−1 may not
be a function. The following
theorem gives simple criteria
which tells us when it is.
Example of Types of Functions
Consider the functions f1: A → B, f2: B → C, f3: C → D and f4: D → E defined by the
diagram.
Now f1 is one-to-one since no element of B is the image of more than one element of A.
Similarly, f2 is one-to-one. However, neither f3 nor f4 is one-to-one since f3(r) = f3(u) and
f4(v) = f4(w)
f2 and f3 are both onto functions since every element of C is the image under f2 of some
element of B and every element of D is the image under f3 of some element of C, f2(B) = C
and f3(C) = D. On the other hand, f1 is not onto since 3 ∈ B is not the image under f4 of any
element of A. and f4 is not onto since x ∈ E is not the image under f4 of any element of D.
Thus f1 is one-to-one but not onto, f3 is onto but not one-to-one and f4 is neither one-to-
A B
a
b
c
d
X
Y
Z
W
V
Injection but not a surjection
A B
a
b
c
d
X
Y
W
V
Injection & a surjection,
hence a bijection
A B
a
b
c
d
X
Y
Z
Surjection but not an injection
MATHEMATICAL FUNCTIONS, EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
• Floor and Ceiling Functions
– Let x be any real number. Then x lies between two integers called the
floor and the ceiling of x. Specifically,
– ⌊x⌋ , called the floor of x, denotes the greatest integer that does not
exceed x.
– ⌈x⌉ , called the ceiling of x, denotes the least integer that is not less
than x.
• If x is itself an integer, then ⌊x⌋ = ⌈x ; otherwise ⌊x⌋ + 1 = ⌈x⌉ .
MATHEMATICAL FUNCTIONS, EXPONENTIAL AND
LOGARITHMIC FUNCTIONS
• For example,
– ⌊3.14⌋ = 3
– ⌊√5⌋ = 2
– ⌊−8.5⌋ = −9
– ⌊7⌋ = 7
– ⌊−4⌋ = −4
– ⌈3.14⌉ = 4
– ⌈√5⌉ = 3
– ⌈−8.5⌉ = −8
– ⌈7⌉ = 7
– ⌈−4⌉ = −4
Integer and Absolute Value Functions
• Let x be any real number. The integer value of x, written INT(x),
converts x into an integer by deleting (truncating) the
fractional part of the number.
– INT(3.14) = 3
– INT(√5) = 2
– INT(−8.5) = −8
– INT(7) = 7
• Observe that INT(x) = ⌊x⌋ or INT(x) = ⌈x⌉ according to whether x
is positive or negative
Integer and Absolute Value Functions
• The absolute value of the real number x, written ABS(x) or |x|, is defined
as the greater of x or −x.
• Hence ABS(0) = 0, and, for x = 0, ABS(x) = x or ABS(x) = −x, depending on
whether x is positive or negative.
• Thus
– | − 15| = 15
– |7| = 7
– | − 3.33| = 3.33
– |4.44| = 4.44
– | − 0.075| = 0.075
• We note that |x| = | − x| and, for x≠0, |x| is positive.

More Related Content

What's hot

7 functions
7   functions7   functions
7 functions
KathManarang
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
Burhanuddin Shabbir
 
Inverse function
Inverse functionInverse function
Inverse function
Mehedi Hasan Raju
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbers
itutor
 
Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curve
alexbeja
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
Sadia Zareen
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
Matthew Leingang
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian products
Jan Plaza
 
Function in Mathematics
Function in MathematicsFunction in Mathematics
Function in Mathematics
ghhgj jhgh
 
Odd and even functions
Odd and even functionsOdd and even functions
Odd and even functions
Debra Wallace
 
Lesson 3 - matrix multiplication
Lesson 3 - matrix multiplicationLesson 3 - matrix multiplication
Lesson 3 - matrix multiplication
Jonathan Templin
 
Locus
LocusLocus
3.2 Domain and Range
3.2 Domain and Range3.2 Domain and Range
3.2 Domain and Range
smiller5
 
Metric space
Metric spaceMetric space
Metric space
NaliniSPatil
 
Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)
Matthew Leingang
 
Limit of functions
Limit of functionsLimit of functions
Limit of functions
Juan Apolinario Reyes
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
JelaiAujero
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
Anshul gour
 
Random Variable
Random VariableRandom Variable
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
coolhanddav
 

What's hot (20)

7 functions
7   functions7   functions
7 functions
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
 
Inverse function
Inverse functionInverse function
Inverse function
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbers
 
Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curve
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian products
 
Function in Mathematics
Function in MathematicsFunction in Mathematics
Function in Mathematics
 
Odd and even functions
Odd and even functionsOdd and even functions
Odd and even functions
 
Lesson 3 - matrix multiplication
Lesson 3 - matrix multiplicationLesson 3 - matrix multiplication
Lesson 3 - matrix multiplication
 
Locus
LocusLocus
Locus
 
3.2 Domain and Range
3.2 Domain and Range3.2 Domain and Range
3.2 Domain and Range
 
Metric space
Metric spaceMetric space
Metric space
 
Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)
 
Limit of functions
Limit of functionsLimit of functions
Limit of functions
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
Random Variable
Random VariableRandom Variable
Random Variable
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 

Similar to Functions

functions-1.pdf
functions-1.pdffunctions-1.pdf
functions-1.pdf
KevalVala4
 
functions
 functions  functions
functions
Gaditek
 
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLESTYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
MohanSonawane
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
Sujata Tapare
 
Task3
Task3Task3
Functions
FunctionsFunctions
The concept of functions.pptx
The concept of functions.pptxThe concept of functions.pptx
The concept of functions.pptx
MTiti1
 
Functions.pptx
Functions.pptxFunctions.pptx
Functions.pptx
MUHAMMADANASSAEED1
 
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptx
jaffarbikat
 
Introductory calculus
Introductory calculusIntroductory calculus
Introductory calculus
FRANCISYEBOAH11
 
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
 
Functions
FunctionsFunctions
Functions
Elka Veselinova
 
Functionsandpigeonholeprinciple
FunctionsandpigeonholeprincipleFunctionsandpigeonholeprinciple
Functionsandpigeonholeprinciple
Shiwani Gupta
 
Functions
Functions Functions
Functions
JhansiRani791989
 
Calculus ch 0.1_-functions
Calculus ch 0.1_-functionsCalculus ch 0.1_-functions
Calculus ch 0.1_-functions
Abdirahman Farah Ali
 
lec 3Functions.pptx
lec 3Functions.pptxlec 3Functions.pptx
lec 3Functions.pptx
AroobNisar
 
Inverse function
Inverse function Inverse function
Inverse function
RidhimaPangtey
 
Function of DM
Function of DM Function of DM
Function of DM
Rokonuzzaman Rony
 
Domain-and-Range-of-a-Function
Domain-and-Range-of-a-FunctionDomain-and-Range-of-a-Function
Domain-and-Range-of-a-Function
EmeraldAcaba
 
Functions
FunctionsFunctions
Functions
Bhagwan Das
 

Similar to Functions (20)

functions-1.pdf
functions-1.pdffunctions-1.pdf
functions-1.pdf
 
functions
 functions  functions
functions
 
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLESTYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
TYPES OF FUNCTION FOR JEE PREPARATION WITH EXAMPLES
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
 
Task3
Task3Task3
Task3
 
Functions
FunctionsFunctions
Functions
 
The concept of functions.pptx
The concept of functions.pptxThe concept of functions.pptx
The concept of functions.pptx
 
Functions.pptx
Functions.pptxFunctions.pptx
Functions.pptx
 
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptx
 
Introductory calculus
Introductory calculusIntroductory calculus
Introductory calculus
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
 
Functions
FunctionsFunctions
Functions
 
Functionsandpigeonholeprinciple
FunctionsandpigeonholeprincipleFunctionsandpigeonholeprinciple
Functionsandpigeonholeprinciple
 
Functions
Functions Functions
Functions
 
Calculus ch 0.1_-functions
Calculus ch 0.1_-functionsCalculus ch 0.1_-functions
Calculus ch 0.1_-functions
 
lec 3Functions.pptx
lec 3Functions.pptxlec 3Functions.pptx
lec 3Functions.pptx
 
Inverse function
Inverse function Inverse function
Inverse function
 
Function of DM
Function of DM Function of DM
Function of DM
 
Domain-and-Range-of-a-Function
Domain-and-Range-of-a-FunctionDomain-and-Range-of-a-Function
Domain-and-Range-of-a-Function
 
Functions
FunctionsFunctions
Functions
 

More from Gaditek

Digital marketing strategy and planning | About Business
Digital marketing strategy and planning | About BusinessDigital marketing strategy and planning | About Business
Digital marketing strategy and planning | About Business
Gaditek
 
Intro to social network analysis | What is Network Analysis? | History of (So...
Intro to social network analysis | What is Network Analysis? | History of (So...Intro to social network analysis | What is Network Analysis? | History of (So...
Intro to social network analysis | What is Network Analysis? | History of (So...
Gaditek
 
Marketing ethics and social responsibility | Criticisms of Marketing
Marketing ethics and social responsibility | Criticisms of MarketingMarketing ethics and social responsibility | Criticisms of Marketing
Marketing ethics and social responsibility | Criticisms of Marketing
Gaditek
 
understanding and capturing customer value | What Is a Price?
understanding and capturing customer value | What Is a Price?understanding and capturing customer value | What Is a Price?
understanding and capturing customer value | What Is a Price?
Gaditek
 
The marketing environment | Suppliers | Marketing intermediaries
The marketing environment | Suppliers | Marketing intermediariesThe marketing environment | Suppliers | Marketing intermediaries
The marketing environment | Suppliers | Marketing intermediaries
Gaditek
 
strategic planning | Customer Relationships | Partnering to Build
strategic planning | Customer Relationships | Partnering to Build strategic planning | Customer Relationships | Partnering to Build
strategic planning | Customer Relationships | Partnering to Build
Gaditek
 
Digital marketing | what is marketing?
Digital marketing | what is marketing?Digital marketing | what is marketing?
Digital marketing | what is marketing?
Gaditek
 
Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...
Gaditek
 
Dealing with exceptions Computer Architecture part 2
Dealing with exceptions Computer Architecture part 2Dealing with exceptions Computer Architecture part 2
Dealing with exceptions Computer Architecture part 2
Gaditek
 
Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1
Gaditek
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
Gaditek
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
Gaditek
 
differential equation Lecture#14
differential equation  Lecture#14differential equation  Lecture#14
differential equation Lecture#14
Gaditek
 
differential equation Lecture#12
differential equation Lecture#12differential equation Lecture#12
differential equation Lecture#12
Gaditek
 
differential equation Lecture#11
differential equation Lecture#11differential equation Lecture#11
differential equation Lecture#11
Gaditek
 
differential equation Lecture#13
differential equation Lecture#13differential equation Lecture#13
differential equation Lecture#13
Gaditek
 
differential equation Lecture#10
differential equation Lecture#10differential equation Lecture#10
differential equation Lecture#10
Gaditek
 
differential equation Lecture#9
differential equation  Lecture#9differential equation  Lecture#9
differential equation Lecture#9
Gaditek
 
differential equation Lecture#8
differential equation Lecture#8differential equation Lecture#8
differential equation Lecture#8
Gaditek
 
differential equation Lecture#7
differential equation Lecture#7differential equation Lecture#7
differential equation Lecture#7
Gaditek
 

More from Gaditek (20)

Digital marketing strategy and planning | About Business
Digital marketing strategy and planning | About BusinessDigital marketing strategy and planning | About Business
Digital marketing strategy and planning | About Business
 
Intro to social network analysis | What is Network Analysis? | History of (So...
Intro to social network analysis | What is Network Analysis? | History of (So...Intro to social network analysis | What is Network Analysis? | History of (So...
Intro to social network analysis | What is Network Analysis? | History of (So...
 
Marketing ethics and social responsibility | Criticisms of Marketing
Marketing ethics and social responsibility | Criticisms of MarketingMarketing ethics and social responsibility | Criticisms of Marketing
Marketing ethics and social responsibility | Criticisms of Marketing
 
understanding and capturing customer value | What Is a Price?
understanding and capturing customer value | What Is a Price?understanding and capturing customer value | What Is a Price?
understanding and capturing customer value | What Is a Price?
 
The marketing environment | Suppliers | Marketing intermediaries
The marketing environment | Suppliers | Marketing intermediariesThe marketing environment | Suppliers | Marketing intermediaries
The marketing environment | Suppliers | Marketing intermediaries
 
strategic planning | Customer Relationships | Partnering to Build
strategic planning | Customer Relationships | Partnering to Build strategic planning | Customer Relationships | Partnering to Build
strategic planning | Customer Relationships | Partnering to Build
 
Digital marketing | what is marketing?
Digital marketing | what is marketing?Digital marketing | what is marketing?
Digital marketing | what is marketing?
 
Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...
 
Dealing with exceptions Computer Architecture part 2
Dealing with exceptions Computer Architecture part 2Dealing with exceptions Computer Architecture part 2
Dealing with exceptions Computer Architecture part 2
 
Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1Dealing with Exceptions Computer Architecture part 1
Dealing with Exceptions Computer Architecture part 1
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
differential equation Lecture#14
differential equation  Lecture#14differential equation  Lecture#14
differential equation Lecture#14
 
differential equation Lecture#12
differential equation Lecture#12differential equation Lecture#12
differential equation Lecture#12
 
differential equation Lecture#11
differential equation Lecture#11differential equation Lecture#11
differential equation Lecture#11
 
differential equation Lecture#13
differential equation Lecture#13differential equation Lecture#13
differential equation Lecture#13
 
differential equation Lecture#10
differential equation Lecture#10differential equation Lecture#10
differential equation Lecture#10
 
differential equation Lecture#9
differential equation  Lecture#9differential equation  Lecture#9
differential equation Lecture#9
 
differential equation Lecture#8
differential equation Lecture#8differential equation Lecture#8
differential equation Lecture#8
 
differential equation Lecture#7
differential equation Lecture#7differential equation Lecture#7
differential equation Lecture#7
 

Recently uploaded

Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 

Functions

  • 2. What is a Function? • A function relates an input to an output. • Definition: – Let S and T be sets. A function f from S to T is a relation on S and – T such that – (1) Every s ∈ S is in the domain of f; – (2) If (s, t) ∈ f and (s, u) ∈ f then t = u. • Let S = {1, 2, 3} and T = {a, b, c}. • Set f = {(1, a), (2, a), (3, b)} • Let S = {1, 2, 3} and T = {a, b, c, d, e}. – Set f = {(1, b), (2, a), (3, c), (4, a), (5, b)}
  • 3.
  • 4. What is not a function • Vertical Line Test – Given the graph of a relation, if you can draw a vertical line that crosses the graph in more than one place, then the relation is not a function.
  • 5. Basic Terminology • Domain – The domain of a function is the set of all possible input values (often the "x" variable), which produce a valid output from a particular function. It is the set of all real numbers for which a function is mathematically defined. • Codomain – The set of all possible output values of a function. • Range – The range is the set of all possible output values (usually the variable y, or sometimes expressed as f(x)), which result from using a particular function.
  • 6. Symbolic Notation • let f denote a function from A into B. Then we write – f: A → B • Which is read: – “f is a function from A into B,” – “f takes (or maps) A into B.” •
  • 7. Types of Functions • One-to-One Functions • Onto Functions • Inverse Functions
  • 8. One-to-One Function • A function f is said to be one-to- one, or an injunction, – if and only if f(a) = f(b) implies that a = b for all a and b in the domain of f. – A function is said to be injective if it is one-to-one. • If different elements in the domain A have distinct images. • A function for which every element of the range of the function corresponds to exactly one element of the domain.
  • 9. Onto Function • A function f: A → B is said to be an onto function if each element of B is the image of some element of A. • In other words, f: A → B is onto if the image of f is the entire codomain, i.e., if f (A) = B. In such a case we say that f is a function from A onto B or that f maps A onto B.
  • 10. Invertible Functions • A function f: A → B is invertible if its inverse relation f−1 is a function from B to A. In general, the inverse relation f−1 may not be a function. The following theorem gives simple criteria which tells us when it is.
  • 11. Example of Types of Functions Consider the functions f1: A → B, f2: B → C, f3: C → D and f4: D → E defined by the diagram. Now f1 is one-to-one since no element of B is the image of more than one element of A. Similarly, f2 is one-to-one. However, neither f3 nor f4 is one-to-one since f3(r) = f3(u) and f4(v) = f4(w) f2 and f3 are both onto functions since every element of C is the image under f2 of some element of B and every element of D is the image under f3 of some element of C, f2(B) = C and f3(C) = D. On the other hand, f1 is not onto since 3 ∈ B is not the image under f4 of any element of A. and f4 is not onto since x ∈ E is not the image under f4 of any element of D. Thus f1 is one-to-one but not onto, f3 is onto but not one-to-one and f4 is neither one-to-
  • 12.
  • 13. A B a b c d X Y Z W V Injection but not a surjection A B a b c d X Y W V Injection & a surjection, hence a bijection A B a b c d X Y Z Surjection but not an injection
  • 14. MATHEMATICAL FUNCTIONS, EXPONENTIAL AND LOGARITHMIC FUNCTIONS • Floor and Ceiling Functions – Let x be any real number. Then x lies between two integers called the floor and the ceiling of x. Specifically, – ⌊x⌋ , called the floor of x, denotes the greatest integer that does not exceed x. – ⌈x⌉ , called the ceiling of x, denotes the least integer that is not less than x. • If x is itself an integer, then ⌊x⌋ = ⌈x ; otherwise ⌊x⌋ + 1 = ⌈x⌉ .
  • 15. MATHEMATICAL FUNCTIONS, EXPONENTIAL AND LOGARITHMIC FUNCTIONS • For example, – ⌊3.14⌋ = 3 – ⌊√5⌋ = 2 – ⌊−8.5⌋ = −9 – ⌊7⌋ = 7 – ⌊−4⌋ = −4 – ⌈3.14⌉ = 4 – ⌈√5⌉ = 3 – ⌈−8.5⌉ = −8 – ⌈7⌉ = 7 – ⌈−4⌉ = −4
  • 16. Integer and Absolute Value Functions • Let x be any real number. The integer value of x, written INT(x), converts x into an integer by deleting (truncating) the fractional part of the number. – INT(3.14) = 3 – INT(√5) = 2 – INT(−8.5) = −8 – INT(7) = 7 • Observe that INT(x) = ⌊x⌋ or INT(x) = ⌈x⌉ according to whether x is positive or negative
  • 17. Integer and Absolute Value Functions • The absolute value of the real number x, written ABS(x) or |x|, is defined as the greater of x or −x. • Hence ABS(0) = 0, and, for x = 0, ABS(x) = x or ABS(x) = −x, depending on whether x is positive or negative. • Thus – | − 15| = 15 – |7| = 7 – | − 3.33| = 3.33 – |4.44| = 4.44 – | − 0.075| = 0.075 • We note that |x| = | − x| and, for x≠0, |x| is positive.