Functions (Full Note)
Functions (Full Note)
CAPE UNIT 1
Functions
The set of first elements in the ordered pairs is known as the domain. In this example the
The set of second elements in the ordered pairs is known as the range. In this example the
1
Functions
1 3
2 5
3 7
4 9
𝑌
𝑋
The co-domain of a relation refers to the set of possible output values for the given input
values.
The range refers to the set of actual output values for the given input values.
Figure 1:
4
1
5 The domain is {1, 2, 3}
2
6 The co-domain is {4, 5, 6, 7}
3
7
The range is (4, 5, 7)
𝑋
𝑌
Figure 2:
𝑋 𝑌
2
Functions
A relation is a function if and only if every element of the domain is mapped onto only one
element in the range. i.e. every input value 𝑥 is mapped onto a single output value 𝑦.
One-to-one relation
Many-to-one relation
One-to-many relation
5
1 This type of relation is NOT a
6
2 function.
7
3
8 Note that 3, (one), is mapped
3
Functions
Many-to-many relation
1 3
3 This type of relation is NOT a
5
5 8 function.
6 10
If we are given the ordered pairs or the mapping diagram for a relation, then we can
determine whether or not the relation is a function by classifying it into one of the four types
of relations.
If the relation is illustrated as a graph, then we can perform a vertical line test to determine
4
Functions
Exercise 1:
2. For each of the following, classify which of the four types of relations is reprrsented
c)
d)
5
Functions
e)
f)
3. For each of the following, state the domain, codomain and range:
(c)
6
Functions
(e)
a)
b)
7
Functions
c)
d)
o A mapping diagram
o A graph
o 𝑓(𝑥) = 𝑜𝑟 𝑓: 𝑥 ⟶
1”
8
Functions
𝑏 4𝑎𝑐 − 𝑏 2
ℎ= 𝑎𝑛𝑑 𝑘 =
2𝑎 4𝑎
𝑦 = 𝑥 2 + 2𝑥 + 3
= (𝑥 + 1)2 + 2
Equation of axis of symmetry is 𝑥 = −1 [𝑥 = −ℎ]
Minimum point on curve at 𝑦 = 2 [𝑦 = 𝑘]
9
Functions
this function.
range of 𝑔.
10
Functions
𝑓(𝑥)
𝑔(𝑥)
3𝑥 − 2
ℎ(𝑥) =
𝑥+5
such that 𝑥 ∈ ℝ
a) Evaluate ℎ(−2).
11
Functions
3 − 5𝑥
𝑓(𝑥) = 𝑎𝑛𝑑 𝑥 ∈ ℝ
2𝑥 2 − 𝑥 − 1
calculate
a) 𝑓(2)
Example 8: If
3𝑥 2 + 5𝑥 − 2
𝑓: 𝑥 ⟶
𝑥 2 − 4𝑥 − 5
12
Functions
For example
(𝑥 − 2)3 + 1, 𝑖𝑓 𝑥 ≥ 2
𝑓(𝑥) = { 𝑥 4 − 𝑥 − 5, 𝑖𝑓 0 ≤ 𝑥 < 2}
−2𝑥 2 − 7, 𝑖𝑓 𝑥 < 0
Find:
a) 𝑓(−5)
b) 𝑓(1)
c) 𝑓(2)
d) 𝑓(7)
13
Functions
One-to-one functions are also known as injective functions. Each 𝑥 value is mapped onto a
unique 𝑦 value.
If we are given the graph of a function, then we can use the horizontal line test to determine
Quadratic functions with unrestricted domains can never be injective. However, if we restrict
the domain, then we can make them one-to-one. i.e. we can restrict the domain so that the
14
Functions
Example 10: State the domain for which the function 𝑓(𝑥) = −2𝑥 2 + 3𝑥 + 5 is injective.
Surjective functions are also known as onto functions. A function is surjective if the range is
the same as the co-domain. [If we are not told otherwise, we assume that the co-domain is the
Example 12: Is the function below a surjective function? If not, is it possible to make it
surjective?
15
Functions
A function is bijective if it is both injective and surjective. i.e. if a function is one-to-one and
its co-domain and range are identical, then the function is also said to be bijective.
Exercise 2:
a) 𝑓(𝑥) = 2𝑥 2 + 2𝑥 − 1, 𝑥 ∈ ℝ.
b) 𝑔(𝑥) = 3𝑥 2 − 2𝑥 − 3, 0 ≤ 𝑥 ≤ 2
c) ℎ: 𝑥 ⟶ −2𝑥 2 + 5𝑥 + 1, 𝑥 ≥ 2
d) 𝑘: 𝑥 ⟶ 5𝑥 2 + 𝑥 − 1, 𝑥 ≤ 0
16
Functions
4. Given that
2𝑥 + 3
𝑓(𝑥) = ,𝑥 ∈ ℝ
𝑥2 − 4
determine:
5. For each of the following functions, state whether or not they are
i) Injective
ii) Surjective
iii) Bijective:
(a) (b)
(c)
17
Functions
(d)
(e)
𝑦 = 𝑓(𝑥), 𝑥 ∈ ℝ
If they are not injective, state a domain that would make them injective.
a) 𝑓: 𝑥 ⟶ 3𝑥 2 + 𝑥 − 1, 𝑥 ∈ ℝ
c) ℎ(𝑥) = 2𝑥 2 − 4𝑥 − 5, 𝑥 ≤ 2
d)
18
Functions
(e)
The inverse of a function shows us how each 𝑦 value in the range is mapped back to its
corresponding 𝑥 value in the domain. Many-to-one functions have no inverse unless their
Example 14: Given that 𝑓(𝑥) = 5 − 2𝑥, 𝑥 ∈ ℝ, determine the inverse function 𝑓 −1 (𝑥).
There are certain functions whose inverse is identical to the function itself.
19
Functions
𝑥+3
𝑔(𝑥) = ,𝑥 ≠ 1
𝑥−1
Hence, determine 𝑔−1 (2) and the value of 𝑥 for which 𝑔−1 (𝑥) = 0.
3𝑥 − 7 1
𝑓: 𝑥 ⟶ ,𝑥 ≠ −
2𝑥 + 1 2
If the inverse of the function 𝑓(𝑥) exists, then the graph of 𝑦 = 𝑓 −1 (𝑥) is obtained by
20
Functions
Example 17: Determine a domain over which the function ℎ(𝑥) = 2𝑥 2 − 6𝑥 + 3 is injective.
Draw the graph of 𝑦 = ℎ(𝑥) over this domain and show the relationship with the graph of
21