Question 521
⚠️ 📱 The graphs of the functions \(f\) and \(g\), each consisting of line segments, are shown below for \(0 \le x \le 6\). The function \(f\) is increasing on \(0 \le x \le 6\). Let \(h(x) = f(g(x))\).

(a) (2 points) Find \(h(3.5)\) and \(h^{\prime}(3.5)\). Show the work that leads to your answers.
(b) (2 points) A student says, “\(\left(f^{-1}\right)^{\prime}(2)\) does not exist, because the graph of \(f\) has a corner at \(x = 2\).” Is the student correct? Find \(\left(f^{-1}\right)^{\prime}(2)\) if it exists, and find all values of \(x\) in \(0 \lt x \lt 6\) at which \(f^{-1}\) is not differentiable.
(c) (3 points) A student says, “At \(x = 1\) the graph of \(g\) has a corner, and \(g(1) = 2\) is the location of a corner of the graph of \(f\). Two corners make a corner, so \(h\) is not differentiable at \(x = 1\).” Is the student correct? Justify your answer.
(d) (2 points) A second student writes: “At \(x = 5\), \(g(5) = 4\). From the left, \(h\) has slope (left slope of \(f\) at \(4\))\(\cdot g^{\prime} = 2(-2) = -4\); from the right, \(h\) has slope (right slope of \(f\) at \(4\))\(\cdot g^{\prime} = \frac12(-2) = -1\). So \(h^{\prime}(5)\) does not exist.” Find the left-hand and right-hand slopes of \(h\) at \(x = 5\). Identify the error in the student's reasoning, and state whether the student's conclusion is correct.
Main Solution
Strategy
The chain rule reads the slope of \(f\) at the output \(g(a)\). At a corner, track which side of the corner of \(f\) the values \(g(x)\) fall on: an increasing \(g\) keeps left with left, but a decreasing \(g\) sends the left side of \(a\) to the right side of \(g(a)\). One-sided slopes of \(h\) are products of one-sided slopes, and two corners can cancel when those products match. For the inverse, the slope of \(f\) is read at \(f^{-1}(2)\), not at \(2\); \(f^{-1}\) fails to be differentiable at the outputs of the corners of \(f\).
Key Insight
The chain rule reads the slope of \(f\) at the output \(g(a)\). At a corner, track which side of the corner of \(f\) the values \(g(x)\) fall on: an increasing \(g\) keeps left with left, but a decreasing \(g\) sends the left side of \(a\) to the right side of \(g(a)\). One-sided slopes of \(h\) are products of one-sided slopes, and two corners can cancel when those products match. For the inverse, the slope of \(f\) is read at \(f^{-1}(2)\), not at \(2\); \(f^{-1}\) fails to be differentiable at the outputs of the corners of \(f\).
Solution Steps
(a) \(g(3.5) = 3 + 3(0.5) = 4.5\) (segment from \((3, 3)\) to \((4, 6)\), slope \(3\)), so \(h(3.5) = f(4.5) = 5 + \frac12(0.5) = 5.25\). \(h^{\prime}(3.5) = f^{\prime}(g(3.5))\,g^{\prime}(3.5) = f^{\prime}(4.5)\cdot 3 = \frac12\cdot 3 = \frac32\). Scoring (2 points): 1 point for \(h(3.5) = 5.25\); 1 point for \(h^{\prime}(3.5) = \frac32\). Chief Reader note: \(f^{\prime}(3.5)\,g^{\prime}(3.5) = 2\cdot 3 = 6\) evaluates \(f^{\prime}\) at the wrong input and earns no credit.
(b) The student is not correct. \(f(2.5) = 1 + 2(0.5) = 2\), so \(f^{-1}(2) = 2.5\), and \(f\) is differentiable at \(2.5\) with \(f^{\prime}(2.5) = 2\). Therefore \(\left(f^{-1}\right)^{\prime}(2) = \dfrac{1}{f^{\prime}\left(f^{-1}(2)\right)} = \dfrac{1}{f^{\prime}(2.5)} = \dfrac12\). The corner at \(x = 2\) matters for \(f^{-1}\) at the input \(f(2) = 1\), not at the input \(2\). \(f^{-1}\) is not differentiable at \(x = 1\) and \(x = 5\), the images of the corners \((2, 1)\) and \((4, 5)\); for example, at \(x = 1\) the one-sided slopes of \(f^{-1}\) are \(\frac{1}{1/2} = 2\) and \(\frac12\). Scoring (2 points): 1 point for “not correct” and \(\frac12\); 1 point for \(x = 1\) and \(x = 5\).
(c) The student is not correct. For \(0 \lt x \lt 1\): \(g(x) = 2x\) lies in \((0, 2)\), where \(f\) has slope \(\frac12\), so \(h\) has slope \(\frac12\cdot 2 = 1\). For \(1 \lt x \lt 3\): \(g(x) = 2 + \frac12(x - 1)\) lies in \((2, 3)\), where \(f\) has slope \(2\), so \(h\) has slope \(2\cdot\frac12 = 1\). In fact \(h(x) = f(2x) = x\) on \([0, 1]\) and \(h(x) = 1 + 2\left(g(x) - 2\right) = x\) on \([1, 3]\), so \(h(x) = x\) on \([0, 3]\). \(h\) is continuous at \(1\) and its left-hand and right-hand derivatives at \(x = 1\) are both \(1\), so \(h^{\prime}(1) = 1\) exists. A corner of \(g\) and a corner of \(f\) do not have to produce a corner of \(h\): the one-sided slopes of \(h\) are products, and here \(\frac12\cdot 2 = 2\cdot\frac12\). Scoring (3 points): 1 point for the left-hand slope \(1\) (with \(f\) read on the left of \(2\)); 1 point for the right-hand slope \(1\) (with \(f\) read on the right of \(2\)); 1 point for “\(h^{\prime}(1) = 1\) exists; the student is wrong.” Chief Reader note: “the chain rule cannot be applied at \(x = 1\)” is not an argument that \(h^{\prime}(1)\) fails to exist; the one-sided slopes must be computed.
(d) \(g\) is decreasing near \(x = 5\) (slope \(-2\)). For \(4 \lt x \lt 5\), \(g(x) \gt 4\), so the slope of \(f\) there is \(\frac12\): the left-hand slope of \(h\) at \(5\) is \(\frac12(-2) = -1\). For \(5 \lt x \lt 6\), \(g(x) \lt 4\), so the slope of \(f\) there is \(2\): the right-hand slope of \(h\) is \(2(-2) = -4\). The student paired the left side of \(x = 5\) with the left side of \(4\), but a decreasing inner function sends \(x\)-values to the left of \(5\) to \(g\)-values to the right of \(4\); the student's two slopes are swapped. The conclusion is correct, since \(-1 \ne -4\), so \(h^{\prime}(5)\) does not exist, but the reasoning is not. Scoring (2 points): 1 point for left slope \(-1\) and right slope \(-4\); 1 point for identifying the swap and stating that the conclusion is correct. Chief Reader note: a correct conclusion reached with incorrect one-sided values does not earn the reasoning point.
Teacher Explanation
(a) \(h(3.5) = 5.25\); \(h^{\prime}(3.5) = f^{\prime}(4.5)\cdot 3 = \frac32\). (b) \(\left(f^{-1}\right)^{\prime}(2) = \frac{1}{f^{\prime}(2.5)} = \frac12\); \(f^{-1}\) not differentiable at \(x = 1\) and \(x = 5\). (c) \(h(x) = x\) on \([0, 3]\): \(h^{\prime}(1) = 1\) exists. (d) Left slope \(-1\), right slope \(-4\): \(h^{\prime}(5)\) does not exist; the student swapped the sides.
Education Coach Advice
Chain rule on a graph: find \(g(a)\), then read the slope of \(f\) at \(g(a)\).
Inverse slope at \(b\): find \(f^{-1}(b)\) first; corners of \(f\) at \(x = a\) affect \(f^{-1}\) at \(f(a)\).
At a corner, compute both one-sided slopes of the composite; corners can cancel.
A decreasing inner function swaps sides: left of \(a\) goes to the right of \(g(a)\).
Traps
In (a), \(f^{\prime}(3.5)g^{\prime}(3.5)\) instead of \(f^{\prime}(g(3.5))g^{\prime}(3.5)\); in (b), looking for the corner of \(f\) at the inverse's input instead of at \(f^{-1}(2) = 2.5\), or naming \(x = 2\) and \(x = 4\) as the non-differentiable points of \(f^{-1}\); in (c), deciding from the corners alone without computing one-sided slopes; in (d), pairing left with left when the inner function is decreasing.
Answer images


