A group shares a bill of 60, and each person adds 2 for the tip. After this lesson you can run a rule like that backwards, from what each person paid to how many people there were.
Core idea
The lesson on linear functions found an inverse by swapping and , then solving for .
When x is on the bottom
With people, each person pays . Swap the letters to get .
Take off the 2 first. That leaves , with on the bottom of a fraction.
Multiply both sides by to bring it up. This gives .
Then divide both sides by . The inverse is .
One output at a time
Say each person paid 14. To find how many people there were, solve .
Take off the 2 to get . Then the number of people is 60 divided by 12, which is 5.
Which functions have an inverse
Take . The inputs 2 and both give 4. So "which input gave 4?" has two answers, and on all numbers has no inverse.
A function has an inverse only when every output comes from exactly one input. Such a function is called one-to-one.
Keep only the inputs from 0 up, and the square becomes one-to-one. Its inverse is then , the positive square root.
A shifted square works the same way. Keep to the inputs from 3 up.
Swap the letters and take the positive root, then add 3. The inverse is .
When y turns up twice
The bill rule can be written as one fraction, . Change its bottom and you get a rule like .
After the swap, appears in two places. Multiply both sides by the bottom to get .
Multiply out, then move every term to the left. That gives .
Now take out as a common factor, so .
Divide both sides by , and the inverse is .
Most people turn the fraction upside down to undo it. That gives one over , which is not the rule run backwards.
Worked example
Find the inverse of .
Swap the letters, clear the fraction, then solve for .
So the inverse of is .
Problems
Let . Find the input whose output is .
Hint
Solve for , taking off the 7 first.
Find the inverse of .
Hint
After the swap, is on the bottom, so move the 3 across first.
Find the inverse of for .
Hint
After the swap, take off the 3 before you undo the square.
Find the inverse of .
Hint
After the swap, multiply both sides by the bottom to clear the fraction.