Worked examples — Inverse functions — finding f⁻¹(x), horizontal line test
This is the "throw everything at it" page for the parent topic. We are going to build a matrix of every kind of situation the topic can put in front of you, then grind through worked examples until every single box is ticked. No box left blank means no surprise on the exam.
If a word here is new — "one-to-one", "domain", "swap method" — the parent note builds those first. Here we use them, on hard cases.
The scenario matrix
Think of a function-inverse problem as a machine you must reverse. The trouble always comes from the type of machine. Here is the full list of machine-types this topic hides, and the one worry each one carries.
| Cell | Case class | The worry it hides | Example that hits it |
|---|---|---|---|
| A | Straight-line machine () | slope sign flips the graph, but inverse still exists | Ex 1 |
| B | Negative slope / decreasing | does "decreasing" break invertibility? (no) | Ex 2 |
| C | Even power on all of | fails the line test — must restrict | Ex 3 |
| D | Even power, but only the negative branch | inverse picks the negative root, sign trap | Ex 4 |
| E | Fraction machine (rational) | domain hole moves when roles swap | Ex 5 |
| F | Root machine with a shift | hidden domain/range restrictions | Ex 6 |
| G | Exponential ↔ log pair | the "undo" is a different letter entirely | Ex 7 |
| H | Degenerate / constant machine | zero information out — no inverse at all | Ex 8 |
| I | Real-world word problem (units!) | inverse must make physical sense | Ex 9 |
| J | Exam twist: self-inverse () | graph is its own reflection | Ex 10 |
We now walk every cell. Watch the figure for the geometric ones — the reflection across the line is the whole story.
Cell A — Straight-line machine
Forecast: guess before reading — will the inverse also be a straight line? Steeper or shallower?
- Write . Why this step? We name the output so we have two letters to swap.
- Swap : . Why this step? Swapping literally exchanges the input and output roles — the definition of "undo".
- Solve for : . Why this step? We isolate the new output to read off the machine.
- .
Verify: ✓. The slope became — reciprocal of — so yes, the inverse is a shallower line. Steepness of becomes flatness of because the reflection swaps rise and run.
Cell B — Negative slope (decreasing)
Forecast: a decreasing line — one-to-one or not?
- Line test check: every horizontal line hits a straight line exactly once (unless the line is horizontal). Slope , so it passes. One-to-one confirmed. Why this step? Mistake 3 in the parent: never invert before checking.
- Write .
- Swap: .
- Solve: . Why this step? Multiply by to undo the .
- .
Verify: ✓. Both slopes are negative — decreasing functions are perfectly invertible; the reflection of a downhill line is still a single-valued line.
Cell C — Even power on all of
Forecast: will one horizontal line hit it twice?
- Line test: set . Then and . Two hits → fails. Why this step? Two inputs, one output = not one-to-one = no inverse.
- Fix — restrict domain to (keep only the right half of the parabola). Why this step? Chopping off the left branch removes the duplicate.
- On : (positive root, since range ).
- , with domain (the original range).
Verify: take in : . Then ✓. See Domain and Range: original range becomes inverse domain .
Cell D — Even power, the negative branch
Forecast: same formula as Ex 3, or does a sign flip?
- The right branch is gone; we keep . Line test now passes (left half alone hits each level once).
- . Solving .
- Choose the sign from the range. Here , so the output of must be . Pick the negative root. Why this step? 's outputs must land back in the original domain .
- , domain .
Verify: take : ; ✓. Same parabola, opposite branch → opposite sign in the inverse. This is exactly the trap: the algebra gives , the domain picks which.
Cell E — Fraction machine (moving hole)
Forecast: where will the new forbidden value be?
- .
- Swap: .
- Clear the fraction: . Why this step? Multiply out so leaves the denominator.
- Collect : . Why this step? Factor so we can isolate it.
- , .
Verify: interestingly here (see Cell J too!). Check , then ✓. The horizontal asymptote of is (never output ), which becomes the inverse's forbidden input . The hole moved from domain to range to domain of inverse — as Mistake 2 warns.
Cell F — Root machine with hidden restrictions
Forecast: the answer will be a parabola — but on which half?
- Original domain/range: need . Since , outputs satisfy . So range is . Why this step? These become the inverse's range/domain — write them down first.
- .
- Isolate the root: , valid only when .
- Square: . Why this step? Squaring undoes the square root — but only the branch where .
- , domain .
Verify: ; ✓. Without the "" the parabola would fail the line test — the restriction is not optional.
Cell G — Exponential ↔ log pair
Forecast: what operation undoes " to the power"?
- .
- Swap: .
- Isolate the power: .
- Take of both sides — this is the tool that answers "to what power must I raise 3?": Why this tool? A logarithm is defined as the inverse of an exponential; nothing algebraic can pull out of an exponent, only a log can. See Exponential and Logarithmic Functions.
- , valid when .
Verify: ; ✓. Domain matches the horizontal asymptote of the original exponential.
Cell H — Degenerate / constant machine
Forecast: trust your gut — reversible or hopeless?
- Line test: the graph is the horizontal line . The horizontal line overlaps it at infinitely many points. Massive failure. Why this step? Every input maps to , so would have to be every real number at once.
- Conclusion: no inverse exists, and no domain restriction can save it — restricting the domain still leaves every point mapping to .
Verify: try and . Different inputs, same output ⇒ not one-to-one ⇒ not a bijection ⇒ no inverse. This is the degenerate corner of the matrix: zero information out means zero recovery.
Cell I — Real-world word problem (units matter)
Forecast: what will the inverse mean physically?
- (here is Fahrenheit, Celsius).
- Swap: — treat now as the known Fahrenheit reading.
- Solve: . Why this step? Multiply by to undo the .
- : input Fahrenheit, output Celsius.
Verify: °F (boiling water ✓). Then °C ✓. Units confirm the inverse is a genuine "reverse converter", not the reciprocal (Mistake 1).
Cell J — Exam twist: self-inverse
Forecast: what would the graph look like if a function equals its own inverse?
- .
- Swap: .
- Solve: . Why this step? Same equation returns — that is the definition of self-inverse.
- So .
Verify (composition): ✓ for all . Geometry: the graph is symmetric across , so reflecting it leaves it unchanged — that is precisely what "own inverse" looks like. Concrete check: and , the pair and mirror across the diagonal.
Recall Quick self-test on the matrix
Which cell forces you to pick between and using the domain? ::: Cells C and D (even powers on a restricted branch). Which case has NO inverse no matter what you do? ::: Cell H, the constant function. What tool is the only way to free a variable from an exponent? ::: The logarithm (Cell G). When , what does the graph do under reflection across ? ::: Nothing — it maps onto itself.