Tutorials › AP Calculus › Choosing the Correct Inverse Branch

Inverse Function Derivatives · Tutorial 207 of 999

Choosing the Correct Inverse Branch

Use a function’s restricted domain to identify the correct inverse branch and evaluate its derivative without confusing different possible inputs.

Intermediate 9 min read

What You'll Learn

  • Explain why a function may need a restricted domain to have an inverse.
  • Identify the range of a restricted function and the domain and range of its inverse.
  • Select the inverse branch that matches the specified original input or interval.
  • Apply the inverse-derivative formula at the input belonging to that branch.
  • Recognize when a zero derivative or endpoint prevents the usual calculation.

Why an Inverse Needs the Correct Branch

A function can send different inputs to the same output. When that happens, the function does not have a single inverse on its full domain: the output alone does not tell us which input to recover.

A common example is \(f(x)=x^2\). Both \(3\) and \(-3\) map to \(9\). To define an inverse, we first restrict the domain so that each output comes from exactly one input. The restriction determines which of these two possibilities the inverse returns.

This choice matters for derivatives as well. The inverse-derivative formula uses the derivative of the original function at the input selected by the branch. Different inputs giving the same output can have different derivatives, so choosing the wrong input can give the wrong answer.

Definition: A function is one-to-one on a domain if no two distinct inputs in that domain have the same output. An inverse branch is the inverse of a function after its domain has been restricted to a set on which the function is one-to-one.

Restriction Determines the Inverse’s Domain and Range

Let \(f\) be restricted to a domain \(I\), and suppose the restricted function is one-to-one. Its range is the set of outputs produced by inputs in \(I\). The inverse reverses the input-output pairs, so its domain is that range and its range is \(I\).

$$ f:I\to J \quad\Longrightarrow\quad f^{-1}:J\to I, \qquad J=f(I). $$

Thus, an inverse’s domain is not chosen independently: it is the range of the restricted original function. Its range is the domain chosen for that branch. Keeping both sets visible helps prevent a common source of confusion.

Key takeaway: Restrict the original domain first. Then determine the outputs on that restricted domain. Those outputs form the inverse’s domain, while the restricted domain itself forms the inverse’s range.

For a continuous function, an interval on which the function is strictly increasing or strictly decreasing is a common choice: either kind of strict monotonicity guarantees that distinct inputs have distinct outputs. The horizontal line test gives a graphical version of the same idea: every horizontal line should meet the restricted graph at most once.

How the Branch Enters the Derivative

Suppose \(g\) is an inverse branch of \(f\), and \(y_0=f(x_0)\), where \(x_0\) belongs to the restricted domain defining that branch. When the inverse is differentiable at \(y_0\), the inverse-derivative formula is

$$ g'(y_0)=\frac{1}{f'(x_0)}, \qquad f'(x_0)\ne 0. $$

The crucial detail is that \(x_0\) must be the input on the chosen branch for which \(f(x_0)=y_0\). If another branch contains a different input with the same output, that other input gives the derivative of the other inverse, not of \(g\).

Condition: Use the formula at a point where the selected inverse branch is differentiable and the corresponding original derivative is nonzero. In particular, if \(f'(x_0)=0\), the reciprocal formula does not give a finite inverse derivative there.

Why the Reciprocal Formula Works

The branch choice is part of the reasoning, not just a notation preference. The following difference-quotient argument shows both why the derivative is a reciprocal and why we must use the input \(x_0\) on the selected branch.

1
Identify the paired points.
Let \(g\) be the chosen inverse branch, let \(y_0=f(x_0)\), and let \(y=f(x)\) for \(x\) on that same branch. Then \(g(y)=x\) and \(g(y_0)=x_0\).
2
Rewrite the difference quotient.
For \(y\ne y_0\), one-to-one behavior ensures \(x\ne x_0\), and the inverse relations give the equality below.
3
Take the limit on the branch.
As \(y\) approaches \(y_0\) through the inverse’s domain, \(x=g(y)\) approaches \(x_0\) when the selected inverse is continuous there. The resulting limit is the reciprocal of \(f'(x_0)\), provided that derivative is nonzero.
$$ \frac{g(y)-g(y_0)}{y-y_0} = \frac{x-x_0}{f(x)-f(x_0)} = \frac{1}{\dfrac{f(x)-f(x_0)}{x-x_0}} \ \longrightarrow\ \frac{1}{f'(x_0)}. $$

This derivation explains the branch dependence directly: the limit uses \(x\) approaching the particular \(x_0\) selected by the branch. If a different branch uses a different input for the same output, its difference quotient approaches the derivative at that other input.

Worked Example: Two Inverses of the Square Function

Worked Example: Two Inverses of the Square Function

Restrict \(f(x)=x^2\) first to \(I_+=[0,\infty)\), and then to \(I_-=(-\infty,0]\). Find the derivative of each inverse at \(y=9\).

On either restricted domain the function is one-to-one, and its range is \([0,\infty)\). For the nonnegative branch, \(f(3)=9\), so the inverse value at \(9\) is \(3\). The original derivative is

$$ f'(x)=2x, \qquad f'(3)=2(3)=6. $$

Therefore the derivative of the inverse branch with range \([0,\infty)\) is

$$ g_+'(9)=\frac{1}{f'(3)}=\frac{1}{6}. $$

On the nonpositive branch, \(f(-3)=9\), so the inverse value at \(9\) is \(-3\). This time,

$$ f'(-3)=2(-3)=-6, \qquad g_-'(9)=\frac{1}{f'(-3)}=-\frac{1}{6}. $$

Check: the inverse functions are \(g_+(y)=\sqrt{y}\) and \(g_-(y)=-\sqrt{y}\), for \(y\ge 0\). Differentiating at \(y=9\) gives \(g_+'(9)=1/(2\sqrt{9})=1/6\) and \(g_-'(9)=-1/(2\sqrt{9})=-1/6\), matching the inverse-derivative calculations.

Worked Example: Selecting a Cosine Branch

Worked Example: Selecting a Cosine Branch

Let \(f(x)=\cos x\) restricted to \([0,\pi]\). Find the derivative of its inverse at \(y=-\frac12\).

On \([0,\pi]\), cosine is strictly decreasing, so this restriction is one-to-one. Its range is \([-1,1]\); therefore this inverse has domain \([-1,1]\) and range \([0,\pi]\).

We need the input \(x_0\) in the chosen interval satisfying \(\cos x_0=-\frac12\). Within \([0,\pi]\), that input is \(x_0=\frac{2\pi}{3}\). Differentiating the original function gives \(f'(x)=-\sin x\), so

$$ f'\left(\frac{2\pi}{3}\right) = -\sin\left(\frac{2\pi}{3}\right) = -\frac{\sqrt{3}}{2}. $$

The derivative of the inverse at \(-\frac12\) is consequently

$$ \frac{1}{f'\left(\frac{2\pi}{3}\right)} = \frac{1}{-\frac{\sqrt{3}}{2}} = -\frac{2}{\sqrt{3}} = -\frac{2\sqrt{3}}{3}. $$

Check: multiplying the original slope by the inverse slope gives \(\left(-\frac{\sqrt{3}}{2}\right)\left(-\frac{2\sqrt{3}}{3}\right)=\frac{6}{6}=1\), as required by the reciprocal relationship.

Worked Example: The Same Output on Two Sine Branches

Worked Example: The Same Output on Two Sine Branches

Consider \(f(x)=\sin x\) on each of the intervals \([0,\frac{\pi}{2}]\) and \([\frac{\pi}{2},\pi]\). Find the inverse derivative at \(y=\frac12\) for each branch.

On the first interval, sine increases from \(0\) to \(1\); on the second, it decreases from \(1\) to \(0\). Each restriction is one-to-one, and each has range \([0,1]\). Thus, each inverse has domain \([0,1]\), but the two inverses have different ranges: one is \([0,\frac{\pi}{2}]\), the other \([\frac{\pi}{2},\pi]\).

For the first branch, \(x_0=\frac{\pi}{6}\), since \(\sin(\frac{\pi}{6})=\frac12\). Because \(f'(x)=\cos x\),

$$ f'\left(\frac{\pi}{6}\right)=\cos\left(\frac{\pi}{6}\right)=\frac{\sqrt{3}}{2}, \qquad g_1'\left(\frac12\right)=\frac{1}{\frac{\sqrt{3}}{2}}=\frac{2\sqrt{3}}{3}. $$

For the second branch, the matching input is \(x_0=\frac{5\pi}{6}\), also satisfying \(\sin(\frac{5\pi}{6})=\frac12\). Thus,

$$ f'\left(\frac{5\pi}{6}\right)=\cos\left(\frac{5\pi}{6}\right)=-\frac{\sqrt{3}}{2}, \qquad g_2'\left(\frac12\right)=\frac{1}{-\frac{\sqrt{3}}{2}}=-\frac{2\sqrt{3}}{3}. $$

Check: each inverse slope multiplied by its matching original slope equals \(1\). The slopes have opposite signs because the original function increases on the first interval and decreases on the second. The output \(\frac12\) alone does not identify the branch; the selected interval does.

A Reliable Branch-Selection Routine

Before computing an inverse derivative, make the branch choice explicit. This prevents solving for an input without checking whether that input belongs to the inverse being used.

1
Record the restricted domain.
Identify the interval or set on which the original function is being treated as one-to-one.
2
Determine the corresponding range.
Find the outputs produced on that restriction. They form the inverse’s domain; the restricted domain forms its range.
3
Match the output to an input on that restriction.
Solve \(f(x_0)=y_0\), then keep only the solution in the selected domain.
4
Check the derivative condition and take the reciprocal.
Evaluate \(f'(x_0)\). If it is nonzero and the inverse is differentiable there, the inverse derivative is \(1/f'(x_0)\).

Common Mistake: Choosing a Root Before Choosing a Branch

Suppose the inverse is defined using \(f(x)=x^2\) restricted to \((-\infty,0]\), and we need its derivative at \(y=9\). A tempting but incorrect calculation is to choose \(x=3\), then write

$$ \frac{1}{f'(3)}=\frac{1}{6}. $$

This calculation uses the positive input, which is not in the selected domain. It finds the derivative for the nonnegative inverse branch. On the specified nonpositive branch, \(x_0=-3\), and the correct calculation is

$$ \frac{1}{f'(-3)} = \frac{1}{2(-3)} = -\frac{1}{6}. $$

The correction is not merely to choose the other sign at the end. The inverse branch determines the original input before the derivative is evaluated. Substituting an input from a different branch changes the function whose derivative is being calculated.

Points Where the Reciprocal Calculation Fails

Even after the branch is identified, the reciprocal formula has a condition: the corresponding derivative must be nonzero. For \(f(x)=x^2\), both inverse branches meet at \(y=0\), corresponding to \(x=0\). But \(f'(0)=0\), so the formula does not produce a finite inverse derivative there. Indeed, the square-root branches do not have a finite derivative at \(0\).

Endpoints also deserve care. A restricted interval can give an inverse whose domain includes an endpoint, while a usual two-sided derivative at that endpoint may not be defined. Check whether the question asks for an interior derivative or an endpoint one-sided rate, and do not apply an interior reciprocal formula without checking its conditions.

Check Your Understanding

For each question, identify the branch before using any inverse-derivative calculation.

  1. For \(f(x)=x^2\) restricted to \([0,\infty)\), what are the domain and range of the inverse?
  2. For the same function restricted to \((-\infty,0]\), what input corresponds to inverse input \(y=16\)?
  3. For that nonpositive branch, what is the inverse derivative at \(y=16\)?
  4. Why can two inverse branches have different derivative values at the same output?
  5. What condition on \(f'(x_0)\) is required for the usual reciprocal formula to give a finite inverse derivative?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon