← Back to Home

This calculus practice problem asks you to use implicit differentiation to find $\dfrac{dy}{dx}$ for $3x^2 + \dfrac{x}{y} = \cot(4x^2)$. 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 implicit differentiation.

Problem 5

Use implicit differentiation to find $\dfrac{dy}{dx}$:

$3x^{2}+\dfrac{x}{y}=\cot(4x^{2})$

Check the wrong step
Step 1We will use implicit differentiation: differentiate both sides with respect to $x$, one term at a time.

$\dfrac{d}{dx}\left[3x^{2}+\dfrac{x}{y}\right]=\dfrac{d}{dx}\left[\cot(4x^{2})\right]$
Step 2Note that $\dfrac{d}{dx}[3x^{2}]=3\cdot 2x^{2-1}=6x$
Step 3Since $\dfrac{x}{y}$ is a fraction of 2 functions: apply the quotient rule.

$\dfrac{d}{dx}\dfrac{\textcolor{red}{f(x)}}{\textcolor{#33b5e5}{g(x)}}$
$=\dfrac{\textcolor{red}{f'(x)} \cdot \textcolor{#33b5e5}{g(x)} - \textcolor{red}{f(x)} \cdot \textcolor{#33b5e5}{g'(x)}}{\textcolor{#33b5e5}{[g(x)]^{2}}}$

where $\textcolor{red}{f(x)=x}$ and $\textcolor{#33b5e5}{g(x)=y}$.

So,

$\dfrac{d}{dx}\dfrac{x}{y}=\dfrac{\textcolor{red}{(1)} \cdot \textcolor{#33b5e5}{y} - \textcolor{red}{x} \cdot \textcolor{#33b5e5}{(1)}}{\textcolor{#33b5e5}{y^{2}}}$

$\dfrac{d}{dx}\dfrac{x}{y}=\dfrac{y-x}{y^{2}}$
Step 4Note that $\dfrac{d}{dx}\cot(4x^{2})=-\csc^{2}(4x^{2}) \cdot 8x$
$=-8x\csc^{2}(4x^{2})$
Step 5Combining the derivatives of all terms:

$6x+\dfrac{y-x}{y^{2}}=-8x\csc^{2}(4x^{2})$
Step 6The mistake prevents you from completing the question.
Unlocked Solution & Analysis ▼

This question was testing your knowledge about implicit differentiation. Check out my Calculus I Notes - Implicit Differentiation Section for more worked problems about implicit differentiation.

Mistake: $y$ is a function of $x$, so $\dfrac{d}{dx}y=\dfrac{dy}{dx}$, not $1$!

Only $\dfrac{d}{dx}x=1$. Since $y$ depends on $x$, differentiating $y$ needs the chain rule, and that is where $\dfrac{dy}{dx}$ comes from. The question treated $y$ like $x$, so the only term containing $y$ lost its $\dfrac{dy}{dx}$.
That is why the final equation had no $\dfrac{dy}{dx}$ in it, and there was nothing left to solve for.

A quick way to remember that differentiating $y$ in implicit differentiation must result in a $\dfrac{dy}{dx}$ as part of the derivative is looking at the derivative of any "$y=...$" equation.

Take $y=x^2$ as an example. When you differentiate it, you get: $\dfrac{dy}{dx}=2x$. Here, $\dfrac{dy}{dx}$ is just the name for "the derivative of $y$." When $y$ shows up in an implicit differentiation, you first differentiate it like any $x$ term and then multiply whatever you get by $\dfrac{dy}{dx}$ (this is the chain rule). So, $\dfrac{d}{dx}y=1\cdot y^{1-1} \cdot \dfrac{dy}{dx}=1\cdot 1 \cdot \dfrac{dy}{dx}=\dfrac{dy}{dx}$

What if we have to differentiate $y^2=(x^2)^2=x^4$ implicitly (Note that $y=x^2$ is one solution of this equation. This will be important later)? Let's first differentiate $y^2$:

First, differentiate $y^2$ like any other $x$ term:
$2 \cdot y^{2-1}=2y$

Then, multiply whatever you get with $\dfrac{dy}{dx}$, so:
$2y \cdot \dfrac{dy}{dx}=2y\dfrac{dy}{dx}$

Now, to differentiate $x^4$, we will just apply the power rule like usual: $\dfrac{d}{dx}x^4=4x^{4-1}=4x^3$

Current equation after differentiation:
$2y\dfrac{dy}{dx}=4x^3$

The last step is to make $\dfrac{dy}{dx}$ the subject of the equation.
We will move $2y$ to the other side:
$\dfrac{dy}{dx}=\dfrac{4x^3}{2y}=\dfrac{2x^3}{y}$

Note: If you input $y=x^2$ into $\dfrac{dy}{dx}=\dfrac{2x^3}{y}$, you get:$\dfrac{dy}{dx}=\dfrac{2x^3}{x^2}=2x^{3-2}=2x$
Which is the same thing as differentiating $y=x^2$.

Now, here is the correct solution to the problem:

Step 1We will use implicit differentiation: differentiate both sides with respect to $x$, one term at a time.

$\dfrac{d}{dx}\left[3x^{2}+\dfrac{x}{y}\right]=\dfrac{d}{dx}\left[\cot(4x^{2})\right]$

Step 2Note that $\dfrac{d}{dx}[3x^{2}]=3\cdot 2x^{2-1}=6x$

Step 3Since $\dfrac{x}{y}$ is a fraction of 2 functions: apply the quotient rule.

$\dfrac{d}{dx}\dfrac{\textcolor{red}{f(x)}}{\textcolor{#33b5e5}{g(x)}}$
$=\dfrac{\textcolor{red}{f'(x)} \cdot \textcolor{#33b5e5}{g(x)} - \textcolor{red}{f(x)} \cdot \textcolor{#33b5e5}{g'(x)}}{\textcolor{#33b5e5}{[g(x)]^{2}}}$

where $\textcolor{red}{f(x)=x}$ and $\textcolor{#33b5e5}{g(x)=y}$.
Note that $\textcolor{red}{f'(x)=1}$ and $\textcolor{#33b5e5}{g'(x)=\dfrac{dy}{dx}}$
$g'(x)$ is $\dfrac{dy}{dx}$ because $y$ is a function of $x$.

So,

$\dfrac{d}{dx}\dfrac{x}{y}=\dfrac{\textcolor{red}{(1)} \cdot \textcolor{#33b5e5}{y} - \textcolor{red}{x} \cdot \textcolor{#33b5e5}{\left(\dfrac{dy}{dx}\right)}}{\textcolor{#33b5e5}{y^{2}}}$

$=\dfrac{y-x\dfrac{dy}{dx}}{y^{2}}$

Step 4Note that $\dfrac{d}{dx}\cot(4x^{2})=-\csc^{2}(4x^{2}) \cdot 8x$
$=-8x\csc^{2}(4x^{2})$

Step 5Combining the derivatives of all terms:

$6x+\dfrac{y-x\dfrac{dy}{dx}}{y^{2}}=-8x\csc^{2}(4x^{2})$

Step 6Now $\dfrac{dy}{dx}$ is in the equation, so we can solve for it.

$\dfrac{y-x\dfrac{dy}{dx}}{y^{2}}=-8x\csc^{2}(4x^{2})-6x$
$y-x\dfrac{dy}{dx}=y^{2}\left[-8x\csc^{2}(4x^{2})-6x\right]$
$x\dfrac{dy}{dx}=y+y^{2}\left[6x+8x\csc^{2}(4x^{2})\right]$
$\dfrac{dy}{dx}=\dfrac{y}{x}+6y^{2}+8y^{2}\csc^{2}(4x^{2})$


As you can see, the correct answer is $\dfrac{dy}{dx}=\dfrac{y}{x}+6y^{2}+8y^{2}\csc^{2}(4x^{2})$, while the mistake in Step 3 left no $\dfrac{dy}{dx}$ in the equation, so the question could not be completed.