AP® Calculus AB Differentiation: Composite, Implicit, and Inverse Functions FRQ
Work through AP Calculus AB free-response questions on Differentiation: Composite, Implicit, and Inverse Functions, then check each answer against a worked solution.
Free · no sign-up Open questions need no account. Sign up or log in to open the rest.
Subtopic: 3.01-The Chain Rule Clear filter
Question 2
⚠️ 📱 A company launches two new products at time \(t = 0\). For \(0 \le t \le 12\), the total number of units of Product S sold by time \(t\) is modeled by \(S(t) = 300\left(1 - e^{-0.04t^{2}}\right)\), and the total number of units of Product B sold by time \(t\) is modeled by \(B(t) = 20\sqrt{t^{2} + 16} - 80\). Both \(S(t)\) and \(B(t)\) are measured in thousands of units, and \(t\) is measured in weeks. The graphs of \(S\) and \(B\) are shown below.

(a) (2 points) Find \(S^{\prime}(3)\). Using correct units, explain the meaning of \(S^{\prime}(3)\) in the context of the problem.
(b) (2 points) Find all times \(t\), for \(0 \lt t \lt 12\), at which Product S is selling at a rate of \(40\) thousand units per week.
(c) (3 points) At time \(t = 8\), which product's sales are increasing at the greater rate? Find the time \(t\), for \(0 \lt t \lt 12\), at which the two products are selling at the same rate. Show the setup for your calculation.
(d) (2 points) Find \(S^{\prime\prime}(6)\). Is the rate at which Product S is selling increasing or decreasing at time \(t = 6\)? Give a reason for your answer.
Main Solution
Strategy
Both models are composites, so each rate needs the chain rule: \(S^{\prime}(t) = 300e^{-0.04t^{2}}\cdot(0.08t) = 24te^{-0.04t^{2}}\) and \(B^{\prime}(t) = 20\cdot\frac{2t}{2\sqrt{t^{2} + 16}} = \frac{20t}{\sqrt{t^{2} + 16}}\). The calculator is needed to solve \(S^{\prime}(t) = 40\) and \(S^{\prime}(t) = B^{\prime}(t)\). The graph shows amounts, not rates: the graph of \(S\) is above the graph of \(B\) at \(t = 8\), but that does not mean \(S\) is increasing faster there.
Key Insight
Both models are composites, so each rate needs the chain rule: \(S^{\prime}(t) = 300e^{-0.04t^{2}}\cdot(0.08t) = 24te^{-0.04t^{2}}\) and \(B^{\prime}(t) = 20\cdot\frac{2t}{2\sqrt{t^{2} + 16}} = \frac{20t}{\sqrt{t^{2} + 16}}\). The calculator is needed to solve \(S^{\prime}(t) = 40\) and \(S^{\prime}(t) = B^{\prime}(t)\). The graph shows amounts, not rates: the graph of \(S\) is above the graph of \(B\) at \(t = 8\), but that does not mean \(S\) is increasing faster there.
Solution Steps
(a) \(S^{\prime}(t) = 300\cdot e^{-0.04t^{2}}\cdot(0.08t) = 24te^{-0.04t^{2}}\), so \(S^{\prime}(3) = 72e^{-0.36} \approx 50.233\). At time \(t = 3\) weeks, the total sales of Product S are increasing at a rate of about \(50.233\) thousand units per week. Scoring (2 points): 1 point for \(S^{\prime}(3) \approx 50.233\); 1 point for the meaning with units. Chief Reader note: the units of a derivative are the units of the output divided by the units of the input — “thousand units per week,” not “thousand units.”
(b) Solve \(24te^{-0.04t^{2}} = 40\) on \(0 \lt t \lt 12\). With the calculator, \(t \approx 1.936\) and \(t \approx 5.437\) weeks. Scoring (2 points): 1 point for the equation \(S^{\prime}(t) = 40\); 1 point for both values. Chief Reader note: setting \(S(t) = 40\) answers a different question (when total sales reach \(40\) thousand units) and earns no credit.
(c) \(S^{\prime}(8) = 192e^{-2.56} \approx 14.843\) and \(B^{\prime}(8) = \frac{160}{\sqrt{80}} \approx 17.889\) thousand units per week. Since \(B^{\prime}(8) \gt S^{\prime}(8)\), the sales of Product B are increasing at the greater rate at \(t = 8\). Solving \(24te^{-0.04t^{2}} = \frac{20t}{\sqrt{t^{2} + 16}}\) with the calculator on \(0 \lt t \lt 12\) gives \(t \approx 7.644\) weeks. Scoring (3 points): 1 point for \(S^{\prime}(8)\) and \(B^{\prime}(8)\); 1 point for “Product B” based on the rates; 1 point for \(t \approx 7.644\). Chief Reader note: comparing \(S(8) \approx 276.809\) with \(B(8) \approx 98.885\) compares amounts, not rates.
(d) Differentiate \(S^{\prime}(t) = 24te^{-0.04t^{2}}\) with the product rule and the chain rule: \(S^{\prime\prime}(t) = 24e^{-0.04t^{2}} + 24t\cdot e^{-0.04t^{2}}\cdot(-0.08t) = \left(24 - 1.92t^{2}\right)e^{-0.04t^{2}}\). So \(S^{\prime\prime}(6) = -45.12e^{-1.44} \approx -10.690\). Since \(S^{\prime\prime}(6) \lt 0\), the rate at which Product S is selling is decreasing at \(t = 6\). Scoring (2 points): 1 point for \(S^{\prime\prime}(6) \approx -10.690\); 1 point for “decreasing” with the reason \(S^{\prime\prime}(6) \lt 0\).
Teacher Explanation
(a) \(S^{\prime}(3) = 72e^{-0.36} \approx 50.233\) thousand units per week. (b) \(24te^{-0.04t^{2}} = 40\): \(t \approx 1.936\), \(t \approx 5.437\). (c) \(S^{\prime}(8) \approx 14.843 \lt 17.889 \approx B^{\prime}(8)\): Product B; equal rates at \(t \approx 7.644\). (d) \(S^{\prime\prime}(6) \approx -10.690 \lt 0\): the selling rate is decreasing.
Education Coach Advice
\(\frac{d}{dt}e^{u} = e^{u}\cdot u^{\prime}\): here \(u = -0.04t^{2}\), so \(u^{\prime} = -0.08t\).
“Rate of \(40\)” means \(S^{\prime}(t) = 40\), not \(S(t) = 40\).
A higher graph means a larger amount, not a larger rate.
Three decimals for every calculator answer; units on every rate.
Traps
In (a), \(S^{\prime}(t) = 300e^{-0.04t^{2}}\) or \(-12te^{-0.04t^{2}}\) (a missing or wrong inner derivative); in (b), solving \(S(t) = 40\), or giving only one of the two times; in (c), answering “Product S” because its graph is higher; in (d), saying “decreasing” because \(S^{\prime}(6)\) is smaller than \(S^{\prime}(3)\), or because the graph of \(S\) is still rising.
Answer images
Question 3
⚠️ The four parts of this question use the chain rule. Give exact answers.
(a) (2 points) Let \(f(x) = \left(2x^{3} - 5\right)^{4}\). Find \(f^{\prime}(x)\) and \(f^{\prime}(1)\).
(b) (2 points) Let \(g(x) = e^{\cos(\pi x)}\). Find \(g^{\prime}(x)\) and \(g^{\prime}\left(\frac12\right)\).
(c) (2 points) Let \(k(x) = \ln\left(\cos\left(\dfrac{\pi x}{3}\right)\right)\) for \(-\frac32 \lt x \lt \frac32\). Find \(k^{\prime}(x)\) and \(k^{\prime}(1)\).
(d) (3 points) Let \(q(x) = xe^{1 - x^{2}}\). Find \(q^{\prime}(x)\), and write an equation for the line tangent to the graph of \(q\) at \(x = 1\).
Main Solution
Strategy
Each function is an outer function applied to an inner function. Differentiate the outer function, keep the inside unchanged, then multiply by the derivative of the inside. Part (d) also needs the product rule, with the chain rule inside the second factor.
Key Insight
Each function is an outer function applied to an inner function. Differentiate the outer function, keep the inside unchanged, then multiply by the derivative of the inside. Part (d) also needs the product rule, with the chain rule inside the second factor.
Solution Steps
(a) \(f^{\prime}(x) = 4\left(2x^{3} - 5\right)^{3}\cdot 6x^{2} = 24x^{2}\left(2x^{3} - 5\right)^{3}\). \(f^{\prime}(1) = 24(1)(-3)^{3} = -648\). Scoring (2 points): 1 point for \(f^{\prime}(x)\); 1 point for \(-648\). Chief Reader note: \(4\left(2x^{3} - 5\right)^{3}\) alone is missing the inner derivative \(6x^{2}\) and earns no credit.
(b) \(g^{\prime}(x) = e^{\cos(\pi x)}\cdot\left(-\sin(\pi x)\right)\cdot\pi = -\pi\sin(\pi x)e^{\cos(\pi x)}\). \(g^{\prime}\left(\frac12\right) = -\pi\sin\left(\frac{\pi}{2}\right)e^{\cos(\pi/2)} = -\pi\cdot1\cdot e^{0} = -\pi\). Scoring (2 points): 1 point for \(g^{\prime}(x)\) with both inner factors; 1 point for \(-\pi\).
(c) \(k^{\prime}(x) = \frac{1}{\cos\left(\frac{\pi x}{3}\right)}\cdot\left(-\sin\left(\frac{\pi x}{3}\right)\right)\cdot\frac{\pi}{3} = -\frac{\pi}{3}\tan\left(\frac{\pi x}{3}\right)\). \(k^{\prime}(1) = -\frac{\pi}{3}\tan\frac{\pi}{3} = -\frac{\pi\sqrt3}{3}\). Scoring (2 points): 1 point for \(k^{\prime}(x)\); 1 point for \(-\frac{\pi\sqrt3}{3}\). Chief Reader note: \(\frac{1}{\cos\left(\frac{\pi x}{3}\right)}\) is only the outer derivative; the factors \(-\sin\left(\frac{\pi x}{3}\right)\) and \(\frac{\pi}{3}\) are both required.
(d) Product rule and chain rule: \(q^{\prime}(x) = 1\cdot e^{1 - x^{2}} + x\cdot e^{1 - x^{2}}\cdot(-2x) = \left(1 - 2x^{2}\right)e^{1 - x^{2}}\). At \(x = 1\): \(q(1) = 1\cdot e^{0} = 1\) and \(q^{\prime}(1) = (1 - 2)e^{0} = -1\). Tangent line: \(y = 1 - (x - 1)\), that is, \(y = 2 - x\). Scoring (3 points): 1 point for the product rule; 1 point for the chain rule factor \(-2x\); 1 point for the tangent line.
Teacher Explanation
(a) \(24x^{2}\left(2x^{3} - 5\right)^{3}\); \(f^{\prime}(1) = -648\). (b) \(-\pi\sin(\pi x)e^{\cos(\pi x)}\); \(g^{\prime}\left(\frac12\right) = -\pi\). (c) \(-\frac{\pi}{3}\tan\frac{\pi x}{3}\); \(k^{\prime}(1) = -\frac{\pi\sqrt3}{3}\). (d) \(\left(1 - 2x^{2}\right)e^{1 - x^{2}}\); \(y = 2 - x\).
Education Coach Advice
Outer derivative first, inside unchanged, then times the inside's derivative.
Count the layers: \(e^{\cos(\pi x)}\) has three, so its derivative has three factors.
\(\frac{d}{dx}\ln u = \frac{u^{\prime}}{u}\).
A product with a composite factor needs the product rule and the chain rule.
Traps
(a) \(4\left(2x^{3} - 5\right)^{3}\) or \(4\left(6x^{2}\right)^{3}\); (b) \(e^{\cos(\pi x)}\cdot(-\sin(\pi x))\) without \(\pi\), or \(e^{-\sin(\pi x)}\); (c) \(\frac{1}{\cos\left(\frac{\pi x}{3}\right)}\) or \(\frac{-\sin\left(\frac{\pi x}{3}\right)}{\cos\left(\frac{\pi x}{3}\right)}\) without \(\frac{\pi}{3}\); (d) \(q^{\prime}(x) = e^{1 - x^{2}}\cdot(-2x)\) (product rule ignored), which gives slope \(-2\).
Answer images
Question 4
⚠️ The functions \(f\) and \(g\) are differentiable for all real numbers. The table below gives values of \(f\), \(f^{\prime}\), \(g\), and \(g^{\prime}\) at selected values of \(x\).
| \(x\) | \(1\) | \(2\) | \(3\) | \(4\) |
|---|---|---|---|---|
| \(f(x)\) | \(4\) | \(3\) | \(1\) | \(2\) |
| \(f^{\prime}(x)\) | \(2\) | \(-1\) | \(-3\) | \(5\) |
| \(g(x)\) | \(2\) | \(4\) | \(3\) | \(1\) |
| \(g^{\prime}(x)\) | \(-3\) | \(2\) | \(6\) | \(-1\) |
(a) (2 points) Let \(h(x) = f(g(x))\). Find \(h(1)\) and \(h^{\prime}(1)\), and write an equation for the line tangent to the graph of \(h\) at \(x = 1\).
(b) (2 points) Let \(p(x) = f(2x)\). A student writes \(p^{\prime}(2) = f^{\prime}(4) = 5\). Is the student correct? Find \(p^{\prime}(2)\), and explain.
(c) (2 points) Let \(q(x) = \left[g(x)\right]^{2}\) and \(r(x) = g\left(x^{2}\right)\). Find \(q^{\prime}(2)\) and \(r^{\prime}(2)\).
(d) (3 points) Let \(u(x) = g(f(x))\). Find \(u(3)\) and \(u^{\prime}(3)\). A student writes \(u^{\prime}(3) = g^{\prime}(3)\cdot f^{\prime}(3) = -18\). Explain the student's error.
Main Solution
Strategy
Every part is the chain rule, and every part has a classic lookup error. The outer derivative must be read at the inner value , not at \(x\); the inner derivative must never be left out (the \(2\) in \(f(2x)\), the \(2x\) in \(g\left(x^{2}\right)\)); and \(\left[g(x)\right]^{2}\) is a power of \(g\), so its derivative is \(2g(x)g^{\prime}(x)\), which uses the value \(g(x)\) as well as the slope.
Key Insight
Every part is the chain rule, and every part has a classic lookup error. The outer derivative must be read at the inner value , not at \(x\); the inner derivative must never be left out (the \(2\) in \(f(2x)\), the \(2x\) in \(g\left(x^{2}\right)\)); and \(\left[g(x)\right]^{2}\) is a power of \(g\), so its derivative is \(2g(x)g^{\prime}(x)\), which uses the value \(g(x)\) as well as the slope.
Solution Steps
(a) \(h(1) = f(g(1)) = f(2) = 3\). \(h^{\prime}(1) = f^{\prime}(g(1))\cdot g^{\prime}(1) = f^{\prime}(2)\cdot(-3) = (-1)(-3) = 3\). Tangent line: \(y = 3 + 3(x - 1)\). Scoring (2 points): 1 point for \(h^{\prime}(1) = 3\); 1 point for the tangent line through \((1, 3)\). Chief Reader note: \(f^{\prime}(1)\cdot g^{\prime}(1) = 2(-3) = -6\) evaluates \(f^{\prime}\) at the wrong input — the most common error on table-based chain rule questions.
(b) No. By the chain rule, \(p^{\prime}(x) = f^{\prime}(2x)\cdot2\), so \(p^{\prime}(2) = 2f^{\prime}(4) = 2\cdot5 = 10\). The student read \(f^{\prime}\) at the correct input \(4\) but left out the derivative of the inner function \(2x\), which is \(2\). Scoring (2 points): 1 point for \(p^{\prime}(2) = 10\); 1 point for identifying the missing inner derivative. Chief Reader note: \(2f^{\prime}(2) = -2\) is also incorrect: it uses the right factor but the wrong input.
(c) \(q^{\prime}(x) = 2g(x)\cdot g^{\prime}(x)\), so \(q^{\prime}(2) = 2\cdot g(2)\cdot g^{\prime}(2) = 2\cdot4\cdot2 = 16\). \(r^{\prime}(x) = g^{\prime}\left(x^{2}\right)\cdot2x\), so \(r^{\prime}(2) = g^{\prime}(4)\cdot4 = (-1)(4) = -4\). Scoring (2 points): 1 point for each value.
(d) \(u(3) = g(f(3)) = g(1) = 2\). \(u^{\prime}(3) = g^{\prime}(f(3))\cdot f^{\prime}(3) = g^{\prime}(1)\cdot(-3) = (-3)(-3) = 9\). The student evaluated the outer derivative \(g^{\prime}\) at \(x = 3\) instead of at the inner value \(f(3) = 1\). In \(g(f(x))\), the input of \(g\) is \(f(x)\), so \(g^{\prime}\) must be read at \(f(3)\). Scoring (3 points): 1 point for \(u(3) = 2\); 1 point for \(u^{\prime}(3) = 9\); 1 point for explaining that \(g^{\prime}\) must be evaluated at \(f(3)\), not at \(3\).
Teacher Explanation
(a) \(h(1) = 3\), \(h^{\prime}(1) = f^{\prime}(2)g^{\prime}(1) = 3\); \(y = 3 + 3(x - 1)\). (b) \(p^{\prime}(2) = 2f^{\prime}(4) = 10\); student forgot the factor \(2\). (c) \(q^{\prime}(2) = 2g(2)g^{\prime}(2) = 16\); \(r^{\prime}(2) = 4g^{\prime}(4) = -4\). (d) \(u(3) = 2\), \(u^{\prime}(3) = g^{\prime}(1)f^{\prime}(3) = 9\); student used \(g^{\prime}(3)\) instead of \(g^{\prime}(f(3))\).
Education Coach Advice
Find the inner value first, then read the outer derivative there.
\(f(2x)\): derivative at \(2x\), times \(2\).
\(\left[g(x)\right]^{2}\) uses the value \(g(x)\) and the slope \(g^{\prime}(x)\); \(g\left(x^{2}\right)\) uses \(g^{\prime}\) at \(x^{2}\) times \(2x\).
Tangent line: the point uses a value, the slope uses a derivative — read the right row.
Traps
(a) \(h^{\prime}(1) = f^{\prime}(1)g^{\prime}(1) = -6\), or \(f^{\prime}(g^{\prime}(1))\) (an input of \(-3\) that is not in the table), or a tangent line through \((1, 4)\) using \(f(1)\); (b) accepting \(5\), or \(2f^{\prime}(2) = -2\); (c) \(q^{\prime}(2) = 2g^{\prime}(2) = 4\) or \(\left[g^{\prime}(2)\right]^{2} = 4\), and \(r^{\prime}(2) = g^{\prime}(4) = -1\) without \(2x\); (d) accepting \(-18\), or \(u(3) = g(3) = 3\).
Answer images
Question 5
⚠️ 📱 On a certain day, a theme park is open from \(t = 0\) to \(t = 6\) hours. The number of people waiting in line for Ride A is modeled by \(L(t) = 40 + 25\sin\left(\frac{t^{2}}{6}\right)\), and the number of people waiting in line for Ride B is modeled by \(M(t) = 30 + 8\ln\left(1 + t^{2}\right)\), where \(t\) is measured in hours. The graphs of \(L\) and \(M\) are shown below.

(a) (2 points) Find \(L^{\prime}(4)\). Using correct units, interpret the meaning of \(L^{\prime}(4)\) in the context of the problem.
(b) (2 points) Find all times \(t\), for \(0 \lt t \lt 6\), at which the number of people in line for Ride A is decreasing at a rate of \(20\) people per hour.
(c) (2 points) The expected wait time, in minutes, for a person who joins the line for Ride A at time \(t\) is modeled by \(W(t) = 3\sqrt{L(t) + 9}\). Find \(W^{\prime}(4)\). Using correct units, explain what this value means.
(d) (3 points) At time \(t = 2\), which line is growing faster, the line for Ride A or the line for Ride B? Give a reason for your answer. Then find all times \(t\), for \(0 \lt t \lt 6\), at which the two lines are changing at the same rate.
Main Solution
Strategy
Every function here is a composite: the sine and the logarithm each have a non-linear inside, and the wait time is a function of the line length. Each rate therefore needs the chain rule — outer derivative evaluated at the inside, times the derivative of the inside. The calculator is needed to evaluate those rates and to solve the equations \(L^{\prime}(t) = -20\) and \(L^{\prime}(t) = M^{\prime}(t)\); every solution in the interval must be reported to three decimal places.
Key Insight
Every function here is a composite: the sine and the logarithm each have a non-linear inside, and the wait time is a function of the line length. Each rate therefore needs the chain rule — outer derivative evaluated at the inside, times the derivative of the inside. The calculator is needed to evaluate those rates and to solve the equations \(L^{\prime}(t) = -20\) and \(L^{\prime}(t) = M^{\prime}(t)\); every solution in the interval must be reported to three decimal places.
Solution Steps
(a) \(L^{\prime}(t) = 25\cos\left(\frac{t^{2}}{6}\right)\cdot\frac{2t}{6} = \frac{25t}{3}\cos\left(\frac{t^{2}}{6}\right)\), so \(L^{\prime}(4) = \frac{100}{3}\cos\left(\frac{8}{3}\right) \approx -29.644\). At time \(t = 4\) hours, the number of people in line for Ride A is decreasing at a rate of about \(29.644\) people per hour. Scoring (2 points): 1 point for \(L^{\prime}(4) \approx -29.644\); 1 point for the interpretation with units (people per hour) and the word “decreasing.” Chief Reader note: an interpretation must name the time, the quantity, and the units; “the line is going down by 29.644” without “per hour” does not earn the point.
(b) Decreasing at \(20\) people per hour means \(L^{\prime}(t) = -20\). Solve \(\frac{25t}{3}\cos\left(\frac{t^{2}}{6}\right) = -20\) on \(0 \lt t \lt 6\): \(t \approx 3.697\) and \(t \approx 5.029\) hours. Scoring (2 points): 1 point for the equation \(L^{\prime}(t) = -20\); 1 point for both values. Chief Reader note: setting \(L^{\prime}(t) = 20\) (sign error) or \(L(t) = -20\) (value instead of rate) earns no credit for the answer.
(c) \(W^{\prime}(t) = \frac{3}{2\sqrt{L(t) + 9}}\cdot L^{\prime}(t)\). With \(L(4) = 40 + 25\sin\left(\frac83\right) \approx 51.432\) and \(L^{\prime}(4) \approx -29.644\), \(W^{\prime}(4) \approx \frac{3(-29.644)}{2\sqrt{60.432}} \approx -5.720\). At \(t = 4\) hours, the expected wait time for Ride A is decreasing at about \(5.720\) minutes per hour. Scoring (2 points): 1 point for the chain-rule expression with the factor \(L^{\prime}(t)\); 1 point for \(-5.720\) with units (minutes per hour).
(d) \(M^{\prime}(t) = \frac{16t}{1 + t^{2}}\). \(L^{\prime}(2) = \frac{50}{3}\cos\left(\frac23\right) \approx 13.098\) and \(M^{\prime}(2) = \frac{32}{5} = 6.4\). Since \(L^{\prime}(2) \gt M^{\prime}(2) \gt 0\), the line for Ride A is growing faster at \(t = 2\). Solving \(L^{\prime}(t) = M^{\prime}(t)\) on \(0 \lt t \lt 6\) with the calculator gives \(t \approx 0.972\), \(t \approx 2.856\), and \(t \approx 5.354\) hours. Scoring (3 points): 1 point for \(M^{\prime}(t)\) with the inner derivative \(2t\); 1 point for the comparison at \(t = 2\) using both rates; 1 point for all three times. Chief Reader note: comparing \(L(2)\) with \(M(2)\) answers which line is longer, not which is growing faster.
Teacher Explanation
(a) \(L^{\prime}(4) \approx -29.644\) people per hour (decreasing). (b) \(L^{\prime}(t) = -20\): \(t \approx 3.697, 5.029\). (c) \(W^{\prime}(4) = \frac{3L^{\prime}(4)}{2\sqrt{L(4) + 9}} \approx -5.720\) minutes per hour. (d) \(L^{\prime}(2) \approx 13.098 \gt 6.4 = M^{\prime}(2)\): Ride A; equal rates at \(t \approx 0.972, 2.856, 5.354\).
Education Coach Advice
\(\frac{d}{dt}\sin(u) = \cos(u)\cdot u^{\prime}\): the inside \(\frac{t^{2}}{6}\) contributes \(\frac{t}{3}\).
“Decreasing at 20 per hour” means the derivative equals \(-20\).
A function of a model, such as \(\sqrt{L(t) + 9}\), still needs the factor \(L^{\prime}(t)\).
Interpretations: time, quantity, increasing/decreasing, rate units.
Traps
Dropping the inner derivative \(\frac{t}{3}\) in \(L^{\prime}\) or \(2t\) in \(M^{\prime}\); calculator in degree mode; in (b), solving \(L^{\prime}(t) = 20\) or reporting only the first solution; in (c), writing \(W^{\prime}(t) = \frac{3}{2\sqrt{L(t) + 9}}\) with no factor \(L^{\prime}(t)\); in (d), comparing the values \(L(2)\) and \(M(2)\) instead of the rates, or missing one of the three intersection times of the rate graphs.
Answer images
Question 6
⚠️ Let \(f\) and \(g\) be the functions defined by \(f(x) = \ln\left(x^{2} + 1\right)\) and \(g(x) = 2\sin x\). Let \(h\) be the function defined by \(h(x) = f(g(x))\).
(a) (2 points) Write an expression for \(h(x)\) in terms of \(x\), and find \(h^{\prime}(x)\).
(b) (2 points) Write an equation for the line tangent to the graph of \(h\) at \(x = \frac{\pi}{6}\).
(c) (3 points) Find all values of \(x\), for \(0 \lt x \lt 2\pi\), at which the graph of \(h\) has a horizontal tangent line. Justify your answer.
(d) (2 points) Let \(k\) be the function defined by \(k(x) = g(f(x))\). Find \(k^{\prime}(1)\). Is \(k\) increasing or decreasing at \(x = 1\)? Give a reason for your answer.
Main Solution
Strategy
Two layers of the chain rule: \(h^{\prime}(x) = f^{\prime}(g(x))\cdot g^{\prime}(x)\), where \(f^{\prime}(u) = \frac{2u}{u^{2} + 1}\) must be evaluated at \(u = g(x) = 2\sin x\). Horizontal tangents come from setting the numerator of \(h^{\prime}\) equal to zero — and the product \(\sin x\cos x\) has zeros from both factors. Reversing the order of composition, \(g(f(x))\), gives a completely different function.
Key Insight
Two layers of the chain rule: \(h^{\prime}(x) = f^{\prime}(g(x))\cdot g^{\prime}(x)\), where \(f^{\prime}(u) = \frac{2u}{u^{2} + 1}\) must be evaluated at \(u = g(x) = 2\sin x\). Horizontal tangents come from setting the numerator of \(h^{\prime}\) equal to zero — and the product \(\sin x\cos x\) has zeros from both factors. Reversing the order of composition, \(g(f(x))\), gives a completely different function.
Solution Steps
(a) \(h(x) = \ln\left(4\sin^{2}x + 1\right)\). \(h^{\prime}(x) = \frac{1}{4\sin^{2}x + 1}\cdot 8\sin x\cos x = \frac{8\sin x\cos x}{4\sin^{2}x + 1}\). Scoring (2 points): 1 point for \(h(x)\); 1 point for \(h^{\prime}(x)\) including the factor \(8\sin x\cos x\). Chief Reader note: \(\frac{d}{dx}\sin^{2}x = 2\sin x\cos x\); answers such as \(\frac{8\sin x}{4\sin^{2}x + 1}\) or \(\frac{2\cos x}{4\sin^{2}x + 1}\) miss a layer of the chain rule.
(b) \(h\left(\frac{\pi}{6}\right) = \ln\left(4\cdot\frac14 + 1\right) = \ln 2\). \(h^{\prime}\left(\frac{\pi}{6}\right) = \frac{8\cdot\frac12\cdot\frac{\sqrt3}{2}}{4\cdot\frac14 + 1} = \frac{2\sqrt3}{2} = \sqrt3\). Tangent line: \(y = \ln 2 + \sqrt3\left(x - \frac{\pi}{6}\right)\). Scoring (2 points): 1 point for \(h\left(\frac{\pi}{6}\right) = \ln 2\) and \(h^{\prime}\left(\frac{\pi}{6}\right) = \sqrt3\); 1 point for the equation.
(c) The denominator \(4\sin^{2}x + 1 \ge 1\) is never zero, so \(h^{\prime}\) is defined everywhere and \(h^{\prime}(x) = 0\) exactly when \(\sin x\cos x = 0\). \(\sin x = 0\) gives \(x = \pi\); \(\cos x = 0\) gives \(x = \frac{\pi}{2}\) and \(x = \frac{3\pi}{2}\). So the graph of \(h\) has horizontal tangents at \(x = \frac{\pi}{2}\), \(x = \pi\), and \(x = \frac{3\pi}{2}\). Scoring (3 points): 1 point for setting \(h^{\prime}(x) = 0\) (numerator equal to \(0\), denominator nonzero); 1 point for considering both factors; 1 point for exactly the three values. Chief Reader note: dividing both sides by \(\sin x\) or by \(\cos x\) loses solutions; set each factor equal to zero.
(d) \(k(x) = 2\sin\left(\ln\left(x^{2} + 1\right)\right)\), so \(k^{\prime}(x) = 2\cos\left(\ln\left(x^{2} + 1\right)\right)\cdot\frac{2x}{x^{2} + 1}\). Then \(k^{\prime}(1) = 2\cos(\ln 2)\cdot\frac{2}{2} = 2\cos(\ln 2)\). Since \(0 \lt \ln 2 \lt 1 \lt \frac{\pi}{2}\), \(\cos(\ln 2) \gt 0\), so \(k^{\prime}(1) \gt 0\) and \(k\) is increasing at \(x = 1\). Scoring (2 points): 1 point for \(k^{\prime}(1) = 2\cos(\ln 2)\); 1 point for “increasing” with the reason \(k^{\prime}(1) \gt 0\).
Teacher Explanation
(a) \(h(x) = \ln\left(4\sin^{2}x + 1\right)\), \(h^{\prime}(x) = \frac{8\sin x\cos x}{4\sin^{2}x + 1}\). (b) \(y = \ln 2 + \sqrt3\left(x - \frac{\pi}{6}\right)\). (c) \(x = \frac{\pi}{2}, \pi, \frac{3\pi}{2}\). (d) \(k^{\prime}(1) = 2\cos(\ln 2) \gt 0\): increasing.
Education Coach Advice
Outer derivative at the inside : \(f^{\prime}(g(x))\), not \(f^{\prime}(x)\).
\(\sin^{2}x = (\sin x)^{2}\): power rule, then the derivative of \(\sin x\).
Horizontal tangent: numerator \(0\), denominator not \(0\); check every factor.
Order matters: \(f(g(x))\) and \(g(f(x))\) are different functions.
Traps
Computing \(f^{\prime}(x)\cdot g^{\prime}(x)\) instead of \(f^{\prime}(g(x))\cdot g^{\prime}(x)\); writing \(\frac{d}{dx}\sin^{2}x = 2\sin x\) or \(\cos^{2}x\); in (c), giving only \(x = \frac{\pi}{2}\) and \(\frac{3\pi}{2}\) (missing \(x = \pi\)) or including \(x = 0\) and \(2\pi\), which are outside the open interval; in (d), assuming \(g(f(x)) = f(g(x))\).
Answer images
AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.

