Markbook Study

When does an inverse exist?

Learn to spot repeated outputs, choose a domain, and keep the correct inverse branch.

By the end, you can

  • Explain why a function is one-to-one
  • Restrict a domain so an inverse exists
  • Find an inverse with its domain and range

The central idea

A function can be reversed when each output identifies exactly one allowed input. This is the one-to-one condition. For f(x)=x2f(x)=x^2 on all real numbers, f(−2)=f(2)=4f(-2)=f(2)=4. Knowing the output is 4 does not tell us which input was used. A horizontal line crossing the graph twice reveals the same problem.

A restriction keeps the rule and changes the domain

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Full parabola (x+2)² has vertex (−2,0), y-intercept 4; restriction x>−2 retains only its increasing right branch with an open vertex. Same rule, smaller domain; full curve extends the restricted one.
Full parabola (x+2)² has vertex (−2,0), y-intercept 4; restriction x>−2 retains only its increasing right branch with an open vertex. Same rule, smaller domain; full curve extends the restricted one.
Full parabola (x+2)² has vertex (−2,0), y-intercept 4; restriction x>−2 retains only its increasing right branch with an open vertex. Same rule, smaller domain; full curve extends the restricted one.
Open original diagram (new tab)

An inverse reverses the source mapping

An inverse reverses each permitted input–output pair. It exists as a function on the original range when the original function is one-to-one on its stated domain.

  1. Swap the input and output roles

    Start with an allowed input x and its output y. The inverse must return that same x, rather than a different input with the same output.

    y=f(x)⟺x=f−1(y).y=f(x)\quad\Longleftrightarrow\quad x=f^{-1}(y).

    Expand diagram

    Use the scrollbars or arrow keys to inspect details. The text explanation follows.

    Inverse inputsUse exactly the original range

    Df−1=RfD_{f^{-1}}=R_f. An output never reached by f is not an allowed input of its inverse.

    Inverse outputsRecover the original domain

    Rf−1=DfR_{f^{-1}}=D_f. Keep the original endpoint conditions when reversing the relationship.

    Check one-to-one behaviour before reversing arrows. If two different inputs share an output, reversing that pair would give two outputs for one inverse input.

  2. Follow 5 to 11 and back

    The source uses f(x) = 2x + 1 with x > 0. Its outputs are greater than 1, so the inverse accepts y > 1.

    f(5)=2(5)+1=11.f(5)=2(5)+1=11.

    f−1(11)=11−12=5.f^{-1}(11)=\dfrac{11-1}{2}=5.

    Df=(0,∞).D_f=(0,\infty).

    Df−1=(1,∞).D_{f^{-1}}=(1,\infty).

    Forward ruleDouble, then add one

    y=2x+1y=2x+1 with x>0x>0, so y>1y>1. The endpoint 1 is not reached.

    Inverse ruleSubtract one, then halve

    x=(y−1)/2x=(y-1)/2 with y>1y>1. This returns a positive original input; the inverse does not include y = 1.

    Here the superscript −1 denotes an inverse function, not the reciprocal 1/f.

Open original diagram (new tab)

Base two exponential and logarithm

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Equal-scale y=2^x and y=log₂x reflect in y=x, with points (0, 1), (1, 0), (1, 2), and (2, 1), and asymptotes y=0 and x=0. Source bases 2 and e exceed 1; logarithms with bases between 0 and 1 decrease.
Equal-scale y=2^x and y=log₂x reflect in y=x, with points (0, 1), (1, 0), (1, 2), and (2, 1), and asymptotes y=0 and x=0. Source bases 2 and e exceed 1; logarithms with bases between 0 and 1 decrease.
Equal-scale y=2^x and y=log₂x reflect in y=x, with points (0, 1), (1, 0), (1, 2), and (2, 1), and asymptotes y=0 and x=0. Source bases 2 and e exceed 1; logarithms with bases between 0 and 1 decrease.
Open original diagram (new tab)

Restrict sine before taking its inverse

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Full sine has repeated outputs shown by a horizontal line. Restrict to [−π/2, π/2] with closed endpoints (±π/2, ±1), then reflect to arcsine on [−1, 1], with range [−π/2, π/2].
Full sine has repeated outputs shown by a horizontal line. Restrict to [−π/2, π/2] with closed endpoints (±π/2, ±1), then reflect to arcsine on [−1, 1], with range [−π/2, π/2].
Full sine has repeated outputs shown by a horizontal line. Restrict to [−π/2, π/2] with closed endpoints (±π/2, ±1), then reflect to arcsine on [−1, 1], with range [−π/2, π/2].
Open original diagram (new tab)

Cosine and its principal inverse

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Cosine restricted to [0, π], with endpoints (0, 1) and (π, −1), reflects in y=x to arccos on [−1, 1], with endpoints (−1, π) and (1, 0), and y-intercept π/2. All endpoints included.
Cosine restricted to [0, π], with endpoints (0, 1) and (π, −1), reflects in y=x to arccos on [−1, 1], with endpoints (−1, π) and (1, 0), and y-intercept π/2. All endpoints included.
Cosine restricted to [0, π], with endpoints (0, 1) and (π, −1), reflects in y=x to arccos on [−1, 1], with endpoints (−1, π) and (1, 0), and y-intercept π/2. All endpoints included.
Open original diagram (new tab)

Tangent and arctangent exchange asymptotes

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Tangent on (−π/2, π/2) has vertical asymptotes x=±π/2; arctangent on all real inputs has horizontal asymptotes y=±π/2. Equal-scale graphs reflect in y=x; both pass through the origin.
Tangent on (−π/2, π/2) has vertical asymptotes x=±π/2; arctangent on all real inputs has horizontal asymptotes y=±π/2. Equal-scale graphs reflect in y=x; both pass through the origin.
Tangent on (−π/2, π/2) has vertical asymptotes x=±π/2; arctangent on all real inputs has horizontal asymptotes y=±π/2. Equal-scale graphs reflect in y=x; both pass through the origin.
Open original diagram (new tab)

Explore

Drag either end of the domain. A piece that stays on one side of zero has an inverse; a piece that crosses zero does not.

Choose an interval on the parabola

Move either end. Can two allowed inputs still share an output?

Explore f(x) = x² for a ≤ x ≤ b. An inverse exists when the interval stays on one side of zero.

Domain from a to b-1 to 1

Closed endpoint: the boundary is included unless the original domain excludes it.

Try an example

Not one-to-one: at least one reached output comes from two retained inputs.

Proposed input domain

[-1, 1]

Proposed input domain-303

Retained inputs

[-1, 1]

Retained inputs-303

Reached outputs

[0, 1]

Reached outputs04.59

Original allowed inputs

(−∞, ∞)

These exclusions stay in force when a boundary changes. Arrows indicate continuation beyond the drawing window.

The interval contains inputs on both sides of zero, so some outputs come from two allowed inputs.

The graph shows a finite window; arrows and interval notation describe the full set. Decimal endpoints are rounded.

Worked example

Keep only x≥0x\geq0. The function is now one-to-one. Write y=x2y=x^2. Since the original input is nonnegative, x=yx=\sqrt{y}. Swap the letters to obtain f−1(x)=xf^{-1}(x)=\sqrt{x} for x≥0x\geq0. The domain of the inverse is the range of the original function: [0,∞)[0,\infty). If we instead kept x≤0x\leq0, the inverse would be −x-\sqrt{x} on the same domain.

Swapping x and y does not fix a function that is many-to-one. Choose a domain first, then keep its sign and endpoint conditions.

Check your understanding

For g(x)=(x−2)2g(x)=(x-2)^2, restricted to x≥2x\geq2, find g−1(x)g^{-1}(x) and its domain. Why must you choose the positive square root?

Practice questions

More practice

Begin with a familiar inverse, then work through more demanding domain restrictions.

Ready to try this on your own?

For “When does an inverse exist?”, try a question without the working and explain your method. This records your confidence, saved in this browser only.

Ready to practise?Chapter practice