Inverse Functions and Reflection

April 12, 2026

Problem

Find and graph the inverse of f(x)=3x−2. Show f and f⁻¹ as reflections across y=x.

Explanation

Finding an inverse function

The inverse f1(x)f^{-1}(x) "undoes" f(x)f(x). The process: replace f(x)f(x) with yy, swap xx and yy, solve for yy.

Step-by-step: Find the inverse of f(x)=3x2f(x) = 3x - 2

Step 1: y=3x2y = 3x - 2.

Step 2 — Swap: x=3y2x = 3y - 2.

Step 3 — Solve for yy: x+2=3yx + 2 = 3yy=(x+2)/3y = (x + 2)/3.

Result: f1(x)=x+23f^{-1}(x) = \frac{x + 2}{3}.

Check: f(f1(x))=3x+232=x+22=xf(f^{-1}(x)) = 3 \cdot \frac{x+2}{3} - 2 = x + 2 - 2 = x

Graphical property

ff and f1f^{-1} are reflections across the line y=xy = x. Every point (a,b)(a, b) on ff corresponds to (b,a)(b, a) on f1f^{-1}.

When does an inverse exist?

A function has an inverse only if it's one-to-one (passes the horizontal line test — each yy-value corresponds to exactly one xx-value).

Try it in the visualization

Both ff and f1f^{-1} are graphed with the y=xy = x mirror line. Matching point pairs (a,b)(b,a)(a,b) \leftrightarrow (b,a) are connected by dashed lines. For y=3x2y = 3x - 2: x=3y2x= 3y - 2, so y=(x+2)/3y = (x+2)/3. The inverse f1(x)=(x+2)/3f^{-1}(x) = (x+2)/3 is the reflection of f(x)=3x2f(x) = 3x - 2 across y=xy = x.

Interactive Visualization

Parameters

3.00
-2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Inverse Functions and Reflection | MathSpin