How to calculate the derivative of ln(x) using the limit

Lavinia and HallsofIvy, forgive my ignorance, but I didn't know ln(x) could be definied in many ways. If the definition I'm using is so important, I don't know why I haven't been asked this before. I was taught that ln(x) is a function so that \displaystyle\ f: (0, \infty) \rightarrow \mathbb R That is, the function is defined \displaystyle\forall\ x\in(0, \infty). And, of course, \displaystyle\lim_{x \to +\infty}\ln(x)= +\infty and \displaystyle\lim_{x \to 0^{+}}\
  • #1
Cristopher
9
0
Hi.

I know that the derivative of ln(x) is 1/x but I can't seem to find a way to calculate this using this limit

[itex]^{lim}_{h→0}[/itex][itex]\frac{ln(x+h)-ln(x)}{h}[/itex]

Could anyone give me a hand on how to find derivative of lnx? :)

Thanks!
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Welcome to PhysicsForums, Cristopher! Here's a starting point: use the properties of logarithms to turn the whole expression into a single logarithm.
 
  • #3
or use the integral definition of the log.
 
  • #4
Cristopher said:
Hi.

I know that the derivative of ln(x) is 1/x but I can't seem to find a way to calculate this using this limit

[itex]^{lim}_{h→0}[/itex][itex]\frac{ln(x+h)-ln(x)}{h}[/itex]

Could anyone give me a hand? :)

Thanks!

Logarithms are many times studied after the exponential functions, so we can begin with

[tex]\frac{\log(x+h)-\log x}{h}=\frac{1}{h}\log\left(1+\frac{h}{x}\right)= \log \left(1+\frac{h}{x}\right)^{1/h}= \log \left[\left(1+\frac{1}{x/h}\right)^{x/h}\right]^{1/x}[/tex]

and now use that
[tex]\left(1+\frac{1}{f(x)}\right)^{f(x)}\xrightarrow [f(x)\to\infty]{} e\,\,,\,\text{whenever}\,\,f(x)\xrightarrow [x\to\infty]{} \infty[/tex]
and the continuity of both [itex]\,\log x\,,\,e^x[/itex] ...oh, and of course: that these two functions are inverse to each other.

DonAntonio
 
  • #5
Thank you all for your answers!

lugita15 said:
Welcome to PhysicsForums, Cristopher!

Thank you ;)

lugita15 said:
Here's a starting point: use the properties of logarithms to turn the whole expression into a single logarithm.

I knew I would probably have to use those properties but I never thought of writing 1/h as an exponent! DonAntonio's post made me realize that I can actually make the indeterminate form 0/0 into 1. The properties ln(a)-ln(b)= ln(a/b) and ln(ab)= b*ln(a) along with the fact that [itex]\displaystyle\lim_{x \to 0}(1+x)^{1/x}=e[/itex] make this limit quite easy to evaluate:

[itex]\displaystyle\lim_{h \to 0}\frac{\ln(x+h)-\ln(x)}{h}=\lim_{h \to 0}\ln \left(\left(\frac{x+h}{x}\right)^{1/h}\right)=\lim_{h \to 0}\ln \left[\left(\left(1+\frac{h}{x}\right)^{x/h}\right)^{h/x*1/h}\right]=\lim_{h \to 0}\ln \left[\left(\left(1+\frac{h}{x}\right)^{x/h}\right)
^{1/x}\right]=\ln(e^{1/x})=\frac{1}{x}\ln(e)=\frac{1}{x}[/itex]

This is what you meant, right? lugita15?

mathwonk said:
or use the integral definition of the log.

I'd never heard about that before. Do you mean this?

[itex]\displaystyle\ln(t)=\int^{t}_{1}\frac{1}{x}dx[/itex]
 
  • #6
Cristopher said:
The properties ln(a)-ln(b)= ln(a/b) and ln(ab)= b*ln(a) along with the fact that [itex]\displaystyle\lim_{x \to 0}(1+x)^{1/x}=e[/itex] make this limit quite easy to evaluate:

[itex]\displaystyle\lim_{h \to 0}\frac{\ln(x+h)-\ln(x)}{h}=\lim_{h \to 0}\ln \left(\left(\frac{x+h}{x}\right)^{1/h}\right)=\lim_{h \to 0}\ln \left[\left(\left(1+\frac{h}{x}\right)^{x/h}\right)^{h/x*1/h}\right]=\lim_{h \to 0}\ln \left[\left(\left(1+\frac{h}{x}\right)^{x/h}\right)
^{1/x}\right]=\ln(e^{1/x})=\frac{1}{x}\ln(e)=\frac{1}{x}[/itex]

This is what you meant, right? lugita15?
Yes, this is exactly what I meant. Good job!
I'd never heard about that before. Do you mean this?

[itex]\displaystyle\ln(t)=\int^{t}_{1}\frac{1}{x}dx[/itex]
Yes, that is what mathwonk was referring to. Of course, using that definition makes the problem trivial.
 
  • #7
Cristopher said:
Hi.

I know that the derivative of ln(x) is 1/x but I can't seem to find a way to calculate this using this limit

[itex]^{lim}_{h→0}[/itex][itex]\frac{ln(x+h)-ln(x)}{h}[/itex]

Could anyone give me a hand? :)

Thanks!

what definition of log are you using?
 
  • #8
lavinia said:
what definition of log are you using?

I'm not sure if I understand your question correctly, but I was referring to the natural logarithm, with base e.
 
  • #9
That wasn't the question. There are many different ways to define just that function. One was, as noted before, to define
[tex]ln(t)= \int_1^t\frac{1}{x}dx[/tex]

Since 1/x is defined for all non-zero x, that defined ln(t) for all positive t. By the fundamental theorem of Calculus, the derivative of ln(t) is 1/t. And that's positive for positive x so ln(x) is an increasing function. You can then use substitution in the integral to prove that ln(1/t)= -ln(t), ln(st)= ln(s)+ ln(t), and that [itex]ln(x^y)= yln(x)[/itex]

By the mean value theorem, we can write (ln(2)- ln(1))/(2- 1)= 1/c for some c between1 and 2. Of course, that says that ln(2)= 1/c for c< 2 and so ln(2)> 1/2. That's important because then, for any X> 0, [itex]ln(2^{2X})= 2Xln(2)> X[/itex]. Since X could be any number, ln(x) is unbounded. Since ln(t) is increasing, the limit, as x goes to infinity, of ln(x) is infinity and, because ln(1/t) - ln(t), the limit as x goes to 0 is negative infinity. That is, ln(t) maps the set of all positive numbers one-to-one and onto the set of all real numbers. That means it has a inverse function that maps the set of all real numbers to the set of all positive numbers. We can call that inverse function, "exp(x)".

And, finally, here is the important point- If y= exp(x) then x= ln(y). If x is not 0, we can divide both sides by x: [itex]1= (1/x)ln(y)= ln(y^{1/x})[/itex]. Going back to the exponental form, that says [itex]exp(1)= y^{1/x}[/itex] so that [itex]y= (exp(1))^x[/itex]. That is, the inverse function to ln(x), as defined with that integral, really is an exponential! And, of course, if we define e= ln(1), it follows that [/itex]exp(x)= e^x[/itex].
 
  • #10
HallsOfIvy, I think you made a typo. We can't define e as ln(1). We define e as the real solution to the equation ln(x) = 1.
 
  • #11
Lavinia and HallsofIvy, forgive my ignorance, but I didn't know ln(x) could be definied in many ways. If the definition I'm using is so important, I don't know why I haven't been asked this before.

I was taught that ln(x) is a function so that [itex]\displaystyle\ f: (0, \infty) \rightarrow \mathbb R[/itex] That is, the function is defined [itex]\displaystyle\forall\ x\in(0, \infty)[/itex]. And, of course, [itex]\displaystyle\lim_{x \to +\infty}\ln(x)= +\infty[/itex] and [itex]\displaystyle\lim_{x \to 0^{+}}\ln(x)= -\infty[/itex] (i.e. ln(x) has a vertical aysmptote at x=0 from the right). I already know that if [itex]f(x)=\ln(x)[/itex] then [itex]f^{-1}(x)=e^x[/itex] because [itex]f \circ f^{-1}=x[/itex] and [itex]f^{-1} \circ f=x[/itex]

But I want to calculate the derivative of ln(x) using the notion of limit. Because I imagine the derivative of ln(x) was calculated for the first time using the definition of the derivative, wasn't it? and I want to find out how they did it. One way, as I have recently discovered thanks to the help of the users here, is to transform the indeterminate form 0/0 into 1, by using the properties of logarithms and some algebraic manipulation.

Does the way I can evaluate this limit depend on the definition of ln(x) I'm using?

[itex]\displaystyle\lim_{h \to 0}\frac{\ln(x+h)-\ln(x)}{h}[/itex]

Here we have the indeterminate form 0/0. So, the question is: Is there any other algebraic manipulation I can do in onder to make this into a determinate form?

By the way, Milennial is right, since ln(1) = 0
 
  • #12
The natural logarithm function was invented before the notion of the logarithm itself (or that's what I remember.) It was defined to be the integral of 1/x, because it was not expressible in elementary terms then. It was only later when the notion of the logarithm was invented, the equation log(ab)=log(a)+log(b) became known as the fundamental property of logarithms. Using a simple integral transformation, it is easy to prove this for the integral of 1/x:

[tex]\log(ab)=\int_{1}^{ab}\frac{dx}{x}=\int_{1/b}^{a}\frac{dt}{t}=\int_{1/b}^{1}\frac{dt}{t}+\int_{1}^{a}\frac{dt}{t}=\int_{1}^{b}\frac{dt}{t}+\int_{1}^{a}\frac{dt}{t}=\log(b)+\log(a)[/tex]

This reveals that the function we defined is a logarithm.

Your method requires we defined the exponential function beforehand and also defined the natural logarithm as its inverse. Then, your limit is equal to the limit
[tex]\lim_{h\to 0}\log \left( \left( \frac{x+h}{x} \right)^{1/h} \right)[/tex]
Try to simplify that.
 

1. What is the formula for calculating the derivative of ln(x) using the limit?

The formula for calculating the derivative of ln(x) using the limit is:
limh→0 (ln(x+h) - ln(x)) / h

2. How do you simplify the expression for calculating the derivative of ln(x) using the limit?

To simplify the expression, we can use the logarithm property:
ln(a) - ln(b) = ln(a/b).
This allows us to rewrite the expression as:
limh→0 ln((x+h)/x) / h

3. What is the first step in calculating the derivative of ln(x) using the limit?

The first step is to apply the limit definition of the derivative:
f'(x) = limh→0 (f(x+h) - f(x)) / h

4. How do you evaluate the limit in the formula for calculating the derivative of ln(x) using the limit?

To evaluate the limit, we substitute 0 for h in the expression:
limh→0 ln((x+h)/x) / h
This results in:
ln(1) / 0
Since ln(1) = 0, the limit becomes 0/0 which is an indeterminate form.

5. How can you solve the indeterminate form of the limit in the formula for calculating the derivative of ln(x) using the limit?

To solve the indeterminate form, we can use L'Hopital's rule which states:
If the limit is in the form of 0/0 or ∞/∞, then it can be rewritten as the limit of the derivative of the numerator divided by the derivative of the denominator.
In this case, the limit becomes:
limh→0 (1/x) / 1
This simplifies to 1/x, which is the derivative of ln(x).

Similar threads

Replies
1
Views
1K
  • Calculus
Replies
3
Views
1K
Replies
3
Views
172
Replies
1
Views
839
  • Calculus
Replies
7
Views
2K
Replies
14
Views
1K
Replies
3
Views
1K
Replies
4
Views
2K
  • Calculus
Replies
1
Views
1K
Back
Top