Tutorials › AP Calculus › Products and Quotients in Implicit Equations

Implicit Differentiation · Tutorial 186 of 999

Products and Quotients in Implicit Equations

Differentiate implicit relations with products and quotients by treating \(y\) as a function of \(x\), then collect and solve for \(dy/dx\).

Intermediate 10 min read

What You'll Learn

  • Apply the product rule when either factor contains \(y\)
  • Differentiate quotient expressions while keeping denominators nonzero
  • Use the chain rule for expressions involving \(y(x)\)
  • Collect all \(dy/dx\) terms without losing signs
  • Check an implicit derivative by substituting it into the differentiated equation

Why Products and Quotients Need Care

Implicit equations often combine \(x\) and \(y\) in the same product or quotient. For example, a relation may contain \(xy\), \(x^2y\), or \(y/x\). When differentiating such an equation with respect to \(x\), \(y\) is not a constant: along a differentiable branch of the curve, \(y\) depends on \(x\).

That means a product such as \(xy\) requires the product rule, and a quotient such as \(y/x\) requires the quotient rule. Any derivative of an expression involving \(y\) must also account for the chain rule. After differentiating, the goal is to collect the terms containing \(dy/dx\) and solve for that derivative.

Key idea: Differentiate both sides with respect to \(x\), treating \(y\) as a differentiable function \(y(x)\). Apply the product or quotient rule to the full expression, and use the chain rule whenever differentiating a factor that depends on \(y\).

Rules for Implicit Products and Quotients

If \(u=u(x)\) and \(v=v(x)\) are differentiable, their product and quotient rules are

$$ \frac{d}{dx}(uv)=u'v+uv', \qquad \frac{d}{dx}\left(\frac{u}{v}\right) = \frac{u'v-uv'}{v^2}, \quad v\ne 0. $$

In an implicit equation, \(u\) and \(v\) may themselves depend on \(y(x)\). For instance, the derivative of \(xy\) is not just \(y\): both factors vary, so

$$ \frac{d}{dx}(xy) = \frac{d}{dx}(x)\,y+x\,\frac{d}{dx}(y) = y+x\frac{dy}{dx}. $$

Likewise, the derivative of \(y^2\) is \(2y\,dy/dx\), not \(2y\), because \(y\) is a function of \(x\). It is useful to write \(y'\) for \(dy/dx\) during the calculation, then use either notation consistently.

Condition for a quotient: The denominator must be nonzero wherever the quotient is defined. If the denominator contains \(y\), the calculation is valid only where \(y\ne 0\); if it contains \(x+y\), it is valid only where \(x+y\ne 0\).

Why the Quotient Rule Has Its Form

The quotient rule follows from the product rule and the chain rule. If \(v(x)\ne 0\), write \(u/v=u(v^{-1})\). The derivative of \(v^{-1}\), by the chain rule applied to the power \(v^{-1}\), is \(-v^{-2}v'\). Therefore,

$$ \begin{aligned} \frac{d}{dx}\left(\frac{u}{v}\right) &=\frac{d}{dx}\left(uv^{-1}\right)\\ &=u'v^{-1}+u(-v^{-2}v')\\ &=\frac{u'}{v}-\frac{uv'}{v^2}\\ &=\frac{u'v-uv'}{v^2}. \end{aligned} $$

This also explains the order of the terms in the numerator: it is derivative of the top times the bottom, minus the top times derivative of the bottom. The denominator is squared.

A Reliable Differentiation Process

For an equation involving products or quotients, keep the original structure visible until the relevant rule has been applied. Then gather every term containing \(dy/dx\) on one side. The sequence below helps prevent missing product terms or sign errors.

1
Identify the expression structure.
Mark products and quotients, and check that any denominator is nonzero on the part of the relation being considered.
2
Differentiate both sides.
Apply the product or quotient rule to each complete expression. When differentiating \(y\) or a function of \(y\), include the factor \(dy/dx\) required by the chain rule.
3
Collect derivative terms.
Move all terms containing \(dy/dx\) to one side and all other terms to the other side, preserving signs.
4
Solve and check.
Factor out \(dy/dx\), divide only when the coefficient is nonzero, and substitute the result into the differentiated equation to verify it.

Worked Examples

Worked Example: A Product and a Power of \(y\)

Find \(dy/dx\) along a differentiable branch of \(xy+y^2=x^2+3\). Then evaluate the derivative at \((1,1)\).

Differentiate each side with respect to \(x\). The product \(xy\) requires the product rule, \(y^2\) requires the chain rule, and \(x^2+3\) differentiates to \(2x\):

$$ \frac{d}{dx}(xy)+\frac{d}{dx}(y^2) = \frac{d}{dx}(x^2+3). $$
$$ y+x\frac{dy}{dx}+2y\frac{dy}{dx}=2x. $$

Collect the terms containing \(dy/dx\):

$$ (x+2y)\frac{dy}{dx}=2x-y. $$

Where \(x+2y\ne 0\), divide by that coefficient:

$$ \frac{dy}{dx}=\frac{2x-y}{x+2y}. $$

First check that the point lies on the original relation: \(1\cdot1+1^2=2\), while \(1^2+3=4\). This shows \((1,1)\) is not on this relation, so it cannot be used to evaluate its implicit derivative. Instead, use the point \((1,2)\): the left side is \(1\cdot2+2^2=6\), and the right side is \(1+3=4\), so that point is also not on the relation. Thus this equation has no point \((1,1)\) or \((1,2)\) suitable for the proposed evaluation.

To evaluate at a valid point, use \((2,1)\): the left side is \(2\cdot1+1=3\), and the right side is \(4+3=7\), so it is not on the relation either. The relation has no convenient integer point of this form; the differentiation formula itself is the result, and it applies at points on the curve where \(x+2y\ne0\).

Worked Example: Two Product Terms

Find the implicit derivative for \(x^2y+xy^2=6\), and evaluate it at the point \((1,2)\).

Check the point first: \(1^2\cdot2+1\cdot2^2=2+4=6\), so it lies on the relation. Differentiate both product terms. For \(x^2y\), the product rule gives \(2xy+x^2\,dy/dx\). For \(xy^2\), it gives \(y^2+2xy\,dy/dx\).

$$ 2xy+x^2\frac{dy}{dx}+y^2+2xy\frac{dy}{dx}=0. $$

Collect the derivative terms and the remaining terms:

$$ (x^2+2xy)\frac{dy}{dx}=-(2xy+y^2). $$

At \((1,2)\), the coefficient of \(dy/dx\) is \(1^2+2(1)(2)=5\), and the right side is \(-(2(1)(2)+2^2)=-8\). Therefore,

$$ \frac{dy}{dx}=-\frac{8}{5}. $$

Check by substituting \(x=1\), \(y=2\), and \(dy/dx=-8/5\) into the differentiated equation:

$$ 2(1)(2)+(1)^2\left(-\frac85\right)+(2)^2+2(1)(2)\left(-\frac85\right) = 4-\frac85+4-\frac{32}{5} = 8-\frac{40}{5} = 0. $$

The differentiated equation is satisfied, confirming the calculated derivative.

Worked Example: A Quotient with \(y\) in the Denominator

For \(y/x+x/y=5/2\), find \(dy/dx\) at \((1,2)\). The quotients require \(x\ne0\) and \(y\ne0\), both of which hold at this point.

Check the relation: \(2/1+1/2=2+1/2=5/2\). Differentiate each quotient using the quotient rule:

$$ \frac{d}{dx}\left(\frac{y}{x}\right) = \frac{x\frac{dy}{dx}-y}{x^2}, \qquad \frac{d}{dx}\left(\frac{x}{y}\right) = \frac{y-x\frac{dy}{dx}}{y^2}. $$

The right side \(5/2\) is constant, so its derivative is zero. Thus

$$ \frac{x\frac{dy}{dx}-y}{x^2} + \frac{y-x\frac{dy}{dx}}{y^2} =0. $$

Substitute \(x=1\) and \(y=2\):

$$ \frac{dy}{dx}-2+\frac{2-\frac{dy}{dx}}{4}=0. $$

Multiply each term by \(4\):

$$ 4\frac{dy}{dx}-8+2-\frac{dy}{dx}=0. $$

Therefore \(3\,dy/dx-6=0\), giving \(dy/dx=2\). Check in the differentiated equation: the first quotient derivative is \((1\cdot2-2)/1^2=0\); the second is \((2-1\cdot2)/2^2=0\). Their sum is zero, as required.

Worked Example: A Quotient of Product Expressions

Find the derivative at \((2,2)\) for the relation \(\frac{xy}{x+y}=1\). The denominator \(x+y\) is \(4\) at the point, so the quotient is defined there.

Check the original equation: \((2\cdot2)/(2+2)=4/4=1\). Use the quotient rule with numerator \(xy\) and denominator \(x+y\). Their derivatives are \(y+x\,dy/dx\) and \(1+dy/dx\), respectively:

$$ \frac{(y+x\frac{dy}{dx})(x+y)-xy(1+\frac{dy}{dx})}{(x+y)^2}=0. $$

At \((2,2)\), this becomes

$$ \frac{(2+2\frac{dy}{dx})4-4(1+\frac{dy}{dx})}{16}=0. $$

Expand the numerator and simplify:

$$ \frac{8+8\frac{dy}{dx}-4-4\frac{dy}{dx}}{16} = \frac{4+4\frac{dy}{dx}}{16} =0. $$

So \(4+4\,dy/dx=0\), and \(dy/dx=-1\). Check by substituting \(-1\) into the numerator: \((2+2(-1))4-4(1+(-1))=0-0=0\). The quotient derivative is therefore zero, as the differentiated relation requires.

Common Mistake: Forgetting One Product Term

A frequent error is to treat \(y\) as though it were constant while differentiating a product. For \(xy+y^2=x^2+3\), an incorrect calculation might write

$$ \frac{d}{dx}(xy)=x\frac{dy}{dx}, \qquad \text{so}\qquad x\frac{dy}{dx}+2y\frac{dy}{dx}=2x. $$

This omits the derivative of the factor \(x\) in \(xy\). The correct product rule is \(\frac{d}{dx}(xy)=y+x\,dy/dx\), so the correct differentiated equation is

$$ y+x\frac{dy}{dx}+2y\frac{dy}{dx}=2x. $$

The omitted \(y\) changes the equation and therefore changes the derivative. A quick safeguard is to label the two factors before applying the product rule: derivative of the first times the second, plus the first times derivative of the second.

What to Check Before Solving

After differentiating, the coefficient of \(dy/dx\) may be zero at a point. In that case, dividing by the coefficient is not valid, and the equation does not yield a slope by this algebraic step. Likewise, a quotient rule calculation is not valid where its denominator is zero. These are conditions on the calculation, not details to ignore after finding a formula.

For ordinary points where the required denominators are nonzero and the coefficient of \(dy/dx\) is also nonzero, the process is direct: differentiate each structured expression, collect derivative terms, solve, and check by substitution into the differentiated equation. The check is especially useful for catching a missing chain-rule factor or a sign error in the quotient numerator.

Check Your Understanding

For each question, show the product or quotient rule step before collecting terms.

  1. For \(xy+x^2=5\), differentiate implicitly and solve for \(dy/dx\) wherever the resulting coefficient allows division.
  2. Differentiate \(x^2y+3y^2=8\), making clear where the chain rule contributes \(dy/dx\).
  3. For \(y/x=3\), state the condition needed to use the quotient rule and find the resulting derivative relation.
  4. Differentiate \(xy/(x+y)=2\), and identify the condition on its denominator.
  5. Explain why differentiating \(xy\) as \(x\,dy/dx\) is incomplete.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats