Implicit differentiation – Definition, Process, and Examples

Implicit differentiationImplicit differentiation allows us to differentiate expressions (usually within an equation) that contain two or more variables. In our discussion, we will focus on implicitly differentiating equations with two variables. This technique is in fact an extension of the chain rule and you’ll learn why in our discussion.

Implicit differentiation is an important differential calculus technique that allows us to determine the derivative of y with respect to x without isolating y first.

In this article, we’ll focus on differentiating equations written implicitly. To make the most out of the discussion, refresh your notes on the following:

Are you ready? Let’s begin by understanding the difference between implicit and explicit functions. By the end of this discussion and series of exercises, differentiating equations of circles will be second nature to you!

What is implicit differentiation?

Implicit differentiation will help us differentiate equations that contain both x and y. This technique allows us to determine the slopes of tangent lines passing through curves that are not considered functions. Circles are great examples of curves that will benefit from implicit differentiation.

observing the tangent lines of a circle at different points derived from implicit differentiation

Here’s a graph of a circle with two tangent lines passing through the curve. From this, we can see that the sign of the slope’s tangents will vary depending on the point’s position. Through implicit differentiation, we’ll be able to find the general rules for these slopes despite the fact that the circle is not a function.

To understand which functions would benefit from this technique, let’s briefly review the difference between explicit and implicit equations or functions.

  • Explicit functions are simply the functions written in terms of the independent variable. They are normally of the form, y=f(x).
  • Implicit functions, on the other hand, are written in terms of both the independent and dependent variables.

Here are examples of equations that are known to be explicit and implicit functions.

Explicit Equations

Implicit Equations

y=2x+1

x2+y2=25

y=x2+3x+4

3x22xy=y21

y=2tan(2x)

10x32xy2=5x26x

Recall that dydx refers to differentiating y in terms of x. We can determine dydx for these implicit equations by differentiating g(x,y)=0 and accounting for dydx in the terms containing y as variables.

Revising the chain rule for the implicit differentiation formula

Implicit differentiation will not be possible without the chain rule.

Implicit differentiation will not be possible without the chain rule. That’s because the chain rule allows us to differentiate composite functions. In implicit functions or equations, we will treat y as if it’s a composite function (with x embedded within the function).

Let’s say we want to differentiate the implicit equation, g(x,y)=0, we can account for dydx from terms containing either x or y

  • When working with the terms with x, we simply apply the derivative rules in the past immediately.
  • The terms containing y as variables, f(y) for example, will have to account for both ddyf(y) and dydx. This is only possible through chain rule.

ddxf(y)=ddyf(y)dydx

Through this technique, we’ll eventually be able to isolate dydx and have an implicit differentiation in terms of x and y.

How to do implicit differentiation?                

Now that we understand the definition of implication differentiation, its importance, as well as its origin, it’s time that we learn how to apply these when differentiating implicit equations.

Implicit differentiation steps

When given an implicit equation, use the steps shown below to find the expression for dydx in terms of x and y:

  • Take the derivative of both sides of the equation. Remember that y is still a function of x.
  • Apply the chain rule whenever needed – for composite functions in terms of x and functions in terms of y.
  • Use algebraic manipulation to isolate dydx on the left-hand side of the equation.

The best way to master this technique is through practice, so let’s begin using these steps to find dydx for the implicit equation, x2+y2=16.

We can first take the derivative of both sides of the equation of the circle. Use the fundamental derivative rules to simplify the left-hand side of the equation.

ddx(x2+y2)=ddx16ddxx2+ddxy2=0,xSum Rule & Constant Rule

When differentiating y2, make sure to account for dydx through the chain rule.

ddx(x2+y2)=ddx16ddxx2+ddxy2=0,xSum Rule & Constant Rule2x+2ydydx=0xPower Rule & Chain Rule2x+2ydydx=0

Isolate dydx on the left-hand side of the equation by:

  • Subtracting 2x from both sides of the equation.
  • Dividing both sides of the resulting equation by 2y.

2ydydx=2xdydx=2x2y=xy

This means that the implicit derivative of equation, x2+y2=16, is simply xy.

Apply similar approaches when working on other implicit equations’ derivatives. Here’s another pro-tip: if you want to shorten your solution, you can use y instead of ddx.

We’ve prepared some more equations for you to work on. When you’re ready to apply this new technique, head over to the next section!

Example 1

Given the implicit equation, 3xy+y3=2x+3y, use implicit differentiation to determine ddx.

Solution

We’ll follow similar steps to find the expression for ddx from our given equation.

  • Begin by differentiating both sides of the equation.
  • Apply the derivative rules that you’ve learned in the past to simplify both sides of the equation.
  • Make sure to account for dydx when differentiating terms containing y.

ddx(3xy+y3)=ddx(2x+3y)ddx(3xy)+ddxy3=ddx2x+ddx3y,xSum Rule3ddxxy+ddxy3=2ddxx+3ddxy,xConstant Multiple Rule3ddxxy+3y2dydx=2(1)+3(1)dydx,xPower Rule & Chain Rule3(xddxy+yddxx)+3y2dydx=2+3dydx,xProduct Rule

Simply the left-hand side of the equation further by applying the power rule.

3(xddxy+yddxx)+3y2dydx=2+3dydx3[x(1)dydx+y(1)]+3y2dydx=2+3dydx,xPower Rule & Chain Rule3xdydx3y+3y2dydx=2+3dydx

Rearrange the terms of the equation and isolate all terms containing dydx on the left-hand side of the equation.

3xdydx3y+3y2dydx=2+3dydx3xdydx+3y2dydx3dydx=2+3y3dydx(xy2+1)=2+3y

Divide both sides of the equation by 3(xy2+1) to find the expression for dydx.

3dydx(xy2+1)3(xy2+1)=2+3y3(xy2+1)dydx=2x+3yxy2+1

This shows that we have dydx=2x+3yxy2+1 through implicit differentiation.

Example 2

Given the implicit equation, y2+6y+9=4x, use implicit differentiation to determine the following:

a. Expression for y.
b. Slopes of the tangent lines passing through the equation’s curve and the points, (4,7) and (4,1).
c. Graph the curve of the equation and the tangent lines passing through the given points.

.Solution

Let’s focus of finding the expression for y or dydx. Take the derivative of both sides of the equation then apply fundamental derivative rules to simplify both sides of the equation.

ddx(y2+6y+9)=ddx(4x)ddxy2+ddx6y+ddx9=ddx(4x),xSum Ruleddxy2+6ddxy+0=4ddxx,xConstant Rule & Constant Multiple Ruleddxy2+6ddxy=4ddxx

Simplify both sides of the equation by using the power rule. Account for dydx in the terms found at the left-hand side through chain rule.

(2y)dydx+6(1)dydx=4(1),xPower Rule & Chain Rule(2y+6)dydx=4

After factoring out dydx, divide both sides of the equation by (2y+6) to isolate dydx on the left-hand side of the equation.

(2y+6)dydx(2y+1)=4(2y+6)dydx=42y+6=42(y+3)=2y+3

a. This shows that ddx=y=2y+3.

Now that we have the expression for y, we can use each of the two given points, (4,7) and (4,1), to find two slopes of the tangent lines passing through the equation’s curve. Recall that y will represent the tangent line’s slope passing through the given points.

(x,y)

y=2y+3

(4,7)

y=27+3=12

(4,1)

y=21+3=12

b. From this, we can see that the curve has tangent lines with slopes, 12 and 12.

The equation, y2+6y+9=4x, can be written as (y+3)2=4x. When studying about conic sections, we know that this equation represents a parabola centered at (0,3) and opens to the right.

Let’s include the graph of the tangent line with slopes, m=12 and m=12. Make sure that the tangent lines pass through the points, (4,7) and (4,1), respectively.

observing the tangent lines of a parabola at different points derived from implicit differentiation

c. This graph shows the sketch of the curve (which clearly is not a function) along with the two tangent lines we’ve derived through implicit differentiation.

Practice Questions

1. Given the implicit equations shown below, use implicit differentiation to determine ddx.
a. 4x23y3=8x+y2
b. 2x3+6x2y=6x3
c. xy4=2xy+3
2. Given the implicit equations shown below, use implicit differentiation to determine ddx.
a. x2+y3x3+8=12
b. exy=yx
c. 6x4+tany=3y24x
3. Given the implicit equation, 4x29y2=36, use implicit differentiation to determine the following:
a. Expression for y.
b. Slopes of the tangent lines passing through the equation’s curve and the points, (5,83) and (5,83).
c. Graph the curve of the equation and the tangent lines passing through the given points.

Answer Key

1.
a. dydx=8+8xy(2+9y)
b. dydx=2(xy)x
c. dydx=82yx
2.
a. ddx=3x22x3y2
b. ddx=1exyyexyx1
c. ddx=424x3sec2(y)6y
3.
a. y=4x9y
b. m=±56
c.

observing the tangent lines of a hyperbola at different points derived from implicit differentiation

Images/mathematical drawings are created with GeoGebra.