Products A
natural logarithm is applied to a product of two functions f(x) = g(x) h(x) to transform the product into a sum \ln(f(x))=\ln(g(x)h(x)) = \ln(g(x)) + \ln(h(x)). Differentiating by applying the
chain and the
sum rules yields \frac{f'(x)}{f(x)} = \frac{g'(x)}{g(x)} + \frac{h'(x)}{h(x)}, and, after rearranging, yields f'(x) = f(x)\times \left\{\frac{g'(x)}{g(x)} + \frac{h'(x)}{h(x)}\right\} = g(x) h(x) \times \left\{\frac{g'(x)}{g(x)} + \frac{h'(x)}{h(x)}\right\} = g'(x) h(x) + g(x) h'(x), which is the
product rule for derivatives.
Quotients A
natural logarithm is applied to a quotient of two functions f(x) = \frac{g(x)}{h(x)} to transform the division into a subtraction \ln(f(x)) = \ln\left(\frac{g(x)}{h(x)}\right) = \ln(g(x)) - \ln(h(x)) Differentiating by applying the
chain and the
sum rules yields \frac{f'(x)}{f(x)} = \frac{g'(x)}{g(x)} - \frac{h'(x)}{h(x)}, and, after rearranging, yields f'(x) = f(x) \times \left\{\frac{g'(x)}{g(x)} - \frac{h'(x)}{h(x)}\right\} = \frac{g(x)}{h(x)} \times \left\{\frac{g'(x)}{g(x)} - \frac{h'(x)}{h(x)}\right\} = \frac{g'(x) h(x) - g(x) h'(x)}{h(x)^2}, which is the
quotient rule for derivatives.
Functional exponents For a function of the form f(x) = g(x)^{h(x)} the
natural logarithm transforms the exponentiation into a product \ln(f(x)) = \ln\left(g(x)^{h(x)}\right) = h(x) \ln(g(x)) Differentiating by applying the
chain and the
product rules yields \frac{f'(x)}{f(x)} = h'(x) \ln(g(x)) + h(x) \frac{g'(x)}{g(x)}, and, after rearranging, yields f'(x) = f(x)\times \left\{h'(x) \ln(g(x)) + h(x)\frac{g'(x)}{g(x)}\right\} = g(x)^{h(x)} \times \left\{h'(x) \ln(g(x)) + h(x) \frac{g'(x)}{g(x)}\right\}. The same result can be obtained by rewriting
f in terms of
exp and applying the chain rule.
General case Using
capital pi notation, let f(x) = \prod_i (f_i(x))^{\alpha_i(x)} be a finite product of functions with functional exponents. The application of natural logarithms results in (with
capital sigma notation) \ln (f(x)) = \sum_i\alpha_i(x) \cdot \ln(f_i(x)), and after differentiation, \frac{f'(x)}{f(x)} = \sum_i \left[\alpha_i'(x)\cdot \ln(f_i(x)) + \alpha_i(x) \cdot \frac{f_i'(x)}{f_i(x)}\right]. Rearrange to get the derivative of the original function, f'(x) = \overbrace{\prod_i (f_i(x))^{\alpha_i(x)}}^{f(x)} \times\overbrace{\sum_i\left\{\alpha_i'(x)\cdot \ln(f_i(x))+\alpha_i(x)\cdot \frac{f_i'(x)}{f_i(x)}\right\}}^{[\ln (f(x))]'}. ==See also==