If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Implicit differentiation review

Review your implicit differentiation skills and use them to solve problems.

How do I perform implicit differentiation?

In implicit differentiation, we differentiate each side of an equation with two variables (usually x and y) by treating one of the variables as a function of the other. This calls for using the chain rule.
Let's differentiate x2+y2=1 for example. Here, we treat y as an implicit function of x.
x2+y2=1ddx(x2+y2)=ddx(1)ddx(x2)+ddx(y2)=02x+2ydydx=02ydydx=2xdydx=xy
Notice that the derivative of y2 is 2ydydx and not simply 2y. This is because we treat y as a function of x.
Want a deeper explanation of implicit differentiation? Check out this video.

Check your understanding

Problem 1
x2+xy+y3=0
dydx=?
Choose 1 answer:

Want to try more problems like this? Check out this exercise.

Want to join the conversation?

  • leaf blue style avatar for user Hai
    Hi !
    i dont understand why in PROBLEM 1 :
    2x + y + *bold*x dy....
    dx
    why x dy
    dx

    thank you!
    (21 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Yevhen Barshchevskyi
    Hi everyone, I have a quick question. We use the chain rule to differentiate "y^2" because we treat variable y as a function of x. However, when we have simple "y", we do not apply the chain rule and just express it as dy/dx. What is the difference between y^2 and y? Why to use chain rule in first case and not in the second one like 1(y(x))*dy/dx?
    (6 votes)
    Default Khan Academy avatar avatar for user
    • leaf yellow style avatar for user Howard Bradley
      We already know how to represent the derivative of y with respect to x: dy/dx, which is the thing we wish to find - in terms of x and y.

      y² is a function of x AND of y.
      Whenever we have a function of y we need to use the chain rule:
      d/dx [ f(y) ] = d/dy [ f(y) ] · dy/dx

      If it makes you feel easier we could say a 'simple *y"' is the identity function: f(y) = y.
      Then d/dx [ f(y) ] = d/dy [ f(y) ] · dy/dx = dy/dy · dy/dx = 1 · dy/dx
      (26 votes)
  • blobby green style avatar for user Anand
    For problem 1, shouldn't it simplify to (-2x-y)/(x+3y^2)
    (5 votes)
    Default Khan Academy avatar avatar for user
  • male robot donald style avatar for user kartikagrawal0311
    Why we can take derivative with respect to x or y both sides during implicit differentiation ?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user james.seo
    Am I allowed to simplify an equation before doing implicit differentiation? Here is the question I was stuck on: y^2 = (x-1)/(x+1). When I attempt implicit differentiation the way it is and compare the answer to when I simplify the equation to (x+1)y^2= x-1, I got different answers.
    (4 votes)
    Default Khan Academy avatar avatar for user
    • primosaur seed style avatar for user Ian Pulizzotto
      Excellent question!

      Implicitly differentiating the original equation eventually yields dy/dx = 1/(y(x+1)^2).

      Implicitly differentiating the simplified equation eventually yields dy/dx = (1-y^2)/(2y(x+1)).

      So we compare 1/(y(x+1)^2) to (1-y^2)/(2y(x+1)), using y^2 = (x-1)/(x+1).

      (1-y^2)/(2y(x+1))
      = (1-(x-1)/(x+1))/(2y(x+1))
      = (2/(x+1))/(2y(x+1))
      = 1/(y(x+1)^2).

      So the answers are really the same! The point is that the original equation or an equivalent form of this equation must be considered when comparing answers.

      Have a blessed, wonderful day!
      (7 votes)
  • blobby green style avatar for user sairatariq108
    Find the equation of the tangent line to the graph of the following equation at the point (-1,2) Implicit Differentiation

    x^2 y - y^3 = 6x
    (0 votes)
    Default Khan Academy avatar avatar for user
  • duskpin sapling style avatar for user Rosita  Pereira
    Hi everyone!

    Do you happen to know any tricks and tips for solving derivatives and limits? Especially for implicit differentiation? I just don't like how long the process is taking me because I am a bit slow at writing and for our exams we have to write and it is time consuming.

    Any help is much appreciated. Thank you!
    (2 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user Elite Dragon
      A short cut for implicit differentiation is using the partial derivative (∂/∂x). When you use the partial derivative, you treat all the variables, except the one you are differentiating with respect to, like a constant. For example ∂/∂x [2xy + y^2] = 2y. In this case, y is treated as a constant. Here is another example: ∂/∂y [2xy + y^2] = 2x + 2y. In this case, x is treated as the constant.

      dy/dx = - [∂/∂x] / [∂/∂y] This is a shortcut to implicit differentiation.

      Partial derivatives are formally covered in multivariable calculus.

      Even though this is a multivariate topic, this method applies to single variable implicit differentiation because you are setting the output to be constant.

      Hope this helps!
      (7 votes)
  • piceratops seed style avatar for user Xander Szykowny
    I keep forgetting and recognizing that dy/dx(xy)=x'y+xy'. What lessons or video would be good for learning to recognize patterns in math like these, specifically ones having to do with Calculus?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • orange juice squid orange style avatar for user Viper
    Guys.. I have a question that's been bugging me:
    Find the derivative function dy/dx of
    x³y³-3x²y+3y²=5xy
    Trying to confirm my amswer.
    (3 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user ian.sun
    I have a question is that if I get a function e^(x/y)=x-y

    can I do In both side which gives me x/y=In(x-y) in order to find the derivative?

    or I have to d/dx (e^(x/y))=d/dx(x-y)
    (2 votes)
    Default Khan Academy avatar avatar for user