Hey, everyone. At this point in the course, we've learned a ton of different rules for finding derivatives. So if I asked you to find the derivative of this function, x+4∙x+t52x3-12/3, you could do so using the quotient rule along with the product rule along with the chain rule. And what would likely end up being a rather long and tedious derivative that requires a lot of messy algebra. But luckily, since we know how to find the derivative of logarithmic functions, there's an easier way to find this derivative using what's called logarithmic differentiation.
I'm going to take you through the process of log differentiation here in this video, and we're going to jump right into our example. So when faced with finding the derivative of a function like this one, we can see that it's a rather complicated function. The first thing that we want to do is take the natural log of both sides. So for this equation here, this gives me that the natural log of y is then equal to the natural log of x+4∙x+252x3-12/3. Now from here, we want to expand this out using log properties.
So the natural log of y will not expand, so we're going to leave it as is. But focusing on this right side here, I can see in my numerator, I have these 2 functions being multiplied. Now when taking the log of 2 functions being multiplied, I can expand this out into 2 separate natural logs being added together. So this is the natural log of x+4+the natural log of x+2 to the power of 5. Now another log property tells us that we can go ahead and pull that exponent out front and multiply by it.
So this becomes 5 times the natural log of x plus 2, just pulling that exponent out front. Then continuing on here, since we're dividing by x cube minus 1 to the power of 2 thirds, this division expands out to subtraction. So I have minus the natural log of x cubed minus 1 to the power of 2 thirds. Now, again, here, I can pull this exponent out front to give me minus 2 thirds times the natural log of x cubed minus 1. And now we've fully expanded this out.
From here, we want to use implicit differentiation. Remember, the implicit differentiation tells us that we want to take the derivative of both sides. So this then gives me that ddx the derivative of the natural log of y, is equal to the derivative of all of this stuff I have over here on the right. So from here, we actually want to take these derivatives. So starting on that left hand side, this is ddx of the natural log of y.
Using my rule for finding the derivative of the natural log, I know this will give me one over y. And then since y is a function of x, I need to apply the chain rule here and multiply this by the derivative of y with respect to x. So that's dydx. Now this is ultimately the derivative that we want to find. Right?
We want to find the derivative of our original function y. So continuing on this right side here, we want to take the derivative of each of these individual natural logs and add and subtract them accordingly. So starting with that first term, the derivative of the natural log of x+4, using my rule for natural logs, this gives me 1 over x+4. Applying the chain rule here, it means I would just be multiplying by 1 because that's the derivative of that inside function. So that's not going to change anything here.
Then for my next term, the derivative of 5 times the natural log of x plus 2, this thing gives me plus 5, that constant pulling it out, and then the derivative of natural log of x plus 2. Again, applying my rule here, this gives me one over x plus 2. If I applied the chain rule, the derivative of that inside function is, again, 1. So that's not going to change anything here. Then my last term here, a minus 2 thirds, pulling that constant out front, multiplying by the derivative of the natural log of x cubed minus 1.
Applying my rule for natural logs one last time, this gives me one over x cubed minus 1. Then applying the chain rule here, I need to multiply by the derivative of x cubed minus 1, which gives me 3x squared. So I've taken all the derivatives that I need to. Now I need to solve for this dydx and get it all by itself because that's what we're looking for. So we need to get rid of this one over y, which we can do by multiplying both sides by y.
When I do that, on this left-hand side, that y will cancel out. And I am just left with dydx. Then on my right hand side, I'm just multiplying all of that by y. Now, ultimately, we want this derivative all in terms of x, but we know exactly what y is. Our original function, x plus 4 times x plus 2 to the power of 5 over x cubed minus 1 to the power of 2 thirds.
So we can just plug that right in. So our final derivative here, just rewriting what I have, this is 1x+4+5 1x+2, just condensing that fraction. And then in this last term, these threes will cancel. And I'm left with 2xsquared in my numerator over x cubed minus 1. Then multiplying by my original function y plugging that in, that's again x+4timesx+2to the power of 5overxcubed minus 1 to the power of 2 thirds.
And now we have fully found our derivative at dydx without having to use all of these different rules for differentiation altogether. Here, we really just used our rule for finding the natural log and the chain rule. So we can see that for some functions like this one, log differentiation is going to make finding the derivative easier. But for some other functions, when rules actually can't be applied directly, like for a function like this, x to the power of x, log differentiation is actually going to be necessary in order to actually figure out what the derivative is. But whether it just makes finding the derivative easier or it's absolutely necessary, remember that in order to use log differentiation, the first thing you want to do is take the natural log of both sides.
From there, you want to expand out using your log properties and then, finally, use implicit differentiation in order to find your derivative where you'll be solving for dydx. Now we're going to get some more practice with log differentiation coming up in the next couple of videos. I'll see you there.