XXXXXXXXXXXXXXX Functions: 1.1 Mappings
XXXXXXXXXXXXXXX Functions: 1.1 Mappings
Chapter 1:
XX:
XXXXXXXXXXXXXXX
Functions <CT>Chapter 1: Data representation</CT>
1.1 Mappings
REMINDER
f(x) = x + 1
f(x) = x 2
O x O x
O x
For one input value there is For two input values there is For two input value there
just one output value. one output value. are two output values.
Exercise 1.1
Determine whether each of these mappings is one-one, many-one or one-many.
1 x ↦ 2x + 3 x ∈ℝ 2 x ↦ x 2 + 4 x ∈ℝ
3 x
3 x ↦ 2x x ∈ℝ 4 x ↦ 3 x ∈ℝ
−1
5 x ↦ x ∈ ℝ, x > 0 6 x ↦ x 2 + 1 x ∈ ℝ, x 0
x
2
7 x ↦ x ∈ ℝ, x > 0 8 x ↦ ± x x ∈ ℝ, x 0
x
A function is a rule that maps each x value to just one y value for a defined set of input values.
one-one
This means that mappings that are either are called functions.
many-one
worked example 1
Answers
f (x ) = (x − 1)2 + 4 is a positive quadratic function so the graph will be of the form
(1, 4)
O x
The range is 1 f (x ) 20 . Domain
Exercise 1.2
1 Which of the mappings in Exercise 2.1 are functions?
Chapter 1: Functions
• When one function is followed by another function, the resulting function is called a 3
composite function.
• fg(x) means the function g acts on x first, then f acts on the result.
• f 2(x) means ff(x), so you apply the function f twice.
worked example 2
f :x ↦ 4x + 3 for x ∈ ℝ
g :x ↦ 2x 2 − 5 for x ∈ ℝ
Find fg(3).
Answer
fg(3) g acts on 3 first and g(3) = 2 × 32 – 5 = 13.
= f(13)
= 4 × 13 + 3
= 55
worked example 3
g (x ) = 2x 2 − 2 for x ∈ ℝ
h(x) = 4 – 3x for x ∈ ℝ
Solve the equation hg (x ) = −14 .
Answers
hg (x ) g acts on x first and g(x) = 2x 2 – 2.
(
= h 2x 2 − 2 ) h is the function ‘triple and take from 4’.
(
= 4 − 3 2x 2 − 2 ) Expand the brackets.
= 4 − 6x 2 + 6
= 10 − 6x 2
hg (x ) = −14
−14 = 10 − 6x 2 Set up and solve the equation.
24 = 6x 2
4 = x2
x = ±2
Exercise 1.3
1 f (x ) = 2 − x 2 for x ∈ ℝ
x
g (x ) = + 3 for x ∈ ℝ
2
Find the value of gf(4).
2 f (x ) = (x − 2 )2 − 2 for x ∈ ℝ
Find f 2 ( 3 ).
5 f :x ↦ 3x − 1 for x >0
g : x ↦ x for x >0
Express each of the following in terms of f and g.
a x ↦ 3 x −1 b x ↦ 3x − 1
Chapter 1: Functions
• The modulus (or absolute value) of a number is the magnitude of the number without a 5
sign attached.
• The modulus of x, written as |x |, is defined as
x if x > 0
x = 0 if x = 0
−x if x < 0
• The statement |x |, = k, where ⩾ 0, means that x = k or x = –k.
worked example 4
a 4x + 3 = x + 18 b 2x 2 − 9 = 7
Answers
a 4x + 3 = x + 18
4x + 3 = x + 18 or 4x + 3 = −x − 18
3x = 15 5x = −21
x =5 21
x =−
5
21
Solution is : x = 5 or −
5
b 2x 2 − 7 = 9
2x 2 − 7 = 9 or 2x 2 − 7 = −9
2x 2 = 16 2x 2 = −2
x2 = 8 x 2 = −1
x = ±2 2
Solution is : x = ±2 2
Exercise 1.4
TIP
1 Solve.
Remember to check your
a 2x − 1 = 11 b 2x + 4 = 8 c 6 − 3x = 4 answers to make sure that they
x −2 3x + 4 9 − 2x satisfy the original equation.
d =6 e =4 f =4
5 3 3
x 2x + 5 2x
g −6 =1 h + =3 i 2x − 6 = x
3 3 5
2 Solve.
2x − 5 4x + 2 2x + 5
a =3 b =3 c 1+ =4
x +4 x +3 x +3
d 2x − 3 = 3x e 2x + 3x − 4 = 5 f 7 − 1 − 2x = 3x
x −2 −1 0 1 2 3 4
y 1 3
Chapter 1: Functions
5 a f : x ↦ 2 − 2x for −1 x 5
b g : x ↦ 2 − 2x for −1 x 5
c h : x ↦ 2 − 2x for −1 x 5
Find the range of each function for −1 x 5 .
worked example 5
Answers
a f (x ) = (x + 3)2 − 1 for x > −3
Step 1: Write the function as y = y = (x + 3)2 − 1
2
Step 2: Interchange the x and y variables. x = (y + 3) − 1
2
Step 3: Rearrange to make y the subject. x + 1 = (y + 3)
x +1 = y +3
y = x +1 −3
f −1 (x ) = x + 1 − 3
b f −1 (x ) = 3 .
x +1 −3 = 3
x +1 = 6
x + 1 = 36
x = 35
Exercise 1.6
1 f (x ) = (x + 2 )2 − 3 for x −2.
Find an expression for f −1(x).
5
2 f (x ) = for x 0.
x −2
Find an expression for f −1(x).
2
3 f (x ) = ( 3x − 2 )2 + 3 for x .
3
Find an expression for f −1(x).
4 f (x ) = 4 − x − 2 for x 2.
Find an expression for f −1(x).
4
5 f :x ↦ 3x − 4 for x >0 g:x ↦ for x ≠ 4 .
4 −x
Express f −1(x) and g−1(x) in terms of x.
2
6 f (x ) = (x − 2 ) + 3 for x > 2
a Find an expression for f −1(x).
b Solve the equation f −1 (x ) = f ( 4 ) .
3x + 1
7 g (x ) = for x > 3
x −3
8
a Find an expressions for g −1(x) and comment on your result.
b Solve the equation g −1(x) = 6.
x
8 f (x ) = − 2 for x ∈ ℝ g (x ) = x 2 − 4x for x ∈ ℝ
2
a Find f −1(x).
b Solve fg (x ) = f −1 (x ) leaving answers as exact values.
3x + 1 x −2
9 f :x ↦ for x ≠ 1 g:x ↦ for x > −2
x −1 3
Solve the equation f (x ) = g −1 (x ) .
x2 − 9
10 If f (x ) = x ∈ ℝ find an expression for f −1(x).
x2 + 4
Chapter 1: Functions
x +1
14 Given f (x ) = 2x + 1 and g (x ) = find the following.
2
a f −1 b g −1 c ( fg )−1 d ( gf )−1 e f −1g −1 f g −1f −1
–4 –2 O 2 4 6 x
–2
–4
Some functions are called self-inverse functions because f and its inverse f −1 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 y = 2−x .
y = 2x y
6
–4 –2 O 2 4 6 8 x
–2
2 f (x ) = x 2 + 5, x 0.
On the same axes, sketch the graphs of y = f(x) and y = f −1(x), showing the
coordinates of any points where the curves meet the coordinate axes.
1 2
3 g (x ) = x − 4 for x 0.
2
Sketch, on a single diagram, the graphs of y = g (x ) and y = g −1 (x ) , showing the
coordinates of any points where the curves meet the coordinate axes.
Summary
Functions
A function is a rule that maps each x-value to just one y-value for a defined set of input values.
one-one
Mappings that are either are called functions.
many-one
The set of input values for a function is called the domain of the function.
The set of output values for a function is called the range (or image set) of the function.
Modulus function
The modulus of x, written as |x |, is defined as
x if x > 0
|x | = 0 if x = 0
−x if x < 0
Composite functions
fg(x) means the function g acts on x first, then f acts on the result.
f 2(x) means ff(x).