Inverse Functions

Learn how to find and verify inverse functions, and understand their relationship to the original function.

Advanced25 minLesson

Definition

An inverse function reverses the action of the original function. If takes input and produces output , then the inverse function takes input and produces output .
Key Properties:
  • The inverse "undoes" what the original function does
  • and
  • The graph of is the reflection of over the line
  • Not all functions have inverses - only one-to-one functions do
Finding the Inverse: 1. Replace with 2. Swap and 3. Solve for 4. Replace with

Try it now

If , what is ?

Worked Examples

Find the inverse of

1

Replace f(x) with y

Standard form

2

Swap x and y

Variables swapped

3

Solve for y: subtract 3

Isolate the y term

4

Divide by 2

y is isolated

5

Write as inverse function

Inverse found

Common Mistakes

Confusing with

Why it's wrong: The notation means the inverse function, NOT the reciprocal. undoes , while is just one divided by .

Correct: is the inverse function. For the reciprocal, write or .

Forgetting to swap x and y before solving

Why it's wrong: The swap is essential because the inverse reverses inputs and outputs. Without swapping, you'll just solve for x in terms of y, not find the inverse.

Correct: Always follow the steps: write y = f(x), swap to get x = f(y), then solve for y.

Assuming all functions have inverses

Why it's wrong: Only one-to-one functions (passing the horizontal line test) have inverses. Functions like fail because two inputs give the same output.

Correct: Check that the function is one-to-one first. For , restrict the domain to to create an inverse.

Forgetting domain restrictions for the inverse

Why it's wrong: The domain of is the range of , and vice versa. If the original function excludes certain values, the inverse will have different restrictions.

Correct: Always state the domain of the inverse. If has domain , then will have a different restriction.

Interactive Visual

Linear Function Explorer

y = x
Slope (m)1
Y-Intercept (b)0
b
run
rise

Interactive Sandbox

Interactive Grapher

Try these examples:

y = 2x + 1

m=2, b=1

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

18 problems
Problem 1 of 18
Easy

If , what is ?

Why It Matters

Inverse functions are essential in many real-world applications:
  • Cryptography: Encryption functions need inverses for decryption
  • Unit Conversion: Converting Celsius to Fahrenheit and back requires inverse functions
  • Finance: Calculating principal from compound interest requires inverting the growth formula
  • Science: Finding time from distance (inverse of position function)
  • Computer Graphics: Undoing transformations requires inverse operations
Understanding inverses is crucial for solving equations and forms the foundation for logarithms (inverse of exponentials) and inverse trigonometric functions.

Real World Applications

Temperature Conversion

Converting between Celsius and Fahrenheit uses inverse functions.

Example:

The formula converts Celsius to Fahrenheit. Its inverse converts back.

1Try It Yourself

You know the Fahrenheit to Celsius formula is .

Find the inverse function to convert Celsius back to Fahrenheit.

Step 1: Write the mathematical expression

Swap variables and solve for F:

Decryption in Cryptography

Simple encryption functions need inverses for decryption. In a Caesar cipher, if encryption shifts letters by 3, decryption shifts by -3.

Example:

If encryption is , decryption is

2Try It Yourself

A simple encryption function is .

Find the decryption function (inverse).

Step 1: Write the mathematical expression

Find :

Key Takeaways

  • 1An inverse function reverses the action of : if , then
  • 2To find an inverse: replace with , swap and , solve for , write as
  • 3To verify inverses: check that AND
  • 4Only one-to-one functions (passing the horizontal line test) have inverses
  • 5The graph of is the reflection of over the line
  • 6The domain of equals the range of , and the range of equals the domain of

Frequently Asked Questions

is the inverse function - it undoes . or is the reciprocal . They are completely different! For example, if , then , but .
is the inverse function - it undoes . or is the reciprocal . They are completely different! For example, if , then , but .
A function has an inverse if and only if it is one-to-one (each output comes from exactly one input). Use the horizontal line test: if any horizontal line crosses the graph more than once, the function does NOT have an inverse.
Because the inverse swaps inputs and outputs. If takes 2 and gives 7, then takes 7 and gives 2. Swapping x and y in the equation captures this reversal of roles.

Glossary

Inverse function
A function that reverses the action of , so that
One-to-one function
A function where each output value corresponds to exactly one input value
Horizontal line test
If any horizontal line intersects the graph more than once, the function is not one-to-one and has no inverse
Composition
Applying one function to the result of another, written as or
Domain
The set of all valid input values for a function
Range
The set of all possible output values of a function

Formula Card

Inverse Definition

If f maps a to b, then f inverse maps b back to a

Composition Identity

Composing a function with its inverse gives x

Domain-Range Relationship

Domains and ranges swap for inverses

More in This Topic