In This Article
What Is Implicit Differentiation?
Implicit vs. Explicit Differentiation
How to Do Implicit Differentiation
Implicit Differentiation Example Problems
What Is Implicit Differentiation?
How can we find the derivative when x and y are on the same side of the equation and we can’t solve for x or y? Implicit differentiation is a method for finding the derivative when one or both sides of an equation have two variables that are not easily separated.
When we find the implicit derivative, we differentiate both sides of the equation with respect to the independent variable x by treating y as a function of x.
Implicit differentiation allows us to find dxdy without needing to solve for y.
Implicit vs. Explicit Differentiation
What is the difference between implicit and explicit differentiation? You are probably very familiar with taking explicit derivatives. Explicit functions look like this, for example:
y=3x2+5 y=x1−10 x=2sin(θ)+2cos(θ) Implicit functions look like this, for example:
x2+y2=16 3x3+6xy+2y=42 sin(xy)+cos(xy)=x What’s the key difference between these two types of functions? We solve an explicit function for y in terms of x. This means that we write an explicit function in terms of the independent variable. In an implicit function, the x and y variables are all mixed up, and they’re usually difficult to separate. We write an implicit function in terms of both an independent variable and a dependent variable.
What does this mean in terms of differentiation? We differentiate explicit functions normally, using the derivative rules that are familiar to you. Since implicit functions involve two mixed-up variables, we differentiate implicit functions by treating y as a function of x.
This concept may sound familiar. Do you remember what derivative rule is necessary for taking the derivative of a composition of functions? The Chain Rule!
How to Do Implicit Differentiation
Here are the two basic implicit differentiation steps. Suppose you are differentiating with respect to x.
Differentiate each side of the equation by treating y as an implicit function of x. This means you need to use the Chain Rule on terms that include y by multiplying by dxdy.
Solve for dxdy.
Treating y as an implicit function of x might sound complicated — but don’t worry, you’ve done this many times before whenever you use the Chain Rule! The Chain Rule is a formula for computing the derivative of a composition of functions:
dxdf(g(x))=f’(g(x))g’(x) Basically, the Chain Rule says that we first take the derivative of the "outside" function, and then multiply it by the derivative of the "inside function." Since our “inside” function is y, the derivative of the “inside” function y is simply dxdy.
So, while taking the derivative of each term that involves y, we need to multiply by dxdy.
The Chain Rule is the key to the implicit differentiation formula for success.
Besides using the Chain Rule with terms that include y, we can differentiate normally using the derivative rules that are already familiar to us.
For review, here are a few of the most common rules:
Power Rule
dxdxn=nxn−1
Chain Rule
dxdf(g(x))=f’(g(x))g’(x)
Product Rule
dxdf(x)⋅g(x)=f’(x)⋅g(x)+f(x)⋅g’(x)
Quotient Rule
dxdg(x)f(x)=(g(x))2g(x)f’(x)−f(x)g’(x)
Sum/Difference Rule
dxd(f(x)±g(x))=f’(x)±g’(x)
Constant Rule
dxdc=0
Trigonometry Rules
dxd(sin(x))=cos(x)
dxd(cos(x))=−sin(x)
dxd(tan(x))=sec2(x)
Logarithmic and Exponential Rules
dxd(lnx)=x1
dxd(ex)=ex
Implicit Differentiation Example Problems
To understand how to do implicit differentiation, we’ll look at some implicit differentiation examples.
Problem 1
Differentiate x2+y2=16.
Solution:
The first step is to differentiate both sides with respect to x. Since we have a sum of functions on the left-hand side, we can use the Sum Rule. Since the right hand of the equation is a constant, we can use the Constant Rule.
dxd(x2+y2)=dxd(16) dxd(x2)+dxd(y2)=0 Now, we can use the Power Rule in the first term on the right-hand side. In the second term, we can use the Power Rule, but then – because y is a function of x – we'll need to use the Chain Rule too.
Remember that this means multiplying by dxdy. Then, all that’s left to do is solve for dxdy.
2x+2ydxdy=0 2ydxdy=−2x dxdy=2y−2x dxdy=y−x Problem 2
Differentiate 3x3+6xy+2y=42.
Solution:
The first step is to differentiate both sides with respect to x. Again, since we have a sum of functions on the left-hand side, we can use the Sum Rule. Since the right-hand side of the equation is a constant, we can use the Constant Rule.
dxd(3x3+6xy+2y)=dxd(42) dxd(3x3)+dxd(6xy)+dxd(2y)=dxd(42) We’ll need to use the Power Rule in the first term on the right-hand side. In the second term, we need to use the Product Rule. Then, all that’s left to do is solve for dxdy. We can use factoring to help with this part by factoring out dxdy.
9x2+6xdxdy+6y+2dxdy=0 6xdxdy+2dxdy=−9x2−6y dxdy(6x+2)=−9x2−6y dxdy=6x+2−9x2–6y Problem 3
Differentiate sin(xy)+cos(xy)=x.
Solution:
First we differentiate both sides with respect to x. We’ll use the Sum Rule. In doing so, we need to use the Chain Rule as well since y is present inside the sine and cosine functions.
dxd(sin(xy)+cos(xy))=dxdx dxd(sin(xy))+dxd(cos(xy))=1 cos(xy)(xdxdy+y)−sin(xy)(xdxdy+y)=1 Now, the last step is to solve for dxdy. We’ll do this by factoring out (xdxdy+y).
(xdxdy+y)(cos(xy)−sin(xy))=1 xdxdy+y=cos(xy)−sin(xy)1 xdxdy=cos(xy)−sin(xy)1–y dxdy=xcos(xy)−sin(xy)1–y dxdy=xcos(xy)−xsin(xy)1−xy You might also come across problems that ask you to implicitly differentiate with respect to y. In that case, you would treat x as a function of y, and use the Chain Rule on terms that include x. Then, you solve for dydx.
Explore Outlier's Award-Winning For-Credit Courses
Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.
Check out these related courses: