Integral Formula for Logarithm

In summary: do a little algebra to get:\int_{1}^{xy}\frac{dt}{t} = \int_{1}^{y}\frac{dt}{t} + \int_{y}^{xy}\frac{dt}{t}and since u=\frac{t}{x} we have:\int_{1}^{xy}\frac{dt}{t} = \int_{1}^{y}\frac{dt}{t} + \int_{1}^{y}\frac{xdu}{\frac{t}{x}} = \int_{1}^{y}\frac{t}{t}du = \int_{1}^{y}\frac{du}{u}which is just f(y).
  • #1
psholtz
136
0
If we define a function f(x) such that:

[tex]f(x) = \int_{1}^x \frac{dt}{t}[/tex]

for [tex]x>0[/tex], so that:

[tex]f(y) = \int_{1}^y \frac{dt}{t}[/tex]

and

[tex]f(xy) = \int_{1}^{xy} \frac{dt}{t}[/tex]

is there a way, using just these "integral" definitions, to prove that:

[tex]f(x) + f(y) = f(xy)[/tex]

Clearly, the function we are dealing w/ is the logarithm, but I'd like to prove this from the "definitions" given above, rather than reverting to "known properties" of the logarithm function.
 
Physics news on Phys.org
  • #2
[tex]f(xy) = \int_{1}^{xy} \frac{dt}{t} = \int_1^x \frac{dt}{t} + \int_x^{xy} \frac{dt}{t}[/tex]

By making a change to the dummy variable in the last integral, you can show it to be equal to f(y).
 
  • #3
I thought about doing a Taylor expansion about [tex]x=1[/tex], that is to say:

[tex]f(1+x) = f(1) + f'(1)x + \frac{1}{2!}f''(1)x^2 + \frac{1}{3!}f'''(1)x^3 + ...[/tex]

[tex]f(1+x) = x - \frac{1}{2}x^2 + \frac{1}{3}x^3 - \frac{1}{4}x^4 + ... [/tex]

but I'm not sure this leads anywhere fruitful.. First, we'd have to get an expression for [tex]f(x)[/tex], rather than [tex]f(1+x)[/tex]:

[tex]f(x) = (x-1) - \frac{1}{2}\left(x-1\right)^2 + \frac{1}{3}\left(x-1\right)^3 - \frac{1}{4}\left(x-1\right)^4 + ...[/tex]

but, if added to the equivalent expression for [tex]f(y)[/tex], I'm not sure this would lead to anything like an expression:

[tex]f(xy) = \left(xy-1\right) - \frac{1}{2}\left(xy-1\right)^2+ ...[/tex]
 
  • #4
Mark44 said:
[tex]f(xy) = \int_{1}^{xy} \frac{dt}{t} = \int_1^x \frac{dt}{t} + \int_x^{xy} \frac{dt}{t}[/tex]

By making a change to the dummy variable in the last integral, you can show it to be equal to f(y).
OK... yes. Thanks!
 
  • #5
Change of variables by rescaling t works. E.g. you can write:

[tex]f(x) = \int_{1}^{x}\frac{dt}{t} = \int_{\frac{1}{x}}^{1}\frac{du}{u} = - \int_{1}^{\frac{1}{x}}\frac{du}{u} = -f\left(\frac{1}{x}\right)[/tex]
 
Last edited:
  • #6
Count Iblis said:
Change of variables by rescaling t works. E.g. you can write:

[tex]f(x) = \int_{1}^{x}\frac{dt}{t} = \int_{\frac{1}{x}}^{1}\frac{du}{u} = - \int_{1}^{\frac{1}{x}}\frac{du}{u} = -f\left(\frac{1}{x}\right)[/tex]
Which, in fact, is another useful property of the logarithm:

[tex]f(x) = -f\left(\frac{1}{x}\right)[/tex]
 
  • #7
It was traditional in older calculus books to prove all the properties of the logarithm from the integral definition (or at least, they did in my mom's old calculus text she loaned me once). I think newer books may have decided this was "too confusing" or something.

As you can see, it's easy to show that the integral has the desired properties. You can also prove that it is the inverse function to [itex]\exp x[/itex].
 
  • #8
Ben Niehoff said:
It was traditional in older calculus books to prove all the properties of the logarithm from the integral definition (or at least, they did in my mom's old calculus text she loaned me once). I think newer books may have decided this was "too confusing" or something.
Spivak also does it.
 
  • #9
Ben Niehoff said:
It was traditional in older calculus books to prove all the properties of the logarithm from the integral definition (or at least, they did in my mom's old calculus text she loaned me once). I think newer books may have decided this was "too confusing" or something.

As you can see, it's easy to show that the integral has the desired properties. You can also prove that it is the inverse function to [itex]\exp x[/itex].
Yes .. in point of fact, the question arose in my mind while I was reading one of the older calculus texts, specifically, Forsythe on Differential Equations. Forsythe mentions passingly that all the "properties" of the logarithm can be derived from its integral representation/definition, but doesn't go into any further detail.

Forgive my ignorance, but how can you derive that the exponential function is the inverse of the logarithm, given only the integral expression for logarithm?
 
  • #10
One way is this: We know that e^x solves the differential equation

[tex]\frac{dy}{dx} = y[/tex]

Considering x as a function of y, we obtain

[tex]\frac{dx}{dy} = \frac{1}{y}[/tex]

and hence the inverse function is

[tex]x(y) = \int_{y_0}^y \frac{dt}{t}[/tex]

and it merely remains to fix the constant y_0.

Of course, the first differential equation is also solved by any constant multiple of e^x. With a little bit more algebra, you can take that into account.
 
  • #11
Ben Niehoff said:
One way is this: We know that e^x solves the differential equation

[tex]\frac{dy}{dx} = y[/tex]

Considering x as a function of y, we obtain

[tex]\frac{dx}{dy} = \frac{1}{y}[/tex]

and hence the inverse function is

[tex]x(y) = \int_{y_0}^y \frac{dt}{t}[/tex]

and it merely remains to fix the constant y_0.

Of course, the first differential equation is also solved by any constant multiple of e^x. With a little bit more algebra, you can take that into account.
Interesting, thanks.

Yes, that makes sense.

Also, if we don't yet "know" what the symbol "e" is supposed to mean, I suppose one could also proceed by supposing that the solution y is in the form of an (indeterminate) polynomial, in the sense of:

[tex]y(x) = a_0 + a_1x + a_2x^2 + a_3x^3 + ...[/tex]

so that from y'=y we get:

[tex]y'(x) = a_1 + 2a_2x + 3a_3x^2 + 4a_4x^3 + ...[/tex]

and setting the constants equal, we get:

[tex]a_1 = a_0, a_2 = \frac{1}{2}a_1, a_3 = \frac{1}{3}a_2, a_4 = \frac{1}{4}a_3, ...[/tex]

so that the solution works out to:

[tex]y(x) = a_0 + a_0x + \frac{1}{2!}a_0x^2 + \frac{1}{3!}a_0x^3 + ... [/tex]

[tex]y(x) = a_0 \sum_{k=0}^{\infty} \frac{x^k}{k!}[/tex]

which summation can be taken as the "definition" of [tex]e^x[/tex].
 
  • #12
Mark44 said:
[tex]f(xy) = \int_{1}^{xy} \frac{dt}{t} = \int_1^x \frac{dt}{t} + \int_x^{xy} \frac{dt}{t}[/tex]

By making a change to the dummy variable in the last integral, you can show it to be equal to f(y).

Could you please elaborate (or just do it outright!) ?
Thanks
 
  • #13
Set u=t/x

Then, we have:
[tex]t=xu, \frac{dt}{du}=x\to{dt}=xdu[/tex]
We therefore get:
[tex]\int_{x}^{xy}\frac{dt}{t}=\int_{1}^{y}\frac{xdu}{xu}=\int_{1}^{y}\frac{du}{u}=f(y)[/tex]
 
  • #14
Ben Niehoff said:
It was traditional in older calculus books to prove all the properties of the logarithm from the integral definition (or at least, they did in my mom's old calculus text she loaned me once). I think newer books may have decided this was "too confusing" or something.

As you can see, it's easy to show that the integral has the desired properties. You can also prove that it is the inverse function to [itex]\exp x[/itex].
Oddly enough, I was thinking of this as how newer calculus books did it! I may just be showing my age.
 
  • #15
HallsofIvy said:
Oddly enough, I was thinking of this as how newer calculus books did it! I may just be showing my age.

I thought so.

Back in your days, you had to make to do with tiny counting stones, right? :smile:
 
  • #16
arildno said:
I thought so.

Back in your days, you had to make to do with tiny counting stones, right? :smile:
That is an insult! We used the abacus! (I knew the man who invented them.)
 
  • #17
By the way, here is an important property of the logarithm not often shown in texts that define the logarithm in terms of the integral.

Since ln(x) is defined as an integral it is clearly differentiable for all positive numbers and, in particular, is differentiable on [1, 2] so we can apply the mean value theorem to that interval: there exist c in [1, 2] such that
[tex]\frac{ln(2)- ln(1)}{2- 1}= (ln)'(c)[/tex]

Since
[tex]ln(x)= \int_1^t \frac{1}{x}dt[/tex]
by the "fundamental theorem of caluculus" [itex](ln(x))'= 1/x[/itex] for x positive.

Further
[tex]ln(1)= \int_1^1 \frac{1}{t}dt= 0[/itex]
because [itex]\int_a^a f(t)dt= 0[/itex] for any integrable function f.

So that gives
[tex]\frac{ln(2)- ln(1)}{2- 1}= \frac{ln(2)- 0}{1}= ln(2)= \frac{1}{c}[/tex]
for some c between 1 and 2. But if [itex]c\le 2[/itex], then [itex]1/c\ge 1/2[/itex] so that [itex]ln(2)\ge 1/2[/itex]!

Why is that important? Because if X is any positive number, then [itex]ln(2^{2X})= 2X ln(2)\ge X[/itex]. That is, given any positive number there exist x so that ln(x) is larger than that: ln(x) does not have an upper bound. Since the derivative of ln(x) is 1/x> 0, ln(x) is an increasing function. Since there is no upper bound, we must have [itex]\lim_{x\to\infty}ln(x)= \infty[/itex]. Since ln(1/x)= -ln(x), we also have [itex]\lim_{x\to -\infty} ln(x)= -\infty[/itex].

That is, ln(x) maps the set of positive real numbers one-to-one and onto the set of all real numbers. Because that is true, it has an inverse function, which we can call "Exp(x)".

Now, suppose y= Exp(x). Then x= ln(y). If [itex]x\ne 0[/itex], [itex]1= (1/x)ln(y)= ln(y^{1/x})[/itex]. Now going back to the exponential form, [itex]Exp(1)= y^{1/x}[/itex] so that [itex]y= (Exp(1))^x[/itex]. Of course, if x= 0, y= Exp(0)= 1 and [itex]Exp(1)^0= 1[/itex] so this is still true.

That is, from the integral definition of ln(x) we can recover the fact that it is the inverse function to some number to the x power.
 
Last edited by a moderator:
  • #18
HallsofIvy said:
That is an insult! We used the abacus! (I knew the man who invented them.)
:biggrin:
 
  • #19
How would you know to make the lower limit 1 when first defining ln x
[tex]\ln x = \int_1^x \frac{1}{t} dt [/tex]?
Why not 2, e, or 10? Or is it like the same kind of magic sometimes used in limit proofs for picking delta? :tongue:
 
  • #20
If you pick 2, you will have a different function, that's all.
 
  • #21
@Halls...
Double-check those limits. I think you stated in English something different than you wrote in symbols.
 
  • #22
HallsofIvy said:
Since
[tex]ln(x)= \int_1^t \frac{1}{x}dt[/tex]
To prevent confusing, this should of course read
[tex]\ln x = \int_1^x \frac{1}{t}dt[/tex]
 
  • #23
HallsofIvy said:
Why is that important? Because if X is any positive number, then [itex]ln(2^{2X})= 2X ln(2)\ge X[/itex]. That is, given any positive number there exist x so that ln(x) is larger than that: ln(x) does not have an upper bound..

We can also establish this by comparison to the Harmonic Series.
 
  • #24
arildno said:
If you pick 2, you will have a different function, that's all.

Ok, so can you still derive ex easily from that function using 2 as the lower limit? I'd try it myself but I don't really know how to start it...
 
  • #25
If you use "2" as a lower limit you get
[tex]f(x)= \int_2^x dt/t= \int_1^x dt/t- \int_1^2 dt/t= ln(x)- ln(2)[/itex]

Of course, that's now different function and has a different inverse. If y= f(x)= ln(x)- ln(2) then ln(x)= y+ ln(2) and so [itex]x= e^{y+ ln(2)}= e^y e^{ln(2)}= 2e^x[/itex] so [itex]f^{-1}(x)= 2e^x[/itex].
 

What is the integral formula for logarithm?

The integral formula for logarithm is ∫(ln x) dx = xln x - x + C, where C is the constant of integration.

How is the integral formula for logarithm derived?

The integral formula for logarithm can be derived using the substitution method, where u = ln x and du = dx/x. This results in the integral becoming ∫u du, which can be easily integrated to get xln x - x + C.

What is the purpose of the integral formula for logarithm?

The integral formula for logarithm is used to find the antiderivative of the natural logarithmic function. It is also used in various mathematical and scientific applications, such as in calculating the area under a logarithmic curve.

Can the integral formula for logarithm be applied to other bases?

Yes, the integral formula for logarithm can be extended to other bases by using the change of base formula. For example, for a logarithm with base a, the integral would be ∫(ln x)/ln a dx = (xln x - x)/ln a + C.

Are there any limitations to using the integral formula for logarithm?

Yes, the integral formula for logarithm can only be applied to functions with a logarithmic term. It cannot be used for other types of functions. Additionally, the constant of integration can vary depending on the initial conditions of the problem.

Similar threads

Replies
2
Views
1K
Replies
1
Views
934
Replies
20
Views
2K
Replies
4
Views
1K
Replies
1
Views
936
  • Calculus
Replies
3
Views
856
Replies
4
Views
347
Replies
4
Views
746
Replies
12
Views
1K
Replies
3
Views
697
Back
Top