Home › Calculators › Function Machine and Inverse
Opens on Chapter 20’s example: the machine “× 2, then + 1”, with 3 going in.
How it works
f(x) = mx + b runs two steps: multiply, then add. The inverse undoes them in reverse order: take away b, then divide by m (doing it the other way around gives the wrong input). From a table, the step size between outputs (when the input goes up by 1) is m, and the output at input 0 is b. Two percentage changes multiply, so their order doesn’t matter: 20% off then 8% tax is the same as tax then 20% off. A coupon takes away a fixed amount, which does depend on the order: taking it off before the tax saves the tax on it too.
Numbers can be typed as 1,450, $38, 0.40, 12%, 1/6 or 2 3/8. The algebra is done with exact fractions, so 1/3 stays 1/3; decimals are rounded half up, the way the book rounds. Everything stays in your browser: no sign-up, nothing stored or sent.