Backtracking or undoing the steps, which is often used as an introduction to solving equations, can also be used to find inverse functions.
Suppose you’re trying to find the inverse of . The right side of the equation should be thought of as a list of arithmetic manipulations that get performed on any input in this relationship. What are those manipulations to the input?
- Square it
- Multiply it by 3
- Subtract 3
- Divide it by 5
How do you undo the following set of instructions? Let’s look at a simpler example:
- Put on your socks
- Put on your shoes
Hopefully not by taking off your socks and then taking off your shoes! So we need to reverse the steps and also reverse the order.
- Multiply by 5
- Add 3
- Divide by 3
- Square root it
In other words, , so our inverse function is .
Swapping the y and the x
This one, I don’t like very much. My sense is that it’s the most common algorithm out there. It’s hard to get meaning out of it. But there’s a simple switch that gives this algorithm a lot more meaning.
Say you’re working with . The old way is to say “switch the y and the x, so you get and then solve for y.”
The tweak is to put it in $f(x)$ form (which is not going to be obvious or easy for kids) so you have and then find . This gets you and now you’re trying to solve for .