Tutorials › AP Calculus › Chain Rule from Function Value Tables

Chain Rule and Nested Functions · Tutorial 174 of 999

Chain Rule from Function Value Tables

Use tables in the correct order to find the derivative of a composite function at a specified input.

Intermediate 9 min read

What You'll Learn

  • Find the inner function’s output before looking up the outer derivative.
  • Distinguish function values from derivative values in a table.
  • Apply the chain rule to table-defined functions at a specified input.
  • Evaluate derivatives of compositions with two or three layers.
  • Check the order and arithmetic of the derivative factors.

Why the Order of the Lookups Matters

A derivative table gives information at particular inputs. For a composite function, the outer function is not necessarily evaluated at the original input \(x=a\). It is evaluated at the output of the inner function, \(g(a)\). That output determines which row of the outer function’s derivative table is needed.

This makes table problems less about complicated algebra and more about following the inputs carefully. The reliable order is: find the inner output, look up the outer derivative there, and multiply by the inner derivative at the original input.

Key idea: For \(H(x)=f(g(x))\), first find \(g(a)\). Then use the table entry \(f'(g(a))\), not \(f'(a)\), and multiply by \(g'(a)\).

The Chain Rule with Table Entries

The chain rule states that if \(g\) is differentiable at \(a\), and \(f\) is differentiable at \(g(a)\), then the composition \(H(x)=f(g(x))\) is differentiable at \(a\), with

$$ H'(a)=f'(g(a))\,g'(a). $$

Each factor comes from a different location. The inner derivative \(g'(a)\) is read at the original input \(a\). The outer derivative \(f'(g(a))\) is read at the inner output. The order of these lookups is essential.

Function values and derivative values also have different roles. The entry \(g(a)\) tells us where to look in the table for \(f'\). The entry \(f(g(a))\) gives the value of the composition, but does not by itself determine its derivative.

QuantityWhat it tells youWhere to find it
\(g(a)\)The input to the outer functionThe value table for \(g\), at input \(a\)
\(g'(a)\)The inner function’s rate of changeThe derivative table for \(g\), at input \(a\)
\(f'(g(a))\)The outer function’s rate of change at the inner outputThe derivative table for \(f\), at input \(g(a)\)
\(f(g(a))\)The value of the compositionThe value table for \(f\), at input \(g(a)\)

Worked Example: A Two-Function Composition

Worked Example: A Two-Function Composition

Suppose \(H(x)=f(g(x))\), and the tables give the following entries:

Input \(x\)\(g(x)\)\(g'(x)\)
12\(-3\)
Input \(u\)\(f(u)\)\(f'(u)\)
274

Find \(H'(1)\). First use the \(g\) table at the original input \(1\):

$$ g(1)=2 \qquad\text{and}\qquad g'(1)=-3. $$

Since \(g(1)=2\), the needed outer derivative is \(f'(2)\). The \(f\) table gives \(f'(2)=4\). Therefore,

$$ H'(1)=f'(g(1))g'(1) =f'(2)(-3) =4(-3) =-12. $$

The value of the composition is also available: \(H(1)=f(g(1))=f(2)=7\). This value is distinct from the derivative. As an arithmetic check, the two derivative factors are \(4\) and \(-3\), whose product is \(-12\), so the composite’s rate of change is negative.

Why This Lookup Procedure Works

The chain rule describes how local rates combine. Near \(x=a\), a small change in \(x\) produces a change in \(g(x)\) at a rate of \(g'(a)\). The outer function then responds to that change at a rate of \(f'(g(a))\), because the outer function is being evaluated near \(g(a)\). Multiplying those two rates gives the rate of change of the composite.

This also gives a direct derivation of the table procedure. Start with the chain rule at \(a\):

$$ H'(a)=f'(g(a))g'(a). $$

A table supplies \(g(a)\) and \(g'(a)\) at the row for \(a\). Once \(g(a)\) is known, that value becomes the input for the lookup of \(f'(g(a))\). Substituting the two table entries into the chain rule gives the answer. Thus the inner output must be located before the outer derivative can be selected.

Condition: The table entries must correspond to functions differentiable at the required inputs: \(g\) at \(a\), and \(f\) at \(g(a)\). If a needed value or derivative is not supplied or otherwise known, the tables alone may not determine the composite derivative.

Worked Example: Reversing the Order of the Functions

Worked Example: Reversing the Order of the Functions

Let \(K(x)=p(q(x))\). Use these table entries to find \(K'(4)\):

Input \(x\)\(q(x)\)\(q'(x)\)
4\(-1\)5
Input \(u\)\(p(u)\)\(p'(u)\)
\(-1\)6\(-2\)

At the original input, the inner function has value and derivative

$$ q(4)=-1 \qquad\text{and}\qquad q'(4)=5. $$

The outer derivative must be found at \(u=-1\), not at \(u=4\). The table gives \(p'(-1)=-2\). Applying the chain rule,

$$ K'(4)=p'(q(4))q'(4) =p'(-1)(5) =(-2)(5) =-10. $$

As a separate value check, \(K(4)=p(q(4))=p(-1)=6\). This does not replace the derivative calculation: the derivative is \(-10\), while the function value is \(6\). The derivative factors multiply to \(-10\), confirming the sign and arithmetic.

Compositions with More Than Two Layers

A composition can have several layers. For example, \(R(x)=A(B(C(x)))\) applies \(C\) first, then \(B\), and finally \(A\). The derivative uses one factor from each layer. Each outer derivative is evaluated at the output produced by all the layers inside it.

Applying the chain rule first to \(A(B(u))\), and then to the resulting composition with \(C(x)\), gives

$$ R'(x)=A'(B(C(x)))\,B'(C(x))\,C'(x). $$

The formula shows the lookup path clearly: start with \(x\), find \(C(x)\), then find \(B(C(x))\). Use these outputs to locate the corresponding derivative entries for \(B'\) and \(A'\).

Worked Example: Three Nested Functions

Worked Example: Three Nested Functions

Suppose \(R(x)=A(B(C(x)))\), with the following entries:

Input \(x\)\(C(x)\)\(C'(x)\)
02\(-1\)
Input \(u\)\(B(u)\)\(B'(u)\)
253
Input \(v\)\(A(v)\)\(A'(v)\)
57\(-4\)

Find \(R'(0)\). First, the innermost table gives

$$ C(0)=2 \qquad\text{and}\qquad C'(0)=-1. $$

Now use \(C(0)=2\) as the input to the \(B\) table:

$$ B(C(0))=B(2)=5 \qquad\text{and}\qquad B'(C(0))=B'(2)=3. $$

The resulting value \(B(C(0))=5\) is the input for the \(A\) table, which gives \(A'(5)=-4\). Therefore,

$$ \begin{aligned} R'(0) &=A'(B(C(0)))B'(C(0))C'(0)\\ &=A'(5)(3)(-1)\\ &=(-4)(3)(-1)\\ &=12. \end{aligned} $$

The composition’s value can also be followed through the value columns: \(C(0)=2\), \(B(2)=5\), and \(A(5)=7\), so \(R(0)=7\). For the derivative check, the three rate factors multiply as \((-4)(3)=-12\), followed by \((-12)(-1)=12\), agreeing with the result.

A Common Mistake: Looking Up the Outer Derivative Too Soon

A frequent error is to use the original input \(a\) as the input to the outer derivative table. For instance, in the first example, \(H(x)=f(g(x))\) and \(g(1)=2\). The incorrect lookup would use \(f'(1)\), even though the outer function receives the value \(2\).

$$ \text{Incorrect: } f'(1)g'(1) \qquad\text{instead of}\qquad \text{Correct: } f'(g(1))g'(1)=f'(2)g'(1). $$

The error changes which table entry is used; it is not fixed by multiplying carefully afterward. Correct the calculation by tracing the inputs in order: \(1\) goes into \(g\), \(g(1)=2\) goes into \(f\), and the outer derivative must therefore be read at \(2\).

Another common mix-up is to read \(f(g(a))\) when the problem asks for \(f'(g(a))\). The first is a function value; the second is a derivative value. Check the table’s column heading before using an entry.

A Reliable Routine for Table Problems

1
Write the composition.
Identify which function is applied first and which function is outermost.
2
Start at the specified input.
Use the inner function’s value table at that input to find the next input.
3
Locate the derivative entries.
Read each derivative at the input where its function is evaluated, not automatically at the original input.
4
Multiply the rates.
Use the chain rule and keep signs and factors attached to the correct layer.
5
Check the result.
Confirm that each lookup used the correct input and recompute the product, including its sign.

Why This Skill Matters

On an AP Calculus question, a function may be defined only by a table, so there may be no formula to differentiate. The chain rule still applies: the table gives the needed values and local rates, and the composition determines how those entries fit together.

Careful input-tracking also helps prevent a subtle but important error. A table entry is meaningful only together with its input. Before multiplying, be able to state where every factor came from: for example, “this is \(g'(a)\)” and “this is \(f'(g(a))\).” If the outer derivative is being read at the inner output, rather than at the original input by habit, the calculation is on the right track.

Check Your Understanding

For each question, identify the required table entries before calculating.

  1. If \(H(x)=f(g(x))\), \(g(3)=4\), \(g'(3)=2\), and \(f'(4)=-5\), find \(H'(3)\).
  2. If \(K(x)=p(q(x))\), which input is used to look up the outer derivative \(p'\) at \(x=a\)?
  3. If \(g(a)=6\), \(g'(a)=-2\), and \(f'(6)=3\), find \((f\circ g)'(a)\). What additional table entry would give \((f\circ g)(a)\)?
  4. For \(R(x)=A(B(C(x)))\), list the order in which you must determine the function outputs at a specified input \(x=a\).
  5. Explain why using \(f'(a)\) in place of \(f'(g(a))\) can select the wrong table entry.

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
Clinical Biostats