I can
- find f(g(x)) and g(f(x)) for a number
- find the inverse of a function
- find where a quadratic equals a number, or meets a line
- find the least value of a quadratic on a stated range
Key idea
In f(g(0)), do g first, then put the result into f. Work from the inside out.
To find an inverse function, write y = f(x), swap the roles of x and y by solving for x, then write the answer using x.
To find where two graphs meet, make the two expressions equal and solve. To solve f(x) = c for a quadratic, move everything to one side and factorise. For the least value on a range, check whether the vertex is inside the range. If not, the answer is at an end of the range.
Worked examples
Example 1: f(x) = 3x + 5 and g(x) = 2x² − 1. Find g(f(−3)).
Watch it: g(f(−3)), step by step:
- Work from the inside out. First find f(−3).
- 3 × (−3) = −9 and −9 + 5 = −4, so f(−3) = −4.
- Now put −4 into g: g(−4) = 2(−4)² − 1.
- 2(16) − 1 = 31. So g(f(−3)) = 31.
- f(−3) = 3(−3) + 5 = −4.
- g(−4) = 2(16) − 1 = 31.
g(f(−3)) = 31
Example 2: f(x) = (x − 3)/2. Find the inverse function.
Watch it: the inverse of f(x) = (x − 3)/2, step by step:
- To find the inverse, write y = f(x).
- Multiply both sides by 2: 2y = x − 3.
- Add 3 to both sides to make x the subject: x = 2y + 3.
- Swap the letters to write the rule in x: f⁻¹(x) = 2x + 3.
- Write y = (x − 3)/2.
- Multiply by 2: 2y = x − 3. So x = 2y + 3.
- Swap the letters to write the rule in x.
f⁻¹(x) = 2x + 3
Example 3: f(x) = x² − 4x − 1. Solve f(x) = −4.
Watch it: f(x) = x² − 4x − 1: solve f(x) = −4, step by step:
- Set f(x) equal to −4.
- Add 4 to both sides: x² − 4x + 3 = 0.
- Factorise: (x − 1)(x − 3) = 0.
- One bracket must be 0. So x = 1 or x = 3.
- x² − 4x − 1 = −4, so x² − 4x + 3 = 0.
- Factorise: (x − 1)(x − 3) = 0.
x = 1 or x = 3
Try it
Show answer
6Show answer
-67Show answer
(x - 1)/3Show answer
-5, 1Show answer
2Common mistakes
- Doing the functions in the wrong order. In f(g(x)), g goes first.
- Using the vertex when it is outside the range. Test the end of the range instead.
Remember
- Composite: inside first. Inverse: undo the steps.
- Give several answers in order, smallest first.
Practise this
Worksheets 171 to 180 of Level 10 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh