Functions
Functions
Cambridge O Level
Chapter 1
Functions
Mapping
A mapping is a relationship between the members of two sets: a set of objects (or input values) and
a set of images (or output values).
The diagram shows that for one input value there is just one output value. It is called a one-one
mapping.
1
eX ponent
Page
Many-one
Every object has a unique image but at least one image corresponds to more than one object.
eX ponent
Page
For multiple input values that can lead to multiple output values
3
eX ponent
Page
3.
2
x ⟼ x +5 x ∈ R
4.
3
x⟼ x x ∈R
x
x⟼2 x∈ R
5.
1
x ⟼ x ∈ R , x >0
6.
x
2
x ⟼ x +1 x ∈ R , x ≥ 0
7.
12
x⟼ x ∈ R , x >0
8.
x
x⟼± x x ∈R, x≥0
eX ponent
Page
Several ways of writing down the definition of a function have been used.
These are all equivalent:
(i) f : x ⟼ 2 x +5 ; x ∈ R ( f : x ⟼ 2 x +5 is read as 'function f is such that x is mapped to2x + 5)
(ii) f ( x )=2 x +5 ; x ∈ R
(iii) y=2 x +5 ; x ∈ R
eX ponent
Page
eX ponent
Page
Example-1
If f : x ⟼ 2 x +5 ; x ∈ R , –2 < x < 5, find the range of the function.
Solution:
The graph of flx) is shown.
It is linear and x can take any real value between -2 and 5.
The smallest value of f(x) will be f(-2) = 1
The largest value of f(x) will be f(5) = 15.
Thus, the range: l < f(x) < 15.
Example-2
If f : x ⟼ 2 x +5 ; x ∈ Z , –2 x 5, find the range of the function.
Solution:
The graph of f(x) is shown.
It is linear but x can take only integer values between -2 and 5
(inclusive).
The range,
f(x) = {1, 3, 5, 7, 9,11,13,15}
Example-3
The function f is defined by f(x) = (x – 2)2 + 3 for 0 x 6.
Sketch the graph of the function.
Find the range of f.
Solution:
The graph of f(x) is shown.
The minimum value of f(x) = 0 + 3 = 3 and this minimum
occurs when x = 2.
So f(x) has a minimum point at the point (2, 3).
When x = 0, y = (0 - 2)2 + 3 = 7.
When x = 6, y = (6 - 2)2 + 3 = 19.
7
eX ponent
Page
Exercise 1.2
eX ponent
Page
Example:
The functions f and g are defined as follows:
f : x ↦ 2x + 5; x ∈ R and g : x ↦ 3x − 2; x ∈ R, − 2 ≤ x ≤ 5
a) Form the functions (i) fg and (ii) f2(= ff) and find the range of each function.
b) Why do the functions (i) gf and (ii) g2 not exist?
a(i) fg
fg(x) = f(g(x)) = f(3x − 2) = 2(3x − 2) + 5 = 6x – 4 + 5 = 6x + 1; x ∈ R, − 2 ≤ x ≤ 5
Range of fg:
When x = −2, fg(x) = 6(−2) + 1 = -11
When x = 5, fg(x) = 6 5 + 1 = 31
So, range of fg is −11 ≤ fg(x) ≤ 31
(ii) f2 = f∘f
f2(x) = f(f(x)) = f(2x + 5) = 2(2x + 5) + 5 = 4x + 10 + 5 = 4x + 15; x ∈ R
Range of f2: f2(x) ∈ R
9
eX ponent
Page
b) (i) gf
gf(x) = g(f(x)) = g(2x + 5) = 3(2x+5) – 2 = 6x + 15 – 2 = 6x + 13; x ∈ R
gf(1) = 19
range of g will be –8 ≤ g(x) ≤ 13
19 of range of g(x)
So, this composite does not exist.
(ii) g2:
g2(x) = g(g(x)) = g(3x − 2) = 3(3x − 2) – 2 = 9x – 6 – 2 = 9x − 8; x ∈ R, − 2 ≤ x ≤ 5
when x = –2, g2(x) = –26
range of g will be –8 ≤ g(x) ≤ 13
–26 of range of g(x)
So, this composite does not exist.
Exercise 1.3
1. f : x ↦ 2x + 3 for x ∈ R
g : x ↦ x2 − 1 for x ∈ R
Find fg(2).
2. f(x) = x2 − 1 for x ∈ R
g(x) = 2x + 3 for x ∈ R
Find the value of gf(5).
3. f(x) = (x + 2)2 −1 for x ∈ R
Find f2(3).
4. The function f is defined by f(x) = 1 + √ x−2 for x 2.
10
The function g is defined by g(x) = −1 for x > 0.
x
Find gf(18).
5. The function f is defined by f(x) = (x − 1)2 + 3 for x > −1.
2x+4
The function g is defined by g(x) = for x > 5.
10
x−5
eX ponent
Page
6. h : x ↦ x + 2 for x > 0
k : x ↦ √ x for x > 0
Express each of the following in terms of h and k.
a) x ↦ √ x + 2 b) x ↦ √ x+ 2
7. The function f is defined by f : x ↦ 3x + 1 for x ∈ R.
The function g is defined by g : x ↦:
10
for x 2.
2−x
8. g g(x) = x2 + 2 for x ∈ R
Solve the equation gf(x) = 5.
h(x) = 3x − 5 for x ∈ R
Solve the equation gh(x) = 51.
9. f(x) = x2 – 3 for x > 0
3
g(x)= for x > 0
x
Solve the equation fg(x) = 13.
eX ponent
Page
Modulus functions
The modulus of a number is the magnitude of the number without a sign attached.
The modulus of any number (positive or negative) is always a positive number.
The modulus of a number is also called the absolute value.
The modulus is denoted by a vertical line on each side of the number and is called the
magnitude of the quantity. For example, |2| = 2 and |–2| = 2
The modulus of x, written as x, is defined as:
{
|x|= x if x ≥ 0
−x if x <0
The function y =x is called the modulus function.
The graph of the modulus function y = |f(x)|, any part of the corresponding graph of y = f(x)
where y < 0, is reflected in the x-axis.
For example, the graph y =x – 2is shown. It has a
vertex at (2, 0). The part of the graph y = x – 2 below the x-
axis has been reflected in the axis.
Formulae:
1. |x + y| = |x| + |y|:
2. |x – y| = |x| – |y|:
This equation is also not always true. It is true only if ∣x∣≥∣y∣ or ∣x∣≤∣y∣. In other words, it
holds true when x and y have the same sign or when one of them is zero.
3. |xy| = |x| |y|:
This equation is always true. The absolute value of the product of two numbers is equal to
the product of their absolute values.
4. |x/y| = |x| / |y|:
12
eX ponent
Page
Exercise 1.4
1. Solve:
a) |3x – 2| = 10 b) |2x + 9| = 5 c) |6 – 5x| = 2
2. Solve:
Exercise 1.5
1. Sketch the graphs of each of the following functions showing the coordinates of the points
where the graph meets the axes.
a) y =x + 1 b) y =2x – 3 c) y =5 – x
13
eX ponent
Page
eX ponent
Page
Inverse functions
Example 7
f ( x )= √ x +1−5 for x ≥ –1
a) Find an expression for f–1(x).
b) Solve the equation f–1(x) = f(35).
Let, y= √ x +1 – 5
Exercise 1.6
5. f : x ↦ 5x – 3 for x > 0
4. f(x) = 8−√ x −3 for x ≥ 3. Find an expression for f–1(x).
g:x↦ for x ≠ 0
7
2−x
Express f–1(x) and g–1(x) in terms of x.
6. f : x ↦ (x + 2)2 – 5 for x > –2
a) Find an expression for f–1(x). b Solve the equation f–1(x) = 3.
15
eX ponent
Page
g:x↦
5 x−14
, where x ≠ -1.
x +1
a) Find expressions for f-1 and g-1.
b) Find the value of k for which f-1 (5) = 6.
c) Simplify g-1g(x).
17. f : x ↦ x3 for x∈R and g : x ↦ x - 8 for x∈R
Express each of the following as a composite function, using only f, g, f-1 and/or g-1.
16
eX ponent
Page
c) x ↦ x 3 −8 d) x ↦ (x +8) 3
1 1
The graphs of f and f-1 are reflections of each other in the line y = x.
This is true for all one-one functions and their inverse functions.
17
eX ponent
Page
Self-inverse functions
Some functions are called self-inverse functions because f and its inverse f-¹ are the same.
1 1
If f(x) = for x ≠ 0 then f-1(x) = for x ≠ 0
x x
1
So f(x) = for x ≠ 0 is an example of a self-inverse function.
x
When a function f is self-inverse, the graph of f will be symmetrical about the line y = x
Exercise 1.7
1. On a copy of the grid, draw the graph of the inverse of the function f.
2. On a copy of the grid, draw the graph of the inverse of the function g.
18
3. f(x) = x2 + 3x, x ≥ 0
eX ponent
Page
8. f : x ↦
2 x +7
for x ≠ 2
x −2
a) Find f-1 in terms of x.
b) Explain what this implies about the symmetry of the graph of y = f(x)
Exercise 1.8
Exam Exercise
1. Solve the equation |4x - 5| = 21 [3]
Cambridge IGCSE Additional Mathematics 0606 Paper 21 Q1 Nου 2011
2. a) Sketch the graph of y = |3 + 5x| showing the coordinates of the points where your graph
meets the coordinate axes.
[2]
b) Solve the equation |3 + 5x| = 2 [2]
Cambridge IGCSE Additional Mathematics 0606 Paper 11 Q1 i, ii, Νου 2012
3. a) Sketch the graph of y = |2x - 5| showing the coordinates of the points where the graph
meets the coordinate axes. [2]
19
eX ponent
Page
1
6. A function g is such that g(x) = for 1 ≤ x ≤ 3
2 x−1
a) Find the range of g. [1]
b) Find g-1(x) [2]
c) Write down the domain of g-1(x) [1]
d) Solve g2(x) = 3 [3]
Cambridge IGCSE Additional Mathematics 0606 Paper 11 Q9i-iυ Νου 2012
eX ponent
Page
eX ponent
Page
22
eX ponent
Page