Functions and Graph Part 2
Functions and Graph Part 2
𝑦 = 𝑓(𝑥)
Value of the function
Name of the function
Functional Notation
𝑦=𝑥 𝑓(𝑥) = 𝑥
1 1
𝑦= 𝑓(𝑥) =
2𝑥 2𝑥
𝑦 = 𝑥+1 𝑓(𝑥) = 𝑥 + 1
Functional Notation
•Consider the function
2
𝑦 = 2𝑥 + 5𝑥 − 3, rewrite it
using functional notation, then
find 𝑓(0).
1
•Find 𝑓
2
The argument may also take form of a
mathematical expression.
Find
𝑓 𝑥+1
𝑓(2 − 𝑥)
Problem:
2
•Suppose 𝑔 𝑥 = 3𝑥 − 4. Find the
following:
•𝑔 −1
2
•𝑔(𝑥 )
2
•𝑔(3𝑥 − 4)
•𝑔 𝑥 − 𝑔(𝑠)
Operations of Functions
Sum and Difference of Two Functions
𝑓+𝑔 𝑥 =𝑓 𝑥 +𝑔 𝑥
𝑓−𝑔 𝑥 =𝑓 𝑥 −𝑔 𝑥
Product of two Functions
𝑓 ∙ 𝑔 𝑥 = 𝑓(𝑥) ∙ 𝑔(𝑥)
Quotient of Two Functions
𝑓 𝑓(𝑥)
𝑥 = 𝑤ℎ𝑒𝑟𝑒 𝑔(𝑥) ≠ 0
𝑔 𝑔(𝑥)
Composite Function
𝑓 ∘ 𝑔 𝑥 = 𝑓[𝑔 𝑥 ]
Examples:
2
Consider 𝑓 𝑥 = 𝑥 − 4 and 𝑔 𝑥 = 𝑥 + 2. Find
the following:
1. 𝑓+𝑔 𝑥
2. 𝑓−𝑔 𝑥
3. 𝑓∙𝑔 𝑥
𝑓
4. 𝑔
𝑥
5. 𝑓∘𝑔 𝑥
Graph of a Function
The graph or locus of a function is
the set of all points (𝑥, 𝑦) in the
geometric plane such that (𝑥, 𝑦) is
an ordered pair under 𝑓.
• Point-by-point graphing method
Draw the Graph of 𝑓(𝑥) = 3.
x -3 -2 -1 0 1 2 3
y 3 3 3 3 3 3 3
Types of Functions
and Their Graphs
Constant Function, 𝒇 𝒙 = 𝒄
•Any argument x yields the same
function value.
•The graph 𝑓(𝑥) = 𝑐 is a horizontal
line which is 𝑐 units above (below)
x-axis if 𝑐 > 0 (𝑐 < 0 respectively)
Constant Function, 𝒇 𝒙 = 𝒄
𝑓(𝑥) = 3
Linear Function, 𝒇 𝒙 = 𝒎𝒙 + 𝒃
•Its graph is a straight line
intersecting the y-axis at b and with
slope m.
•A constant function is a special type
of linear function where 𝑚 = 0.
𝑓 𝑥 = 3𝑥 − 2
x -2 -1 0 1 2
y -8 -5 -2 1 4
𝟐
Quadratic Function, 𝒇 𝒙 = 𝒂𝒙 + 𝒃𝒙 + 𝒄, 𝒂 ≠ 𝟎
•Using completing the squares, the
quadratic function can be transformed t
the form
𝑓 𝑥 = 𝑎(𝑥 − ℎ) + 𝑘2
3
𝑓 𝑥 = 𝑥 2
𝑥
Exponential Functions, 𝑓 𝑥 = 𝑎 , 𝑤ℎ𝑒𝑟𝑒 𝑎 ≠ 0
A function in the form
𝑥
𝑓 𝑥 = 𝑎 where
𝑎 ≠ 0 and is defines
for every 𝑥 ∈ ℝ and its
+
range is ℝ .
𝑥
𝑓 𝑥 =4
𝑥
Exponential Functions, 𝑓 𝑥 = 𝑎 , 𝑤ℎ𝑒𝑟𝑒 𝑎 ≠ 0
A function in the form
𝑥
𝑓 𝑥 = 𝑎 where
𝑎 ≠ 0 and is defines
for every 𝑥 ∈ ℝ and its
+
range is ℝ .
𝑥
𝑓 𝑥 =4
𝑥
Exponential Functions, 𝑓 𝑥 = 𝑎 , 𝑤ℎ𝑒𝑟𝑒 𝑎 ≠ 0
A function in the form
𝑥
𝑓 𝑥 = 𝑎 where
𝑎 ≠ 0 and is defines
for every 𝑥 ∈ ℝ and its
+
range is ℝ .
𝑥
𝑓 𝑥 = −4
Logarithmic Functions, 𝑓 𝑥 = log 𝑎 𝑥 , 𝑎 ≠ 1
𝑓 𝑥 = log 2 𝑥
Logarithmic Functions, 𝑓 𝑥 = log 𝑎 𝑥 , 𝑎 ≠ 1
Remarks:
1. log 𝑎 𝑥 = log 𝑥 when base 𝑎 = 10
2. The natural logarithm is a
logarithmic function with base 𝑒 ≈
2.7183 … and is denoted ln 𝑥.
3. 𝑦 = log 𝑎 𝑥 if and only if 𝑎 𝑦 = 𝑥
4
𝑓 𝑥 = − log 𝑥
Natural Logarithm and Natural Exponential
Functions
𝑥
𝑦 = ln 𝑥 𝑦=𝑒
𝐷 = ℝ+ 𝐷 = {ℝ}
𝐷= 𝑥𝑥>0
𝐷 = (0, ∞)
𝑅 = ℝ+
𝑅 = {ℝ} 𝑅= 𝑦𝑦>0
𝑅 = (0, ∞)
Trigonometric Functions
Trigonometric Function Domain
𝑓 𝑥 = sin 𝑥 Defined for every 𝑥 ∈ ℝ
𝑓 𝑥 = cos 𝑥 Defined for every 𝑥 ∈ ℝ
𝜋
𝑓 𝑥 = tan 𝑥 Defined for every 𝑥 ∈ ℝ except 𝑥 = + 𝜋𝑛,
2
where 𝑛 is an integer
𝑓 𝑥 = csc 𝑥 Defined for every 𝑥 ∈ ℝ except 𝑥 = 𝜋𝑛,
where 𝑛 is an integer
𝜋
𝑓 𝑥 = sec 𝑥 Defined for every 𝑥 ∈ ℝ except 𝑥 = + 𝜋𝑛,
2
where 𝑛 is an integer
𝑓 𝑥 = cot 𝑥 Defined for every 𝑥 ∈ ℝ except 𝑥 = 𝜋𝑛,
where 𝑛 is an integer
𝑓 𝑥 = 3 sin 4𝑥
Hyperbolic Function
Trigonometric Function Domain
1 𝑥 Defined for every 𝑥 ∈ ℝ
𝑓 𝑥 = sinh 𝑥 = 𝑒 − 𝑒 −𝑥
2
1 𝑥 Defined for every 𝑥 ∈ ℝ
𝑓 𝑥 = cosh 𝑥 = 𝑒 + 𝑒 −𝑥
2
𝑒 𝑥 − 𝑒 −𝑥 Defined for every 𝑥 ∈ ℝ
𝑓 𝑥 = tanh 𝑥 = 𝑥
𝑒 + 𝑒 −𝑥
𝑒 𝑥 + 𝑒 −𝑥 Defined for every 𝑥 ∈ ℝ except 0
𝑓 𝑥 = coth 𝑥 = 𝑥
𝑒 − 𝑒 −𝑥
2 Defined for every 𝑥 ∈ ℝ
𝑓 𝑥 = sech 𝑥 = 𝑥
𝑒 + 𝑒 −𝑥
2 Defined for every 𝑥 ∈ ℝ except 0
𝑓 𝑥 = csch 𝑥 = 𝑥
𝑒 − 𝑒 −𝑥
𝑓 𝑥 = −2 tanh 3𝑥
Other Types of Functions
•Absolute Value Function
•Piecewise Function
•Step Function
•Greatest Integer Function
Absolute Value Function
−𝑥, 𝑥<0 • This function can also be defined
𝑓 𝑥 = 𝑥 =ቊ as 𝑓 𝑥 = 𝑥 − 𝑎 + 𝑏, where 𝑎
𝑥, 𝑥≥0
and 𝑏 are constants. Its graph
look like a letter V with (𝑎, 𝑏) as
the vertex.
• If it is of the form 𝑓 𝑥 =
𝑥 − 𝑎 + 𝑏 then its graph looks
like an inverted V.
𝑓 𝑥 = 𝑥−3 +2
𝑓 𝑥 =− 𝑥−3 +2
Piecewise Function
• Is a defined function by more
than one equation on a
sequence of intervals. It is a
function composed of functions
on ‘pieces’ (intervals of the real
line, the reason why it is named
so.
5, 𝑥 < −2
𝑓 𝑥 =ቐ 𝑥2, −2 ≤ 𝑥 < 2
−𝑥 + 7, 2≤𝑥
Step Function
• A special type of piecewise
function is the so-called step
function. Its Graph is a series of
line segments which looks like
steps. −1, 𝑥<0
sgn 𝑥 = ቐ 0, 𝑥=0
1, 𝑥>0
−1, 𝑥<0
sgn 𝑥 = ቐ 0, 𝑥=0
1, 0<𝑥
Step Function
• A special type of piecewise
function is the so-called step
function. Its Graph is a series of
line segments which looks like
steps.
0, 𝑥<0
𝑓 𝑥 =ቊ
1, 𝑥≥0
0, 𝑥<0
𝑓 𝑥 =ቊ
1, 0≤𝑥
Greatest Integer Function
• The greatest integer
function of a number 𝑥,
is an integer between the
interval [𝑥 − 1, 𝑥).
• It is sometimes called the
floor of 𝑥, If 𝑥 is an
integer, then 𝑥 = 𝑥.
Greatest Integer Function
𝑓 𝑥 =
𝑓𝑙𝑜𝑜𝑟 𝑥 =
⋮
−1, −1 ≤ 𝑥 < 0
𝑥 = 0, 0≤𝑥<1
1, 1≤𝑥<2
⋮
𝐷 = {𝑥|𝑥 ∈ ℝ}
𝑅 = {𝑦|𝑦 ∈ ℤ}