Functions
Function notation such as , what the domain and range of a function are, how to form composite functions like , and how to find an inverse function . Most of this is algebra you already know, written in a new and very precise notation.
What the syllabus says
E2.13 (Extended)
- 1 Understand functions, domain and range and use function notation.
- 2 Understand and find inverse functions .
- 3 Form composite functions as defined by .
Notes and examples
- Examples include:
- .
- e.g. and . Find . Give your answer as a fraction in its simplest form.
- Candidates are not expected to find the domains and ranges of composite functions.
- This topic may include mapping diagrams.
Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.
What a function is Extended
A function is a rule that takes an input and gives exactly one output. The rule "multiply by 3, then subtract 5" is a function, and we write it as
Read as "f of ". The letter f names the function and is the input. The notation tells you what to do with any input:
- means put into the rule: .
- .
- is : the input can be a letter, or even another expression.
Other letters work the same way. Cambridge often uses several functions in one question, such as and . Put brackets round every input you substitute, especially a negative one: , whereas without brackets would wrongly give .
Solving is not the same as finding . asks which input gives the output 13: , so .
Mapping diagrams Extended
| Input | Output |
|---|---|
A mapping diagram shows a function as arrows from each input to its output; the table above lists the same pairs. Each input has exactly one arrow leaving it. That is what makes it a function. Two inputs may share an output (for , both and map to ), but one input can never have two outputs.
Worked example 1 Extended
, and .
(a) Find . (b) Find . (c) Solve .
(a) .
(b) .
(c) , so and .
Answer: (a) (b) (c)
Check yourself Extended
. Find .
Answer it in the portal, where your answer is checked as you type →
Domain and range Extended
The domain of a function is the set of inputs it is allowed to take. The range is the set of outputs it produces from that domain.
Inputs that must be left out. You cannot divide by zero, so for the value is not in the domain. You cannot take the square root of a negative number, so for the domain is .
Finding a range.
- If the domain is a short list, work out every output. For with domain , the range is .
- If the domain is an interval, think about the outputs at the ends. for has range , because a straight line goes steadily from one end to the other.
- A square is never negative. For , the smallest value of is 0, so the range is .
Write a range in terms of the output, or , not in terms of . You are not expected to find the domain or range of a composite function.
Worked example 2 Extended
(a) . Which value of must be excluded from the domain?
(b) has domain . Find its range.
(a) The denominator is zero when , so must be excluded.
(b) , , , .
The range is .
Answer: (a) (b)
Composite functions Extended
A composite function applies one function and then another. means : apply f first, then apply g to the result.
The function nearest to acts first. In , f is next to , so f goes first. This is the opposite of the order you read the letters in, and it is the commonest source of lost marks.
To find as an expression, take the rule for g and replace every in it by the whole expression , in brackets. To find a value such as , it is usually quicker to work inside out with numbers: find , then put that answer into g.
In general and are different. means apply f twice.
Worked example 3 Extended
and . Find (a) , (b) , (c) .
(a) g acts first: .
(b) f acts first: , which expands to .
(c) Inside out: , then . Check with (b): .
Answer: (a) (b) (c)
Check yourself Extended
and . Find . Give your answer in its simplest form.
Answer it in the portal, where your answer is checked as you type →
Worked example 4 Extended
and . Find , giving your answer as a fraction in its simplest form.
g acts first, so replace in f by : .
Expand the bracket: , so the denominator is .
Simplest form: , and the 4 cancels with the numerator.
.
Answer:
Inverse functions Extended
The inverse function undoes f. If f takes 4 to 7, then takes 7 back to 4. Applying a function and then its inverse returns you to where you started: and .
Method.
- Write .
- Rearrange to make the subject.
- Swap the letters: replace by , and you have .
The rearranging in step 2 undoes the operations of f in reverse order, which is exactly what an inverse must do. For (multiply by 3, then subtract 5), the inverse adds 5 and then divides by 3: .
is not . The is a label for "inverse", not a power.
A function only has an inverse if each output comes from exactly one input. On the graph, is the reflection of in the line .
and . Folding the page along would place one line exactly on the other.
Worked example 5 Extended
. Find .
.
Multiply both sides by 5: .
Divide by 3: .
Subtract 4: .
Swap letters: , which can also be written .
Check: , and .
Answer:
Worked example 6 Extended
. Find .
. Multiply both sides by : .
Divide by : .
Subtract 2: .
, or .
Answer:
Check yourself Extended
. Find .
Answer it in the portal, where your answer is checked as you type →
Solving equations with functions Extended
Many questions end with an equation. Turn the function notation into ordinary algebra first, then solve as usual.
- : write out the rule and set it equal to .
- or : find the composite expression first, then solve.
- : there is a shortcut. If the inverse takes to , then f takes to , so .
- for any input in the domain, with no working needed.
Worked example 7 Extended
. (a) Solve . (b) Solve .
(a) .
, so and .
(b) means f takes 4 to : .
Answer: (a) (b)
Check yourself Extended
. Find .
Answer it in the portal, where your answer is checked as you type →
Key points
means substitute for in the rule. Bracket every input.
The domain is the set of allowed inputs; the range is the set of outputs. Leave out inputs that would divide by zero or root a negative number.
: the function next to acts first.
To find : write , make the subject, then replace by .
is not , and .
Where marks are lost Extended
Doing a composite in reading order. In , g acts first.
Treating as a product .
Writing .
Forgetting brackets when substituting. For , , not .
Leaving a composite fraction unsimplified when the question says "in its simplest form".
Confusing (solve for ) with (substitute 13).
Related IGCSE Mathematics 0580 lessons
An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.