Yesterday I was working on answering a question about logarithmic differentiation and came across something I had not noticed before. I did not know if I had made a mistake or if it was a coincidence, but it stopped me from posting an answer.
[MATH]y = a^n, \text { where n is an integer and}[/MATH]
a is a very messy function in x, but one easily disaggretated by logarithms. In the actual problem a was a product of powers of four functions, but let's keep things simple here with
[MATH]a = bc.[/MATH] ................................................................edited
To compute the derivative by hand, there are two obvious ways to go. Power and product rules.
[MATH]y = a^n \implies y' = na^{(n-1)}a'.[/MATH]
But that a' will be ugly because, by hypothesis, a' is supposed to be awful to compute
Logarithmic differentiation.
[MATH]y = a^n \implies ln(y) = n * ln(a) = n\{ln(b) + \ln(c)\} \implies\\ \dfrac{1}{y} * y' = n * \left ( \dfrac{1}{b} * b' + \dfrac{1}{c} * c \right ) \implies y' = ny * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ) \implies \\ y' = na^n * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ).[/MATH]All systems froze. How can a be to the power of n rather than n - 1?
In the context of a very messy problem, that had me really scratching my head. Had I made an error? If so, where? Of course, the solution is obvious in a context this simple.
[MATH]y' = na^n * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ) \implies \\ y' = na^n * \dfrac{b'c + bc'}{bc} = na^n * \dfrac{bc' + b'c}{a} = na^{(n-1)}(bc' +b'c) \implies \\ y' = na^{(n-1)}a'.[/MATH]This may be something everyone else has been conscious of since their teens, but it was brand new to me. Again, it makes me wonder whether how things are taught is sane.
[MATH]y = a^n, \text { where n is an integer and}[/MATH]
a is a very messy function in x, but one easily disaggretated by logarithms. In the actual problem a was a product of powers of four functions, but let's keep things simple here with
[MATH]a = bc.[/MATH] ................................................................edited
To compute the derivative by hand, there are two obvious ways to go. Power and product rules.
[MATH]y = a^n \implies y' = na^{(n-1)}a'.[/MATH]
But that a' will be ugly because, by hypothesis, a' is supposed to be awful to compute
Logarithmic differentiation.
[MATH]y = a^n \implies ln(y) = n * ln(a) = n\{ln(b) + \ln(c)\} \implies\\ \dfrac{1}{y} * y' = n * \left ( \dfrac{1}{b} * b' + \dfrac{1}{c} * c \right ) \implies y' = ny * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ) \implies \\ y' = na^n * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ).[/MATH]All systems froze. How can a be to the power of n rather than n - 1?
In the context of a very messy problem, that had me really scratching my head. Had I made an error? If so, where? Of course, the solution is obvious in a context this simple.
[MATH]y' = na^n * \left ( \dfrac{b'}{b} + \dfrac{c'}{c} \right ) \implies \\ y' = na^n * \dfrac{b'c + bc'}{bc} = na^n * \dfrac{bc' + b'c}{a} = na^{(n-1)}(bc' +b'c) \implies \\ y' = na^{(n-1)}a'.[/MATH]This may be something everyone else has been conscious of since their teens, but it was brand new to me. Again, it makes me wonder whether how things are taught is sane.
Last edited by a moderator: