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𝑥𝑓(𝑥)[14𝑓(𝑥)]=2𝑥𝑓(𝑥)=2𝑥14𝑓(𝑥)𝑓(𝑥)=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𝑥211+3𝑦)(B)(4𝑥)3𝑥211+3𝑦2(C) 4𝑥3𝑦2(3𝑥21) (D) 4𝑥𝑦(3𝑥21𝑦2+1)(E) None of these
Practice Problem #2
Use implicit differentiation to find 𝑦 given 𝑒𝑥 +cos𝑦 =6𝑦. (A) 𝑒𝑥6+sin𝑦(B) sin1(𝑒𝑥6)(C) cos1(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𝑥[(𝑓(𝑥))25𝑥]cos[𝑓(𝑥)]2𝑓(𝑥)𝑥4 (C) 𝑓(𝑥)=4𝑥3[(𝑓(𝑥))25𝑥]cos[𝑓(𝑥)]2𝑥4𝑓(𝑥)(D) 𝑓(𝑥)=4𝑥3[(𝑓(𝑥))2𝑥]cos[𝑓(𝑥)]𝑓(𝑥)𝑥4(E) None of these
Practice Problem #5
Given 𝑥2𝑔(𝑥) +sin𝑥 =[𝑔(𝑥)]2 find 𝑔(𝜋). (A) 𝜋21(B) 11𝜋2(C) 2𝜋1𝜋2(D) 𝜋212𝜋(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𝑒(21𝑒)(B) 1𝑒2(C) 1𝑒(D) 2𝑒(11𝑒)(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) 𝜋(𝑥21)(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.