GCSE Mathematics · Chapter 19 · Algebra · Higher
A function is a rule that turns each input into exactly one output, and changing the rule moves its graph in a predictable way.
This chapter introduces function notation, then combines functions and reverses them. You will then see how small changes to an equation translate or reflect its graph.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- use function notation such as , and solve equations such as
- find a composite function such as , applying the functions in the right order
- find an inverse function , and check that it undoes the original
- translate a graph using and
- reflect a graph using and , and combine transformations
Time: two sessions, about 2 hours. Session 1 covers sections 1 to 3. Session 2 covers sections 4 and 5 and the practice ladder.
Before you start, check you can do three things. Substitute into an expression such as . Rearrange a formula such as to make the subject. Sketch the graph of .
Two interactive figures sit inside the teaching. Figure 19.1 is a function machine in section 2. Figure 19.2 is a set of transformation sliders in section 4.
Section 1
Function notation
Functions are the language mathematicians use for rules. A spreadsheet formula, a currency converter and a calculator key are all functions. Each takes a number in and gives a number out, and the same input always gives the same output.
A function is a rule that takes an input and gives an output. Each input gives exactly one output. You have used functions already, in function machines and in formulae. Function notation is a compact way to write them.
We write . Read it as "f of x equals three x minus five". The letter is the name of the function. The in brackets is the input. The expression on the right is the rule.
The letter in the rule simply stands for whatever input you choose. and describe the same function. What matters is the rule: multiply the input by 3, then subtract 5.
To find an output, replace with the input. For an input of 4, . For an input of , . The bracket in is not a multiplication. It means "the output of f when the input is 4".
Reading as is treating function brackets as multiplication. There is no number called to multiply. The notation tells you to put 4 into the rule.
An expression can be the input too. means put into the rule, giving . You will use this idea again in section 4, where a change to the input moves a graph.
Different functions get different letters, often , and . If , then . The input can be any number, or even an expression. For example, and .
Be careful with powers when the input is negative. For , . Without the bracket, a calculator works out as . Brackets around the input keep its sign attached.
Functions can give the same output for different inputs. For , both and equal 10. That is allowed. What a function never does is give two different outputs for the same input.
Function notation also works backwards. "Solve " means find the input that gives an output of 10. Write the equation , then solve it: , so .
| Question | Meaning | Method |
|---|---|---|
| Find | the output when the input is 4 | substitute 4 for |
| Solve | the input that gives output 10 | set the rule equal to 10 and solve |
Questions sometimes give a function in words. "Multiply by 3, then subtract 5" is the same as . Turning words into notation, and notation into words, is a skill worth practising.
A graph shows a function too. The graph of is every point whose y-coordinate is the output for its x-coordinate. So means the point is on the graph of .
Worked example 1: evaluate and solve
For , find and . Then solve .
| Working | Reason |
|---|---|
| Replace with 4 in the rule, then work it out. | |
| Bracket the negative input before multiplying. | |
| Solving means setting the rule equal to 10. | |
| , so | Solve the equation using inverse operations. |
Check yourself. For , find , then solve .
Show the answer
Substituting 3 gives . For the equation, , so and or . Both inputs give the same output.
Common mistake: treating function brackets as multiplication. A student is told and works out as . The notation means the output when the input is 2. So .
Section 2
Composite functions
Think of two function machines placed end to end. A number goes into the first machine. Whatever comes out goes straight into the second machine. The final output depends on both rules and on the order of the machines.
Functions can be joined, so that the output of one becomes the input of the next. The result is a composite function.
Let and . The composite means "apply first, then apply to the result". It is written in full.
The function next to is applied first. In , the is next to , so acts first. This feels backwards, because we read from left to right. Think of it as : work out the inner bracket before the outer one.
To find , work from the inside out. First . Then . So .
A composite can also join a function to itself. means apply twice. For , . The rule is the same: work from the inside out.
To find the expression , replace the in with the whole of .
Use brackets when you substitute an expression. Writing instead of multiplies only the by 3 and gives the wrong answer. The bracket shows that the whole of is the input.
The order matters. In the other order, . The two are different. For example, , but .
Working out first in is applying the functions in the wrong order. Check with a number: if your expression for does not give here, the order is wrong.
Questions may ask you to solve an equation involving a composite, such as . Find the expression for first, then solve the equation in the usual way. Here gives , so or .
Figure 19.1 shows two function machines joined together. Choose the order and an input, and watch the output change.
Function machine
- 2 goes into g: x² + 1 gives 5The function next to x acts first
- 5 goes into f: 3x − 5 gives 10Its output becomes the next input
fg(2) = 10, and fg(x) = 3x² − 2
Inverse: f⁻¹(x) = (x + 5)/3. f(2) = 1, and f⁻¹ of that is 2, the original input.
Worked example 2: composite functions
For and , find , then find an expression for .
| Working | Reason |
|---|---|
| In , the function next to , which is , acts first. | |
| The output of becomes the input of . | |
| For the expression, the input to is the whole of . | |
| Replace in by , expand and simplify. | |
| Check: | Substituting the value agrees with the earlier answer. |
Check yourself. For the same functions, find .
Show the answer
In , the function acts first. So , and then . The answer is , which is different from .
Common mistake: applying the functions in the wrong order. For and , a student finds by working out and then . That is . In the acts first: , then .
Section 3
Inverse functions
Inverses appear whenever a calculation needs reversing. Converting pounds to euros is a function. Converting euros back to pounds is its inverse. Doing one and then the other brings you back to where you started.
An inverse function undoes the original. If takes 4 to 7, then the inverse, written , takes 7 back to 4.
To find an inverse, use these steps.
- Write .
- Rearrange to make the subject.
- Swap the letters, so the inverse is written in terms of .
For , write . Add 5: . Divide by 3: . Swap the letters: .
Why swap the letters at the end? An inverse is still a function, and functions are written with as the input. After rearranging, is playing the part of the input. Swapping the letters just writes the inverse in the usual form.
Check that it works. , and . The inverse returns the original input.
Fractions in the rule are cleared in the usual way while rearranging. Multiply both sides by the denominator first. Then the rearranging is the same as for any linear formula.
The inverse can be thought of as running a function machine backwards. The machine for multiplies by 3 and then subtracts 5. The reverse machine adds 5 and then divides by 3. That is exactly .
Not every function has an inverse that is a function. sends 3 and to 9, so an inverse could not tell which input to return. GCSE questions only ask for inverses of functions where this problem does not arise.
The notation looks like a power, but it is not. It does not mean . Writing is taking the reciprocal instead of the inverse. Test it: is not 4, so it does not undo .
Applying a function and then its inverse always gives back the input. In symbols, . This is the most useful way to check an inverse: choose a number, apply both, and see if you return to it.
On a graph, the inverse is a reflection of the original in the line . The point on becomes the point on .
Worked example 3: find an inverse
Find when .
| Working | Reason |
|---|---|
| Write the function as equals the rule. | |
| Multiply both sides by 5 to clear the fraction. | |
| , so | Subtract 1, then divide by 2, to make the subject. |
| Swap the letters to write the inverse in terms of . | |
| Check: and | The inverse takes the output back to the input. |
Check yourself. Find when .
Show the answer
Write and multiply both sides by 4: . Adding 3 gives . Swapping the letters gives .
Common mistake: taking the reciprocal instead of the inverse. A student writes the inverse of as . The inverse must undo the function: , so should be 3. The rule that does that is .
Section 4
Translations
In this section and the next, can be any function. The rules work for straight lines, quadratics, cubics and every other graph. The examples use because its turning point makes the movement easy to see.
Changing the equation of a graph moves the graph. Two changes slide it without changing its shape. These are translations.
Adding outside the function: . Every output goes up by . So every point moves up by . The graph is translated by the vector . For example, is moved up 3.
Adding outside is the easier rule, because it does what it looks like. A plus sign moves the graph up, and a minus sign moves it down. Every point keeps its x-coordinate.
Adding inside the function: . This one moves the graph sideways, and the direction surprises most people. The graph moves left by , not right. It is translated by the vector .
Translations can be written as column vectors. The top number is the movement to the right and the bottom number is the movement up. A negative top number means left, and a negative bottom number means down.
Why left? Take . The lowest point is where the bracket is zero, at . On the lowest point is at . So the graph has moved 2 to the left. Each output that reached at is now reached 2 earlier.
Moving to the right is moving the graph the wrong way for . Remember: a change inside the bracket does the opposite of what it seems. moves the graph 3 to the right.
| Equation | Effect on the graph | Vector |
|---|---|---|
| moves up | ||
| moves down | ||
| moves left | ||
| moves right |
A good way to remember the sideways rule is to ask where the new graph has the old graph's key point. For , the old value now appears when , which is at . So everything has shifted 3 to the right.
To find where a point goes, apply the same movement to it. If is on , then on it moves to . On it moves to .
Exam questions often give a sketch of with a few points marked, and ask you to sketch a transformed graph. Move the marked points first, then draw the same shape through them. Label the new points with their coordinates.
Figure 19.2 moves the graph of as you change the numbers. Watch the turning point, and compare the direction with the sign in the equation.
Transformation sliders
y = f(x + 2) − 1: y = x² + 4x + 3
The turning point moves from (0, 0) to (−2, −1). That is a translation by −2 across and −1 up. The +2 inside moves it left.
Worked example 4: translate a turning point
The graph of has a turning point at . Find the turning point of and of .
| Working | Reason |
|---|---|
| moves the graph up 4 | Adding outside the function adds to every output. |
| The y-coordinate goes up by 4 and the x-coordinate stays. | |
| moves the graph right 3 | Subtracting inside the bracket moves the graph the opposite way, right. |
| The x-coordinate goes up by 3 and the y-coordinate stays. |
Check yourself. A point is on . Where is it on ?
Show the answer
Subtracting 5 outside the function moves every point down 5. The x-coordinate stays the same, so the point moves to .
Common mistake: moving the graph the wrong way for f(x + a). A student says is moved 5 to the right. Its lowest point is where , at . The graph has moved 5 to the left.
Section 5
Reflections and combined transformations
A translation never changes the shape of a graph. It only changes the position. Every point moves by the same amount in the same direction, so the copy is identical to the original.
Two other changes flip a graph over. These are reflections.
A minus sign outside: . Every output changes sign. Points above the x-axis go below it, and points below go above. The graph is reflected in the x-axis. The point becomes .
Points on the x-axis stay where they are under this reflection, because their y-value is 0, and . So the roots of are also roots of .
A minus sign inside: . The input changes sign, so the output that was at is now at . The graph is reflected in the y-axis. The point becomes .
Mixing these up is reflecting in the wrong axis. The rule follows the same pattern as translations. A change outside the function affects the y-values, so it moves or flips the graph vertically. A change inside affects the x-values, so it moves or flips the graph horizontally.
A sketch helps you check a reflection. Draw the original roughly, then imagine folding the page along the axis. The reflected graph is what you would see on the other side of the fold.
Reflections are easy to check with one point. Take a point on the original, apply the rule, and see whether the new point fits the new equation. For , if is on , then should be on the new graph.
Some graphs do not change when reflected. The graph of is symmetrical about the y-axis, so is the same graph. That is a quick check, not an exception to the rule.
Points on the y-axis stay where they are under a reflection in the y-axis, for the same kind of reason: their x-value is 0. So and always cross the y-axis at the same point.
Transformations can be combined. The graph of is moved left 1 and down 4. Its turning point moves from to . This is the completed-square form of a quadratic, which is why that form gives the turning point straight away.
The order of combined transformations sometimes matters. For translations it does not, because moving left then down gives the same result as moving down then left. When reflections are combined with translations, work through them one at a time, in the order the brackets suggest.
When you describe a transformation in words, be precise. Say "translation by the vector " or "reflection in the x-axis". Vague words such as "moved" or "flipped" lose marks.
Worked example 5: reflect and combine
The graph of passes through . Find the image of this point on and on . Then give the turning point of .
| Working | Reason |
|---|---|
| : | A minus outside reflects in the x-axis, so the y-value changes sign. |
| : | A minus inside reflects in the y-axis, so the x-value changes sign. |
| is moved left 1, down 4 | The bracket moves it left, and the outside moves it down. |
| Turning point | Apply both movements to the turning point . |
Check yourself. The point is on . Find its image on .
Show the answer
A minus sign inside the function reflects the graph in the y-axis. The x-coordinate changes sign and the y-coordinate stays, so the image is .
Common mistake: reflecting in the wrong axis. A student says is a reflection in the y-axis. The minus sign is outside the function, so it changes the outputs, the y-values. The graph is reflected in the x-axis: becomes .
Practice
Practice ladder
Work down the ladder. Try each question before you open its solution.
Rung 1: Fluency
Q1. . Find .
Worked solution to Q1
Replace with the input 3 and work out the rule. That gives . The bracket is the input, not a multiplication.
Q2. Given , work out .
Worked solution to Q2
Substitute the negative input in a bracket: . Squaring a negative gives a positive, so this is .
Q3. For , solve .
Worked solution to Q3
Solving means finding the input that gives 21, so set the rule equal to 21: . Adding 7 to both sides gives , and dividing by 4 gives .
Rung 2: Reasoning
Q4. and . Find expressions for and .
Worked solution to Q4
For , put into : . For , put into : . The two results are different, so the order matters.
Q5. Find the inverse of the function , and check it with one value.
Worked solution to Q5
Write the function as . Multiplying both sides by 4 and then adding 3 gives . Swapping the letters gives . To check, and , so the inverse returns the input.
Q6. The point lies on . Write down its image on .
Worked solution to Q6
Adding inside the bracket moves the graph to the left, by 4. The x-coordinate decreases by 4 and the y-coordinate stays the same. The image is .
Q7. With and , show that and are different.
Worked solution to Q7
For , apply first: , then . For , apply first: , then . Since 3 and 9 differ, the order of the functions matters.
Rung 3: Problem solving
Q8. Describe how the graph of is related to , and state its turning point.
Worked solution to Q8
The bracket moves the graph 3 to the right, and the outside moves it up 2. That is a translation by the vector with components 3 and 2. The turning point moves from to .
Q9. The point lies on . Find its image on and on .
Worked solution to Q9
A minus outside reflects in the x-axis, so the y-value changes sign and the point becomes . A minus inside reflects in the y-axis, so the x-value changes sign and the point becomes .
Q10. . Find the value of for which .
Worked solution to Q10
First find the inverse in the usual way, which gives . Setting the function equal to its inverse gives . Multiplying both sides by 2 gives , so and . As a check, and .
Exam practice
Exam technique and worked answer workshop
Function questions are short but precise. Most marks go to correct order, correct rearranging and exact descriptions of transformations.
- Work from the inside out for composite functions: the letter next to acts first.
- Write first when finding an inverse, then rearrange and swap the letters.
- Check an inverse by putting an output back in.
- Inside the bracket does the opposite: moves left.
- Name the transformation fully, with a vector or an axis.
In the mark guidance, M marks are for method, A marks are for accuracy and B marks are independent of method.
Exam question 1 (3 marks · non-calculator · about 3 minutes · Higher)
and .
(a) Find . (1 mark)
(b) Find . (2 marks)
Mark guidance for exam question 1
- B1 for 17.
- M1 for , or for .
- A1 for 13.
Exam question 2 (3 marks · non-calculator · about 3 minutes · Higher)
. Find .
Mark guidance for exam question 2
- M1 for and .
- M1 for .
- A1 for .
Annotated model answer: exam question 2
| Working | What the marker sees |
|---|---|
| , so | The function is written as and the fraction is cleared. First method mark. |
| , so | Inverse operations make the subject. Second method mark. |
| The letters are swapped and the notation is correct. Accuracy mark. | |
| Check: and | A quick check with a value, not required but reassuring. |
Exam question 3 (3 marks · non-calculator · about 3 minutes · Higher)
A curve has a turning point at . Write down the coordinates of the turning point of each graph.
(a) (1 mark)
(b) (1 mark)
(c) (1 mark)
Mark guidance for exam question 3
- B1 for .
- B1 for .
- B1 for .
Exam question 4 (4 marks · calculator allowed · about 5 minutes · Higher)
and .
(a) Find an expression for . (1 mark)
(b) Solve . (3 marks)
Mark guidance for exam question 4
- B1 for .
- M1 for .
- A1 for .
- A1 for .
Recap
Recap and next step
- is the output of the function for the input . Substitute to evaluate, and set the rule equal to a value to solve.
- In , the function next to acts first: .
- To find , write , make the subject, then swap the letters.
- moves the graph up ; moves it left .
- reflects in the x-axis; reflects in the y-axis.
Next chapter: 20, Algebraic proof. You will use algebra to prove that a statement is true for every number, not just the ones you test.
For your exam board
Functions and graph transformations are Higher content for every board.
- Pearson Edexcel 1MA1: specification references A7 and A13.
- AQA 8300: specification references A7 and A13.
- OCR J560: specification sections 6.05 and 7.03, the language of functions and transformations of curves.
This chapter builds on straight-line graphs, quadratics and changing the subject, which are assumed knowledge.