Access this content offline
Omniguides
Skip to the reading

FFR - Implicit Differentiation

This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.

This reading includes verified answer corrections and explicitly stated clarifications.

Warning: Implicit language

We have so far only been learning to take explicit derivatives, y in terms of x. However, it is possible to take derivatives of functions where y is implied within the function. Often times, this is actually easier than taking the derivative through conventional means. For example, how would we differentiate the equation y=3xy+x2 ? Conventionally, we might subtract both sides by 3xy, factor out a y, and divide by 1-3x on both sides to get y by itself. The final result would look something like this: ​
y=x21-3x You can imagine that finding this function’s derivative would be pretty tedious, involving the use of the quotient rule.

What about equations like y=x⋅sin(y)? Differentiating that would be hopeless, even with the quotient and product rules. However, the chain rule lets us do something special with that function, known as implicit differentiation.

Since y is just some function of x, we can use the chain rule to write its derivative in a slightly different way. Suppose we have an equation, y= 3y2 + x2. We can take the derivative with respect to x on both sides of the equation to get:

dydx=ddx(3y2+x2)

We run into a problem here though. Since y is a function of x, ddx3y2≠6y!! That would be ignoring everything we have learned from the chain rule, which tells us that the derivative of that term would be equal to the derivative of the outside function, 3y2, times the derivative of the inside function, y. What’s the derivative of y with respect to x? It’s just dydx! So using the chain rule we see that

dydx=ddx(3y2+x2)=6y⋅dydx+2x

Another way of thinking about this is

dydx=ddx3y2+ddxx2=ddy3y2⋅dydx+ddxx2

Notice that the dy’s “cancel out” so that we are still taking the derivative with respect to x, except now we can also take the derivative of 3y2 with respect to y without breaking the laws of mathematics. Give it a while to sink in, and it will make sense. Let’s try some practice problems in the meantime.

Example Problem 4.4.1

Take the derivative of y=3xy+x2 using:

  1. conventional methods
  2. using implicit differentiation.

a) Let’s start by isolating y to one side so we can set x in terms of y, making the function explicit. We can accomplish this by first subtracting 3xy on both sides.

y-3xy=x2

y⋅(1-3x)=x2

y=x21-3x

Now we can take the derivative using the quotient rule.

y′=((1-3x)⋅ddxx2)-(x2⋅ddx(1-3x))(1-3x)2 y′=(1-3x)⋅2x-x2⋅(-3)(1-3x)2

y′=2x−3x2(1−3x)2. The numerator is 2x(1 − 3x) + 3x² = 2x − 3x².

b) We don’t need to set y in terms of x for part b. We can just differentiate implicitly using the chain rule.

​

y=x2+3xy​
dydx=2x+ddx3xy

using the product rule, we get

dydx=2x+3y+3x⋅1⋅dydx​
Here, we can isolate the derivative terms to one side to find out what the derivative function is.​
dydx-3x⋅dydx=2x+3y​
dydx(1-3x)=2x+3y

dydx=2x+3y1-3x

Normally this would be enough, but we want to compare our answer to part a, so let’s substitute y because we set it in terms of x explicitly earlier.

Substituting y=x21-3x gives:

dydx(1-3x)=2x+3x21-3x​
Let’s find a common denominator for the two terms on the right hand side before dividing through by (1-3x)

dydx(1-3x)=2x⋅(1-3x1-3x)+3x21-3x ​
dydx(1-3x)=2x-6x2+3x21-3x

Now we can divide by (1-3x) on both sides and we find that

dydx=2x-3x2(1-3x)2 We get the same answer! Amazing!

You might be thinking: “My dear sir, would it not have been simpler to just take the derivative using the quotient rule after isolating y on one side?” And you would have a great point. Implicit differentiation is simply another tool in our arsenal that can help us solve derivatives. The point of this example problem was to show that it is one and the same thing as setting y explicitly in terms of x and then differentiating. Besides, would the quotient or product rule help you solve the next problem?

 

Example Problem 4.4.2

Find the derivative of y2=sinxcosy+x4

We have no choice but to use implicit differentiation here because there is no simple way to isolate y. Remember that whenever we take the derivative of a term with “y” in it, we have to use the chain rule and multiply by dydx after we finish taking the derivative.

2y⋅dydx=ddx(sinxcosy)+4x3​
2y⋅dydx=cosxcosy+sinx⋅(-siny⋅dydx)+4x3​
Let’s get the dy/dx terms on one side. Notice the two sine functions have different arguments, so we cannot combine them.

2y⋅dydx+sinxsiny⋅dydx=cosxcosy+4x3

dydx⋅(2y+sinxsiny)=cosxcosy+4x3

Now we can solve for the derivative:

dydx=cosxcosy+4x32y+sinxsiny

And this gives us our final answer, but there’s a conundrum! How would we graph this function, if it even is a function? We could try going back and isolating y, but that would be too tedious and not worth the effort. We could try something else though. Let’s create a three-dimensional graph. It’ll be just like real life! Refer to Gallery 4.4.1.

Interactive 4.4.1 3-D graph for problem 4.4.2

See if you can orient this in the correct orentation, this is the same graph of the derivative as the one shown in the gallery previously

Loading the original 3D model…

Original preview and model Interactive 4.4.1 3-D graph for problem 4.4.2

This viewer rotates the original source mesh. Lighting and controls are a web adaptation.

Download original COLLADA model

Show your work for Problem 1

a) Implicitly differentiate the equation y=x⋅y⋅ex+1 ​
b) Write its derivative as a function of just
x.
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

Chapter 4 Problems

  1. a) Implicitly differentiate the equation y=x⋅y⋅ex+1 ​
    b) Write its derivative as a function of just
    x.
  2. Differentiate

Show your work for Problem 2

Differentiate f(x)=tanxx2-4
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. f(x)=tanxx2-4

Show your work for Problem 3

Find the derivative of y=ex-4xsin2x
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. Find the derivative of y=ex-4xsin2x
  2. Using the equation (x-4)225+(y+1)216=1, find the slope of the tangent line at x=1 in the first quadrant

Show your work for Problem 4

Using the equation (x-4)225+(y+1)216=1, find the slope of the tangent line at x=1 in the first quadrant .
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. .

Show your work for Problem 5

Differentiate y=xy+3exy2
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

Show your work for Problem 6

Differentiate y=xsiny+2cos(2x2)x3
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. Differentiate y=xy+3exy2
  2. Differentiate y=xsiny+2cos(2x2)x3

Show your work for Problem 7

Differentiate y=x2⋅siny⋅ecosx
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

Show your work for Problem 8

Using the equation given below, find the slope of its tangent line at x=π4 (Ref: Unit Circle):y2+1=y⋅sinx+y⋅cos(2x)+sinxy +cos2xy-sin2xy
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. Differentiate y=x2⋅siny⋅ecosx
  2. Using the equation given below, find the slope of its tangent line at x=π4 (Ref: Unit Circle):y2+1=y⋅sinx+y⋅cos(2x)+sinxy +cos2xy-sin2xy

Show your work for Problem 9

Find the implicit derivative of xy+x2e2x=cos(4x2+1)sinyex
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

Show your work for Problem 10

Find the implicit derivative of y=xsin(ln(y))+xycosx
Original source problem image; readable problem text and figure description are provided alongside it.
Original source problem image and any figures. Read it together with the accessible problem text and any figure description or source note alongside it. Open the source image at full size.

Drawing is temporarily unavailable. Work on paper if needed, then record your reasoning here.

Saving written working requires JavaScript. Keep your work on paper or in your own notes; the source problem above remains available.

Written working stays in this browser.

  1. Find the implicit derivative of xy+x2e2x=cos(4x2+1)sinyex
  2. Find the implicit derivative of y=xsin(ln(y))+xycosx
Glossary and deeper reading · 3 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Derivative

    A derivative gives the instantaneous rate of change of a function with respect to its input. At a point, it is the finite limit of the difference quotient when that limit exists. For example, the derivative of x² is 2x, so the tangent slope at x=3 is 6. A derivative function collects those rates across the inputs where the function is differentiable.

    Read more: 2.2 · Derivative →

  • Function

    A mathematical function assigns exactly one output to each input in its domain. Inputs can share an output, but one input cannot have two different outputs. For example, f(x)=x² assigns the output 9 to both 3 and −3. Function notation names the rule and its input; f(3) means the output when the input is 3.

  • Chain rule

    The chain rule differentiates a composition by multiplying the outer derivative at the inner output by the inner derivative. For differentiable functions, (f(g(x)))′=f′(g(x))g′(x). For example, the derivative of sin(x²) is cos(x²)·2x. Nested compositions require a factor for each successive layer.

    Read more: 3.1 · Chain rule →

Search lessons, terms and problems