Syllabus coverage
- Extended only: understand functions, domain and range and use function notation
- Extended only: examples include , and
- Extended only: understand and find inverse functions
- Extended only: form composite functions as defined by
- Extended only: candidates are not expected to find the domains and ranges of composite functions
- Extended only: this topic may include mapping diagrams
Part of the IGCSE Maths syllabus 0580.
A function is a rule with exactly one output for each input
A function is a rule that turns an input into exactly one output. Write the input as x and the rule as , read as 'f of x'. So means: take the input, multiply it by 3, then subtract 5. Put in 4 and you get .
is not f multiplied by x. The letter f is the name of the rule and the brackets hold the input, so a function can be named with any letter. The syllabus uses and as well as , and the letter only tells you which rule to use when a question gives you two or three of them.
The words 'exactly one' are the whole of the definition. A rule that hands back two answers for a single input is not a function. That is why is defined as 3 and not as both 3 and , and why the square root button on a calculator gives one answer.
A mapping diagram draws a function as a machine: inputs on the left, the rule in the middle, outputs on the right. Cambridge mentions mapping diagrams for this topic, and they are the quickest way to see what a rule does and to spot that two different inputs are allowed to share an output.
- means substitute 4 for every x in the rule
- Each input gives exactly one output, but two different inputs may share an output
- Put an expression in the brackets just as you would put a number: for ,
Domain and range
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 those inputs. In 0580 you work with real numbers, and the domain is all real numbers unless the rule itself forbids some of them.
Two things forbid an input. Division forbids a zero denominator, so has domain . A square root forbids a negative number inside it, so has domain . Every polynomial, and every other rule on this course, accepts every real number.
The range comes from the shape of the graph, not from the algebra. has domain 'all real numbers' but its range is , because a square is never negative. produces every real number, so both its domain and its range are all real numbers.
A question can also restrict the domain on purpose. If you are told to use for , the domain is the interval , and the range is only the outputs that come from those inputs.
| Function | Domain | Range |
|---|---|---|
| all real numbers | all real numbers | |
| all real numbers | ||
| for |
One-one functions, and why they matter
A function is one-one when no two different inputs give the same output. is one-one: different inputs always produce different outputs. is not one-one, because : two inputs, one output.
The horizontal line test reads this off a graph. If any horizontal line meets the curve more than once, the function is not one-one. A parabola fails the test; a straight line with a non-zero gradient passes it.
One-one functions matter because reversing a rule has to give a single answer. Undoing gives one value for each output, so the reverse is a function. Undoing would have to give two values for every positive output, and a rule with two outputs is not a function at all.
A restricted domain can rescue a function that fails the test. for is one-one, because the negative inputs have been removed, and this version does have an inverse function.
- One-one: different inputs always give different outputs
- Horizontal line test: a second crossing means the function is not one-one
- Only one-one functions have an inverse function, unless the domain is restricted first
Composite functions: fg(x) means f(g(x))
A composite function is one rule applied after another. The notation means : work out g first, then feed that answer into f. Cambridge writes the definition as , and the order is the whole point of the topic.
The function nearest the x acts first. In you apply f and then g; in you apply g and then f. The two are usually different, and there is no reason to expect them to match. With and : , while .
There are two ways to answer a composite question. For a number, work out the inner function first and substitute the result: with and is . For an expression, replace every x in the outer rule with the whole of the inner rule, keeping the bracket, and then simplify.
Simplify right to the end. The composite of a quadratic and a linear rule is usually a quadratic, and leaving the answer as keeps the method marks but loses the accuracy mark.
- : apply g first, then f
- : apply f first, then g
- For a numerical answer, evaluate the inner function first and substitute that number into the outer one
Inverse functions
The inverse function undoes what f does. If then . The notation does not mean : is the reverse rule, not the reciprocal of the function.
The method has four steps. Write the function with y as the output, swap x and y, rearrange to make y the subject, then write the result as . For : write , swap to , rearrange to , and finish with .
The swap is what does the work. Writing and solving for y asks the exact question the inverse answers: which input to f produces the output x? Rearranging without swapping gives you the original function back.
Check your answer by composing. should return x. With and , the composition is . If it does not come back to x, one of the steps has gone wrong.
| Step | What to do | For |
|---|---|---|
| 1 | Write the rule with y as the output | |
| 2 | Swap x and y | |
| 3 | Rearrange to make y the subject | , so |
| 4 | Write it in the inverse notation | |
| 5 | Check with one easy value | and |
The graph of an inverse function
The graph of is the graph of reflected in the line . Reflection in swaps the coordinates of every point, so a point on the graph of f becomes the point on the graph of .
That is the algebra of the previous block drawn as a picture. If then lies on the graph of f, and lies on the graph of . Swapping x and y in the equation is the same thing as swapping the coordinates of every point.
Any point where a curve crosses the line stays exactly where it is, because swapping returns . So a function and its inverse always meet each other on the line , if they meet at all.
The inverse of the inverse is the original function, so . A function that is its own inverse has a graph symmetric about ; is one, because .
- Reflection in takes the point to
- The domain of is the range of f, and the range of is the domain of f
- A function and its inverse cross the line at the same points
Key terms you must be able to define
- Function
- A rule that turns each input into exactly one output.
- Function notation
- Writing a function as , read as 'f of x'. The letter names the rule and the brackets hold the input.
- Input
- The value put into a function, usually written x.
- Output
- The value a function produces, written or y.
- Domain
- The set of inputs a function is allowed to take. Division forbids a zero denominator and a square root forbids a negative input.
- Range
- The set of outputs a function produces from its domain.
- Mapping diagram
- A function drawn as a machine: inputs on the left, the rule in the middle, outputs on the right.
- One-one function
- A function in which no two different inputs give the same output. Only one-one functions have inverse functions.
- Horizontal line test
- If any horizontal line meets the graph of a function more than once, the function is not one-one.
- Vertical line test
- A curve is the graph of a function only if no vertical line meets it more than once.
- Composite function
- One function applied after another, written or .
- The composite function meaning : apply g first, then apply f to the result.
- The composite function meaning : apply f first, then apply g to the result.
- Inverse function
- The function that undoes f, found by writing , swapping x and y and rearranging. It is not the reciprocal of f.
- Self-inverse function
- A function that is its own inverse, so . Its graph is symmetric about the line .
- Reflection in
- The transformation that swaps the coordinates of every point, sending to . The graph of is the graph of f reflected in this line.
In context
Cambridge sets 0580 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.
For : , and . With a letter input, . Every one of these is the same rule with a different value in the bracket.
For the denominator must not be zero, so and the domain is every other real number. The output is never 0, because 1 divided by anything is never 0, so the range is .
With and : , and . They are different, and is the same as working out and then .
For : write , swap to , rearrange to , so . Check it: , and . The inverse has returned the original input.
For : write , swap to , multiply by 2 to get , so and . Check: and .
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
7 questions, 17 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.
Mark scheme — tick each point you actually made
- B1not checked yet
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- B1
- B1
Mark scheme — tick each point you actually made
- B1
- B1not checked yet
Exam technique for this topic
- Read the order in a composite question before writing anything. applies g first and applies f first, and the two answers are different, so swapping them loses every mark on the question.
- Keep the bracket when you substitute an expression. With , . Writing multiplies only the x by 3 and turns a correct method into a wrong answer.
- Show the swap in an inverse question. A mark scheme gives a method mark for writing and exchanging x and y, and another for making y the subject. A candidate who writes down a guessed inverse has nothing to show for the method marks.
- Check an inverse with one easy value in both directions. If then must be 2, and it takes ten seconds to test. It catches almost every rearrangement slip before the examiner does.
- Answer a domain or range question in the right letter. The domain is about x and the range is about , and quoting the domain when the question asked for the range is a common way to lose an easy mark.