Question 11
⚠️ 📱 Let \(f\) be the function defined by \(f(x) = x^{2}e^{x} - 3\sin x\) for \(-4 \le x \le 2\).
(a) (2 points) Write an equation for the line tangent to the graph of \(f\) at \(x = 1\). Use this line to approximate \(f(1.1)\).
(b) (2 points) Find all values of \(x\) in the interval \(-4 \le x \le 2\) at which the line tangent to the graph of \(f\) is parallel to the line \(y = 2x + 5\).
(c) (3 points) Find all values of \(a\), for \(-4 \le a \le 2\), for which the line tangent to the graph of \(f\) at \(x = a\) passes through the origin. For each value of \(a \ne 0\), write an equation for the tangent line.
(d) (2 points) Let \(g\) be the function defined by \(g(x) = \dfrac{f(x)}{x}\) for \(x \ne 0\). Show that, for \(a \ne 0\), \(g^{\prime}(a) = 0\) exactly when the line tangent to the graph of \(f\) at \(x = a\) passes through the origin. Find the value of \(g\) at the nonzero value of \(a\) found in part (c).
Main Solution
Strategy
The product rule gives \(f^{\prime}(x) = 2xe^{x} + x^{2}e^{x} - 3\cos x\). A tangent line at \(x = a\) passes through the origin exactly when \(0 - f(a) = f^{\prime}(a)(0 - a)\), that is, \(f(a) = af^{\prime}(a)\). The quotient rule shows that this is the same as \(g^{\prime}(a) = 0\) for \(g = \frac{f}{x}\). The calculator is needed for every root, and every root in the interval must be found.
Key Insight
The product rule gives \(f^{\prime}(x) = 2xe^{x} + x^{2}e^{x} - 3\cos x\). A tangent line at \(x = a\) passes through the origin exactly when \(0 - f(a) = f^{\prime}(a)(0 - a)\), that is, \(f(a) = af^{\prime}(a)\). The quotient rule shows that this is the same as \(g^{\prime}(a) = 0\) for \(g = \frac{f}{x}\). The calculator is needed for every root, and every root in the interval must be found.
Solution Steps
(a) \(f^{\prime}(x) = 2xe^{x} + x^{2}e^{x} - 3\cos x\). \(f(1) = e - 3\sin 1 \approx 0.194\) and \(f^{\prime}(1) = 3e - 3\cos 1 \approx 6.534\). Tangent line: \(y = 0.194 + 6.534(x - 1)\). Then \(f(1.1) \approx 0.194 + 6.534(0.1) \approx 0.847\). Scoring (2 points): 1 point for the tangent line; 1 point for the approximation. Chief Reader note: \(f^{\prime}(1)\) must come from the product rule \(2xe^{x} + x^{2}e^{x}\); writing \(2xe^{x}\) alone loses the point.
(b) The slope of \(y = 2x + 5\) is \(2\), so solve \(f^{\prime}(x) = 2xe^{x} + x^{2}e^{x} - 3\cos x = 2\) on \([-4, 2]\). With the calculator (radian mode), \(x \approx -2.272\) and \(x \approx 0.737\). (The next solution, \(x \approx -4.046\), lies outside the interval.) Scoring (2 points): 1 point for \(f^{\prime}(x) = 2\); 1 point for both values and no others.
(c) The tangent line at \(x = a\) is \(y = f(a) + f^{\prime}(a)(x - a)\). It passes through \((0, 0)\) when \(0 = f(a) - af^{\prime}(a)\), that is, \(a^{2}e^{a} - 3\sin a = a\left(2ae^{a} + a^{2}e^{a} - 3\cos a\right)\). Since \(f(0) = 0\), \(a = 0\) is a solution (the tangent line there is \(y = -3x\)). With the calculator, the only other solution in \([-4, 2]\) is \(a \approx -0.404\). There \(f^{\prime}(a) \approx -3.189\), so the tangent line is \(y = -3.189x\). Scoring (3 points): 1 point for the condition \(f(a) = af^{\prime}(a)\); 1 point for \(a = 0\) and \(a \approx -0.404\); 1 point for \(y = -3.189x\). Chief Reader note: students who set \(f(a) = 0\) (the graph through the origin) instead of the tangent line through the origin earn only the \(a = 0\) credit.
(d) By the quotient rule, \(g^{\prime}(x) = \dfrac{xf^{\prime}(x) - f(x)}{x^{2}}\). For \(a \ne 0\) the denominator \(a^{2}\) is positive, so \(g^{\prime}(a) = 0\) exactly when \(af^{\prime}(a) - f(a) = 0\), which is the condition from part (c). At \(a \approx -0.404\): \(g(a) = \dfrac{f(a)}{a} \approx \dfrac{1.289}{-0.404} \approx -3.189\), the same number as the slope \(f^{\prime}(a)\), as it must be for a line through the origin and \((a, f(a))\). Scoring (2 points): 1 point for \(g^{\prime}(x)\) with the equivalence; 1 point for \(g(a) \approx -3.189\).
Teacher Explanation
(a) \(y = 0.194 + 6.534(x - 1)\), \(f(1.1) \approx 0.847\) (actual \(\approx 0.961\)). (b) \(f^{\prime}(x) = 2\): \(x \approx -2.272, 0.737\). (c) \(f(a) = af^{\prime}(a)\): \(a = 0\) (\(y = -3x\)) and \(a \approx -0.404\) (\(y = -3.189x\)). (d) \(g^{\prime} = \frac{xf^{\prime} - f}{x^{2}}\); \(g(-0.404) \approx -3.189\).
Education Coach Advice
Product rule: derivative of the first times the second, plus the first times the derivative of the second.
“Tangent line through a point \((p, q)\)”: substitute \((p, q)\) into \(y = f(a) + f^{\prime}(a)(x - a)\).
Report every root in the stated interval — and only those.
\(\frac{f(x)}{x}\) is the slope from the origin to \((x, f(x))\).
Traps
Forgetting the \(x^{2}e^{x}\) term of the product rule; writing \(\frac{d}{dx}(\sin x) = -\cos x\); degree mode; in (b), including \(x \approx -4.046\), which is outside \([-4, 2]\); in (c), solving \(f(a) = 0\) instead of \(f(a) = af^{\prime}(a)\), or missing \(a = 0\) (it is a double root, so the graph of \(f(a) - af^{\prime}(a)\) touches but does not cross zero there).
Answer images






