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 f that transforms input a into output b, the inverse function f−1 transforms b back into a. 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.
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.
f(x)=2x and the function that undoes it, x/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)=2x, which doubles its input. The inverse f−1(x)=x/2 halves its input. If f(3)=6, then f−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) for f(x)=2x to be 2x1 gives f−1(6)=121, but f(121)=61, not 6. The inverse undoes the doubling: f−1(x)=2x, so f−1(6)=3.
The question behind every inverse is the same: which input did f start from to reach a given output? For f(x)=2x, the output 6 came from 3, the output 10 from 5, 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+5, which adds five. The inverse f−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 6 back there was only one candidate — 3 is the only number that doubles to 6. That uniqueness is what made the reverse rule possible at all, and it fails for squaring, where 3 and −3 both give 9.
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 functionf−1 of a function f sends each output of f back to the input that produced it. An inverse function reverses the action of the original function. If f takes input a and produces output b, then f−1 takes input b and produces output a.
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 f, and its outputs are the inputs of f. The two functions undo each other. Applying f then f−1 returns to the starting point. Applying f−1 then f 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 5 never send two inputs to the same output.
Not every function has an inverse. The function f(x)=x2 on (−∞,∞) sends both 3 and −3 to 9. Given output 9, 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=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 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) and substitution come from function notation; the interval marks of the swapped sets from domain and range notation.
f−1(x)
f inverse of x
A label wearing an exponent's clothes: the −1 marks the undo-function — f−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 x for y — and the graph mirrors the swap: (a,b) on f becomes (b,a) on f−1, per Inverse as Reflection over y = x below.
Do not confuseThe reciprocal. f−1(x)=f(x)1 — different functions, different graphs, different values; the trig family carries the same hazard in sin−1 versus csc.
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 puts the exponent on the value — the parentheses redirect the −1 from function to output.
CasesBracket position is the entire message: (f(x))−1 inverts a number, f−1(x) inverts a mapping — one glyph pair apart; the bare f−1 stays reserved for the inverse function.
Do not confuseInterchangeable forms. Writing f−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) · Ran(f)
the domain of f; the range of f
Set-naming operators: they turn "the domain of f" into a symbol that fits inside a formula — the swap identity Dom(f−1)=Ran(f) of Domain and Range Swap below is their showcase.
CasesSpellings vary by text — lowercase domf, subscripted Df; the sets themselves are then written with domain and range notation.
Do not confuseFunction application. Dom(f) takes a function and returns a set — it is not f evaluated anywhere; the parentheses here hold a function's name, not an input.
the reciprocal — multiplicative inverse of the output value
1 ⁄ (2x + 3)
Inverse Function NotationLearn Math Class
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−1 is the reflection of the graph of f across the line y=x.
Every point (a,b) on the graph of f corresponds to a point (b,a) on the graph of f−1. The coordinates swap because input and output swap roles.
If f passes through (2,5), then f−1 passes through (5,2). If f passes through (−1,3), then f−1 passes through (3,−1).
The line y=x is the mirror. Points on this line satisfy y=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) of f in the y-axis gives (−2,5), a point of f(−x), not of f−1. The mirror is the line y=x, which swaps the coordinates: f−1 passes through (5,2).
This geometric relationship provides a visual test. Graph a function, draw the line y=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 f has a horizontal asymptote, f−1 has a vertical asymptote at the same value. If f is increasing, f−1 is increasing. The shapes are congruent, just positioned symmetrically 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).
Step 2: Swap x and y.
Step 3: Solve for y.
Step 4: Write f−1(x)= the result.
Example
Find the inverse of f(x)=3x−7.
Step 1: y=3x−7
Step 2: x=3y−7
Step 3: x+7=3y, so y=3x+7
Step 4: f−1(x)=3x+7
Example
Find the inverse of f(x)=x−32x+1.
Step 1: y=x−32x+1
Step 2: x=y−32y+1
Step 3: x(y−3)=2y+1, so xy−3x=2y+1, thus xy−2y=3x+1, giving y(x−2)=3x+1, and y=x−23x+1
Step 4: f−1(x)=x−23x+1
Pitfall: Undoing the steps in the original order
Undoing "multiply by 3, then subtract 7" in that order gives 3x+7, which sends f(1)=−4 to 317 instead of back to 1. The last step comes off first: add 7, then divide by 3, so f−1(x)=3x+7.
Step 3 carries the real work of finding an inverse. The equation from Step 2 shows every operation that f applies to its input: in x=3y−7, the input y is multiplied by 3, and then 7 is subtracted. Solving for y removes these operations one at a time until y stands alone. In the second example the same idea needs one extra move, collecting both y-terms on one side before factoring y out.
To invert a function, solve for its input: undo its operations in reverse order until the input stands alone.
This swap is exact and complete. Every input of f is an output of f−1, and every output of f is an input of f−1.
Let f(x)=x with domain [0,∞) and range [0,∞).
The inverse is f−1(x)=x2, but restricted: domain [0,∞) and range [0,∞).
The full function g(x)=x2 on (−∞,∞) is not the inverse of x — that would require negative inputs, which x never produces.
Let f(x)=ex with domain (−∞,∞) and range (0,∞).
The inverse is f−1(x)=ln(x) with domain (0,∞) and range (−∞,∞).
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.
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 f and f−1 to be inverses, both compositions must reduce to x:
second checkThe second composition returns x as well
g=f−1
Both compositions return x.
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 x.
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 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)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=4 meets it at x=−1 and x=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)=x2 fails the horizontal line test. The line y=4 intersects the graph at x=2 and x=−2. Both inputs produce output 4; the inverse cannot determine which to return.
The cubic f(x)=x3 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)=3x.
Exponential functions pass. Logarithmic functions pass. Linear functions with nonzero slope pass. Quadratics, absolute value, and cosine (on their natural domains) fail.
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), then a=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) and attempt to prove a=b. If this always follows, the function is one-to-one.
For f(x)=3x+7: If 3a+7=3b+7, then 3a=3b, so a=b. One-to-one. ✓
For f(x)=x2: If a2=b2, then a=±b, which does not imply a=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.
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)=x2 is not one-to-one on (−∞,∞). But restricted to [0,∞), it is one-to-one — the right half of the parabola passes the horizontal line test.
The inverse is f−1(x)=x, defined for x≥0.
Alternatively, restricting to (−∞,0] also makes f(x)=x2 one-to-one. The inverse would be f−1(x)=−x, the negative square root.
Pitfall: Taking the positive root on the left branch
Writing f−1(x)=x for f(x)=x2 on (−∞,0] gives f−1(4)=2, an input outside that domain. The input that f sends to 4 is −2, so f−1(x)=−x.
Different restrictions yield different inverses. The choice depends on context or convention. For x2, the standard restriction is [0,∞) 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], it is one-to-one, enabling arcsin. Similar restrictions define arccos and 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.
Restricting Domain to Create InverseLearn Math Class
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 f, the graph of f−1 is obtained by reflection across the line y=x.
Method 1: Reflect visually. Draw the line y=x as a mirror. Reflect each point on the graph of f across this line. The reflected curve is the graph of f−1.
Method 2: Swap coordinates of key points. Identify several points on the graph of f: (a1,b1),(a2,b2),… Plot the points (b1,a1),(b2,a2),… Connect them with an appropriate curve.
Features transform predictably:
The y-intercept of f becomes the x-intercept of f−1.
The x-intercept of f becomes the y-intercept of f−1.
A horizontal asymptote of f becomes a vertical asymptote of f−1.
A vertical asymptote of f becomes a horizontal asymptote of f−1.
Fact: Increasing graphs cross their inverse on y=x
When f is increasing, f and f−1 meet only on the mirror: a crossing at (a,b) off it means f(a)=b and f(b)=a, so the larger input would give the smaller output. The decreasing −x3 does meet its inverse off the line, at (1,−1) and (−1,1).
If f is increasing, f−1 is increasing. If f is decreasing, f−1 is decreasing.
The graphs of f and f−1 intersect on the line y=x at points where f(a)=a, called fixed points — though they can also intersect off that line.
Crossings on the mirror can be found without computing f−1 at all: they are the solutions of f(x)=x. For f(x)=x3 this gives x3=x, so the graphs of x3 and 3x meet at (−1,−1), (0,0) and (1,1). Whether this one equation finds every crossing depends on the shape of f.
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 f:
x
f(x)
1
4
2
7
3
10
4
13
Inverse function f−1:
x
f⁻¹(x)
4
1
7
2
10
3
13
4
Each row flips: the output of f becomes the input of f−1, and the input of f becomes the output of f−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) value appearing for different x 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+b and f−1(x)=mx−b (when m=0).
Quadratic/Square root: f(x)=x2 on [0,∞) and f−1(x)=x.
Cubic/Cube root: f(x)=x3 and f−1(x)=3x.
Exponential/Logarithmic: f(x)=ax and f−1(x)=loga(x). Special case: f(x)=ex and f−1(x)=ln(x).
Power/Root: f(x)=xn on appropriate domain and f−1(x)=x1/n.
Reciprocal: f(x)=1/x is its own inverse: f−1(x)=1/x. Taking the reciprocal twice returns the original value.
Trigonometric: sin on [−π/2,π/2] and arcsin; cos on [0,π] and arccos; tan on (−π/2,π/2) and 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.
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.
Inverse functions model real-world processes that can be reversed.
Temperature conversion: F(C)=59C+32 converts Celsius to Fahrenheit. The inverse C(F)=95(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 13 is its own inverse: two shifts move each letter 26 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 3 the word CAT becomes FDW. Decoding is the inverse function: it moves every letter 3 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)=b, then x=f−1(b). The inverse function provides the solution directly. To solve ex=10, apply the inverse of ex: 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.
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.
The −1 in f−1 is read as an exponent, so the inverse is computed as one divided by f(x). On a function name the −1 means "the function that undoes f", not a power.
Start
For f(x)=2x, f−1(x)=2x1,
Wrong turn
Error here
So f−1(6)=121.
Right path
f doubles its input, so f−1 halves it: f−1(x)=2x, and f−1(6)=3, because f(3)=6.
Why it happensFor numbers, 5−1=51, and the same superscript is placed on f. The reciprocal of a function's value is written f(x)1 or (f(x))−1, never f−1(x).
How to checkApply f to the answer. f(121)=61, not 6, so 121 cannot be f−1(6); f(3)=6 confirms 3.
2Reflecting across an axis instead of y = x
To sketch the inverse, the graph of f is mirrored in the y-axis or the x-axis, the mirrors used for reflections in transformations, instead of in the line y=x.
Wrong turn
Error here
The point (2,5) of f is mirrored in the y-axis to (−2,5), and the mirrored curve, which is the graph of f(−x), is taken as the graph of f−1.
Right path
Reflecting in y=x swaps the coordinates, so (2,5) goes to (5,2). For f(x)=2x, the point (1,2) goes to (2,1), which lies on f−1(x)=2x; the y-axis image (−1,2) lies on y=−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) of f and confirm that the sketch of f−1 passes through (b,a). Points on the line y=x should not move.
3Undoing the steps in the original order
When the inverse is found by undoing the operations of f, each operation is reversed correctly, but they are undone in the same order in which f applied them.
Start
f(x)=3x−7 multiplies by 3, then subtracts 7.
Wrong turn
Error here
Undoing in that order, divide by 3, then add 7: f−1(x)=3x+7.
Right path
The last operation comes off first. Add 7, then divide by 3: f−1(x)=3x+7. The four-step method does this on its own: x=3y−7 gives x+7=3y, then y=3x+7.
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)=−4, and the wrong formula gives 3−4+7=317, not 1. The right one gives 3−4+7=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 f.
Wrong turn
Error here
f(x)=x has the inverse x2, taken on all real numbers, so f−1(−3)=9.
Right path
Dom(f−1)=Ran(f)=[0,∞), so f−1(x)=x2 only for x≥0. The value f−1(−3) is not defined, because x never outputs −3.
Why it happensThe formula x2 looks complete on its own, and on its own it accepts every real number.
How to checkCompose in the order f(f−1(x)). At x=−3 the wrong version gives f(9)=9=3, not −3, so −3 cannot be in the domain of f−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)2 once, so the function is declared invertible on all real numbers.
Right path
The horizontal line y=4 meets the graph twice, at x=−1 and x=3, since (−1−1)2=4 and (3−1)2=4. The output 4 comes from two inputs, so there is no inverse on all real numbers. Restricted to [1,∞) there is one: f−1(x)=1+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 x2 is restricted to (−∞,0], its inverse is written as x out of habit, although the inputs of f, and so the outputs of f−1, are now zero or negative.
Wrong turn
Error here
f(x)=x2 on (−∞,0], so f−1(x)=x and f−1(4)=2.
Right path
The input in (−∞,0] that f sends to 4 is −2, so f−1(4)=−2 and f−1(x)=−x for x≥0.
Why it happensx is the standard inverse of x2, and the restriction that produced that standard is forgotten.
How to checkThe range of f−1 must be the restricted domain of f. Every output of −x is zero or negative, as required; x gives positive outputs for every x>0, and those lie outside (−∞,0].
Common pitfalls with inverse functions·/functions/inverseLearn Math Class
Each slip breaks the link between f and f−1: the inverse sends each output back to its input. It is not the reciprocal, its graph is the mirror image of f in the line y=x, it undoes the steps of f in reverse order, its domain is the range of f, it exists only when every horizontal line meets the graph at most once, and on the branch (−∞,0] it takes the negative root. Applying f 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 f transforms in a predictable way for f−1. The table below collects how each feature of f maps to its counterpart in f−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.
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−7 multiplies by 3 and then subtracts 7, so the inverse adds 7 first and then divides by 3: f−1(x)=3x+7. Undoing in the original order gives 3x+7, which sends f(1)=−4 to 317 instead of back to 1. It is the order of socks and shoes: what goes on last comes off first.Read more →
Is x the only inverse of x2?
+
No. On all real numbers x2 has no inverse, because 3 and −3 both give 9. Each way of cutting it down to a one-to-one piece gives its own inverse: on [0,∞) the inverse is x, and on (−∞,0] it is −x, which sends 4 back to −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=x swaps the coordinates of every point, so if larger inputs of f give larger outputs, larger inputs of f−1 give larger outputs too, as ex and lnx 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 f is increasing they meet only on the mirror, at the solutions of f(x)=x, so x3 and 3x meet at (−1,−1), (0,0) and (1,1) without the inverse ever being computed. A decreasing function can also meet its inverse off the line: −x3 and its inverse −3x cross at (1,−1) and (−1,1) as well as at (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))=x, and its graph is then symmetric about the line y=x. The reciprocal x1 is one, since taking the reciprocal twice gives back the original value, and so is −x. ROT13, the letter shift by 13, is another: two shifts move each letter 26 places, once round the alphabet.Read more →