Question 171

⚠️ The graph of the function \(g\), consisting of two line segments, is shown above. If \(f\) is the function given by \(f(x)=g(g(x))\), what is the value of \(f^{\prime}(0)\)?
Main Solution
Strategy
\(f^{\prime}(0)=g^{\prime}(g(0))\,g^{\prime}(0)\). Left segment slope \(\frac{5-(-1)}{1-(-2)}=2\), so \(g(0)=3\), \(g^{\prime}(0)=2\). Right segment slope \(\frac{0-5}{6-1}=-1\), so \(g^{\prime}(3)=-1\). Hence \(f^{\prime}(0)=(-1)(2)=-2\).
Key Insight
\(f^{\prime}(0)=g^{\prime}(g(0))\,g^{\prime}(0)\). Left segment slope \(\frac{5-(-1)}{1-(-2)}=2\), so \(g(0)=3\), \(g^{\prime}(0)=2\). Right segment slope \(\frac{0-5}{6-1}=-1\), so \(g^{\prime}(3)=-1\). Hence \(f^{\prime}(0)=(-1)(2)=-2\).
Choice Analysis
Choice A - Correct ✓ - Chain rule through both layers.: \(g^{\prime}(3)\cdot g^{\prime}(0)=(-1)(2)=-2\).
Choice B - Incorrect - Inner derivative missing.: \(g^{\prime}(g(0))=g^{\prime}(3)=-1\) is only the outer factor; multiply by \(g^{\prime}(0)=2\).
Choice C - Incorrect - Outer derivative missing.: \(g^{\prime}(0)=2\) is only the inner factor; the outer factor \(g^{\prime}(3)=-1\) is missing (or \(g^{\prime}\) was evaluated at 0 twice and one factor dropped).
Choice D - Incorrect - Value, not slope.: \(g(0)=3\) is a function value read from the graph, not a derivative.
A
B
C
D
Teacher Explanation
From the graph, the left segment through \((-2,-1)\) and \((1,5)\) is \(y=2x+3\): \(g(0)=3\), \(g^{\prime}(0)=2\). The right segment through \((1,5)\) and \((6,0)\) has slope \(-1\), so \(g^{\prime}(3)=-1\). \(f^{\prime}(0)=g^{\prime}(g(0))g^{\prime}(0)=(-1)(2)=-2\). The answer is A.
Education Coach Advice
Find the inner value \(g(0)\) first; it decides which segment gives the outer slope.
On a line segment, the derivative is the segment's slope.
\(g(g(x))\) uses \(g^{\prime}\) twice, at two different inputs.
Traps
Evaluating the outer \(g^{\prime}\) at 0 instead of at \(g(0)=3\), which lies on the other segment.
Answer images

