Mathématiques • Physique • Chimie
Préparation au CEGEP | Exercices • Défis • Corrections
Étudier. Pratiquer. Progresser. Study. Practice. Improve.
📝
Exercices Practice problems
💡
Défis Challenges
✓
Corrections Detailed solutions
📖
Concepts Deeper understanding
StudyGroup AN educational mascot

Implicit Differentiation: The 2-Step Method — 7 Solved Examples and a Comparison with the Explicit Method

Version française

Until now, we differentiated functions written in the form \(y=f(x)\). But how do you differentiate a curve like \(x^2y^2-3y=2x\), where isolating \(y\) is almost impossible? That is the job of implicit differentiation (section 3.5). Here is the 2-step method, 7 solved examples, a comparison with the explicit method, and the 3 traps to avoid.

Level: CEGEP — Differential Calculus (NYA)
Concepts: explicit and implicit functions, chain rule, product rule, implicit differentiation, slope of the tangent line

Table of Contents

  1. Explicit or Implicit?
  2. The Key: Differentiating \(y\) with Respect to \(x\)
  3. The 2-Step Method
  4. 4 Solved Examples
  5. Implicit or Explicit: Same Answer? (3 Exercises)
  6. The 3 Traps in My Review
  7. Twin Exercises

1. Explicit or Implicit?

  • Explicit form: \(y\) is already isolated, for example \(y=\sqrt{x^3+1}\). You differentiate directly.
  • Implicit form: \(x\) and \(y\) are mixed together in an equation, for example \(x^2+y^2=4\) or \(x^3+y^3=6xy\).

For \(x^2+y^2=4\), you can isolate \(y\): \(y=\pm\sqrt{4-x^2}\). But then you have to deal with the \(\pm\) (two functions!). For \(x^2y^2-3y=2x\) or \(x^3+y^3=6xy\), isolating \(y\) is very hard. Implicit differentiation finds \(y'\) without isolating \(y\).

2. The Key: Differentiating \(y\) with Respect to \(x\)

We treat \(y\) as a function of \(x\): \(y=f(x)\). Compare:

  • \(\dfrac{d}{dx}\left(x^3\right)=3x^2\): differentiating \(x\) with respect to \(x\), nothing special.
  • \(\dfrac{d}{dy}\left(y^3\right)=3y^2\): differentiating \(y\) with respect to \(y\).
  • \(\dfrac{d}{dx}\left(y^3\right)=3y^2\cdot y'\): differentiating \(y\) with respect to \(x\). This is the chain rule, since \(\left([f(x)]^3\right)'=3[f(x)]^2\cdot f'(x)\).

Remember: every time you differentiate a term containing \(y\), multiply by \(y'\).

The other rules stay the same, with \(c\) a constant:

  • \(\left(c\,y\right)'=c\,y'\); for example \(\left(3y\right)'=3y'\).
  • Product rule: \(\left(uv\right)'=u'v+uv'\); for example \(\left(xy\right)'=1\cdot y+x\cdot y'\).
  • \(\left(y^2\right)'=2y\cdot y'\).

3. The 2-Step Method

  1. Differentiate both sides of the equation with respect to \(x\) (without forgetting \(y'\)).
  2. Isolate \(y'\): move all terms containing \(y'\) to one side, factor out \(y'\), then divide.

4. 4 Solved Examples

Example 1 — The Circle \(x^2+y^2=4\)

Step 1: \(\dfrac{d}{dx}\left(x^2+y^2\right)=\dfrac{d}{dx}(4)\ \Rightarrow\ 2x+2y\,y'=0\)

Step 2: \(2y\,y'=-2x\ \Rightarrow\ y'=\dfrac{-2x}{2y}\)

Answer: \(y'=-\dfrac{x}{y}\)

The answer contains both \(x\) and \(y\): that is normal in implicit differentiation. To get the slope at a point, substitute both coordinates.

Example 2 — \(y^3+5y^2-8x^4=6\)

Step 1: \(3y^2\,y'+10y\,y'-32x^3=0\)

Step 2: \(y'\left(3y^2+10y\right)=32x^3\)

Answer: \(y'=\dfrac{32x^3}{3y^2+10y}\)

Example 3 — With the Product Rule: \(x^2y^2-3y=2x\)

Step 1: split the terms: \(\left(x^2y^2\right)'-\left(3y\right)'=\left(2x\right)'\).

The first term is a product \(u\cdot v\) with \(u=x^2\) and \(v=y^2\):

\(\left(x^2y^2\right)'=\underbrace{2x}_{u'}\cdot y^2+x^2\cdot\underbrace{2y\,y'}_{v'}\)

So: \(2xy^2+2x^2y\,y'-3y'=2\)

Step 2: keep the terms with \(y'\) on the left: \(2x^2y\,y'-3y'=2-2xy^2\), then factor out \(y'\): \(y'\left(2x^2y-3\right)=2-2xy^2\).

Answer: \(y'=\dfrac{2-2xy^2}{2x^2y-3}\)

Example 4 — Slope of the Tangent Line: \(x^3+y^3=6xy\) at \((3,3)\)

Check: \(27+27=54=6\cdot3\cdot3\) ✓, so the point is on the curve.

Step 1: \(3x^2+3y^2\,y'=6y+6x\,y'\) (product rule on the right).

Step 2: \(3y^2\,y'-6x\,y'=6y-3x^2\ \Rightarrow\ y'=\dfrac{6y-3x^2}{3y^2-6x}=\dfrac{2y-x^2}{y^2-2x}\)

At \((3,3)\): \(y'=\dfrac{6-9}{9-6}=\dfrac{-3}{3}\).

Answer: the slope of the tangent line is \(-1\), and its equation is \(y-3=-(x-3)\), that is \(y=-x+6\).


5. Implicit or Explicit: Same Answer?

For each equation: a) find \(y'\) by implicit differentiation; b) isolate \(y\) and differentiate (explicit method); c) check that the two answers are equal.

Exercise 1 — \(9x^2-y^2=1\)

a) Implicit: \(18x-2y\,y'=0\ \Rightarrow\ y'=\dfrac{18x}{2y}=\dfrac{9x}{y}\)

b) Explicit: \(y=\pm\sqrt{9x^2-1}=\pm\left(9x^2-1\right)^{1/2}\), so \(y'=\pm\dfrac{1}{2}\left(9x^2-1\right)^{-1/2}\cdot18x=\dfrac{9x}{\pm\sqrt{9x^2-1}}\)

c) Comparison: in \(\dfrac{9x}{y}\), replace \(y\) with \(\pm\sqrt{9x^2-1}\): we get \(\dfrac{9x}{\pm\sqrt{9x^2-1}}\) ✓

Exercise 2 — \(2x^2+x+xy=1\)

a) Implicit: \(4x+1+\left(1\cdot y+x\,y'\right)=0\ \Rightarrow\ x\,y'=-4x-1-y\ \Rightarrow\ y'=-\dfrac{4x+1+y}{x}\)

b) Explicit: \(xy=1-2x^2-x\ \Rightarrow\ y=\dfrac{1}{x}-2x-1\), so \(y'=-\dfrac{1}{x^2}-2\)

c) Comparison: \(\dfrac{-4x-1-\left(\frac{1}{x}-2x-1\right)}{x}=\dfrac{-2x-\frac{1}{x}}{x}=-2-\dfrac{1}{x^2}\) ✓

Exercise 3 — \(\sqrt{x}+\sqrt{y}=1\)

a) Implicit: \(\dfrac{1}{2}x^{-1/2}+\dfrac{1}{2}y^{-1/2}\,y'=0\ \Rightarrow\ y'=-\dfrac{x^{-1/2}}{y^{-1/2}}=-\dfrac{\sqrt{y}}{\sqrt{x}}\)

b) Explicit: \(\sqrt{y}=1-\sqrt{x}\ \Rightarrow\ y=\left(1-\sqrt{x}\right)^2=1-2\sqrt{x}+x\), so \(y'=-\dfrac{1}{\sqrt{x}}+1\)

c) Comparison: using \(\sqrt{y}=1-\sqrt{x}\): \(-\dfrac{1-\sqrt{x}}{\sqrt{x}}=-\dfrac{1}{\sqrt{x}}+1\) ✓

Conclusion: both methods give the same derivative. The implicit method is often faster, and it works even when you can't isolate \(y\).


6. The 3 Traps in My Review

Trap 1 — Forgetting the \(y'\)

The most common mistake: writing \(\left(y^3\right)'=3y^2\). That is true if you differentiate with respect to \(y\), but here we differentiate with respect to \(x\). In my notes, I wrote in big letters “differentiate with respect to \(x\)!” next to \(\left(y^3\right)'=3y^2\cdot y'\). Every term containing \(y\) must produce a \(y'\).

Trap 2 — Forgetting the product rule

In \(xy\) or \(x^2y^2\), there are two factors that depend on \(x\). You can't write \(\left(xy\right)'=x\,y'\): the term \(1\cdot y\) is missing. The correct answer is \(\left(xy\right)'=y+x\,y'\). To avoid mistakes, I box \(u\), \(v\), \(u'\) and \(v'\) in different colours.

Trap 3 — Isolating \(y'\) without factoring it out

When \(y'\) appears in several terms (like \(2x^2y\,y'-3y'\)), you can't divide right away. First factor out \(y'\): \(y'\left(2x^2y-3\right)\), then divide by the bracket.

My Handwritten Notes

Here are four pages from my review: the idea of implicit differentiation, the 2-step method with its colours, then the comparison exercises. My notes are in French: dérivation implicite means implicit differentiation, dériver par rapport à x means differentiate with respect to x, and isoler means isolate.

Handwritten notes: explicit vs implicit differentiation, and the derivative of y³ with respect to x using the chain rule
The key idea: differentiating y with respect to x produces y′.

Handwritten notes: the 2-step implicit differentiation method applied to x²y² − 3y = 2x, with the product rule in colour
Example 3: the 2-step method, with the product rule in colour.

Handwritten notes: comparing the implicit and explicit methods for 9x² − y² = 1 and 2x² + x + xy = 1
Exercises 1 and 2: both methods give the same derivative.

Handwritten notes: implicit and explicit differentiation of √x + √y = 1
Exercise 3: comparison with √x + √y = 1.


7. Twin Exercises

Same method, new curves. Try them before opening the answers.

  1. Find \(y'\) if \(xy^3=8\).
  2. Find \(y'\) if \(x^2+xy+y^2=7\), then the slope of the tangent line at \((1,2)\).
  3. Find the equation of the tangent line to the circle \(x^2+y^2=25\) at \((3,4)\).
  4. Find \(y'\) if \(\sin y=x\).
Show answers
  1. \(y^3+3xy^2\,y'=0\): \(y'=-\dfrac{y}{3x}\)
  2. \(2x+y+x\,y'+2y\,y'=0\): \(y'=-\dfrac{2x+y}{x+2y}\); at \((1,2)\): \(-\dfrac{4}{5}\)
  3. \(y'=-\dfrac{x}{y}=-\dfrac{3}{4}\): \(y-4=-\dfrac{3}{4}(x-3)\), that is \(y=-\dfrac{3}{4}x+\dfrac{25}{4}\)
  4. \(\cos y\cdot y'=1\): \(y'=\dfrac{1}{\cos y}\)

Continue Your Review


StudyGroup AN — Mathematics, physics and chemistry exercises and solutions for CEGEP students.
Review: Yootak Hong, PhD