Question 21
⚠️ 📱 Let \(f\) be the function defined by \(f(x) = e^{x}\cos\left(\sqrt3\,x\right)\).
(a) (2 points) Let \(w(x) = x^{\ln x}\) for \(x \gt 0\). Use logarithmic differentiation to find \(w^{\prime}(x)\), and write an equation for the line tangent to the graph of \(w\) at \(x = e\). A student applies the power rule and writes \(w^{\prime}(x) = (\ln x)\,x^{\ln x - 1}\). Find the student's value of \(w^{\prime}(e)\).
(b) (3 points) Show that \(f^{\prime}(x) = 2e^{x}\cos\left(\sqrt3\,x + \dfrac{\pi}{3}\right)\). Then show that if \(f^{(n)}(x) = 2^{n}e^{x}\cos\left(\sqrt3\,x + \dfrac{n\pi}{3}\right)\) for some positive integer \(n\), the same formula with \(n\) replaced by \(n + 1\) gives \(f^{(n+1)}(x)\). Find the value of \(f^{(10)}(0)\).
(c) (2 points) Let \(H(x) = f\left(x^{2}\right)\). A student computes \(H^{\prime\prime}(0)\) as \(f^{\prime\prime}(0)\cdot\dfrac{d^{2}}{dx^{2}}\left(x^{2}\right) = f^{\prime\prime}(0)\cdot 2\). Find the student's value and the correct value of \(H^{\prime\prime}(0)\), and explain the student's error.
(d) (2 points) The point \((2, 4)\) lies on the curve \(x^{y} = y^{x}\) for \(x \gt 0\), \(y \gt 0\). Find the exact value of \(\dfrac{dy}{dx}\) at \((2, 4)\).
Main Solution
Strategy
Selecting the procedure is the skill: a variable base with a variable exponent needs logarithms (explicit for \(x^{\ln x}\), implicit for \(x^{y} = y^{x}\)); a repeated derivative needs a pattern verified by one general differentiation step, and the identity \(\cos A - \sqrt3\sin A = 2\cos\left(A + \frac{\pi}{3}\right)\) turns each step into a phase shift; and the second derivative of a composite needs the product rule applied to the first derivative, never a product of second derivatives.
Key Insight
Selecting the procedure is the skill: a variable base with a variable exponent needs logarithms (explicit for \(x^{\ln x}\), implicit for \(x^{y} = y^{x}\)); a repeated derivative needs a pattern verified by one general differentiation step, and the identity \(\cos A - \sqrt3\sin A = 2\cos\left(A + \frac{\pi}{3}\right)\) turns each step into a phase shift; and the second derivative of a composite needs the product rule applied to the first derivative, never a product of second derivatives.
Solution Steps
(a) \(\ln w = (\ln x)^{2}\), so \(\dfrac{w^{\prime}}{w} = \dfrac{2\ln x}{x}\) and \(w^{\prime}(x) = x^{\ln x}\cdot\dfrac{2\ln x}{x}\). At \(x = e\): \(w(e) = e^{1} = e\) and \(w^{\prime}(e) = e\cdot\frac{2}{e} = 2\). Tangent line: \(y = e + 2(x - e)\). The student's formula gives \((\ln e)\,e^{\ln e - 1} = 1\cdot e^{0} = 1\). The power rule \(\frac{d}{dx}x^{n} = nx^{n-1}\) requires a constant exponent; here the exponent \(\ln x\) varies. (The constant-base rule would also give \(1\); the correct derivative, \(2\), is the sum of the two incomplete answers.) Scoring (2 points): 1 point for \(w^{\prime}(x)\) by logarithmic differentiation; 1 point for the tangent line and the student's value \(1\). Chief Reader note: forgetting to multiply \(\frac{w^{\prime}}{w}\) by \(w\) — answering \(\frac{2\ln x}{x}\) — is the most common logarithmic-differentiation error.
(b) Product and chain rules: \(f^{\prime}(x) = e^{x}\cos\left(\sqrt3\,x\right) - \sqrt3\,e^{x}\sin\left(\sqrt3\,x\right) = 2e^{x}\left[\frac12\cos\left(\sqrt3\,x\right) - \frac{\sqrt3}{2}\sin\left(\sqrt3\,x\right)\right] = 2e^{x}\cos\left(\sqrt3\,x + \frac{\pi}{3}\right)\), using \(\cos(A + B) = \cos A\cos B - \sin A\sin B\) with \(B = \frac{\pi}{3}\). This is the formula for \(n = 1\). In general, with \(A = \sqrt3\,x + \frac{n\pi}{3}\): \(\frac{d}{dx}\left[2^{n}e^{x}\cos A\right] = 2^{n}e^{x}\left[\cos A - \sqrt3\sin A\right] = 2^{n}e^{x}\cdot 2\cos\left(A + \frac{\pi}{3}\right) = 2^{n+1}e^{x}\cos\left(\sqrt3\,x + \frac{(n + 1)\pi}{3}\right)\), the formula with \(n + 1\). So the formula holds for every \(n\), and \(f^{(10)}(0) = 2^{10}\cos\frac{10\pi}{3} = 1024\cos\frac{4\pi}{3} = 1024\left(-\frac12\right) = -512\). Scoring (3 points): 1 point for \(f^{\prime}(x)\) with the chain factor \(\sqrt3\) and the combination into one cosine; 1 point for the general step; 1 point for \(-512\). Chief Reader note: checking \(n = 1, 2, 3\) suggests the pattern but does not show it; the general formula must be differentiated.
(c) From (b), \(f^{\prime}(0) = 2\cos\frac{\pi}{3} = 1\) and \(f^{\prime\prime}(0) = 4\cos\frac{2\pi}{3} = -2\). The student's value is \(-2\cdot 2 = -4\). Correct: \(H^{\prime}(x) = f^{\prime}\left(x^{2}\right)\cdot 2x\), and by the product and chain rules \(H^{\prime\prime}(x) = f^{\prime\prime}\left(x^{2}\right)(2x)^{2} + 2f^{\prime}\left(x^{2}\right)\). So \(H^{\prime\prime}(0) = -2(0) + 2(1) = 2\). The student treated \(\frac{d^{2}}{dx^{2}}f(u)\) as \(f^{\prime\prime}(u)\cdot u^{\prime\prime}\): the first derivative \(f^{\prime}(u)u^{\prime}\) is a product, so the product rule gives two terms, and the chain rule gives \(\left(u^{\prime}\right)^{2}\) on \(f^{\prime\prime}\), not \(u^{\prime\prime}\). At \(x = 0\) the term the student kept is actually \(0\), and the whole answer comes from the term the student lost. Scoring (2 points): 1 point for \(-4\) and the error; 1 point for \(2\).
(d) Take logarithms: \(y\ln x = x\ln y\). Differentiate implicitly: \(\dfrac{dy}{dx}\ln x + \dfrac{y}{x} = \ln y + \dfrac{x}{y}\dfrac{dy}{dx}\), so \(\dfrac{dy}{dx}\left(\ln x - \dfrac{x}{y}\right) = \ln y - \dfrac{y}{x}\). At \((2, 4)\): \(\dfrac{dy}{dx}\left(\ln 2 - \frac12\right) = 2\ln 2 - 2\), so \(\dfrac{dy}{dx} = \dfrac{2\ln 2 - 2}{\ln 2 - \frac12} = \dfrac{4(1 - \ln 2)}{1 - 2\ln 2}\). Scoring (2 points): 1 point for the implicit derivative of \(y\ln x = x\ln y\) with the product rule on both sides; 1 point for the exact value. Chief Reader note: differentiating \(x^{y}\) as \(yx^{y-1}\) treats the exponent as constant and earns no credit.
Teacher Explanation
(a) \(w^{\prime}(x) = \frac{2\ln x}{x}x^{\ln x}\); \(w^{\prime}(e) = 2\); \(y = e + 2(x - e)\); the student's value is \(1\). (b) \(f^{\prime} = 2e^{x}\cos\left(\sqrt3\,x + \frac{\pi}{3}\right)\); each derivative multiplies by \(2\) and shifts the phase by \(\frac{\pi}{3}\); \(f^{(10)}(0) = -512\). (c) Student \(-4\); correct \(H^{\prime\prime}(0) = 2f^{\prime}(0) = 2\). (d) \(\frac{dy}{dx} = \frac{4(1 - \ln 2)}{1 - 2\ln 2}\).
Education Coach Advice
Variable base and variable exponent: take \(\ln\) first, then differentiate.
Prove a derivative pattern by differentiating the general formula once.
\(\frac{d^{2}}{dx^{2}}f(u) = f^{\prime\prime}(u)\left(u^{\prime}\right)^{2} + f^{\prime}(u)\,u^{\prime\prime}\).
\(\cos A - \sqrt3\sin A = 2\cos\left(A + \frac{\pi}{3}\right)\): combine before differentiating again.
Traps
In (a), the power rule on a variable exponent, or forgetting to multiply by \(w\); in (b), dropping the factor \(\sqrt3\), or verifying the formula only for small \(n\); a sign error in \(\cos\frac{10\pi}{3}\); in (c), \(f^{\prime\prime}(u)\cdot u^{\prime\prime}\), or \(f^{\prime\prime}(u)(u^{\prime})^{2}\) without the second term (which gives \(0\)); in (d), \(\frac{d}{dx}x^{y} = yx^{y-1}\).
Answer images

