MCR3U Unit 3 Notes - Functions
MCR3U Unit 3 Notes - Functions
UNIT #3 : FUNCTIONS
• A relation is an identified pattern between two variables that may be represented as ordered
pairs, a table of values, a graph and equation.
• A function is a relation in which each value of the independent variable (x-value) corresponds to
exactly one value of the dependent variable (y- value). Each x-value must produce only one y-
value.
Example:
Determine whether the following sets of ordered pairs are functions. Explain your answer.
a) {(1, -2), (2, -4), (3, -6), (4, -8)} b) {(2, -2), (3, -4), (2, -5), (-1, -7)}
→ If a value of x can be found that produces more than one value of y, the equation does not
represent a function.
a) y = -2x + 5 b) y = x2 c) y2 = x
• Vertical Line Test :
When a graph is given, visualize a vertical line moving across the graph.
If every vertical line intersects the relation in ONLY one point, the relation is a function.
The domain of a function is the set of all first coordinates (x-values) of the relation.
The range of a function is the set of all second coordinates (y-values) of the function.
range
domain
Examples :
1. Given the following relations, state the domain and range of each function.
a) y = x−4 b)
y
y 6
6
5
5
4
4
3
3
2
2
1
1
x
x
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−1
−1
−2
−2
−3
−3
−4
−4
−5
−5
−6
−6
2
c) y =− x+4 d) {(1, 2), (3, 4), (4, 6), (7, 10)}
3
y y
6
10
5
8
3
2
6
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7 4
−1
−2 2
−3
x
−4
−6 −4 −2 2 4 6 8
−5
−2
−6
1
e) y= ( x + 2 )2 − 3 f) x2 + y2 = 16
2
y y
6 6
5 5
4 4
3 3
2 2
1
1
x
x
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−1
−1
−2
−2
−3
−3
−4
−4
−5
−5
−6
−6
1
g) y=
x+2
y
4
−4 −3 −2 −1 1 2 3 4 5
−1
−2
−3
−4
2. Given the equations of the following functions, state their domain and range.
a) y = x – 5 b) y = x2 + 7 c) y = -2(x + 4)2 + 3
1
d) 2x – y = 3 e) y = 0.5x2 – 1 f) y =
x −3
g) y= x h) y = x +1 i) y = 2x − 3
1
a) y = 2(x + 1)2 - 2 b) y =
x+4
1.2 FUNCTIONS AND FUNCTION NOTATION
• The notation f(x) is read “f of x” or “f at x”. It means that the expression that follows
contains x as a variable.
• The symbol f(x) represents the dependent variable (y-value). It indicates that the function f is
expressed in terms of the independent variable, x.
For example: f(3) means substitute 3 for every x in the expression and solve for y, or f(3).
ex. Quadratic function : f(x) = x2 – 4x + 7
f(3) = (3)2 – 4(3) + 7
= 9 – 12 + 7
=4
∴ when x = 3, y = 4 or ∴ f(3) = 4
Examples :
x
2. Given the function g(x) = , evaluate each expression.
x+2
1
a) g(4) b) g
4
Functions as Mappings
* Mapping Diagrams
A graphical representation that relates the values in the domain to the values in the range using
directed arrows from domain to range.
In a mapping diagram, a relation is a function if there is exactly one arrow leading from each
element in the domain.
x y
-3 -10
-2 -7
-1 -4
0 -1
1 2
2 5
The ordered pairs that correspond with this mapping diagram are:
{(-3, -10), (-2, -7), (-1, -4), (0, -1), (1, 2), (2, 5)}
Example:
1. Use the mapping diagrams below to write the set of ordered pairs. Determine whether the
following mapping diagram represents a function. EXPLAIN.
a) x y b) x y
0 -5
-1 1 -2
2 0 2 -4
2 4 -5
5 7 3
8 8 10
2. Show each set of data in a mapping diagram. Then state whether each relation is a function.
Justify your answer.
a) {(1, -2), (2, 1), (3, 4), (4, 7), (5, 10)} b) {(5, 5), (3, 5), (1, 5), (-1, 5), (-3, 5), (-5, 5)}
* Mapping Notation
Mapping diagrams are useful for situations in which the relation is given in ordered pairs, they
are however impractical when functions are written in function notation. Mapping notation
sometimes replaces function notation.
For example:
x y
-3 -3
-2 -2
-1 -1
0 0
1 1
2 2
3 3
Properties :
S slope = 1 y-intercept = 0
Do Domain : {x∈ ℜ } Range : {y∈ ℜ }
2) QUADRATIC Function : y = x2
x y
-3 9
-2 4
-1 1
0 0
1 1
2 4
3 9
Properties :
x y
Shape of graph :
Properties :
Vertex :
Domain :
Range :
4) ABSOLUTE VALUE Function : y= x
x y
Shape of graph :
Properties :
Vertex :
Domain :
Range :
1
5) RATIONAL Function : y= ,x ≠ 0
x
x y
Shape of graph :
Properties :
Domain :
Range :
Equation of Asymptotes :
Horizontal Vertical
2.7 THE INVERSE OF A FUNCTION
• The inverse of a function is the rule obtained by reversing, or interchanging, the input numbers
(x-values) with the output numbers (y-values). Therefore it has the property that if f(a) = b,
then f-1 (b) = a
Example : The table below shows a set of ordered pairs belonging to a function f(x). Determine
the table of values for f-1(x).
f(x) f-1(x)
x y x y
-2 -3
-1 -1
0 1
1 3
2 5
1
x
−11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7 8 9 10 11
−1
−2
−3
−4
−5
−6
−7
−8
−9
−10
→ Given the equation.
Using words : Reverse the order of operations being done to the original function.
Algebraically :
1) Switch the x and the y. (Remember that f(x) = y)
2) Solve the equation for y.
3) Replace the y with f-1(x), if the inverse is also a function.
a) f(x) = 3x – 4 6
−7 −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−1
−2
−3
−4
−5
−6
b) f(x) = 2(x + 4)2 – 3 y
−7 −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−1
−2
−3
−4
−5
−6
c) f(x) = -x2 + 4x + 1
−7 −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7
−1
−2
−3
−4
−5
−6
* Since the x and y values are reversed for the inverse function, then the:
1
a) f ( x) =
x−2
1
b) g ( x) = +3
x
c) h( x) = x − 1 + 2
d) f ( x) = 3 x + 4
g ( x ) = ( x + 3) + 8
2
e)
• Sometimes, the inverse of a function is not a function. For example, the inverse of a quadratic
function is a sideways parabola, which is not a function. If we restrict the domain of the
original function so that it is only half a parabola, then the inverse would be half a sideways
parabola, which is a function.
a) Restrict the domain in two ways so that the inverse is also a function.
b) Determine the inverse equation.
c) Make a table of values for one of the restricted functions.
d) Graph the original restricted function, its inverse function, and the line y = x.
e) State the domain and range of the original restricted function and its inverse function.
y
10
1
x
−11 −10 −9 −8 −7 −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7 8 9 10 11
−1
−2
−3
−4
−5
−6
−7
−8
−9
−10