Porisma

When does an inverse exist?

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

← Back to lesson · Complete chapter reading and print view · Open reference notes separately

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

about 20 minutes for the lesson · practise at your own pace.

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)

Method map: Find an inverse on the allowed domain

Check that outputs identify unique inputs before reversing a rule. The original domain determines the inverse branch, its range and which endpoints are included.

  1. Check one-to-one behaviour first

    Use the entire stated domain. A single pair of different allowed inputs with the same output rules out an inverse function on the original range.

    f(a)=f(b)⇒a=bf(a)=f(b)\Rightarrow a=b

    for all a,b∈Df.\text{for all }a,b\in D_f.

    One-to-oneProceed on the stated domain

    A horizontal line must meet the graph at most once. Strict increase or strict decrease on the domain is sufficient, but is not the definition or a necessary condition for every function.

    Repeated outputRestrict only when the task allows it

    Without a suitable restriction there is no inverse function on the original range. A restriction keeps the rule but defines a different function. Follow the requested restriction criterion; do not assume there is one unique “largest” choice.

    Do not start by swapping letters in a many-to-one rule. The reversed relation could have more than one output for an input.

  2. Solve for the original input and choose its branch

    Write y=f(x), then express the original input x in terms of y. Use the original input restrictions before renaming the inverse's variable.

    y=x2−1,x<0.y=x^2-1,\quad x<0.

    x=−y+1.x=-\sqrt{y+1}.

    Square-root signKeep the allowed positive or negative root

    From x2=y+1x^2=y+1 the relation gives x=±y+1x=\pm\sqrt{y+1}. In this example the original input is negative, so only the negative root is allowed. Choosing the positive root would invert a different branch.

    NotationInverse does not mean reciprocal

    The inverse f−1f^{-1} reverses the mapping. It is generally different from 1/f1/f. Rename the input only after solving; the new input represents an output of the original function.

    For trigonometric functions, use the specified injective restriction or the principal branch when appropriate. Endpoint and angle-unit conditions remain part of the definition.

  3. State the domain and verify the reversal

    Define the inverse on the original range and give its range as the original domain. Carry open and closed endpoints across the exchange.

    Df−1=Rf.D_{f^{-1}}=R_f.

    Rf−1=Df.R_{f^{-1}}=D_f.

    DefinitionA rule alone is incomplete

    For f(x)=x2−1f(x)=x^2-1, x<0x<0, the range is (−1,∞)(-1,\infty). Thus f−1(x)=−x+1f^{-1}(x)=-\sqrt{x+1} has domain x>−1x>-1 and range (−∞,0)(-\infty,0). The excluded vertex remains excluded.

    VerificationCheck on the correct sets

    Verify f−1(f(x))=xf^{-1}(f(x))=x for x∈Dfx\in D_f, and f(f−1(y))=yf(f^{-1}(y))=y for y∈Rfy\in R_f. These identity mappings can have different domains. One numerical pair is a useful check, but does not prove the identities for all allowed inputs.

    A reflected graph exchanges (a,b) with (b,a) across y=x, using equal axis scales. Keep the actual graph or explorer for geometry; this method map is a checklist for the reasoning.

Try a worked example

Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.

Example 6: keep the open endpoint

For f(x)=2x+1f(x)=2x+1, x>0x>0, predict the inverse domain before rearranging the rule. Is 1 an allowed inverse input?

Show reasoning
  1. 1. Find the reached outputs

    The increasing rule sends positive inputs to outputs greater than 1. It never reaches 1, so the inverse domain is (1,∞).

    Df=(0,∞),Rf=(1,∞).\begin{aligned}D_f&=(0,\infty),\\R_f&=(1,\infty).\end{aligned}
  2. 2. Reverse and check

    Solving y=2x+1 gives the inverse rule. The source pair f(5)=11 checks that the inverse sends 11 back to 5; the algebra establishes the reversal for all allowed inputs.

    f−1(y)=y−12(y>1),f−1(f(x))=(2x+1)−12=x(x>0).\begin{aligned}&f^{-1}(y)\\&=\frac{y-1}{2}\quad(y>1),\\&f^{-1}(f(x))\\&=\frac{(2x+1)-1}{2}\\&=x\quad(x>0).\end{aligned}
Continue with the lesson question

Example 7: keep the negative branch

For f(x)=x2−1f(x)=x^2-1, x<0x<0, explain why the inverse cannot be +x+1+\sqrt{x+1}. What happens to the excluded input 0?

Show reasoning
  1. 1. Use the original sign restriction

    The inverse must return a negative original input. Since y>−1, the radical is positive and its negative gives the required branch.

    y=x2−1,x=−y+1,(y>−1).\begin{aligned}y&=x^2-1,\\x&=-\sqrt{y+1},\\&\quad(y>-1).\end{aligned}
  2. 2. Preserve both open boundaries

    The original output −1 would require the excluded original input 0. The inverse therefore excludes −1 from its domain and 0 from its range.

    Df−1=(−1,∞),Rf−1=(−∞,0).\begin{aligned}D_{f^{-1}}&=(-1,\infty),\\R_{f^{-1}}&=(-\infty,0).\end{aligned}
  3. 3. Check the sign in the reverse composition

    The square root of x² is |x|. Its negative equals x because x is negative; omitting this sign check would hide the branch error.

    f−1(f(x))=−x2=−∣x∣=x(x<0),f(f−1(y))=(−y+1)2−1=y(y>−1).\begin{aligned}&f^{-1}(f(x))\\&=-\sqrt{x^2}\\&=-|x|=x\quad(x<0),\\&f(f^{-1}(y))\\&=(-\sqrt{y+1})^2-1\\&=y\quad(y>-1).\end{aligned}
Continue with the lesson question

Compare the forward and reverse mappings

Expand diagram

Use the scrollbars or arrow keys to inspect details.

f sends x in its domain to y in its range; f inverse reverses y to x, so domain/range swap. Source example maps 5 to 11 by 2x+1 and 11 back to 5.
f sends x in its domain to y in its range; f inverse reverses y to x, so domain/range swap. Source example maps 5 to 11 by 2x+1 and 11 back to 5.
f sends x in its domain to y in its range; f inverse reverses y to x, so domain/range swap. Source example maps 5 to 11 by 2x+1 and 11 back to 5.
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),(2,1) and asymptotes y=0,x=0. Source bases 2,e exceed 1; logarithms with bases between 0,1 decrease.
Equal-scale y=2^x and y=log₂x reflect in y=x, with points(0,1),(1,0),(1,2),(2,1) and asymptotes y=0,x=0. Source bases 2,e exceed 1; logarithms with bases between 0,1 decrease.
Equal-scale y=2^x and y=log₂x reflect in y=x, with points(0,1),(1,0),(1,2),(2,1) and asymptotes y=0,x=0. Source bases 2,e exceed 1; logarithms with bases between 0,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], 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], 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], 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,π], endpoints (0,1),(π,−1), reflects in y=x to arccos on[−1,1], endpoints (−1,π),(1,0), y-interceptπ/2. All endpoints included.
Cosine restricted to[0,π], endpoints (0,1),(π,−1), reflects in y=x to arccos on[−1,1], endpoints (−1,π),(1,0), y-interceptπ/2. All endpoints included.
Cosine restricted to[0,π], endpoints (0,1),(π,−1), reflects in y=x to arccos on[−1,1], endpoints (−1,π),(1,0), 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