Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. Algebra Ii
  2. Find and Write an Inverse Function

ALGEBRA 2 • BUILDING FUNCTIONS

Find and Write an Inverse Function

Learn to reverse any function's rule so you can undo its operations and recover the original input.

SECTION 1

Historical Context & Motivation

The idea of reversing a mathematical process is as old as mathematics itself. Ancient Babylonian scribes around 2000 BCE routinely solved problems that amounted to "undoing" an arithmetic operation: if doubling a quantity gives 60, what was the original quantity? Over the centuries, mathematicians formalized this intuition into the concept of an inverse function — a function that perfectly reverses the action of another. Understanding inverse functions became essential as algebra grew more abstract and as scientists needed to decode relationships in physics, engineering, and economics.

~2000 BCE
Babylonian "Undoing" Problems
Clay tablets show scribes solving problems by reversing multiplication and addition, laying the groundwork for inverse operations.
1637
Descartes & Coordinate Geometry
René Descartes linked algebra to geometry. Graphing functions on the coordinate plane made it possible to visualize inverses by reflecting across y = x.
1748
Euler Formalizes Function Notation
Leonhard Euler popularized f(x) notation and explored logarithms as inverses of exponentials, giving the concept a precise symbolic language.
1800s
Inverse Functions in Modern Analysis
Mathematicians like Cauchy and Weierstrass established rigorous conditions — including one-to-one correspondence — under which a function's inverse exists.
2010
CCSS Codifies the Standard
The Common Core State Standards (F-BF.4.a) formally require students to solve f(x) = c for simple invertible functions and write expressions for their inverses.

The central question this lesson addresses is straightforward but powerful: given a function that transforms an input into an output, how do you build a new function that does the exact opposite — taking the output and returning the original input? Answering this question opens the door to solving equations, converting units, and understanding symmetry in mathematics.

SECTION 2

Core Principles & Definitions

Before you can find an inverse function, you need to understand a handful of foundational ideas. These principles tell you when an inverse exists, what it means, and how the original function and its inverse are connected.

1

What Is an Inverse Function?

If f sends input a to output b, then the inverse function f⁻¹ sends b back to a. Formally, f⁻¹(f(x)) = x and f(f⁻¹(x)) = x.
2

One-to-One (Injective) Requirement

A function must be one-to-one to have an inverse — each output comes from exactly one input. If two different inputs give the same output, the reverse is ambiguous.
3

Horizontal Line Test

A quick graphical check: if every horizontal line crosses the graph at most once, the function is one-to-one and its inverse exists.
4

Domain & Range Swap

The domain of f becomes the range of f⁻¹, and the range of f becomes the domain of f⁻¹. Inputs and outputs trade places.
5

Algebraic Procedure

To find f⁻¹ algebraically: (1) replace f(x) with y, (2) swap x and y, (3) solve for y, (4) rename y as f⁻¹(x).
✦ KEY TAKEAWAY
Think of a function and its inverse like a locked door and its key. The function f is the lock that scrambles your input into a coded output. The inverse f⁻¹ is the key that unscrambles the output back into the original input. If two different inputs produce the same output, it's like two different doors sharing one lock — a single key can't tell which door to open, so no inverse exists.
SECTION 3

Visual Explanation — Reflecting Across y = x

One of the most elegant facts about inverse functions is their graphical relationship: the graph of f⁻¹ is the reflection of the graph of f across the line y = x. This happens because every point (a, b) on f corresponds to the point (b, a) on f⁻¹ — the coordinates simply swap. The diagram below shows f(x) = 2x³ and its inverse on the same axes, with the mirror line y = x drawn as a dashed line.

Graph of f(x) = 2x³ and its inverse reflected across y = xxy−2−11212−1−2y = xf(x) = 2x³f⁻¹(x) = ∛(x/2)(1, 2)(−2,−1)
The violet curve is f(x) = 2x³ and the cyan curve is its inverse f⁻¹(x) = ∛(x/2). Notice how every point (a, b) on the violet curve has a mirror point (b, a) on the cyan curve, reflected across the dashed line y = x.

In the diagram above, notice the sample point (1, 2) on the violet curve — it tells you f(1) = 2. Its mirror image across y = x is the point (2, 1) on the cyan curve, confirming that f⁻¹(2) = 1. This visual symmetry is not a coincidence; it is the geometric meaning of "inverse." Any time you need a quick sanity check, plot a few points of both functions and verify they reflect across that dashed line.

SECTION 4

The Algebraic Procedure for Finding Inverses

The algebraic method for finding an inverse function follows a clear four-step pattern. The core idea is that you swap the roles of x and y, then solve for the new y. Below are the key equations and the general procedure, followed by how it looks with specific function types.

INVERSE DEFINITION
f⁻¹(f(x)) = x and f(f⁻¹(x)) = x
Composing a function with its inverse (in either order) returns the original input. This is the defining property of inverse functions.
STEP-BY-STEP FRAMEWORK
y = f(x) → x = f(y) → solve for y → y = f⁻¹(x)
Replace f(x) with y, swap every x and y in the equation, then isolate y. The result is the expression for f⁻¹(x).
EXAMPLE — CUBIC FUNCTION
f(x) = 2x³ ⟹ f⁻¹(x) = ∛(x / 2)
Start with y = 2x³. Swap: x = 2y³. Divide by 2: y³ = x/2. Take the cube root: y = ∛(x/2).
EXAMPLE — RATIONAL FUNCTION
f(x) = (x + 1)/(x − 1) ⟹ f⁻¹(x) = (x + 1)/(x − 1), x ≠ 1
This function is its own inverse! Start with y = (x + 1)/(x − 1). Swap: x = (y + 1)/(y − 1). Cross-multiply: x(y − 1) = y + 1. Distribute: xy − x = y + 1. Collect y terms: xy − y = x + 1. Factor: y(x − 1) = x + 1. Solve: y = (x + 1)/(x − 1).
⚠️ Domain Restrictions Matter!
Always check the domain of the original function and the resulting inverse. For f(x) = (x + 1)/(x − 1), the original function excludes x = 1 (division by zero). The inverse has the same restriction. For functions like f(x) = x² (not one-to-one on all reals), you must restrict the domain (e.g., x ≥ 0) before an inverse exists.
SECTION 5

Inverses Across Different Function Types

Different families of functions require slightly different algebraic techniques when you solve for the inverse. The table below summarizes the most common function types you will encounter in Algebra 2, along with the key operation you "undo" and any domain considerations.

Common function types and the algebraic operations used to find their inverses
Function TypeExample f(x)Inverse f⁻¹(x)Key Step
Linear3x + 5(x − 5) / 3Subtract, then divide
Cubic2x³∛(x / 2)Divide, then cube root
Rational(x + 1)/(x − 1)(x + 1)/(x − 1)Cross-multiply, collect y terms
Square root√(x − 4)x² + 4, x ≥ 0Square both sides
Quadratic (restricted)x², x ≥ 0√xTake positive square root (domain restricted)
Flowchart showing the four-step algebraic procedure for finding an inverse functionFour-Step Inverse ProcedureSTEP 1Write y = f(x)y = 2x³STEP 2Swap x and yx = 2y³STEP 3Solve for yy = ∛(x/2)STEP 4Rename as f⁻¹(x)f⁻¹(x) = ∛(x/2)VERIFICATION — Compose Both WaysCheck 1: f(f⁻¹(x)) = 2 · [∛(x/2)]³ = 2 · (x/2) = x ✓Check 2: f⁻¹(f(x)) = ∛(2x³ / 2) = ∛(x³) = x ✓Both compositions return x, confirmingf⁻¹(x) = ∛(x/2) is correct.
The flowchart shows the four-step algebraic procedure applied to f(x) = 2x³. The verification box below demonstrates how composing f and f⁻¹ in both orders yields x, confirming the inverse is correct.

The flowchart above captures the entire process in a single visual. The verification step is crucial — you should always compose f and f⁻¹ in both orders to confirm they each return x. This is especially important for rational functions, where algebra mistakes are common.

SECTION 6

Worked Example — Finding the Inverse of a Rational Function

Let's walk through a complete example using the rational function given in the standard: f(x) = (x + 1)/(x − 1) for x ≠ 1. This is more challenging than a linear or cubic function because it involves cross-multiplication and careful factoring.

Find the Inverse of f(x) = (x + 1)/(x − 1)

Step 1 — Replace f(x) with y

Write the function using y instead of f(x): y = (x + 1) / (x − 1).
y = (x + 1)/(x − 1)

Step 2 — Swap x and y

Exchange every x with y and every y with x in the equation: x = (y + 1) / (y − 1).
x = (y + 1)/(y − 1)

Step 3 — Cross-multiply to clear the fraction

Multiply both sides by (y − 1) to eliminate the denominator: x(y − 1) = y + 1. Distribute on the left: xy − x = y + 1.
xy − x = y + 1

Step 4 — Collect all y terms on one side

Move the y term on the right to the left: xy − y = x + 1. Factor y out of the left side: y(x − 1) = x + 1.
y(x − 1) = x + 1

Step 5 — Solve for y and rename

Divide both sides by (x − 1): y = (x + 1)/(x − 1). Rename y as f⁻¹(x). Notice that the inverse has the exact same formula as the original function! This makes f(x) = (x + 1)/(x − 1) a self-inverse (or involutory) function.
f⁻¹(x) = (x + 1)/(x − 1), x ≠ 1

Step 6 — Verify by composition

Compute f(f⁻¹(x)) = f((x + 1)/(x − 1)). Substitute into f: [((x+1)/(x−1)) + 1] / [((x+1)/(x−1)) − 1]. Simplify numerator: (x+1+x−1)/(x−1) = 2x/(x−1). Simplify denominator: (x+1−x+1)/(x−1) = 2/(x−1). Divide: (2x/(x−1)) ÷ (2/(x−1)) = 2x/2 = x. ✓
f(f⁻¹(x)) = x ✓ — The inverse is confirmed.
SECTION 7

Common Mistakes & How to Avoid Them

Students frequently make a few predictable errors when finding inverse functions. Knowing these pitfalls ahead of time will save you significant frustration on homework and exams.

Five common inverse-function mistakes and their remedies
MistakeWhy It HappensHow to Fix It
Confusing f⁻¹(x) with 1/f(x)The superscript −1 looks like an exponent, but f⁻¹ means the inverse function, not the reciprocal.Remember: f⁻¹ undoes f. The reciprocal 1/f(x) is a completely different operation.
Forgetting to swap x and yStudents sometimes just solve y = f(x) for x without relabeling. This gives the right expression but wrong variable names.Always perform the swap, then solve for y, then rename as f⁻¹(x). The swap is what makes the inverse a function of x.
Ignoring domain restrictionsThe inverse may have a different valid domain than the original. For example, √x has domain x ≥ 0 but its inverse x² needs the restriction x ≥ 0 too.State the domain of f⁻¹ explicitly. It equals the range of the original function f.
Trying to invert a non-one-to-one functionFunctions like f(x) = x² (unrestricted) fail the horizontal line test, so no single inverse exists.Restrict the domain first (e.g., x ≥ 0), then find the inverse.
Algebra errors in rational functionsCross-multiplication and factoring steps can go wrong, especially with sign errors.Verify by composing f(f⁻¹(x)). If you don't get x, re-check your algebra.
✦ KEY TAKEAWAY
Think of verification (composing f and f⁻¹) as your spell-check. Just as you'd run spell-check on an important essay before submitting, you should always compose the function with its proposed inverse to confirm the result equals x. This single step catches nearly every algebraic mistake.
SECTION 8

Connection to Advanced Topics

Finding inverse functions is a skill that keeps appearing far beyond Algebra 2. In pre-calculus, you encounter logarithms as the inverses of exponential functions. In calculus, the Inverse Function Theorem tells you how to differentiate an inverse function without explicitly writing its formula. In linear algebra, matrix inverses play an analogous role for systems of equations. The pattern is always the same: a process forward and a process backward.

How inverse function concepts extend into later math courses
Algebra 2 ConceptAdvanced ExtensionWhere You'll See It
Inverse of f(x) = 2x³Inverse of f(x) = eˣ → f⁻¹(x) = ln xPre-Calculus, Calculus
Swap x and y, solve for y(f⁻¹)′(b) = 1 / f′(f⁻¹(b)) — differentiating the inverseAP Calculus AB/BC
One-to-one requirementBijective functions in set theory; invertible matrices in linear algebraCollege Algebra, Linear Algebra
Graphical reflection across y = xSymmetry properties in coordinate geometry; inverse trig function graphsPre-Calculus, Trigonometry

The algebraic procedure you've learned in this lesson — swap variables, solve, verify — forms the backbone for all of these advanced applications. Mastering it now means you'll have a significant head start when these topics appear in future courses.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
Explain in your own words why the function f(x) = x² (with domain all real numbers) does not have an inverse, but f(x) = x² with domain x ≥ 0 does. What property must a function have for its inverse to exist?
PROBLEM 2 — BASIC CALCULATION
Find the inverse of f(x) = 5x − 8. Show your work using the four-step procedure and verify your answer by composition.
PROBLEM 3 — INTERMEDIATE
Find the inverse of f(x) = 4x³ + 1. State the domain and range of both f and f⁻¹.
PROBLEM 4 — APPLIED
A temperature conversion function is given by C(F) = (5/9)(F − 32), which converts Fahrenheit to Celsius. Find C⁻¹(x), the function that converts Celsius back to Fahrenheit. Then use your inverse to convert 100°C to Fahrenheit.
PROBLEM 5 — CRITICAL THINKING
Consider g(x) = (2x + 3)/(x − 4) for x ≠ 4. Find g⁻¹(x), state any domain restrictions on the inverse, and determine whether there is a value of x for which g(x) = x. Explain what this means graphically.
SUMMARY

Lesson Summary

An inverse function f⁻¹ reverses the action of a function f, sending each output back to its original input. For an inverse to exist, f must be one-to-one, which you can check graphically with the horizontal line test. The algebraic procedure has four steps: replace f(x) with y, swap x and y, solve for y, and rename y as f⁻¹(x). The domain of f becomes the range of f⁻¹ and vice versa, so always state domain restrictions explicitly.

Graphically, the curve of f⁻¹ is a reflection of f across the line y = x. Always verify your inverse by composition: compute f(f⁻¹(x)) and f⁻¹(f(x)) and confirm both equal x. This technique applies to linear, cubic, rational, and radical functions alike, and it forms the foundation for logarithms, inverse trigonometric functions, and the Inverse Function Theorem you will encounter in future courses.

Varsity Tutors • Algebra 2 • Find and Write an Inverse Function