What these worksheets practise
A function is a rule that turns each input into exactly one output. Pre-Calculus treats functions as objects of their own: they can be evaluated, chained together (composition) and undone (inverses). The worksheets practise one of these at each difficulty level:
- Easy — evaluate a quadratic function at a whole number, often a negative one.
- Medium — composition: with and , find .
- Hard — find the inverse of a linear function .
The steps below start from the simplest possible function and add one idea at a time. Steps 1–3 prepare for the Easy worksheets; step 4 is composition (Medium) and step 5 the inverse (Hard).
Watch: functions as machines (3:25)
Read the transcript
Let's learn what a function is, how to chain two functions together, and how to undo one.
A function is a rule that turns each input into exactly one output. Think of f(x) = x + 3 as a machine that adds 3. Put in 1, and out comes 4. Put in 5, out comes 8. Put in 10, out comes 13. f(3) just means: the output when 3 goes in.
Now f(x) = 2x + 1: double the input, then add 1. f(3) = 2(3) + 1 = 7. With a negative input, write it in parentheses first: f(−2) = 2(−2) + 1 = −4 + 1 = −3.
For f(x) = x², the whole input is squared, sign and all: f(3) = 9, and f(−3) = (−3)² = 9. Put it together: for f(x) = 2x² − 3x + 1, f(−2) = 2(−2)² − 3(−2) + 1 = 2(4) + 6 + 1 = 15.
Composition chains two machines. (f∘g)(3) means f(g(3)): the function on the right, g, goes first. With g(x) = 2x and f(x) = x + 1: g(3) = 6, then f(6) = 7. So (f∘g)(3) = 7. Swap the order and the answer changes: f(3) = 4, then g(4) = 8. So (g∘f)(3) = 8. A Medium problem works the same way. With f(x) = 3x − 2 and g(x) = x² + 1, g(2) = 5 and f(5) = 3(5) − 2 = 13.
The inverse f⁻¹ runs a function backwards. f(x) = 4x + 5 multiplies by 4, then adds 5. To undo it, take the steps off in reverse order, like socks after shoes: subtract 5, then divide by 4. So f⁻¹(x) = (x − 5) / 4. The algebra gives the same answer: write y = 4x + 5, swap x and y, and solve for y.
Check with 9: f⁻¹(9) = (9 − 5) ÷ 4 = 1, and f(1) = 4(1) + 5 = 9. You're back where you started.
Watch out for these common mistakes. Losing the sign of a negative input: 2(−2)² = 2(4) = 8, not −8. Composing in the wrong order: (f∘g)(2) is 13, but (g∘f)(2) is 17. The function on the right goes first. Confusing the inverse with a reciprocal: f⁻¹(x) is not 1 / (4x + 5). The −1 means undo. Dividing only part of it: (x − 5) / 4 is not x/4 − 5.
Practise with free function worksheets and answer keys at mathgem.ca.
Worked examples, one step at a time
Step 1: a function is a machine
Think of as a machine: whatever number goes in, the machine adds 3 and sends the result out. The letter stands for the input, and means "the output when 3 goes in".
Each input gives exactly one output. That is the only thing a rule needs to be a function.
Step 2: two operations, and negative inputs
The machine doubles the input, then adds 1. When the input is negative, write it in parentheses before doing anything else. This one habit prevents most mistakes on these worksheets.
Step 3: squares
For , the parentheses matter even more. The whole input is squared, sign and all, so a negative input gives a positive output:
Now put the pieces together, as on an Easy worksheet. For , find . Replace every with , square first, then multiply, then add:
Step 4: one machine after another (composition)
Composition feeds the output of one function into another. Start small, with and . The notation means : the function written on the right, , goes first.
The order matters. Swapping the machines gives a different answer:
A Medium problem works the same way with bigger rules. With and , find :
Answer: .
Step 5: undoing a function (the inverse)
The inverse is the machine that runs backwards. For one operation it is easy to see:
When has two operations, undo them in reverse order, the way you take off socks after shoes. multiplies by 4 and then adds 5, so the inverse subtracts 5 first and then divides by 4:
The method used on the Hard worksheets gives the same result: write , swap and , and solve for .
Check your answers
An inverse undoes the function, so putting a number through both must give it back. With 9: and . For composition, check the first step on its own before using its output.
Common mistakes
- Losing the sign of a negative input. , not . Always substitute with parentheses.
- Composing in the wrong order. , but . The function written on the right is applied first.
- Confusing the inverse with a reciprocal. is not . The means "undo", not "divide into 1".
- Dividing only part of the expression. is not .
Sample problems
These problems come from the same generator as the worksheet above, three at each difficulty level. Press Generate for a fresh set.
Easy
- find
- find
- find
Medium
Find
Find
Find
Hard
- find
- find
- find
Show answers
Tips for teachers and parents
- The "function machine" picture works well for composition: the output of the first machine is fed into the second.
- On Easy worksheets, ask students to write the substitution with parentheses before simplifying; most errors come from skipping that line.
- For inverses, have students check one value with . It shows immediately whether the inverse is right.