Derivative of a Logarithm with a Variable Base

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 2K views
scientifico
Messages
181
Reaction score
0

Homework Statement


Hello, I have to calculate the derivative of [itex]y = log_x (x+1)[/itex] so I used the formula of the derivative of a n-base logarithm and I get [itex]y' = 1/((x+1)logx)[/itex] but that's wrong, why ?

Thanks

Homework Equations


[itex]log_a x = 1/(xlog(a))[/itex]
 
Physics news on Phys.org
But why that formula doesn't work ?
 
That's wrong because you have assumed a formula, [tex]d(log_a(x))/dx= 1/(x ln(a))[/tex], that is true for constant base, is also true when the base is a variable. The fact that it is a variable means that base adds its own "variation" to the derivative.

I would start with [itex]y= log_x(x+ 1)[/itex], then write [itex]x+ 1= x^y[/itex]. Now differentiate both sides with respect to x: [itex]1= x^{-y}ln(x)(dy/dx)+ x[/itex] so that [itex]dy/dx= (1- x)x^y/ln(x)[/itex]
 
So why the base changing formula is valid for a variable base too ?
 
scientifico said:
So why the base changing formula is valid for a variable base too ?

It's valid for any base logarithm the fact that in your example it's a variable base doesn't matter. What's nice is that it take the variable base out of the picture and makes your problem somewhat simpler.
 
scientifico said:
So why the base changing formula is valid for a variable base too ?
Why wouldn't it be? Each value of a variable is a number so what ever is true for a number is true for each value of the variable. It is only when you are doing things that involve the way the variable changes, such as taking a derivative or an integral, that you have to take into account that it is an integral.