Show worked solution
Worked solution
Write the function
Multiply by 3, then add 4.
Write
Let y be the output.
Subtract 4
Undo the +4 first.
Divide by 3
Undo the multiplication.
Write the inverse
Swap y for x.
The output is 25
We know the machine's output.
Use the inverse
The inverse recovers the input.
Substitute
Put 25 into the inverse.
Numerator
Do the top first.
Divide
21 divided by 3 is 7.
So the input
The starting number was 7.
Check forwards
The machine gives 25 from 7.
Machine view
The inverse machine reverses the steps.
Common error
Undo the +4 first, in reverse order.
State the answer
So the input was 7.