Algebra 2 Intermediate

Inverse Function Finder

Find f⁻¹(x) algebraically and verify with the composition f(f⁻¹(x)) = x.

Live Calculator · Step-by-Step · Algebra 2
Function Setup
f(x) = 3x + 2
f⁻¹(x) = (x − b) / a  ·  Requires a ≠ 0.
Examples
f(x) = (x − 1)² + 2, x ≥ 1
Domain restricted to x ≥ h so function is one-to-one. Requires a ≠ 0.
Examples
f(x) = (2x + 1) / (x − 3)
f⁻¹(x) = (b − dx) / (cx − a)  ·  Requires ad − bc ≠ 0 and c ≠ 0.
Examples
Inverse Function
Enter values above and press Find Inverse to see f⁻¹(x), the domain restriction, and the composition verification.
f(x)
f⁻¹(x)
Domain Restriction
Composition Verification
Step-by-Step Solution
Graph of f(x) and f⁻¹(x)
f(x)
f⁻¹(x)
y = x (line of reflection)
Steps to Find the Inverse
y = f(x) → swap x,y → solve for y = f⁻¹(x)

1. Replace f(x) with y. Rewrite the function as an equation with y on the left: y = ax + b.

2. Swap x and y. Write x = a(y) + b — this is the key step that finds the reflection.

3. Solve for y. Isolate y using algebra. Every operation done to x in f(x) is now "undone" in the opposite order.

4. Write as f⁻¹(x). Replace y with f⁻¹(x) and note any domain restrictions.

Verify your answer: f(f⁻¹(x)) should simplify to x, and f⁻¹(f(x)) should also simplify to x.
When Does an Inverse Exist?
f⁻¹ exists ⟺ f is one-to-one (injective)

A function has an inverse if and only if it is one-to-one: every output corresponds to exactly one input.

Horizontal Line Test: If any horizontal line crosses the graph more than once, the function is not one-to-one and has no inverse over that domain.

Restricted Domain: Non-one-to-one functions (like quadratics) can be made invertible by restricting the domain — for f(x) = a(x−h)² + k we use x ≥ h to keep only the increasing half.

  • Linear functions (a ≠ 0) always have inverses.
  • Quadratics need a domain restriction at the vertex.
  • Rational functions: need ad − bc ≠ 0 (otherwise constant).
  • The graph of f⁻¹ is the reflection of f over y = x.

Inverse functions still confusing?

One-on-one Algebra tutoring builds real intuition for why swapping x and y works — and when restricted domains are needed. We work through your actual problems.

Book a Free Consultation →