Maths · 3 Functions
3.3 Functions
Before you start
- Substituting a number into an expression, including negatives.
- Rearranging an equation to change the subject, including when the letter appears twice (2.5).
- Reading the shape and range of values of a graph (3.1).
Syllabus objectives covered (3)
- Understand functions, domain and range and use function notation.
- Understand and find inverse functions f⁻¹(x).
- Form composite functions as defined by gf(x) = g(f(x)).
Part 1 of 3
What a function is, and how to write about it
- A function is a rule that takes an input and produces exactly one output. Put in, get out.
- The notation means 'the function called does this to whatever you feed it'. It is not multiplied by .
- So means put 2 in wherever appears: .
- You can feed it anything, not just numbers. . Use brackets around whatever you substitute — that habit prevents most sign errors.
- The domain is the set of allowed inputs. The range is the set of outputs the function actually produces.
- A useful way to keep them straight: domain is the values, range is the values — alphabetical order matches.
- Some functions cannot accept every input. is undefined at , because dividing by zero is meaningless, so is excluded from the domain.
- A mapping diagram is another way to show the same idea: inputs on the left, outputs on the right, arrows for the rule. It makes clear that each input has exactly one arrow leaving it.
Part 2 of 3
Inverse functions
- The inverse function, written , undoes what does. If turns 2 into 1, then turns 1 back into 2.
- Beware the notation. means 'the inverse function', not . It is the one piece of notation in this subtopic that reliably misleads people.
- The method for finding it has three steps, and it is the same every time.
- **Step 1: write .** For , write .
- **Step 2: rearrange to make the subject.** Add 5 and divide by 3.
- Step 3: swap the letters. Replace with and write the result as .
- Check it by composing: should give back 2. Here and . Correct.
- That check takes ten seconds and catches nearly every algebra slip, so do it every time.
- One more fact worth knowing: the domain and range swap over. The range of becomes the domain of , which follows directly from the inverse running the arrows backwards.
Part 3 of 3
Composite functions
- A composite function applies one function and then feeds the result into another. The definition is .
- Read it from the inside out. In , acts first — it is nearer the — and acts on the answer.
- That ordering is the whole difficulty of this topic, and it looks backwards because the letters are written in the reverse order to the operations.
- With and : to find , first , then . So .
- To get an expression rather than a value, substitute the whole of into in place of its variable.
- The order matters. Reversing it gives something different: , which is not the same function as .
- So always check which letter is on the inside before you start. Getting the order wrong makes every subsequent line wrong.
- For a numerical answer, working step by step with numbers is safer and faster than building the whole expression and then substituting.
- The syllabus notes say you are not expected to find the domain and range of composite functions — so if you meet , you only need the expression or the value.
Worked examples
Example 1. and . Work out (i) , (ii) , (iii) .
Show the working
- (i) Substitute 4 into : .
- (ii) For , acts first because it is nearer the . You already have .
- Now apply to that answer: . So .
- (iii) For , acts first: .
- Then apply : . So .
- Note that . The order genuinely matters, and this pair of answers is the clearest demonstration of it.
Answer: (i) (ii) (iii) .
Example 2. . Find .
Show the working
- Step 1: write for .
- Step 2: rearrange for . Multiply both sides by 5 to clear the fraction.
- Divide by 3, then subtract 4.
- Step 3: swap the letters and write it as the inverse.
- Check with a number. , and . It returns the original input, so the inverse is right.
Answer: , or equivalently .
Example 3. and . Find , giving your answer as a fraction in its simplest form.
Show the working
- Identify the order. In , is nearer the , so acts first and acts on its output.
- So you need of the whole expression .
- Substitute that expression wherever appears in .
- The question asks for a fraction in its simplest form, so leave the denominator as it is — expanding to makes it longer, not simpler.
- Note what would have happened with instead: , an entirely different function.
Answer: .
Where people go wrong
Mistake: Reading as .
Instead: It means the inverse function — the rule that undoes .
The is notation, not an index. is a completely different thing.
Mistake: Applying the functions in from left to right.
Instead: acts first, because it is nearer the . means .
The notation is written in the opposite order to the operations. Reading inside-out is the only reliable habit.
Mistake: Assuming .
Instead: They are usually different functions.
Squaring then adding is not the same as adding then squaring. Always check which letter is on the inside.
Mistake: Forgetting to swap and at the end of finding an inverse.
Instead: After making the subject, swap the letters so the answer is in terms of .
An inverse function must be written as a rule for its own input, and an unswapped answer is marked wrong.
Mistake: Substituting without brackets, e.g. writing .
Instead: Put brackets round whatever you substitute: .
Without brackets the operation only applies to part of the input, which changes the answer.
Mistake: Trying to find the domain and range of a composite function.
Instead: The syllabus says you are not expected to.
It is explicitly excluded in the notes, so the time is better spent elsewhere.
Check yourself
- . Work out .
Answer
. - Explain the difference between the domain and the range of a function.
Answer
The domain is the set of allowed inputs ( values); the range is the set of outputs produced ( values). - Why must be excluded from the domain of ?
Answer
It would make the denominator zero, and division by zero is undefined. - . Find .
Answer
, so , giving . - How can you check that an inverse function is correct?
Answer
Substitute a number into , then put the result into . You should get the original number back. - and . Work out and .
Answer
; . They are different. - and . Find an expression for .
Answer
.
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1. and , where .
(a) Work out . 1 mark No calculator
Mark scheme
- B1 -14
(b) Find . 2 marks No calculator
Mark scheme
- M1 y = 3x - 5 rearranged to make x the subject, or equivalent correct first step
- A1 (x + 5)/3 oe
(c) Find , giving your answer as a single fraction. 2 marks No calculator
Mark scheme
- M1 recognises f acts first and substitutes 3x - 5 into g
- A1 2/(3x - 5) oe
(d) Write down the value of that must be excluded from the domain of . 1 mark No calculator
Mark scheme
- B1 5/3 oe; FT their (c)
Question 2.
(a) Work out . 2 marks No calculator
Mark scheme
- M1 h(4) = 35 and h(-4) = 35 both seen
- A1 0
(b) Explain why for every value of . 1 mark No calculator
Mark scheme
- B1 squaring a and -a gives the same result, so the outputs are equal oe
(c) Write down the smallest value in the range of . 1 mark No calculator
Mark scheme
- B1 3
Question 3. and .
(a) Find expressions for and . 2 marks No calculator
Mark scheme
- B1 pq(x) = x² + 4
- B1 qp(x) = (x + 4)² oe
(b) Solve . 3 marks No calculator
Mark scheme
- M1 x² + 4 = (x + 4)² formed
- M1 expands and simplifies to 8x + 12 = 0 oe
- A1 x = -1.5 oe
Words to know
- Function
- A rule giving exactly one output for each allowed input.
- Domain
- The set of allowed inputs of a function.
- Range
- The set of outputs a function actually produces.
- Inverse function
- The rule that undoes . Not the same as .
- Composite function
- The result of applying first and then : .
- Mapping diagram
- A diagram with inputs on one side and outputs on the other, joined by arrows showing the rule.