Unit 5: The Theory of Functions

MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4A What is a Function?
Functions are relations where an independent value correspond with only one dependent value.
In other words “each x can only have 1 y”
How to identify a function from…
A table?
x
y
3
2
1
1
5
-2
3
8
x
3
2
1
0
y
5
-2
3
8
A graph?
Function Notation:
What are other ways to write 𝒚 = 𝟑𝒙 − 𝟐?
1. Consider the functions 𝑓(𝑥) = 𝑥 2 − 3𝑥 and 𝑔(𝑥) = 1 − 2𝑥
a) Show that 𝑓(2) > 𝑔(2)
b) Determine 𝑔(3𝑏)
c) Determine 𝑓(𝑐 + 2) − 𝑔(𝑐 + 2)
Page 1
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4B Domain and Range
Domain
Set of all possible x values
(independent variable)
Range
Set of all possible y values
(dependent variable)
1. Determine the domain and range of each function
a) 𝑓(𝑥) = 2𝑥 − 3
b) 𝑔(𝑥) = −3(𝑥 + 1)2 + 6
c) ℎ(𝑥) = √2 − 𝑥
When working with real numbers, the three most common reasons to restrict the domain are:
 You cannot divide by zero
 You cannot take the square root of a negative number
 You cannot take the logarithm of a negative number or zero
Page 2
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4C Composition of Functions
You get a composite function when you apply one function to the result of another.
𝑓(𝑔(𝑥))
or
𝑓𝑔(𝑥)
or
𝑓 o 𝑔(𝑥)
Example:
Given 𝒇(𝒙) = 𝟑𝒙 + 𝟐 and 𝒈(𝒙) = 𝟐𝒙𝟐 , determine 𝒇 𝐨 𝒈(𝒙)
𝑥
1. Given 𝑓(𝑥) = 𝑥+1 , 𝑥 ≠ −1 and 𝑔(𝑥) = 𝑥 2 , determine
a) 𝑓 o 𝑔(𝑥)
b) 𝑔 o 𝑓(𝑥)
Note:
𝑓 o 𝑔(𝑥) does not necessarily equal to 𝑔 o 𝑓(𝑥)
1
𝑥
2. Given 𝑓(𝑥) = 𝑥 2 − 1 and 𝑔(𝑥) = , 𝑥 ≠ 0, determine 𝑔 o 𝑓(𝑥)
Page 3
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
3. Given 𝑓(𝑥 + 1) = 𝑥 2 + 4𝑥 + 5, find 𝑓(𝑥)
4. Given ℎ(𝑥) = √𝑥 + 2 and 𝑔(𝑥) = 5𝑥 2 + 2
a) determine the domain and range of ℎ(𝑥) and 𝑔(𝑥)
h(x)
g(x)
Domain:
Range:
b) determine the domain of ℎ(𝑔(𝑥))
Page 4
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4D Inverse Functions
Functions transforms an input into an output.
There are situations where we are interested in finding out what input produced a particular output.
When we reverse the actions of a function 𝑓, we define it as inverse function 𝑓 −1 (𝑥)
From a table of values and graphs, the inverse function can be found by exchanging DOMAIN(𝒙) and RANGE(𝒚).
1
2
3
Example:
𝑓 −1 (𝑥)
𝑓(𝑥)
Example:
a
b
c
a
b
c
1
2
3
Draw the inverse function of 𝑓(𝑥)
You need to understand that the graph of 𝑦 = 𝑓 −1 (𝑥) is the reflection of the graph of
𝑦 = 𝑓(𝑥) in the line 𝑦 = 𝑥
From an equation, the inverse function can be found by following:
Step
1.
2.
3.
Example:
Swap position of 𝑥 and 𝑦
Solve for 𝑦 (isolate 𝑦)
Replace y with 𝑓 −1 (𝑥)
Determine the inverse function of 𝑓(𝑥) = 3𝑥 + 5
Page 5
MHF4U7
1. If 𝑓(𝑥) =
Unit 5 – The Theory of Functions (Ch.4)
3𝑥+7
𝑥+1
Mr. Kwok
and 𝑔(𝑥) is the inverse of 𝑓, find the value of 𝑔(2).
2. Consider the functions
a) Find 𝑔−1 (−1)
𝑓: 𝑥 → 2𝑥 + 5 and 𝑔: 𝑥 →
8−𝑥
,
2
b) solve the equation (𝑓 o 𝑔−1 )(𝑥) = 9
3. Consider the functions
𝑓: 𝑥 → 5𝑥 and 𝑔: 𝑥 → √𝑥, solve the equation (𝑔−1 o 𝑓)(𝑥) = 25
Page 6
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4. Given the functions
𝑓: 𝑥 → 2𝑥 and 𝑔: 𝑥 → 4𝑥 − 3,
Show that (𝑓 −1 o 𝑔−1 )(𝑥) = (𝑔 𝑜 𝑓)−1 (𝑥)
Identity Function:
𝑓 −1 (𝑓(𝑥)) = 𝑓(𝑓 −1 (𝑥)) = 𝑥
This means 𝑓 −1 𝑜 𝑓 and 𝑓 𝑜 𝑓 −1 are both equal to the identity function.
The graph of 𝑦 = ℎ(𝑥) is shown.
a) Sketch the graph of 𝑦 = ℎ−1 (𝑥)
and
𝑦 = ℎ 𝑜 ℎ−1 (𝑥)
Page 7
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
5. Find and graph the inverse of the following. State domain and range for each function and its inverse.
2
a) 𝑔(𝑥) = 𝑥 + 2
5
𝑔(𝑥)
𝑔−1 (𝑥)
Domain:
Domain:
Range:
Range:
b) 𝑓(𝑥) = √𝑥 + 1, 𝑥 ≥ 0
𝑓(𝑥)
𝑓 −1 (𝑥)
Domain:
Domain:
6. Find the inverse of ℎ(𝑥) =
1−√𝑥
,𝑥
√𝑥
Range:
Range:
>0
Page 8
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4C Adding and Subtracting Functions
You can add and subtract functions to create a new function.
Example:
𝑓(𝑥) = 2𝑥 + 3
and
𝑔(𝑥) = 𝑥 2
𝐹𝑖𝑛𝑑 (𝑓 + 𝑔)(𝑥).
1. 𝐹𝑖𝑛𝑑 (𝑓 − 𝑔)(𝑥) 𝑖𝑓
𝑓(𝑥) = 5𝑥 + 1 and
𝑔(𝑥) = 3𝑥 − 2
2. 𝐹𝑖𝑛𝑑 (𝑓 + 𝑔)(3) 𝑖𝑓
𝑓(𝑥) = 5𝑥 + 12
and
8
𝑔(𝑥) = 𝑥+1
3. Graph the following onto the grid to the right.
a) 𝑓(𝑥) = 2𝑥 2 + 6𝑥
b) 𝑔(𝑥) = −4𝑥 − 4
c) (𝑓 + 𝑔)(𝑥)
Page 9
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4. Complete the table of values.
x
𝑓(𝑥)
x
𝑔(𝑥)
x
-3
-3
-3
-2
-2
-2
-1
-1
-1
0
0
0
1
1
1
5. Graph
Page 10
MHF4U7
4E
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
Reciprocal Functions
𝒌
A reciprocal function has the form of 𝒇(𝒙) = 𝒙
Graph of a reciprocal function is a __________________.
1
The simplest reciprocal function is 𝑓(𝑥) = 𝑥
x
y
Horizontal Asymptote:
Vertical Asymptote:
𝑘
Why is the reciprocal function (𝑦 = 𝑥 ) a self-inverse function?
Page 11
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
Review of Rational Functions
1. Simplify and state any restrictions on the variables
3𝑛3 −3𝑛2
8𝑛3 −12𝑛2 +4𝑛
Multiplying and Dividing Rational Functions
2. Simplify and state restrictions
a)
6𝑥 2 15𝑥𝑦 3
(
)
5𝑥𝑦 8𝑥𝑦 4
Adding and Subtracting Rational Functions
3. Simplify and state restrictions
3
1
5
a) 8𝑥 2 + 4𝑥 − 6𝑥 3
b)
21𝑝−3𝑝2
16𝑝+4𝑝2
b)
3𝑛
4
+ 𝑛−3
2𝑛+1
÷
14−9𝑝+𝑝2
12+7𝑝+𝑝2
Page 12
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
How to Find Vertical and Horizontal Asymptotes?
Vertical asymptote(s)
To find the vertical asymptote, find the value(s) of x where it will make the function undefined.
Hint:
Set the denominator equal to zero and solve for the unknown.
Example:
𝑓(𝑥) =
𝑥 2 −1
𝑥−3
Vertical Asymptote:
Example:
𝑓(𝑥) =
8
𝑥(𝑥+4)
Vertical Asymptote:
Horizontal Asymptote

If the degree (the largest exponent) of the denominator is bigger than the degree of the numerator…
the horizontal asymptote is the x-axis.
Example:

𝑥 6 −1
𝑥 2 +5𝑥+3
Horizontal Asymptote: 𝑦 = 0
If the degree of the numerator is bigger than the denominator…
there is no horizontal asymptote.
Example:

𝑓(𝑥) =
𝑓(𝑥) =
𝑥 3 +27
𝑥−3
Horizontal Asymptote: 𝑛𝑜𝑛𝑒
If the degrees of the numerator and denominator are the same…
the horizontal asymptote equals the leading coefficient (the coefficient of the largest exponent) of the
numerator divided by the leading coefficient of the denominator.
(HA:
𝑙𝑒𝑎𝑑 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡 𝑜𝑓 𝑛𝑢𝑚𝑒𝑟𝑎𝑡𝑜𝑟
)
𝑙𝑒𝑎𝑑 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡 𝑜𝑓 𝑑𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟
Example:
𝑓(𝑥) =
3𝑥 2 −5𝑥−2
𝑥 2 +6𝑥+9
3
Horizontal Asymptote: 𝑦 = 1
𝑦=3
HINT: Use mnemonic device – BOB0 BOTN EATS DC
Bigger on Bottom Zero
Bigger on Top None
Exponents are the Same
Divide Coefficients
Page 13
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
4H Rational Functions
When sketching rational functions, you need to perform these steps:
1) Vertical Asymptote
set denominator = 0 then solve
Beware of holes
2) Horizontal Asymptote
BOB0 BOTN EATS DC
3) x-intercept
set numerator = 0 then solve
4) y-intercept
set x=0
5) Perform tests on both sides of asymptote
6) Perform tests on ends
1. Sketch 𝑓(𝑥) =
2𝑥+1
𝑥−1
Step 1:
Vertical Asymptote
Step 2:
Horizontal Asymptote
Step 3:
x-intercept
Step 4:
y-intercept
Page 14
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
2. Sketch 𝑓(𝑥) =
Mr. Kwok
𝑥 2 −3𝑥+2
𝑥 2 −1
Step 1:
Vertical Asymptote
Step 2:
Horizontal Asymptote
Step 3:
x-intercept
Step 4:
y-intercept
Page 15
MHF4U7
Unit 5 – The Theory of Functions (Ch.4)
Mr. Kwok
𝑥−10
3. Sketch 𝑓(𝑥) = 2𝑥+5
Step 1:
Vertical Asymptote
Step 2:
Horizontal Asymptote
Step 3:
x-intercept
Step 4:
y-intercept
Page 16