D.2 Implicit Differentiation

On the preceding screen we illustrated what an "implicit function" is, including that the term "implicit function" really means "a function defined implicitly." As promised, let's now further develop our Calculus tools to take the derivative of such a function and find ๐‘‘๐‘ฆ๐‘‘๐‘ฅ or ๐‘ฆโ€ฒ(๐‘ฅ). We'll of course work some examples, and provide practice problems so you can develop your skills.

How to Take an Implicit Derivative

For most students, the process of implicit differentiation is straightforward, building on all of the other "taking derivatives" work we've done. There is one new piece you just have to get used to, which is using the Chain Rule in a particular way. It's in the first bullet point of Step 1 in our Problem Solving Strategy:

Problem Solving Strategy: Implicit Differentiation

There are two basic steps to solve implicit differentiation problems:

  1. Take the derivative  ๐‘‘๐‘‘๐‘ฅ  of both sides of the equation.
    • Use your usual Rules of Differentiation, with one addition: When you take the derivative of a term with a y in it, be sure to multiply by  ๐‘‘๐‘ฆ๐‘‘๐‘ฅ  due to the Chain Rule.

    • Remember that   ๐‘‘๐‘‘๐‘ฅ(constant) =0 . (It's a common error to forget that when doing these problems, even among experts.)
  2. Solve for  ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.
    • Collect all terms with  ๐‘‘๐‘ฆ๐‘‘๐‘ฅ  in them on the left side of the equation, all other terms on the right.
    • Factor and divide as necessary to solve for  ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.

Note: You may use ๐‘ฆโ€ฒ instead of  ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.  They are interchangeable:

๐‘ฆโ€ฒ=๐‘‘๐‘ฆ๐‘‘๐‘ฅ

Let's consider an Example to illustrate, returning again to our unit circle.

Example 1: ๐‘ฅ2 +๐‘ฆ2 =1

(a) Given ๐‘ฅ2 +๐‘ฆ2 =1, find ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.

(b) Find the slope of the tangent lines to the circle at ๐‘ฅ =0.5.

Solution.

(a) Let's find ๐‘‘๐‘ฆ๐‘‘๐‘ฅ:

Step 1. Take the derivative ๐‘‘๐‘‘๐‘ฅ of both sides of the equation. Remember the Chain Rule as applied to y.

๐‘‘๐‘‘๐‘ฅ[๐‘ฅ2]+๐‘‘๐‘‘๐‘ฅ[๐‘ฆ2]=๐‘‘๐‘‘๐‘ฅ[1]2๐‘ฅ+2๐‘ฆโ‹…๐‘‘๐‘ฆ๐‘‘๐‘ฅ=0 Step 2. Solve for ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.
2๐‘ฆโ‹…๐‘‘๐‘ฆ๐‘‘๐‘ฅ=โˆ’2๐‘ฅ๐‘‘๐‘ฆ๐‘‘๐‘ฅ=โˆ’๐‘ฅ๐‘ฆโœ“

Because we can solve the circle equation for y, we aren't required to use implicit differentiation to find ๐‘‘๐‘ฆ๐‘‘๐‘ฅ, as illustrated in the box below. However, using implicit differentiation results in a single equation that works for all (๐‘ฅ,๐‘ฆ) on the circle, whereas completing the calculation without implicit differentiation requires treating the top and bottom halves of the circle separately, and as you'll see also involves more work.

Furthermore, in situations where we cannot solve the equation for an explicit form of ๐‘ฆ(๐‘ฅ) =โ‹ฏ, we have no choice but to use implicit differentiation. (And besides, it's so much easier, there's no reason you would ever want to not use it!)

Insurance against making a mistake

Tip icon

The most common error students make, especially on exams, is to forget to use the Chain Rule on one or more terms involving y when taking the derivative. A simple way to help avoid this error is to add a step to the beginning and end of the procedure, and replace y with ๐‘“(๐‘ฅ). That is:

  1. Replace y with ๐‘“(๐‘ฅ) in the equation.
  2. Take the derivative ๐‘‘๐‘‘๐‘ฅ of both sides of the equation. Remember the Chain Rule, so every term in the original equation that has an ๐‘“(๐‘ฅ) will have now contain ๐‘‘๐‘“๐‘‘๐‘ฅ.
  3. Solve for ๐‘‘๐‘“๐‘‘๐‘ฅ.
  4. If you'd like or if required, substitute back ๐‘“(๐‘ฅ) =๐‘ฆ.

The next example illustrates. We'll also use prime notation for the derivative to show how that works as well.

Example 2: ๐‘ฅ2 +๐‘ฆ =2๐‘ฆ2 +1

Use implicit differentiation to find ๐‘ฆโ€ฒ given ๐‘ฅ2 +๐‘ฆ =2๐‘ฆ2 +1.

Solution.

Insurance Process Step 1. Replace y with ๐‘“(๐‘ฅ) in the equation.

๐‘ฅ2+๐‘“(๐‘ฅ)=2๐‘“(๐‘ฅ)2+1

Insurance Process Step 2. Take the derivative of both sides of the equation with respect to x.

2๐‘ฅ+๐‘“โ€ฒ(๐‘ฅ)=4๐‘“(๐‘ฅ)โ‹…๐‘“โ€ฒ(๐‘ฅ)

Insurance Process Step 3. Solve for ๐‘“โ€ฒ(๐‘ฅ).

2๐‘ฅ+๐‘“โ€ฒ(๐‘ฅ)=4๐‘“(๐‘ฅ)โ‹…๐‘“โ€ฒ(๐‘ฅ)๐‘“โ€ฒ(๐‘ฅ)โˆ’4๐‘“(๐‘ฅ)โ‹…๐‘“โ€ฒ(๐‘ฅ)=โˆ’2๐‘ฅ๐‘“โ€ฒ(๐‘ฅ)โ‹…[1โˆ’4๐‘“(๐‘ฅ)]=โˆ’2๐‘ฅ๐‘“โ€ฒ(๐‘ฅ)=โˆ’2๐‘ฅ1โˆ’4๐‘“(๐‘ฅ)๐‘“โ€ฒ(๐‘ฅ)=2๐‘ฅ4๐‘“(๐‘ฅ)โˆ’1

Insurance Process Step 4. Especially since the question asked us to find ๐‘ฆโ€ฒ, we'll substitute back ๐‘“(๐‘ฅ) =๐‘ฆ and ๐‘“โ€ฒ(๐‘ฅ) =๐‘ฆโ€ฒ.

๐‘ฆโ€ฒ=2๐‘ฅ4๐‘ฆโˆ’1โœ“

If as you're practicing you find yourself ever missing the Chain Rule term ๐‘‘๐‘ฆ๐‘‘๐‘ฅ or ๐‘ฆโ€ฒ, we strongly suggest using the ๐‘ฆ =๐‘“(๐‘ฅ) trick illustrated in Example 2. This simple move seems to help cue students to correctly apply the Chain Rule in high-stakes, exam situations.

Let's work through a Scaffolded Problem, where you can check your work at each key step. The question may appear intimidating at first, but the power of Implicit Differentiation is that it makes taking derivatives of even super-complicated-looking equations straightforward. And once that part is done, you're left with a standard "write the equation of a tangent line" problem, as you'll see.

Scaffolded Problem #1: Fifth degree polynomial

Graph of the fifth degree polynomial described by the given equation

Find the equation of the line tangent to the curve ๐‘ฆ5+๐‘ฅ๐‘ฆ2+๐‘ฅ=๐‘ฅ๐‘ฆ4+๐‘ฅ2+4๐‘ฆ at the point ( โˆ’3, โˆ’2).

Solution.

Step 1: Use implicit differentiation to find ๐‘ฆโ€ฒ.

(Note that in our solution, we will use the substitution ๐‘ฆ =๐‘“(๐‘ฅ) to make sure we don't forget to apply the Chain Rule.)

Step 2: Compute the slope of the tangent line at the point point ( โˆ’3, โˆ’2).

Step 3: Write the equation of the tangent line in point-slope form, ๐‘ฆ โˆ’๐‘ฆ1 =๐‘š(๐‘ฅ โˆ’๐‘ฅ1).

Practice Problems

Time to practice! These problems can be kinda fun once you get the hang of them, and you'll probably find that after a few you have the routine down rather solidly. (But more practice never hurts!)
Practice Problem #1
Use implicit differentiation to find ๐‘‘๐‘ฆ๐‘‘๐‘ฅ given ๐‘ฆ3 +2๐‘ฅ2 +๐‘ฆ =3๐‘ฅ4. (A) 4๐‘ฅ๐‘ฆ(3๐‘ฅ2โˆ’11+3๐‘ฆ)(B)(4๐‘ฅ)3๐‘ฅ2โˆ’11+3๐‘ฆ2(C) 4๐‘ฅ3๐‘ฆ2(3๐‘ฅ2โˆ’1) (D) 4๐‘ฅ๐‘ฆ(3๐‘ฅ2โˆ’1๐‘ฆ2+1)(E) None of these
Practice Problem #2
Use implicit differentiation to find ๐‘ฆโ€ฒ given ๐‘’๐‘ฅ +cosโก๐‘ฆ =6๐‘ฆ. (A) ๐‘’๐‘ฅ6+sinโก๐‘ฆ(B) sinโˆ’1โก(๐‘’๐‘ฅโˆ’6)(C) cosโˆ’1โก(6โˆ’๐‘’๐‘ฅ) (D) 6โˆ’๐‘’๐‘ฅcosโก๐‘ฆ(E) None of these
Practice Problem #3
Use implicit differentiation to find ๐‘ฆโ€ฒ given ๐‘ฅ2๐‘ฆ2 =sinโก๐‘ฆ. (A) ๐‘ฆโ€ฒ=๐‘ฅcosโก๐‘ฆ+2๐‘ฅ2๐‘ฆ(B) ๐‘ฆโ€ฒ=2๐‘ฅ2๐‘ฆsinโก๐‘ฆ+๐‘ฆ2cosโก๐‘ฆ(C) ๐‘ฆโ€ฒ=๐‘ฅcosโก๐‘ฆ+2sinโก๐‘ฆ (D) ๐‘ฆโ€ฒ=๐‘ฅcosโก๐‘ฆ+๐‘ฅ2๐‘ฆ(E) None of these
Practice Problem #4
Given ๐‘ฅ4[๐‘“(๐‘ฅ)]2 =4๐‘ฅ5 +sinโก[๐‘“(๐‘ฅ)], find an expression for ๐‘“โ€ฒ(๐‘ฅ). (A) ๐‘“โ€ฒ(๐‘ฅ)=๐‘ฅ3[(๐‘“(๐‘ฅ))2+5๐‘ฅ]cosโก[๐‘“(๐‘ฅ)]โˆ’2๐‘“(๐‘ฅ)๐‘ฅ4(B) ๐‘“โ€ฒ(๐‘ฅ)=4๐‘ฅ[(๐‘“(๐‘ฅ))2โˆ’5๐‘ฅ]cosโก[๐‘“(๐‘ฅ)]โˆ’2๐‘“(๐‘ฅ)๐‘ฅ4 (C) ๐‘“โ€ฒ(๐‘ฅ)=4๐‘ฅ3[(๐‘“(๐‘ฅ))2โˆ’5๐‘ฅ]cosโก[๐‘“(๐‘ฅ)]โˆ’2๐‘ฅ4๐‘“(๐‘ฅ)(D) ๐‘“โ€ฒ(๐‘ฅ)=4๐‘ฅ3[(๐‘“(๐‘ฅ))2โˆ’๐‘ฅ]cosโก[๐‘“(๐‘ฅ)]โˆ’๐‘“(๐‘ฅ)๐‘ฅ4(E) None of these
Practice Problem #5
Given ๐‘ฅ2๐‘”(๐‘ฅ) +sinโก๐‘ฅ =[๐‘”(๐‘ฅ)]2 find ๐‘”โ€ฒ(๐œ‹). (A) ๐œ‹2โˆ’1(B) 1โˆ’1๐œ‹2(C) 2๐œ‹โˆ’1๐œ‹2(D) ๐œ‹2โˆ’12๐œ‹(E) None of these
Practice Problem #6
Consider an ellipse, ๐‘ฅ2๐‘Ž2 +๐‘ฆ2๐‘2 =1. Find the slope of the curve ๐‘ฆโ€ฒ at the point (๐‘ฅ,๐‘ฆ).
Bonus: Show that when ๐‘Ž =๐‘, the curve's slope reduces to ๐‘ฆโ€ฒ = โˆ’๐‘ฅ๐‘ฆ as we found above for the case of a circle. (A) โˆ’๐‘Ž2๐‘2๐‘ฅ๐‘ฆ(B) โˆ’๐‘Ž๐‘๐‘ฅ๐‘ฆ(C) โˆ’๐‘๐‘Ž๐‘ฅ๐‘ฆ(D) โˆ’๐‘2๐‘Ž2๐‘ฅ๐‘ฆ(E) โˆ’๐‘Ž3๐‘3๐‘ฅ๐‘ฆ
Practice Problem #7
Graph of x^2+xy+y^2 =7, which looks like a tilted ellipse centered at the origin.

Consider the relationship ๐‘ฅ2 +๐‘ฅ๐‘ฆ +๐‘ฆ2 =7, which is shown in the graph. Find both values of ๐‘ฆโ€ฒ for the curve at ๐‘ฅ =1.
(A) โˆ’45,โˆ’15(B) 53,5(C) 53,โˆ’15(D) โˆ’45,5(E) None of these

Practice Problem #8
Find ๐‘ฆโ€ณ for the ellipse given by ๐‘ฅ24 +๐‘ฆ29 =1. (A) โˆ’94๐‘ฅ๐‘ฆ(B) โˆ’94[๐‘ฆโˆ’๐‘ฅ๐‘ฆโ€ฒ๐‘ฆ2](C) โˆ’94 (D) โˆ’94[๐‘ฆ2+94๐‘ฅ2๐‘ฆ3](E) None of these
Practice Problem #9
If ๐‘ฅ๐‘ฆ +๐‘’๐‘ฆ =๐‘’, find ๐‘ฆโ€ณ at ๐‘ฅ =0. (A) 2๐‘’(2โˆ’1๐‘’)(B) 1๐‘’2(C) 1๐‘’(D) 2๐‘’(1โˆ’1๐‘’)(E) 2๐‘’2
Practice Problem #10
Find the equation of the line tangent to the graph of ๐‘ฆsinโก๐‘ฅ =๐‘ฅcosโก๐‘ฆ at the point (๐œ‹,๐œ‹2). (A) 12๐‘ฅ(B)๐œ‹2(๐‘ฅโˆ’1)(C) ๐œ‹(๐‘ฅ2โˆ’1)(D) ๐œ‹2๐‘ฅ(E) 12(๐‘ฅ+1)

The Upshot

  1. Using implicit differentiation to find the derivative of an implicitly defined function is straightforward: Step 1: Take the derivative ๐‘‘๐‘‘๐‘ฅ of both sides of the equation. The one thing you must be careful about: Remember the Chain Rule! Any term that includes a y with result in a Chain Rule term ๐‘‘๐‘ฆ๐‘‘๐‘ฅ. Step 2: Solve for ๐‘‘๐‘ฆ๐‘‘๐‘ฅ.

Do you have an implicit differentiation question you're working on and could use some help with? Or any other comments or questions about what's on this screen? Please let us know on our Forum, where it's easy for you and for us to write the complicated math equations we're now working with.