4 minutes read

You already know how to take the derivative of polynomials, trigonometric, and composite functions. In this topic, you are going to learn about logarithmic functions and its derivatives.

Basic formulas

We recall that the natural logarithm of xx is a logarithm with the base ee:

lnx=logex\ln x = \log_e xA derivative of natural logarithm is(lnx)=1x(\ln x)' = \dfrac{1}{x}We know that logax=lnxlna\log_a x = \dfrac{\ln x}{\ln a}So, considering that lna\ln a is a constant, we obtain(logax)=(lnxlna)=1lna(lnx)=1lna1x=1xlna(\log_a x)' = \left( \dfrac{\ln x}{\ln a}\right)' = \dfrac{1}{\ln a} (\ln x)' = \dfrac{1}{\ln a} \cdot \dfrac{1}{x} = \dfrac{1}{x \ln a}

Let's practice!

So, let's see how we can combine these formulas with the other rules we have learned. Say we want to find a derivative of ln(sin5x)\ln(\sin 5x). This is a composite function, hence we need the chain rule. Firstly, we take the derivative of the natural logarithm and get 1sin5x\dfrac{1}{\sin 5x}. Secondly, we multiply it by the derivative of what was inside and get:

(ln(sin5x))=1sin5x(sin5x)= 1sin5xcos5x5=5cos5xsin5x=5cot5x(\ln(\sin 5x))' = \dfrac{1}{\sin 5x} \cdot (\sin 5x)' = \\ \ \\ \dfrac{1}{\sin 5x} \cdot \cos 5x \cdot 5 = \dfrac{5\cos 5x}{\sin 5x} = 5 \cot 5xThus, when we take the derivative of the natural logarithm of any function, likef(x)=ln(g(x))f(x) = \ln (g(x))we get

f(x)=g(x)g(x)f'(x) =\dfrac{g'(x)}{g(x)}Now let's find the derivative of log20x3\log_{20} x^3:

(log20x3)=1x3ln20(x3)=3x2x3ln20=3xln20(\log_{20} x^3)' = \dfrac{1}{x^3 \ln 20} \cdot (x^3)' = \dfrac{3x^2}{x^3 \ln 20} = \dfrac{3}{x\ln 20}

An important example

Let's consider a function f(x)=xxf(x)= x^x. How can we find the derivative of this function? We need to use the technique we have just considered – the logarithmic derivative. We hang logarithms on both sides:

lnf(x)=lnxx\ln f(x) = \ln x^xAccording to the properties of the logarithm, on the right side the degree is taken out from under the logarithm:

lnf(x)=xlnx\ln f(x) = x\ln xAs a result, on the right-hand side we have a product of two functions, which will be differentiated according to the product rule:

(hg)=hg+hg(h \cdot g)' = h'\cdot g+h \cdot g'. Let's differentiate both sides of our equality:

(lnf(x))=(xlnx)  (lnf(x))=xlnx+x(lnx) 1f(x)f(x)=xlnx+x(lnx)=lnx+xx=lnx+1(\ln f(x))' = (x\ln x)' \ \Rightarrow \\ \ \\ (\ln f(x))' = x' \cdot \ln x + x \cdot (\ln x)' \\ \ \\ \dfrac{1}{f(x)} \cdot f'(x) = x' \cdot \ln x + x \cdot (\ln x)' = \ln x + \dfrac{x}{x} = \ln x + 1So, we get

f(x)=f(x)(lnx+1)=xx(lnx+1)f'(x) = f(x) \cdot (\ln x + 1) = x^x \cdot (\ln x + 1)

Conclusion

In this topic, we have learned about logarithmic derivatives and done some practice. Also, we have considered an important example of a situation when the logarithmic derivative allows calculating the derivatives of exponential functions.

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