This calculus practice problem asks you to differentiate the product $f(x) \cdot g(x)$, where $f(x) = 7x^3$ and $g(x) = \cos(x)$. A worked solution is shown below, but one of its steps contains a mistake. Tick the step you think is wrong and press Check. If you are right, the full explanation unlocks: why that step is wrong and how to solve the problem correctly. It practices the product rule.
$f(x)=7x^{3}$
$g(x)=\cos(x)$
Differentiate $(f \cdot g)(x)$
This question was testing your knowledge about the product rule. Check out my Calculus I Notes - Product Rule Section for more worked problems applying the product rule.
Mistake: $\dfrac{d}{dx}[f(x) \cdot g(x)] = \dfrac{d}{dx}f(x) \cdot \dfrac{d}{dx}g(x)$ is false!
Let's go over each step until we reach the wrong one, explain why it is wrong, and then show you the proper solution.
The question starts by giving you 2 functions, $f(x)=7x^{3}$ and $g(x)=\cos(x)$. It then asks us to differentiate the result of the 2 functions getting multiplied together $(f \cdot g)(x)$ (Note: $(f \cdot g)(x)$ is the same thing as $f(x) \cdot g(x)$, they just mean that the 2 functions are multiplying with each other).
Let's start by multiplying $f(x)$ and $g(x)$ together so that we know what function we are working with:
Next, we need to find the derivative of $(f \cdot g)(x)$. So,
Now, why is step $3$ wrong?
Why can't we just do $\dfrac{d}{dx}[f(x) \cdot g(x)] = \dfrac{d}{dx}f(x) \cdot \dfrac{d}{dx}g(x)$?
A detailed proof of the product rule and why it works will be found in my calculus notes. For the purposes of this question, here is a quick counterexample to prove that $\dfrac{d}{dx}[f(x) \cdot g(x)]=\dfrac{d}{dx}f(x) \cdot \dfrac{d}{dx}g(x)$ is false:
Start with $f(x)=x$ and $g(x)=x$. We know that $f(x) \cdot g(x)=x \cdot x = x^2$, and we know that that the $\dfrac{d}{dx}x^2=2x^{2-1}=2x^1=2x$.
So, if $\dfrac{d}{dx}[f(x) \cdot g(x)]=\dfrac{d}{dx}f(x) \cdot \dfrac{d}{dx}g(x)$ is true, then applying it on $\dfrac{d}{dx}(f \cdot g)=x \cdot x$ must give us $2x$.
Applying the (wrong) rule gives us:
Hence, $\dfrac{d}{dx}[f(x) \cdot g(x)]=\dfrac{d}{dx}f(x) \cdot \dfrac{d}{dx}g(x)$ must be false.
If you have 2 functions getting multiplied together, you must always use the product rule.
Now, let's show you the correct steps (I colored $f(x)$ as red and $g(x)$ as blue for ease of reading):
As you can see, the correct answer is $7x^2[3\cos(x)-x\sin(x)]$, while the incorrect step resulted in $-21x^2\sin(x)$.