Functions
Functions
Functions
Contents
Functions Toolkit
Composite & Inverse Functions
Page 1 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Functions Toolkit
Your notes
Introduction to Functions
What is a function?
A function is a combination of one or more mathematical operations that takes a set of numbers and
changes them into another set of numbers
It may be thought of as a mathematical “machine”
For example, if the function (rule) is “double the number and add 1”, the two mathematical
operations are "multiply by 2 (×2)" and "add 1 (+1)"
Putting 3 in to the function would give 2 × 3 + 1 = 7
Putting -4 in would give 2 × (-4) + 1 = -7
Putting x in would give 2x + 1
The number being put into the function is often called the input
The number coming out of the function is often called the output
What does a function look like?
A function f can be written as f(x) = … or f : x ↦ …
These two different types of notation mean exactly the same thing
Other letters can be used. g, h and j are common but any letter can technically be used
Normally, a new letter will be used to define a new function in a question
For example, the function with the rule “triple the number and subtract 4” would be written
f (x ) = 3x – 4 or f: x ↦ 3x – 4
In such cases, x would be the input and f (x ) would be the output
Sometimes functions don’t have names like f and are just written as y = …
eg. y = 3x – 4
Page 2 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 3 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Worked example
Your notes
A function is defined as f (x ) = 3x 2 − 2x + 1 .
Calculate.
(b) Find f (x + 3) .
Page 4 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Your notes
Solve the equation by first adding 4 to both sides, then dividing by 3.
Page 5 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 6 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 7 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Your notes
Page 8 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 9 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Your notes
Exam Tip
A graph of the function can help “see” both the domain and range of function (a sketch can help if
you have not been given a diagram)
Page 10 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Worked example
Your notes
Two functions are given by
1
f (x ) = 10 − x g(x ) =
2x − 1
(a) If the domain of function f is 2 < x ≤ 4 , find the range.
the graph of
(b) Write down the value of x that must be excluded from the domain of function g.
Page 11 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Your notes
Solve to find this value of x (the one that must be excluded)
must be excluded
Page 12 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 13 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
1
gf(x ) = g(2x + 1) =
2x + 1 Your notes
Exam Tip
Make sure you are applying the functions in the correct order
The letter nearest the bracket is the function applied first
Worked example
In this question, f (x ) = 2x − 1 and g(x ) = (x + 2) 2 .
(b) Find g f (x ) .
f is on the inside of the composite function so apply f first by substituting the function f(x) into
g(x).
Simplify.
Page 14 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Inverse Functions
What is an inverse function? Your notes
An inverse function does the exact opposite of the function it came from
For example, if the function “doubles the number and adds 1” then its inverse is
“subtract 1 and halve the result”
It is the inverse operations in the reverse order
How do I write inverse functions?
An inverse function f-1 can be written as f −1 (x ) = … or f −1 : x ↦ …
For example, if f (x ) = 2x + 1 its inverse can be written as
(x – 1) (x – 1)
f −1 (x ) = or f −1: x ↦
2 2
How do I find an inverse function?
The easiest way to find an inverse function is to 'cheat' and swap the x and y variables
Note that this is a useful method but you MUST remember not to do this in any other circumstances
in maths
STEP 1
Write the function in the form y = …
STEP 2
Swap the x s and y s to get x = …
STEP 3
Rearrange the expression to make y the subject again
STEP 4
Write as f-1(x) = … (or f-1 : x ↦ …)
y should not exist in the final answer
For example, if f (x ) = 2x + 1 its inverse can be found as follows
STEP 1
Write the function in the form y = 2x + 1
STEP 2
Swap the x and y to get x = 2y + 1
STEP 3
Rearrange the expression to make y the subject again
x − 1 = 2y
x−1 x−1
=y → y =
2 2
Page 15 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
STEP 4
Rewrite using the correct notation for an inverse function
x−1 Your notes
f −1 (x ) =
2
How does a function relate to its inverse?
If f (3) = 10 then the input of 3 gives an output of 10
The inverse function undoes f(x)
An input of 10 into the inverse function gives an output of 3
If f (3) = 10 then f −1 ( 10) = 3
ff−1 (x ) = f −1 f (x ) = x
If you apply a function to x, then immediately apply its inverse function, you get x
Whatever happened to x gets undone
f and f-1 cancel each other out when applied together
If f (x ) = 2x and you want to solve f −1 (x ) = 5
Finding the inverse function f −1 (x ) in this case is tricky (impossible if you haven't studied
logarithms)
instead, take f of both sides and use that ff−1 cancel each other out:
ff−1 (x ) = f (5)
x = f (5)
x = 25 = 32
How do I find the domain and range of an inverse function?
The domain of an inverse function is the same as the range of the original function
The range of an inverse function is the same as the domain of the original function
Page 16 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Worked example
Your notes
Find the inverse of the function f (x ) = 5 − 3x .
Write the function in the form and then swap the and
Page 17 of 17
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers