Differential Calculus 201-SN2-RE • CEGEP, Montreal

Revision sheet: implicit differentiation (201-SN2-RE)

Implicit differentiation calls for no new rule: it is the chain rule, applied to a letter you had got used to treating as a constant. That is where the whole difficulty lies, and the marks lost in this chapter are counted in missing y′y' factors.

This sheet is written for CEGEP students in the Science program (Sciences de la nature) taking Differential Calculus, 201-SN2-RE (formerly 201-NYA). Once the sheet is read, the corrected exercise set on the same chapter puts every reflex to the test.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

In the equation of a curve, yy is not a letter, it is a FUNCTION of xx: every time you meet it, the chain rule leaves a y′y' behind. The whole chapter comes down to that factor, then to reading the quotient you obtain.

This chapter is part of 201-SN2-RE, Differential Calculus

The essentials

The principle: yy is a function of xx, not a letter

  • • Differentiate BOTH sides of the equation with respect to xx, treating yy as y(x)y(x).
  • • Every term containing yy therefore produces a factor y′y' by the chain rule, exactly like u′u' in (u3)′=3u2u′\left(u^{3}\right)'=3u^{2}u'.
  • • Then gather all the y′y' terms on one side, factor, divide: the result is a QUOTIENT in xx and yy.
  • • An equation such as x2+y2=25x^{2}+y^{2}=25 defines no function on [−5,5][-5, 5], but it does define one AROUND every point where y≠0y\neq 0. That is what makes the computation legitimate.
-6-5-4-3-2-1123456-6-5-4-3-2-1123456(3, 4)(3, -4)
The line x=3x=3 meets the circle at TWO points: the equation does not define a function, but it defines one around each point, and the two slopes −34-\frac{3}{4} and +34+\frac{3}{4} are opposite.

Checking count before going on: as many y′y' in the differentiated line as there are terms containing yy in the original equation.

The five structures that leave a y′y'

  • • ddx(yn)=nyn−1y′\frac{d}{dx}\left(y^{n}\right)=ny^{n-1}y', and likewise ddx(y)=y′2y\frac{d}{dx}\left(\sqrt{y}\right)=\frac{y'}{2\sqrt{y}}.
  • • ddx(sin⁡y)=cos⁡y⋅y′\frac{d}{dx}(\sin y)=\cos y\cdot y', ddx(ey)=eyy′\frac{d}{dx}\left(e^{y}\right)=e^{y}y', ddx(ln⁡y)=y′y\frac{d}{dx}(\ln y)=\frac{y'}{y}.
  • • PRODUCT: ddx(xy)=y+xy′\frac{d}{dx}(xy)=y+xy'. Both terms, always.
  • • QUOTIENT: ddx(xy)=y−xy′y2\frac{d}{dx}\left(\frac{x}{y}\right)=\frac{y-xy'}{y^{2}}.
  • • A term that contains only xx is differentiated as usual, and a constant gives 00: it is the only case with no y′y'.

Reading the quotient: three kinds of zeros, three verdicts

  • • y′y' generally depends on xx AND yy, and that is normal: the slope depends on the POINT, not on the xx-value alone.
  • • NUMERATOR alone zero: HORIZONTAL tangent.
  • • DENOMINATOR alone zero: VERTICAL tangent. The slope does not exist, but the tangent does, and its equation is x=x0x=x_{0}.
  • • BOTH zero together: SINGULAR point, a crossing or a cusp. There may be two tangents, or none.

A point found by one of these conditions must still BELONG to the curve: always substitute into the original equation to obtain it.

Second derivative and conics: the two formulas that save time

  • • y′′y'' is computed by differentiating y′y' like any other expression, WITHOUT forgetting that y′y' still depends on xx.
  • • Substitute the expression of y′y' AFTER differentiating, then simplify with the equation of the curve: on x2+y2=r2x^{2}+y^{2}=r^{2} this gives y′′=−r2y3y''=-\frac{r^{2}}{y^{3}}.
  • • Tangent to a conic in point form: for x2a2+y2b2=1\frac{x^{2}}{a^{2}}+\frac{y^{2}}{b^{2}}=1 at the point (x0,y0)(x_{0}, y_{0}), it is xx0a2+yy0b2=1\frac{xx_{0}}{a^{2}}+\frac{yy_{0}}{b^{2}}=1. The minus sign of the hyperbola is kept.
  • • This form remains valid at points with a vertical tangent, where the quotient y′y' says nothing any more.
-4-3-2-112345678-3-2-11234x + 2y = 5x = 3
On x29+y24=1\frac{x^{2}}{9}+\frac{y^{2}}{4}=1: at (95,85)\left(\frac{9}{5}, \frac{8}{5}\right) the formula gives x+2y=5x+2y=5, and at (3,0)(3, 0) the vertical line x=3x=3, where y′y' does not exist.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Differentiating yy as if it were an inert letter

the whole question

What not to write

“ddx(y3)=3y2\frac{d}{dx}\left(y^{3}\right)=3y^{2}”

What to write

“ddx(y3)=3y2y′\frac{d}{dx}\left(y^{3}\right)=3y^{2}y', because yy is a function of xx and the chain rule applies.”

Why: This is the mistake that defines the chapter. A paper that makes it once makes it in every term, and the result no longer has anything to do with the curve.

2. Forgetting the product rule on a mixed term

2 marks, and a wrong quotient all the way to the end

What not to write

“ddx(xy)=xy′\frac{d}{dx}(xy)=xy'”

What to write

“ddx(xy)=y+xy′\frac{d}{dx}(xy)=y+xy': it is a product of two functions of xx, so both terms.”

Why: The mixed term is the one read the fastest. The remedy is to circle it in the question before differentiating: wherever xx and yy touch, there will be two terms.

3. Solving for yy before differentiating, and losing a branch

half the marks of the question

What not to write

“x2+y2=25x^{2}+y^{2}=25 gives y=25−x2y=\sqrt{25-x^{2}}, so y′=−x25−x2y'=\frac{-x}{\sqrt{25-x^{2}}} and the slope at x=3x=3 is −34-\frac{3}{4}.”

What to write

“y′=−xyy'=-\frac{x}{y}: at (3,4)(3, 4) the slope is −34-\frac{3}{4}, but at (3,−4)(3, -4) it is +34+\frac{3}{4}. The square root kept only half of the circle.”

-6-5-4-3-2-1123456-6-5-4-3-2-1123456y = √(25 − x²)slope +3/4
y=25−x2y=\sqrt{25-x^{2}} describes only the upper half circle (green). The point (3,−4)(3, -4), with its slope +34+\frac{3}{4}, is on the lost half (red); y′=−xyy'=-\frac{x}{y} covers both.

Why: Solving for yy picks a branch without saying so. Implicit differentiation handles both at once, and that is exactly why it exists.

4. Believing that a yy left in the result is the sign of a mistake

wasted time, and often a correct answer erased

What not to write

“My result still contains yy, I must have forgotten to finish.”

What to write

“y′=−xyy'=-\frac{x}{y} depends on xx and yy: it is the normal form of an implicit derivative, since the slope depends on the POINT and not on the xx-value alone.”

Why: An implicit curve passes twice through the same xx-value with two different slopes: no expression in xx alone could describe both.

5. Announcing a vertical tangent without looking at the numerator

2 marks, and a wrong geometric conclusion

What not to write

“The denominator of y′y' is zero at the origin, so the tangent there is vertical.”

What to write

“Numerator AND denominator are zero at the origin: the point is SINGULAR. The curve crosses itself there and has two tangents, neither of which is given by the quotient.”

-2-112345-2-112345N = 0D = 0N = D = 0
On the folium x3+y3=6xyx^{3}+y^{3}=6xy, the numerator alone is zero at the point with a horizontal tangent, the denominator alone at the point with a vertical tangent, and BOTH at the origin, where the curve crosses itself.

Why: The quotient 00\frac{0}{0} decides nothing, here as anywhere else. Look at both zeros before concluding anything about the tangent.

6. Computing y′′y'' while forgetting that y′y' still depends on xx

the whole concavity question

What not to write

“y′=−xyy'=-\frac{x}{y}, so y′′=−1yy''=-\frac{1}{y}.”

What to write

“y′′=−y−xy′y2y''=-\frac{y-xy'}{y^{2}}, then replace y′y' by −xy-\frac{x}{y}: y′′=−y2+x2y3=−25y3y''=-\frac{y^{2}+x^{2}}{y^{3}}=-\frac{25}{y^{3}} on the circle of radius 55.”

Why: The quotient is differentiated with the quotient rule, and the yy in the denominator produces yet another y′y'. Substituting before differentiating makes that term disappear.

7. Concluding that there is no tangent when the slope does not exist

1 mark, and often the next question

What not to write

“At (5,0)(5, 0), y′=−50y'=-\frac{5}{0} does not exist, so the circle has no tangent at this point.”

What to write

“The SLOPE does not exist, the TANGENT does: it is the vertical line x=5x=5.”

-6-5-4-3-2-11234567-6-5-4-3-2-1123456x = 5(5, 0)
At (5,0)(5, 0), y′=−50y'=-\frac{5}{0} does not exist, but the circle does have a tangent: the vertical line x=5x=5. No slope, but a tangent.

Why: A vertical tangent line is perfectly well defined but has no slope. Confusing the two amounts to confusing the geometric object with its equation y=mx+by=mx+b.

8. Redoing the computation curve by curve in a family

the time of the exam, and the expected general proof

What not to write

“I differentiate x2+y2=9x^{2}+y^{2}=9, then x2+y2=16x^{2}+y^{2}=16, then x2+y2=25x^{2}+y^{2}=25...”

What to write

“x2+y2=cx^{2}+y^{2}=c gives y′=−xyy'=-\frac{x}{y} for the WHOLE family at once: the constant disappears when you differentiate.”

-6-5-4-3-2-1123456-6-5-4-3-2-1123456y′ = −3/4
y′=−xyy'=-\frac{x}{y} holds for the whole family x2+y2=cx^{2}+y^{2}=c: on the same radius, the tangents to the three circles are parallel, with slope −34-\frac{3}{4}. The constant cc disappeared when differentiating.

Why: This is the real strength of the method: the slope is expressed in terms of the POINT and not of the chosen curve, which lets you prove that two families are orthogonal in one line.

Which method to choose

What to do with the quotient, depending on what the question asks

Once y′=N(x,y)D(x,y)y'=\frac{N(x,y)}{D(x,y)} is obtained, the verb of the question tells you what to do with it. Never start the computation over.

  • If “the slope at the point (x0,y0)(x_{0}, y_{0})” → first check that the point is ON the curve, then substitute both coordinates

    Example: on x2+xy+y2=7x^{2}+xy+y^{2}=7, the point (1,2)(1, 2) gives y′=−45y'=-\frac{4}{5}

  • If “the points where the tangent is horizontal” → solve N=0N=0 TOGETHER WITH the equation of the curve, then check D≠0D\neq 0

    Example: 2x+y=02x+y=0 with x2+xy+y2=7x^{2}+xy+y^{2}=7 gives 3x2=73x^{2}=7

    Solving N=0N=0 alone gives a whole line, not points: the system with the equation of the curve is compulsory.

  • If “the points where the tangent is vertical” → same system with D=0D=0, then check N≠0N\neq 0; the tangent is written x=x0x=x_{0}

    Example: x+2y=0x+2y=0 with the same conic gives 3y2=73y^{2}=7

  • If NN and DD vanish at the same point → singular point: conclude nothing from the quotient, describe the curve another way (parametrization, symmetry, factoring the equation)

    Example: the origin of the folium x3+y3=6xyx^{3}+y^{3}=6xy

  • If “the equation of the tangent line” → the slope, then y−y0=m(x−x0)y-y_{0}=m(x-x_{0}); on a conic in standard form, the point form xx0a2+yy0b2=1\frac{xx_{0}}{a^{2}}+\frac{yy_{0}}{b^{2}}=1 is faster

    Example: 4x+5y=144x+5y=14 for the conic above at the point (1,2)(1, 2)

  • If “the concavity” or “y′′y''” → differentiate the quotient y′y' with the quotient rule, then replace y′y' by its expression and simplify with the equation of the curve

If the question asks for a property that holds for a whole FAMILY of curves, do not fix the constant: it disappears when you differentiate, and that is what lets you conclude in one go.

How to differentiate each structure of the equation

Sweep through the equation term by term and sort each term into one of these lines, before writing anything.

  • If the term contains only xx, or it is a constant → ordinary differentiation, no y′y'

    Example: ddx(3x2−7)=6x\frac{d}{dx}\left(3x^{2}-7\right)=6x

  • If the term is a power or a root of yy → power rule, then × y′\times\,y'

    Example: ddx(y4)=4y3y′\frac{d}{dx}\left(y^{4}\right)=4y^{3}y'

  • If the term is a transcendental function of yy → the line of the table, then × y′\times\,y'

    Example: ddx(sin⁡y)=cos⁡y⋅y′\frac{d}{dx}\left(\sin y\right)=\cos y\cdot y'

  • If xx and yy touch in the same term → product or quotient rule, which gives TWO terms

    Example: ddx(x2y3)=2xy3+3x2y2y′\frac{d}{dx}\left(x^{2}y^{3}\right)=2xy^{3}+3x^{2}y^{2}y'

    This is the line students skip. Spotting these terms in the question before starting costs five seconds and saves two marks.

Once every term is differentiated, only algebra is left: gather the y′y' terms, factor, divide. No subtlety of differential calculus beyond that line.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

The equation of the tangent line to an implicit curve

When to use it: The question gives the equation of a curve and a point, and asks for the tangent line or the normal line.

  1. 1 Check that the point belongs to the curve, and SAY so: “12+1×2+22=71^{2}+1\times 2+2^{2}=7, the point (1,2)(1, 2) is indeed on the curve.”
  2. 2 Differentiate both sides with respect to xx, writing y′y' for every term containing yy: “2x+y+xy′+2yy′=02x+y+xy'+2yy'=0.”
  3. 3 Gather and factor: “y′(x+2y)=−(2x+y)y'(x+2y)=-(2x+y), so y′=−2x+yx+2yy'=-\frac{2x+y}{x+2y}.”
  4. 4 Substitute both coordinates, never the xx-value alone: “y′(1,2)=−45y'(1, 2)=-\frac{4}{5}.”
  5. 5 Write the equation of the tangent line and simplify it: “y−2=−45(x−1)y-2=-\frac{4}{5}(x-1), that is 4x+5y=144x+5y=14.”

Concluding sentence

The tangent line to the curve x2+xy+y2=7x^{2}+xy+y^{2}=7 at the point (1,2)(1, 2) has equation 4x+5y=144x+5y=14.

The trap: Substituting x=1x=1 as early as the second line. You then lose the general formula for y′y', which the next question almost always asks for, and the computation becomes impossible to check.

Marking: Usually 1 mark for the complete differentiation with its y′y' factors, 1 mark for solving for y′y', 1 mark for the numerical slope, 1 mark for the final equation.

Proving that two families of curves are orthogonal

When to use it: The question gives two families depending on a parameter and asks you to show that they cross at right angles.

  1. 1 Differentiate the first family implicitly WITHOUT fixing the parameter: “x2+y2=cx^{2}+y^{2}=c gives 2x+2yy′=02x+2yy'=0, so m1=−xym_{1}=-\frac{x}{y}.”
  2. 2 Do the same for the second: “y=kxy=kx gives k=yxk=\frac{y}{x}, so m2=k=yxm_{2}=k=\frac{y}{x}.”
  3. 3 Note that both slopes depend only on the common POINT, and not on the parameters cc and kk.
  4. 4 Compute the product: “m1m2=−xy×yx=−1m_{1}m_{2}=-\frac{x}{y}\times\frac{y}{x}=-1 for every point with x≠0x\neq 0 and y≠0y\neq 0.”
  5. 5 Conclude by naming the criterion used, and point out the excluded points.

Concluding sentence

At every point of intersection other than the origin, the product of the slopes is −1-1: the two families cross at right angles, whatever the values of the parameters.

The trap: Eliminating the parameter BEFORE differentiating, by replacing kk with its numerical value. The proof then holds for one curve only, and the question asked for infinitely many.

Marking: 1 mark for each slope obtained by implicit differentiation, 1 mark for the product and the conclusion, often 1 mark for mentioning the excluded points.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

A conic: tangent line at a point, then horizontal tangents

Consider the curve with equation x2+xy+y2=7x^{2}+xy+y^{2}=7.

1. Give the equation of the tangent line at the point (1,2)(1, 2).

2. Find the points of the curve where the tangent is horizontal.

-4-3-2-11234-4-3-2-11234(1, 2)
The curve x2+xy+y2=7x^{2}+xy+y^{2}=7 is the graph of no function, but around (1,2)(1, 2) it defines one: that is where implicit differentiation goes to find the slope.

Step 1

12+1×2+22=1+2+4=71^{2}+1\times 2+2^{2}=1+2+4=7: the point (1,2)(1, 2) does belong to the curve.

Why

This line is often worth half a mark and above all it protects you: a tangent computed at a point off the curve is wrong whatever the rest of the computation.

Step 2

Differentiate both sides with respect to xx: 2x+(y+xy′)+2yy′=02x+\left(y+xy'\right)+2yy'=0.

Why

The term xyxy is a PRODUCT of two functions of xx, so it gives two terms. The term y2y^{2} gives 2yy′2yy', never 2y2y. Two terms in yy on the left, two y′y' on the right: the count is right.

Step 3

Gather: y′(x+2y)=−(2x+y)y'(x+2y)=-(2x+y), so y′=−2x+yx+2yy'=-\dfrac{2x+y}{x+2y}.

Why

From here on there is no more differential calculus, only algebra. This general expression will serve both questions, and keeping it saves redoing everything.

Step 4

At (1,2)(1, 2): y′=−2+21+4=−45y'=-\dfrac{2+2}{1+4}=-\dfrac{4}{5}, hence y−2=−45(x−1)y-2=-\dfrac{4}{5}(x-1), that is 4x+5y=144x+5y=14.

-4-3-2-112345678-4-3-2-11234(1, 2)4x + 5y = 14

Why

Substitute BOTH coordinates. Substituting the xx-value alone would leave a yy in the slope, and the other point of the curve with xx-coordinate 11 has a different slope.

Step 5

Horizontal tangent: 2x+y=02x+y=0, that is y=−2xy=-2x. Substituting into the equation: x2−2x2+4x2=3x2=7x^{2}-2x^{2}+4x^{2}=3x^{2}=7, so x=±73x=\pm\sqrt{\dfrac{7}{3}}.

Why

Solve N=0N=0 AS A SYSTEM with the equation of the curve. Solving 2x+y=02x+y=0 on its own would give a whole line, almost none of whose points are on the curve.

Step 6

The two points are (73,−273)≈(1.53,−3.06)\left(\sqrt{\dfrac{7}{3}}, -2\sqrt{\dfrac{7}{3}}\right)\approx(1.53, -3.06) and its symmetric point (−1.53,3.06)(-1.53, 3.06). At each of them, x+2y=−373≠0x+2y=-3\sqrt{\dfrac{7}{3}}\neq 0.

-4-3-2-11234-4-3-2-11234y = −2x

Why

The check D≠0D\neq 0 is compulsory: if the denominator vanished at the same place, the point would be singular and the conclusion “horizontal tangent” would be wrong.

Step 7

Check at (1.53,−3.06)(1.53, -3.06): (1.53)2+(1.53)(−3.06)+(−3.06)2≈2.34−4.68+9.36=7.02≈7(1.53)^{2}+(1.53)(-3.06)+(-3.06)^{2}\approx 2.34-4.68+9.36=7.02\approx 7, and likewise at the symmetric point.

Why

Substituting the points found back into the original equation is the most rewarding check of the chapter: it catches a sign error as well as a badly extracted root.

The conclusion, written out

The tangent line at the point (1,2)(1, 2) has equation 4x+5y=144x+5y=14, and the tangent is horizontal at the two points (±73,∓273)\left(\pm\sqrt{\frac{7}{3}}, \mp 2\sqrt{\frac{7}{3}}\right), about (1.53,−3.06)(1.53, -3.06) and (−1.53,3.06)(-1.53, 3.06).

The classic mistake on this problem: Differentiating xyxy as xy′xy' only. You then get y′=−2xx+2yy'=-\frac{2x}{x+2y}, so −25-\frac{2}{5} at the point (1,2)(1, 2) instead of −45-\frac{4}{5}: the tangent is twice too flat, and question 2 gives points that are not on the curve.

Learn by heart

  • • As many y′y' in the differentiated line as there are terms containing yy in the equation.
  • • ddx(xy)=y+xy′\frac{d}{dx}(xy)=y+xy': the mixed term ALWAYS gives two terms.
  • • y′y' depends on xx AND yy, and that is the normal form of the result.
  • • Numerator alone zero: horizontal tangent. Denominator alone zero: vertical tangent, with equation x=x0x=x_{0}.
  • • Both zero together: singular point, the quotient says nothing more.
  • • A candidate point is found AS A SYSTEM with the equation of the curve, never on its own.
  • • For y′′y'', differentiate the quotient, then replace y′y': on x2+y2=r2x^{2}+y^{2}=r^{2}, y′′=−r2y3y''=-\frac{r^{2}}{y^{3}}.
  • • A family is differentiated without fixing its parameter: the constant disappears and the slope depends only on the point.

Frequently asked questions

Why do you add y prime when you differentiate y?

Because y is not a constant: the equation defines y as a function of x, even if you cannot write it down. Differentiating y squared is therefore the same as differentiating u squared with u a function of x, which gives two u times u prime by the chain rule. The y prime is exactly that u prime.

How do you find the points where the tangent line is horizontal?

Set the numerator of y prime equal to zero, but solve that condition as a system with the equation of the curve: otherwise you get a whole line, not points. Then check that the denominator is not zero at the same place, otherwise the point would be singular rather than a point with a horizontal tangent.

Is it normal for the derivative to still contain y?

Yes, it is even the rule. An implicit curve often passes twice through the same x-value, with two different slopes: no expression in x alone could describe both. The slope depends on the whole point, so on x and y, and you substitute both coordinates at the end.

What do you do when the denominator of y prime is zero?

Look at the numerator at the same point. If it is not zero, the tangent is vertical and its equation is x equals the x-coordinate of the point: the slope does not exist but the tangent does. If the numerator is zero as well, the point is singular, the curve crosses itself or has a cusp there, and the quotient decides nothing any more.

Can you solve for y before differentiating?

When it is possible, yes, but you then pick a single branch without noticing it. On a circle, writing y equals the square root of twenty-five minus x squared keeps only the upper half, and every slope of the lower half comes out with the wrong sign. Implicit differentiation handles both branches at once.

Practise it

Corrected exercises: Implicit differentiation, 201-SN2-RE

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 16 corrected exercises
  • 160 points
  • 225 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet Derivatives of trigonometric, exponential and logarithmic functions Next sheet Related rates

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/cegep-calc1-implicit-differentiation. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a 201-SN2-RE tutor in Montreal?

Get in touch for a first session. We work on implicit differentiation at the level of real CEGEP tests, from the tangent to a circle all the way to conics and science problems.

Site by Studio Squalli