2.2.9 · D4Functions

Exercises — Inverse functions — finding f⁻¹(x), horizontal line test

1,923 words9 min readBack to topic

This page is a self-test ladder. Cover the solutions, try each problem, then reveal. Difficulty climbs from "can you spot it" (L1) to "can you build the whole thing" (L5). Every solution is fully worked — no skipped algebra.

Parent: Inverse functions (parent topic). If any word below feels new, that note builds it from zero.

Before we start, three ideas we will lean on constantly:

Recall What "inverse" and "one-to-one" mean (quick refresh)

An inverse function undoes : if sends , then sends . A function is one-to-one if different inputs never collide onto the same output. Only one-to-one functions can be reversed — see Bijective Functions. The horizontal line test: draw every horizontal line ; if none hits the graph more than once, the function is one-to-one.


Level 1 — Recognition

Goal: read a graph or equation and decide invertibility. No algebra yet.

Exercise 1.1

Look at the four graphs below. For each, state whether it passes the horizontal line test and is therefore invertible.

Figure — Inverse functions — finding f⁻¹(x), horizontal line test
Recall Solution 1.1

A horizontal line is a flat line at some fixed height . If any such line crosses the curve twice or more, the function fails and is not invertible.

  • (A) Line : every horizontal line hits it exactly once. Passes → invertible.
  • (B) Parabola : the line hits at and . Fails → not invertible.
  • (C) Cubic : always rising, each height reached once. Passes → invertible.
  • (D) Sideways-S / sine wave: a single line like crosses many times. Fails → not invertible.

Why the test is exactly this: a horizontal line collects all points sharing one -value. Two crossings = two inputs giving the same output — the very definition of not one-to-one.

Exercise 1.2

True or false: (a constant function) is invertible.

Recall Solution 1.2

False. The graph is a flat horizontal line at height . The horizontal line lies on top of it — infinitely many intersections. Every input maps to , so you can never recover which you started from. Not one-to-one, no inverse.


Level 2 — Application

Goal: run the swap method on standard functions.

Exercise 2.1

Find for .

Recall Solution 2.1

Step 1 (write): . Step 2 (swap and ): . Why swap? Because input and output trade roles under an inverse — the swap literally encodes that. Step 3 (solve for ): Step 4: . Step 5 (verify via Function Composition):

Exercise 2.2

Find for .

Recall Solution 2.2

(swap). Check:

Exercise 2.3

Find for .

Recall Solution 2.3

. Why cube? Cubing is the exact undo of a cube root — the inverse of a step is applied to reverse it. Cube root is defined and one-to-one over all reals, so no domain restriction is needed.


Level 3 — Analysis

Goal: handle rational functions and track domain/range swaps — see Domain and Range.

Exercise 3.1

Find for , . State the domain of .

Recall Solution 3.1

Swap: . Clear the fraction: Collect -terms (so we can factor out): Surprise: is its own inverse (self-inverse / involution). Reflecting its graph across lands it back on itself. Domain reasoning: 's horizontal asymptote sits at (ratio of leading coefficients ), so is never an output of is excluded from 's domain. Matches above.

Exercise 3.2

Find for , . State the excluded input of .

Recall Solution 3.2

Swap: . Why : 's horizontal asymptote is at (leading coefficients ), so is never output by ; hence it is barred from 's domain.


Level 4 — Synthesis

Goal: combine restriction, transcendental inverses, and composition.

Exercise 4.1

is not one-to-one over . Restrict its domain to make it invertible, then find and state both domains.

Figure — Inverse functions — finding f⁻¹(x), horizontal line test
Recall Solution 4.1

Why restrict: the parabola has vertex at opening upward. Any horizontal line above the vertex hits twice (once left, once right of ). It fails the test. Choose a branch: take the right half, ==domain == (the branch where the curve only rises). On it, each height is reached once. Find inverse: — we take the positive root because our chosen branch has . Domains (Domain and Range): original domain → inverse range ; original range → inverse domain . So .

Exercise 4.2

Find the inverse of . (See Exponential and Logarithmic Functions.)

Recall Solution 4.2

. Why the natural log now? is the exact inverse of — it answers "which exponent gives this value?". It is the only tool that peels out of the exponent. Domain : always, so . This is exactly the range of the original (outputs of start just above ).

Exercise 4.3

Given and , find . Use the rule .

Recall Solution 4.3

Direct route: . Invert: Check with the composition rule (order reverses — you undo the last action first): , , so Same answer.


Level 5 — Mastery

Goal: reason about existence, symmetry, and fixed points — not just crank algebra.

Exercise 5.1

A function equals its own inverse () exactly when its graph is symmetric about the line . Show that is self-inverse, and find where its graph crosses .

Recall Solution 5.1

Self-inverse check: swap and solve. Since , the function is self-inverse. Its graph is its own reflection across . Crossings with : set : These two fixed points and are the only inputs leaves unchanged — they sit exactly on the mirror line .

Exercise 5.2

For which value(s) of is not one-to-one on all of , and does restricting to always fix it?

Recall Solution 5.2

Any real makes non-injective on : a parabola always opens upward with a single vertex at , so a horizontal line above the vertex always meets it twice. There is no that rescues a full-line parabola. The restriction keeps only the branch to the right of the vertex, where the curve strictly increases. On a strictly increasing branch, distinct inputs give distinct outputs → one-to-one → invertible. So yes, the restriction always works, for every . (Restricting to works too — the left, strictly-decreasing branch.)

Exercise 5.3

is not invertible over , yet exists. Explain in one paragraph how restriction rescues it, and give the domain and range of . (See Trigonometric Functions.)

Recall Solution 5.3

repeats every , so a horizontal line like hits its graph infinitely often — hopelessly non-injective. We restrict the domain to , the single rising piece from trough to crest. On that one branch climbs monotonically from to , passing the horizontal line test, so an inverse exists there. That inverse is ====, with domain (the outputs can produce) and range (the restricted inputs). This is the exact same "restrict a symmetric graph to one branch" trick used for in Exercise 4.1 — see Bijective Functions.


Recall One-line self-quiz

Why does restricting a domain rescue an inverse? ::: It deletes the duplicate inputs so each output has a unique source — the graph then passes the horizontal line test. ::: — undo the last-applied function first. A function meets at its ... ? ::: fixed points, where .