Inverse of a Function — Definition, Formula & Examples
The inverse of a function is a new function that reverses the original, swapping every input-output pair so that if , then . In other words, applying a function and then its inverse (or vice versa) returns you to the value you started with.
Given a one-to-one function , the inverse function is the unique function satisfying for all and for all . A function possesses an inverse if and only if it is bijective (both one-to-one and onto).
Key Formula
Where:
- = The original function
- = The inverse function (not a reciprocal)
- = Any value in the appropriate domain
How It Works
To find the inverse of a function algebraically, start by replacing with . Then swap and in the equation, and solve for . The result is . Graphically, the inverse is the reflection of the original function across the line . Before finding an inverse, check that the function is one-to-one — meaning it passes the horizontal line test — because only one-to-one functions have inverses that are also functions.
Worked Example
Problem: Find the inverse of .
Step 1: Replace with .
Step 2: Swap and .
Step 3: Solve for : subtract 6 from both sides, then divide by 3.
Step 4: Write the result using inverse notation.
Answer: . You can verify: .
Another Example
Problem: Find the inverse of for .
Step 1: Replace with .
Step 2: Swap and .
Step 3: Solve for : subtract 1 and take the square root. Since the domain was restricted to , choose the positive root.
Answer: , with domain . Notice the domain restriction on was essential — without it, would not be one-to-one.
Visualization
Why It Matters
Inverse functions are central to Algebra 2 and Precalculus, where you use them to solve equations by "undoing" operations — logarithms undo exponentials, and arcsine undoes sine. In fields like cryptography and computer science, invertible functions are the backbone of encoding and decoding data. Understanding inverses also prepares you for calculus topics such as the inverse function theorem and implicit differentiation.
Common Mistakes
Mistake: Confusing with .
Correction: The notation means the inverse function, not the reciprocal. The reciprocal would be written or .
Mistake: Forgetting to swap and before solving.
Correction: If you skip the swap and just solve the original equation for , you get the right algebraic expression but with the wrong variable names. Always swap first, then solve for .
