Functions and Types of Functions
Functions and Types of Functions
Functions
What Are Functions in
Mathematics?
• A function is a relation between a set of inputs and a set
of permissible outputs with the property that each input
is related to exactly one output.
What Are Functions in
Mathematics?
• Let A & B be any two non-empty sets; mapping from A
to B will be a function only when every element in set A
has one end and only one image in set B.
What Are Functions in
Mathematics?
• Another definition of functions is that it is a relation “f”
in which each element of set “A” is mapped with only
one element belonging to set “B”. Also, in a function,
there can’t be two pairs with the same first element.
Condition for a Function
Set A and Set B are non-empty.
Set A Domain (input values)
Set B: Co-domain (possible output values
Condition for a Function
Definition of a Function:
For every element "a" in Set A, there is a unique element
as a result: 𝑓(𝑥)=𝑦
Example: If you put "x" into the function, it gives you "y"
Condition for a Function
Function: 𝑓(𝑥)=2𝑥
Example:
Function: 𝑓(𝑥)=𝑥^2
Example:
At t = 0:
g(0) = 6(0)2 + 5 = 5
At t = 2:
g(2) = 6(2)2 + 5 = 29
Steps for Solving Functions
Example 2: Find the output of the function 𝑓(𝑥)=3𝑥+7
• 𝑥=1
at
• 𝑥=−3
Steps for Solving Functions
At 𝑥=1:
𝑓(1)=3(1)+7=3+7=10
At 𝑥=−3:
𝑓(−3)=3(−3)+7=−9+7=−2
Steps for Solving Functions
Example 3: Find the output of the function 𝑘(𝑥)= x3
−5𝑥+2 at
• 𝑥=2
• 𝑥=−1
Steps for Solving Functions
At 𝑥=2:
At 𝑥=−1:
k(2)=(2) 3 −5(2)+2=8−10+2=0
k(−1)=(−1) 3 −5(−1)+2=−1+5+2=6
Types of Functions
• One-one Function (Injective • Algebraic Functions
Function) • Cubic Function
• Many-one Function • Modulus Function
• Onto Function (Surjective • Signum Function
Function)
• Greatest Integer Function
• Into Function
• Fractional Part Function
• Polynomial Function
• Even and Odd Function
• Linear Function
• Periodic Function
• Identical Function
• Composite Function
• Quadratic Function
• Constant Function
• Rational Function
• Identity Function
Types of
Functions
One-one Function (Injective
Function)
• If each element in the domain of a function has a
distinct image in the co-domain, the function is said to
be a one-one function.
One-one Function (Injective
Function)
Example: f(x)=2x+3 is a one-to-one (injective) function.
Many-one function
• On the other hand, if there are at least two elements in
the domain whose images are the same, the function is
known as many to one.
Many-one function
Example: Show that the function 𝑓(𝑥)=𝑥2 is a many-
to-one function.
For 𝑥=2x=2:
Try two different inputs.
𝑓(2)=(2) 2 =4
For 𝑥=−2 2 =−2:
𝑓(−2)=(−2) 2 =4
Onto Function (Surjective Function)
• An onto function (or surjective function) is one where
every element in the co-domain (the set of possible
outputs) has at least one pre-image (an input) in the
domain.
• In simpler terms, every output is "hit" by the function,
meaning there’s no element left out in the co-domain.
Into Function
• An into function is a type of function where not every
element in the co-domain is an image of some element
in the domain.
• In other words, there are elements in the co-domain
that are left out and do not have any corresponding
input from the domain.
Into Function
Example: consider the function 𝑓(𝑥)=∣𝑥∣, which is the
absolute value function, with domain 𝐴=[−1,1] and co-
domain 𝐵=[−1,1].
For 𝑥=1:
Steps to check the nature of the function:
𝑓(1)=∣1∣=1
For 𝑥=−1:
𝑓(−1)=∣−1∣=1
Polynomial function
A mathematical expression with constants, variables, and
exponents.
General form:
𝑓(𝑥)=2𝑥+3.
Linear Function: If the degree is one. For example,
+2
COMPOSITE FUNCTION
It is a combination of two or more functions in which the
output of any of the given functions is used as input of
the other functions.
COMPOSITE FUNCTION
Evaluating Composite Functions
If = , then find,
A. -
COMPOSITE FUNCTION
Evaluating Composite Functions
If f (x) = 2x and g(x) = x+1, then find (f∘g)(x) if x =
1.
COMPOSITE FUNCTION
Evaluating Composite Functions
If f (x) = 2x and g(x) = x+1, then find (f∘g)(x) if x =
1.
COMPOSITE FUNCTION
Evaluating Composite Functions
If f(x) = 2x +1 and g(x) = -x2, then find (g∘f)(x) for
x = 2.
COMPOSITE FUNCTION
If there are three functions, such as f(x) = x, g(x) =
2x and h(x) = 3x. Then find the composition of
these functions such as [f ∘ (g ∘ h)] (x) for x = -1
Inverse Functions
Function that serves to “undo” another function. That is,
if f(x) produces y, then putting y into the inverse
of f produces the output x. A function f that has an
inverse is called invertible and the inverse is denoted by
Guideline for Computing Inverses.
• Write down y=f(x).
• Solve for x in terms of y.
• Switch the x's and y's.
• The result is y= (x).
Finding Inverse Functions
Example:
Find the inverse of the function
(x-3)Q(x)
x-3=0
x=3 vertical asymptote
Example 1:
Solution:
For the vertical asymptote, equate Q(x)=0.
Since the degree of the numerator is t he same as the
degree of the denominator, the horizontal asymptote is
ratio of the leading coefficient of P(x) to Q(x).
Example 2:
Determine the asymptotes parallel to the x- and y-axes
for the function: