Apply Inverse to Both Sides: Isolate a Variable Inside a Function

By Vegard Gjerde Based on Masterful Learning 9 min read
apply-inverse-to-both-sides functions math learning-strategies

Apply Inverse to Both Sides is the move that wraps both sides of y=f(x)y = f(x) in f1f^{-1}, producing f1(y)=f1(f(x))f^{-1}(y) = f^{-1}(f(x)) — and stops there. The move is legal only when ff is one-to-one and yy is in the range of ff. Building the habit of checking these two conditions before inverting is a core fluency skill in the Unisium Study System.

Unisium hero image titled Apply Inverse to Both Sides showing the principle equation and a conditions card.
The apply-inverse move: y=f(x)f1(y)=f1(f(x))y=f(x) \Rightarrow f^{-1}(y)=f^{-1}(f(x)), valid when ff is one-to-one and yran(f)y\in\mathrm{ran}(f).

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | Related Principles | FAQ | How This Fits


The Principle

The move: When a function ff is one-to-one and yy is in the range of ff, apply f1f^{-1} to both sides of y=f(x)y = f(x), producing f1(y)=f1(f(x))f^{-1}(y) = f^{-1}(f(x)).

The invariant: This preserves the solution set.

Pattern: y=f(x)f1(y)=f1(f(x))y = f(x) \quad\Longrightarrow\quad f^{-1}(y) = f^{-1}(f(x))

The two conditions must both hold. Compare a valid application against an invalid attempted one:

Legal ✓Illegal ✗
y=exlny=ln(ex)y = e^x \Rightarrow \ln y = \ln(e^x)f(t)=etf(t)=e^t is one-to-one; y>0ran(et)y > 0 \in \mathrm{ran}(e^t)y=x2y=xy = x^2 \Rightarrow \sqrt y = x on R\mathbb{R}ff is not one-to-one; the correct result is $\sqrt(x^2) =

Conditions of Applicability

Condition: f onetoonef\ \mathrm{one{-}to{-}one}; yran(f)y\in\mathrm{ran}(f)

In plain language: every output of ff must come from exactly one input, and yy must be a value that ff can produce.

Before applying, check: (1) Is ff one-to-one — does every output value come from exactly one input? (2) Is the right-hand side value yy in the range of ff — could f(x)=yf(x) = y have a solution at all?

If either condition is violated: Applying f1f^{-1} may produce an extraneous solution, a multi-valued result, or an undefined expression. The equation that results is not equivalent to the original.

  • If ff is not one-to-one (e.g., f(x)=x2f(x)=x^2 on R\mathbb{R}): the inverse function does not exist as a single-valued map. You must first restrict the domain of ff to a region where it is one-to-one, or handle both solution branches explicitly.
  • If yran(f)y \notin \mathrm{ran}(f) (e.g., asking ex=1e^x = -1): the equation has no solution. Applying ln\ln to 1-1 is undefined; the move produces a domain error rather than a solution.

Want the complete framework behind this guide? Read Masterful Learning.


Common Failure Modes

Failure mode: Apply f1f^{-1} to both sides of y=x2y = x^2 without restricting the domain → y=x\sqrt{y} = |x|, not xx. The student writes x=yx = \sqrt{y} and misses the solution branch x=yx = -\sqrt{y}.

Debug: Ask “Is ff one-to-one?” Graph ff mentally or recall its symmetry: if any horizontal line crosses the graph more than once, ff is not one-to-one on that domain. For x2x^2 on R\mathbb{R}, the answer is no: every positive yy has two preimages.


Failure mode: Attempt to apply f1f^{-1} with a yy-value outside ran(f)\mathrm{ran}(f) (e.g., solving ex=5e^x = -5) → the expression ln(5)\ln(-5) is undefined in the reals; the step fails silently if the author does not recognize the range violation.

Debug: Ask “Can f(x)f(x) equal this yy-value?” For exponentials: ex>0e^x > 0 always — any y0y \le 0 is outside the range and the equation has no real solution.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • Why does f1(f(x))=xf^{-1}(f(x)) = x — what property of one-to-one functions guarantees this simplification works?
  • What changes in the move if ff is one-to-one only on a restricted domain (e.g., f(x)=x2f(x)=x^2 on [0,)[0, \infty))? Is the move still valid under that restriction?

For the Principle

  • Suppose ff is one-to-one and yran(f)y \in \mathrm{ran}(f). After applying f1f^{-1} to both sides and obtaining f1(y)=f1(f(x))f^{-1}(y) = f^{-1}(f(x)), what does it mean to say the two equations y=f(x)y = f(x) and x=f1(y)x = f^{-1}(y) are equivalent?
  • How would you verify that a given function is one-to-one before deciding to apply this move?

Between Principles

  • How does Apply Inverse to Both Sides relate to the input-recovery form of Inverse Cancellation (f1(f(x))=xf^{-1}(f(x)) = x)? Which principle cleans up the right side after the move is made?

Generate an Example

  • Construct an equation of the form y=f(x)y = f(x) where ff is one-to-one on a restricted domain only, and show explicitly why simply applying f1f^{-1} without stating the domain restriction leads to a missing solution.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the apply-inverse move in one sentence: _____If f is one-to-one and y is in the range of f, apply f-inverse to both sides of y = f(x) to get f-inverse(y) = f-inverse(f(x)).
Write the canonical move pattern: _____y=f(x)f1(y)=f1(f(x))y=f(x) \Rightarrow f^{-1}(y)=f^{-1}(f(x))
State the canonical condition: _____f onetoone;yran(f)f\ \mathrm{one{-}to{-}one}; y\in\mathrm{ran}(f)

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)

Procedure Walkthrough

Starting from 25=5x25 = 5^x, isolate xx using the apply-inverse move.

Assume f(t)=5tf(t) = 5^t (one-to-one on R\mathbb{R}) and 25ran(5t)25 \in \mathrm{ran}(5^t) since 52=25>05^2 = 25 > 0.

StepExpressionOperation
025=5x25 = 5^x
1log5(25)=log5(5x)\log_5(25) = \log_5(5^x)Apply f1=log5f^{-1} = \log_5 to both sides; valid — ff is one-to-one and 25ran(f)25 \in \mathrm{ran}(f)
2log5(25)=x\log_5(25) = xInverse cancellation: log5(5x)=x\log_5(5^x) = x
3x=2x = 2Evaluate log5(25)=2\log_5(25) = 2 (since 52=255^2 = 25)

Drills

Goal micro-chain — reach the isolated variable form

For each equation, check both conditions (one-to-one and yran(f)y \in \mathrm{ran}(f)), then apply f1f^{-1} to both sides and simplify to isolate xx.


Assume ff is one-to-one and yran(f)y \in \mathrm{ran}(f). Apply f1f^{-1} to both sides and isolate xx.

3=ex3 = e^x

Reveal

f1=lnf^{-1} = \ln. Apply to both sides:

ln3=ln(ex)=x\ln 3 = \ln(e^x) = x


Check both conditions, then apply f1f^{-1} to both sides and isolate xx.

7=2x+1,f(t)=2t+17 = 2x + 1, \quad f(t) = 2t + 1

Reveal

f(t)=2t+1f(t) = 2t+1 is one-to-one (non-zero slope); 7ran(f)7 \in \mathrm{ran}(f). f1(t)=t12f^{-1}(t) = \dfrac{t-1}{2}.

x=712=3x = \frac{7-1}{2} = 3


Check both conditions, then apply f1f^{-1} to isolate xx.

8=x3,f(t)=t38 = x^3, \quad f(t) = t^3

Reveal

f(t)=t3f(t) = t^3 is one-to-one; 8ran(f)8 \in \mathrm{ran}(f). f1(t)=t1/3f^{-1}(t) = t^{1/3}.

81/3=(x3)1/3    x=28^{1/3} = (x^3)^{1/3} \implies x = 2


Check both conditions, then apply f1f^{-1} to isolate xx.

log2(x)=5\log_2(x) = 5

Write the equation in the form y=f(x)y = f(x) first, identifying ff.

Reveal

Rewrite: f(t)=log2(t)f(t) = \log_2(t), y=5y = 5. log2\log_2 is one-to-one; 5ran(log2)=R5 \in \mathrm{ran}(\log_2) = \mathbb{R}. f1(t)=2tf^{-1}(t) = 2^t.

25=2log2(x)    x=322^5 = 2^{\log_2(x)} \implies x = 32


Forward step — apply the move once and state the result

Identify ff and f1f^{-1}, verify the two conditions, then write the transformed equation after applying f1f^{-1} to both sides. (Do not yet simplify the right side with inverse cancellation.)


State ff and f1f^{-1}, verify both conditions, and write the transformed equation (one step only).

4=x,domain x04 = \sqrt{x}, \quad \text{domain } x \ge 0

Reveal

f(t)=tf(t) = \sqrt{t} on [0,)[0,\infty) — one-to-one; 404 \ge 0 so 4ran(f)4 \in \mathrm{ran}(f). f1(t)=t2f^{-1}(t) = t^2.

42=(x)24^2 = (\sqrt{x})^2

The right side simplifies via Inverse Cancellation — a separate move.


State ff and f1f^{-1}, verify both conditions, and write the transformed equation (one step only).

2=ln(x)-2 = \ln(x)

Reveal

f(t)=lntf(t) = \ln t on (0,)(0,\infty) — one-to-one; 2R=ran(ln)-2 \in \mathbb{R} = \mathrm{ran}(\ln). f1(t)=etf^{-1}(t) = e^t.

e2=eln(x)e^{-2} = e^{\ln(x)}

The right side simplifies via Inverse Cancellation — a separate move.


Condition failure — domain violation. Verify whether both conditions hold before attempting the move.

4=ex-4 = e^x

Reveal

f(t)=etf(t) = e^t is one-to-one ✓. But y=4y = -4: since et>0e^t > 0 for all real tt, we have 4ran(et)-4 \notin \mathrm{ran}(e^t) ✗.

The second condition fails. The move cannot be applied — there is no real xx satisfying ex=4e^x = -4. Applying ln(4)\ln(-4) is undefined in R\mathbb{R}.

Correct conclusion: no real solution.


Near-miss — condition failure: not one-to-one. A student writes ”y=x2y = x^2, so y=x\sqrt{y} = x.” What condition is violated?

Reveal

f(t)=t2f(t) = t^2 on R\mathbb{R} is not one-to-one — both x=3x = 3 and x=3x = -3 satisfy x2=9x^2 = 9. Condition 1 fails; f1f^{-1} does not exist as a single-valued map on R\mathbb{R}.

To recover both solutions: write y=x\sqrt{y} = |x|, giving x=yx = \sqrt{y} or x=yx = -\sqrt{y}. Or restrict to x0x \ge 0.


Eligibility check: From the list below, identify which equations are eligible for the apply-inverse move as stated (with unrestricted domain), and which are not. For each ineligible case, state which condition fails.

  1. 5=ex5 = e^x
  2. 9=x29 = x^2 (domain R\mathbb{R})
  3. 1=ln(x)-1 = \ln(x)
  4. 0=ex0 = e^x
  5. 8=2x8 = 2^x
Reveal
Equationff one-to-one?yran(f)y \in \mathrm{ran}(f)?Eligible?
5=ex5 = e^x✓ (ete^t strictly increasing)✓ (5>05 > 0)Yes — apply ln\ln to both sides
9=x29 = x^2, R\mathbb{R}✗ (not one-to-one on R\mathbb{R})No — condition 1 fails
1=ln(x)-1 = \ln(x)✓ (ln\ln one-to-one on (0,)(0,\infty))✓ (1R=ran(ln)-1 \in \mathbb{R} = \mathrm{ran}(\ln))Yes — apply e()e^{(\cdot)} to both sides
0=ex0 = e^x✗ (et>0e^t > 0; 0ran(et)0 \notin \mathrm{ran}(e^t))No — condition 2 fails; no real solution
8=2x8 = 2^x✓ (2t2^t strictly increasing)✓ (8=23>08 = 2^3 > 0)Yes — apply log2\log_2 to both sides

Canonicalization — simplify after applying the inverse

After applying f1f^{-1} to both sides, the right side contains f1(f(x))f^{-1}(f(x)). Simplify to the standard form xx using inverse cancellation.


What is the canonical simplified form of the right side?

ln(ex)=?\ln(e^x) = ?

Reveal

ln(ex)=x\ln(e^x) = x — inverse cancellation with f(t)=etf(t) = e^t, f1(t)=lntf^{-1}(t) = \ln t.

(Valid because ff is one-to-one and xdom(f)x \in \mathrm{dom}(f).)


What is the canonical simplified form of the right side?

log3(3x)=?\log_3(3^x) = ?

Reveal

log3(3x)=x\log_3(3^x) = x — inverse cancellation with f(t)=3tf(t) = 3^t, f1(t)=log3tf^{-1}(t) = \log_3 t.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Starting from 50=102x150 = 10^{2x-1}, isolate xx using the apply-inverse move. Verify both conditions before applying f1f^{-1}.

Condition check: f(u)=10uf(u) = 10^u is one-to-one (strictly increasing); 50>050 > 0 so 50ran(10u)50 \in \mathrm{ran}(10^u). Both conditions hold.

Full solution
StepExpressionMove
050=102x150 = 10^{2x-1}
1log10(50)=log10(102x1)\log_{10}(50) = \log_{10}(10^{2x-1})Apply f1=log10f^{-1} = \log_{10} to both sides
2log10(50)=2x1\log_{10}(50) = 2x - 1Inverse cancellation: log10(10u)=u\log_{10}(10^u) = u
32x=log10(50)+12x = \log_{10}(50) + 1Add 11 to both sides
4x=log10(50)+12x = \dfrac{\log_{10}(50) + 1}{2}Divide both sides by 22

PrincipleRelationship
Inverse DefinitionPrerequisite — defines what makes ff one-to-one and what f1f^{-1} is as a relation; Apply Inverse to Both Sides operationalizes that relation as a move
Inverse CancellationFollow-on step — in this solve-chain context, uses the input-recovery form to simplify f1(f(x))f^{-1}(f(x)) to xx after the apply-inverse move; the two principles typically appear together
Composition ExpansionStructural complement — both involve domain conditions and a two-step evaluation chain; composition chains functions forward while inverse application unwinds them
Log-Exponential RewriteConcrete successor — once a logarithmic equation is isolated, this is the specific rewrite move that often follows inverse-style reasoning in practice

FAQ

What does “Apply Inverse to Both Sides” mean?

It means: if you have an equation y=f(x)y = f(x) and ff has an inverse, you apply f1f^{-1} to the left side and to the right side simultaneously, producing f1(y)=f1(f(x))f^{-1}(y) = f^{-1}(f(x)). That is the move. Simplifying f1(f(x))f^{-1}(f(x)) to xx is a subsequent step governed by Inverse Cancellation.

When is the apply-inverse move valid?

Two conditions must hold: (1) ff must be one-to-one — every output comes from exactly one input, so f1f^{-1} exists as a single-valued function. (2) yy must be in the range of ff — the equation f(x)=yf(x)=y must have a solution at all. If either condition fails, the move is not valid as stated.

What goes wrong if ff is not one-to-one?

If ff is not one-to-one, it has no single-valued inverse. Applying "f1f^{-1}" picks only one of the preimages and silently discards the others — producing a missing-solution error. For example, “solving” 9=x29 = x^2 by writing x=9=3x = \sqrt{9} = 3 misses the solution x=3x = -3.

What goes wrong if yy is not in the range of ff?

The equation f(x)=yf(x) = y has no solution. The expression f1(y)f^{-1}(y) is not defined in the intended real setting — there is no valid input for f1f^{-1} to act on. The result is a domain error rather than a solution.

How does this move relate to log-exponential rewriting?

The log-exponential rewrite (y=logbxby=xy = \log_b x \Leftrightarrow b^y = x) is a specific instance of the apply-inverse pattern: f(t)=btf(t) = b^t with f1(t)=logbtf^{-1}(t) = \log_b t (or vice versa). The general apply-inverse principle covers any one-to-one function, including trigonometric inverses, cube roots, and custom function inverses.

Do I need to include the condition check every time?

Yes — explicitly, especially when there is any risk the condition could fail (e.g., squaring, exponential, piecewise functions). For elementary linear functions (f(x)=ax+bf(x) = ax + b, a0a \ne 0) the one-to-one check is trivial, but stating it once builds the habit that catches harder cases.


How This Fits in Unisium

Unisium treats Apply Inverse to Both Sides as a condition-critical move — one where skipping the one-to-one check causes silent errors that look like valid algebra. Practice sessions in the Unisium Study System embed the condition verification as the first required step in every drill and use near-miss cases (like y=x2y = x^2 on R\mathbb{R}) to build the checking habit.

The move ends the moment both sides are wrapped in f1f^{-1}: the equation is now f1(y)=f1(f(x))f^{-1}(y) = f^{-1}(f(x)). The subsequent step that collapses f1(f(x))f^{-1}(f(x)) to xx is Inverse Cancellation — a distinct principle. This guide covers the first half of that two-step sequence.

Explore further:

  • Functions Subdomain Map — Return to the functions hub to see how inverse moves, logarithms, and composition are grouped together in the release-prep cluster
  • Inverse Definition — The representational prerequisite: what a one-to-one function is and why the inverse relation becomes a function
  • Inverse Cancellation — The cleanup step that typically follows the apply-inverse move in a standard solve chain, using the input-recovery form f1(f(a))=af^{-1}(f(a)) = a
  • Log-Exponential Rewrite — A common specialized follow-on when the inverse relationship is logarithmic or exponential
  • Elaborative Encoding — Build deep understanding of why both conditions are necessary, not just convenient

Ready to master Apply Inverse to Both Sides? Start practicing with Unisium or explore the full learning framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.

Read the book (opens in new tab) ISBN 979-8-2652-9642-9

Ready to apply this strategy?

Join Unisium and start implementing these evidence-based learning techniques.

Start Learning with Unisium Read More Guides

Want the complete framework? This guide is from Masterful Learning.

Learn about the book →