# Video: Finding the First Derivative of a Function Using Logarithmic Differentiation

Use logarithmic differentiation to determine the derivative of the function 𝑦 = −3𝑥^(2𝑥).

04:18

### Video Transcript

Use logarithmic differentiation to determine the derivative of the function 𝑦 equals negative three 𝑥 to the power of two 𝑥.

So the first thing we can do if we want to find the first derivative of our function 𝑦 equals negative three 𝑥 to the power of two 𝑥 is bring negative three, our constant value, outside of the differentiation. Because it’s going to factor it and it makes life easier. So we can say that the derivative of our function is equal to negative three multiplied by the derivative of 𝑥 to the power of two 𝑥. And that’s with respect to 𝑥.

So in order to differentiate our 𝑥 to the power of two 𝑥, what we’re gonna use is an adaptation of our power rule. And that is that if we’ve got a function raised to the power of a function, then the derivative of it is equal to that function raised to the power of a function. So in our case here, 𝑓 of 𝑥 raised to the power of 𝑔 of 𝑥 multiplied by the derivative of ln or the natural logarithm of 𝑓 of 𝑥 multiplied by 𝑔 of 𝑥.

So therefore, if we apply this, we’re gonna have our derivative is equal to negative three multiplied by 𝑥 power of two 𝑥 multiplied by the derivative of ln 𝑥 multiplied by two 𝑥. So now if we simplify this, we can say that the derivative is equal to negative three 𝑥 to the power of two 𝑥 multiplied by the derivative of two 𝑥 ln 𝑥.

So now to enable us to differentiate two 𝑥 ln 𝑥, what we’re gonna have to use is the product rule. And what the product rule tells us is that if we’ve got two functions multiplied together, so 𝑓 of 𝑥 multiplied by 𝑔 of 𝑥, then if we let 𝑢 equal 𝑓 of 𝑥 and 𝑣 equals 𝑔 of 𝑥, then the derivative of 𝑢𝑣 is equal to 𝑢 d𝑣 d𝑥 plus 𝑣 d𝑢 d𝑥, which is 𝑢 multiplied by the derivative of 𝑣 plus 𝑣 multiplied by the derivative of 𝑢.

Okay, great, we can now apply that to our scenario. So what we can start with is our 𝑢 being equal to two 𝑥. So therefore, d𝑢 d𝑥 is gonna be equal to two. And that’s because if we want to differentiate two 𝑥, what we do is we multiply the exponent by the coefficient, so one by two, which gives us two. And then we reduce the exponent by one, so from one to zero. So we just get two multiplied by 𝑥 to the power of zero, which is just two multiplied by one, which gives us two. And now if we say that 𝑣 is equal to ln 𝑥 or the natural logarithm of 𝑥, then we’re gonna have to differentiate this to find d𝑣 d𝑥.

So now what we do is apply the natural logarithm differentiation rule. And when we do that, we get d𝑣 d𝑥 is equal to one over 𝑥. And that’s because we know that the derivative of ln 𝑥 is equal to one over 𝑥. So now if we bring that all back together and apply the product rule. So now if we do that, we’re gonna have derivative is equal to negative three 𝑥 to the power of two 𝑥 multiplied by. And we’ve got 𝑢 d𝑣 d𝑥, which is gonna give us two 𝑥 over 𝑥. And that’s because 𝑢 was two 𝑥 and d𝑣 d𝑥 was one over 𝑥. Then plus 𝑣 d𝑢 d𝑥, which would give us ln 𝑥 multiplied by two. So I brought them together, which gives us two ln 𝑥.

So now if we look to simplify, the first thing we can do is divide the first term inside the parentheses by 𝑥 on the numerator and denominator because it’s a common term. So we’re left with two. So we’re now at the stage where the derivative is equal to negative three 𝑥 to the power of two 𝑥 multiplied by two plus two ln 𝑥.

There’s one more stage to go with simplifying because we can see that two is a common factor in both terms inside the parentheses. So if we bring that outside the parentheses and we multiply it by negative three 𝑥 to the power of two 𝑥, we’re gonna get negative six 𝑥 to the power of two 𝑥 multiplied by one plus ln 𝑥. So therefore, we can say that we’ve used logarithmic differentiation to determine the derivative of 𝑦 equals negative three 𝑥 to the power of two 𝑥. And it is, as we’ve already stated, negative six 𝑥 to the power of two 𝑥 multiplied by one plus ln 𝑥.