5 minutes read

You already know how to find a derivative of function where one variable is being expressed in terms of another, for example, f(x)=6x2+9x+10f(x) = 6x^2 + 9x+10. There f(x)f(x) is permutable with yy, i.e you can write y=6x2+9x+10y= 6x^2 + 9x+10.

But there are many other functions that can't set up exactly like this. For example: x2+y2=25x^2 + y^2 = 25 - it is the equation of a circle with it's center at the origin and a radius of 55. How can you write the derivative of that function? In order to do so, you need to know a technique called implicit differentiation, which you will study in this topic.

Implicit derivative

Let's consider an example we were just discussing: x2+y2=25x^2 + y^2 = 25. In order to find yy' we could solve for yy in terms of xx, and then take the derivative as we already know how:

x2+y2=25    y=±25x2    y=(±25x2)x^2 + y^2 = 25 \ \ \Rightarrow \ \ y = \pm\sqrt{25 - x^2} \ \ \Rightarrow \ \ y' = \left(\pm\sqrt{25 - x^2} \right)'But there are many cases, where this can be difficult or even impossible to do. Implicit differentiation will help us to find the derivative of such function without having to solve for one variable in terms of another. We can simply differentiate with respect to one specific variable. Usually we differentiate with respect to xx, so let's do that with this function, and then we can solve the resulting expression for yy' and dydx\dfrac{dy}{dx}, which we are looking for.

First, we take the derivative of both sides with respect to xx:

ddx(x2+y2)=ddx(25)\dfrac{d}{dx} (x^2 + y^2) = \dfrac{d}{dx} (25)Symbol ddx\dfrac{d}{dx} means that we take the derivative with respect to xx.

Second, we know that the derivative of a sum is the sum of derivatives, so we get

ddxx2+ddxy2=ddx(25)\dfrac{d}{dx} x^2 + \dfrac{d}{dx}y^2= \dfrac{d}{dx} (25)

Notice that we are considering yy as a function of xx.

When we take the derivative of x2x^2 with respect to xx, we get 2x2x. Let's consider the second term: ddxy2\dfrac{d}{dx}y^2. In this case, the situation is slightly different, because we are not taking the derivative with respect to yy. We find the derivative with respect to xx, and we are thinking of yy as a function that depends on xx. So, for the second term we need to use the chain rule. We know that the derivative of a composite function is the derivative of the outer function times the derivative of the inner function: f(g(x))=f(g(x))g(x)f'(g(x)) = f'(g(x))\cdot g'(x). In the second term we take the derivative of y2y^2 with respect to yy, thinking of this exponent as the outer function operating on yy, and then we also imagine yy as some other expression of xx, so we multiply by the derivative of yy with respect to xx. Thus, we get that ddxy2=2yy\dfrac{d}{dx}y^2 = 2y \cdot y'.

Considering that a derivative of a constant is zero, in the end we get:

2x+2yy=02x + 2y \cdot y' = 0We want to find yy', so let's solve for it:

2yy=2x    y=2x2y=xy2y\cdot y' = -2x \ \ \Rightarrow \ \ y' = -\dfrac{2x}{2y} = -\dfrac{x}{y}Thus, this is the derivative of the origin function with respect to xx.

A second example

Let's look at a more complex example:

2x3+x3y+y3=82x^3 + x^3 \cdot y + y^3 =8Suppose we want to find yy'. We will take the derivative of every term with respect to xx again:

ddx(2x3+x3y+y3)=ddx(8) ddx(2x3)+ddx(x3y)+ddx(y3)=ddx(8)\dfrac{d}{dx} (2x^3 + x^3 \cdot y + y^3 ) =\dfrac{d}{dx}(8) \\ \ \\ \dfrac{d}{dx} (2x^3) + \dfrac{d}{dx} (x^3 \cdot y) + \dfrac{d}{dx} (y^3) = \dfrac{d}{dx} (8)For the first term we get 6x26x^2. For the second term we need to use the chain rule, so

ddx(x3y)=(x3)y+x3y=3x2y+x3y\dfrac{d}{dx} (x^3 \cdot y) = (x^3)'\cdot y + x^3 \cdot y' = 3x^2y + x^3y'Again, we notice, that yy is a function, and it's derivative is some other function, which is what we are looking for, so we write yy'.

For the third term ddx(y3)\dfrac{d}{dx} (y^3) we need to use the chain rule: we take the derivative with respect to yy first, ignoring what's inside yy, and get 3y23y^2, but then we multiplying by the derivative of yy with respect to xx and get yy'. So, in the end we get 3y2y3y^2 \cdot y'. Thus, we get

6x2+3x2y+x3y+3y2y=06x^2 + 3x^2y + x^3y' + 3y^2y' = 0Hence,

x3y+3y2y=6x23x2y y(x3+3y2)=6x23x2y y=6x2+3x2yx3+3y2x^3y' +3y^2 y' = - 6x^2 - 3x^2y \\ \ \\ y'(x^3 + 3y^2) = -6x^2 -3x^2y \\ \ \\ y' = -\dfrac{6x^2 +3x^2y}{x^3 + 3y^2}

Conclusion

In this topic, we learned about implicit derivatives. Now we know how to find a derivative of function where one variable is not being expressed in terms of another, for example, x3+y3=8x^3+y^3 = 8 or cos(xy)=0\cos (xy) = 0.

31 learners liked this piece of theory. 4 didn't like it. What about you?
Report a typo