Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Integral Formula for Logarithm

  1. Jun 25, 2010 #1
    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.
     
  2. jcsd
  3. Jun 25, 2010 #2

    Mark44

    Staff: Mentor

    [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).
     
  4. Jun 25, 2010 #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]
     
  5. Jun 25, 2010 #4
    OK... yes. Thanks!
     
  6. Jun 25, 2010 #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: Jun 25, 2010
  7. Jun 25, 2010 #6
    Which, in fact, is another useful property of the logarithm:

    [tex]f(x) = -f\left(\frac{1}{x}\right)[/tex]
     
  8. Jun 25, 2010 #7

    Ben Niehoff

    User Avatar
    Science Advisor
    Gold Member

    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].
     
  9. Jun 25, 2010 #8

    Landau

    User Avatar
    Science Advisor

    Spivak also does it.
     
  10. Jun 25, 2010 #9
    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?
     
  11. Jun 25, 2010 #10

    Ben Niehoff

    User Avatar
    Science Advisor
    Gold Member

    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.
     
  12. Jun 30, 2010 #11
    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].
     
  13. Jun 30, 2010 #12
    Could you please elaborate (or just do it outright!) ?
    Thanks
     
  14. Jun 30, 2010 #13

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    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]
     
  15. Jul 1, 2010 #14

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Oddly enough, I was thinking of this as how newer calculus books did it! I may just be showing my age.
     
  16. Jul 1, 2010 #15

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    I thought so.

    Back in your days, you had to make to do with tiny counting stones, right? :smile:
     
  17. Jul 1, 2010 #16

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    That is an insult! We used the abacus! (I knew the man who invented them.)
     
  18. Jul 1, 2010 #17

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    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: Jul 3, 2010
  19. Jul 1, 2010 #18

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    :biggrin:
     
  20. Jul 1, 2010 #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:
     
  21. Jul 1, 2010 #20

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    If you pick 2, you will have a different function, that's all.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Integral Formula for Logarithm
  1. Logarithmic integral (Replies: 1)

  2. Logarithmic Integral (Replies: 2)

  3. Logarithmic integral (Replies: 2)

Loading...