Tutorials › Calculus I › Evaluating Chain-Rule Derivatives at a Point

Product, Quotient, and Chain Rules · Tutorial 462 of 1495

Evaluating Chain-Rule Derivatives at a Point

At a specified input, find the inner value first, evaluate the outer derivative there, and multiply by the inner derivative at the original input.

Intermediate 9 min read

What You'll Learn

  • State the conditions for evaluating a chain-rule derivative at a point.
  • Track the inner function’s value and derivative separately.
  • Evaluate the outer derivative at the inner value, not at the original input.
  • Apply the method to polynomial, power, and root compositions.
  • Check a pointwise result against a derivative formula.
  • Recognize and correct a common evaluation error.

Why Pointwise Chain-Rule Evaluation Matters

When a function is a composition, its derivative depends on two different inputs: the original input to the inner function, and the value produced by that inner function. At a specified point, keeping those inputs distinct is often more useful than first finding and simplifying a complete derivative formula.

If \(g\) is the inner function and \(f\) is the outer function, then the composition is \(f(g(x))\). The chain rule says to differentiate the outer function at the value \(g(x)\), then multiply by the derivative of the inner function at \(x\). At a particular input \(a\), this becomes a calculation in three parts: find \(g(a)\), find \(f'(g(a))\), and find \(g'(a)\).

Key formula: If \(g\) is differentiable at \(a\) and \(f\) is differentiable at \(g(a)\), then $$ \left.\frac{d}{dx}f(g(x))\right|_{x=a} = f'(g(a))\,g'(a). $$ The outer derivative is evaluated at \(g(a)\), while the inner derivative is evaluated at \(a\).

The Pointwise Procedure

Use this order whenever you need the derivative of a composition at one specified input. Write down each value before multiplying; this makes it easier to catch an input mix-up.

1
Identify the inner and outer functions.
Write the expression as \(f(g(x))\), so the roles of the two functions are explicit.
2
Evaluate the inner function.
Compute \(g(a)\). This is the input at which the outer derivative must be evaluated.
3
Evaluate both derivatives.
Find \(f'(g(a))\) and \(g'(a)\), keeping their evaluation points visible.
4
Multiply and check.
Multiply the two derivative values. If useful, compare the result with the derivative formula for the composition.

The notation \(f'(g(a))\) is important: it means first compute \(g(a)\), then substitute that result into \(f'\). It does not mean evaluate \(f'\) at \(a\). The two inputs agree only in special cases.

Worked Examples

Worked Example: A Power of a Polynomial

Find the derivative of \(y=(3x^2-1)^4\) at \(x=1\).

Choose \(g(x)=3x^2-1\) and \(f(u)=u^4\), so \(y=f(g(x))\). First evaluate the inner function: $$ g(1)=3(1)^2-1=3-1=2. $$ The outer derivative is \(f'(u)=4u^3\). At the inner value \(u=2\), $$ f'(g(1))=f'(2)=4(2)^3=4\cdot 8=32. $$ The inner derivative is \(g'(x)=6x\), so $$ g'(1)=6(1)=6. $$ Multiply the values: $$ y'(1)=f'(g(1))g'(1)=32\cdot 6=192. $$ To check, differentiating the composition gives \(y'=4(3x^2-1)^3(6x)\). At \(x=1\), this is \(4(2)^3(6)=32\cdot6=192\), as required.

Worked Example: A Square Root Composition

Find the derivative of \(y=\sqrt{7-3x}\) at \(x=1\).

Set \(g(x)=7-3x\) and \(f(u)=\sqrt{u}\). The inner value is $$ g(1)=7-3(1)=4. $$ For \(u>0\), the outer derivative is \(f'(u)=\frac{1}{2\sqrt{u}}\). Since \(g(1)=4>0\), this derivative is defined at the required input, and $$ f'(g(1))=f'(4)=\frac{1}{2\sqrt{4}}=\frac{1}{4}. $$ The inner derivative is \(g'(x)=-3\), hence \(g'(1)=-3\). Therefore, $$ y'(1)=f'(g(1))g'(1)=\frac{1}{4}(-3)=-\frac{3}{4}. $$ For a check, the derivative formula is \(y'=\frac{-3}{2\sqrt{7-3x}}\). Substitution of \(x=1\) gives \(\frac{-3}{2\sqrt{4}}=-\frac{3}{4}\).

Worked Example: The Outer Derivative Is Not Evaluated at the Original Input

Let \(y=(2x+1)^3-2(2x+1)\). Find \(y'(2)\) by treating the expression as a composition.

Define \(g(x)=2x+1\) and \(f(u)=u^3-2u\), so \(y=f(g(x))\). At \(x=2\), the inner function has value $$ g(2)=2(2)+1=5. $$ Differentiate the outer function: \(f'(u)=3u^2-2\). Evaluate it at \(5\), not at \(2\): $$ f'(g(2))=f'(5)=3(5)^2-2=3(25)-2=75-2=73. $$ The inner derivative is \(g'(x)=2\), so \(g'(2)=2\). The chain rule gives $$ y'(2)=73\cdot2=146. $$ As a check, differentiating the written expression gives \(y'=3(2x+1)^2(2)-2(2)\). At \(x=2\), $$ y'(2)=6(5)^2-4=6(25)-4=150-4=146. $$

Worked Example: Evaluating Several Layers at One Point

Find the derivative of \(y=((x^2+1)^3+2)^2\) at \(x=1\).

Track the values from the inside outward. Let \(h(x)=x^2+1\), \(q(v)=v^3+2\), and \(r(w)=w^2\), so \(y=r(q(h(x)))\). At \(x=1\), $$ h(1)=1^2+1=2,\qquad q(h(1))=2^3+2=8+2=10. $$ The outer derivative is \(r'(w)=2w\), so its value at the output of \(q\) is \(r'(10)=2(10)=20\). The derivative of \(q\) is \(q'(v)=3v^2\), and it must be evaluated at \(v=h(1)=2\): $$ q'(2)=3(2)^2=3(4)=12. $$ Finally, \(h'(x)=2x\), so \(h'(1)=2\). Multiplying the three derivative values gives $$ y'(1)=20\cdot12\cdot2=240\cdot2=480. $$ For verification, differentiation by successive chain-rule applications gives $$ y'=2((x^2+1)^3+2)\cdot 3(x^2+1)^2\cdot 2x. $$ At \(x=1\), this equals \(2(10)\cdot3(2)^2\cdot2=20\cdot12\cdot2=480\).

Why the Evaluation Rule Works

The chain rule describes how small changes pass through a composition. A small change in \(x\) first changes \(g(x)\); that change in the inner output then changes \(f\). The two local rates of change multiply. The following argument makes this precise at a single point.

Derivation: Suppose \(g\) is differentiable at \(a\), and \(f\) is differentiable at \(u=g(a)\). Differentiability gives $$ g(a+h)=g(a)+g'(a)h+r(h), \qquad \lim_{h\to0}\frac{r(h)}{h}=0. $$ Write \(k=g(a+h)-g(a)\). Then \(k=g'(a)h+r(h)\), so \(k/h\to g'(a)\), and in particular \(k=O(h)\). Differentiability of \(f\) at \(u\) gives $$ f(u+k)=f(u)+f'(u)k+s(k), \qquad \lim_{k\to0}\frac{s(k)}{k}=0. $$ Here \(s(0)=0\). Consequently, $$ \frac{f(g(a+h))-f(g(a))}{h} = f'(u)\frac{k}{h}+\frac{s(k)}{h}. $$ If \(k\ne0\), the last term can be written as \(\frac{s(k)}{k}\frac{k}{h}\), which tends to zero because \(s(k)/k\to0\) and \(k/h\to g'(a)\). If \(k=0\), that last term is zero as well. Taking the limit as \(h\to0\) therefore gives $$ \left.\frac{d}{dx}f(g(x))\right|_{x=a} =f'(u)g'(a)=f'(g(a))g'(a). $$

This argument also explains why the inner value matters: the outer function receives \(g(x)\) as its input, so its local rate of change must be measured at \(g(a)\). The inner function’s local rate, by contrast, is measured at the original input \(a\).

A Common Mistake: Using the Wrong Input

For \(y=(x^2+3)^4\) at \(x=1\), an incorrect calculation might use \(x=1\) directly in the outer derivative and write $$ 4(1)^3\cdot 2(1)=8. $$ This treats the outer function as though its input were \(x\). In fact, its input is \(g(x)=x^2+3\). At \(x=1\), that input is \(g(1)=1^2+3=4\). The correct evaluation is $$ f'(g(1))g'(1)=4(4)^3\cdot2(1)=4(64)\cdot2=512. $$ Checking by differentiation gives \(y'=4(x^2+3)^3(2x)\), and \(y'(1)=4(4)^3(2)=512\). The correction is to evaluate the inner function first, before substituting into the outer derivative.

When This Method Is Useful

Pointwise evaluation is especially efficient when a problem asks only for the derivative at one input. You can avoid expanding a composition or simplifying a full derivative, while still keeping every factor visible. It is also a reliable check on a derivative formula obtained by another route.

The method requires differentiability at the relevant points: \(g\) must be differentiable at \(a\), and \(f\) must be differentiable at \(g(a)\). For expressions involving roots or other restricted functions, also check that the inner value lies in a region where the outer derivative exists. A real square-root function, for example, has derivative \(\frac{1}{2\sqrt{u}}\) only for \(u>0\); evaluating this formula at \(u=0\) is not valid.

Before finishing a calculation, ask three questions: Did I compute \(g(a)\)? Did I evaluate \(f'\) at that value? Did I evaluate \(g'\) at \(a\)? If all three answers are clear, the chain-rule calculation is usually well organized.

Check Your Understanding

For each question, keep the inner value and the two derivative values distinct.

  1. For \(y=(x^2+2)^3\), find \(y'(1)\). Identify the inner value before evaluating the outer derivative.
  2. For \(y=\sqrt{5x+4}\), find \(y'(0)\). What is the input to the outer derivative at this point?
  3. For \(y=(3x-2)^5\), find \(y'(2)\) using the pointwise chain-rule formula.
  4. State the differentiability conditions needed to use the formula for the derivative of \(f(g(x))\) at \(x=a\).
  5. Explain why evaluating \(f'\) at \(a\) rather than \(g(a)\) is generally an error.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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