Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Inverse Functions






Undoing Functions

Some processes can be reversed. Encryption can be decrypted. Compression can be decompressed. A temperature converted to Fahrenheit can be converted back to Celsius. The function that performs the reversal is the inverse — it undoes what the original function did.

Given a function ff that transforms input aa into output bb, the inverse function f−1f^{-1} transforms bb back into aa. The round trip leaves you where you started. Not every function has an inverse, but those that do reveal a symmetric relationship between input and output.

Key Terms

Core

Inverse Function— reverses ff: if f(a)=bf(a) = b then f−1(b)=af^{-1}(b) = a
One-to-One Function— the requirement for an inverse to exist; each output traces to exactly one input
Composition of Functions— verifies inverses: f(f−1(x))=xf(f^{-1}(x)) = x and f−1(f(x))=xf^{-1}(f(x)) = x

Domain–Range Swap

Domain— the domain of ff becomes the range of f−1f^{-1}
Range— the range of ff becomes the domain of f−1f^{-1}


See All Function Definitions →


What is an Inverse Function

Often you know the result of a process and need what went in.
A temperature was converted to Fahrenheit and you want the Celsius back; a price was doubled and you want the original. Working backwards case by case is tedious — what is wanted is a single rule that runs the process in reverse.
-10-5510-55f(x) = 2x · f⁻¹(x) = x/2
f(x)=2xf(x) = 2x and the function that undoes it, x/2x/2, drawn together. The same state is on the inverse function explorer.
For f(x) = 2x, reading each pair backwards gives the reverse rule.
Consider f(x)=2xf(x) = 2x, which doubles its input. The inverse f−1(x)=x/2f^{-1}(x) = x/2 halves its input. If f(3)=6f(3) = 6, then f−1(6)=3f^{-1}(6) = 3. Doubling then halving — or halving then doubling — restores the original value.
Pitfall: Reading the inverse as a reciprocal
Taking f−1(x)f^{-1}(x) for f(x)=2xf(x) = 2x to be 12x\frac{1}{2x} gives f−1(6)=112f^{-1}(6) = \frac{1}{12}, but f(112)=16f\left(\frac{1}{12}\right) = \frac{1}{6}, not 66. The inverse undoes the doubling: f−1(x)=x2f^{-1}(x) = \frac{x}{2}, so f−1(6)=3f^{-1}(6) = 3.
input xf(x) = 2xread backwards: output → input
−1−2−2 → −1
000 → 0
366 → 3
51010 → 5
The question behind every inverse is the same: which input did ff start from to reach a given output? For f(x)=2xf(x) = 2x, the output 66 came from 33, the output 1010 from 55, and in general each output came from half of itself. The inverse is the function that answers this question for every output at once.
Consider f(x)=x+5f(x) = x + 5, which adds five. The inverse f−1(x)=x−5f^{-1}(x) = x - 5 subtracts five. Adding then subtracting five is a round trip to nowhere.
Nothing was chosen: each backward value was forced, because each output came from one input.
To send 66 back there was only one candidate — 33 is the only number that doubles to 66. That uniqueness is what made the reverse rule possible at all, and it fails for squaring, where 33 and −3-3 both give 99.
Doubling can be undone; squaring cannotinput xf(x) = 2x−103−206each output from one input: reversibleinput xf(x) = x²−3−223499 comes from 3 and −3: no way back
One function can be run backwards, the other cannot

Doubling sends −1, 0 and 3 to −2, 0 and 6, and every output has exactly one arrow coming in, so each arrow can be followed back: f⁻¹(6) = 3. Squaring sends both 3 and −3 to 9; standing at 9 there are two arrows to retrace and no rule for choosing, so x² on all real numbers has no inverse.

Only a function whose outputs each come from one input can be reversed.
The definition
The inverse function f−1f^{-1} of a function ff sends each output of ff back to the input that produced it. An inverse function reverses the action of the original function. If ff takes input aa and produces output bb, then f−1f^{-1} takes input bb and produces output aa.
Inverse Function Definition
f(a)=b  ⟺  f−1(b)=af(a) = b \iff f^{-1}(b) = a
Learn more about this formula: Inverse Function Definition →
An inverse is itself a function, paired with the original.
It takes inputs and gives outputs like any function; its inputs are the outputs of ff, and its outputs are the inputs of ff. The two functions undo each other. Applying ff then f−1f^{-1} returns to the starting point. Applying f−1f^{-1} then ff also returns to the starting point.
Reading backwards generalizes; the guaranteed single answer was particular to these examples.
What generalizes is the idea: swap the roles of input and output. What was particular is that doubling and adding 55 never send two inputs to the same output.
Not every function has an inverse. The function f(x)=x2f(x) = x^2 on (−∞,∞)(-\infty, \infty) sends both 33 and −3-3 to 99. Given output 99, there is no unique input to recover — the reversal is ambiguous. Functions without unique input-output pairings cannot be inverted.
The rest of the page covers the notation, the graph of an inverse as a reflection over y=xy = x, finding inverses algebraically, how domain and range swap, checking inverses by composition, the horizontal line test, the one-to-one requirement, and restricting a domain to make an inverse exist.

Inverse Function Notation

Notation

Inverse Function Notation

The general home of the −1-1 superscript's double life: the label that undoes, the spellings that keep the reciprocal safe, and the operators that name a function's two sets. Both conventions are catalogued among the function symbols, and the table below computes them side by side for one example function.
f(x)f(x) and substitution come from function notation; the interval marks of the swapped sets from domain and range notation.
f−1(x)f^{-1}(x)
f inverse of x
A label wearing an exponent's clothes: the −1-1 marks the undo-function — f−1(f(x))=xf^{-1}(f(x)) = x — and raises nothing to any power. Fourth member of the corner census: reciprocals on numbers, inversion on complex numbers and matrices.
CasesFinding it runs on a letter swap — Step 2 of Finding Inverse Algebraically below trades xx for yy — and the graph mirrors the swap: (a,b)(a, b) on ff becomes (b,a)(b, a) on f−1f^{-1}, per Inverse as Reflection over y = x below.
Do not confuseThe reciprocal. f−1(x)≠1f(x)f^{-1}(x) \neq \frac{1}{f(x)} — different functions, different graphs, different values; the trig family carries the same hazard in sin⁡−1\sin^{-1} versus csc⁡\csc.
1f(x)\frac{1}{f(x)} · (f(x))−1(f(x))^{-1}
one over f of x
The safe spellings for the reciprocal: the fraction bar says division outright, and (f(x))−1(f(x))^{-1} puts the exponent on the value — the parentheses redirect the −1-1 from function to output.
CasesBracket position is the entire message: (f(x))−1(f(x))^{-1} inverts a number, f−1(x)f^{-1}(x) inverts a mapping — one glyph pair apart; the bare f−1f^{-1} stays reserved for the inverse function.
Do not confuseInterchangeable forms. Writing f−1f^{-1} for a reciprocal "just this once" is how the collision propagates — the convention only works because the bare form is never lent out.
Dom(f)\text{Dom}(f) · Ran(f)\text{Ran}(f)
the domain of f; the range of f
Set-naming operators: they turn "the domain of ff" into a symbol that fits inside a formula — the swap identity Dom(f−1)=Ran(f)\text{Dom}(f^{-1}) = \text{Ran}(f) of Domain and Range Swap below is their showcase.
CasesSpellings vary by text — lowercase dom⁡f\operatorname{dom} f, subscripted DfD_f; the sets themselves are then written with domain and range notation.
Do not confuseFunction application. Dom(f)\text{Dom}(f) takes a function and returns a set — it is not ff evaluated anywhere; the parentheses here hold a function's name, not an input.
DownloadPNG2×PDF
Notation · Cheat sheet
Function Notation at a Glance
The marks from the notation cards across the function pages: how each is read and what it means. Every group links to the full card on its page.
Basics
f(x)f(x)
f of x
ff names the rule, f(x)f(x) its output; never f times x.
g(t),  P(n)g(t), \; P(n)
g of t; P of n
Any letter can name a function; tt hints at time, nn at counting.
f(x+1)f(x + 1)
f of x plus one
Whatever is in the brackets replaces xx everywhere.
Domain
[2,5)[2, 5)
two included, five excluded
Square bracket in, round bracket out.
{x∣x≥0}\{x \mid x \geq 0\}
all x such that
Set-builder: the variable, then the test it must pass.
(a,b)∪(c,d)(a, b) \cup (c, d)
a union of intervals
For domains in separate pieces, as (−∞,−1)∪(1,∞)(-\infty, -1) \cup (1, \infty).
Range
{y∣y≥0}\{y \mid y \geq 0\}
all y such that
The same grammar on the output side.
f:R→Rf: \mathbb{R} \to \mathbb{R}
f from R to R
Domain, then codomain; the range may be smaller.
{2,5,7}\{2, 5, 7\}
exactly these outputs
A finite range listed in braces.
Function arithmetic
(f+g)(x)(f + g)(x)
f plus g, of x
Equals f(x)+g(x)f(x) + g(x); the same for f−gf - g.
(fg)(x)(fg)(x)
f times g, of x
Equals f(x) g(x)f(x)\,g(x).
(fg)(x)\left(\frac{f}{g}\right)(x)
f over g, of x
Equals f(x)g(x)\frac{f(x)}{g(x)}, only where g(x)≠0g(x) \neq 0.
Composition
f∘gf \circ g
f after g
Feed the output of gg into ff; read right to left.
f(g(x))f(g(x))
f of g of x
The same thing, evaluated inside out.
fg(x)fg(x)
ambiguous
Could mean a product; avoid it for composition.
Inverse functionsThis page
f−1(x)f^{-1}(x)
f inverse of x
The function that undoes ff: f−1(f(x))=xf^{-1}(f(x)) = x.
1f(x),  (f(x))−1\frac{1}{f(x)}, \; (f(x))^{-1}
one over f of x
The reciprocal: a different thing.
Dom(f),  Ran(f)\text{Dom}(f), \; \text{Ran}(f)
domain and range of f
They swap: Dom(f−1)=Ran(f)\text{Dom}(f^{-1}) = \text{Ran}(f).
Piecewise functions
{2xx<05x≥0\begin{cases} 2x & x < 0 \\ 5 & x \geq 0 \end{cases}
defined by cases
Use the row whose condition holds.
x<1,  x≥1x < 1, \; x \geq 1
split at the boundary
Each cut point belongs to exactly one row.
∙,  ∘\bullet, \; \circ
solid dot, open dot
On a graph: endpoint included, endpoint excluded.
Transformations
af(b(x−h))+ka f(b(x - h)) + k
the four-knob form
Outside letters move it vertically, inside letters horizontally.
f(x−h)f(x - h)
f of x minus h
Shifts right by hh: the sign goes the opposite way.
−f(x)-f(x) vs f(−x)f(-x)
two mirrors
Flip across the xx-axis against flip across the yy-axis.
Same marks, different job
f−1f^{-1} vs 1f\frac{1}{f}The inverse function against the reciprocal.
f(x)f(x)The brackets apply ff; they never mean multiplication.
(2,5)(2, 5)An open interval in a domain; a point in the plane on a graph.
the bar ∣\midSuch that, inside set braces; given, inside P(⋅)P(\cdot); divides, between integers.
Function Notation at a Glance·/functions/basicsLearn Math Class
DownloadPNG2×PDF
Layout
NotationWhat it representsFor f(x) = 2x + 3
f⁻¹(x)the inverse function — undoes f(x − 3) ⁄ 2
1 ⁄ f(x), or (f(x))⁻¹the reciprocal — multiplicative inverse of the output value1 ⁄ (2x + 3)
Inverse Function NotationLearn Math Class
-10-5510-55f(x) = x³ · f⁻¹(x) = ∛x
f(x) = x³ and f⁻¹(x) = ∛x, mirrored in y = x

The cube and the cube root are drawn together with the dashed line y = x between them, and each is the other’s mirror image across that line: the point (2, 8) on one becomes (8, 2) on the other. Swapping input and output is a reflection. Pick any pair and watch the mirror on the inverse function explorer.

Every algebraic fact about inverses has a mirror-image counterpart in this picture.

Inverse as Reflection over y = x

THEOREM
The graph of f−1f^{-1} is the reflection of the graph of ff across the line y=xy = x.

Every point (a,b)(a, b) on the graph of ff corresponds to a point (b,a)(b, a) on the graph of f−1f^{-1}. The coordinates swap because input and output swap roles.

If ff passes through (2,5)(2, 5), then f−1f^{-1} passes through (5,2)(5, 2). If ff passes through (−1,3)(-1, 3), then f−1f^{-1} passes through (3,−1)(3, -1).

The line y=xy = x is the mirror. Points on this line satisfy y=xy = x, so swapping coordinates leaves them unchanged — they are fixed points of the reflection.

Pitfall: Reflecting across an axis instead of y = x
Mirroring the point (2,5)(2, 5) of ff in the yy-axis gives (−2,5)(-2, 5), a point of f(−x)f(-x), not of f−1f^{-1}. The mirror is the line y=xy = x, which swaps the coordinates: f−1f^{-1} passes through (5,2)(5, 2).

This geometric relationship provides a visual test. Graph a function, draw the line y=xy = x, and reflect the curve across that line. The result is the graph of the inverse function (if it exists).

The reflection also reveals features. If ff has a horizontal asymptote, f−1f^{-1} has a vertical asymptote at the same value. If ff is increasing, f−1f^{-1} is increasing. The shapes are congruent, just positioned symmetrically across y=xy = x.
Points (2, 5) and (-1, 3) on f reflect to (5, 2) and (3, -1) on the inverse−2−2−1−1112233445566xyy = x(2, 5) on f(5, 2) on f⁻¹(−1, 3) on f(3, −1) on f⁻¹(4, 4) stays putSwapping the coordinates reflects a point across y = x
Coordinates swapped, points mirrored

The section's two points: (2, 5) on f becomes (5, 2) on f⁻¹, and (−1, 3) becomes (3, −1). Each pair is joined by a segment that meets the dashed line y = x at a right angle, halfway between the two points: that is exactly a reflection across y = x. A point already on the line, such as (4, 4), is its own swap and does not move.

Doing this to every point of the graph of f produces the graph of its inverse.

Finding Inverse Algebraically

To find the inverse of a function algebraically, solve for the input in terms of the output.

Step 1: Write y=f(x)y = f(x).

Step 2: Swap xx and yy.

Step 3: Solve for yy.

Step 4: Write f−1(x)=f^{-1}(x) = the result.

Example
Find the inverse of f(x)=3x−7f(x) = 3x - 7.
Step 1: y=3x−7y = 3x - 7
Step 2: x=3y−7x = 3y - 7
Step 3: x+7=3yx + 7 = 3y, so y=x+73y = \dfrac{x + 7}{3}
Step 4: f−1(x)=x+73f^{-1}(x) = \dfrac{x + 7}{3}

Example
Find the inverse of f(x)=2x+1x−3f(x) = \dfrac{2x + 1}{x - 3}.
Step 1: y=2x+1x−3y = \dfrac{2x + 1}{x - 3}
Step 2: x=2y+1y−3x = \dfrac{2y + 1}{y - 3}
Step 3: x(y−3)=2y+1x(y - 3) = 2y + 1, so xy−3x=2y+1xy - 3x = 2y + 1, thus xy−2y=3x+1xy - 2y = 3x + 1, giving y(x−2)=3x+1y(x - 2) = 3x + 1, and y=3x+1x−2y = \dfrac{3x + 1}{x - 2}
Step 4: f−1(x)=3x+1x−2f^{-1}(x) = \dfrac{3x + 1}{x - 2}

Pitfall: Undoing the steps in the original order
Undoing "multiply by 33, then subtract 77" in that order gives x3+7\frac{x}{3} + 7, which sends f(1)=−4f(1) = -4 to 173\frac{17}{3} instead of back to 11. The last step comes off first: add 77, then divide by 33, so f−1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}.

Step 3 carries the real work of finding an inverse. The equation from Step 2 shows every operation that ff applies to its input: in x=3y−7x = 3y - 7, the input yy is multiplied by 33, and then 77 is subtracted. Solving for yy removes these operations one at a time until yy stands alone. In the second example the same idea needs one extra move, collecting both yy-terms on one side before factoring yy out.

To invert a function, solve for its input: undo its operations in reverse order until the input stands alone.

For step-by-step results on your own function, use the inverse function calculator on Functions Explorer.
The four steps on the first example of this section. Press Next to carry out one step at a time.
DownloadPNG2×PDF
f(x)=3x−7f(x) = 3x - 7Step 1 of 4
Step
f(x)=3x−7f(x) = 3x - 7
1
Write y=f(x)y = f(x)
y=3x−7y = 3x - 7
2
Swap xx and yy
x=3y−7x = 3y - 7
3
Solve for yyUndo the operations in reverse order
x+7=3yx + 7 = 3y, so y=x+73y = \dfrac{x + 7}{3}
4
Write the result as f−1(x)f^{-1}(x)
f−1(x)=x+73f^{-1}(x) = \dfrac{x + 7}{3}
Finding an inverse, step by step·/functions/inverseLearn Math Class

Domain and Range Swap

The domain of ff becomes the range of f−1f^{-1}. The range of ff becomes the domain of f−1f^{-1}. Formally:

Domain Range Swap of Inverse
Dom(f−1)=Ran(f)andRan(f−1)=Dom(f)\text{Dom}(f^{-1}) = \text{Ran}(f) \quad \text{and} \quad \text{Ran}(f^{-1}) = \text{Dom}(f)
Learn more about this formula: Domain Range Swap of Inverse →


This swap is exact and complete. Every input of ff is an output of f−1f^{-1}, and every output of ff is an input of f−1f^{-1}.

Let f(x)=xf(x) = \sqrt{x} with domain [0,∞)[0, \infty) and range [0,∞)[0, \infty).

The inverse is f−1(x)=x2f^{-1}(x) = x^2, but restricted: domain [0,∞)[0, \infty) and range [0,∞)[0, \infty).

The full function g(x)=x2g(x) = x^2 on (−∞,∞)(-\infty, \infty) is not the inverse of x\sqrt{x} — that would require negative inputs, which x\sqrt{x} never produces.

Let f(x)=exf(x) = e^x with domain (−∞,∞)(-\infty, \infty) and range (0,∞)(0, \infty).

The inverse is f−1(x)=ln⁡(x)f^{-1}(x) = \ln(x) with domain (0,∞)(0, \infty) and range (−∞,∞)(-\infty, \infty).

Exponentials accept all real inputs and produce only positive outputs. Logarithms accept only positive inputs and produce all real outputs. The swap is symmetric.

When finding an inverse, always verify that the domain and range correctly swap.
-10-5510-55f(x) = √x · f⁻¹(x) = x² (x ≥ 0)
f(x) = √x and f⁻¹(x) = x² for x ≥ 0

The square root takes inputs from [0, ∞) and returns outputs in [0, ∞); its inverse is only the right half of the parabola, with the same domain and range traded. The left half of x² never appears, because √x never outputs a negative number for it to send back. Compare other inverse pairs and their domains on the inverse function explorer.

The inverse inherits its domain from the range of f, so it is never larger than what f actually outputs.

Verifying Inverses via Composition

Two functions are inverses if and only if their compositions yield the identity function — the function that returns its input unchanged.

For ff and f−1f^{-1} to be inverses, both compositions must reduce to xx:

Inverse Composition Property
f(f−1(x))=xandf−1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x
Learn more about this formula: Inverse Composition Property →


The first equation holds for xx in the domain of f−1f^{-1}; the second holds for xx in the domain of ff. Both conditions must hold.

Verify that f(x)=5x−2f(x) = 5x - 2 and g(x)=x+25g(x) = \dfrac{x + 2}{5} are inverses.

Verifying Inverses via Composition
f(g(x))=f(x+25)=5⋅x+25−2=(x+2)−2=x✓f(g(x)) = f\left(\frac{x + 2}{5}\right) = 5 \cdot \frac{x + 2}{5} - 2 = (x + 2) - 2 = x \checkmark

Verifying Inverses via Composition
g(f(x))=g(5x−2)=(5x−2)+25=5x5=x✓g(f(x)) = g(5x - 2) = \frac{(5x - 2) + 2}{5} = \frac{5x}{5} = x \checkmark

Both compositions return xx, confirming that g=f−1g = f^{-1}.

If either composition fails to simplify to xx, the functions are not inverses. This verification catches algebraic errors in finding inverses.
The two compositions above, split at each equals sign, with the reason for every step.
DownloadPNG2×PDF
Provef(x)=5x−2f(x) = 5x - 2 and g(x)=x+25g(x) = \dfrac{x + 2}{5} are inverses
1
f(g(x))=f(x+25)f(g(x)) = f\left(\frac{x + 2}{5}\right)
substitutePut g(x)g(x) into ff
2
=5⋅x+25−2= 5 \cdot \frac{x + 2}{5} - 2
apply fff multiplies by 55 and subtracts 22
3
=(x+2)−2= (x + 2) - 2
cancelThe 55s cancel
4
=x= x
first checkThe first composition returns xx
5
g(f(x))=g(5x−2)g(f(x)) = g(5x - 2)
substitutePut f(x)f(x) into gg
6
=(5x−2)+25= \frac{(5x - 2) + 2}{5}
apply ggg adds 22 and divides by 55
7
=5x5=x= \frac{5x}{5} = x
second checkThe second composition returns xx as well
g=f−1g = f^{-1}
Both compositions return xx.
Verifying an inverse pair by compositionLearn Math Class
Each composition undoes the other function's operations in reverse order, which is why both chains collapse to xx.
f(g(3)) = 3 and g(f(3)) = 3 for f(x) = 5x - 2, g(x) = (x + 2)/5f(g(3))313g(x + 2)/5f5x − 2g first, then fg(f(3))3133f5x − 2g(x + 2)/5f first, then gBoth orders bring 3 back: g undoes f and f undoes g
A round trip in both orders

The section's pair, f(x) = 5x − 2 and g(x) = (x + 2)/5, run on the input 3. Through g then f: 3 becomes 1, then 3 again. Through f then g: 3 becomes 13, then 3 again. Both orders return the input unchanged, which is what the two composition conditions demand.

One input is only a check; the algebra above proves the round trip for every x.

The Horizontal Line Test

The horizontal line test determines whether a function has an inverse.

RULEHorizontal Line Test
If every horizontal line intersects the graph at most once, the function is one-to-one and has an inverse.

If any horizontal line intersects the graph more than once, the function is not one-to-one and has no inverse (on that domain).

Pitfall: Using vertical lines to test for an inverse
Checking f(x)=(x−1)2f(x) = (x - 1)^2 with vertical lines finds one crossing each and declares it invertible. Vertical lines only show that it is a function; the horizontal line y=4y = 4 meets it at x=−1x = -1 and x=3x = 3, so it has no inverse on all real numbers.

The test works because horizontal lines represent constant outputs. If a horizontal line crosses the graph twice, two different inputs produce the same output. The inverse would need to send that output back to two different inputs simultaneously — impossible for a function.

The parabola f(x)=x2f(x) = x^2 fails the horizontal line test. The line y=4y = 4 intersects the graph at x=2x = 2 and x=−2x = -2. Both inputs produce output 44; the inverse cannot determine which to return.

The cubic f(x)=x3f(x) = x^3 passes the horizontal line test. Every horizontal line intersects the graph exactly once. Each output comes from exactly one input, so the inverse is well-defined: f−1(x)=x3f^{-1}(x) = \sqrt[3]{x}.

Exponential functions pass. Logarithmic functions pass. Linear functions with nonzero slope pass. Quadratics, absolute value, and cosine (on their natural domains) fail.
Horizontal line test: x squared fails, x cubed passesf(x) = x²xyy = 4y = 1−2 and 2 both give 4: no inversef(x) = x³xyy = 4y = 1y = −3one crossing per line: f⁻¹(x) = ∛xTwo crossings on one horizontal line = one output from two inputs
The parabola fails, the cubic passes

On the parabola, the line y = 4 crosses at x = −2 and x = 2: two inputs share the output 4, so the inverse would not know which to return. Every horizontal line meets the cubic exactly once, so each output comes from one input and f⁻¹(x) = ∛x is well defined.

A failing graph can still be inverted on a smaller domain, as the restriction section below shows.

One-to-One Requirement

THEOREM
A function has an inverse if and only if it is one-to-one: each output comes from exactly one input.

One-to-one means: if f(a)=f(b)f(a) = f(b), then a=ba = b. Different inputs always produce different outputs.

This property is necessary for reversal. To recover the input from the output, the output must point to a unique input. If multiple inputs share an output, the reversal is ambiguous.

Algebraic test: Assume f(a)=f(b)f(a) = f(b) and attempt to prove a=ba = b. If this always follows, the function is one-to-one.

For f(x)=3x+7f(x) = 3x + 7: If 3a+7=3b+73a + 7 = 3b + 7, then 3a=3b3a = 3b, so a=ba = b. One-to-one. ✓

For f(x)=x2f(x) = x^2: If a2=b2a^2 = b^2, then a=±ba = \pm b, which does not imply a=ba = b. Not one-to-one. ✗

Graphical test: the horizontal line test, as described above.

Strictly monotonic functions — those that only increase or only decrease, with no flat stretches — are always one-to-one. They never produce the same output twice because they never turn around.
The card lines up a function that passes the one-to-one test beside one that fails it, and names where the boundary comes from.
DownloadPNG2×PDF
Inverse functions

One-to-one, or no inverse

Different inputs must always produce different outputs.
ff has an inverse   ⟺  \iff ff is one-to-one
Algebraic test: assume f(a)=f(b)f(a) = f(b) and try to prove a=ba = b.
if f(a)=f(b)f(a) = f(b), then a=ba = b
One-to-one
Not one-to-one
f(x)=3x+7f(x) = 3x + 7
If 3a+7=3b+73a + 7 = 3b + 7, then 3a=3b3a = 3b, so a=ba = b.
f(x)=x2f(x) = x^2
If a2=b2a^2 = b^2, then a=±ba = \pm b, which does not imply a=ba = b.
Strictly monotonic functions
Only increasing or only decreasing, no flat stretches: they never produce the same output twice.
A function that turns around
Multiple inputs share an output; the reversal is ambiguous.
The boundary
Reversal needs each output to point to a unique input. The horizontal line test reads the same condition off the graph.
The one-to-one requirement·/functions/inverseLearn Math Class
An inverse exists exactly when every output points back to one input.

Restricting Domain to Create Inverse

RULE
A function that is not one-to-one on its natural domain can be made one-to-one by restricting the domain. On the smaller domain, an inverse exists.

The function f(x)=x2f(x) = x^2 is not one-to-one on (−∞,∞)(-\infty, \infty). But restricted to [0,∞)[0, \infty), it is one-to-one — the right half of the parabola passes the horizontal line test.

The inverse is f−1(x)=xf^{-1}(x) = \sqrt{x}, defined for x≥0x \geq 0.

Alternatively, restricting to (−∞,0](-\infty, 0] also makes f(x)=x2f(x) = x^2 one-to-one. The inverse would be f−1(x)=−xf^{-1}(x) = -\sqrt{x}, the negative square root.

Pitfall: Taking the positive root on the left branch
Writing f−1(x)=xf^{-1}(x) = \sqrt{x} for f(x)=x2f(x) = x^2 on (−∞,0](-\infty, 0] gives f−1(4)=2f^{-1}(4) = 2, an input outside that domain. The input that ff sends to 44 is −2-2, so f−1(x)=−xf^{-1}(x) = -\sqrt{x}.

Different restrictions yield different inverses. The choice depends on context or convention. For x2x^2, the standard restriction is [0,∞)[0, \infty) because positive square roots are more commonly needed.

Trigonometric functions require restriction for their inverses. The sine function oscillates forever, failing the horizontal line test. Restricted to [−π/2,π/2][-\pi/2, \pi/2], it is one-to-one, enabling arcsin⁡\arcsin. Similar restrictions define arccos⁡\arccos and arctan⁡\arctan.

Restriction sacrifices part of the domain to gain invertibility. The trade-off is necessary whenever the original function is not one-to-one. The table below collects the standard restrictions for the most common non-one-to-one functions along with the inverse each restriction produces.
DownloadPNG2×PDF
Layout
Original functionWhy it fails on its natural domainStandard restrictionResulting inverse
f(x) = x²both x and −x give the same output[0, ∞)f⁻¹(x) = √x
f(x) = x² (alternative)same reason — different valid choice(−∞, 0]f⁻¹(x) = −√x
f(x) = sin(x)oscillates — every value repeats infinitely often[−π⁄2, π⁄2]f⁻¹(x) = arcsin(x)
f(x) = cos(x)oscillates[0, π]f⁻¹(x) = arccos(x)
f(x) = tan(x)oscillates between asymptotes(−π⁄2, π⁄2)f⁻¹(x) = arctan(x)
Restricting Domain to Create InverseLearn Math Class
-10-5510-55f(x) = x² (x ≥ 0) · f⁻¹(x) = √x
f(x) = x² restricted to x ≥ 0: inverse √x

The full parabola fails the horizontal line test, so only its right half is kept, drawn solid; that half is one-to-one and its reflection in y = x is the square root. The left half, faint, is the part given up to make the inverse exist. See the restriction and the resulting inverse on the inverse function explorer.

The restriction is a choice, and the conventional choice is the one that keeps the principal branch.

Graphing Inverse from Original

Given the graph of ff, the graph of f−1f^{-1} is obtained by reflection across the line y=xy = x.

Method 1: Reflect visually. Draw the line y=xy = x as a mirror. Reflect each point on the graph of ff across this line. The reflected curve is the graph of f−1f^{-1}.

Method 2: Swap coordinates of key points. Identify several points on the graph of ff: (a1,b1),(a2,b2),…(a_1, b_1), (a_2, b_2), \ldots Plot the points (b1,a1),(b2,a2),…(b_1, a_1), (b_2, a_2), \ldots Connect them with an appropriate curve.

Features transform predictably:

The yy-intercept of ff becomes the xx-intercept of f−1f^{-1}.

The xx-intercept of ff becomes the yy-intercept of f−1f^{-1}.

A horizontal asymptote of ff becomes a vertical asymptote of f−1f^{-1}.

A vertical asymptote of ff becomes a horizontal asymptote of f−1f^{-1}.

Fact: Increasing graphs cross their inverse on y=xy = x
When ff is increasing, ff and f−1f^{-1} meet only on the mirror: a crossing at (a,b)(a, b) off it means f(a)=bf(a) = b and f(b)=af(b) = a, so the larger input would give the smaller output. The decreasing −x3-x^3 does meet its inverse off the line, at (1,−1)(1, -1) and (−1,1)(-1, 1).

If ff is increasing, f−1f^{-1} is increasing. If ff is decreasing, f−1f^{-1} is decreasing.

The graphs of ff and f−1f^{-1} intersect on the line y=xy = x at points where f(a)=af(a) = a, called fixed points — though they can also intersect off that line.

Crossings on the mirror can be found without computing f−1f^{-1} at all: they are the solutions of f(x)=xf(x) = x. For f(x)=x3f(x) = x^3 this gives x3=xx^3 = x, so the graphs of x3x^3 and x3\sqrt[3]{x} meet at (−1,−1)(-1, -1), (0,0)(0, 0) and (1,1)(1, 1). Whether this one equation finds every crossing depends on the shape of ff.

Inverse Function Tables

When a function is given as a table of values, the inverse function table is obtained by swapping the input and output columns.

Original function ff:
x f(x)
14
27
310
413
Inverse function f−1f^{-1}:
x f⁻¹(x)
41
72
103
134
Each row flips: the output of ff becomes the input of f−1f^{-1}, and the input of ff becomes the output of f−1f^{-1}.

The inverse table has the same number of entries. The domain and range swap exactly as described earlier.

If the original table has repeated outputs — the same f(x)f(x) value appearing for different xx values — the function is not one-to-one, and no inverse table exists. The swapped table would have repeated inputs, violating the definition of a function.
Swapping the columns of a table inverts it, as long as no output appears twice.

Common Inverse Pairs

Certain function pairs arise repeatedly as inverses.

Linear: f(x)=mx+bf(x) = mx + b and f−1(x)=x−bmf^{-1}(x) = \dfrac{x - b}{m} (when m≠0m \neq 0).

Quadratic/Square root: f(x)=x2f(x) = x^2 on [0,∞)[0, \infty) and f−1(x)=xf^{-1}(x) = \sqrt{x}.

Cubic/Cube root: f(x)=x3f(x) = x^3 and f−1(x)=x3f^{-1}(x) = \sqrt[3]{x}.

Exponential/Logarithmic: f(x)=axf(x) = a^x and f−1(x)=log⁡a(x)f^{-1}(x) = \log_a(x). Special case: f(x)=exf(x) = e^x and f−1(x)=ln⁡(x)f^{-1}(x) = \ln(x).

Power/Root: f(x)=xnf(x) = x^n on appropriate domain and f−1(x)=x1/nf^{-1}(x) = x^{1/n}.

Reciprocal: f(x)=1/xf(x) = 1/x is its own inverse: f−1(x)=1/xf^{-1}(x) = 1/x. Taking the reciprocal twice returns the original value.

Trigonometric: sin⁡\sin on [−π/2,π/2][-\pi/2, \pi/2] and arcsin⁡\arcsin; cos⁡\cos on [0,π][0, \pi] and arccos⁡\arccos; tan⁡\tan on (−π/2,π/2)(-\pi/2, \pi/2) and arctan⁡\arctan.

Recognizing these pairs accelerates both finding inverses and verifying that two given functions are inverses. The table below catalogs each pair with brief notes on when restrictions apply.
DownloadPNG2×PDF
Layout
Function fInverse f⁻¹Notes
Linear: f(x) = mx + b(x − b) ⁄ mrequires m ≠ 0
Quadratic: x² on [0, ∞)√xrequires domain restriction
Cubic: x³∛xno restriction needed — already one-to-one
Power: xⁿ on appropriate domainx^(1⁄n)even n requires restriction; odd n does not
Exponential: aˣ (a > 0, a ≠ 1)logₐ(x)special case: eˣ ↔ ln(x)
Reciprocal: 1 ⁄ x1 ⁄ xself-inverse — applying twice returns the input
Sine on [−π⁄2, π⁄2]arcsin(x)requires restriction; domain of arcsin is [−1, 1]
Cosine on [0, π]arccos(x)requires restriction; domain of arccos is [−1, 1]
Tangent on (−π⁄2, π⁄2)arctan(x)requires restriction; domain of arctan is ℝ
Common Inverse PairsLearn Math Class
-10-5510-55f(x) = eˣ · f⁻¹(x) = ln(x)
f(x) = eˆx and f⁻¹(x) = ln x

The exponential and the logarithm are mirror images in y = x: the exponential’s horizontal asymptote y = 0 becomes the logarithm’s vertical asymptote x = 0, and the point (0, 1) becomes (1, 0). Domain and range have traded places. Compare the other classic pairs on the inverse function explorer.

Each pair in the list is a reflection in the same line.
DownloadPNG2×PDF
Before you read
Nine inverse pairs
Some functions are one-to-one as they stand; others need their domain restricted before an inverse exists.
  • L0Common inverse pairs
    • L1Already one-to-one
      • L2Linearrequires m ≠ 0mx + b ↔ (x − b)/m
      • L2Cubicno restriction neededx³ ↔ ∛x
      • L2Exponentialeˣ ↔ ln x as the special caseaˣ ↔ logₐ x
      • L2Reciprocalself-inverse1/x ↔ 1/x
    • L1Domain restriction required
      • L2Quadraticon [0, ∞)x² ↔ √x
      • L2Powereven n needs the restriction, odd n does notxⁿ ↔ x^(1/n)
      • L2Sineon [−π/2, π/2]sin ↔ arcsin
      • L2Cosineon [0, π]cos ↔ arccos
      • L2Tangenton (−π/2, π/2)tan ↔ arctan
Takeaway
Each pair is a reflection
Every pair in the list is a reflection across the line y = x.
Common inverse pairs·/functions/inverseLearn Math Class

Inverses in Context

Inverse functions model real-world processes that can be reversed.

Temperature conversion: F(C)=95C+32F(C) = \frac{9}{5}C + 32 converts Celsius to Fahrenheit. The inverse C(F)=59(F−32)C(F) = \frac{5}{9}(F - 32) converts Fahrenheit back to Celsius.

Encoding and decoding: An encryption function scrambles data; the decryption function (its inverse) recovers the original. Without an inverse, decryption would be impossible.

Fact: ROT13 decodes itself
A shift of 1313 is its own inverse: two shifts move each letter 2626 places, once round the alphabet. One rule both hides and reveals a text, which is why Usenet readers used ROT13 to hide spoilers and joke punchlines.

A simple example is the shift cipher, used by Julius Caesar. Each letter moves a fixed number of places along the alphabet, wrapping from Z back to A, so with a shift of 33 the word CAT becomes FDW. Decoding is the inverse function: it moves every letter 33 places back.

Unit conversion: Any reversible unit conversion involves inverse functions. Miles to kilometers and kilometers to miles; pounds to kilograms and back.

Solving equations: If f(x)=bf(x) = b, then x=f−1(b)x = f^{-1}(b). The inverse function provides the solution directly. To solve ex=10e^x = 10, apply the inverse of exe^x: x=ln⁡(10)x = \ln(10).

Financial calculations: Converting interest rate to growth factor and back. Computing principal from future value.

In each case, the inverse answers the reverse question. If the original function asks "given input, what is output?" the inverse asks "given output, what was the input?"

Formula Summary

This summary groups the formulas of inverse functions into two families, and the buttons above the cards show one at a time. The first holds the rules: the definition, which sends each output back to its input, the one-to-one condition an inverse needs, the swap of domain and range, and the two compositions that return the input.

The second family lists common pairs of a function and its inverse: a line, the square and the square root, the cube and the cube root, the exponential and the logarithm, and the reciprocal, which is its own inverse. Every formula carries a short note with a link to the section that explains it.
DownloadPNG2×PDF
Rules of the inverse6 formulas
What an inverse does and how to check it.
f(a)=b  ⟺  f−1(b)=af(a) = b \iff f^{-1}(b) = a
The inverse sends each output back to the input it came from, as what is an inverse function defines.
f(a)=f(b)  ⟹  a=bf(a) = f(b) \implies a = b
Only a one-to-one function has an inverse, from the one-to-one requirement.
Dom(f−1)=Ran(f)\text{Dom}(f^{-1}) = \text{Ran}(f)
The outputs of ff are the inputs of its inverse (domain and range swap).
Ran(f−1)=Dom(f)\text{Ran}(f^{-1}) = \text{Dom}(f)
The inputs of ff are the outputs of its inverse, from domain and range swap.
f(f−1(x))=xf(f^{-1}(x)) = x
Applying the inverse and then ff returns the input, for xx in the domain of f−1f^{-1} (verifying inverses via composition).
f−1(f(x))=xf^{-1}(f(x)) = x
The other order returns the input too, for xx in the domain of ff, as verifying inverses via composition shows.
Common inverse pairs10 formulas
A function on the left, its inverse on the right.
f(x)=mx+bf(x) = mx + b
A line with m≠0m \neq 0, from common inverse pairs.
f−1(x)=x−bm\displaystyle f^{-1}(x) = \frac{x - b}{m}
Undoes the line by subtracting bb and dividing by mm (common inverse pairs).
f(x)=x2f(x) = x^2
Restricted to [0,∞)[0, \infty) so that it is one-to-one (common inverse pairs).
f−1(x)=xf^{-1}(x) = \sqrt{x}
The square root undoes the square on that half, from common inverse pairs.
f(x)=x3f(x) = x^3
One-to-one on all real numbers, so no restriction is needed (common inverse pairs).
f−1(x)=x3f^{-1}(x) = \sqrt[3]{x}
The cube root undoes the cube, as common inverse pairs lists.
f(x)=axf(x) = a^x
The exponential with base aa; the special case exe^x pairs with ln⁡(x)\ln(x) (common inverse pairs).
f−1(x)=log⁡a(x)f^{-1}(x) = \log_a(x)
The logarithm with the same base undoes it, from common inverse pairs.
f(x)=1x\displaystyle f(x) = \frac{1}{x}
The reciprocal function, from common inverse pairs.
f−1(x)=1x\displaystyle f^{-1}(x) = \frac{1}{x}
The reciprocal is its own inverse (common inverse pairs).
Inverse function formulas·All function formulasLearn Math Class
The two compositions are the surest test of a candidate inverse, since both must give back the input. Before searching for an inverse at all, the one-to-one condition says whether one exists, and a restricted domain, as with the square, can make one exist.

Common Pitfalls

Six mistakes come up again and again when finding and using inverse functions. Five are marked where they happen in the sections above; forgetting to restrict the inverse's domain is the one that Domain and Range Swap already points out. Here each is worked through in full, with the wrong and the right working side by side.
DownloadPNG2×PDF
1Reading the inverse as a reciprocal
The −1-1 in f−1f^{-1} is read as an exponent, so the inverse is computed as one divided by f(x)f(x). On a function name the −1-1 means "the function that undoes ff", not a power.
Start
For f(x)=2xf(x) = 2x, f−1(x)=12xf^{-1}(x) = \frac{1}{2x},
Wrong turn
Error here
So f−1(6)=112f^{-1}(6) = \frac{1}{12}.
Right path
ff doubles its input, so f−1f^{-1} halves it: f−1(x)=x2f^{-1}(x) = \frac{x}{2}, and f−1(6)=3f^{-1}(6) = 3, because f(3)=6f(3) = 6.
Why it happensFor numbers, 5−1=155^{-1} = \frac{1}{5}, and the same superscript is placed on ff. The reciprocal of a function's value is written 1f(x)\frac{1}{f(x)} or (f(x))−1(f(x))^{-1}, never f−1(x)f^{-1}(x).
How to checkApply ff to the answer. f(112)=16f\left(\frac{1}{12}\right) = \frac{1}{6}, not 66, so 112\frac{1}{12} cannot be f−1(6)f^{-1}(6); f(3)=6f(3) = 6 confirms 33.
2Reflecting across an axis instead of y = x
To sketch the inverse, the graph of ff is mirrored in the yy-axis or the xx-axis, the mirrors used for reflections in transformations, instead of in the line y=xy = x.
Wrong turn
Error here
The point (2,5)(2, 5) of ff is mirrored in the yy-axis to (−2,5)(-2, 5), and the mirrored curve, which is the graph of f(−x)f(-x), is taken as the graph of f−1f^{-1}.
Right path
Reflecting in y=xy = x swaps the coordinates, so (2,5)(2, 5) goes to (5,2)(5, 2). For f(x)=2xf(x) = 2x, the point (1,2)(1, 2) goes to (2,1)(2, 1), which lies on f−1(x)=x2f^{-1}(x) = \frac{x}{2}; the yy-axis image (−1,2)(-1, 2) lies on y=−2xy = -2x instead.
Why it happensReflections in the axes are met first, as graph transformations, and the word "reflection" calls them up.
How to checkTake one point (a,b)(a, b) of ff and confirm that the sketch of f−1f^{-1} passes through (b,a)(b, a). Points on the line y=xy = x should not move.
3Undoing the steps in the original order
When the inverse is found by undoing the operations of ff, each operation is reversed correctly, but they are undone in the same order in which ff applied them.
Start
f(x)=3x−7f(x) = 3x - 7 multiplies by 33, then subtracts 77.
Wrong turn
Error here
Undoing in that order, divide by 33, then add 77: f−1(x)=x3+7f^{-1}(x) = \frac{x}{3} + 7.
Right path
The last operation comes off first. Add 77, then divide by 33: f−1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}. The four-step method does this on its own: x=3y−7x = 3y - 7 gives x+7=3yx + 7 = 3y, then y=x+73y = \frac{x + 7}{3}.
Why it happensThe operations are read from left to right, and the undoing follows the same list. As with putting on socks and then shoes, the step done last has to be undone first.
How to checkCompose. f(1)=−4f(1) = -4, and the wrong formula gives −43+7=173\frac{-4}{3} + 7 = \frac{17}{3}, not 11. The right one gives −4+73=1\frac{-4 + 7}{3} = 1.
4Forgetting to restrict the inverse's domain
The inverse formula is found correctly but used on its own natural domain instead of on the range of ff.
Wrong turn
Error here
f(x)=xf(x) = \sqrt{x} has the inverse x2x^2, taken on all real numbers, so f−1(−3)=9f^{-1}(-3) = 9.
Right path
Dom(f−1)=Ran(f)=[0,∞)\text{Dom}(f^{-1}) = \text{Ran}(f) = [0, \infty), so f−1(x)=x2f^{-1}(x) = x^2 only for x≥0x \geq 0. The value f−1(−3)f^{-1}(-3) is not defined, because x\sqrt{x} never outputs −3-3.
Why it happensThe formula x2x^2 looks complete on its own, and on its own it accepts every real number.
How to checkCompose in the order f(f−1(x))f(f^{-1}(x)). At x=−3x = -3 the wrong version gives f(9)=9=3f(9) = \sqrt{9} = 3, not −3-3, so −3-3 cannot be in the domain of f−1f^{-1}.
5Using vertical lines to test for an inverse
To decide whether a function has an inverse, the vertical line test is run instead of the horizontal one. Every graph of a function passes it, so every function seems invertible.
Wrong turn
Error here
Every vertical line meets the graph of f(x)=(x−1)2f(x) = (x - 1)^2 once, so the function is declared invertible on all real numbers.
Right path
The horizontal line y=4y = 4 meets the graph twice, at x=−1x = -1 and x=3x = 3, since (−1−1)2=4(-1 - 1)^2 = 4 and (3−1)2=4(3 - 1)^2 = 4. The output 44 comes from two inputs, so there is no inverse on all real numbers. Restricted to [1,∞)[1, \infty) there is one: f−1(x)=1+xf^{-1}(x) = 1 + \sqrt{x}.
Why it happensThe vertical line test comes first and is the one that gets practised. It answers a different question: whether the graph is a function at all.
How to checkAsk what the line holds fixed. A horizontal line fixes the output, and an inverse needs every output to come from one input.
6Taking the positive root on the left branch
After x2x^2 is restricted to (−∞,0](-\infty, 0], its inverse is written as x\sqrt{x} out of habit, although the inputs of ff, and so the outputs of f−1f^{-1}, are now zero or negative.
Wrong turn
Error here
f(x)=x2f(x) = x^2 on (−∞,0](-\infty, 0], so f−1(x)=xf^{-1}(x) = \sqrt{x} and f−1(4)=2f^{-1}(4) = 2.
Right path
The input in (−∞,0](-\infty, 0] that ff sends to 44 is −2-2, so f−1(4)=−2f^{-1}(4) = -2 and f−1(x)=−xf^{-1}(x) = -\sqrt{x} for x≥0x \geq 0.
Why it happensx\sqrt{x} is the standard inverse of x2x^2, and the restriction that produced that standard is forgotten.
How to checkThe range of f−1f^{-1} must be the restricted domain of ff. Every output of −x-\sqrt{x} is zero or negative, as required; x\sqrt{x} gives positive outputs for every x>0x > 0, and those lie outside (−∞,0](-\infty, 0].
Common pitfalls with inverse functions·/functions/inverseLearn Math Class
Each slip breaks the link between ff and f−1f^{-1}: the inverse sends each output back to its input. It is not the reciprocal, its graph is the mirror image of ff in the line y=xy = x, it undoes the steps of ff in reverse order, its domain is the range of ff, it exists only when every horizontal line meets the graph at most once, and on the branch (−∞,0](-\infty, 0] it takes the negative root. Applying ff to the answer, or composing the two functions, catches each slip.

How Features Swap Under Inversion

Inverting a function swaps the roles of input and output. That single fact propagates outward: every geometric and structural feature of ff transforms in a predictable way for f−1f^{-1}. The table below collects how each feature of ff maps to its counterpart in f−1f^{-1} — useful both as a checklist when sketching an inverse from the original and as a quick reference for anticipating the behavior of an inverse before computing it.
DownloadPNG2×PDF
AspectThe functionIts inverse
Point on the graph(a,b)(a, b)(b,a)(b, a)
DomainDDRR
RangeRRDD
Interceptyy-intercept (0,c)(0, c)xx-intercept (c,0)(c, 0)
Interceptxx-intercept (c,0)(c, 0)yy-intercept (0,c)(0, c)
Asymptotehorizontal, y=Ly = Lvertical, x=Lx = L
Asymptotevertical, x=ax = ahorizontal, y=ay = a
Increasingincreasingincreasing (direction preserved)
Decreasingdecreasingdecreasing (direction preserved)
Fixed pointf(a)=af(a) = a, a point on y=xy = xthe same fixed point, f−1(a)=af^{-1}(a) = a
Click a heading to follow one column
Compositionf∘f−1f \circ f^{-1} is the identity: f(f−1(x))=xf(f^{-1}(x)) = x, and likewise f−1(f(x))=xf^{-1}(f(x)) = x.
Features of f and of Its InverseLearn Math Class

Skills You Should Learn

Each skill opens its step-by-step method page. Skills marked "On this page" are taught above.
Taught on this page
More functions methods
  • Find the range of a functionFind the lowest and highest outputs from the vertex, the endpoints and the end behavior, or solve y=f(x)y = f(x) for xx.
  • Find the domain of a functionList every operation that can fail (denominators, even roots, logs), solve each condition, and intersect the results.
  • Compose two functionsFeed the inner function into the outer one: substitute the whole formula, simplify, then check the domain.
Derivative techniques

Inverse Functions FAQ

Why are the steps undone in reverse order when finding an inverse?

+
Because the last operation applied is the first one exposed. f(x)=3x−7f(x) = 3x - 7 multiplies by 33 and then subtracts 77, so the inverse adds 77 first and then divides by 33: f−1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}. Undoing in the original order gives x3+7\frac{x}{3} + 7, which sends f(1)=−4f(1) = -4 to 173\frac{17}{3} instead of back to 11. It is the order of socks and shoes: what goes on last comes off first.Read more →

Is x\sqrt{x} the only inverse of x2x^2?

+
No. On all real numbers x2x^2 has no inverse, because 33 and −3-3 both give 99. Each way of cutting it down to a one-to-one piece gives its own inverse: on [0,∞)[0, \infty) the inverse is x\sqrt{x}, and on (−∞,0](-\infty, 0] it is −x-\sqrt{x}, which sends 44 back to −2-2. The first is the standard choice only because positive square roots are needed more often.Read more →

Is the inverse of an increasing function also increasing?

+
Yes, and the inverse of a decreasing function is decreasing. Reflecting in y=xy = x swaps the coordinates of every point, so if larger inputs of ff give larger outputs, larger inputs of f−1f^{-1} give larger outputs too, as exe^x and ln⁡x\ln x both rise. A strictly increasing function never turns around, so it never repeats an output and always has an inverse on its range.Read more →

Do a function and its inverse always meet on the line y = x?

+
Not always. When ff is increasing they meet only on the mirror, at the solutions of f(x)=xf(x) = x, so x3x^3 and x3\sqrt[3]{x} meet at (−1,−1)(-1, -1), (0,0)(0, 0) and (1,1)(1, 1) without the inverse ever being computed. A decreasing function can also meet its inverse off the line: −x3-x^3 and its inverse −x3-\sqrt[3]{x} cross at (1,−1)(1, -1) and (−1,1)(-1, 1) as well as at (0,0)(0, 0).Read more →

Can a function be its own inverse?

+
Yes. A function is its own inverse when applying it twice returns the input, f(f(x))=xf(f(x)) = x, and its graph is then symmetric about the line y=xy = x. The reciprocal 1x\frac{1}{x} is one, since taking the reciprocal twice gives back the original value, and so is −x-x. ROT13, the letter shift by 1313, is another: two shifts move each letter 2626 places, once round the alphabet.Read more →