[Math] the derivative of log y with respect to x

derivativeslogarithms

I was solving the following sum:enter image description here
We started off with the first equation and then he took log on both sides to simplify. Everything was fine here but the next step's LHS confused me, he said he used chain rule to simplify logy, he took y equal to u, and so he got 1/y dy/dx, but I just cant see how this is possible, i know and understand chain rule, but this just seems wrong. Someone please help. Even the textbook does the same thing.

Best Answer

Define $L(x) = \log f(x)$. Take the derivative, $L'(x) = \frac{d L(x)}{dx} = \frac{f'(x)}{f(x)}$ by definition of logarithm derivative. Now rewrite this as $$ f'(x) = f(x) L'(x) $$

The only challenge is to take the derivative of the expression after taking the logarithm, but this is easier than the original expression, because instead of taking derivatives of a fraction you take derivatives of differences (since $\log \frac{a}{b} = \log a - \log b)$.

Related Question