Question
Question: How do you differentiate \[y={{\log }_{a}}x\]?...
How do you differentiate y=logax?
Solution
Simplify the logarithmic function by using the base change formula given as: - logab=logcalogcb. Convert the base of the logarithm into ‘e’, that means into natural logarithm ln. Now, differentiate both the sides of the function with respect to the variable x and consider ‘a’ as the constant. Use the formula: - dxdlnx=x1 to simplify and get the answer.
Complete step-by-step solution:
Here, we have been provided with the logarithmic function y=logax and we are asked to differentiate it. That means we have to find the value of dxdy.
Now, we know that we have a direct derivative formula for the natural logarithmic function given as dxdlnx=x1. Natural log means the base of the logarithm must be ‘e’. Here, e≃2.71. We do not have a direct formula for the logarithmic functions having bases other than e, so to differentiate such functions first we have to convert them into natural log. This is done using the base change formula in logarithms.
In the above question we have y=logax, here we have the base of the log equal to a which is any constant other than e. Applying the base change rule given as: - logab=logcalogcb, we have.
⇒logax=logealogex
This can be written as: -
⇒y=logealogex=lnalnx
Now, let us differentiate both the sides with respect to the variable x, so we have,
⇒dxdy=dxd(lnalnx)
Since, lna is a constant because ‘a’ is constant, it can be taken out of the derivative. So, we have,
⇒dxdy=lna1dxd(lnx)
Applying the formula: - dxdlnx=x1, we get,